﻿.page-container {
    font-family: 'Roboto', "Helvetica", "Arial", sans-serif;
}

    .page-container .btn-dark-green {
        width: 250px;
        border-radius: 4px !important;
        padding-left: 24px;
        padding-right: 24px;
    }

        .page-container .btn-dark-green:hover {
            background-color: #27AE60;
            color: #FFF;
        }

.page-container > .container {
    padding-left: 32px;
    padding-right: 32px;
}

.header-section {
    text-align: center;
    padding: 40px;
}

    .header-section h1 {
        color: #006940;
        font-size: 55px;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 2px;
    }

    .header-section h5 {
        color: #333;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: normal;
        margin: 0;
    }

    .header-section .btn {
        margin-top: 12px;
    }

.featured-video {
    display: flex;
}

    .featured-video > [class^=col-] {
        flex: 1 1 0px;
    }

    .featured-video h4 {
        color: #414141;
        font-size: 24px;
        font-weight: bold;
        margin: 0;
    }

    .featured-video h6 {
        color: #414141;
        font-size: 18px;
        font-style: italic;
        margin-top: 4px;
        margin-bottom: 0;
    }

    .featured-video .testimonial-text {
        color: #424242;
        font-size: 16px;
        line-height: 18px;
        margin-top: 12px;
    }

    .featured-video a {
        padding: 0;
    }

    .featured-video img {
        width: 102px;
        margin-top: 8px;
    }

    .featured-video iframe {
        width: 100%;
        height: 280px;
    }

.page-module {
    margin-top: 32px;
}

    .page-module h3 {
        color: #424242;
        font-size: 24px;
        font-weight: bold;
        border-bottom: solid 2px #707070;
        margin-top: 0;
        margin-bottom: 24px;
    }

#videoCarousel {
    display: flex;
}

.carousel-control {
    width: auto;
    background-image: none !important;
    position: static;
    opacity: 1;
}

    .carousel-control i {
        position: relative;
        top: 28%;
        color: #424242;
        font-size: 30px;
    }

.carousel-inner .item.left.active {
    transform: translateX(-25%);
}

.carousel-inner .item.right.active {
    transform: translateX(25%);
}

.carousel-inner .item.next {
    transform: translateX(25%)
}

.carousel-inner .item.prev {
    transform: translateX(-25%)
}

.carousel-inner .item.right,
.carousel-inner .item.left {
    transform: translateX(0);
}

.video-testimonial {
    cursor: pointer;
}

    .video-testimonial iframe {
        width: 100%;
    }

    .video-testimonial h5 {
        color: #414141;
        font-size: 16px;
        font-weight: bold;
        line-height: 20px;
        margin-top: 12px;
        margin-bottom: 0;
    }

    .video-testimonial h6 {
        color: #414141;
        font-size: 14px;
        font-style: italic;
        line-height: 20px;
        margin-top: 0;
        margin-bottom: 0;
    }

.overlap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
}

.aligned-row.row {
    display: flex;
    flex-flow: row wrap;
}

.more-testimonials-section .aligned-row.row > [class^=col-] {
    margin-bottom: 35px;
}

.testimonial-card {
    height: 100%;
    background-color: #EFEFEF;
    padding: 20px 20px 24px 29px;
}

    .testimonial-card .top {
        display: flex;
        justify-content: space-between;
    }

    .testimonial-card .info {
        display: flex;
    }

    .testimonial-card img {
        width: 90px;
        height: 90px;
        margin-right: 26px;
        flex-shrink: 0;
    }

    .testimonial-card h5 {
        font-size: 20px;
        font-weight: bold;
        line-height: 30px;
        margin: 8px 0 0 0;
    }

    .testimonial-card h6 {
        width: 80%;
        font-size: 16px;
        font-style: italic;
        line-height: 18px;
        margin: 4px 0 0 0;
    }

    .testimonial-card .quotes {
        color: #0D6940;
        font-size: 93px;
        font-weight: bold;
        line-height: 64px;
    }

    .testimonial-card .testimonial-text {
        color: #424242;
        font-size: 16px;
        line-height: 18px;
        margin-top: 18px;
    }

