/*
 Theme Name:     Sheriff
 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
*/

/* ********** 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 ***** */

/* ***** Inmate List Styles ***** */

#inmate_list.table{ width:90%; margin:10px auto 20px; border:none;   -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; border-collapse:collapse; background:transparent; }
#inmate_list.table tr { background:transparent; border-bottom:1px solid #a3a3a3!important; }
#inmate_list.table th { padding:10px;  background:transparent; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
#inmate_list.table th:first-child { padding:10px 10px 10px 0px;  background:transparent; }
#inmate_list.table th:first-last{ padding:10px 0px 10px 10px;  background:transparent; }
#inmate_list.table td { padding:10px;  background:transparent; }
#inmate_list.table td:first-child { padding:10px 10px 10px 0px;  background:transparent; }
#inmate_list.table td:last-child { padding:10px 0px 10px 10px;  background:transparent; }

div.container.inmate-list {
    margin-top: 0;
}

div.container.inmate-list > h2.post_title {
    text-align: center;
}

#judge_description {
    font-weight: bold;
}

div.container.inmate-list > 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);  }


/* ***** End Inmate List Styles ***** */

/* ***** Citizen Survey Styles ***** */

input[type=text],
input[type=email],
textarea {
	width: 600px;
	height: 30px;
	font-size: 0.9em;
}

textarea {
	height: 230px;
	margin-bottom: 15px;
}

@media (max-width: 767px) {
	input[type=text],
	input[type=email],
	textarea {
		width: 250px;
	}
}

/* ***** End Citizen Survey 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;
	box-shadow: 0 2px 3px #808080;
	/*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: #E7A145;
	border-top: 5px solid #E7A145;
}

body > .container.frontpage_featured .featured:first-child > div {
	background: #E7A145;
	border-top: 5px solid #E7A145;	
}

body > .container.frontpage_featured .featured:last-child > div {
	background: #E7A145;
	border-top: 5px solid #E7A145;  
}

header #menu_row {
	background: #fff;
	z-index: 9999 !important;
	box-shadow: 0 2px 3px #808080;
}

#slideshow {
	box-shadow: 0 2px 5px #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;
}

/* 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;
}

#back-to-top i:hover {
	opacity: 1;
}

.bottom-bg {
	background: #fff;
	background: -webkit-linear-gradient(#eaeaea 0%,#f7f7f7 15%, #fff 100%); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#eaeaea 0%,#f7f7f7 15%, #fff 100%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#eaeaea 0%,#f7f7f7 15%, #fff 100%); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#eaeaea 0%,#f7f7f7 15%, #fff 100%); /* Standard syntax */
}

div.container.bottom-bg.frontpage_headline {
	margin-top: 0px;
}

.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;
}

/* 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: 25px !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;
}

.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,
.youtube,
.instagram,
.newsletter {
    color: #808080 !important;
}

.facebook:hover {
    color: #3b5998 !important;
}

.twitter:hover {
    color: #55acee !important;
}

.youtube:hover {
    color: #cd201f !important;
}

.instagram:hover {
    color: #fb3958 !important;
}

.newsletter:hover {
    color: #1eb53a !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;
    }

    .youtube {
        color: #cd201f !important;
    }

    .instagram {
        color: #fb3958 !important;
    }

    .newsletter {
        color: #1eb53a !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);  }