.discount {
    margin-bottom: 50px;
}

.discount .contain {
    max-width: 570px;
    margin: 0 auto;
}

.discount .sectTitle span {
    color: #FFA701;
}

.page-template-cost .discount .sectTitle {
    display: none;
}

.discount .sectTitle + div p {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

.discount ul li {
    margin-bottom: 20px;
}

.discount ul li:before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background-image: url(../img/common/yellowCheck.svg);
    background-size: cover;
    vertical-align: middle;
}

.discountGradienWrapper {
    padding: 4px;
    background: rgb(255,232,0);
    background: linear-gradient(180deg, rgba(255,232,0,1) 0%, rgba(255,188,0,1) 100%);
    position: relative;
    margin-bottom: 15px;
}

.discountBlock {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    height: 100%;
}

.discountLabel {
    background: #FFE700;
    padding: 4px 24px;
    text-transform: uppercase;
    font-family: "AvantGardeCTT";
    font-weight: 700;
    position: absolute;
    right: 15px;
    top: -10px;
}

.discountCost {
    font-size: 17px;
    font-family: "AvantGardeCTT";
    font-weight: 700;
    display: flex;
    justify-content: center;
    line-height: 14px;
}

.discountCost span:first-child {
    color: #9F9F9F;
    text-decoration: line-through;
    margin-right: 40px;
}

.discountCost span:nth-child(2) {
    text-decoration: none;
    color: #000;
}

.discountCost span em {
    color: #9F9F9F;
    font-size: 8px;
}

.discountBlockForm {
    background-color: #fff;
    padding: 30px 40px;
    height: 100%;
}

.discount .form-line form {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.discount .nd-modal-zapis-right-body p:first-child {
    text-align: center;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 10px;
}

.discount .form-line form input::placeholder {
    font-family: "AvantGardeCTT";
    font-weight: 700;
}

.discount .form-line form input[type="text"], 
.discount .form-line form input[type="tel"] {
    padding: 5px;
    border: none;
    border-bottom: 1px solid #979797;
    margin-bottom: 20px;
    width: 100%;
}

.discount .form-line form input[type="submit"] {
    border: none;
    outline: none;
    text-align: center;
    font-weight: 700;
    background-color: #FFEC00;
    box-shadow: -2px -6px 25px inset rgb(255 178 0 / 60%);
    text-decoration: none;
    padding: 10px 25px!important;
    border-radius: 40px;
    transition: box-shadow .23s ease, background-color .23s ease;
    font-family: "AvantGardeCTT";
    color: #181818;
    width: 100%;
    margin: 5px auto;
    display: block;
}


.discount .form-line p:last-child {
    padding-left: 0;
}

.discountItem {
    background-color: #F9F9F9;
    border-radius: 5px;
    padding: 15px 25px;
    margin-bottom: 10px;
}

.discountItem p:first-child {
    font-family: "AvantGardeCTT";
    font-weight: 700;
    font-size: 23px;
    line-height: 28px;
    margin-bottom: 5px;
}

@media (min-width: 576px) {
    .discountCost {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .discount .contain {
        max-width: 1390px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    .discount .sectTitle {
        text-align: left;
        margin: 0;
    }
    .page-template-cost .discount .sectTitle {
        display: block;
    }
    .discount .sectTitle + div {
        grid-row: 2/3;
    }
    .discount .sectTitle + div p {
        font-size: 17px;
        font-weight: 700;
    }
    .discountCost {
        font-size: 22px;
    }
    .discount .form-line form input[type="text"],
    .discount .form-line form input[type="tel"] {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .discount .sectTitle {
        max-width: 650px;
    }
    .discountCost {
        font-size: 26px;
    }
    .discount ul li {
        font-size: 21px;
    }
    .discount ul li:before {
        width: 30px;
        height: 30px;
    }
    .discount .nd-modal-zapis-right-body p:first-child {
        font-size: 16px;
    }
    .discountItem p:first-child {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .discountCost span em {
        font-size: 10px;
    }
    .discount .form-line form input[type="text"], .discount .form-line form input[type="tel"] {
        text-align: center;
    }
    .discount .nd-modal-zapis-right-body p {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .discount .contain {
        grid-gap: 20px 50px;
        grid-template-columns: repeat(4, 1fr );
    }
    .discount .sectTitle + div p {
        font-size: 28px;
        margin-bottom: 30px;
        margin-top: -40px;
    }
    .discountCost {
        font-size: 36px;
        line-height: 20px;
    }
    .discountLabel {
        padding: 9px 51px;
        right: 40px;
        top: -18px;
    }
    .discount ul li {
        font-size: 24px;
    }
    .discountBlock {
        padding: 35px;
    }
    .discountItem {
        padding: 25px;
    }
    .discountItem p:first-child {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .discount .sectTitle,
    .discount .sectTitle + div,
    .discountGradienWrapper {
        grid-column: span 2;
    }
    .discountItem p:last-child {
        font-size: 20px;
        line-height: 32px;
    }
}

@media (min-width: 1400px) {
    .discount .sectTitle + div p {
        margin-top: 0;
    }
}

@media (max-width:576px) {
    .discount .sectTitle {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}