/*
Theme Name: Slate URI
Text Domain: slate-uri
Version: 1.6.1
Description: Slate URI - Parent
Author: Em4B
*//* Header */
.primary-header-inner > .flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-col {
    flex: 1 0 auto;
}
.logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img {
    margin-top: 0;
}
.navbar {
    display: flex;
    align-items: center;
}
.navbar-nav {
    padding-left: 0;
    float: none;
    display: flex;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: #fff;
}
.navbar-default .dropdown-menu > li > a:hover, .navbar-default .dropdown-menu > li > a:focus {
    color: #fff;
}

/* Home */
.list-feature {
    background-color: #dedede;
    margin-bottom: -1px;
    padding: 50px 0;
}
.list-feature-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.list-heading {
    flex-basis: 33.334%;
    font-size: 30px;
}
.list-heading span {
    font-weight: 700;
}
.list-content {
    flex-basis: 66.667%;
    display: flex;
    justify-content: flex-end;
}
.list-content ul {
    column-count: 2;
    column-gap: 20px;
    list-style-position: inside;
}
.icon-feature {
    text-align: center;
    padding: 50px 0 30px;
    background-color: #f1f1f1;
    margin-bottom: -1px;
}
.icon-feature .heading {
    font-size: 38px;
    font-weight: 400;
    border-bottom: none;
    position: relative;
}
.icon-feature .heading:after {
    content: '';
    position: absolute;
    top: calc(1em + 18px);
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 2px;
}
.icon-feature .sub-heading {
    font-size: 18px;
    margin-top: 30px;
}
.icon-feature .icons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.icon-feature .icon-wrapper {
    flex-basis: 25%;
}
.icon-feature .icon-wrapper-inner {
    padding: 25px;
    position: relative;
}
.icon-feature .icon-wrapper-inner:after {
    content: '';
    position: absolute;
    top: calc(50% + 5px);
    left: 50%;
    transform: translate(-50%, calc(50% + 5px));
    width: 50px;
    height: 2px;
    background-color: #000;
}
.icon-feature .icon {
    position: relative;
    font-size: 42px;
}
.icon-feature .text {
    margin-top: 70px;
    font-weight: 700;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}
.testimonials-section {
    background: #dedede;
    text-align: center;
    margin-bottom: -1px;
    padding: 50px 0 30px;
}
.testimonials-section h2 {
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 30px;
    display: inline-block;
    padding: 0 15px 5px;
}
.testimonials-section .fa-star {
    padding-right: 5px;
}
.testimonials-section .carousel-inner {
    padding: 0;
}
.testimonials-section .testimonial-content {
    margin-top: 20px;
}

/* About */
#about-section {
    padding: 50px 0 20px;
}
.main-inner ul {
    line-height: 1.75;
    margin-top: 10px;
    display: block;
}
.main-inner p + ul {
    margin-top: 0;
}
body.page-template-page-about .main-inner ul {
    column-count: 2;
}
body.page-template-page-services .main-inner ul {
    column-count: 2;
}
.feature-boxes {
    padding: 50px 0 0;
}
.feature-boxes-inner {
    display: flex;
    flex-wrap: wrap;
}
.feature-box {
    flex-basis: 33%;
    margin-bottom: 15px;
}
.feature-box:nth-child(3n+2) .feature-box-inner {
    padding: 0 30px;
}

/* Services */
.service img {
    max-width: 225px;
}
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service {
    flex-basis: 50%;
    display: flex;
}
.service:nth-child(even) {
    padding-left: 15px;
}
.service:nth-child(odd):not(:last-of-type) {
    padding-right: 15px;
}
.service:nth-child(odd):last-of-type {
    flex-basis: 100%;
}
.service .panel {
    width: 100%;
}

/* Contact */
.map iframe {
    border: none;
}
@media screen and (max-width: 1199px) {
    .list-heading {
        font-size: 28px;
    }
}

/* Footer */
#contact-info {
    background-color: #f1f1f1;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}
.footer-row h2 {
    font-size: 20px;
}
.footer-row .footer-form {
    flex-basis: 75%;
}
.footer-row .footer-info {
    flex-grow: 1;
}
.footer-row .footer-info-inner {
    padding-right: 30px;
}

