/*
Theme Name: Virginia Sherriff's Base Style
Theme URI: http://eleventymarketinggroup.com
Description: Base theme for VSI/VSA sites
Author: Nick Gehring
Author URI: http://eleventymarketinggroup.com
Version: 1.0
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
font-family: 'Open Sans', sans-serif;
}



/* **** Sitewide - Start **** */

p, a, em, strong {
font-size: 1em;
font-weight: lighter;
line-height: 1.45em;
}

p {
margin-bottom: 15px;
}

img {
max-width: 100%;
}

a {
color: #005E7F;
font-weight: bolder;
outline: 0;
text-decoration: none;
}

em {
font-style: italic;
}

strong {
font-weight: bold;
}

.screen-reader-text {
 position: absolute; 
  overflow: hidden; 
  clip: rect(0 0 0 0); 
  height: 1px; width: 1px; 
  margin: -1px; padding: 0; border: 0; 
}

/* keep box shadows consistent */
.shadow {
	-moz-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.25);
box-shadow: 0 5px 10px 0 rgba(0,0,0,0.25);
}


/* **** Sitewide - End **** */


/* **** Sitewide layout - Start **** */

.wrapper {
margin: 0 auto;
max-width: 960px;
width: 100%;
}

#content {
background-color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
border-radius: 5px;	
overflow: hidden;
padding: 20px;
position: relative;
z-index: 999;
}

	.col1 {
	float: left;
	margin: 0 2% 0 0;
	width: 63%;
	}
	
	.col2 {
	float: left;
	width: 35%;
	}

.fullwidth {
margin: 0;
width: 100%;
}

/* **** Sitewide layout - End **** */


/* **** Sitewide components - Start **** */

	/* Form inputs */
	input, textarea {
	border: 1px solid #C3B09F;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	border-radius: 5px;
		-moz-box-shadow: inset 0 0 10px #e4e4e4;
   		-webkit-box-shadow: inset 0 0 10px #e4e4e4;
   	box-shadow: inset 0 0 10px #e4e4e4;
   	outline: none;
	padding: 7px 10px;
	}
	
		::-webkit-input-placeholder {
   		color: #999;
   		font-style: italic;
		}

		:-moz-placeholder {  
   		color: #999;  
   		font-style: italic;
		}
		
	/* Boxes */
	
	.box {
	margin-bottom: 15px;
	}
	
	.box h3 {
	color: #fff;
	font-size: 1.05em;
	font-weight: lighter;
	padding: 5px 20px;
	}
	
	.box img {
	display: block;
	margin: 0 auto;
	}
	
		.box-content {
		font-size: .95em;
		padding: 15px 20px;
		}
	
	/* Calls to Action */
	
	.primarycall {
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	border-radius: 5px; 
	color: #fff;
	display: block;
	height: 28px;
	font-family: "Bree Serif", serif;
	font-size: 1.65em;
	font-weight: lighter;
	letter-spacing: .03em;
	margin-bottom: 10px;
	padding: 3px 20px 12px 20px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	}
	
	.secondarycall, .secondarycall input {
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	border-radius: 5px; 
	color: #fff;
	font-family: "Bree Serif", serif;
	font-size: 1em;
	font-weight: lighter;
	height: 33px;
	letter-spacing: .05em;
	padding: 3px 5px 5px 10px;
	position: relative;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;	
	}
	

	
	/* breadcrumbs */

	.breadcrumbs {
	font-size: .8em;
	margin-bottom: 15px	
	}
		
		.breadcrumbs a {
		text-decoration: underline;
		}
		

/* **** Sitewide components - End **** */


/* **** Sitewide header - Start **** */

