/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.1
*/

@font-face {
	font-family : 'TheSans B6SemiBold';
	src : url('./assets/fonts/thesans/TheSans-B6SemiBold.otf') format('opentype');
}

@font-face{
	font-family: 'TheSansB4 SemiLight';
	src : url('./assets/fonts/thesans/TheSans-B4-SemiLight.ttf') format('truetype');
}

body, h1, h2, h3, h4, h5, h6{
	font-family : 'TheSansB4 SemiLight' !important;
}

.main-heading *{
	font-family : 'TheSansB4 SemiLight' !important;
	color:#315470 !important;
}

.main-heading h2{
	font-family : 'TheSans B6SemiBold' !important;
}

.main-heading p strong{
	font-family: 'TheSans B6SemiBold' !important;
}

.main-heading .text-with-icon{
	margin-bottom: 5px !important;
	margin-top: 5px !important;
	margin-left: 30px;
}

.h2-heading .text-with-icon{
	margin-left: 0px !important;
}

.main-heading .text-with-icon a{
	font-size:14px !important;
	line-height: normal !important;
	vertical-align: middle;
}

.main-heading .text-with-icon img{
	vertical-align: middle;
	margin-bottom: 0px !important;
	display: inline-block;
}

.mortgages-list .text-with-icon img, .protection-list .text-with-icon img, .team-box .text-with-icon img{
	width: 40px !important;
}

.footer-text-with-icon img{
	width:25px !important;
	margin-bottom: 0px !important;
}

.main-heading .text-with-icon p, .main-heading .text-with-icon h2{
	display: inline-block;
}

.main-heading .text-with-icon p{
	margin-right: 10px;
}

.main-heading .text-with-icon p img{
	width:130px;
	height:130px;
}

.main-heading h3{
	color:#5ba3b3 !important;
}

.small-p p{
	font-size:15px !important;
	line-height: 20px !important;
}

.greeny h2{
	color:rgb(183, 219, 87) !important;
	font-family : 'TheSans B6SemiBold' !important;
}

.redish h2{
	font-family : 'TheSans B6SemiBold' !important;
	color: rgb(204, 161, 166) !important;
}

.bluish h2{
	font-family : 'TheSans B6SemiBold' !important;
	color:rgb(92, 163, 179) !important;
}

header#top nav >ul >li >a, header#top .sf-menu li ul li a{
	font-size:17px !important;
	font-family : 'TheSansB4 SemiLight' !important;
}

header#top .sf-menu li ul li a{
	padding:20px !important;
}

body[data-dropdown-style="minimal"] .sf-menu >li ul{
	padding:0px !important;
}

#header-outer[data-format="centered-menu-under-logo"] header#top .span_9 nav >ul >li:not(#social-in-menu):not(#search-btn):not(.slide-out-widget-area-toggle) >a{
	padding-top: 20px !important;
}

.mortgages-list, .protection-list{
	list-style-position: outside;
}

.mortgages-list li{
	list-style-image: url('./assets/images/green-house-medium.png');
}

.mortgages-list li, .protection-list li{
	margin-bottom: 10px;
}

.protection-list li{
	list-style-image: url('./assets/images/pink-house-medium.png');
}

/*.mortgages-list li::before{
	content : " ";
	padding-right: 5px;
	background:url('./assets/images/green-house-medium.png') no-repeat 0 0 transparent;
	width:32px;
	height:24px;
	display: inline-block;
	background-size: cover;
}*/

/*.protection-list li::before{
	content : " ";
	padding-right: 5px;
	background:url('./assets/images/pink-house-medium.png') no-repeat 0 0 transparent;
	width:32px;
	height:24px;
	display: inline-block;
	background-size: cover;
}
*/
.team-box{
	-webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
    transition: all 0.1s ease;
    padding-top:25px !important; 
    padding-bottom: 25px !important;
    border:1px solid transparent;
}

/*.team-box.main-heading:hover{
	background-color:#315470 !important;
	border:1px solid #315470 !important;
	color:#fff !important; 
}*/

/*.team-box.main-heading:hover * {
	color:#fff !important; 
}*/

