/*
 Theme Name:     Shakespeare
 Theme URI:      http://www.clermontcountyohio.biz/
 Description:    Soliloquy Child Theme
 Author:         Robert Frost, Webmaster
 Author URI:     
 Template:       soliloquy
 Version:        1.0.0
*/
 
/*@import url("../soliloquy/style.css");*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/*
Yellow 130 - #EAAFOF
Green 361 - #1EB53A  
Blue 2925 - #008ED6  
Orange - #EAAF0F
*/

/* Annual Report Header Left Widget button link styles */
.arButton {
	-moz-box-shadow: 0px 2px 19px -2px #000000;
	-webkit-box-shadow: 0px 2px 19px -2px #000000;
	box-shadow: 0px 2px 19px -2px #000000;
	background-color:#008fd6;
	-moz-border-radius:28px;
	-webkit-border-radius:28px;
	border-radius:28px;
	border:1px solid #008fd6;
	display:flex;
	align-items: center;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
}
.arButton:hover {
	background-color:#008fd6;
}
.arButton:active {
	position:relative;
	top:1px;
}
/* End Annual Report Header Left Widget button link styles */

/* ********** CCPH SQL Search Form Customizations ********** */

.septic-search-form,
.bcform {
	position: relative;
}

.bcform:focus {
	color: #222;
	border-color: #333;
}

label.lbl-bcform-input,
input.bcform-input {
	width: 100%;
	height: inherit;
}

input.bcform-submit{
	background-color: #222;
	border: 0;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	font-weight: 800;
	line-height: 1;
	width: 33.3%;
	padding: 1em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
	bottom: 3px;
	padding: 0.5em 1em;
	position: absolute;
}

.bcform-submit {
	padding: 0.75em 2em;
	position: relative;
}

.bcform-submit.secondary {
	background-color: #ddd;
	color: #222
}

.bcform-submit:hover,
.bcform-submit:focus {
	background: #767676;
}

.septic-search-form .septic-search-submit {
	bottom: 3px;
	padding: 0.5em 1em;
	position: absolute;
	right: 3px;
	top: 3px;
}

.septic-search-form .septic-search-submit .icon {
	height: 24px;
	top: -2px;
	width: 24px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	background: #fff;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: block;
	padding: 0.7em;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #222;
	border-color: #333;
}

button,
input[type="button"],
input[type="submit"] {
	background-color: #222;
	border: 0;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
/*	font-size: 14px;
*/	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1;
	padding: 1em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
	width: 10em;
}

input + button,
input + input[type="button"],
input + input[type="submit"] {
	padding: 0.75em 2em;
}

button.secondary,
input[type="reset"],
input[type="button"].secondary,
input[type="reset"].secondary,
input[type="submit"].secondary {
	background-color: #ddd;
	color: #222;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #767676;
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
	background: #bbb;
}

/*.septic-search-form:focus, {
	color: #222;
	border-color: #333;
}

.septic-search-form {
	position: relative;
	width: 100%;
	line-height: 2.5em;
}

.septic-search-input {
	width: 100%;
}

input.septic-search-submit {
	background-color: #222;
	border: 0;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	font-weight: 800;
	line-height: 1;
	width: 33.3%;
	padding: 1em 2em;
	text-shadow: none;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
	bottom: 3px;
	padding: 0.5em 1em;
	position: absolute;
	right: 3px;
	top: 3px;
}

.septic-search-submit {
	padding: 0.75em 2em;
	position: relative;
}

.septic-search-submit.secondary {
	background-color: #ddd;
	color: #222;
}

.septic-search-submit:hover,
.septic-search-submit:focus {
	background: #767676;
}
*/
/* ******** End CCPH SQL Search Form Customizations ******** */

/* ********** CCPH SQL Search Page Customizations ********** */

.container_search_results {
	padding: 1vw;
	background: #fff;
	max-width: 1140px;
}

.search-term-display {
	text-align: center;
	font-size: 1.4em;
	padding: 1vw;
}

.insp_address {
	color: #4c4c4c;
	font-size: 1.4em;
	font-weight: bold;
}

.sys_type, .insp_date, .insp_period, .final_date {
	font-size: 1.2em;
	font-weight: bold;
	color: #4c4c4c;
}