header {
height: 30px;
padding: 50px 0 0 0;
position: relative;
}	
	
	#logo {
	color: #000;
	font-family: "Bree Serif", serif;
	font-size: 2.25em;
	font-weight: normal;
	height: 100px;
	left: 0;
	line-height: 1.25em;
	padding: 18px 0 0 112px;
	position: absolute;
	top: 5px;
	}
	
	
	#social-search {
	position: absolute;
	right: 0;
	top: 20px;
	width: 300px;
	}
	
	#fb {
	display: block;
	float: left;
	margin: 12px 10px 0 0;
	}
		
		#fb img {
		width: auto;
		}

	#twitter {
	display: block;
	float: left;
	margin: 12px 10px 0 0;
	}
		
		#twitter img {
		width: auto;
		}		

	
		.searchform {
		display: block;
		float: left;
		height: 47px;
		overflow: hidden;
		position: relative;
		}
			
			.searchform input[type="text"] {
			line-height: 14px;
			margin-top: 10px;
			padding: 10px 20px;
			width: 170px;
			}
			
			.searchform li {
			display: block;
			line-height: 14px;
			}
		
		.searchsubmit {
		background: url(imgs/searchbtn.png) no-repeat transparent;
		border: none;
			-moz-box-shadow: none;
			-webkit-box-shadow: none;
			-moz-border-radius: none;
			-webkit-border-radius: none;
		border-radius: none;		
		box-shadow: none;
		cursor: pointer;
		line-height: 14px;
		position: absolute;
		text-indent: -9999px;
		top: 20px;
		right: 10px;
		}
	




/* **** Sitewide header - End **** */


/* **** Sitewide nav - Start **** */

.menu-main-container {
height: auto;
padding-bottom: 10px;
}

	.js .menu-main-container {
	height: 45px;
	margin-bottom: -10px;
	padding-bottom: 0;	
	}

#menu-main {
overflow: hidden;
padding-top: 7px;
width: 860px;
}

#menu-main li {
display: block;
font-size: .95em;

}

#menu-main > li {
float: left;
}

	

#menu-main a {
position: relative;
}	
	

	
	.top-level > a {
	color: #fff;
	font-weight: normal;
    padding: 10px 14px;    
	}

	.sub-menu {
	display: none;
	}
	


	.active-menu {
	display: block;
	text-shadow: none !important;
		filter: dropshadow(enabled = false) !important;
	margin: -10px 0 -5px 0;
	}

	.first-sub-menu {
	display: none;
	padding: 15px;
	position: absolute;
	z-index: 9998;
	}
	
		.first-sub-menu a {
		color: #fff;
		display: block;
		margin-bottom: 15px;
		width: 100%;
		}
		
			.first-sub-menu:last-child {
			margin-bottom: 0;
			}
		
		.first-sub-menu .sub-menu {
		margin-bottom: 10px;
		}
	
	.second-sub-menu-item {
	font-weight: bold;
	}
	

	#menu-main ul ul li {
	}
	
		#menu-main ul ul li a {
		font-weight: normal;
		}
		
	#menu-main ul ul a:before {
	content: "\00BB";
	font-size: .85em;
	margin-left: 15px;
	margin-right: 5px;
	}

		
/* **** Sitewide nav - End **** */


/* **** Home Page Hero - Start **** */

.hero {
margin-bottom: 15px;
overflow: hidden;
position: relative;
}
	
	.hero .secondarycall {
	float: right;
	height: 21px;
	width: 50%;
	}
	
	.hero img {
	width: 100%;
	}
	
		.hero div.secondarycall:hover, .hero div.secondarycall:active {
		height: 21px;
		}
		
	.hero h3 {
	font-size: 2em;
	font-weight: bold;
	line-height: 1.25em;
	margin-bottom: 5px;
	}

	.hero li {
	position: relative;
	}
	
	.hero p {
	font-size: 1.25em;
	margin-bottom: 10px;
	}
	
	.hero ul {
	height: 326px;
	}

	.hero-content {
	position: absolute;
	width: 40%;
	}
	
	.herocall {
	padding-left: 20px;
	}
		
		.herocall span {
		top: 0;
		}
	
	/* hero navigation */
	
	.hero-pager {
	bottom: 0;
	color: #fff;
	font-size: 50px;
	left: 3%;	
	overflow: hidden;
	position: absolute;
	z-index: 200;
	}
	
		.hero-pager span {
		cursor: pointer;
		}
	
	
	/* positioning of text over img */

	.upper-left {
	left: 5%;
	top: 10%;
	}

	.upper-right {
	right: 5%;
	top: 10%;
	}
	
	.lower-right {
	right: 5%;
	bottom: 10%;
	}
		


/* **** Home Page Hero - End **** */


/* **** Small(er) Hero - Start **** */

