@charset "UTF-8";
.gravex-overlay {
    cursor: pointer;
    display:block;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    visibility: hidden;
    filter:alpha(opacity=0);
    opacity: 0;
    transition: visibility 0s linear 500ms, opacity 500ms;
    z-index: 999;
}

.gravex-overlay-background {
    background: #000000;
}

.gravex-overlay-visible {
    display:block;
    visibility: visible !important;
    filter:alpha(opacity=60) !important;
    opacity: 0.6 !important;
}

.gravex-modal {
    display: none;
    opacity: 0;
    visibility: hidden;
    z-index: 1002;
    cursor: default;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    width: 90%;
    height: auto;
    max-height: 100vh;
    padding: 24px 0;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.gravex-modal#cart_modal {
    max-width: 800px;
}

.gravex-modal-visible {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    overflow: hidden;
}
.gravex-modal__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: none repeat scroll 0 0 #fff;
    border-top: var(--bg-color-primary) 3px solid !important;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.gravex-modal-800 {
    max-width: 800px;
}

.gravex-modal-1000 {
    max-width: 1000px;
}

.gravex-modal-1200 {
    max-width: 1200px;
}

.gravex-modal-header {
    padding: 1rem 2rem;
    border-bottom: 1px solid #e7eaf3;
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
}
.gravex-modal-header-title {
    height: 40px;
    font-size: 24px;
    margin-top: 3px;
}
.gravex-modal-body {
    padding: 1rem 1rem 2rem 2rem;
    max-height: calc(100vh - 100px);
    overflow-y: scroll;
    overflow-x: hidden;
}


.gravex-modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 21px;
    height: 21px;
    opacity: 0.3;
    cursor: pointer;
}
.gravex-modal-close:hover {
    opacity: 1;
}
.gravex-modal-close:before, .gravex-modal-close:after {
    position: absolute;
    left: 10px;
    top: 0;
    content: ' ';
    height: 21px;
    width: 2px;
    background-color: #333;
}
.gravex-modal-close:before {
    transform: rotate(45deg);
}
.gravex-modal-close:after {
    transform: rotate(-45deg);
}




.gravex-modal__header {
    background: #F6F6F6;
    padding: 37px 0 33px;
    text-align: center;
}

.gravex-modal__body {
    padding: 2rem 2rem;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;

}

@media(max-width:540px) {

    
    
    
    
}
.gravex-modal-order-0 {
    order: 0;
}
.gravex-modal-order-1 {
    order: 1;
}
.gravex-modal-order-2 {
    order: 2;
}



#cart_modal {
    max-height: 90vh;
}
.cart-modal__footer__buttons {
    text-align: center;
}
.cart-modal__footer__buttons a {
    display: inline-block;
    margin: 0 10px;
    font-weight: 600;
    font-size: 16px;
    padding: 15px;
    color: #fff;
}
.cart-modal__footer__buttons a:first-child {
    background: var(--bg-color-primary);
}
.cart-modal__footer__buttons a:nth-child(2) {
    background: var(--bg-color-secondary);
}
#cart_modal .cart-modal__footer__buttons a:hover:nth-child(1) {
    background: var(--bg-color-secondary);
}
#cart_modal .cart-modal__footer__buttons a:hover:nth-child(2) {
    background: var(--bg-color-primary);
}
#cart_modal .cart-modal__footer__buttons a {
    color: #fff;
}



.grvx-cart-modal__titles ul {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.grvx-cart-modal__items {
    padding: 10px 0;
}
.grvx-cart-modal__items ul{
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    margin: 0 0 1rem;
}
.grvx-cart-modal__titles li,
.grvx-cart-modal__items li {
    list-style-type: none;
    text-align: center;
    padding: 0 10px;
}
.grvx-cart-modal__remove {
    width: 2%;
}
.grvx-cart-modal__img {
    width: 8%;
}
.grvx-cart-modal__title {
    width: 60%;
}
.grvx-cart-modal__count {
    width: 15%;
}
.grvx-cart-modal__price {
    width: 15%;
}
.grvx-cart-modal__remove,
.grvx-cart-modal__img,
.grvx-cart-modal__title,
.grvx-cart-modal__price {
    display: flex;
    align-items: center;
}
.grvx-cart-modal__title {
    text-align: left;
    padding: 0!important;
}
.grvx-cart-modal__remove {
    justify-content: left;
    padding: 0!important;
}
.grvx-cart-modal__price {
    justify-content: right;
    padding: 0!important;
}
.cart-modal__footer__totals {
    margin-bottom: 15px;
}
.cart-modal__footer__totals h5 {
    max-width: 250px;
    margin-left: auto;
    font-size: 14px;
}
.grvx-cart-modal__img img{
    width: 100%;
    object-fit: contain;
    max-height: 50px;
}
#cart_modal .gravex-modal__body {
    padding: 2rem 3rem;
}
@media(max-width:960px) {
    .grvx-cart-modal__items li {
        padding: 0;
    }
    .grvx-cart-modal__price {
        width: 20%;
        min-width: 90px;
    }
    #cart_modal .count-selector-container{
        margin: 0;
    }

}
@media(max-width:640px) {
    .grvx-cart-modal__remove {
        order: 1;
    }
    .grvx-cart-modal__img {
        padding: 0!important;
        width: 20%;
        margin-bottom: 10px;
    }
    .grvx-cart-modal__items ul {
        flex-wrap: wrap;
    }
    .grvx-cart-modal__title {
        width: 100%;
        margin-bottom: 5px;
    }
    .grvx-cart-modal__count{
        width: 35%;
    }
    .cart-modal__footer__buttons a:first-child {
        margin-bottom: 5px;
    }
}
@media(max-width:540px) {
    .grvx-cart-modal__titles ul li {
        font-size: 10px;
    }
    .cart-modal__footer__totals h5 {
        max-width: 100%;
    }

}













.gravex-callback__time__wrapper {
    display: flex;
    justify-content: space-between;
}
.gravex-callback__time__wrapper .field-callbackform-timefrom,
.gravex-callback__time__wrapper .field-callbackform-timeto {
    width: 50%;
    padding: 0 15px;
}

@media(max-width:540px) {
    .gravex-callback__time__wrapper .field-callbackform-timefrom{
        padding-left: 0;
        padding-right: 15px;
    }
    .gravex-callback__time__wrapper .field-callbackform-timeto {
        padding-left: 15px;
        padding-right: 0;
    }
}
.gravex-callback__time__wrapper input {
    width: 100%;
}
#callback_modal form{
    margin-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
#callback_modal {
    border-radius: 10px;
}
.title-modal {
    margin-top: 10px;
    padding-left: 20px;
    font-size: 22px;
    font-weight: normal;
    text-transform: uppercase;
    color: #444;
    border-bottom: 3px solid #cb0119;
    padding-bottom: 10px;
}
#callback_form input[type=text] {
    width: 100%;
}



