/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/*----------NAV----------*/

.sfm-logo img {
    max-width: 70% !important;
}

ul#menu-main, .x-btn-navbar, .x-btn-navbar.collapsed {
    display: none !important;
}

.x-navbar {
    position: absolute;
    width: 100%;
    margin-top: 0;
}

.home .x-brand img {
    width: 360px !important;
}

/*----------FONTS----------*/

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "korolev",sans-serif !important;
    font-weight: 500 !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
}

h6, .h6 {
    text-transform: lowercase !important;
    color: #000000 !important;
    font-size: 150% !important;
    
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, .h1 strong, .h2 strong, .h3 strong, .h4 strong, .h5 strong {
    font-weight: 900 !important;
}

hr.x-hr {
    margin: 1.1em 0 !important;
}

img.line {
    padding: 20px 0 !important;
    margin-bottom: 15px !important;
}

.h-custom-headline.accent span:before, .h-custom-headline.accent span:after {
    background-color: #000 !important;
}

body a {
    font-weight: 900 !important;
}

/*----------BUTTONS----------*/

.x-btn, .button, [type="submit"] {
    font-weight: 900 !important;
    font-size: 20px !important;
    font-family: "korolev",sans-serif !important;
    padding: 0 0 25px 0 !important;
    text-transform: lowercase !important;
}

.x-btn:after, .button:after, [type="submit"]:after {
    content: url('/wp-content/uploads/2017/05/Tick-1.png');
    position: relative;
    top: -4px;
    left: 15px;
    transition: all 0.15s ease-out;
}

.x-btn:hover:after, .button:hover:after, [type="submit"]:hover:after {
    left: 35px;
}

/*----------GENERAL----------*/

.home .banner .x-video.bg {
    opacity: .95 !important;
}

.gen-header {
    background-image: url('/wp-content/uploads/2017/05/InteriorBanner.jpg');
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    border-bottom: 1px solid #eee;
}

.overlay {
    padding-top: 20vh !important;
}

.banner {
    height: 100vh !important;
}

.interior-banner {
    height: 50vh !important;
}

.interior-banner.overlay {
    background-color: rgba(255,255,255,.6) !important;
}

.banner .playbutton {
    width: 100px !important;
    margin-bottom: 0 !important;
}

.banner .title {
    width: 500px !important;
}

.image-block {
    margin-bottom: 0 !important;
    width: 100% !important;
}

.text-block {
    padding: 6% 6% 5% !important;
}

a.playit img {
    position: absolute;
}

.x-header-landmark {
    padding: 30px 0 45px !important;
    height: 50vh !important;
    background-image: url('/wp-content/uploads/2017/05/InteriorBanner.jpg');
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}

.single-post .x-header-landmark {
    display: none !important;
}

.single-post header.entry-header {
    display: none !important;
}

.x-header-landmark .x-landmark h1.h-landmark {
    padding-top: 24vh !important;
    font-weight: 900 !important;
    letter-spacing: .0em !important;
}

.x-header-landmark .x-landmark h1.h-landmark:after {
    content: url('/wp-content/uploads/2017/05/Line.jpg');
    display: -webkit-box;
    margin-top: -10px;
}

.x-header-landmark .x-breadcrumbs-wrap {
    padding-top: 40vh;
}

.single .entry-featured {
    display: none !important;
}

.single-x-portfolio .x-header-landmark {
    display: none !important;
}

.single-x-portfolio .entry-header {
    display: none !important;
}

/*----------GRID----------*/

#grid-102 .tg-item-overlay {
    background-color: transparent !important;
}

#grid-191 .tg-item-date {
    display: none !important;
}

#grid-191 .tg-cats-holder::before {
    content: none !important;
}

#grid-102 .tg-ctas .tg-element-1, #grid-102 .tg-ctas-2 .tg-element-1 {
    font-size: 35px !important;
    line-height: 40px !important;
    font-weight: 900 !important;
    letter-spacing: .03em;
}

#grid-140 a.portfolio-category, #grid-184 a.portfolio-category {
    font-size: 16px !important;
}

#grid-140 a.portfolio-category:hover, #grid-184 a.portfolio-category:hover {
    color: #ce001c !important;
}

#grid-140 div.tg-element-2, #grid-184 div.tg-element-2 {
    font-size: 18px !important;
    font-family: "korolev",sans-serif !important;
    text-transform: lowercase !important;
    letter-spacing: .03em !important;
}

body #grid-191 .maren .tg-item-title a {
    text-transform: lowercase !important;
    font-family: "korolev",sans-serif !important;
    font-size: 22px !important;
    line-height: 28px !important;
}

body #grid-191 .maren .tg-item-read-more {
    text-transform: lowercase !important;
    font-family: "korolev",sans-serif !important;
    font-size: 18px !important;
}

body #grid-191 .maren .tg-item-read-more a {
    transition: all 0.15s ease-out;
    font-size: 16px !important;
}

body #grid-191 .maren .tg-item-read-more a:hover {
    color: #ce001c !important;
}

