/* Responsive */

/*
Mixin to manage responsive breakpoints
@author Kitty Giraudel
*/

@media (min-width: 355px) and (max-width: 767px) {
    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 14px;
    }
}

[v-cloak] {
    display: none;
}

:root {
    --primary-color: #1A2B56;
    --primary-hover-color: #3f5ca6;
    --primary-light-color: #a7b3d0;
}

/*:root {*/
/*    --primary-color: #F8AF03;*/
/*    --primary-hover-color: #CF9A2C;*/
/*    --primary-light-color: #efdfbe;*/
/*}*/

.font-size-10 {
    font-size: 0.625rem !important;
}

.font-size-11 {
    font-size: 0.6875rem !important;
}

.font-size-12 {
    font-size: 0.75rem !important;
}

.font-size-13 {
    font-size: 0.8125rem !important;
}

.font-size-14 {
    font-size: 0.875rem !important;
}

.font-size-15 {
    font-size: 0.9375rem !important;
}

.font-size-16 {
    font-size: 1rem !important;
}

.font-size-17 {
    font-size: 1.0625rem !important;
}

.font-size-18 {
    font-size: 1.125rem !important;
}

.font-size-20 {
    font-size: 1.25rem !important;
}

.font-size-22 {
    font-size: 1.375rem !important;
}

.font-size-24 {
    font-size: 1.5rem !important;
}

.width-1-per {
    width: 1% !important;
}

.width-2-per {
    width: 2% !important;
}

.width-3-per {
    width: 3% !important;
}

.width-4-per {
    width: 4% !important;
}

.width-5-per {
    width: 5% !important;
}

.width-6-per {
    width: 6% !important;
}

.width-7-per {
    width: 7% !important;
}

.width-8-per {
    width: 8% !important;
}

.width-9-per {
    width: 9% !important;
}

.width-11-per {
    width: 11% !important;
}

.width-12-per {
    width: 12% !important;
}

.width-13-per {
    width: 13% !important;
}

.width-14-per {
    width: 14% !important;
}

.width-15-per {
    width: 15% !important;
}

.width-16-per {
    width: 16% !important;
}

.width-17-per {
    width: 17% !important;
}

.width-18-per {
    width: 18% !important;
}

.width-19-per {
    width: 19% !important;
}

.width-20-per {
    width: 20% !important;
}

.width-25-per {
    width: 25% !important;
}

.width-30-per {
    width: 30% !important;
}

.width-35-per {
    width: 35% !important;
}

.width-40-per {
    width: 40% !important;
}

.width-45-per {
    width: 45% !important;
}

.width-50-per {
    width: 50% !important;
}

.width-60-per {
    width: 60% !important;
}

.width-70-per {
    width: 70% !important;
}

.width-80-per {
    width: 80% !important;
}

.width-90-per {
    width: 90% !important;
}

.width-100-per {
    width: 100% !important;
}

.d-flex {
    display: flex;
    display: -webkit-flex;
}

input[type=number].no-spin::-webkit-inner-spin-button,
input[type=number].no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

input.no-autofill:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

a.disabled {
    pointer-events: none;
}

@media (min-width: 355px) and (max-width: 767px) {
    .select2-container {
        max-width: 300px;
    }
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-cart-sm {
    background: var(--primary-light-color);
    color: var(--primary-color);
    padding: 6px 20px 6px 20px;
    font-size: 14px;
    font-weight: 700;
}

.btn-cart-sm:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.badge-danger {
    background-color: #ea2c54;
    color: #fff;
}

.badge-primary {
    background-color: #007be8;
    color: #fff;
}

.badge-success {
    background-color: #4CAF50;
    color: #fff;
}

.badge-warning {
    background-color: #FF9800;
    color: #fff;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-info {
    color: #000;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.detail-qty.input-sm {
    padding: 5px 20px;
}

@media (min-width: 355px) and (max-width: 767px) {
    .detail-qty.input-sm {
        padding: 5px 8px;
    }
}

.cursor-pointer {
    cursor: pointer;
}

@media (min-width: 355px) and (max-width: 767px) {
    .search-style-1 {
        width: 330px;
        margin: 0;
    }
}

/******************* custom styles ****************/

/* Search */

.typeahead.dropdown-menu {
    width: 100%;
}

.typeahead.dropdown-menu li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Header LocationService */

.location-tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 2px solid var(--primary-color);
    color: #777;
    padding: 4px 5px;
    border-radius: 5px;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    margin: 0 0.5rem;
    width: 250px;
    word-wrap: break-word;
}

