/**
 * Theme Name: Candidate Child Theme
 * Template: candidate
*/


/*------------------------------------------------------------------
[Add Your Custom CSS Here] */

.post-side-meta {

   display: none;

}
/*-----jason 10.18.18 My attempt to better align the elements in the sidebar on homepage*/
[class^="icon-check"]:before, [class*=" icon-check"]:before { /* Originally: class^="icon-" */ /* Originally: class*=" icon-" */ /* This is also true for the other icons; users, star-1, chat-empty and calendar*/
    margin-left: .7em !important; /* Originally: .2em */
}
[class^="icon-users"]:before, [class*=" icon-users"]:before { 
    margin-left: .7em !important; /* Originally: .2em */
}
[class^="icon-star-1"]:before, [class*=" icon-star-1"]:before {
    margin-left: .7em !important; /* Originally: .2em */
}
[class^="icon-chat-empty"]:before, [class*=" icon-chat-empty"]:before {
    margin-left: .7em !important; /* Originally: .2em */
}
[class^="icon-folder-open"]:before, [class*=" icon-folder-open"]:before {
    margin-left: .7em !important; /* Originally: .2em */
}
[class^="icon-user-1"]:before, [class*=" icon-user-1"]:before {
    margin-left: .7em !important; /* Originally: .2em */
}
[class^="icon-location-1"]:before, [class*=" icon-location-1"]:before {
    margin-left: 0.7em !important;
}
[class^="icon-wheelchair"]:before, [class*=" icon-wheelchair"]:before {
    margin-left: .7em !important; /* Originally: .2em */
}

.banner {
    padding: 18px 10px 15px 70px; /* Originally: 18px 10px 15px 50px */
}
body .banner h4, body .section.full-width-bg .banner h4 {
    font-size: 17px !important; /* Originally: 18px  */
}
/*-- Changes the Election Center News "2018 Midterm Election" link red---*/
.blog-post h4 a[href*="results-"], .blog-post h4 a[href$="results-here/"] {
    color: #670c15 !important; 
    font-weight: 800 !important;
}

#nextElectionTag [class^="icon-ok"]:before, [class*=" icon-ok"]:before{
	margin-left:0em !important;
}

@media all and (max-width:766px) {
	#nextElectionTag [class^="icon-ok"]:before, [class*=" icon-ok"]:before{
		margin-left:.7em !important;
}	
}

/*-------------------------Home Page Custom Slideshow STARTS -----------------------------------------*/
h20{
    font-family: 'Open Sans' !important;
    font-size:30px;
    color:white;
    font-weight: bold;
}


#slideshow {
    position: relative;
    margin-top: 14px;
    max-width: 870px;
    height: 488px;
}

#slideshow > .imgHolder {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

#slideshow > .imgHolder > img{
    max-width: 100%;
    height: auto;
}

.messageHolder{
    position: absolute;
    z-index: 3;
    display: block;
    left: 0px;
    right: 0px;
    bottom:0px;
    box-sizing: border-box;
    /* padding-left: 12px; */
    padding-bottom: 20px;
}
.imgHolder::before {
    background-image: linear-gradient( top, 
            rgba(0, 0, 0, 0) 0%, rgba( 0, 0, 0, .5 ) 100% );
        background-image: -moz-linear-gradient( top, 
            rgba( 0, 0, 0, 0 ) 0%, rgba( 0, 0, 0, .5  ) 100% );
        background-image: -ms-linear-gradient( top, 
            rgba( 0, 0, 0, 0 ) 0%, rgba( 0, 0, 0, .5  ) 100% );
        background-image: -o-linear-gradient( top, 
            rgba( 0, 0, 0, 0 ) 0%, rgba( 0, 0, 0, .5  ) 100% );
        background-image: -webkit-linear-gradient( top, 
            rgba( 0, 0, 0, 0 ) 0%, rgba( 0, 0, 0, .5  ) 100% );
    content: "\00a0";
    height: 50%;
    position: absolute;
    bottom:0;
    width: 100%;
} 
@media only screen and (max-width: 870px){
    h20{
        font-size:24px;
    }
  }

 @media only screen and (max-width: 540px){
    h20{
        font-size:18px;
    }
  } 
