/*
Theme Name: Bristlecone Child
Description: 
Theme URI:   https://www.bcone.com/
Author: Talkd
Author URI:  https://talkd.co
Template: Bristlecone
Version: 1.0
*/



.colorfade:hover img {
	-webkit-filter: grayscale(0);
	-webkit-transition: all .3s ease-in-out;
}
.hide {
    display: none;
}
.loadMoreBtn {
    background-color: #42aabd;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    box-sizing: border-box;
    width: 200px;
    display: block;
    border-radius: 3px;
    margin: 0 auto;
    cursor: pointer;
    transition: opacity .45s cubic-bezier(0.25, 1, 0.33, 1), transform .45s cubic-bezier(0.25, 1, 0.33, 1), border-color .45s cubic-bezier(0.25, 1, 0.33, 1), color .45s cubic-bezier(0.25, 1, 0.33, 1), background-color .45s cubic-bezier(0.25, 1, 0.33, 1), box-shadow .45s cubic-bezier(0.25, 1, 0.33, 1);
}
.loadMoreBtn:hover {
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16) !important;
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
}
#popupSearch {
	position: fixed;
	visibility: hidden;
	height: 200px;
	background-color: #353535;
	color: #ffffff;
	width: 100%;
	z-index: 110;
	top: -200px;
	text-align: center;
	box-sizing: border-box;
	padding: 40px;
	transition: all .4s ease;
	-moz-transition: all .4s ease;
	-webkit-transition: all .4s ease;
	-o-transition: all .4s ease;
}
#popupSearch h2 {
	margin: 0px;
	padding: 0px;
	font-weight: normal;
}
#popupSearch #searchWrap {
	width: 90%;
	display: block;
	margin: 0 auto;
	height: 80px;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
}
#popupSearch input {
	width: 90%;
	height: 80px;
	box-sizing: border-box;
	font-size: 18px;
	border: 0px;
	padding-left: 15px;
	padding-top: 3px;
	float: left;
	border-radius: 3px 0px 0px 3px;
	background-color: #ffffff;
}
#popupSearch #searchBtn2 {
	background-color: #42aabd;
	width: 10%;
	height: 80px;
	border-radius: 0px 3px 3px 0px;
	color: #ffffff;
	text-align: center;
	line-height: 80px;
	float: right;
	cursor: pointer;
	font-size: 24px;
	transition: all .4s ease;
	-moz-transition: all .4s ease;
	-webkit-transition: all .4s ease;
	-o-transition: all .4s ease;
}
#popupSearch #searchBtn2:hover {
	background-color: #85eb00;
}
#popupSearch #closeSearch {
	position: absolute;
	top: -50px;
	right: 0px;
	color: #ffffff;
	cursor: pointer;
	font-size: 25px;
}

.custom_recent {
    margin-bottom: 50px !important;
}
.custom_recent .slick-dots li  {
    margin: 0px;
}

.custom_recent .slick-dots li.slick-active button::before  {
    color: #42aabd !important;
    transform: scale(1.80);
    opacity: 1;
}
.custom_recent .custom_post {
    position: relative;
    text-align: left;
    padding: 16px;
}

.custom_recent .custom_post .term-link {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 11;
    color: #ffffff;
    text-transform: uppercase;
    padding: 0 10px;
    display: inline-block;
    line-height: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    border: solid 2px rgba(255,255,255,0.5);
    transition: all 0.2s ease;
    border-radius: 5px;
    width: auto;
    height: auto;
}
.custom_recent .custom_post .term-link:hover {
    border-color: transparent;
    background-color: #42aabd;
}
.custom_recent .custom_post .inner_wrap {
    box-shadow: 0px 1px 3px rgba(0,0,0,.08);
}
.custom_recent .custom_post .content_wrap {
    padding: 20px;
    background-color: #EFEFEF;
    height: 260px;
}
.custom_recent .custom_post .excerpt_wrap {
    font-size: 16px;
    line-height: 26px;
}
.custom_recent .custom_post .title_wrap {
    margin-bottom: 12px;
}
.custom_recent .custom_post .title_wrap h3 {
    font-size: 20px;
    line-height: 27px;
    font-weight: 700;
}
.custom_recent .custom_post .img_wrap {
    overflow: hidden;
    height: 190px;
}
.custom_recent .custom_post .img_wrap img {
    transition: all .7s cubic-bezier(.2,1,.22,1);
}
.custom_recent .custom_post a {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
}
.custom_recent .custom_post:hover .img_wrap img {
    transform: scale(1.07);
}
.custom_recent .slick-prev,
.custom_recent .slick-next {
    width: 24px;
    height: 24px;
    transition: all .7s cubic-bezier(.2,1,.22,1);
}
.custom_recent .slick-prev:hover,
.custom_recent .slick-next:hover {
    opacity: 0.5;
}
.custom_recent .slick-prev.slick-disabled,
.custom_recent .slick-next.slick-disabled {
    opacity: 0.1;
}
#header-outer nav > ul > .megamenu.nectar-megamenu-menu-item.width-75 > ul {
    width: auto !important;
} 

@media (max-width: 1350px) {
    .custom_recent .custom_post .img_wrap {
        height: 170px;
    }
    .custom_recent .custom_post .content_wrap {
        height:350px;
    }
}


@media (max-width: 1140px) {
    .custom_recent .custom_post .img_wrap {
        height: 233px;
    }
}

@media (max-width: 690px) {
    .custom_recent .custom_post .img_wrap {
        height: 200px;
    }
    .custom_recent .custom_post .content_wrap {
        height:400px;
    }
}

@media (max-width: 479px) {
    .custom_recent .custom_post .img_wrap {
        height: 148px;
    }
}
