body {
    counter-reset: section;
}

.roof-section {
    padding: 90px 0;
}

.roof-section h2.title {
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
    padding-bottom: 20px;
    margin-top: 0;
}

section.roof-section .lead {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
}



/********************************************/

.features-container {
    text-align: left;
    padding-left: 55px;
    background-size: 40px;
    background-position: left top;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

.features-container.first {
    background-image: url("/img/roof/features-ico-1.png");
}

.features-container.second {
    background-image: url("/img/roof/features-ico-2.png");
}

.features-container.third {
    background-image: url("/img/roof/features-ico-3.png");
}

.features-container h3 {
    font-size: 20px;
    font-weight: 700;
}

.features-container p {
    font-size: 16px;
    font-weight: 400;
}

/********************************************/

.roof-type-section {
    padding-top: 0;
}

.roof-type-section .flex-item-wrapper {
    height: 320px;
}

.roof-type-section .flex-item-wrapper.first {
    background-image: url("/img/roof/roof-type-1.jpg");
}

.roof-type-section .flex-item-wrapper.second {
    background-image: url("/img/roof/roof-type-2.jpg");
}

.roof-type-section .flex-item-wrapper.third {
    background-image: url("/img/roof/roof-type-3.jpg");
}

.roof-type-section .flex-item-wrapper.fourth {
    background-image: url("/img/roof/roof-type-4.jpg");
}

/********************************************/

.call-measurer-section {
    background-color: #4a4a4a;
    color: white;
}

.call-measurer-section .title {
    color: white;
}

.call-measurer-section .lead {
    color: white;
    text-align: center;
}

.call-measurer-section .form-wrapper {
    position: relative;
    text-align: center;
    padding: 15px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.15);
}

.call-measurer-section .form-wrapper > p {
    margin-bottom: 15px;
    padding: 0 15px;
    font-size: 18px;
    font-weight: 500;
}

.call-measurer-section .form-wrapper:after {
    border: 1px solid #ffc000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.call-measurer-section .form-wrapper:before {
    border: 1px solid #ffc000;
    position: absolute;
    top: -15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
}

.call-measurer-section .call-measurer-form {
    position: relative;
    padding: 10px 0;
    z-index: 1;
}

.call-measurer-section .call-measurer-form .form-control {
    height: 56px;
    padding: 18px 24px;
    font-size: 16px;
    line-height: 16px;
    border-radius: 28px;
    box-shadow: none;
    border-color: transparent;
}

.call-measurer-section .call-measurer-form .form-control::placeholder {
    color: #333333;
    font-size: 16px;
    font-weight: 400;
}

.call-measurer-form .has-error .help-block {
    color: #ffc100;
}

.call-measurer-section .man {
    position: relative;
}

.call-measurer-section .man:after {
    content: '';
    background-image: url("/img/roof/call-measurer-man.png");
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    left: -30px;
    bottom: 0;
    width: 350px;
    height: 573px;
}