/*-------------------------Home Page Custom Slideshow ENDS -----------------------------------------*/


/*------------------------- Header and Bobbie Profile Pic STARTS -----------------------------------------*/

.logo_img{
	content:url("http://elections.jeffersoncountyclerk.org/wp-content/uploads/2018/02/elections_logo5_sansserif_rev.png") !important;
}

#bobbie_profile{
    height:100px;
    position: relative;
    margin-right: 100px;
}

#bobbie_profile div{
    width: 130px; 
    height:132px; 
    position: absolute;
    right:0px;
    top:14px; 
    background-image: url(/wp-content/themes/candidate/img/bobbie_headshot_2.png);background-size: auto 100%; 
    background-repeat: no-repeat; 
}
#main_quote{
    margin-left: 90px;
}
#main_quote span{
    display: block; 
    text-align: right;
    max-width:310px;
    font-style: italic;
    height: 18px;
}

@media only screen and (max-width: 1200px) { 
    #bobbie_profile{
        display: none;
    }
}

@media only screen and (max-width: 767px) { 

    #main-header blockquote {
        text-align: left;
        display: inline-block;
        margin: 30px 0 0 0;
    }

    #main_quote span{
        max-width:95%;
    }

    #bobbie_profile{
        display: block;
        margin-bottom: 28px;
    }
    #main_quote{
        margin-left: 0px;
    }
}

/*------------------------- Header Bobbie Profile Pic ENDS -----------------------------------------*/

/****************** RED Banner START ******************/



:root {
	--red: #C22E31;
	--grey: #BEBEBE;
	--blue: #16325C;
	--skyblue: #5191F1;
}

.gsc-search-button-v2, .gsc-search-button-v2:hover, .gsc-search-button-v2:focus {
    border-color: #821618 !important;
}

.gsc-search-button{
	height: 30px !important;
}
.gsc-search-button-v2{
	padding: 8px 27px 0px 27px !important;
	border-radius: 0;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}


.gsc-input-box {
    padding-top: 1px !important;
    padding-bottom: 0 !important;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#main-header{
	height: 250px;
	width: 100% !important;
	margin: 0;
	padding: 0;
}