.cta-section {
    color: #424242;
    font-size: 16px;
    line-height: 22px;
    margin-top: 16px;
}

    .cta-section h4 {
        color: #414141;
        font-size: 24px;
        font-weight: bold;
        line-height: 30px;
        margin: 0 0 8px 0;
    }

    .cta-section h6 {
        color: #414141;
        font-size: 18px;
        font-weight: bold;
        line-height: 20px;
        margin: 16px 0 2px 0;
    }

    .cta-section img {
        width: 100%;
    }

    .cta-section .btn {
        margin-top: 10px;
    }

/*#region eri-products */

.products-section {
    margin-top: 64px;
    margin-bottom: 64px;
}

    .products-section .bg {
        background-color: #EFEFEF;
        border: none;
        padding-left: 32px;
        padding-right: 32px;
    }

.eri-products {
    text-align: center;
    padding-top: 32px;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .eri-products h3 {
        width: 100%; /*for IE*/
        color: #414141;
        font-size: 24px;
        font-weight: bold;
        line-height: 24px;
        margin: 0;
    }

    .eri-products .products {
        width: 100%;
        max-width: 600px;
        display: flex;
        justify-content: space-between;
        margin-top: 24px;
    }

    .eri-products .product {
        padding: 0;
    }

        .eri-products .product a {
            text-decoration: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

            .eri-products .product a:hover,
            .eri-products .product a:active,
            .eri-products .product a:visited {
                color: #414141;
            }

            .eri-products .product a:hover {
                text-decoration: underline;
            }

        .eri-products .product img {
            height: 98px;
        }

        .eri-products .product h6 {
            color: #414141;
            font-size: 18px;
            font-weight: bold;
            line-height: 20px;
            text-align: center;
            margin-top: 16px;
            margin-bottom: 0;
        }

@media (max-width: 575px) {

    .eri-products {
        padding-top: 24px;
        padding-bottom: 40px;
    }

        .eri-products h3 > br {
            display: block;
        }

        .eri-products .products {
            flex-direction: column;
        }

        .eri-products .product:not(:last-child) {
            margin-bottom: 24px;
        }
}

@media (max-width: 767px) {

    .products-section {
        margin-top: 0;
    }
}

/*#endregion eri-products */

@media (min-width: 1200px) {

    .featured-video .descr {
        padding-right: 80px;
    }
}

@media (max-width: 991px) {

    .featured-video {
        flex-direction: column-reverse;
    }

        .featured-video > [class^=col-] {
            flex: auto;
        }

        .featured-video iframe {
            height: 270px;
        }

        .featured-video .descr {
            margin-top: 16px;
        }

    .video-testimonial h5 {
        margin-top: 0;
    }
}

@media (max-width: 767px) {

    .header-section {
        padding: 32px;
    }

        .header-section h1 {
            font-size: 40px;
        }
        
    .carousel-inner .item.prev,
    .carousel-inner .item.next,
    .carousel-inner .item:not(.active) {
        display: none;
    }

    .carousel-inner .item.left,
    .carousel-inner .item.right {
        visibility: hidden;
    } 

    .carousel-inner .item > [class^=col-] {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .carousel-inner .item > [class^=col-]:not(:first-child) {
            display: none;
        }

    .video-testimonial h5 {
        margin-top: 12px;
    }

    .cta-section .aligned-row.row > [class^=col-] {
        width: 100%;
    }

    .cta {
        margin-bottom: 36px;
    }
}

@media (max-width: 575px) {

    .header-section {
        padding-top: 24px;
    }

        .header-section h1 {
            font-size: 26px;
            line-height: normal;
        }

        .header-section h5 {
            font-size: 18px;
            line-height: normal;
        }

        .header-section .btn {
            width: 100%;
        }

    .page-module h3 {
        font-size: 20px;
    }

    .featured-video h4 {
        font-size: 20px;
        line-height: normal;
    }

    .featured-video h6 {
        font-size: 16px;
        margin-top: 0;
    }

    .featured-video iframe {
        height: 160px;
    }

    .more-testimonials-section .aligned-row.row > [class^=col-] {
        margin-bottom: 16px;
    }

    .testimonial-card {
        padding: 16px 24px 24px 24px;
    }

        .testimonial-card .info {
            flex-direction: column;
        }

            .testimonial-card .info h5 {
                font-size: 16px;
                line-height: 20px;
            }

        .testimonial-card .quotes {
            line-height: 100px;
        }

    .cta-section {
        margin-top: 20px;
    }

        .cta-section h4 {
            font-size: 20px;
        }

        .cta-section h6 {
            font-size: 16px;
        }

        .cta-section .btn {
            width: 100%;
        }
}