/* Brands Page */
.brands-section {
    background-color: #f1f1f1;
}
.brands-section .brands-nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
    align-items: center;
}
.brands-section .brands-nav .brand {
    flex: 0 1 165px;
    margin-bottom: 20px;
    position: relative;
}
.brands-section .brands .brand {
    padding: 40px 0;
    border-top: 2px solid;
}
.brands-section .brands .brand .brand-row {
    display: flex;
}
.brands-section .brands .brand .image-col {
    flex: 1 0 40%;
    margin-right: 50px;
}
.brands-section .brands .brand .back-to-nav {
    text-align: center;
}
.brands-section .brands-nav .brand:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    opacity: 0;
    transition: all ease .5s;
    z-index: 0;
    pointer-events: none;
}
.brands-section .brands-nav .brand:hover:after {
    opacity: 1;
}
.brands-section .brands-nav .brand:hover .heading {
    opacity: 1;
}
.brands-section .brands-nav .brand .heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all ease .5s;
    z-index: 1;
    font-size: 20px;
    color: #fff;
    padding: 5px;
    text-shadow: 2px 2px 4px #000;
    text-align: center;
}


.sidelogo {max-width: 193px;margin-bottom: 15px;}
.feature-img {max-height:400px; }
#products-wrap .product-sections:nth-child(1) > .brands-section:nth-child(1) .brands:nth-child(1) .brand:nth-child(1){border-top: 0 !important;}

.left-content .heading {text-align: center; font-weight: bold;}


/* MEDIA QUERIES */
@media screen and (max-width: 991px) {
    .nav-col {
        flex: 0 1 0;
    }
    .navbar {
        display: none;
    }
    .nav-toggler {
        padding: 0;
        height: 1em;
    }
    .nav-toggler span {
        font-size: 16px;
        top: 0;
    }
    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a {
        padding: 15px 10px 8px;
    }
    .navbar .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    #primary-header {
        padding-top: 20px;
        text-align: center;
    }
    .primary-header-inner > .row {
        flex-direction: column;
    }
    .feature-box {
        flex-basis: 50%;
    }
    .feature-box:nth-child(odd) .feature-box-inner {
        padding: 0 30px 0 0px;
    }
    .feature-box:nth-child(even) .feature-box-inner {
        padding: 0;
    }
    .footer-row .footer-form {
        flex-basis: 65%;
    }
}
@media screen and (max-width: 767px) {
    .list-feature-inner {
        flex-direction: column;
    }
    .list-content ul {
        column-count: 1;
    }
    .list-heading {
        max-width: 320px;
        margin-bottom: 10px;
    }
    .icon-feature .icon-wrapper {
        flex-basis: 100%;
    }
    .icon-feature .heading:after {
        display: none;
    }
    .testimonials-section h2, .icon-feature .heading {
        font-size: 24px;
    }
    body.page-template-page-about .main-inner ul {
        column-count: 1;
    }
    body.page-template-page-services .main-inner ul {
        column-count: 1;
    }
    .services {
        flex-direction: column;
    }
    #services-section .service {
        flex-basis: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    .feature-box {
        flex-basis: 100%;
    }
    .feature-box:nth-child(n) .feature-box-inner {
        padding: 0;
    }
    .footer-row {
        flex-direction: column;
        text-align: center;
    }
    .footer-row .footer-form {
        margin-top: 20px;
    }
	.brands-section .brands .brand .brand-row {
		flex-wrap: wrap;
	}
	.brands-section .brands .brand .image-col {
		flex-basis: 100%;
		margin-right: 0;
		order: 2;
	}
}

/* Comfort Embed */
.comfort-embed {
    margin-left: -15px;
    margin-right: -15px;
    text-align: center;
}
.comfort-embed iframe {
    width: 100%;
    height: 930px;
    border: none;
    max-width: 750px;
}
@media screen and (max-width: 767px) {
    #header {
        padding-bottom: 10px;
    }
    .comfort-embed iframe {
        height: 1000px;
    }
    body.page-template-page-about .main-inner ul {
        column-count: 1;
    }
}
@media screen and (max-width: 567px) {
    .comfort-embed iframe {
        height: 1140px;
    }
}
@media screen and (max-width: 467px) {
    .comfort-embed iframe {
        height: 1310px;
    }
}
@media screen and (max-width: 420px) {
    .comfort-embed iframe {
        height: 1405px;
    }
}