.call-measurer-section .alerts-list {
    padding: 15px 0;
    font-size: 16px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.call-measurer-section .alerts-list .alerts-item {
    padding: 15px 0;
    margin: 0;
    font-size: 16px;
}

.call-measurer-section .btn-orange-rounded {
    font-size: 16px;
    font-weight: bold;
}

/********************************************/

.roofing-type-section {
}

.roofing-type-section .title {
}

.roofing-type-section .lead {
    text-align: center;
}

.roofing-type-section .flex-item-wrapper {
    background-size: cover;
    margin-bottom: 15px;
}

.roofing-type-section .flex-item-wrapper .item-title {
    font-size: 24px;
    line-height: 30px;
    position: relative;
    margin: 0 0 30px 0;
    padding: 0 0 15px 0;
}

.roofing-type-section .flex-item-wrapper .item-title:after {
    content: '';
    position: absolute;
    margin: 0 0 0 -33px;
    border-bottom: 3px solid #ffc000;
    width: 76px;
    bottom: 0;
    left: 50%;
}

.roofing-type-section .flex-item-wrapper .item-title a {
    color: white;
}

.roofing-type-section .flex-item-wrapper .item-title a:hover,
.roofing-type-section .flex-item-wrapper .item-title a:focus {
    color: #ffc000;
    text-decoration: none;
    position: relative;
}

.roofing-type-section .flex-item-wrapper.first {
    background-image: url("/img/roof/roofing-type-1.jpg");
    height: 160px;
}

.roofing-type-section .flex-item-wrapper.second {
    background-image: url("/img/roof/roofing-type-2.jpg");
    height: 160px;
}

.roofing-type-section .flex-item-wrapper.third {
    background-image: url("/img/roof/roofing-type-3.jpg");
    height: 160px;
}

.roofing-type-section .flex-item-wrapper.fourth {
    background-image: url("/img/roof/roofing-type-4.jpg");
    height: 160px;
}

.roofing-type-section .flex-item-wrapper.fifth {
    background-image: url("/img/roof/roofing-type-5.jpg");
    height: 160px;
}

/********************************************/

.risks-section {
    padding: 0;
}

.risks-section .title {
}

.risks-section .lead {
    text-align: center;
}

.risks-section .risk-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0;
}

.risks-section .risk-wrapper {
    width: 100%;
    padding: 30px;
}

.risks-section .risk-list .risk-item {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.risks-section .risk-list .risk-item:nth-child(even) {
    background-color: #eee;
}

.risks-section .risk-list .risk-item:nth-child(odd) {
    background-color: #fff;
}

.risks-section .risk-list .risk-item h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    position: relative;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 8px;
}

.risks-section .risk-list .risk-item h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom: 3px dotted #ffc000;
    width: 4em;
}

.risks-section .risk-list .risk-item p {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0;
}

/********************************************/

.trust-section {
    background-color: #4a4a4a;
    color: white;
}

.trust-section h2.title {
    color: white;
}

.trust-section .trust-list {
}

.trust-section .trust-list .trust-item {
    text-align: center;
    margin-bottom: 30px;
}

.trust-section .trust-list .trust-item img {
    height: 40px;
    width: 40px;
    display: inline-block;
}

.trust-section .trust-list .trust-item h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.trust-section .trust-list .trust-item p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/********************************************/

.cost-calculation-section {
}

.cost-calculation-section .cost-calculation {
    padding: 30px;
    position: relative;
    text-align: center;
    border: 1px solid #ffc000;
}

.cost-calculation-section .cost-calculation h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
    margin-top: 60px;
    margin-bottom: 30px;
}

.cost-calculation-section .cost-calculation a {
    position: relative;
    margin-bottom: 30px;
}

.cost-calculation-section .cost-calculation:before {
    content: '';
    border: 1px solid #ffc000;
    position: absolute;
    top: 15px;
    bottom: -15px;
    left: -15px;
    right: -15px;
}

/********************************************/

.steps-list .steps-item {
    padding-top: 90px;
    position: relative;
    background-repeat: no-repeat;
    background-position: 100px 20px;
}

.steps-list .steps-item.first {
    background-image: url("/img/roof/steps-icon-1.png");
}

.steps-list .steps-item.second {
    background-image: url("/img/roof/steps-icon-2.png");
}

.steps-list .steps-item.third {
    background-image: url("/img/roof/steps-icon-3.png");
}

.steps-list .steps-item.fourth {
    background-image: url("/img/roof/steps-icon-4.png");
}

.steps-list .steps-item.fifth {
    background-image: url("/img/roof/steps-icon-5.png");
}

.steps-list .steps-item.sixth {
    background-image: url("/img/roof/steps-icon-6.png");
}

.steps-item p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 30px;
}

.steps-list > .row > div > .steps-item:after {
    color: #eee;
    counter-increment: section;
    content: "0" counter(section);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 64px;
    font-weight: 700;
}

/********************************************/

.reviews-section {
    color: white;
}

.reviews-section h2.title {
    color: white;
    text-align: left;
}

