/**
 * Stylesheet for CSHL Faceted Search
 */
body {
	overflow-x: hidden;
}

.cshl-search-wrapper .recurringinfo {
	display: none !important;
}
.cshl-search-wrapper .facetwp-facet {
    margin-bottom: 10px;
}
.cshl-search-wrapper .facetwp-facet.is-loading {
    opacity:1;
}
.cshl-search-wrapper .facetwp-facet-search {
	margin-bottom: 40px;
}

.cshl-search-wrapper .facetwp-page.btn {
	margin: 0;
	font-weight: normal;
}

.cshl-search-wrapper .facetwp-counter {
	display: none;
}

.cshl-search-wrapper .facetwp-radio {
	font-family: 'Source Sans Pro', sans-serif;
	/*background: none !important;*/
	/*padding-left: 0;*/
}

.facetwp-selection-value,
.cshl-search-wrapper .facetwp-radio.checked,
.cshl-search-wrapper .facetwp-radio:hover {
	font-weight: bold;
	color: #004982;
}

.cshl-search-wrapper .facetwp-radio:hover {
	text-decoration: underline;
}

.facetwp-sort {
	float: right;
	margin-top: 10px;
}

.facetwp-sort select {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.1em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 3px 50px 3px 10px;
    border-color: #eee;
}

.facetwp-selections {
	border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    margin-top: 15px;
}

.facetwp-selection-value {
	background-position: right 55% !important;
	margin-right: 20px !important;	
}

.facetwp-selections ul {
	padding-left: 0;
	margin-bottom: 5px;
	display: inline-block;
}

.facetwp-selections ul li  {
	color: #004982;
	font-family: 'Source Sans Pro', sans-serif !important;
	background-position: right 55%;
}

.facetwp-selections ul:before {
	font-family: 'Source Sans Pro', sans-serif;
	content: "Filters ";
	display: inline-block;
	margin-right: 20px;
}

#clear-all-control {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: bold;
	display: inline-block;
	margin-left: 20px;
	cursor: pointer;
}

.facetwp-selection-label {
	display: none;
}

.facetwp-template h2.entry-title.search-item {
	line-height: 1.2em;
	margin-bottom: 10px;
}

.facet-header {
	font-size: 1.0em;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 2px solid #eee;
	position: relative;
	margin-top: 0;
	margin-bottom: 10px;
	cursor: pointer;
}

#mobile-filter-toggle:after,
.facetwp-sort:after,
.facet-toggle:after {
	content: "\f141";
    position: absolute;
    right: 0;
    top: 10px;
    font: normal 20px/1 dashicons;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none!important;
    text-align: right;
    pointer-events: none;
}

.facet-toggle.opened:after {
	content: "\f142";
}

.facetwp-sort:after {
	content: "\f140";
	right: 20px;
	top: 13px;	
	font-size: 24px;
}

.cshl-search-wrapper .btn {
	font-size: 1.0em;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	padding: 8px 14px;
}

.cshl-search-wrapper .btn-primary {
	background: #004982;
}
.cshl-search-wrapper .btn-primary:hover {
	background: #6588a8;
	border-color: #6588a8;
	color: #fff;
}

.cshl-search-wrapper .btn-muted {
	background: #666;
	margin-top: 20px;
}
.cshl-search-wrapper .btn-muted:hover {
	background: #333;
	color: #fff;
}

.cshl-search-wrapper .facetwp-search-wrap .facetwp-btn {
	opacity: 1;
	position: static;
    padding: 12px 50px;
}

.cshl-search-wrapper .facetwp-search-wrap .facetwp-btn:before {
	content: none;
}

main > article > .entry-header,
.cshl-search-wrapper .facetwp-facet-search {
    padding: 20px 0 50px;
    background: #eee;
    width: 100vw;
    position: relative;
    left: calc(-1 * (100vw - 100%) / 2);
}

.facetwp-loading {
	text-align: center;
	position: absolute;
	top: 120px;
	left: 50%;
	margin-left: -30px;

	background-size: 100% !important;
	width: 50px !important;
	height: 50px !important;

	z-index: 999;
	opacity: 1 !important;

	-webkit-animation: spin 700ms infinite linear; /* Safari & Chrome */
	-moz-animation: spin 700ms infinite linear; /* Firefox */
	-ms-animation: spin 700ms infinite linear; /* Internet Explorer */
	-o-animation: spin 700ms infinite linear; /* Opera */
	animation: spin 700ms infinite linear; /* W3C */
}

main > article > .entry-header {
	padding-bottom: 0;
}

main > article > .entry-header h1 {
	visibility: hidden;
	border-bottom: 2px solid #ccc;
	padding-bottom: 10px;
}

.cshl-search-wrapper .facetwp-facet-search input {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: bold;
	font-size: 24px;
	padding: 20px 10px;
}

.facetwp-date {
    font-family: 'Source Sans Pro', sans-serif;
    width: 90px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 6px;
    font-weight: bold;
}

.facetwp-date-min {
    margin-right: 30px;
}

.facetwp-facet-date_range {
    position: relative;
}

.facetwp-facet-date_range:after {
    content: '\02192';
    position: absolute;
    top: 0;
    left: 90px;
    font-size: 30px;
}

/* Responsive Styles */
.visible-mobile {
    display: none;
    border: none;
}

#mobile-filter-toggle {
    color: #444;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: none;
    font-weight: normal;
}

#mobile-filter-toggle:hover {
	text-decoration: none;
	color: #333;
}

#mobile-filter-toggle:after {
    top: 4px;
    content: "\f140";
    right: auto;
    left: -2px;
}

#mobile-control {
    border-bottom: 2px solid #eee;
    margin: 0px 15px;
    display: none;
}

@media (max-width: 992px) {
 .facetwp-search {
     margin-bottom: 20px;
 }
 .facet-header {
 	line-height: 1.3em;
 	margin-top: 20px;
    padding-bottom: 5px;
 }

 .facet-toggle:after {
 	top: 0;
 }
}

@media (min-width: 892px) {
	ul#primary-menu-right {
	    right: 0px !important;
	    width: 280px !important;
	}

	#search-toggle-new {
	    right: 21px !important;
	    width: 30px !important;
	}
}
@media (max-width: 891px) {
 main.site-main {
     margin-top: -20px !important;
 }

 main.site-main .container {
     padding-left: 25px;
     padding-right: 25px;
 }

 .facetwp-btn {
     padding: 18px 50px !important;
 }
}

@media (max-width: 767px) {
	.facetwp-date {
		width: 40%;
	}

	.facetwp-facet-date_range:after {
		left: 40%;
	}

	.cshl-search-wrapper .facetwp-facet-search {
		margin-bottom: 0;
	}

	#mobile-control {
		display: block;
		position: relative;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.visible-mobile {
		display: inline-block; 
		margin-top: 0;
	}

	.cshl-search-wrapper .col-sm-3 {
		display: none;
	}

	.mobile-filters-opened .cshl-filter-container {
		padding-bottom: 20px;
		margin-bottom: 20px;
		border-bottom: 2px solid #eee;
	}

	.cshl-filter-container .facet-header {	 	
	}

	.facetwp-sort {
		position: absolute;
		top: 0;
		right: 0;
		margin-top: 0;
	}

	.facetwp-sort select {
		padding-right: 25px;
		font-size: 0.95em;
	}

	.facetwp-sort:after {
		top: 3px;
		right: 2px;
	}

	.facetwp-counts {
		margin-top: 20px;
	}

	.facetwp-selections {
		padding-bottom: 10px;
	}
}

@media (max-width: 576px) {
 .facetwp-btn {
     width: 100%;
 }
}