.code_violation, .code_violation_status {
	font-weight: bold;
	font-size: 1.2em;
	color: #A6514C;
}

.insp_comments_title {
	font-weight: bold;
	color: #4c4c4c;
	text-decoration: underline;
}

.insp_comments_title, .insp_comments {
	padding-top: 1vh;
	padding-bottom: 1vh;
}

/* ******** End CCPH SQL Search Page Customizations ******** */

/* ********** Simple Calendar Styles ********** */

div.simcal-calendar.simcal-default-calendar.simcal-default-calendar-grid.simcal-default-calendar-light {
	margin-top: -90px;
}

i.simcal-icon-left {
	content: '\f104';
	color: #5e5e5e;
}

i.simcal-icon-right {
	content: '\f105';
	color: #5e5e5e;
}

div.textwidget > div.nimbus_table_minimal > div.simcal-calendar.simcal-default-calendar.simcal-default-calendar-grid.simcal-default-calendar-dark > table.simcal-calendar-grid {
	margin-top: -50px;
}

/* ********** End Simple Calendar Styles ********** */

/* ********** Skip Navigation Style for ADA Compliance ********** */

#skipnav {
    margin: 0;
    padding: 0;
}

#skipnav a, 
#skipnav a:link, 
#skipnav a:visited {
    padding: 6px;
    position: absolute; 
    top: -50px; 
    left: 0px; 
    color: white;
    box-shadow: 0px 0px 5px 0px #CCCCCC;
    border-bottom-right-radius: 4px;
    background: transparent;
    transition: top 1s ease-out, background 1s linear;
    z-index: 99999;
}

#skipnav a:focus, 
#skipnav a:active {
    position: absolute;
    left: 0px;
    top: -10px;
    background: #008ED6;
    outline: 0;
    -webkit-transition: top .1s ease-in, background .5s linear;
    transition: top .1s ease-in, background .5s linear;
}

#skiptargetholder {
    position: absolute; 
    left: -200%
}

html #skipnav a:focus, 
*+html #skip a:active {
    position: relative
}

html #skipnav a:active {
    position: relative
}

@media (max-width: 767px) {
	div#skipnav {
		display: none;
	}
}
/* ***** End Skip Navigation Styles ***** */

div.bio_wrap {
	display: none;
}

.home .post .date,
.home .post .author,
.home .post .tax_tags,
.home .container > .text-center,
.home .container.post,
.frontpage_headline,
.author, .news_headline,
.company_spotlight,
#credit {
	display: none;
}

.container {
	background: #fff;
	/*generic rule*/
}

body > .container {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/*div.content .widget ul,
.widget ul {
	list-style: inherit;
}*/

header img.image_logo { float: left; margin: 5px; }

header img.image_logo {
    display: none;
}

#mega-menu-wrap-primary.mega-menu-wrap.mega-sticky {
    -webkit-box-shadow:0px 2px 2px #4c4c4c;
    -moz-box-shadow:0px 2px 2px #4c4c4c;
    box-shadow:0px 2px 2px #4c4c4c;
}

.carousel-inner,
.container.banner_con {
	background: transparent;
}

body > .container.frontpage_featured .featured p {
    margin: 0;
    padding: 0 20px 20px;
}

header.container,
footer.container,
body > .container.content {
	background: #fff;
}

.container.content {
	margin-top: 0;
}

/**** Change Style of wp-activate.php ******/
#signup-content.container {
	margin-top: -20px;
}
/*******************************************/

footer.container {
    margin-top: 0px;
    background: url(images/blue-swoosh.jpg) no-repeat left 33% #fff;
	-webkit-box-shadow: 0px 0px 5px 0px #333333 !important;
    box-shadow: 0px 0px 5px 0px #333333 !important;
}

header.container {
	position: relative;
    margin-top: 5px;
}

td a {
	color: #008ed6 !important;
}

.frontpage_featured_item p {
	padding: 0 15px;
	color: #fff;
	font-size: 13px;
	line-height: 22px;
}

.frontpage_featured_item h3 {
	padding: 0 15px;
	
}

/* color for the current (active) page showing in a drop down menu */
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus {
	background: #daebf1;
}

