.font-myriad-pro-regular {
    font-family: "Myriad Pro Regular", "Arial", sans-serif;
}

.font-myriad-pro-semibold {
    font-family: "Myriad Pro Semibold", "Arial", sans-serif;
}

.font-myriad-pro-semibold-condensed {
    font-family: "Myriad Pro Semibold Condensed", "Arial", sans-serif;
}

.h2, h2 {
    font-family: "Myriad Pro Semibold", "Arial", sans-serif;
}

.h4, h4 {
    font-family: "Myriad Pro Light", "Arial", sans-serif;
}

@media screen and (max-width: 991px) {
    h2, .h2 {
        font-size: 1.8rem !important;
    }

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

@media screen and (max-width: 767px) {
    h2, .h2 {
        font-size: 1.4rem !important;
    }

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

.text-red {
    color: #fb2a30;
}

.text-blue {
    color: #4572a7;
}

.text-blue2 {
    color: #1B72AA;
}

#block-1 {
    background: url('images/slide1.jpg');
    min-height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#block-1 h1 {
    font-size: 4rem;
}

@media (min-width: 1200px) {
    #block-1 .container {
        padding-left: 5rem;
    }

    #block-1 {
        min-height: 600px;
    }
}

@media screen and (max-width: 991px) {
    #block-1 {
        background: url('images/slide1m.jpg');
        min-height: 700px;
    }
}

@media screen and (max-width: 767px) {
    #block-1 {
        background: url(images/block1-m.jpg);
        min-height: 500px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    #block-1 h1 {
        font-size: 3rem;
    }

    #block-1 h2 {
        font-size: 1.5rem;
    }
}

#block-2 {
    background: #35343A;
    line-height: 1.5rem;
    /* font-size: 1.25rem;*/
}

#block-2 .item-block {
    width: 300px;
    line-height: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 767px) {
    #block-2 .item-block {
        width: 250px;
    }

    #block-2 .item-block span {
        font-family: "Myriad Pro Regular", "Arial", sans-serif;
    }
}

.form-calc {
    position: relative;
    display: block;
    border: 3px #cccccc solid;
    border-radius: 20px;
    padding: 1.5rem;
}

.form-calc .bg-1 {
    background: url("images/calc-bg1.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 202px;
    height: 152px;
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.form-calc .bg-2 {
    background: url("images/calc-bg2.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 204px;
    height: 58px;
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.form-calc .bg-3 {
    background: url("images/calc-bg3.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 205px;
    height: 134px;
    display: block;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

@media (max-width: 1200px) and (min-width: 991px) {
    .form-calc {
        padding: 1rem;
    }

    .form-calc .bg-2 {
        top: 0rem;
        right: 0rem;
    }

    .form-calc .bg-1,
    .form-calc .bg-3 {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .form-calc .bg-1,
    .form-calc .bg-2,
    .form-calc .bg-3 {
        display: none;
    }

    .form-calc {
        border: none;
        padding: 0rem;
    }
}


.form-calc hr {
    display: none;
}

@media screen and (min-width: 767px) {
    .form-calc hr {
        border-top: 3px solid #C5C5C5;
        display: block;
    }
}


.form-calc .itogo .summ {
    font-family: "Digital-7";
    text-align: right;
    font-size: 2rem;
    line-height: 2rem;
    color: #000000 !important;
    background: #ffffff !important;
}

.form-calc .rubl {
    line-height: 4rem;
    display: inline;
    height: 100%;
    position: relative;
}

.form-calc .snoska {
    position: absolute;
    top: 10px;
    right: 0;
}

.form-calc label {
    font-weight: 700;
    font-size: 1.125rem;
    text-align: left;
}

.snoska-block span:first-child {
    min-height: 50px;
    padding-right: 0.5rem;
}

@media screen and (max-width: 767px) {
    .form-group {
        margin-bottom: 0;
    }

    .snoska-block span:first-child {
        min-height: 100px;
        padding-right: 0.5rem;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    .form-calc .col,
    .form-calc [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }

    .form-calc label {
        font-size: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .form-calc .form-group {
        margin-bottom: 0.5rem;
    }

    .form-calc input.form-control {
        padding: 0.5rem 0.75rem;
    }
}

/*.calc {
    margin-right: 0;
    margin-left: 0;
}
*/


#block-3 .btn-primary {
    background: #1B72AA;
    border-color: #1B72AA;
    text-transform: uppercase;
}

#block-3 .btn-success {
    background: #006D21;
    border-color: #006D21;
    text-transform: uppercase;
}

@media (min-width: 991px) and (max-width: 1200px) {
    #block-3 .btn {
        line-height: 1.25rem !important;
    }
}

.checked-wrap .form-check-input {
    display: none;
}

.checked-wrap {
    background: #4658A5;
    border-radius: 17px;
    color: #FFFFFF;
}

.checked-wrap .form-check-inline {
    margin-right: 0;
    margin-left: 0;
}

.checked-wrap .form-check-label {
    margin-left: 4px;
    margin-right: 4px;
    padding: 3px 5px;
    border-radius: 15px;
    cursor: pointer;
    display: block;
    text-align: center;
}

.checked-wrap .form-check-input:not(checked) + label {
    position: relative;
    color: #FFFFFF;
}

.checked-wrap .form-check-input:checked + label {
    position: relative;
    background: #FFFFFF;
    color: #4658A5;
}

.out-form-block {
    color: #4759A5;
    font-size: 1.5rem;
    line-height: 1;
}


#block-3 {
    background: #F8F8F8;
}

#block-4,
#block-5,
#block-7,
#block-9 {
    background: #FFFBF8;
}

#block-6 {
    background: #FFFBF7;
}

.checkboxed {
    position: absolute;
    display: inline-block;
    right: 30px;
    bottom: 0px;
}

.checkboxed span {
    line-height: 1;
}

.checkboxed a {
    color: #000000 !important;
    text-decoration: underline;
}

@media screen and (max-width: 991px) {
    .checkboxed {
        position: relative;
        display: block;
        right: 0;
        bottom: 0;
    }

    #block-9 h2 span.display-4 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 767px) {
    #block-3-2 {
        background: #35343A;
        color: #FFFFFF;
    }

    #block-3-2 .text-blue {
        color: #70abf1 !important;
    }

    #block-3-2 h2 {
        color: #FFFFFF !important;
    }

    #block-3-2 .text-muted {
        color: #dadada !important
    }

    .checkboxed span {
        line-height: 1;
        font-size: 1rem;
    }
}

