* {
    font-family: "Montserrat";
}

[v-cloak] {
    display: block;
    padding: 50px 0;
    @keyframes spinner {
        to {
            transform: rotate(360deg);
        }
    }
}

.clear_button {
    display: flex;
    justify-content: space-between;
}

.print-doc {
    cursor: pointer;
    text-decoration: none;
}

.flex_input,
.flex_element {
    display: flex;
    justify-content: space-between;
}

.flex_element>.calc__elem {
    width: 48%;
}

.flex_input select,
.flex_input input {
    width: 48%;
}

[v-cloak]:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner 0.6s linear infinite;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

[v-cloak]>div {
    display: none;
}

body {
    margin: 0;
}

.contain h1 {
    font-weight: bold;
    font-size: 26px;
    line-height: 160%;
    text-align: center;
    letter-spacing: 0.25px;
    text-transform: uppercase;
    color: #000000;
    display: block;
    margin: 0 0 43px;
}

button {
    outline: none;
}

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

.logo {
    max-width: 300px;
    width: 100%;
    margin-top: 30px;
}

.contain {
    max-width: 1325px;
    margin: 0 auto;
    padding: 78px 15px 130px;
}

.buttons {
    display: flex;
}

.calc-btn {
    width: 225px;
    height: 45px;
    background: linear-gradient(180deg, #f5b14a 0%, #e47444 100%);
    border-radius: 22px 0 22px 0;
    border: none;
    margin: 0 0 30px;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
}

.clear-btn {
    cursor: pointer;
    /* // width: 225px; */
    height: 45px;
    /* // text-decoration: underline; */
    background: rgba(0, 0, 0, 0);
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    padding: 0;
    margin-left: 40px;
}

.clear-btn::before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    top: 34px;
}