.small-hero {
margin: 0 0 15px 0;
overflow: hidden;
padding: 0 0 10px 0;
}

	.small-hero h3 {
	font-size: 1.2em;
	font-weight: bold;
	line-height: normal;
	margin-bottom: .25em;
	}

	.small-hero p, .small-hero a {
	line-height: normal;
	margin-bottom: 0;
	}
	
		.small-hero a:hover {
		text-decoration: underline;
		}

	.small-hero img {
	border: 1px solid #999;
	width: 99.5%;
	}

	.small-hero-content {
	color: #000;
	}
	
	.small-hero .herocall {
	width: 30%;	
	}

/* **** Small(er) Hero - End **** */



/* **** News - Start **** */
.news h1 {
margin: 0 0 5px 0;
}

.news article {
border-bottom: 1px solid #E4E4DB;
margin: 0 0 5px 0;
padding: 0 0 5px 0;
}

	.news article:last-child {
	border-bottom: none;
	margin-bottom: 15px;
	}

.newspage-head  {
font-size: 1em !important;
margin: 0 !important;
}

time {
font-size: .85em;
font-style: italic;
margin: 0 0 10px 0;
}

.readmore {
font-size: 1em;
margin-bottom: 0;
text-align: right;
text-decoration: underline;
}

/* **** News - End **** */


/* **** Archives - Start **** */

.paged-navi {
background-color: #f0f0f0;
margin: 10px 0;
overflow: hidden;
padding: 5px 10px;
}

	.paged-navi li {
	list-style-type: none !important;
	margin: 0 !important;
	}

.nav-previous {
float: right;
}

.nav-next {
float: left;
}

.archivesbox li {
margin: 0 0 0 15px;
}

.archivesbox a {
font-weight: normal;
}

/* **** Archives - End **** */


/* **** Email Updates - Start **** */

.emailupdates {
width: 100%;
}
	
	.emailupdates li {
	display: inline;
	margin: 0 !important;
	}

	.emailupdates input[type="text"] {
	margin-right: 3%;
	padding: 9px 20px;
	width: 60%;
	}

	.emailupdates input[type="submit"] {
	background-color: transparent;
	border: none;
	box-shadow: none;
	width: 25%;
	}
	
	.error {
	color: red;
	}

	.confirmed {
	color: green;
	}

/* **** Email Updates - End **** */


/* **** Sheriff Directory Search - Start **** */

.sheriffsearchform {
position: relative;
}

	.sheriffsearchform .searchsubmit {
	right: 0;
	top: 10px;
	}

.sheriffsearchform input[type="submit"] {
background-color: transparent;
border: none;
box-shadow: none;
}
	
	.sheriffsearchform .secondarycall {
	height: 26px;
	padding: 0 0 5px 0;
	}
	
#sheriffsearch {
height: 22px;
margin-bottom: 5px;
padding-left: 20px;
width: 92%;
}


.ui-autocomplete {
border-bottom: 1px solid #ccc;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
width: 250px; 
}

.ui-menu-item a {
background-color: #fff; 
border-top: 1px solid #ccc;
color: #000;
cursor: pointer;
display: block;
font-size: .9em; 
font-weight: normal;  
padding: 5px 20px;
}

	.ui-menu-item a:hover, .ui-menu-item a:active {
	background-color: #eee;
	}

.sheriff_block {
border-bottom: 1px #E4E4DB solid;
margin-bottom: 10px;
}

.sheriff_block h3 {
font-weight: bold;
}

.sheriff_block img {
float: right;
height: 175px;
width: 175px;
}

.sheriff_block ul {
margin: 0 0 2% 0;
}
	
.sheriff_block li {
font-size: 1em;
font-weight: lighter;
line-height: 1.45em;
list-style-type: none !important;
margin: 0 !important;
}	

/* **** Sheriff Directory Search - End **** */


/* **** Partners - Start **** */

.partners img {
display: block;
margin: 0 auto 7px auto;
width: 80%;
}

	#partner-page li {
	border-bottom: 1px #E4E4DB solid;
	list-style-type: none;
	margin-left: 0;
	margin-bottom: 10px;
	padding-bottom: 10px;
	}


	/* Partner page */
	
	#partner-page {
	overflow: hidden;
	}
	
	#partner-page ul {
	float: left;
	margin-left: 0;
	margin-right: 2.5%;
	width: 45%;
	}

/* **** Partners - End **** */



/* **** Pages & Posts - Start **** */

