.wrap { margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
.grid-full { max-width: 100%; }
.grid-wrap { width: 100%; overflow-x: hidden; }
.grid-gap { margin-left: -10px; margin-right: -10px; }
.grid-gap > .item { padding: 0 10px 20px; }
.noflex .grid, .noflex .grid-gap { font-size: 0; display: block;}
.noflex .grid .item, .noflex .grid-gap .item { font-size: 15px; display: inline-block; vertical-align: top; }
.isflex .grid, .isflex .grid-gap { display: -webkit-flex; display: flex; -webkit-flex: 1 0 auto; flex: 1 0 auto; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.isflex .grid .item, .isflex .grid-gap .item { max-width: 100%; }

form {position: relative;}
[data-form-body].disabled { opacity: 0.7; }
[data-form-loader] { display: none; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: url(images/loader.svg) no-repeat center center; z-index: 10; }
[data-success], [data-error] { display: none; margin: 20px 0; }
.loader { margin: 40px auto; width: 40px; display: none; }
.loading { text-align: center; padding: 100px 0; background: url(images/loader.svg) no-repeat center center; }
.form-desc { margin: 15px 0; font-size: 15px; }
.privacy-text { color: #888; font-size: 12px; margin: 15px 0; }
.privacy-text a { color: #191a1a; text-decoration: underline; }

.popup-dark { position: absolute; z-index: 998; top: 0; display: none; width: 100%; height: 100%; background: rgba(0,0,0,.8); }
.popup-box { position: absolute; z-index: 999; top: 50px; left: -webkit-calc(50% - 250px); left: calc(50% - 250px); display: none; width: 500px; background: #fff; border-radius: 6px;}
.popup-box[data-box="quick-view"]{width:1600px; left: -webkit-calc(50% - 800px); left: calc(50% - 800px);}
.popup-box[data-box="quick-view"] .product-wrap {padding:0}
.popup-box[data-box="quick-view"] .wrap {width:auto}

.btn-close { width: 50px; height: 50px; cursor: pointer; background: url('images/btn-close.svg') center center no-repeat; background-size: 20px; }
.popup-box.popup-cart {width:720px; left: -webkit-calc(50% - 360px);}
.popup-cart .cart-item {border-bottom:1px solid #efefef; padding-top: 15px;  padding-bottom: 15px;}
.popup-cart .cart-buttons {margin-top:20px; float:right}
.popup-body { overflow: hidden; padding: 0 20px 20px 20px; }
.popup-header { position: relative; padding: 20px; min-height: 50px;}
.popup-header p {line-height: 30px; width: -webkit-calc(100% - 50px); width: calc(100% - 50px); margin: 0; text-align: left;}
.popup-box .btn-close { position: absolute; top: 0; right: 5px; height: 100%; }
.popup-body textarea { resize: none; }
.popup-body .success, .popup-body .error { display: none; }
.popup-body .textbox { margin-bottom: 0; padding-bottom: 14px; }
.popup-body .textbox p { margin-bottom: 10px; text-align: left; }

.textbox { margin-bottom: 20px; }
.textbox label, .textbox > p { margin-bottom: 6px; display: block; }
.textbox input, input.textbox, .textbox textarea, textarea.textbox {
    padding: 14px 20px;
    border: 1px solid #b7c2d0;
    border-radius: 4px;
}
.textbox input:focus, .textbox textarea:focus, input.textbox:focus, textarea.textbox:focus { border-color: #4EA3E2; }
.textbox-info { font-size: 13px; color: #555; margin: 6px 0; display: block; }
input:disabled { color: #555; border-color: transparent !important; background-color: #ebebeb !important; }

.msg { margin-bottom: 20px; padding: 10px 15px; text-align: left; font-size: 14px; border: 1px solid; border-radius: 4px;}
.msg:not(:first-child) {margin-top: 10px;}
.msg-success { color: #129679; border-color: #129679; font-weight: 600; background-color: #e0fbee; }
.msg-error { color: #7d3c3c; border-color: #f1bfbf; background-color: #fff8f8; }
.msg-info { color: #333; border-color: #eae3d1; background-color: #fff9e4; }
.msg p { margin-bottom: 0; }

.g-recaptcha { margin: 20px 0; }

.xs1 { width: 8.3333%; }
.xs2 { width: 16.6667%; }
.xs3 { width: 25%; }
.xs4 { width: 33.3333%; }
.xs5 { width: 41.6667%; }
.xs6 { width: 50%; }
.xs7 { width: 58.3333%; }
.xs8 { width: 66.6667%; }
.xs9 { width: 75%; }
.xs10 { width: 83.3333%; }
.xs11 { width: 91.6667%; }
.xs12 { width: 100%; }

@media screen and (min-width: 768px){
    .s1 { width: 8.3333%; }
    .s2 { width: 16.6667%; }
    .s20p { width: 20%; }
    .s3 { width: 25%; }
    .s4 { width: 33.3333%; }
    .s5 { width: 41.6667%; }
    .s6 { width: 50%; }
    .s7 { width: 58.3333%; }
    .s8 { width: 66.6667%; }
    .s9 { width: 75%; }
    .s10 { width: 83.3333%; }
    .s11 { width: 91.6667%; }
    .s12 { width: 100%; }
    .wrap, .wrap.wrap-full { width: 100%; padding-left: 30px; padding-right: 30px; }
}

@media screen and (min-width: 1024px){
    .m1 { width: 8.3333%; }
    .m2 { width: 16.6667%; }
    .m20p { width: 20%; }
    .m3 { width: 25%; }
    .m4 { width: 33.3333%; }
    .m5 { width: 41.6667%; }
    .m6 { width: 50%; }
    .m7 { width: 58.3333%; }
    .m8 { width: 66.6667%; }
    .m9 { width: 75%; }
    .m10 { width: 83.3333%; }
    .m11 { width: 91.6667%; }
    .m12 { width: 100%; }
    .wrap { width: 1000px; }
}

@media screen and (min-width: 1280px){
    .lg1 { width: 8.3333%; }
    .lg2 { width: 16.6667%; }
    .lg20p { width: 20%; }
    .lg3 { width: 25%; }
    .lg4 { width: 33.3333%; }
    .lg5 { width: 41.6667%; }
    .lg6 { width: 50%; }
    .lg7 { width: 58.3333%; }
    .lg8 { width: 66.6667%; }
    .lg9 { width: 75%; }
    .lg10 { width: 83.3333%; }
    .lg11 { width: 91.6667%; }
    .lg12 { width: 100%; }
    .wrap { width: 1230px; }
}

@media screen and (min-width: 1366px){
    .xlg1 { width: 8.3333%; }
    .xlg2 { width: 16.6667%; }
    .xlg20p { width: 20%; }
    .xlg3 { width: 25%; }
    .xlg4 { width: 33.3333%; }
    .xlg5 { width: 41.6667%; }
    .xlg6 { width: 50%; }
    .xlg7 { width: 58.3333%; }
    .xlg8 { width: 66.6667%; }
    .xlg9 { width: 75%; }
    .xlg10 { width: 83.3333%; }
    .xlg11 { width: 91.6667%; }
    .xlg12 { width: 100%; }
    .wrap { width: 1326px; }
}