/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 @media (max-width: 800px) {
    .wpeo-repeater-wrap .items {
        display: flex;
        width: 100%;
        margin-bottom: 15px;
        border-bottom: solid 1px #b9b7b7;
        padding-bottom: 25px;
        align-items: center;
        flex-direction: column;
    }

    .wpeo-repeater-wrap .item-content {
        display: flex;
        gap: 20px;
        width: 95%;
        flex-direction: column;
    }

    .wpeo-wrap .item-content .form-group:nth-child(2) {
        width: 100% !important;
    }

    .wpeo-wrap input[type="number"] {
        width: 100% !important;
        height: 50px;
        margin: 0;
    }

    .file-upload {
        display: flex !important;
        flex-direction: column;
    }

    .wpeo-wrap .item-content .form-group {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .reset-file {
        max-width: 100% !important;
        margin-left: 0px !important;
    }

    .wpeo-items-block {
        display: flex;
        gap: 40px;
        border-top: solid 2px #1d2327;
        justify-content: space-between;
        flex-direction: column-reverse;
    }

    .order-pharmacy-comment {
        max-width: 100% !important;
        display: inline-block;
        margin-top: 100px;
        width: 100%;
    }

    .header-edit {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }

    .wpeo-cancel-block {
        display: flex;
        align-items: center;
        width: 25em;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 1em;
    }

    .wpeo-order-buttons {
        width: 100%;
        display: flex;
        justify-content: space-evenly !important;
        gap: 15px;
    }

    table {
        border: 0;
      }
    
      table caption {
        font-size: 1.3em;
      }
      
      table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
      }
      
      table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
      }
      
      table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
      }
      
      table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
      }
      
      table td:last-child {
        border-bottom: 0;
      }
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
  }
  
  table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
  }
  
  table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
  }
  
  table th,
  table td {
    padding: .625em;
    text-align: center;
  }
  
  table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
  }


li.menu-item.express-order-menu-item {
    display: inline-block;
}

li.menu-item.express-order-menu-item a {
    background-color: #333;
    padding: 10px 35px;
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
    font-family: inherit;
    letter-spacing: inherit;
    line-height: normal;
}
 /* .wpeo-container {
    max-width: 1170px;
    margin: auto;
    margin-top: 5em;
    width: 100%;
    padding: 50px;
} */
/* .wpeo-main-wrap {
    width: 75%;
    margin: auto;
} */

.arrow{
    font-size: 150%;
    margin-left: 3.8em;
    font-weight: bolder;
    margin-bottom: -1.5em;
}
.to-top {
    text-align: center;
    color: black;
    display: inline-block;
    position: relative;
    border-color: black;
    text-decoration: none;
    transition: all .3s ease-out;
    flex-direction: row;
}
.to-top:before {
    content: '←';
    font-size: .9em;
    position: absolute;
    margin-left: -1.7em;
    margin-top: -0.2em;
    width: 1.4em;
    height: 1.4em;
    line-height: 1.3em;
    border-color: inherit;
    transition: transform .5s ease-in;
}
.to-top:hover{
	color:grey;
	border-color:grey;
}
.to-top:hover:before{
	transform: rotate(360deg);
}

.wpeo-wrap {
    padding: 50px 50px;
}

.wpeo-wrap h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

.wpeo-wrap .wpeo-container > div {
    margin-bottom: 30px;
}

.wpeo-wrap ul {
    margin: 0px;
    padding: 0px;
}

.wpeo-wrap ul li {
    list-style: none;
}

.wpeo-wrap ul li p {
    font-size: 18px;
}

.file-upload{
    display: flex !important;
}

.wpeo-wrap .wpeo-comments {
    margin-bottom: 30px;
    display: flex !important;
    flex-direction: column !important;
}

.wpeo-wrap label {
    margin-bottom: 5px;
    display: inline-block;
    font-size: 18px;
    min-width: 90px;
}

.wpeo-wrap .wpeo-comments textarea {
    min-height: 150px;
    border: solid 1px #dfdfdf !important;
    padding: 20px;
    height: auto;
    outline: none;
}
.wpeo-user-info-form h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.wpeo-input-wrap {
    width: 100%;
    display: inline-block;
    margin-bottom: 20px;
}
.wpeo-input-wrap label {
    width: 100%;
}
.wpeo-input-wrap input {
    width: 100%;
}
.wpeo-repeater-wrap {
    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
}
.wpeo-repeater-wrap .repeater-heading {
    margin: 30px 0px;
    text-align: right;
}
.wpeo-repeater-wrap .items {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
    border-bottom: solid 1px #b9b7b7;
    padding-bottom: 25px;
    align-items: center;
}

