/* FONTS */

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700,800,900');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');

@font-face {
    font-family: "Century Gothic";
    src: url('../fonts/Century Gothic.ttf');
}

@font-face {
    font-family: "Century Gothic";
    src: url('../fonts/Century Gothic Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: "Helvetica";
    src: url('../fonts/Helvetica.woff');
}

@font-face {
    font-family: "Helvetica";
    src: url('../fonts/Helvetica-Bold.woff');
    font-weight: bold;
}

/* DEFAULTS */

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    pointer-events: none;
}

table td, table th {
    white-space: nowrap;
}

.pointer {
    cursor: pointer;
}

.toast-container {
    position: fixed;
    top: 125px;
    right: 35px;
    z-index: 6060;
}

.js-selection-ready{
    background-color: #d3ffd5 !important;
}

.scroll-to-top {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    height: 32px;
    width: 32px;
    background-color: #132035;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    transition: all .2s ease-in-out;
    z-index: 9999999999;
}

.scroll-to-top.active {
    display: flex;
}

.scroll-to-top:hover {
    cursor: pointer;
}

.toast-container .toast-msg {
    text-align: center;
    display: none;
    color: #fff;
    background-color: #343a40;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.table--v-align td {
    vertical-align: middle;
}

.link-1 {
    font-size: 12px;
    font-weight: bold;
}

.v-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.no-rows {
    text-align: center;
    font-size: 12px;
    padding: 1.5rem;
    border-radius: 5px;
}

.row-loader {
    display: none;
}

.product-overlay {
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    background-color: rgba(220, 247, 217, .75);
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #3a7411;
    z-index: 5080;
}

.product-overlay--error {
    background-color: rgba(245, 196, 196, 0.75);
    color: #731111;
}

.inline-input {
    position: absolute;
    right: 2.5rem;
    top: 0.85rem;
}

.highLightSize{
    color: #3a7411;
}

.rounded-block {
    border-radius: 1rem;
}