body > .container:first-child {
	/* Overrides theme, but theme puts shadows around all containers */
	box-shadow: none !important;
}

body > .container.frontpage_featured .featured > div {
	background: #1eb53a !important;
	border-top: 5px solid #1eb53a;
}

body > .container.frontpage_featured .featured:first-child > div {
	background: #eaaf0f !important;
	border-top: 5px solid #eaaf0f;	
}

body > .container.frontpage_featured .featured:last-child > div {
	background: #008ed6 !important; 
	border-top: 5px solid #008ed6;  
}

header #menu_row {
	background: #fff;
	z-index: 9999 !important;
	box-shadow: 0 2px 3px #808080;
}

body > .container.frontpage_featured .featured p {
	color: #fff;
}

#headline-welcome-message {
    padding-left: 15px;
}


#headline-welcome-message-two {
	text-align: center;
}

#headline-welcome-message-two .widget h4 {
    padding: 0 !important;
    margin: 0 !important;
}

div#headline-welcome-message-two div.widget {
    padding: 0;
}

/* this is for "No content matched your request" boxes */
.noresults {
	margin-top: 0 !important;
    padding: 15px 0;
}


/*Icon above nav menu to link to County Homepage*/
.homepage-link {
    font-size: 20px;
	color: #008ED6;
    max-width: 1170px;
    margin: auto;
    font-family: Roboto, sans-serif;
    padding: 5px 0;
    text-align: left;
}

/*Search box above #menu_row*/

@media (min-width: 767px) {
	.header_widget_right {
		float: right !important;
		width: 33.3333333%;
		padding: 0 !important;
	}
	
	div.widget.widget_search {
		padding: 0 !important;
	}
}



/* Looks interesting with the transparent logo as the first image
#slideshow {
	box-shadow: 0 2px 5px #808080;
}*/

/* theme has option for this but it DOESNT work */
.carousel-caption {
	font-size: 20px;
	line-height: 25px;
	font-weight: 400;
	text-shadow: 0 1px 5px #000;
	top: 90%;
	padding: 0;
	bottom: initial;
	transform: translateY(-50%);
	background: url(images/gray50opacitypixel.png);
}

.carousel-inner .item img {
	display: block;
    height: auto;
    max-width: 100%;
}

#copyright {
    text-align: center;
    color: #008ed6 !important;
    border-top: 1px solid #008ed6;
    line-height: 40px !important;
}

#copyright a {
	color: #008ed6 !important;
	text-decoration: none;
}

#copyright-header p {
	margin: 0;
	color: #008ed6 !important;
	font-size: 12px;	
	letter-spacing: 0.7px;
}

#back-to-top i {
	color: #008ed6;
	opacity: .5;
	position: fixed;
	bottom: 10px;    
    right: 10px;
    text-shadow: 0px 2px 2px #000;
    z-index: 99999;
}

#back-to-top i:hover {
	opacity: 1;
}

.bottom-bg {
	background: url(images/bg2.jpg) no-repeat right bottom #fff;
	width: 100%;
	background-size: 100%;
}

.home .hero-bg {
	background: url(images/bg.jpg) no-repeat right top;
    height: 435px;
    margin: 0 -15px;
    position: absolute;
    width: 100%;
	z-index: -100 !important;
}

/*Puts a shadow around the Featured Images at the top of each page*/
	.nimbus_1170_640 {
    	box-shadow: 0 2px 3px #808080;
		}

/* hack from Soliloquy site for responsive carousel images. dont know why it wasnt in ours */
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
    max-width: none;
    position: absolute;
}

/* search box */
#s {
	font-size: 14px;
    line-height: 30px;
    padding-left: 10px;
	height: 38px;
}

body > .container.search {
	margin-top: 0px;
}

.gsc-selected-option-container {
	max-width: 100% !important;
}