.reviews-section h2.title:after {
    margin: 0;
    left: 0;
}

.reviews-section .lead {
    text-align: left !important;
}

.reviews-section {
    background-color: #4a4a4a;
}

.reviews-section {
}

.reviews-section .owl-theme {
}

.reviews-section .owl-theme .owl-nav {
    position: absolute;
    bottom: initial;
    top: 0;
    left: 0;
    right: 0;
}

.reviews-section .owl-theme .item {
    margin-left: -15px;
    margin-right: -15px;
}

.reviews-section .owl-theme .item .row {
    max-width: initial;
}

.reviews-section .owl-theme .owl-nav .owl-prev {
    position: absolute;
    right: 45px;
    left: initial;
    bottom: initial;
    top: -105px;
    margin: 0;
}

.reviews-section .owl-theme .owl-nav .owl-next {
    position: absolute;
    right: 0;
    left: initial;
    bottom: initial;
    top: -105px;
    margin: 0;
}

.reviews-section .owl-theme .owl-nav .owl-next .arrow,
.reviews-section .owl-theme .owl-nav .owl-prev .arrow {
    width: 40px;
    height: 40px;
    display: block;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    border: 2px solid white;
    border-radius: 50%;
}

.reviews-section .owl-theme .owl-nav .owl-prev .arrow {
    background-image: url("/img/roof/review-arr-left.png");
}

.reviews-section .owl-theme .owl-nav .owl-next .arrow {
    background-image: url("/img/roof/review-arr-right.png");
}

.reviews-section .review-description {
    background-color: white;
    color: #333;
    padding: 30px;
}

.reviews-section .review-description .name {
    font-weight: bold;
    margin-bottom: 15px;
}

.reviews-section .review-description .text {
    margin-bottom: 15px;
}

.reviews-section .review-description .table {
    margin-bottom: 0;
}

.reviews-section .review-description .table img {
    width: initial;
}

.reviews-section .review-description .table > tbody > tr > td {
    font-size: 14px;
    border-color: #eeeeee;
}

.reviews-section .review-description .table > tbody > tr:first-child > td {
    font-size: 14px;
    border-top: 0;
}

.reviews-section .review-description .table > tbody > tr > td:last-child {
    text-align: right;
}

.reviews-section .author-review {
    position: relative;
}

.reviews-section .author-review img {
    height: 40px;
    width: 40px;
    position: absolute;
    right: 30px;
    bottom: -55px;
    display: block;
    border-radius: 50%;
}

.reviews-section .twentytwenty-overlay {
    display: none;
}

/********************************************/

.fast-order-section {
}

.fast-order-section .order-btn-wrapper {
    position: relative;
    border: 1px solid #ffc000;
    padding: 55px 30px 40px 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.fast-order-section .order-btn-wrapper:before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: -15px;
    left: -15px;
    right: -15px;
    border: 1px solid #ffc000;
}

.fast-order-section .order-btn-wrapper .phone-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
}

.fast-order-section .order-btn-wrapper .btn-orange-rounded {
    font-size: 16px;
    font-weight: bold;
}

.fast-order-section .manager {
    text-align: center;
}

.fast-order-section .manager .img-responsive {
    display: inline-block;
}

.fast-order-section .text-control-bottom {
    text-align: center;
}

.social-btn-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.social-btn-list .social-btn-item {
    display: inline-block;
}

.social-btn-list .social-btn-item .rounded-btn {
    font-size: 1em;
    line-height: 1em;
    font-weight: 600;
    padding: 1em 2em;
    border-radius: 3em;
    min-width: 150px;
    border: 2px solid #cccccc;
    margin-bottom: 5px;
}

.social-btn-list .social-btn-item .rounded-btn.vk {
    color: #5281b9;
    border-color: #5281b9;
}

.social-btn-list .social-btn-item .rounded-btn.whatsapp {
    color: #42bd2e;
    border-color: #42bd2e;
}