.c-block {
    border-radius: 5px;
    padding: 1.5rem;
    background-color: #fff;
    margin-bottom: 1.5rem;
    border: 1px solid #dce0e4;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

.c-block--eq-height {
    height: calc(100% - 1.5rem);
}

.c-block--no-pad {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.c-block__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid #dce0e4;
    padding: 1.5rem;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

.c-block__head .btn {
    margin-top: -.6rem;
    margin-bottom: -.6rem;
}

.c-block--no-pad .c-block__head {
    margin: 0;
    margin-top: -1.5rem;
}

.c-block__head h4 {
    display: inline;
    font-size: 17px;
    margin: 0 5px 0 0;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-block__head i {
    margin-right: 0.8rem;
}

.c-block__head--inverse h4, .c-block__head--inverse i {
    color: #fff !important;
}

.c-block__head .al-right {
    margin-left: auto;
}

.show-list a {
    padding: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid #dce0e4;
}

.pointer {
    cursor: pointer;
}

.horizontal-swipe {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #dce0e4;
}

.horizontal-swipe img {
    width: 100%;
    max-width: 80px;
}

.deliver-from-stock{
    cursor: pointer;
}


.deliver-from-stock span{
    width: 30px;
    display: inline-block;
    cursor: pointer;
}

/* BOOTSTRAP */

.modal {
    z-index: 6050;
}

.modal-backdrop {
    z-index: 6040;
}

.tooltip {
    z-index:7010;
}

.tooltip-inner {
    max-width: 350px;
}

.carousel-caption--beneath {
    position: static;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 45px;
}
.carousel-caption--beneath h6 {
    line-height:27px;
    margin-bottom:0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}

.carousel-control-next, .carousel-control-prev {
    color: rgba(125, 125, 125, 0.8) !important;
}

.btn {
    font-family: "Century Gothic";
    box-shadow: none !important;
    outline: none;
    font-weight: bold;
    border-radius: 50px;
}

.btn-sm {
    border-radius: 50px;
    padding: .25rem 1rem;
    font-weight: bold;
}

.btn-lg {
    padding: .775rem .75rem;
    border-radius: 10px / 15px;
    font-size: 16px;
}

.btn-input {
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    font-weight: 400;
    font-size: 14px;
    width: 100%;
    text-align: left;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.form-control {
    border-radius: 50px;
    font-size: 14px;
}

.form-control-lg {
    height: calc(3rem + 2px);
    border-radius: 10px / 15px;
    font-size: 16px;
}

.table-sm td, .table-sm th {
    padding: .5rem;
}

textarea.form-control {
    border-radius: 10px;
}

.input-group-sm > .form-control {
    border-radius: 50px;
    min-width: 26px !important;
}

.input-group-sm > .input-group-prepend > .input-group-text, .input-group-sm > .input-group-prepend > button {
    border-radius: 50px 0 0 50px !important;
}

.input-group-sm > .input-group-append > .input-group-text, .input-group-sm > .input-group-append > button {
    border-radius: 0 50px 50px 0 !important;
}

.input-group input {
    min-width: 50px;
}

.js-amount-group input {
    max-width: 65px;
}

.js-amount-group .btn {
    border: 1px solid #ced4da;
}

.progress {
    height: 1.4rem;
}

.hidden {
    display: none;
}

[data-toggle="dropdown"] {
    cursor: pointer;
}

.dropdown.bootstrap-select.form-control {
    background-color: transparent;
}

.bootstrap-select.form-control {
    /*border: 1px solid #ced4da;*/
}

.bootstrap-select > .dropdown-toggle {
    background-color: #fff;
    border: 1px solid #ced4da;
    /*color: #495057;*/
    font-weight: 400;
}

.dropdown-toggle.disabled {
    background-color: #e9ecef !important;
    border: 1px solid #ced4da !important;
}

/* SELECT PICKER */

.sp-small .btn {
    border-radius: 50px;
    padding: .25rem 1rem;
}

.select-picker .btn {
    background-color: #fff;
    border: 1px solid #ced4da;
    font-size: 13px;
}

.filter-option-inner-inner {
    font-size: 14px !important;
}

/* FONTAWESOME */

.fa-count {
    position: relative;
}

.fa-count[data-count]:after {
    position:absolute;
    right: 20px;
    top: 20px;
    content: attr(data-count);
    font-size:60%;
    padding:.6em;
    border-radius:999px;
    line-height:.75em;
    text-align:center;
    min-width:2em;
    font-weight:bold;
    transition: all .2s;
}

/* SIDE MENU */

.side-menu {
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: auto;
    width: 300px;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    z-index: 6050;
}

.side-menu__content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.side-menu__head {
    padding: 1.5rem;
    text-align: center;
}

.side-menu__logo {
    max-height: 120px;
    max-width: 90%;
}

.side-menu__menu {
    flex: 1;
}

.side-menu__bar {
    padding: 1rem 1.5rem;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
}

.side-menu .icon-online {
    display: inline-block;
    width: 9px;
    height: 9px;
    border: .8px solid #fff;
    border-radius: 999px;
}

.side-menu__list, .side-menu__list ul {
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
}

.side-menu__list ul {
    display: none;
}

.side-menu__list li a {
    display: block;
    font-size: 15px;
    padding: 1rem 1.5rem;
}

.side-menu__list li a i {
    margin-right: 1rem;
}

.dropdown-menu {
    z-index: 10010 !important;
    overflow: auto;
}

/* TXT BUTTON */

.txt-button {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    width: 100%;
    height: 100%;
    border-right: 1px solid #dce0e4;
    border-bottom: 1px solid #dce0e4;
    background-color: #f1f1f1;
}

.txt-button.active {
    background-color: #fff;
}

.txt-button__content {
    flex-grow: 1;
    padding: 0 .45rem;
    font-size: 12px;
    font-weight: 500;
}

.txt-button__content h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0;
}

.txt-button__counter {
    justify-self: end;
    align-self: center;
    font-weight: 600;
    width: 50px;
    text-align: center;
    padding: .1rem;
    border-radius: 50px;
}


/* MAIN CONTENT */

.main-content {
    position: absolute;
    top: 0; bottom: auto;
    left: 300px; right: 0;
    min-height: 100vh;
    background-color: #edf1f5;
}
.require-content {
    background-color: #dffad9;
}

/* HEADER */

.header {
    z-index: 6025;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    margin-bottom: 15px;
}

.js-menu-handler {
    cursor: pointer;
}

.header .icons {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header .icons a {
    color: inherit;
}

.header .icon-span {
    display: block;
    background-color: #edf0f5;
    padding: 1.5rem;
    margin-left: .5rem;
    transition: all .2s;
}

.header .icon-span:hover {
    background-color: #545454;
    color: #fff;
}

.header .icons i {
    font-size: 24px;
    transition: all .2s;
}


.icons__detail {
    display: flex;
    flex-direction: row;
    min-height: 100%;
    cursor: pointer;
}

.icons__row {
    display: flex;
    flex-direction: column;
    margin-right: -.3rem;
}


.icons__row span {
    flex: 1;
    display: flex;
    align-items: center;
    padding: .3rem 1rem;
    background-color: #edf0f5;
    font-size: 12px;
}

.icons__row span:nth-child(2) {
    margin-top: .2rem;
}

.header__logo--sm {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    object-position: left;
    padding: .2rem 0;
}

.header__logo {
    height: 75px;
    padding: .6rem 0;
}

/* APPROVE ORDERS */

.approve-orders .order {
    cursor: pointer;
    border-bottom: 1px solid #e7ecf1;
    transition: all .2s;
}

.approve-orders .order-details {
    display: none;
    border-bottom: 1px solid #dce0e4;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.approve-orders .order-details  {
    padding-left: .6rem;
}

/* TABLE ROW */


.sticky-cell {
    position: -webkit-sticky;
    position: sticky;
    left: 0px;
    z-index: 500;
    background-clip: padding-box;
    background-color: rgba(255, 255, 255, 1);
    transition: background-color .2s;
}

tr.active .sticky-cell {
    background-color: #1a2942;
}

.table-row__image, .table-row__image img {
    height: 70px;
    width: 70px;
    object-fit: contain;
}

/* PRODUCT */

.product {
    position: relative;
    font-family: "Helvetica";
    padding: .5rem 1.5rem;
    padding-bottom: 1.5rem;
    height: calc(100% - 1.5rem);
}

.product__spacer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product__name {
    font-size: 15px;
    font-weight: bold;
}

.product__category {
    font-size: 12px;
    font-weight: 300;
}

.product__image {
    /*border: 1px solid #ced4da;*/
    position: relative;
    height: 100%;
    width: 100%;
}

.product__image a {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
}

.product__image img {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.product__image .image-gallery {

}

.product__image a.image-gallery-item {
    position: absolute;
    top: 0;
    display: none;
}

.product__image .image-gallery > a.image-gallery-item:first-child {
    display: block;
}


.table-row__image .image-gallery {

}

.table-row__image a.image-gallery-item {
    position: absolute;
    top: 0;
    display: none;
}

.table-row__image .image-gallery > a.image-gallery-item:first-child {
    display: block;
}

.product__obtn {
    border: 1px solid #dce0e4;
    font-weight: 400;
    font-size: 14px;
}

.product__price {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.product__credits-label {
    font-size: 12px;
    font-style: italic;
    border-radius: 50px;
}

.product__limit {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.6);
    z-index: 999;
}

.product__limit.show {
    display: flex;
}

.product__limit-body {
    background-color: #fff;
    border-radius: 5px;
    font-size: 12px;
    color: rgb(95, 93, 92);
    border: 1px solid #dce0e4;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.product__limit-header {
    background-color: #fff;
    text-align: center;
    padding: .65rem;
}

.product__limit-content {
    border-top: 1px solid #dce0e4;
    padding: .3rem .75rem;
    text-align: center;
}

.product__pill {
    cursor: pointer;
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: .15rem 1rem;
    border: 1px solid #dce0e4;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

.product__limit .product__pill {
    cursor: default !important;
}

.product__limit-header .product__pill-container .product__pill:first-child {
    border-radius: 50px 0 0 50px;
}

.product__limit-header .product__pill-container .product__pill:last-child {
    border-radius: 0 50px 50px 0;
}

.js-toggle-limit {
    background-color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding-left: .25rem;
    height: 100%;
    font-size: 12px;
    color: rgb(95, 93, 92) !important;
}

.product__limit-extender {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 0px;
    margin-left: .25rem;
}

.cart-row-comment-icon{
    cursor: pointer;
    margin-right: 10px;
}

.cart-row-comment{
    margin-top: 10px;
    display: none;
    min-width: 200px;
}

.stock-row {
    border-bottom: 1px solid #dce0e4;
}

.stock-row__header {
    padding: 15px;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    transition: background-color .1s ease-in-out;
}

.stock-row__header:hover {
    background-color: #e9e9e9;
}

.stock-row__title {
    color: #010101;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stock-row__text {
    color: #707070;
    font-size: 12px;
    margin-bottom: 4px;
}

.stock-row__body {
    display: none;
    padding: 15px;
    border-top: 1px solid #dce0e4;
    background-color: #fafafa;
}

.stock-row__body ul {
    padding: 0;
    list-style: none;
}

.stock-row__body ul:last-child {
    margin-bottom: 0 !important;
}

.stock-row__body ul li:before {
    content: "- ";
}

.sticky-head {
    position: -webkit-sticky;
    position: sticky;
    z-index: 6030;
    background-color: rgba(255, 255, 255, 1);
}

/* CHART */

.inside-chart {
    position: relative;
    margin:  auto 0 auto;
    text-align: center;
    line-height: 20px;
    font-size: 26px;
    font-weight: 900;
}

.inside-chart span {
    display: block;
    color: #505050;
    font-size: 14px;
}

.red-text, .red-text a {
    color: red !important;
}

/* END OF CHART */

@media (max-width: 1199.98px) {
    .txt-button {
        border-bottom: 1px solid #dce0e4;
    }

    .stock-row__body ul:last-child {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 1200px) {

    .main-content {
        left: 0 !important;
    }

    .side-menu {
        left: -300px;
        max-width: 80%;
    }

    .icons__row {
        display: none;
    }

    .header .icon-span {
        margin-left: 0;
        margin-right: .5rem;
    }

    .header a:last-child .icon-span {
        margin-right: 0;
    }


    .header .icons {
        margin-left: -15px;
        margin-right: -15px;
    }

    .header .icon-span {
        padding: 1rem;
    }

    .fa-count[data-count]:after {
        right: 8px;
        top: 8px;
    }

    .c-block__head h4 {
        font-size: 15px;
    }

    .sticky-cell:after {
        content: '';
        position: absolute;
        top: 0; bottom: 0;
        right: 0;
        width: 100%;
        border-right: 1px solid #dee2e6 !important;
    }
}

@media (max-width: 991.98px) {

}

@media (max-width: 767.98px) {
    .horizontal-swipe {
        display: flex;
    }

    .c-block__head .btn{
        margin-top:0;
        margin-bottom: 5px;
        margin-left: 5px;
    }

    .c-block__head .al-right a{
        width: 185px;
        float: right;
        clear: both;
    }

    .c-block__head .al-right button{
        width: 185px;
        float: right;
        clear: both;
    }


}

@media (max-width: 575.98px) {
    .product {
        padding: 1rem;
    }

    .product__image {
        height: auto;
        width: 90px;
        height: 90px;
    }

    .product__image a {
        position: static;
        height: auto;
    }

    .product__image img {
        position: absolute;
        object-fit: contain;
        max-width: 90px;
        max-height: 90px;
        width: auto;
        height: auto;
    }
}

@media (min-width: 768px) {
    .scroll-to-top {
        display: none !important;
    }
}

@supports (-ms-overflow-style: none) {
    .ps {
        overflow: hidden !important;
    }
}