@media screen and (max-width: 767px) {
    #block-5 {
        background: #35343A !important;
        color: #FFFFFF;
    }

    #block-5 h2 {
        color: #FFFFFF !important;
    }

    #block-5 .text-muted {
        color: #dadada !important
    }
}

#block-7 .num {
    color: white;
    background: #006D21;
    position: absolute;
    display: inline-block;
    text-align: center;
    margin-left: -50px;
    line-height: 2.1rem;
    width: 30px;
    height: 30px;
    font-size: 1.875rem;
    border-radius: 5px;
    font-family: "Myriad Pro Semibold Condensed";
}

#block-7 .num2 {
    font-size: 1.875rem;
    color: #FF0018;
    line-height: 1;
    font-family: "Myriad Pro Semibold Condensed";
}

#block-7 .list-block li,
#block-7 .list-block2 li {
    line-height: 1.5rem;
    margin-left: 50px;
}

@media screen and (max-width: 991px) {
    #block-7 h3 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    #block-7 {
        background: #35343a !important;
        color: #FFF;
    }

    #block-7 .text-muted {
        color: #dadada !important;
    }

    #block-7 .num {
        display: none;
    }

    #block-7 .list-block li,
    #block-7 .list-block2 li {
        margin-left: 0px;
    }

    #block-7 .list-block .num2 {
        color: #4a71ff;
    }

    #block-7 .list-block2 .num2 {
        color: #3bc03b;
    }

    #block-7 .img1,
    #block-7 .img2 {
        max-width: 180px
    }

}

#block-8 .text-muted {
    color: #bbbbbb !important;
}

#block-8 {
    background: url('images/block7.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#block-8 .text {
    line-height: 1.5rem;
}

#block-8 .text2 {
    line-height: 2rem;
}

#block-8 .num {
    color: #4a99f6;
    font-size: 5rem;
    line-height: 1;
}

#block-8 .circle {
    position: absolute;
    left: -1px;
    top: -18px;
}

@media screen and (max-width: 991px) {
    #block-8 .font-size-20 {
        font-size: 1.125rem;
    }

    #block-8 .num {
        font-size: 2.8rem;
    }
}


.blue-line-border {
    border-top: 5px solid #4a99f6;
}

#block-9 .text-muted {
    color: #4572a7 !important;
}

#block-9 .text-block {
    line-height: 1;
    display: block;
}