/* only display this section on news-info page */
	.news_headline {
		display: block;
    	margin-top: -15px !important;
		}

	.news-message {
    	text-align: center !important;
		}

	.news_headline .col-sm-4 .widget h4, .news_headline .col-sm-4 .widget h4 a,
	.news_headline .col-sm-4 .widget h3, .news_headline .col-sm-4 .wdiget h3 a,
	.news_headline .col-sm-4 .widget h2, .news_headline .col-sm-4 .widget h2 a {
		font-size: 25px !important;
    	line-height: 25px !important;
		}
		
	.news_headline .widget h4:before,
	.news_headline .widget h3:before,
	.news_headline .widget h2:before {
	/* Taken from Font Awesome icons */  
    display: inline-block;
    font-family: FontAwesome;
    font-feature-settings: normal;
    font-kerning: auto;
    font-language-override: normal;
    font-size-adjust: none;
    font-stretch: normal;
    font-style: normal;
    font-synthesis: weight style;
    font-variant: normal;
    font-weight: normal;
    line-height: 0.4em;
    text-rendering: auto;
    font-size: 46px;
	color: #1eb53a;
	float: left;
    margin-right: 16px;
}	


	/*.news-top-left .widget_youtube_responsive h4:before,
	.news-top-left .widget_youtube_responsive h3:before,
	.news-top-left .widget_youtube_responsive h2:before {
		content: '\f16a'; 
		line-height: 20px !important; /*this is a video play icon 
	}
	
	.news-top-center .widget_dpe_fp_widget h4:before,
	.news-top-center .widget_dpe_fp_widget h3:before,
	.news-top-center .widget_dpe_fp_widget h2:before {
		content: '\f143';  /*this is a broadcast icon
	}
	
	.news-top-right .popular-posts h4:before,
	.news-top-right .popular-posts h3:before,
	.news-top-right .popular-posts h2:before {
		content: '\f164'; /*this is a thumbs up icon 
	}
	
	.news-bottom-left .widget_sp_image h4:before,
	.news-bottom-left .widget_sp_image h3:before,
	.news-bottom-left .widget_sp_image h2:before {
		content: '\f1ea'; /*this is a newspaper icon 
	}
	
	.news-bottom-center .widget_sp_image h4:before,
	.news-bottom-center .widget_sp_image h3:before,
	.news-bottom-center .widget_sp_image h2:before {
		content: '\f015';  /*this is a house icon 
	}
	
	.news-bottom-right .widget_nav_menu h4:before,
	.news-bottom-right .widget_nav_menu h3:before,
	.news-bottom-right .widget_nav_menu h2:before {
		content: '\f0a9'; /*this is a right arrow icon 
	}*/
	
/* only display this section on the company-spotlight page */

.company_spotlight .widget h4:before,
.company_spotlight .widget h3:before,
.company_spotlight .widget h2:before {
	/* Taken from Font Awesome icons */  
    display: inline-block;
    font-family: FontAwesome;
    font-feature-settings: normal;
    font-kerning: auto;
    font-language-override: normal;
    font-size-adjust: none;
    font-stretch: normal;
    font-style: normal;
    font-synthesis: weight style;
    font-variant: normal;
    font-weight: normal;
    line-height: 0.4em;
    text-rendering: auto;
    font-size: 46px;
	color: #008ed6;
	float: left;
    margin-right: 16px;
}

.company_spotlight {
	display: block;
    margin-top: -15px !important;
}

.company-spotlight-message {
    text-align: center !important;
}

.company-spotlight-1 .widget_text h4:before,
.company-spotlight-1 .widget_text h3:before,
.company-spotlight-1 .widget_text h2:before,
.company-spotlight-2 .widget_text h4:before,
.company-spotlight-2 .widget_text h3:before,
.company-spotlight-2 .widget_text h2:before,
.company-spotlight-3 .widget_text h4:before,
.company-spotlight-3 .widget_text h3:before,
.company-spotlight-3 .widget_text h2:before,
.company-spotlight-4 .widget_text h4:before,
.company-spotlight-4 .widget_text h3:before,
.company-spotlight-4 .widget_text h2:before,
.company-spotlight-5 .widget_text h4:before,
.company-spotlight-5 .widget_text h3:before,
.company-spotlight-5 .widget_text h2:before,
.company-spotlight-6 .widget_text h4:before,
.company-spotlight-6 .widget_text h3:before,
.company-spotlight-6 .widget_text h2:before,
.company-spotlight-7 .widget_text h4:before,
.company-spotlight-7 .widget_text h3:before,
.company-spotlight-7 .widget_text h2:before,
.company-spotlight-8 .widget_text h4:before,
.company-spotlight-8 .widget_text h3:before,
.company-spotlight-8 .widget_text h2:before,
.company-spotlight-9 .widget_text h4:before,
.company-spotlight-9 .widget_text h3:before,
.company-spotlight-9 .widget_text h2:before {
	content: '\f16a'; /*this is a video play icon*/
}

