/*
Theme Name: Fernhill Landscapes
Theme URI: http://infigo.pl/
Author: Infigo
Author URI: http://infigo.pl
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infigo
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Themway is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

This file should be left as is and only be used for quick fixes when absolutely necessary (paste in below the import). All CSS/SASS goes in assets/scss/style.scss or assets/scss/partials/_partial_name.scss

*/
@import 'assets/css/style.css';





/* Header updates for project pages and blog pages */


.page-template-page-projects-new .header{
	color:#2c231a;
	}

.page-template-page-projects-new .header .nav-toggle span {
	background: #2c231a;
}



.page-template-page-projects-new .section-cover {
    padding-top: 84px;
 }

@media(min-width:992px){
.page-template-page-projects-new .section-cover {
    padding-top: 175px;
    }
 }
    
    
.blog .header{
	color:#2c231a;
	border-bottom: 1px solid #e2ded9;
	}

.blog .header .nav-toggle span {
	background: #2c231a;
}   


.single-post .header{
	color:#2c231a;
	border-bottom: 1px solid #e2ded9;
	}

.single-post .header .nav-toggle span {
	background: #2c231a;
} 



/* Blog pages - Insights */



.blog .blog-image-container{
	background-size: cover !important;
	background-position: center center !important;
	height: 500px; 
}

.blog .blog-title{
	color: #2c231a;
    font-family: "Maison Neue",sans-serif;
    font-weight: 400;
    line-height: 35px;
    font-size: 29px;
    letter-spacing: 2px;
    text-align: center;
}

.blog .blog-title:hover{
	color: #bb8e63;
}

.blog-data{
	text-align: center;	
	padding: 0;
}

@media(min-width:1024px){
  .blog-data{
	  padding: 0 80px;
	  }
}

.blog-date{
	color: #2c231a;
    font-family: "Maison Neue",sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    display: block;
    margin-bottom: 20px;
    margin-top: 30px;
    text-transform: uppercase;
}
	

.blog h1.main-blog-title{
	text-align: center;
	font-size: 2.7rem;
	margin: 100px 0;
}

.blog .section-insights {
    padding-top: 84px;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
 }

@media(min-width:992px){
.blog .section-insights {
    padding-top: 175px;
    }
 }

.section-insights .col-md-6{
 	padding-left: 20px !important;
    padding-right: 20px !important;
    margin-bottom: 60px;
}

@media(min-width:576px){
  .section-insights .col-md-6{
 	padding-left: 40px !important;
    padding-right: 40px !important;
    margin-bottom: 60px;
   }
}





/* Single blog pages */


.single-post h1{
	color: #2c231a;
    font-family: "Maison Neue",sans-serif;
    font-weight: 400;
    line-height: 65px;
    font-size: 55px;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0;
}

.single-post .date, .name{
	color: #bb8e63;
    font-family: "Maison Neue",sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

.single-post .author-date{
	text-align: center;
}

.post-title{
	margin-bottom: 45px;
}

.post-text{
	padding-top: 30px;
	padding-bottom: 10px;
}

@media(min-width:576px){
.post-text{
	padding-top: 90px;
	padding-bottom: 60px;
}
}

.post-text p{
	padding-bottom: 30px;
}

.single-post .share-icons{
	text-align: center;
	border-top: 1px solid #e2ded9;
	padding-top: 30px;
}

.single-post .share-icons li{
	display: inline-block;
	list-style: none;
	text-align: center;
	text-transform: uppercase;
	margin-right: 20px;
	color: #4f4f4f;
}



/* Blog pagination */



.insights-pagination{
	margin-top: 30px;
}

.insights-pagination li{
	list-style: none;
    display: inline-block;
    line-height: normal;
    margin-right: 5px;
    text-align: center;
	
}

.insights-pagination li a{
	padding: 10px 15px;
	display: block;
	font-weight: bold;
	border: 1px solid #ccc;
	
}

.insights-pagination li a:hover{
	background:#e5e5e5;
}

.insights-pagination .page-numbers .current{
	border-bottom: 1px solid #ccc;
	padding: 10px 15px;
	display: block;
}

.misha_loadmore {
    margin: 0 auto;
    display: table;
    min-width: 300px;
    background-color: #262e2b;
    color: #fff;
}

.misha_loadmore::before {
    display: none;
}

.misha_loadmore:hover {
    background-color: #2c231a;
    color: white;

}


/* Overides */

.media-item .media-content .media-title{
	line-height: normal;
	
}

.media-item .media-content .media-sep{
	margin-bottom: 5px;
}

@media(max-width:1199px){
	.section.section-title{
		height: 510px;
	}
}

.bg-secondary{
	background-color: transparent !important;
}

.section.section-shaded .section-carousel .bg-image-container:after{
	display:none;
}

.section.section-shaded .section-carousel .bg-image-container:before{
	display:none;
}



/* Insighst Image hover overrides */


.section-insights .media-item:hover .media-image {
	transform: none;
	overflow: hidden;
}


.section-insights .media-image img{
    display: block;
    -webkit-transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 100%;
    }

.section-insights .media-item:hover .media-image img{
	-webkit-transform: scale(1.1);
    transform: scale(1.1);
} 

.section-insights .media-item .media-image {
    overflow: hidden;
    position: relative;
}


.section-insights .media-image:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: .8em;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    color: #fff;
    content: 'View Post';
    display: block;
    height: 20px;
    margin: auto;
    text-align: center;
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
    -webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 1;
}

.section-insights .media-item:hover .media-image:before {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


.section-insights .media-item .media-image:after {
    background: #000;
    background: rgba(0,0,0,0.5);
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    transition: all 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}


.section-insights .media-item:hover .media-image:after {
    opacity: 1;
    visibility: visible;
}



.section-insights .media-item {
    height: auto;
    flex-direction: column;
}

.section-insights .media-item .blog-title {
    -webkit-transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    transition: color 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.section-insights .media-item:hover .blog-title {
    color: #bb8e63;
}

.wpcf7-not-valid-tip, .wpcf7-validation-errors {
	color: #bc8e60 !important;
}


/* Primary Menu adjustments */



@media (min-width: 1440px){
	.nav-primary li:not(:last-child) {
	   margin-right: 2rem;
	}
}

@media (min-width: 1600px){
	.nav-primary li:not(:last-child) {
	   margin-right: 3rem;
	}
}

@media (max-width: 1080px){
	.nav-primary li:not(:last-child) {
	   margin-right: 1rem;
	}
}

/* Slick slider */

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.slick-slide > div {
    height: 100%;
}

.slick-slide .section-carousel-item,
.slick-slide .row-carousel-item,
.slick-slide .row-carousel-item .row {
    height: 100%;
}

.slick-slide .row-carousel-item .text-center {
    display: flex;
    align-items: center;
}

.slick-slide .row-carousel-item .text-center h2 {
    margin-bottom: 0;
}