/*
Theme Name: Salient Child Theme
Theme URI: https://lfprojects.linuxfoundation.org;
Description: This is a custom child theme for Salient
Author: Asitha de Silva
Author URI: http://asithadesilva.com;
Template: salient
Version: 1.0
*/

p code, li code { display: inline-flex; padding: 5px; }

/* Persons Custom Post Type CSS */
.single-person { margin-bottom: 20px; max-width: 310px;}
.single-person-icon { text-align: center; }
.single-person-icon img { max-height: 100px; text-align: center; border-radius: 50px; max-width: 100px !important; }
.single-person-title h3, .single-person-title h5 { text-align: center; font-size: 20px !important; margin-bottom: 0 !important; line-height: 25px !important }
.single-person-title h5 { font-weight: 100; }
.single-person-description { padding: 20px 0; text-align: center }
.single-person-description p { font-size: 11px; padding-bottom: 10px !important }
.long-description { margin-bottom: 20px; }
.social-links { text-align: center }
.remove-left-margin { margin-left: 0 !important; }


/* Vendors Custom Post Type CSS */
#vendor-parent img { max-height: 130px; margin-bottom: 0; cursor: pointer}
.lightbox { display: none; }
.featherlight .featherlight-inner img { max-height: 100px; }
#vendor-parent .mix { border: 1px solid #ccc; width: 22.5%; margin-right: 15px; margin-bottom: 20px; padding: 10px;}
#vendor-parent .mix:hover { border-color: #168fdf; }
#vendor-parent.wpls-logo-showcase.wpls-logo-grid { font-size: 0 !important; clear: both; margin-top: 80px; }
#vendor-dropdown fieldset { margin-right: 20px; }

/* Event CSS */
.search-events-label { padding: 10px; font-weight: 400; }
.select2-container .select2-selection--single { border-radius: 0; padding: 10px; height: 41px; font-size: 12px; border: 1px solid #ccc !important; }
.event-location-select, .event-category-select {-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important; box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !important; border: 1px solid #ccc !important; }
.select2-container--bootstrap .select2-search--dropdown .select2-search__field, .select2-search--dropdown { border-radius: 0; }
.select2-container--bootstrap .select2-results__option { font-size: 12px; }
#events-section .masonry.classic_enhanced .posts-container article .meta-category a { background-color: #000; border-color: #000; }
.single-event-wrap { padding: 15px; min-height: 100px; background-size: cover; }
.single-event-wrap:before { content: '';position: absolute;top: 0;right: 0;bottom: 0;left: 0;background-image: linear-gradient(to bottom,#444,#000);opacity: .4; z-index: 1;}
.single-event-content img { max-height: 150px; width: auto; }
.single-event-content, .event-listing-ctas { z-index: 2; position: relative; text-align: center}
.event-listing-ctas { display: -webkit-flex;-webkit-justify-content: space-around;display: flex;justify-content: space-around;justify-content: space-evenly; margin-top: 25px; }
.single-event-wrap .post-header img { max-height: 100px; }
.single-event-wrap h3 { font-size: 20px !important; line-height: 22px !important; color: #fff; text-align: center }
.single-event-wrap p { padding-bottom: 0; font-size: 15px; }
#single-event .first-section { margin-top: 0 !important; }
#events-section .vc_col-sm-4 { margin-bottom: 20px; }
select.wpb_vc_param_value.wpb-input.wpb-select.speaker_ids.dropdown_multi { height: 300px; }
div#event-header-wrapper > p:first-of-type { display: none; }

/* Event Nav */
#event-nav, .nav-collapse a, #event-nav li.child a, #event-nav .dropdown ul { background-color: #1a1a1a;}
#event-nav li a { color: #fff; font-size: 16px; font-family: Roboto; font-weight: 400; }
#event-nav li a:hover { color: #199ad6; }
#event-nav li.child a:hover { background: #ccc; }

@media (min-width: 1001px){
	.js .nav-collapse .dropdown:hover>ul { margin-top: -2px !important; max-width: 170px; }
	.nav-collapse .dropdown li { max-width: 170px;}
}

@media (min-width: 990px){
	#event-nav .dropdown ul { display: none; }
}

@media (max-width: 1000px) {
	.single-events #header-outer { display: inherit; }
}

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
	header .navbar-nav>li ul.sub-menu { top: 63px !important; }
	header .navbar-inverse #navbar .navbar-nav li:not(.btn):after { margin-top: 19px !important; }
}

@media(min-width: 768px){
	.wpls-column, .wpls-columns { padding: 0 0.93rem; }
	#header-outer:not(.small-nav){ margin-top: 23px; }
	#lf-header { padding-top: 3px; background: #ebebeb; }
	#lf-header img { max-width: 270px; }
	.mix, .gap { width: calc(100%/4 - (((4 - 1) * 1rem) / 4)); float: left; text-align: center; }
}

@media(max-width: 767px){
	#lf-header { display: none; }
	.mix, .gap {
	    width: 45% !important;
	    float: left;
	    text-align: center;
	}	
	#vendor-btns { display: flex; }
	#vendor-parent img { max-height: 50px; margin-bottom: 0; cursor: pointer;}
	#vendor-dropdown fieldset { float: none; width: 100%; margin-bottom: 10px; }
	#vendor-parent.wpls-logo-showcase.wpls-logo-grid { margin-top: 20px; }	
}

@media only screen and (min-width: 641px) and (max-width: 1000px){
	.wpls-col-10 {
			width: 20%;
	}
}
@media(max-width: 690px) {
	.single-person {
		margin: 0 auto 20px !important;
	}
}

.um-header .um-profile-photo a.um-profile-photo-img {
	padding: 0px;
}

.um-search .um-search-filter {
	width: 25%;  
}

.um-form .um-search-filter #last_name {
	height: 34px !important;
}

.um-directory .um-member-photo {
	padding: 10px 0 0 0;
}

.main-content .um-directory .um-member {
	border-color: #ccc;
	background: #ddd;
}

.um-directory .um-member-connect {
	padding: 10px 0 0 0;
}

.um-directory .um-member-meta {
	padding: 0;
	margin: 10px 15px 0 15px;
}

html body[data-header-resize="1"] #ajax-content-wrap .container-wrap {
        padding-top: 93px;
}

.wpb_wrapper .nectar-button {
	font-weight: normal;
}

.container-wrap .blog-recent[data-style="minimal"] .col > span {
	font-weight: normal;
}

#search-results article.result .inner-wrap .title a {
	background: none;
}