/*
 Theme Name:   TCC: GeneratePress Child Theme
 Theme URI:    https://generatepress.com
 Description:  Designed & Built by The Creative Collective
 Designer:     Arvind Sardar
 Designer URI: https://www.thecreativecollective.com.au
 Template:     generatepress
 Version:      0.1
*/

/* GLOBAL
--------------------------------------------*/
 :root {
    --brand1: #54565a;
    --brand2: #93d500;
    --light: #e0e0e0;
    --dark: #333;
}
body{
    overflow-x: hidden;
}
.section{padding: 40px 0;}
.site-content, .entry-header {
	word-wrap: normal !important;
}
.bg-brand1{background-color: var(--brand1);}
.bg-brand2{background-color: var(--brand2);}
.bg-dark{background-color: var(--dark);}
.bg-light{background-color: var(--light);}
.txt-brand1{color: var(--brand1);}
.txt-brand2{color: var(--brand2);}
.txt-dark{color: var(--dark);}
.txt-light{color: var(--light);}

.section{padding: 40px 0;}

/*gutenberg*/
.site-content .alignwide {
	margin-left  : -80px;
	margin-right : -80px;
}
.site-content .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	max-width    : 100vw;
}
.alignfull img {
	width: 100vw;
}

/*TYPOGRAPHY
--------------------------------------------*/
h1, h2, h3{
    color: var(--brand1);
}


/*HEADER
--------------------------------------------*/
#above-page-widgets.widget-area{
    text-align: right;
    border-bottom: 1px solid var(--brand1);
}
#above-page-widgets.widget-area .widget {
    padding: 0;
}
#above-page-widgets.widget-area span.phone{
    display: inline-block;
    background-color: var(--brand2);
    background-image: url(images/triangle-left-edge.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    padding: 12px 10px 12px 60px;
    margin-left: 30px;
}
#masthead{
}
.sticky-enabled .main-navigation.is_stuck{
	background-color: #fff;
}
.site-logo{
	max-width:120px;
}
.social-icon .fa{
    display: inline-block;
    margin-left: 8px;
    color: white;
}
a.soc-icon {
	width: 30px;
	height: 30px;
	background: var(--brand2);
	border-radius: 50%;
	display: inline-block;
	text-align: center;
	margin: 0 5px;
    color: white !important;
}
a.soc-icon:hover{
	opacity: 0.75;
}
.soc-icon .fa, .soc-icon .fab, .soc-icon .fal, .soc-icon .far, .soc-icon .fas {
	font-size: 1em;
	vertical-align: middle;
}
.soc-icon img{
	padding:4px;
}

/*NAVIGATION
--------------------------------------------*/
.main-navigation .main-nav ul li a {
    color: var(--brand1);
}
.main-navigation .main-nav ul li a:hover {
    color: var(--brand2);
}

/* Small MOBILE Devices  --------------------- */
	@media only screen and (max-width: 768px){
		.main-navigation .main-nav ul.sf-menu > li > a{
			line-height: 1.1;
			padding:10px 12px;
			background:#fff;
		}
		.both-sticky-menu .main-navigation:not(#mobile-header).toggled .main-nav > ul {
			border:solid 1px #000;
			-webkit-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.3);
			-moz-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.3);
			box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.3);		}
	}
/*----------------------------------------------*/

button.menu-toggle {
    background-color: transparent;
    width: 100%;
    border: 0;
    text-align: center;
    color: var(--brand1);
}

/*PAGE
--------------------------------------------*/
.page-banner{
    height: 35vh;
    background-position: center center;
    background-size: cover;
    margin-bottom: 35px;
}

/* LAPTOPS & Larger ------------------------- */
    @media only screen and (min-width: 1024px){
        .page-banner .grid-container{
            width: 100%;
        }
    }
/*----------------------------------------------*/


.page-banner h1.banner-title{
    text-align: left;
    color: white;
}
.front-page-heading h1{
    font-size:36px;
}
    /* MOBILES ************* */
    @media only screen and (max-width: 768px){
        .front-page-heading h1{
            font-size: 20px;
        }
    }
    /* /MOBILES ************* */