/* only display this section on home page */
.home .frontpage_headline {
	display: block;
}

div.frontpage_featured_item {
    height: 434px;
}

.frontpage_headline .col-sm-4 .widget h4, .frontpage_headline .col-sm-4 .widget h4 a,
.frontpage_headline .col-sm-4 .widget h2, .frontpage_headline .col-sm-4 .widget h2 a {
	font-size: 20px !important;
    /*line-height: 20px !important;*/
}

.frontpage_headline .widget h4:before,
.frontpage_headline .widget h2:before {
	/* Taken from Font Awesome icons */  
    display: inline-block;
    font-family: FontAwesome;
    font-feature-settings: normal;
    font-kerning: auto;
    font-language-override: normal;
    font-size-adjust: none;
    font-stretch: normal;
    font-style: normal;
    font-synthesis: weight style;
    font-variant: normal;
    font-weight: normal;
    line-height: 0.4em;
    text-rendering: auto;
    font-size: 46px;
	color: #1eb53a;
	float: left;
    margin-right: 16px;
}

.frontpage_headline .widget h4:hover::before,
.frontpage_headline .widget h2:hover::before,
.frontpage_headline .widget h4:hover a,
.frontpage_headline .widget h2:hover a {
	color: #555;
}

.frontpage_headline .widget h4:hover:before,
.frontpage_headline .widget h2:hover:before {
	color: #eaaf0f;
}

/*.frontpage_headline .widget_youtube_responsive h4:before,
.frontpage_headline .widget_youtube_responsive h2:before {
	content: '\f16a'; 
	line-height: 20px !important; /*this is a video play icon 
}*/

/*.widget_advanced-featured-page-widget h4:before,
.widget_advanced-featured-page-widget h2:before {
	content: '\f0a9'; /*this is a right arrow icon
}*/

/*.popular-posts h4:before,
.popular-posts h2:before {
	content: '\f164'; /*this is a thumbs up icon 
}*/

/*.widget_dpe_fp_widget h4:before,
.widget_dpe_fp_widget h2:before {
	content: '\f143';  /*this is a broadcast icon 
}*/

/*.widget_sp_image h4:before,
.widget_sp_image h2:before {
	content: '\f015';  /*this is a house icon 
}*/

/*.headline-bottom-left .widget_sp_image h4:before,
.headline-bottom-left .widget_sp_image h2:before {
	content: '\f1ea';  /*this is a newspaper icon 
	font-size: 36px;
}*/

/*.headline-top-left .widget_nav_menu h4:before,
.headline-top-left .widget_nav_menu h3:before,
.headline-top-left .widget_nav_menu h2:before {
    content: '\f02d';/*this is a book icon
    line-height: 20px !important;
}*/

.widget_dpe_fp_widget li {
	clear: both;
}

.widget_dpe_fp_widget img {
    float: left;
    margin: 0 10px 10px 0;
}

.wpp_def_noPath {
    visibility: hidden;
}

div.content div.without_excerpt p {
    text-align: inherit;
}

/*SideBar formatting*/

div.col-sm-3 > .widget.widget_black_studio_tinymce.sidebar_editable,
div.col-sm-3 > .widget.widget_nav_menu.sidebar_editable {
	margin-top:  -20px;
}

/*Hover color change for social icons in the footer*/
.facebook,
.twitter,
.instagram,
.youtube,
.rss,
.newsletter {
    color: #808080 !important;
}

.facebook:hover {
    color: #3b5998 !important;
}

.twitter:hover {
    color: #55acee !important;
}

.instagram:hover {
	color: #bc2a8d !important;
}

.youtube:hover {
    color: #cd201f !important;
}

.rss:hover {
    color: #eaaf0f !important;
}

.newsletter:hover {
    color: #0077b5 !important;
} 

