﻿.wrap {
    width: 1240px;
    margin: 0 auto;
}


/* Header & Footer */
.header {
    position: relative;
}
.header, 
.footer {
    background-color: #000;
    padding: 25px 0;
}
    .header img, 
    .footer img {
        width: 200px;
        display: inline-block;
    }
    .header nav {
        margin-top: -30px;
        text-align: right;
    }
    .header ul, 
    .footer ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
        .header ul li {
            list-style: none; 
            margin-left: 50px;
        }
            .header ul li a {
                list-style: none;
                text-transform: uppercase;
                color: #999;
                font-size: 20px;
                transition: color .5s;
            }
            .header ul li a:hover {
                color: #ed3023;
                transition: color .25s;
            }
    .footer span {
        color: #999;
    }
    .footer nav {
        margin-top: -20px;
        text-align: right;
    }
        .footer ul li {
            list-style: none;
            margin-left: 15px;
        }
            .footer ul li a {
                list-style: none;
                color: #999;
                font-size: 14px;
                transition: color .5s;
            }
                .footer ul li a:hover {
                    color: #ed3023;
                    transition: color .25s;
                }

/* Shared Design Elements */
.page {
    padding-bottom: 50px;
    min-height: 900px;
}
.two-one-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 50px;
}
.two-one-grid.flipped {
    grid-template-columns: 1fr 2fr;
}

    .two-one-grid h1 {
        color: #ed3023;
        display: inline-block;
        margin-bottom: 0;
    }

    .two-one-grid .contact-form {
        background-color: #919195;
        padding: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

        .two-one-grid .contact-form input {
            margin-bottom: 15px;
        }

        .two-one-grid .contact-form .radios {
            background-color: #fff;
            margin-bottom: 15px;
            padding: 10px 10px 0 10px;
        }
.common-hero {
    min-height: 450px;
    background-position: center center !important;
    background-size: cover !important;
    display: flex;
    align-items: center;
}

    .common-hero h1 {
        background-color: rgba(237, 48, 35, 0.75);
        display: inline;
        padding: 10px 40px 10px 0;
        color: #fff;
        font-size: 38px;
        font-weight: 500;
        margin-bottom: 0;
        padding-left: calc((100vw - 1240px) / 2);
    }

    .common-hero p {
        background-color: rgba(201, 202, 204, 0.8);
        padding: 10px 40px 10px 0;
        color: #000;
        font-size: 22px;
        line-height: 30px;
        font-weight: 400;
        width: 50%;
        margin: 10px 0 0 0;
        padding-left: calc((100vw - 1240px) / 2);
    }

.person-box {
    display: grid;
    grid-template-columns: 90px 1fr;
    grid-column-gap: 20px;
    background-color: #ececec;
    padding: 15px;
    margin-bottom: 15px;
}

    .person-box img {
        max-width: 100%;
    }

    .person-box h1 {
        margin: 0;
        color: #000;
        font-size: 18px;
        font-weight: 500;
    }

    .person-box h2 {
        margin: 0;
        color: #000;
        font-size: 18px;
        font-weight: 300;
    }

    .person-box h3 {
        margin: 0;
        color: #000;
        font-size: 18px;
        font-weight: 300;
    }
.grey-hero {
    background-color: #919195;
    padding: 25px 0;
}
    .grey-hero h1 {
        margin: 0;
        color: #fff;
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 10px;
    }
    .grey-hero p {
        margin: 0;
        color: #000;
        font-size: 18px;
        font-weight: 400;
    }

table {
    width: 100%;
    border: 2px solid #008752;
    box-shadow: 0 2px 15px 0 #d8d8d8;
}
    table td {
        padding-left: 10px;
    }
    table tr:nth-child(even) {
        background-color: #c2e6a6;
    }
    table tr:nth-child(odd) {
        background-color: #e7f5de;
    }
    table tr:nth-child(1) {
        background-color: #7ac143;
        color: #fff;
    }

/* Home Page */

.home {
    overflow-x: hidden;
}
.home h1 {
    color: #ed3023;
    padding-left: 20px;
    display: inline-block;
}
.home .slider {
    min-height: 600px;
    position: relative;
}
    .home .slider .slider-item {
        min-height: 600px;
        background-position: center center !important;
        background-size: cover !important;
    }
        .home .slider .slider-item h1 {
            font-size: 48px;
            line-height: 48px;
            font-weight: 400;
            margin-top: 60px;
            width: 50%;
            margin-bottom: 20px;
        }
        .home .slider .slider-item a {
            font-size: 20px;
            display: block;
            padding-left: 20px;
        }
    .home .slider .controls {
        position: absolute;
        top: 275px;
        width: 100%;
    }
        .home .slider .controls .prev {
            display: inline-block;
            cursor: pointer;
        }
        .home .slider .controls .next {
            display: inline-block;
            margin-left: calc(1240px - 25px);
            cursor: pointer;
        }

.home .featured-products a.see-all {
    display: block;
    text-align: right;
    margin-top: -45px;
}
.home .featured-products .featured-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.home .featured-products .featured-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 25px;
    margin-top: 25px;
}
.product-box {
    max-height: 275px;
    min-height: 275px;
    background-color: #ececec;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .5s;
    position: relative;
}
    .product-box:hover {
        background-color: #ed3023;
        transition: all .5s;
    }
        .product-box:hover a {
            color: #fff;
            transition: all .25s;
        }
    .product-box h2 {
        margin-top: 0;
        color: #000;
        font-size: 18px;
        margin-bottom: 10px;
    }
    .product-box a {
        display: block;
        font-size: 18px;
    }
    .product-box img {
        position: absolute;
        right: 15px;
        bottom: 15px;
    }