#red-header-container {
	width: 100%;
	max-width: 1200px;
	height: 250px;
	position: absolute;
    overflow:hidden !important;
	z-index: 3;
	top: 0;
	left: calc(50% - 600px);
	right: 0;
	display: grid;
	grid-template-columns: 475px 250px 475px;
	grid-template-rows: 82px 84px 84px;
	gap: 0px 0px;
	grid-template-areas: 'logo logo logo' 'nameplate bobbie quote' 'nameplate bobbie search';
  }
  
  #red-header-container .offices {
	grid-area: offices;
	line-height: 1.4em;
	margin: 18px 0 0 0;
	font-size: 14px;
	color: var(--blue);
	letter-spacing: .02em;
	height: 10px;
	width: 252px;
	display: none;
  }
  
  #red-header-container .offices span {
	font-weight: 700;
  }
  
  #red-header-container .logo {
	grid-area: logo;
	position: absolute;
	z-index: 4;
	left: calc(50% - 38px);
	top: 2px;
	height: 76px;
	width: 76px;
  }
  
  #red-header-container .nameplate {
	grid-area: nameplate;
	position: absolute;
	left: 32px;
	margin: 14px 0 0 30px;
	width: 270px;
	height: 110px;
	background-position: center center;
	background-repeat: no-repeat;
  }

  #nameplate-centered{
	  display: none;
  }
  
  #red-header-container .bobbie {
	grid-area: bobbie;
	background-position: center 5px;
	background-repeat: no-repeat;
	overflow: hidden;
  }

  #red-header-container .bobbie .bobbie-img{
	position: absolute;
	z-index: 2;
	top:calc(50% - 35px);
	left: calc(50% - 65px);
  }
  #red-header-container .bobbie .jcco_seal-glow {
	position: absolute;
	z-index: 1;
	top:calc(50% - 300px);
	left: calc(50% - 300px);
  }
  
  #red-header-container .quote {
	grid-area: quote;
	position: absolute;
	left: 0;
	margin: 40px 0 0 100px;
	height: 70px;
	width: 310px;
	font-style: italic;
    text-indent:2px;
	font-weight: 400;
  }
  
  #red-header-container .quote p {
	margin: 0;
	padding: 0;
	color: white !important;
	font-size: 15px !important;
    font-style:normal;
	letter-spacing: .02em !important;
	line-height: 1.4em !important;
  }
  
  #red-header-container .quote #vip {
	font-weight: 600;
  }
  
  #red-header-container .quote #attribution {
	display: block;
	width: 310px;
	text-align: right;
	font-size: 15px;
	font-weight: 500;
	padding: 2px 0 0 0;
	color: white !important;
	letter-spacing: .02em;
  }
  
  #red-header-container .quote:before {
	font-family: "fontello";
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: 0.2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: 1.1em;
	content: '\ebe1';
	color: white;
	font-size: 11px;
	position: absolute;
	left: -26px;
  }
  
  #red-header-container .quote p:after {
	font-family: "fontello";
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	width: 1em;
	margin-left: 4px;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	content: '\ebe2';
	color: white;
	font-size: 11px;
	position: relative;
	top: 3px;
  }
  
  #red-header-background {
	position: absolute;
	height: 250px;
	background-color: var(--red);
	overflow: hidden;
	top: 0;
	right: 0;
	left: 0;
  }

  #red-header-background #red-flag-overflow-assistant{
    position: absolute;
	width: 600px;
	height: 700px;
    top:calc(50% - 350px);
  }

  
  #red-header-background .office-title {
	position: absolute;
	left: calc(50% - 248px);
	background-repeat: no-repeat;
	z-index: 4;
	top: 20px;
	text-align: center;
	width: 430px !important;
	height: 20px !important;
  }
  
  #red-header-background .red-header-banner {
	position: absolute;
	z-index: 3;
	height: 50px;
	background-color: var(--grey);
	top: 0;
	left: 0;
	right: 0;
  }
  
  #red-header-background .red-header-banner .gradient-bar {
	position: relative;
	z-index: 1;
	display: block;
	overflow: hidden !important;
	width: 100%;
	max-width: 850px;
	margin: 0 auto;
	height: 50px;
  }
  
  #red-header-background .red-header-banner .gradient-bar img {
	position: absolute;
	top: 0;
	left: calc(50% - 425px);
	width: 850px !important;
	height: auto;
  }
  
  #red-header-background .red-header-banner .gradient-bar-shadow {
	display: block;
	position: absolute;
	z-index: 0;
	/* width: 100%; */
	width: 750px;
	left:calc(50% - 375px);
	height: 30px;
	background-repeat: no-repeat;
	background-position: center -50px;
  }
  
  #red-header-background .red-header-banner .gradient-bar-shadow img {
	position: relative;
	display: block;
	width: 750px;
	top: -40px;
	left: calc(50% - 375px);
  }


  /*--------------------------------------------------------------
.Blue Banner RESPONSIVE 
--------------------------------------------------------------*/
@media only screen and (max-width: 1199px) {
	#red-header-container {
		width: 100%;
		max-width: 950px;
		height: 250px;
		position: absolute;
		z-index: 3;
		top: 0;
		left: calc(50% - 475px);
		right: 0;
		display: grid;
		grid-template-columns: 350px 250px 350px;
		grid-template-rows: 82px 84px 84px;
		gap: 0px 0px;
		grid-template-areas: 
		'logo logo logo' 
		'nameplate bobbie quote' 
		'nameplate bobbie search';
	}
	#red-header-container .search {
		margin: 5px 0 0 40px;
	}
	#red-header-container .nameplate {
		left:0;
		margin: 14px 0 0 0;
		width: 270px;
	}

	#red-header-container .quote {
		font-size: 15px;
		font-weight: 400;
		width: 310px;
		margin: 40px 0 0 40px;
	}
	#red-header-container .quote span {
		font-size: 15px;
	}
	.bobbie img {
		margin-top: 0px;
	}
}
  