@media (min-width: 768px) {
	.line-blue {
		height: 5px;
		margin: 0 -15px 10px;
		background: #ffffff; /* Old browsers */
		background: -moz-linear-gradient(left,  #ffffff 0%, #00aeef 25%, #00aeef 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(25%,#00aeef), color-stop(100%,#00aeef)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  #ffffff 0%,#00aeef 25%,#00aeef 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  #ffffff 0%,#00aeef 25%,#00aeef 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  #ffffff 0%,#00aeef 25%,#00aeef 100%); /* IE10+ */
		background: linear-gradient(to right,  #ffffff 0%,#00aeef 25%,#00aeef 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00aeef',GradientType=1 ); /* IE6-9 */
		margin-top: 1px;
		z-index: 999 !important;
	}
	.home .hero-bg {
		height: 940px;/*changed to 895px to account for gap between containers due to height adjustment on frontpage featured containers*/
		z-index: -100 !important;
	}
	div.frontpage_featured_item {
		height: 520px;
	}
}

@media (min-width: 980px) {
	.home .hero-bg {
		height: 895px;/*changed to 895px to account for gap between containers due to height adjustment on frontpage featured containers*/
		z-index: -100 !important;
	}
	div.frontpage_featured_item {
		height: 465px;
	}
}

@media (min-width: 1200px) {
	.home .hero-bg {
		height: 895px;
		z-index: -100 !important;
	}
}

@media (max-width: 767px) {
	/**************************************
    *Changes to mega menu for mobile
    **************************************/
    .navbar-header {
		display: none;
	}

    nav#menu_row.navbar.navbar-default {
        position: relative;
        margin-top: 0;
        box-shadow: none;
        border-top: 0;
    }

    #mega-menu-wrap-primary .mega-menu-toggle {
        text-align: left;
    }

    /*************************************
    *End mega menu changes
    **************************************/
	
	.home .hero-bg {
		background: url(images/bg.jpg) no-repeat right 86px;
		z-index: -100 !important;
	}
	
	div.frontpage_featured_item {
		height: 500px;
	}

	.page div.content h2.post_title,
	.single div.content h2.post_title {
		margin-top: 50px;
	}
	
	.carousel-caption {
	font-size: 20px;
	line-height: 20px;
	font-weight: 600;
	text-shadow: 0 1px 5px #000;
	top: 75%;
	padding: 5px;
	bottom: initial;
	transform: translateY(-50%);
    background: url(images/gray50opacitypixel.png);
	}
	
	.homepage-link {
		visibility: hidden !important;
		margin-top: -50px;
	}
	
	.facebook {
        color: #3b5998 !important;
    }

    .twitter {
        color: #55acee !important;
    }

    .instagram {
    	color: #bc2a8d !important;
    }

    .youtube {
        color: #cd201f !important;
    }

    .rss {
        color: #eaaf0f !important;
    }

    .newsletter {
        color: #0077b5 !important;
    }
}

/* Functionality to change the appearance of the expand/collapse menus */