.home .home-about .about-home-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 40px;
    margin-bottom: 100px;
}
.home .home-about .about-home-grid img {
    max-width: 100%;
}
    .home .home-about .about-home-grid h1 {
        font-size: 18px;
        padding: 0;
        margin: 10px 0 15px 0;
    }
    .home .home-about .about-home-grid h2 {
        font-size: 16px;
        font-weight: 400;
        margin: 0 0 15px 0;
    }
    .home .home-about .about-home-grid a {
        display: inline-block;
    }


/* About Us Page */

.about .our-team {
    margin-top: 50px;
}
    .about .our-team h2 {
        color: #ed3023;
        font-size: 18px;
    }

/* Distributors Page */
.distributors h6 {
    color: #ed3023;
    font-size: 16px;
    margin: 20px 0 10px 0;
}
.distributors h6 a {
    text-decoration: underline;
}
.distributors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 20px;
    margin-top: 20px;
}
    .distro-box {
        background-color: #ececec;
        position: relative;
        min-height: 270px;
    }
    .distro-box div:nth-child(1) {
        padding: 20px;
    }
    .distro-box h1 {
        margin: 0 0 10px 0;
        font-size: 18px;
        font-weight: 600;
    }
        .distro-box .info {
            width: 100%;
            margin-bottom: 15px;

        }
            .distro-box .info img {
                width: 32px;
                display: inline-block;
                vertical-align: top;
            }
                .distro-box .info img.phone {
                    margin-top: -5px;
                }
                .distro-box .info img.mail {
                    margin-top: -4px;
                }
                .distro-box .info img.url {
                    margin-top: -6px;
                }
            .distro-box .info div {
                width: calc(100% - 40px);
                display: inline-block;
                padding-left: 5px;
            }
        .distro-box .bar {
            background-color: #919195;
            color: #fff;
            position:absolute;
            bottom: -10px;
            width: 100%;
            padding: 5px 20px;
            cursor: pointer;
            transition: background-color .25s;
        }
            .distro-box .bar:hover {
                background-color: #ed3023;
                transition: background-color .25s;
            }

/* Distributor Page */
.distributor .two-one-grid {
    margin-top: 15px;
}
.distributor .distro-box {
    background-color: #fff;
    min-height: 0;
    margin-left: 15px;
}
.distributor .distro-box .info {
    padding: 5px 0;
}
.distro-products h1 {
    font-size: 18px;
    font-weight: 600;
    margin-left: 15px;
}
.distro-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 20px;
    margin-top: 20px;
}
.distro-product-box {
    background-color: #ececec;
}
    .distro-product-box h4 {
        margin: 15px 15px 5px 15px;
        font-size: 18px;
    }
    .distro-product-box h5 {
        margin: 0 15px 10px 15px;
        font-weight: 400;
        font-size: 16px;
    }
    .distro-product-box a.bar {
        background-color: #919195;
        width: 100%;
        padding: 5px 0 5px 15px;
        color: #fff;
        transition: all .25s;
        display: block;
    }
        .distro-product-box a.bar:hover {
            background-color: #ed3023;
            transition: all .25s;
        }


.experts h1 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;
}

/* Products Page */

.products .search-controls {
    margin-top: 20px;
    background-color: #919195;
    padding: 10px 15px 0 15px;
    margin-bottom: 15px;

}

    .products .search-controls select {
        margin-bottom: 10px;
        font-weight: 600;
    }
    .products .search-controls select:disabled {
        color: #ccc;
    }

.products .flipped h1 {
    margin-left: 15px;
}

    .products .flipped h1.black {
        color: #000;
    }