.social-btn-list .social-btn-item .rounded-btn.viber {
    color: #8259a8;
    border-color: #8259a8;
}

/********************************************/

.modal-title {
    color: #000000;
    line-height: 24px;
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 15px;
}

.roof-modal-info img,
.roof-modal-info p {
    margin-bottom: 10px;
}

.roof-modal-form .btn-orange-rounded {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    padding: 18px 26px;
    font-size: 16px;
}

.roof-modal-form .form-control {
    padding: 17px 24px;
    margin-bottom: 5px;
}

.no-overpayment-wrapper {
    padding: 0 100px;
}

.roof-material .modal-title {
    text-align: center;
    margin: 30px 0 20px 0;
}

.roof-material .modal-form-title {
    text-align: left;
}

.roof-material .modal-form-title:after {
    margin: 0;
    left: 0;
}


/********************************************/

.advantages-in-modal .nav-icon {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    flex-wrap: nowrap;
}

.advantages-in-modal .nav-icon > li {
    position: relative;
    margin-bottom: 15px;
}

.advantages-in-modal .nav-icon > li > a {
    position: relative;
    background-color: transparent;
}

.advantages-in-modal .nav-icon > li > a:hover,
.advantages-in-modal .nav-icon > li > a:focus {
    background-color: transparent;
}

.advantages-in-modal .nav-icon > li.active a {
    background-color: transparent;
}

.advantages-in-modal .nav-icon > li.active a:after {
    content: '';
    height: 10px;
    width: 10px;
    display: block;
    border-top: 0 solid transparent;
    border-bottom: 8px solid #e2e2e2;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin-left: -5px;
}

.advantages-in-modal .tab-cloud {
    background-color: #e2e2e2;
    padding: .8em 1.2em;
    border-radius: 3px;
    font-size: 16px;
}

.advantage-ico {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    height: 60px;
    width: 60px;
}

.advantage-ico.first {
    background-image: url("/img/roof/modal-icons/1.png");
}

.advantage-ico.second {
    background-image: url("/img/roof/modal-icons/2.png");
}

.advantage-ico.third {
    background-image: url("/img/roof/modal-icons/3.png");
}

.advantage-ico.fourth {
    background-image: url("/img/roof/modal-icons/4.png");
}

.advantage-ico.fifth {
    background-image: url("/img/roof/modal-icons/5.png");
}

.advantage-ico.sixth {
    background-image: url("/img/roof/modal-icons/6.png");
}

.advantage-ico.seventh {
    background-image: url("/img/roof/modal-icons/7.png");
}

.advantage-ico.eighth {
    background-image: url("/img/roof/modal-icons/8.png");
}

.advantage-ico.ninth {
    background-image: url("/img/roof/modal-icons/9.png");
}

.advantage-ico.tenth {
    background-image: url("/img/roof/modal-icons/10.png");
}

/********************************************/