@media only screen and (max-width: 990px) {
	#red-header-container {
		width: 100%;
		max-width: 950px;
		height: 250px;
		position: absolute;
		z-index: 3;
		top: 0;
		left: calc(50% - 475px);
		right: 0;
		display: grid;
		grid-template-columns: 350px 250px 350px;
		grid-template-rows: 50px 0 0 200px;
		gap: 0px 0px;
		grid-template-areas: 
		'blank_1 logo blank_2' 
		'blank_3 offices blank_4' 
		'nameplate bobbie quote' 
		'nameplate bobbie search';
	}

	#red-header-container .bobbie .bobbie-img{
		position: absolute;
		width: 130px;
		z-index: 2;
		top:calc(50% - 60px);
		left: calc(50% - 65px) !important;
  	}

	 #red-header-container .bobbie .jcco_seal-glow {
		display: none;
	}

	#red-header-container .search {
		margin: 5px 0 0 40px;
	}
	#red-header-container .nameplate {
		left:0;
		margin: 14px 0 0 0;
		width: 270px;
	}

	#red-header-container .quote {
		font-size: 15px;
		font-weight: 400;
		width: 310px;
		margin: 40px 0 0 40px;
	}
	#red-header-container .quote span {
		font-size: 15px;
	}
}

@media only screen and (max-width: 767px) {
	#red-header-container {
		width: 100%;
		height: 310px;
		position: absolute;
		z-index: 3;
		top: 0;
		right: 0;
		left: 0;
		display: grid;
		grid-template-columns: 1fr 300px 1fr;
		grid-template-rows: 80px 50px 0px 180px;
		gap: 0px 0px;
		grid-template-areas: 
		'blank_1 logo blank_2' 
		'blank_3 offices blank_4' 
		'blank_5 nameplate blank_6' 
		'blank_7 bobbie blank_8' 
	}

	#main-header{
		height: 310px;
	}

	.office-title {
		display: none;
	}

	.offices {
		width: 100% !important;
		margin: 4px 0 0 0 !important;
		text-align: center;
		color: white !important;
		display: block !important;
	}

	#red-header-container .bobbie .bobbie-img{
		position: absolute;
		width: 130px;
		z-index: 2;
		top:calc(50% - 65px);
		left: calc(50% - 65px) !important;
  	}

	#red-header-background {
		position:relative;
		height: 345px;
		overflow:hidden !important;
	}

	#red-header-background .red-header-banner  {
		position:relative;
		overflow:hidden !important;
	}

	#red-header-background .red-header-banner .gradient-bar {
		position:absolute !important;
		overflow:hidden !important;
		width: 850px !important;
		left: calc(50% - 425px);
	}

	#red-header-background .red-header-banner .gradient-bar img {
		position: absolute !important;
		width: 850px !important;
		height: auto !important;
		left: calc(0% - 0px);
		margin:0 0 0 0;
	}
}
  
  @media only screen and (max-width: 300px) {
	#red-header-container {
	  box-sizing: border-box;
	  padding: 0 14px;
	  grid-template-columns: 1% 1fr 1%;
	  grid-template-rows: 80px 50px 0px 180px;
	  gap: 0px 0px;
	  grid-template-areas: 
	  'blank_1 logo blank_2' 
	  'blank_3 offices blank_4' 
	  'blank_5 nameplate blank_6' 
	  'blank_7 bobbie blank_8';
	}

	.bobbie {
		grid-area: bobbie;
		display: block;
		width: 100%;
		background-size: contain;
		background-position: center bottom !important;
		background-repeat: no-repeat;
	}

	.bobbie img {
		width: 150px;
		height: auto;
		display: block;
		margin-top: 5px;
		left: calc(50% - 75px) !important;
	}

	#red-header-container .nameplate, .offices {
	  width: 100% !important;
	  height: auto;
	  right: auto;
	  left: auto;
	}

	#red-header-background #red-flag {
		display: none;
	}

  }