#block-9 .plus {
    display: block;
    text-align: center;
    font-size: 3rem;
    line-height: 1;
    font-weight: bold;
    color: #d53530;
    position: absolute;
    right: -1rem;
    top: 25%;
    padding: .5rem;
}

@media screen and (max-width: 1200px) {
    #block-9 .text-block .font-size-26 {
        font-size: 1.2rem;
    }

    #block-9 .plus {
        font-size: 2rem;
    }
}

@media screen and (max-width: 991px) {
    #block-9 .plus {
        top: 20%;
    }
}

@media screen and (max-width: 767px) {
    #block-9 .plus {
        position: relative;
        right: 0;
        top: 0;
        padding: 0.5rem;
    }

    #block-9 .text-block {
        text-align: center;
    }
}

#block-9 .btn-success {
    background: #006D21;
    border-color: #006D21;
}

#block-10 {
    background: url('images/block10.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 991px) {
    #block-10 {
        background: url('images/block10p.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
}

#block-10 .text-muted {
    color: #bbbbbb !important;
}

#block-10 form {
    color: #FFFFFF;
}

#block-10 .form-control {
    border-radius: 0px;
}

#block-10 .btn-success {
    border-color: #1B73AA;
    border-radius: 0px;
    background: #1B73AA;
    display: block;
    width: 100%;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

#block-10 .back {
    border-color: #505155;
    border-radius: 0px;
    background: #505155;
    color: #FFFFFF;
    text-align: center;
    margin-top: 1.5rem;

}

@media screen and (max-width: 767px) {
    #block-10 .back {
        margin-bottom: 1.5rem;
    }
}

@media screen and (min-width: 991px) {
    #block-10 .back {
        position: absolute;
        right: -160px;
        bottom: 0;
        margin-top: 0;

    }
}

#block-10 .agreement_comment {
    line-height: 1.5rem;
    text-align: left;
}

#block-10 .agreement_comment a {
    color: #d53530 !important;
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: auto;
}

.modal-content {
    background-color: #fff;
    border: 0;
    border-radius: 2px;
    position: relative;
    margin: auto;
}

.modal-dialog {
    max-width: 550px;
}

.modal-content {
    padding: 48px 56px 76px;
}

.modal-content .btn-close {
    position: absolute;
    right: 24px;
    top: 24px;
    background-image: url("/local/templates/grunbaum/img/modale_close.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    width: 24px;
    height: 24px;
    opacity: 0.7;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.modal-content .btn-close:hover {
    opacity: 1;
}

.modal-content .form-modal {
    margin-top: 34px;
}

.modal-content .form-modal .form-group {
    margin-bottom: 11px;
}

.modal-content .form-modal textarea.form-control {
    min-height: 120px;
    max-height: 160px;
    height: auto;
    padding-top: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    resize: none;
    overflow: auto;
}

.modal-content .form-modal .form-control:focus {
    color: #333333;
    background-color: transparent;
    border-bottom: 1px solid #D9D9D9;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.modal-content .form-modal label {
    font-size: 14px;
    line-height: 20px;
    color: #535353;
    margin-bottom: 4px;
}

.modal-content .form-modal button {
    width: 194px;
    height: 48px;
    margin: 28px auto 0;
    border: 0;
    font-family: Oswald;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    text-transform: uppercase;
    background: #D2232A;
    color: #FFFFFF;
    display: block;
}
.modal-content .form-modal .partners_submit {
    width: 194px;
    height: 48px;
    margin: 28px auto 0;
    border: 0;
    font-family: Oswald;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    text-transform: uppercase;
    background: #D2232A;
    color: #FFFFFF;
    display: block;
}

.modal-title {
    text-align: center;
    font-family: Oswald;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 59px;
    color: #0C0C0C;
    text-transform: uppercase;
}

.thank-you .modal-content {
    padding: 0 0 25px;
}

.thank-you .modal-header {
    padding: 25px;
    border-bottom: 1px solid #E8E8E8;
}

.thank-you .modal-title {
    text-align: left;
    font-style: normal;
    font-size: 24px;
    line-height: 28px;
    color: #0C0C0C;
    font-family: Oswald;
}

.thank-you .modal-body {
    color: #0C0C0C;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.40px;
    padding: 25px;
}

.thank-you .modal-footer {
    justify-content: flex-start;
    padding: 0;
    border-top: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 25px;
}

.thank-you .btn {
    border-radius: 5px;
    height: 45px;
    padding: 0 30px;
    min-width: 100px;
}

.footer-maxitpms {
    display: none;
}