.btn__cont {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.link_button {
    /* // margin-top: 15px; */
    display: flex;
    flex-direction: column;
    /* // justify-content: flex-end;
    // flex-wrap: wrap; */
}

.link_button a {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    margin-bottom: 25px;
    padding-left: 45px;
    position: relative;
}

.link_button .download-doc::before {
    content: url(../img/download.svg);
    position: absolute;
    top: -3px;
    left: 0;
}

.link_button .print-doc::before {
    content: url(../img/printer.svg);
    position: absolute;
    top: -4px;
    left: 0;
}

.link_button button {
    width: 250px;
    height: 53px;
    /* // padding: 10px 25px; */
    /* background-color: #8b3c49; */
    /* background-image: url('/themes/decogroup/css/img/bg2.png'); */
    background: linear-gradient(180deg, #f5b14a 0%, #e47444 100%);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    color: rgb(255, 255, 255);
    border-radius: 27px 0 27px 0;
    border: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
}


/* // .link_button a:hover {
//     color: #fff;
// } */

.btn__edit {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.btn__del {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.total {
    /* height: 30px; */
    display: flex;
    flex-direction: column;
    /* // justify-content: space-between;
    // padding: 15px; */
    font-weight: 700;
    /* background: #d5cff8; */
}

.price-block {
    margin-bottom: 20px;
}

.total-all {
    font-weight: 500;
    font-size: 16px;
    line-height: 40px;
    text-align: right;
    letter-spacing: 0.005em;
    color: #181818;
    margin-bottom: 10px;
}

.total-price {
    font-weight: 600;
    font-size: 32px;
    line-height: 34px;
    text-align: right;
    color: #181818;
    margin-bottom: 30px;
}

.total-all-left,
.total-price-left {
    text-align: left;
}

.total-all-left {
    display: block;
}

.total-price-unit {
    font-weight: 600;
    font-size: 16px;
    line-height: 40px;
    text-align: right;
    letter-spacing: 0.005em;
    color: #181818;
}


/* tr td:last-child {
    vertical-align: middle;
} */

table.delivery {
    width: 100%;
    border: 2px solid #c5c0bf;
    border-collapse: collapse;
    margin-bottom: 40px;
}

table.delivery thead {
    font-weight: bold;
    border: 2px solid #c5c0bf;
    line-height: 40px;
    font-size: 18px;
}

table.delivery td,
table.delivery th {
    border: 2px solid #c5c0bf;
    padding: 25px 5px;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #000000;
}

table.delivery td {
    padding: 15px 5px;
    font-weight: 600;
    font-weight: 400;
}

* {
    font-family: "Montserrat";
}

.b-popup {
    width: 100%;
    /* padding: 15px; */
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: fixed;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.calc {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 75px;
    background-color: #fff;
    border-radius: 6px;
    position: absolute;
    box-sizing: border-box;
}

.clear_button {
    width: 100%;
}

.calc-clear .btn {
    padding: 0 15px;
    width: max-content;
}

.calc h3 {
    font-weight: 600;
    font-size: 26px;
    line-height: 143%;
    margin: 0 0 40px;
    width: 100%;
    text-align: left !important;
    letter-spacing: 0.018em;
    color: #000000;
}

.calc__elem label {
    font-size: 12px;
    line-height: 22px;
    color: #747474;
    text-align: left;
}

.calc__elem select,
.calc__elem input {
    border: 1px solid #c5c0bf;
    box-sizing: border-box;
    border-radius: 6px;
    height: 40px;
}

.calc__elem span {
    font-size: 12px;
    line-height: 22px;
    color: #747474;
    display: block;
    width: 100%;
    text-align: right;
}

.btn-close,
.span-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: url(../img/close-popup.svg) no-repeat 100% / contain;
    width: 25px;
    height: 25px;
    border: none;
}

.warning {
    font-size: 20px !important;
}

.close_mail_form {
    display: flex;
    align-self: flex-end;
}

.mail__form h3 {
    display: block;
    color: #999999;
    font-size: 20px;
    margin-bottom: 20px;
}

.mail__form p {
    display: block;
    color: #000000;
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
    text-indent: 0px;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form__element {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.form__area {
    display: flex;
    flex-direction: column;
    min-width: 700px;
    margin-bottom: 10px;
}

#client_message {
    border: 1px solid #cfc6be;
    resize: both;
    display: block;
    height: 140px;
    padding: 10px;
    box-sizing: border-box;
}

label {
    display: block;
    text-align: center;
    /* // padding: 5px 0; ломает на стр каталога! */
}

.form__element input {
    height: 30px;
    width: 200px;
    border: 1px solid #cfc6be;
    padding-left: 10px;
    /* text-align: center; */
}

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

#send {
    display: block;
    width: max-content;
    font-size: 14px;
    padding: 15px 30px;
    background: #999999;
    color: #fff;
}

select {
    width: 100%;
    background: transparent;
    position: relative;
}

select,
input {
    display: block;
    height: 30px;
    border: 2px solid #999;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

.sizes div {
    width: 47%;
}

.sizes {
    display: flex;
    justify-content: space-between;
}

.btn {
    /* width: 170px;
    height: 35px;
    border-radius: 17px;
    border: none;
    background-color: #999 !important;
    margin: 10px;
    padding: 0 15px;
    font-size: 15px;
    color: #000; */
    width: 100%;
    height: 53px;
    background: linear-gradient(180deg, #f5b14a 0%, #e47444 100%);
    border-radius: 26px 0 26px 0;
    border: none;
    margin: 30px 0 0;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
}

.btn:hover {
    color: #fff;
}

.btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.print-doc:first-child {
    margin-right: 20px;
}

.image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.center_text {
    text-align: center;
}

.calc-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.btn__row {
    padding: 0 6px;
}

.td-btns-mobile {
    display: none;
}

.h1-pdf {
    display: none !important;
}


/* ПОПАПЫ */

@media screen and (max-width: 1024px) {
    table.delivery td,
    table.delivery th {
        font-size: 12px;
    }
}

@media screen and (max-width: 800px) {
    .contain {
        padding: 45px 30px 20px;
    }
    table.delivery thead {
        display: none;
    }
    table.delivery tr {
        display: block;
        margin-bottom: 1rem;
        /* border-bottom: 2px solid #e8e9eb; */
    }
    table.delivery td {
        display: block;
        text-align: right;
    }
    table.delivery td:before {
        content: attr(aria-label);
        float: left;
        font-weight: bold;
    }
    .buttons {
        display: flex;
        /* justify-content: space-around; */
    }
    .btn__cont {
        justify-content: flex-end;
    }
    .btn__row:first-child {
        /* margin-right: 15px; */
    }
    .td-btns-desc {
        display: none !important;
    }
    .td-btns-mobile {
        display: table-cell;
    }
    table.delivery {
        width: 100%;
        /* border: 2px solid #c5c0bf; */
        border: none;
        border-collapse: collapse;
        margin-bottom: 40px;
    }
    table.delivery thead {
        font-weight: bold;
        /* border: 2px solid #c5c0bf; */
        border: none;
        line-height: 40px;
        font-size: 18px;
    }
    table.delivery td,
    table.delivery th {
        /* border: 2px solid #c5c0bf; */
        border: none;
        padding: 25px 5px;
        font-weight: 600;
        font-size: 14px;
        line-height: 24px;
        text-align: center;
        color: #000000;
    }
    table.delivery td {
        font-weight: 400;
        padding: 15px;
        border-width: 1px 2px;
        border-style: solid;
        border-color: #c5c0bf;
        display: flex;
        justify-content: space-between;
    }
    table.delivery td span {
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        text-align: right;
        color: #000000;
        display: block;
        padding-left: 15px;
    }
    .td-btns {
        border-width: 1px 0px 0px !important;
        border-style: solid;
        border-color: #c5c0bf;
        padding-right: 0 !important;
    }
    table.delivery tr {
        display: block;
        margin-bottom: 1rem;
        border-top: 1px solid #c5c0bf;
        /* border: none; */
    }
    .btn__row:last-child {
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    .price-block {
        display: flex;
        flex-flow: row wrap;
        width: 100%;
        justify-content: space-between;
        /* // margin-bottom: 30px; */
    }
    .warn-txt {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .contain {
        padding: 35px 15px 20px;
    }
    .contain h1 {
        font-size: 18px;
        line-height: 160%;
        letter-spacing: 0.25px;
        text-transform: uppercase;
        color: #000000;
        margin-bottom: 15px;
    }
    table.delivery {
        /* display: none; */
    }
    .calc-footer {
        flex-direction: column-reverse;
    }
    .buttons {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-around;
        align-items: center;
    }
    .calc {
        /* max-width: 90%; */
        width: 90%;
        padding: 50px 20px;
        align-items: stretch;
    }
    .btn {
        /* width: 170px;
        height: 35px;
        border-radius: 17px;
        margin: 10px;
        padding: 0 15px;
        font-size: 15px; */
        height: 49px;
        border-radius: 24px 0 24px 0;
        font-size: 16px;
    }
    .calc h3 {
        margin: 0 0 28px;
    }
    .sizes {
        flex-direction: column;
    }
    .sizes div {
        width: 100%;
    }
    .link_button {
        justify-content: center;
        flex-wrap: wrap;
    }
    .link_button a:nth-child(1) {
        margin: 0 0 25px 0;
    }
    .calc-btn {
        width: 100%;
        margin: 0 0 15px;
    }
    .clear-btn {
        width: max-content;
        margin: 0 auto 25px;
    }
    .total-all {
        font-size: 14px;
        text-align: center;
        margin-bottom: 5px;
    }
    .total-price {
        font-size: 26px;
        text-align: center;
        margin-bottom: 10px;
    }
    .total-price-unit {
        font-size: 14px;
        text-align: center;
    }
    .link_button button {
        width: 100%;
        height: 49px;
        font-size: 16px;
        margin-bottom: 20px;
    }
    .total {
        padding: 0;
    }
    .link_button480 {
        width: max-content;
        margin: 0 auto;
    }
    .link_button a {
        font-size: 16px;
        line-height: 26px;
    }
    .link_button .download-doc {
        margin-bottom: 20px;
    }
}

@media print {
    .buttons {
        display: none;
    }
    .link_button {
        display: none;
    }
    .logo {
        margin: 0 auto;
    }
    .h1-pdf {
        display: inline !important;
    }
    .h1-main {
        display: none !important;
    }
    th:first-child,
    td:first-child {
        display: none !important;
    }
    th,
    td {
        font-size: 10px !important;
    }
    .calc-footer {
        justify-content: flex-end;
    }
}