/* Product Page */
.product .body h1 {
    font-size: 18px;
    margin-bottom: 5px 0;
    font-weight: 600;
}
.product .body h2 {
    font-size: 28px;
    font-weight: 500;
    color: #ed3023;
    margin-bottom: 15px;
}
.product .body p {
    margin: 0 0 15px 0;
}
.product .links {
    margin-top: 20px;
}
    .product .links a.button {
        background-color: #ed3023;
        color: #fff;
        width: 100%;
        display: block;
        padding: 5px 10px;
        border-bottom: 3px solid #9e0b0f;
        margin-bottom: 15px;
    }
        .product .links a.button:hover {
            transition: all .25s;
            border-bottom: 3px solid #9e0b0f;
            background-color: #dc2b1f;
        }
    .product .links a > span {
        float: right;
    }
.product .our-team h2 {
    color: #ed3023;
}

/* Mobile */
.header .mobile {
    display: none;
}
.home .featured-products a.see-all-mobile {
    display: none;
}

@media  (max-width: 1239px) {
    .wrap {
        width: 100%;
        padding: 0 15px;
    }
    .footer span {
        display: inline-block;
        margin-bottom: 25px;
    }
    .home .slider {
        width: 100%;
    }
        .home .slider .controls .next {
            display: inline-block;
            margin-left: calc(100% - 80px);
            cursor: pointer;
        }
    .common-hero h1 {
        padding-left: 15px;
    }
    .common-hero p {
        padding-left: 15px;
    }
    .distributors-grid {
        grid-template-columns: 1fr;
        margin-bottom: 15px;
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 22px;
    }
    .header ul li {
        margin-left: 35px;
    }
        .header ul li a {
            font-size: 18px;
        }
    .home .slider .slider-item h1 {
        font-size: 36px;
        line-height: 36px;
        margin-top: 40px;
        width: 100%;
        margin-bottom: 20px;
    }
    .product-box img {
        max-width: 150px;
    }
    .two-one-grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
    .common-hero h1 {
        font-size: 32px;
    }
    .common-hero p {
        font-size: 22px;
        line-height: 26px;
        width: 60%;
    }
    .two-one-grid.flipped {
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
    .distro-product-grid {
        grid-template-columns: 1fr;
    }
    .products .search-controls {
        margin-top: 10px;
    }
    .distro-product-grid {
        margin-top: 10px;
    }
}
@media (max-width: 767px) {

    .hamberder-icon {
        display: inline-block;
        float: right;
    }

    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.4s;
    }

    .change .bar1 {
        -webkit-transform: rotate(135deg) translate(7px, -8px);
        transform: rotate(135deg) translate(7px, -8px);
        background-color: #ed3023;
    }

    .change .bar2 {
        opacity: 0;
        margin-left: -200px;
        background-color: #ed3023;
    }

    .change .bar3 {
        -webkit-transform: rotate(-135deg) translate(7px, 8px);
        transform: rotate(-135deg) translate(7px, 8px);
        background-color: #ed3023;
    }
    nav {
        display: none;
    }
    .mobile nav {
        display: block;
    }
    .mobile nav ul {
        display: block;
        width: 100%;
        margin: 50px 0 0 0;
        padding: 0;
        align-items: initial;
    }
        .mobile nav ul li {
            width: 100%;
            text-align: left;
            margin-left: 20px;
            margin-bottom: 20px;
        }
    .two-one-grid {
        grid-template-columns: 100%;
        grid-gap: 0px;
    }
        .two-one-grid.flipped {
            grid-template-columns: 100%;
        }
}

@media (max-width: 550px) {
    h1 {
        font-size: 24px;
        font-weight: 400;
        margin-bottom: 15px;
    }
    .footer span {
        display: inline-block;
    }
    .home .slider {
        /*max-height: 250px;
        min-height: 250px;*/
    }
    .home .featured-products a.see-all {
        display: none;
    }
    .home .featured-products a.see-all-mobile {
        display: block;
        margin-top: 10px;
        text-align: right;
    }
    .home .slider .slider-item h1 {
        font-size: 28px;
        line-height: 28px;
    }
    .home .featured-products .featured-products-grid {
        grid-template-columns: 1fr;
        margin-top: 0px;
    }
    .product-box img {
        max-width: initial;
    }
    .home .home-about .about-home-grid {
        grid-template-columns: 1fr;
        grid-gap: 10px;       
    }
    .common-hero {
        min-height: 350px;
    }
    .common-hero h1 {
        font-size: 24px;
    }
    .common-hero p {
        font-size: 18px;
        line-height: 22px;
        width: 90%;
    }
    .grey-hero h1 {
        font-size: 26px;
        line-height: 28px;
    }
    .distributor .experts {
        margin-top: 15px;
    }

}
@media (max-width: 374px) {
    .person-box {
        grid-template-columns: 100%;
    }
}