.location-tab img {
    width: 100%;
    margin: 0 5px 0 0;
}

.location-tab .location-details {
    width: 75%;
    margin-left: 0.5rem;
}

.location-tab .location-details span.city {
    margin-bottom: -5px;
    font-size: 15px;
    font-weight: 600;
}

.location-tab .location-details .locality {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-location-details {
    display: block;
    padding: 7px 0;
    cursor: pointer;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
}

@media (min-width: 992px) {
    .mobile-location-details {
        display: none;
    }
}

/* LocationService Page */

.map-container {
    margin-top: 1.5rem;
    position: relative;
}

.map-container #locationMap {
    height: 400px;
    display: block;
}

.map-container.address-page #locationMap {
    height: 500px;
    display: block;
}

.map-container.overlay:before {
    content: "";
    position: absolute;
    background: rgba(59, 58, 58, 0.5607843137);
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.location-search {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.location-search button {
    height: 46px;
    text-align: left;
}

.location-search.address-page .search-style-1 {
    margin: 0;
}

@media (min-width: 355px) and (max-width: 767px) {
    .location-search {
        flex-direction: column;
        height: 150px;
    }

    .location-search.address-page {
        height: 100px;
    }
}

/* product grid */

@media (min-width: 355px) and (max-width: 767px) {
    .product-grid .product-cart-wrap .product-img-action-wrap {
        padding: 15px 12px 0 12px;
    }

    .product-grid .product-cart-wrap .product-content-wrap {
        padding: 0 12px 15px 12px;
    }

    .product-grid .product-cart-wrap .product-content-wrap h2 {
        font-size: 0.8rem;
        font-weight: normal;
    }

    .product-grid .product-cart-wrap .product-card-bottom {
        justify-content: space-between;
    }

    .product-grid .product-cart-wrap .product-card-bottom .detail-qty.input-sm {
        padding: 5px 15px;
    }

    .product-grid .product-cart-wrap .product-card-bottom .detail-qty {
        max-width: 85px;
        padding: 9px 15px;
        position: relative;
        width: 90%;
        border-radius: 5px;
    }

    .product-grid .product-cart-wrap .product-card-bottom .product-price span.old-price {
        display: block;
        margin: 0;
        font-size: 12px;
    }
}

/* Cart Bar */

.cart-bar {
    width: 100%;
    background: var(--primary-light-color);
    padding: 10px;
    position: fixed;
    border-radius: 1rem 1rem 0 0 ;
    border: 1px solid var(--primary-color);
    bottom: 0;
    z-index: 10000;
    color: #7E7E7E;
}

.cart-bar .cart-bar-body .cart-icon {
    position: relative;
}

.cart-bar .cart-bar-body .cart-icon span {
    position: absolute;
    top: -6px;
    right: -11px;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    background: red;
}

/* Address Page */

.address-block {
    position: relative;
}

.address-block .address-form-block {
    position: absolute;
    z-index: 90;
    width: 100%;
    padding: 10px;
    height: 70vh;
}

.address-form .form-group input {
    height: 34px;
    border-radius: 2px;
    padding-left: 10px;
    font-size: 12px;
}

.address-radio .form-check {
    padding-left: 1em;
}

.address-radio .btn {
    padding: 4px 10px !important;
}

.selected-address-card {
    background: var(--primary-color);
    color: #fff;
}

.selected-address-card h6 {
    color: #fff;
}

/* Subscription */

.sub-plan-card {
    position: relative;
}

.sub-plan-card span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    text-transform: uppercase;
}

/* Chat */

.btn-success:hover {
    color: #fff;
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
}

.web-chat .chats .chat-body .chat-content {
    margin: 0 15px;
}

.web-chat .chat-left .chat-content {
    background-color: var(--primary-hover-color) !important;
}

.web-chat .chat-content {
    background-color: var(--primary-color) !important;
}

.web-chat .chats .chat-body {
    display: block;
    overflow: hidden;
    margin: 5px 10px;
}

/* skeleton loading */

.skeleton-box {
    display: inline-block;
    height: 1.5em;
    margin-bottom: 0.25rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 60%) #ededed;
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1s loading ease-in-out infinite;
}

@keyframes loading {
    to {
        background-position-x: -20%;
    }
}

.skeleton-box.rounded {
    border-radius: 10px;
}


.match-height > [class*='col'] {
    display: flex !important;
    flex-flow: column !important;
}

.match-height > [class*='col'] > .vendor-wrap {
    flex: 1 1 auto !important;
}
