/*
Theme Name: TotalBusiness Child
Theme URI: http://demo.goodlayers.com/totalbusiness
Description: Total Business Wordpress Theme
Author: Goodlayers
Author URI: http://www.goodlayers.com
Template: totalbusiness
Version: 1.21
License: 
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, yellow, two-columns, fluid-layout, custom-background, custom-colors, featured-images, theme-options
Text Domain: totalbusiness
*/


/* Element Style */
body{
    position: relative;
}

body.page {
    color: var(--main);
    background-color: var(--bg-main);
}

body.page.page-id-3 .main-content-container {
    color: var(--black);
}

figure{
    width: inherit;
    height: inherit;
}

/* Mixed Style */
.content-wrapper{
    background-color: var(--bg-main);
}

.body-wrapper.totalbusiness-boxed-style{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.totalbusiness-logo-wrapper{
    display: none;
    background: var(--main);
    height: 78px;
}

.totalbusiness-logo-inner{
    display: none;
}

/* Class Style */
.grid {
    display: grid;
    width: inherit;
}

.grid._3{
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
    grid-template-columns: 30% 40% 30%;
}

.grid.h-end{
    justify-items: end;
}

.grid .h-end {
    justify-self: end;
}

.grid .h-center {
    justify-self: center;
}

.grid .v-center {
    align-self: center;
}

.h-match{
    height: auto;
    width: 100%;
}

.v-match{
    height: 100%;
    width: auto;
}

/* ID Style */
#header-columns{
    height: 285px;
    overflow: hidden;
}

#header-columns.grid ._1,#header-columns.grid ._3{
    height: inherit;
}

#header-columns.grid ._2{
    background-color: var(--sub);
    padding: 15px;
}

#header-columns.grid ._2 .txt{
    line-height: 37px;
    margin-top: 15px;
    margin-bottom: 15px;
}
#header-columns.grid img{
   max-width: none;
}

#header-columns .title{
    font-size: 36px;
}

#header-columns .txt{
    font-size: 29px;
}

#header-columns .txt:last-of-type{
    margin-top: 5px;
}

#sidebar{
    position: absolute;
    width: 1561px;
    overflow: hidden;
    height: 100%;
}

#sidebar img{
    position: relative;
    float: right;
    width: 342px;
    height: auto;
    left: 0px;
}


/* Screen Style */
@media only screen and (max-width:1230px) {
    #sidebar {
        display: none;
    }


}

@media only screen and (max-width:1197px) {
    .h-match {
        width: auto;
        height: 100%;
    }
}

@media only screen and (max-width: 1010px){


    #header-columns .title{
    font-size: 23px;
    }

    #header-columns .txt{
        font-size: 19px;
    }

}
/*

@media only screen and (max-width: 1050px) {
    #header-columns .title{
        font-size: 30px;
    }

    #header-columns .txt{
        font-size: 24px;
    }
}
*/

 @media only screen and (max-width:  959px) {

     #header-columns{
         height: 225px;
     }

     #header-columns.grid ._2 .txt{
         line-height: unset;
     }

 }

@media only screen and (max-width:  767px) {

    .totalbusiness-logo-wrapper{
        display: block;
    }

    .grid._3{
        grid-template-columns: auto;
    }

    #header-columns.grid ._1, #header-columns.grid ._3{
        display: none;
    }
}