.info-box p{
	font-size:14px;
	color:#9d9ca6 !important;
	line-height: normal;
	font-family : 'TheSans B6SemiBold' !important;
	padding-left: 45px;
}

.info-box a{
	color:#9d9ca6 !important;
	font-family : 'TheSans B6SemiBold' !important;
}

.info-box h3{
	position: relative;
	font-size:17px;
	color:#315470 !important;
	font-family : 'TheSans B6SemiBold' !important;
}

.info-box h3::after{
	content:"";
	position: absolute;
	height:3px;
	width:80%;
	background-color:#315470;
	left:0;
	bottom:-3px;
}

.wpcf7-acceptance .wpcf7-list-item{
	margin-left: 0px !important;
}

.wpcf7-submit{
	font-family : 'TheSans B6SemiBold' !important;
	text-transform: uppercase;
	font-size: 17px !important;
	border-radius: 0px !important;
}

.wpcf7-acceptance .wpcf7-list-item-label {
	font-family : 'TheSans B6SemiBold' !important;
	font-size:14px !important;
}

#fbuilder .dfield input{
	background-color: #fff;
}

/**
* For Blog
**/

.blog-recent .meta, .blog-recent .format-standard .excerpt{
	display: none !important;
}

.home .blog-recent .col .post-header{
	display: inline-block;
	margin-bottom: 0px !important;
}

.home .blog-recent .col span{
	position: absolute !important;
	top: 25px !important;
	right: 25px !important;
}

.category-equity-release{
	background-color: rgba(92,163,179, 0.3);
	position: relative;
}

.category-protection{
	position: relative;
	background-color: rgba(204,161,166, 0.3);
}
.category-mortgages{
	position: relative;
	background-color: rgba(183,219,87, 0.3);
}

.blog-recent[data-style="minimal"] .col{
	margin-bottom: 1%;
}

/**
* For Blog
**/


.text-with-icon a{
	color:#da281c;
	line-height: 50px;
	margin-left: 10px;
	font-size: 30px;
	font-family : 'TheSans B6SemiBold' !important;
}

.text-with-icon{
	margin-top: 40px;
}

.custom-top-bar .text-with-icon img{
	max-width: 30px;
}

.custom-top-bar .text-with-icon a{
	font-size:17px;
	line-height: 30px;
}

/**
* Footer Section
**/

#footer-outer #copyright p{
	display: none;
}

#footer-outer .row{
	padding-bottom: 0px !important;
}

.center-tagline{
	display: inline-block;
	position: relative;
	text-align: center;
}

.center-tagline img{
	width: auto;
	display: inline-block;
	vertical-align: middle;
	max-width: 45px !important;
}

.center-tagline h2{
	color: #fff;
	font-size: 14px;
	font-family : 'TheSans B6SemiBold' !important;
	display: inline-block;
	margin:0px 5px;
}

/**
* Footer Section
**/

.footer-text-with-icon, .text-with-icon{
	display: inline-block;
	margin-right: 5px;
}

.footer-text-with-icon a, .text-with-icon a{ 
	vertical-align: top;
	display: inline-block;
}

.footer-text-with-icon a:hover{
	background-color: inherit !important;
	color: inherit !important;
}

#footer-outer .widget h4{
	text-transform: inherit !important;
	font-size: 17px !important;
}

.widget_nav_menu{
	padding: 0px 30px;
}

#slide-out-widget-area.fullscreen .inner .off-canvas-menu-container li a{
	font-size: 35px !important;
    line-height: 20px !important;
    font-family : 'TheSans B6SemiBold' !important;
    letter-spacing: 1px !important;
}

.slide-out-widget-area-toggle a{
	color: #fff !important;
}

#footer-outer #footer-widgets .col p{
	line-height: 20px;
}

@media only screen and (max-width: 425px){
	.custom-top-bar .text-with-icon{
		margin-top:0px !important;
	}

	.custom-top-bar .text-with-icon img{
		margin-bottom: 0px !important;
	}

	.custom-top-bar .text-with-icon:first-child{
		margin-top:20px !important;
	}
}


