/*################################################################################################*/
/* FIREFLY STYLESHEET 2016 */
/*################################################################################################*/
/*################################################################################################*/
/* HEADINGS AND TYPEFACES */
/*################################################################################################*/

/* Font family Lato */
HTML,BODY,H2,H4,H5,H6,P,A,BUTTON,
.h2,.h4,.h5,.h6,
.search-results .search-header .h4,
.search-results .search-header .h4 SPAN,
.search-results .search-header .h4 SPAN	A			{ font-family: 'Lato', sans-serif !important; }

/* Font family Fjalla */
H1, H3,.h1,.h3										{ font-family: 'Fjalla One', sans-serif !important; }

/* Font sizes */
BODY,HTML											{ font-size: 16px; color: #093A49 }

BODY												{ font-weight: lighter; }
h1, .h1 											{ font-size: 1.6875em;/*27*/ color: #093A49; font-weight: lighter; }
h2, .h2 											{ font-size: 2.25em;/*36px*/ color: #093A49; font-weight: lighter; }
h3, .h3 											{ font-size: 1.3125em;/*21px*/ color: #093A49; }
h4, .h4 											{ font-size: 1.25em;/*20px*/ color: #093A49; font-weight: bold; }
h5, .h5 											{ font-size: 1.125em;/*18px*/ color: #093A49; font-weight: lighter; }
h6, .h6 											{ font-size: 1em;/*16px*/ color: #808285; }

/*################################################################################################*/
/* UTILS */
/*################################################################################################*/
/* colors */
.orange												{ color: #EE794B !important; }
.blue												{ color: #136894 !important; }
.forest-green										{ color: #093A49 !important; }
.light-grey											{ color: #F1EFEF !important; }
.dark-grey											{ color: #808285 !important; }
.white												{ color: #FFF !important; }

/* padding and margin resets */
.m-t-0												{ margin-top: 0 !important; }
.m-b-0												{ margin-bottom: 0 !important; }
.p-t-0												{ padding-top: 0 !important; }

/* weight */
.bold 												{ font-weight: normal !important; }
.light 												{ font-weight: lighter !important; }

/* clearfix */
.clearfix::before,
.clearfix::after									{ content: ''; display: table; }
.clearfix::after									{ clear: both; }

/* hide */
.do-not-show										{ display: none; }

/* Extra small devices (phones, less than 768px) */
@media screen and (max-width: 767px) {
    .hide-mobile									{ display: none !important; }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .show-mobile									{ display: none !important; }
}

/*###############################################################################################*/
/* OVERRIDING OLD CSS HACKS */
/*################################################################################################*/
.page .body .inner									{ padding-bottom: 0; }
.col-filters										{ padding: 0; margin-bottom: 0; }
.col-results.has-sidebar:after						{ content: none; }

/*################################################################################################*/
/* OVERRIDING GRID & SIDEBAR PROPERTIES */
/*################################################################################################*/
/* side-bar */
.col-filters,
.results-sidebar									{ width: 100%; }

.results-sidebar									{ background: #FFF; border-left: 3px solid #093A49; }
.col-filters .form-wrapper							{ position: relative; }
.col-filters .search-form							{ position: absolute; top: 0; left: 0; background: none; }
.col-filters H2 									{ background: none; }
.col-filters .form-bg								{ position: relative; overflow: hidden; background: #186a93; width: 100%; height: 396px;}
.col-filters .form-bg::before						{ content: ''; position: absolute; display: block; top: 0; left: 0; width: 100%; height: 100%;
background-color: #252962;
													 }

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.col-filters,
	.results-sidebar 								{ width: 25%; }
}

/*################################################################################################*/
/* HEADER */
/*################################################################################################*/
/* mobile nav */
.mobile-nav											{ text-align: left; }
.mobile-nav .btn-expand								{ color: #FFF; }

.menu-wrapper 										{ background: #093A49; }

#main-nav ul li a									{ font-size: 1em; color: #FFF; }
#main-nav li a:hover,
#main-nav li:hover a								{ background-color: #235463; }
#main-nav li .sub-menu a							{ color: #FFF; }
#main-nav li .sub-menu a:hover						{ background-color: #3C6D7C;
 													  color: #EE794B; }

#main-nav ul li.btn-maincta a						{ padding: 2px 10px; border: 2px solid #EE794B; }

/*################################################################################################*/
/* FOOTER */
/*################################################################################################*/
.footer .widget_nav_menu							{ margin-top: 75px; }
.footer .footer-col .menu A							{ color: #FFF; line-height: 26px; }

/*################################################################################################*/
/* HOME */
/*################################################################################################*/

.home .home-search									{ position: relative; overflow: hidden; margin: -5px; background: #186a93; }
.home .home-search::before							{ content: ''; position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%;
													  background: url('../images/search-background.jpg'); background-size: cover; background-position: center 30%;
												      -webkit-filter: blur(5px) opacity(.3);
												              filter: blur(5px) opacity(.3); }

/* search form */
.home .search-form									{ position: relative; }
.home .search-form .extra-services					{ padding-left: 0;  }
.home .search-form .label-text						{ display: inline-block; margin: 0; }

/* custom checkboxes */
.home .search-form input[type=checkbox] 			{ display:none; }
.home .search-form input[type=checkbox] + label		{ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.home .search-form input[type=checkbox] + label:before
													{ content: ''; display: inline-block; width: 22px; height: 22px;
												 	  border: 1px solid #EE794B; background-color: #EE794B; }

.home .search-form input[type=checkbox] + label:before
													{ background-color: transparent; } /* unchecked */

.home .search-form input[type=checkbox] + label:before
													{ margin-right: 10px; } /* space between checkbox and label */

.home .search-form input[type=checkbox]:checked + label:before
													{ background-color: #54bd78; } /* checked */

/* search form button */
#submit-search:disabled								{ background: #808285; cursor: not-allowed; }

/* search categories */
.home #categories .terms-wrapper					{ width: 100%; margin: 0 auto 60px auto;
 													  -webkit-column-count: 1;
 													     -moz-column-count: 1;
 													          column-count: 1; }

.home #categories .terms-wrapper .term-heading		{ text-align: center; line-height: 2.1875em; }
.home #categories .terms-wrapper .term-heading A 	{ color: #F1EFEF; }

/* speak to someone */
.home .home-speak .info 							{ width: 100%; margin-bottom: 20px; }
.home .home-speak .sides H3							{ margin-bottom: 0;
													  color: #EE794B; font-size: 1.3125em; }

.home .home-speak .sides H6							{ margin: 0;
													  color: #EE794B; font-size: 1.25em; font-weight: lighter; }

/* services banner */
.home .home-services								{height: 300px;}
.home .home-services								{ position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; overflow: hidden; margin: -5px; background: #186a93; }
.home .home-services::before						{ content: ''; position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%;
							  						  background-size: cover; background-position: center 30%;
						      	  					  -webkit-filter: opacity(.6);
						      	  					          filter: opacity(.6); }

.home .home-services .home-services-heading			{ margin: 0; z-index: 5;
													  line-height: 1; text-shadow: 0px 0px 10px rgba(255, 255, 255, .5); }

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.home #categories .terms-wrapper					{ width: 80%; margin: 0 auto 40px auto;
	 													  -webkit-column-count: 2;
	 													     -moz-column-count: 2;
														          column-count: 2; }
    .home .home-speak .info 							{ width: auto; vertical-align: top; margin-bottom: 0; }

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.home #categories .terms-wrapper					{ width: 75%; margin: 0 auto 60px auto;
	 													  -webkit-column-count: 3;
	 													     -moz-column-count: 3;
	 													          column-count: 3; }

	.home #categories .terms-wrapper .term-heading		{ text-align: left; }
}

/*################################################################################################*/
/* CATEGORIES LIST PAGE */
/*################################################################################################*/

.categories-list-page .list-categories LI A			{ font-size: 1.125rem; }
.categories-list-page .list-categories LI A:hover	{ color: #EE794B !important; }
.categories-list-page .list-categories > LI > A		{ background-color: transparent; border-radius: 0; padding: 0;
 													  text-align: left; font-size: 1.3125rem; }
.categories-list-page .list-categories LI UL		{ padding: 0; }

/*################################################################################################*/
/* SEARCH RESULTS PAGE */
/*################################################################################################*/

.search-results										{ display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
.search-results .col-results						{ padding-bottom: 50px;}

/* sidebar search section */
.search-results .col-filters .search-form .extra-services
													{ padding-left: 0; }
.search-results .col-filters H2						{ padding-left: 0; }

/* custom checkboxes */
.search-results .search-form input[type=checkbox] 	{ display:none; }
.search-results .search-form input[type=checkbox] + label
													{ display: -webkit-box; display: -ms-flexbox; display: flex; }

.search-results .search-form input[type=checkbox] + label:before
													{ content: ''; display: inline-block; width: 18px; height: 18px;
												 	  border: 1px solid #EE794B; background-color: #EE794B; }

.search-results .search-form input[type=checkbox] + label:before
													{ background-color: transparent; } /* unchecked */

.search-results .search-form input[type=checkbox] + label:before
													{ margin-right: 10px; } /* space between checkbox and label */

.search-results .search-form input[type=checkbox]:checked + label:before
													{ background-color: #4caf51; } /* checked */

.search-results .label-text							{ margin-top: 0; }

/* general */
.col-filters .filter H3								{ background-color: transparent; border-radius: 0; padding: 0;
 													  text-align: left; font-size: 1.3125rem; font-weight: lighter; }
.col-filters .filter .list-filters LI				{ padding-left: 0; }

/* sidebar subcategories section */
.col-filters .sub-category-wrapper					{ background: #F1EFEF; }
.col-filters .category-wrapper						{ display: none; }

/* sidebar categories section */
.col-filters .filter								{  }

/* search result body heading */
.search-results .search-header .h4,
.search-results .search-header .h4 SPAN,
.search-results .search-header .h4 SPAN	A			{ font-size: 27px; color: #808285; }

/* search result body pagination */
.pagination-container .results-total				{ margin-left: 0;
													  font-size: 16px; color: #808285; font-weight: lighter; }
.pagination-container .btn-paging					{ padding: 2px 5px; border: none; text-decoration: none;
 													  background: #808285;
												  	  color: #FFF; text-transform: uppercase; }

.pagination-container .btn-paging .fa 				{ font-size: 16px; font-weight: lighter; }

/* listing */
.service-summary .h1								{ font-weight: normal; font-size: 2.25rem; }
.service-summary .h1 A								{ text-decoration: none; }
.service-summary .h1 A:hover						{ color: #136894 !important; }
.service-summary .distance,
.service-summary .distance .h4						{ font-size: 20px; line-height: 1.5; text-transform: none; font-weight: lighter; }

/* paid listing */
.search-results .paid-listing						{ padding: 15px 0; background: #f3f7f9; border-top: 1px solid #a0a6ab; border-bottom: 1px solid #a0a6ab; }

/* chips */
.search-results .chip								{ display: inline-block; padding: 0 10px; border-radius: 4px; background: #f1f1f1;
 													  text-transform: uppercase; }
.search-results .chip-paid-listing					{ background: #47bcb3;
													  color: #FFF; }
.single-listing .chip-paid-listing 					{ margin-top: 40px; }

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
	.search-results .results-total					{ display: inline-block; margin-right: 10px; }
    .search-results .search-header					{ margin-bottom: 0; height: auto; }

    .search-results .col-results 					{ display: block; padding-top: 20px; }
    .search-results .col-filters 					{ position: relative; top: 20px; }
    .search-results .search-form 					{ right: 0; }
	.search-results .search-form .location-label 	{ display: block; clear: both; }  
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.search-results										{ -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; }
	/* sidebar subcategories section */
	.col-filters .category-wrapper						{ display: block; }
}

/*################################################################################################*/
/* SINGLE LISTING */
/*################################################################################################*/

.single-listing 									{ display: -webkit-box; display: -ms-flexbox; display: flex; }
.single-listing .col-results						{ padding: 30px; }

/* icons */
.single-listing .contact-box .fa 					{ width: 30px;
													  text-align: center; }

.single-listing .btn-paging							{ padding: 2px 5px; border: none; text-decoration: none;
 													  background: #808285;
												  	  color: #FFF; text-transform: uppercase; }

.single-listing .btn-paging .fa 					{ font-size: 16px; font-weight: lighter; }

/* map */
.single-listing .map-wrapper						{ display: inline-block; padding: 15px;
													  border: 1px solid #808285; }
/* social */
/*.single-listing .social-wrapper						{ display: inline-block; float: left; width: 50%; padding-left: 30px; }*/
.single-listing .social-wrapper						{ display: inline-block; }
.single-listing .social-wrapper .fa 				{ width: 30px;
													  font-family: 'FontAwesome' !important; text-align: center; }

.single-listing .details-box .h4 					{ margin: 0; }
.single-listing .details-box .h4.is-heading 		{ margin-top: 10px; }
/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
	.single-listing .map-wrapper,
	.single-listing .social-wrapper					{ width: 100%; }
	.single-listing .social-wrapper P 				{ display: inline-block; width: 50px; }
}
/* center content inside the google adsense container */
.google-adsense-container 							{ text-align: center; }

.only-print 										{ display: none; }

.search-alert {
	display: none;
	padding: 15px;
	margin-bottom: 35px;
	background-color: #EE794B;
	text-align: left;
	color: white;
}

.search-alert__term {
	font-weight: bold;
	text-decoration: underline;
}

.search-alert.show {
	display: block;
}