/*FOOTER
--------------------------------------------*/
.site-footer{
    background-color: var(--dark);
}
.site-footer .widget-title{
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 6px;
    text-transform: uppercase;
    font-size: 16px;
}
.site-footer li a{
    position: relative;
    display: inline-block;
}
.site-footer li a:hover{
    transform: translateY(1px);
    color: white;
}
footer.site-info{
    background:black;
}
/*SLIDER
--------------------------------------------*/
.tcc-slick-slide .tcc-slide{
    height: 70vh;
    display: -webkit-box !important;display: -ms-flexbox !important; display: flex !important;
    background-size: cover;
    background-position: center center;
    position: relative;
    z-index: 0;
}
.tcc-slick-slide .tcc-slide:before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
}
.tcc-slick-slide .tcc-slide .tcc-slide-content{
    position: relative;
    z-index: 2;
    display: -webkit-box;display: -ms-flexbox;display: flex;
    -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column;
    -webkit-box-pack: center;-ms-flex-pack: center; justify-content: center;
    -webkit-box-align: center;-ms-flex-align: center; align-items: center;
    width: 800px;
    max-width: 90%;
    margin: 0 auto;
}
.tcc-slick-slide .tcc-slide-title{
    font-size: 60px;
    margin-bottom: 20px;
    color: white;
    line-height: 1.1;
    font-weight: 200;
    text-align: center;
}

    /* MOBILES ************* */
    @media only screen and (max-width: 768px){
        .tcc-slick-slide .tcc-slide-title{
            font-size: 40px;
        }

    }
    /* /MOBILES ************* */


.tcc-slick-slide .tcc-slide-body{
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}
.tcc-slick-slide .tcc-slide-button{

}

/*SITEWIDE CTA
--------------------------------------------*/
.sitewide-cta{
    padding:30px 0;
    background-color: var(--brand2);
    text-align: center;
    color: white;
}
.sitewide-cta .button.big-button{
    background: var(--brand1) !important;
}
.sitewide-cta #gform_2{
    display: flex;display: -webkit-box;display: -ms-flexbox;
    justify-content: center;-webkit-box-pack: center;-ms-flex-pack: center;
}
/* Small MOBILE Devices  --------------------- */
    @media only screen and (max-width: 767px){
        .sitewide-cta #gform_2{
            display: block;
        }
    }
/*----------------------------------------------*/

.sitewide-cta #gform_2 .gform_heading{
    display: none;
}
.sitewide-cta .gf_simple_horizontal li.hidden_label input {
    padding: 8px !important;
    border:none;
    border-radius: 5px;
}

/*GRAVITY FORMS GLOBAL
--------------------------------------------*/
.gform_wrapper .gf_simple_horizontal li.hidden_label input{
    margin-top: 0;
}

/* BUTTONS
--------------------------------------------*/
.button{
  background-color: var(--brand2) !important;
  border: 1px solid var(--brand2) !important;
  text-transform:uppercase;
  font-size:18px;
  display:inline-block;
  line-height:1;
  padding: 12px 20px;
  border-radius: 5px;
  color: #fff;
}
.button-small{
	font-size:75%;
	padding:6px 10px;
}
.button:hover{
    background-color: var(--brand1) !important;
    border: 1px solid #fff !important;
    color:#fff;
}

/* TESTIMONIALS
--------------------------------------------*/
.tcc-testimonials .item{
    padding:2vw 7vw 2vw 2vw;
}
.tcc-testimonials .title{
    font-size:18px;
    font-weight:600;
}
.tcc-testimonials .body{
    font-size:14px;
}
.tcc-testimonials .author{
    font-size:14px;
    font-weight:600;
}

/* RECENT POSTS GRID
--------------------------------------------*/
.posts-grid .post-content{
    text-align: center;
    background-clip: content-box !important;
}
.posts-grid .post-content:before,
.posts-grid .post-content:after{
    content: "";
    display: block;
    padding-top: 20%;
}
.posts-grid h4{
    color: white;
    font-weight: bold;
    font-size: 32px;
}