.wpeo-repeater-wrap .item-content {
    display: flex;
    gap: 20px;
    width: 95%;
    justify-content: space-between;
}
.wpeo-order-buttons {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.wpeo-items-block {
    display: flex;
    gap: 40px;
    border-top: solid 2px #1d2327;
    justify-content: space-between;
}

/* .wpeo-item-details {
    max-width: 60%;
    display: inline-block;
} */

.order-pharmacy-comment {
    max-width: 40%;
    display: inline-block;
    margin-top: 100px;
    width: 100%;
}

.reset-file{
    max-width: 80px;
    margin-left: 10px;
}

.wpeo-wrap input.form-control:disabled {
    background-color: #ffffff;
    width: 100px;
}
.wpeo-wrap input[type="number"] {
    width: 90px;
    height: 50px;
    margin: 0;
}

.wpeo-wrap .form-control {
    height: 50px;
    border: solid 1px #dfdfdf !important;
    outline: none !important;
}
.wpeo-wrap button {
    height: auto;
    text-align: center;
    font-weight: normal;
}
.wpeo-wrap button#remove-btn {
    padding: 0px !important;
    background: transparent;
    width: 40px;
    height: 40px;
    border: 0px !important;
}
.wpeo-wrap button#remove-btn img {
    width: 100%;
}
.wpeo-wrap .order-img {
    height: 50px;
    width: auto;
}

.wpeo-wrap .order-img img {
    height: 100%;
    width: auto;
}

.wpeo-wrap .item-content .form-group {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wpeo-wrap .item-content .form-group:nth-child(2) {
    width: 15%;
}

.wpeo-wrap .pull-right.repeater-remove-btn {
    margin-top: 20px;
    margin-top: 55px;
    margin-left: 10px;
}

.wpeo-order-form-wrap.wpeo_preloader::before, .wpeo-popup-content.wpeo_preloader::before {
    -webkit-animation: spin 500ms infinite linear;
    animation: spin 500ms infinite linear;
    border: 4px solid #000000;
    border-radius: 32px;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    content: "";
    display: block;
    height: 30px;
    top: 50%;
    margin-top: -8px;
    left: 50%;
    margin-left: -8px;
    position: absolute;
    width: 30px;
    z-index: 2;
}

.wpeo-order-form-wrap {
    position: relative;
    /* padding: 20px; */
}

.wpeo-order-form-wrap.wpeo_preloader::after, .wpeo-popup-content.wpeo_preloader::after {
    content: '';
    position: absolute;
    background-color: #ffffffa6;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
td.wpeo-status {
    text-transform: uppercase;
}
span.wpeo-status {
    text-transform: capitalize;
}
.wpeo-button, .repeater-add-btn, .repeater-add-btn-edit {
    background-color: #333333;
    color: #ffffff;
    padding: 12px 30px;
    line-height: normal;
    cursor: pointer;
    border: 0px;
    height: auto;
    font-size: 14px;
}
.wpeo-popup {
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 10000; /* 1 */
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
}

.wpeo-popup.is-visible {
    visibility: visible;
}

.wpeo-popup-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.wpeo-popup.is-visible .wpeo-popup-overlay {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.wpeo-popup-wrapper {
  position: absolute;
  z-index: 9999;
  /* top: 6em; */
  left: 50%;
  width: 24em;
  margin-left: -12em;
  background-color: #fff;
  box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
}

.wpeo-popup-transition {
  transition: all 0.3s 0.12s;
  transform: translateY(-10%);
  opacity: 0;
}

.wpeo-popup.is-visible .wpeo-popup-transition {
  transform: translateY(0);
  opacity: 1;
}

.wpeo-popup-header,
.wpeo-popup-content {
  padding: 1em;
}

.wpeo-popup-header {
  position: relative;
  background-color: #fff;
  box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
  border-bottom: 1px solid #e8e8e8;
}

.wpeo-popup-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1em;
  color: #aaa;
  background: none;
  border: 0;
}

.wpeo-popup-close:hover {
  color: #777;
}

.wpeo-popup-heading {
  font-size: 1.125em;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wpeo-popup-content > *:first-child {
  margin-top: 0;
}

.wpeo-popup-content > *:last-child {
  margin-bottom: 0;
}

button#wpeo-close-btn {
    position: absolute;
    background-color: transparent;
    width: 30px;
    height: 30px;
    right: 0;
    top: 0;
    margin: 6px 12px 0px 0px;
    outline: none !important;
    border: 0px !important;
}

button#wpeo-close-btn img {
    width: 30px;
}

.dataTables_wrapper {
    padding: 50px IM !important;
}

.order-actions{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.wpeo-all-orders{
    padding: 50px;
}

.th-table, .td-table {
    text-align-last: center;
}

#table_id_wrapper{
    overflow-x:auto;
}

.header-edit{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#h2-price{
    margin: 0px !important;
    padding: 0px;
}

.wpeo-cancel-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 25em;
}

.wpeo-item-details {
    width: 100%;
}