@media (max-width: 769px) {
    .roof-section.main-header .top-content .lead {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        width: 100%;
    }

    .roof-section.main-header .top-content h1 {
        font-size: 2.4rem;
        line-height: 1.4;
        text-align: center;
        width: 100%;
    }

    .roof-section.main-header .top-content .main_nav {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .fast-order-section .order-btn-wrapper:before {
        top: 30px;
        bottom: -30px;
        left: -30px;
        right: -30px;
    }

    .fast-order-section .order-btn-wrapper {
        padding: 65px 30px 40px 30px;
        margin-bottom: 90px;
    }

    .reviews-section .author-review img {
        bottom: -60px;
        height: 45px;
        width: 45px;
    }

    .reviews-section .review-description {
        margin-left: -30px;
        padding-top: 42px;
    }

    .reviews-section .owl-theme .owl-nav .owl-prev {
        right: 55px;
        top: -85px;
    }

    .reviews-section .owl-theme .owl-nav .owl-next {
        right: 0;
        top: -85px;
    }

    .reviews-section .owl-theme .owl-nav .owl-next .arrow,
    .reviews-section .owl-theme .owl-nav .owl-prev .arrow {
        width: 50px;
        height: 50px;
    }

    .cost-calculation-section .cost-calculation:before {
        top: 30px;
        bottom: -30px;
        left: -30px;
        right: -30px;
    }

    .steps-item p {
        min-height: 90px;
        margin-bottom: 30px;
    }

    .call-measurer-section .form-wrapper {
        position: relative;
        text-align: center;
        padding: 30px;
        margin: 30px 40px;
        background-color: transparent;
    }

    .call-measurer-section .form-wrapper:before {
        top: -30px;
        left: 30px;
        right: 30px;
        bottom: 30px;
    }

    .call-measurer-section .call-measurer-form {
        padding: 30px 60px;
    }

    .call-measurer-section .form-wrapper:after {
        content: '';
    }

    .call-measurer-section .form-wrapper:before {
        content: '';
    }

    .roofing-type-section .flex-item-wrapper .item-title {
        font-size: 30px;
        line-height: 36px;
    }

    .roofing-type-section .flex-item-wrapper {
        margin-bottom: 30px;
    }

    .roofing-type-section .flex-item-wrapper.first {
        height: 442px;
    }

    .roofing-type-section .flex-item-wrapper.second {
        height: 192px;
    }

    .roofing-type-section .flex-item-wrapper.third {
        height: 220px;
    }

    .roofing-type-section .flex-item-wrapper.fourth {
        height: 220px;
    }

    .roofing-type-section .flex-item-wrapper.fifth {
        height: 220px;
    }

    .risks-section .risk-list {
        max-height: 600px;
    }

    .risks-section .risk-wrapper {
        width: 375px;
        padding: 30px;
    }

    .risks-section .risk-list .risk-item {
        width: 50%;
        height: 200px;
    }

    .risks-section .risk-list .risk-item:nth-child(-n+3) {
        align-items: flex-end;
    }

}

@media (min-width: 992px) {
    .fast-order-section .order-btn-wrapper {
        margin-top: 0;
    }

    .fast-order-section .order-btn-wrapper .phone-text {
        margin-bottom: 15px;
    }

    .fast-order-section .order-btn-wrapper:before {
        top: 20px;
        bottom: -20px;
        left: -20px;
        right: -20px;
    }

    .fast-order-section .text-control-bottom {
        text-align: left;
    }

    .roof-section h2.title {
        font-size: 32px;
        line-height: 38px;
    }

    .features-container h3 {
        font-size: 24px;
    }

    .features-container p {
        font-size: 18px;
    }

    .call-measurer-section .alerts-list {
        margin-top: 80px;
        text-align: left;
    }

    .roofing-type-section .flex-item-wrapper.first {
        height: 592px;
    }

    .roofing-type-section .flex-item-wrapper.third {
        height: 370px;
    }

    .roofing-type-section .flex-item-wrapper.fourth {
        height: 370px;
    }

    .risks-section .risk-wrapper {
        width: 485px;
    }

    .risks-section .risk-list .risk-item {
        height: 190px;
    }

    .reviews-section .review-description {
        margin-top: 92px;
        padding-top: 50px;
    }

    .reviews-section .author-review img {
        bottom: -135px;
        height: 90px;
        width: 90px;
    }
}

@media (min-width: 1200px) {
    .roof-section h2.title {
        font-size: 36px;
        line-height: 40px;
    }

    .features-container {
        padding-left: 70px;
        background-size: 55px;
    }

    .features-container h3 {
        font-size: 30px;
    }

    .risks-section .risk-wrapper {
        width: 585px;
    }

    .risks-section .risk-list .risk-item {
        height: 170px;
    }

    .reviews-section .review-description {
        margin-top: 110px;
        padding-top: 50px;
    }

    .reviews-section .author-review img {
        bottom: -165px;
        height: 110px;
        width: 110px;
    }

    .call-measurer-section .form-wrapper:before {
        top: -30px;
        left: 30px;
        right: 30px;
        bottom: 30px;
    }
}