.page article h1, .single article h1, .search article h1, .error404 h1, .archive h1 {
font-size: 1.75em;
font-weight: bold;
line-height: 1.15em;
margin-bottom: 10px;
}

.page article h2, .single article h2, .error404 article h2 {
color: #999;
font-size: 1.2em;
font-style: italic;
font-weight: lighter;
line-height: 1.35em;
margin-bottom: 10px;
}

.page article h3, .single article h3, .error404 article h3 {
font-size: 1.2em;
font-weight: bold;
line-height: 1.35em;
margin-bottom: 10px;
}
	
	.page article h3 em, .single article h3 em, .error404 article em {
	font-weight: bold;
	}

.page article h4, .single article h4, .search article h4, .error404 article h4 {
font-size: 1.1em;
font-weight: bold;
line-height: 1.35em;
margin-bottom: 10px;
}

.page article h5, .single article h5, .search article h5, .error404 article h5 {
font-size: 1.25em;
font-weight: bold;
margin-bottom: 10px;
}


.page article h6, .single article h6, .search article h6, .error404 article h6 {
font-size: 1.25em;
font-style: italic;
line-height: 1.35em;
margin-bottom: 15px;
}



.page article a:hover, .single article a:hover {
text-decoration: underline;
}

.page article .col1 ul, .single article ul {
margin: 0 0 10px 0;
}

.col1 li {
font-size: 1em;
line-height: 1.35em;
font-weight: lighter;
margin: 0 0 10px 50px;
list-style-type: disc;
}

.col1 ol li {
list-style-type: decimal;
}



.page article td, .single article td {
font-size: 1em;
line-height: 1.3em;
padding: 5px;
}

.page article tr:nth-child(even), .single article tr:nth-child(even) {
background-color: #eee;
}

.alignleft {
float: left;
margin: 0 10px 10px 0;
width: auto;
}

.alignright {
float: right;
margin: 0 0 10px 10px;
}

.wp-caption-text {
	font-size: .9em;
	font-style: italic;
}

	/* add a pdf icon before links */

	/* a[href$='.pdf'] { 
	background: url(imgs/icon_pdf.gif) transparent no-repeat center left;
	padding: 0 0 0 20px;
	} */
	
	.search section {
	border-bottom: 1px solid #E4E4DB;
	padding-bottom: 10px;
	margin-bottom: 15px;
	}
	
	.search section:last-child {
	border-bottom: none;
	margin-bottom: 15px;
	}


/* **** Pages - End **** */


/* **** contact form 7 - start **** */
	
	.wpcf7-file {
	border: 1px solid #C3B09F;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	border-radius: 5px;
		-moz-box-shadow: inset 0 0 10px #e4e4e4;
   		-webkit-box-shadow: inset 0 0 10px #e4e4e4;
   	box-shadow: inset 0 0 10px #e4e4e4;
   	outline: none;
	padding: 7px 10px;
	}
	
	.wpcf7-form label {
	color: #333;
	font-style: italic;
	font-weight: normal;
	}
	
	.wpcf7-form li {
	list-style-type: none !important;
	margin: 0 0 15px 0 !important;
	}
	
	.wpcf7-list-item-label {
	margin-right: 10px;
	}
	
	span.wpcf7-list-item {
	margin: 0 !important;
	}
	
	.ajax-loader {
	height: 15px;
	width: 15px;
	} 
		
/* **** contact form 7 - end **** */



/* **** Footer - Start **** */

footer {
font-size: .75em;
margin: 15px 0 0 0;
}

	.menu-footer-container {
	margin: 0 0 4px 0;
	overflow: hidden;
	}
	
	.menu-footer-container a {
	padding: 0;
	text-decoration: underline;
	}

	.menu-footer-container li {
	float: left;
	}

	.menu-footer-container li:after {
	content: "|";
	margin: 0 3px;
	}
	
	.menu-footer-container li a:first-child {
	padding: 0;
	}
	
	.menu-footer-container li:last-child:after {
	content: "";
	}
	

/* **** Footer - End **** */

/* **** Modal - Start **** */

.modal-bg {
	background-color: rgba(0,0,0,0.45);
	cursor: pointer;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
}

.modal-wrap {
	left: 50%;
	margin: -128px 0 0 -123px;
	position: fixed;
	top: 50%;
	z-index: 9999;
}

.modal-content {

}