div.content h2.hide_show_title { 
    background: #ffffff; 
    background: -moz-linear-gradient(top,  #ffffff 0%, #ebebeb 20%, #F2F2F2 100%); 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(20%,#ebebeb), color-stop(100%,#F2F2F2)); 
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ebebeb 20%,#F2F2F2 100%); 
    background: -o-linear-gradient(top,  #ffffff 0%,#ebebeb 20%,#F2F2F2 100%); 
    background: -ms-linear-gradient(top,  #ffffff 0%,#ebebeb 20%,#F2F2F2 100%); 
    background: linear-gradient(top,  #ffffff 0%,#ebebeb 20%,#F2F2F2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#F2F2F2',GradientType=0 ); 
    border-bottom:1px solid #d6d6d6;  
    color:#000; 
    cursor:default; 
    -webkit-border-radius: 9px; 
    -moz-border-radius: 9px; 
    border-radius: 9px; 
    padding:10px; 
    border:1px solid #B7B7B7; 
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* Styles for the All Posts Template that displays a list of all news articles on a single page */

.all_posts {
    display: block;
    margin-top: -15px !important;
}

.all_posts h4,
.all_posts h3,
.all_posts h2 {
    text-align: center;
}

div.media-contact {
    text-align: left;
    display: block;
    float: right;
	margin-top: -10px;
	width: 100%;
}

#media-contact-info > .widget {
    padding: 0;
}

#media-contact-info > .widget > .clear40 {
    height: 10px;
}

.media-contact h4 {
	text-align: left;
    margin: 0;
}

@media ( max-width: 767px) {
	.all_posts {
		margin-top: -15px !important;
	}
}

/* **************************************************** */
/* Contact Form 7 Tweaks
/* **************************************************** */
span.wpcf7-list-item { display: table-row; }
span.wpcf7-list-item * { display: table-cell; }

/* ******** Available Property styles********************** */
#directContainer {
    position: relative;
    width: 1170px;
    height: 700px;
}

/* ******** YouTube Responsive Widget tweaks ***************** */
.StefanoAI-youtube-responsive {
    margin-top: 8px;
}

/* ******** Social Media Tabs on the Homepage ********************* */
#headline-bottom-right a.nav-link:hover,
#headline-bottom-right a.nav-link.active {
    text-transform: none !important;
    font-size: 16px !important;
}

#headline-bottom-right > #siteorigin-panels-builder-2 {
    padding: 0;
    margin-top: -13px;
}

/* ******** Horizontal Line Tweaks ******** */
div.content hr, .widget hr { margin:20px 0; border: none; border: 0; height: 1px; background: #333; background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc);  background-image:    -moz-linear-gradient(left, #ccc, #333, #ccc); background-image:     -ms-linear-gradient(left, #ccc, #333, #ccc); background-image:      -o-linear-gradient(left, #ccc, #333, #ccc);  }

/* ***************** Buttons for WRD Notices ***************** */

div.button-wrd {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0px;
	-webkit-box-shadow: 0px 1px 30px #8c8c8c;
	-moz-box-shadow: 0px 1px 30px #8c8c8c;
	box-shadow: 0px 1px 30px #8c8c8c;
	color: #ffffff;
	padding: 10px 20px 10px 20px;
	text-decoration: none;	
	text-align: center;
}

div.button-wrd a {
	text-decoration: none;
	color: #fff;
}

div.button-wrd-left {
	background: #eaaf0f;
	font-size: 20px;
	margin: auto;
	margin-bottom: 3%;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 30%;
}

div.button-wrd-right {
	background: #3498db;
	font-size: 16px;
	margin: auto;
	width: 20%;
}

div.button-wrd-right:hover {
	background: #3cb0fd;
	text-decoration: none;
	text-align: center;
}

div.button-wrd-left:hover {
	background: #f7b910;
	text-decoration: none;
	text-align: center;
}

@media (max-width: 767px) {
	div.button-wrd-left {
		width: 80%;
		margin: auto;
		margin-bottom: 10%;
	}

	div.button-wrd-right {
		width: 75%;
		margin: auto;
	}
}

/* New Table Style For Permit Search Tool*/

.new_table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

.new_table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

.new_table tr {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: .35em;
}

.new_table th,
.new_table td {
  padding: .625em !important;
  text-align: center;
}

.new_table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 600px) {
  .new_table {
    border: 0;
    background-color: #fff;
  }

  .new_table caption {
    font-size: 1.3em;
  }
  
  .new_table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  .new_table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  .new_table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
    padding: 10px !important;
  }
  
  .new_table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .new_table td:last-child {
    border-bottom: 0;
  }

}

/* Button for Probate/Juvenile Court Form Issues */

.pbjButton {
	-moz-box-shadow: 0px 10px 14px -7px #97c4fe;
	-webkit-box-shadow: 0px 10px 14px -7px #97c4fe;
	box-shadow: 0px 10px 14px -7px #97c4fe;
	background-color:#3d94f6;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:20px;
	font-weight:bold;
	padding:13px 32px;
	text-decoration:none;
	text-shadow:0px 1px 0px #1570cd;
}
.pbjButton:hover {
	background-color:#1e62d0;
	color: #ffffff;
	text-decoration: none;
}
.pbjButton:active {
	position:relative;
	top:1px;
	color: #ffffff;
	text-decoration: none;
}