#grid-191 .tg-item-footer {
    display: none !important;
}

#grid-191 .maren .tg-item-read-more a:hover i {
    padding: 0 0 0 20px !important;
}

/*----------FORMS----------*/

body .gform_wrapper .top_label .gfield_label, body .gform_wrapper .ginput_complex label {
    display: none !important;
}

body .gform_wrapper #gform_3 .top_label #field_3_3 .gfield_label {
    display: inherit !important;
}

body .gform_wrapper input[type=text] {
    height: 2.5em !important;
    font-size: 16px !important;
    border: none !important;
}

body.home .gform_wrapper #gform_1 input[type=text], body.home .gform_wrapper #gform_1 textarea {
    background-color: rgb(242, 242, 242) !important;
}

body .gform_wrapper .top_label textarea.textarea {
    font-size: 16px !important;
    border: none !important;
}

.gform_wrapper .gform_footer input[type=submit]:after {
    content: url('/wp-content/uploads/2017/05/Tick-1.png');
    position: relative;
    top: -4px;
    left: 15px;
    transition: all 0.15s ease-out;
}

.gform_wrapper .gform_footer input[type=submit]:hover:after {
    left: 35px;
}

#gform_wrapper_2.gform_wrapper input[type=text], #gform_wrapper_2.gform_wrapper .top_label textarea.textarea {
    border: 2px solid rgba(0,0,0,.2) !important;
}

/*----------FOOTER----------*/

footer p.foot-left {
    float: left !important;
    font-size: 14px;
    font-weight: 300 !important;
}

footer.x-colophon.bottom {
    padding: 4px 0 !important;
}

footer div.social-right {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 22px 65px 18px 25px;
    background-color: #000 !important;
    height: 79px;
}

footer div.social-right a img {
    width: 38px !important;
    padding: 0 4px;
}

footer div.social-right a:hover img {
    opacity: .6 !important;
}

/*----------RESPONSIVE----------*/

@media only screen and (max-width: 1160px) {
    
    .team .x-column.x-sm {
        width: 100% !important;
    }
    
}

@media only screen and (max-width: 800px) {
    
    .team h2, .team .x-text, .team .x-btn {
        margin-left: 20px !important;
    }
    
    .team .x-1-2 img.x-img.left.x-img-none {
        width: 80% !important;
    }
    
    body .sfm-navicon-button {
        right: 0 !important;
    }
    
    .banner {
        height: 90vh !important;
    }
    
    .home .x-brand img {
        width: 260px !important;
    }
    
    .banner .h2 {
        font-size: 170% !important;
    }
    
    .banner .h1 {
        font-size: 240% !important;
    }
    
    .banner .playbutton {
        width: 75px !important;
        position: relative;
        top: -15px !important;
    }
    
    .x-header-landmark .x-landmark h1.h-landmark:after {
        display: none !important;
    }
    
    body.home h1.visually-hidden {
        left: 130px !important;
        font-size: 150% !important;
        width: 180px !important;
    }
    
}

@media (max-width: 767px) {

    .cofounders .x-column.x-sm.x-1-3 {
        width: 39% !important;
        display: inline-block !important;
        vertical-align: top !important;
    }
    
    .cofounders .x-column.x-sm.x-2-3 {
        width: 60% !important;
        display: inline-block !important;
        vertical-align: top !important;
    }

}

@media only screen and (max-width: 700px) {
    
    footer div.social-right {
        position: inherit !important;
        width: 100% !important;
        padding: 18px 20px !important;
        text-align: center !important;
        height: inherit !important;
    }
    
    .banner .h2 {
        font-size: 150% !important;
    }
    
    .banner .h1 {
        font-size: 220% !important;
    }
    
    footer .x-container.width {
        width: 100% !important;
    }
    
    footer p.foot-left {
        float: none !important;
        text-align: center !important;
        font-size: 12px !important;
        padding: 0 10px;
    }
    
    footer.x-colophon.bottom .x-colophon-content {
        margin: 20px 0 0 !important;
    }
    
    footer.x-colophon.bottom {
        padding: 0 !important;
    }
    
    footer div.social-right a img {
        padding: 0 8px;
    }
    
}

@media only screen and (max-width: 640px) {
    
    .banner .h2 {
        font-size: 125% !important;
    }
    
    .banner .h1 {
        font-size: 180% !important;
    }
    
}

@media only screen and (max-width: 565px) {
    
    .cofounders .x-column.x-sm.x-1-3, .cofounders .x-column.x-sm.x-2-3 {
        width: 100% !important;
        display: inherit !important;
        vertical-align: top !important;
    }
    
    .cofounders .x-column.x-sm.x-1-3 img {
        width: 70% !important;
    }
    
}

@media only screen and (max-width: 525px) {
    
    .banner .title {
        width: inherit !important;
    }
    
}

@media only screen and (max-width: 480px) {
    
    .cofounders .x-column.x-sm.x-1-3 img {
        width: 100% !important;
    }
    
    .team .x-1-2 img.x-img.left.x-img-none {
        width: 100% !important;
    }
    
}











