﻿/* ===============
   GLOBAL SETTINGS 
   =============== */ 

/*html {
	 overflow-y: scroll; 
}*/

body {
	font-family: Arial,"Segoe UI", Verdana, Helvetica Neue, Helvetica,sans-serif;
	font-size: 13px;
	line-height: 1.428571429;
	color: black;
	background-color: white;
	align-content: center;
}

p {
	margin: 0 0 10px;
}

/*used for bold text*/
.boldStmt {
font-weight: bold;	
}

/*used for red text*/
span.required {
	font-size: small;
	font-style: italic;
	color: red;
}

img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/*Buttons*/

/*.btn-primary {
	color: white;
	background-color: steelblue;
	border-color: blue;
}*/

/*.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.428571429;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 4px;
}*/

/*input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
    resize: none;
}*/

/*button, html input[type="button"], input[type="reset"], input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}*/

/*button, select {
	text-transform: none;
}*/

/*button, input {
	line-height: normal;
}*/

button:hover{
	/*background-color: #204d74;*/  /*hex value used to match css bootstrap*/ 
}

/*anchors/links*/

/*a {
	color: blue;
	text-decoration: none;
	box-sizing: border-box;
}*/

/* unvisited link */
/*a:link {
	color: blue;
}*/

/* visited link */
/*a:visited {
	color: purple;
}*/

/* mouse over link */
/*a:hover {
	color: steelblue ;
}*/

/* selected link */
/*a:active {
	color: red;
}*/

.section_group {
	width: 100%;
	background-color: steelblue;
    border-color: steelblue;
}

.noscriptmsg {
	display: block; 
	height: auto; 
	width: auto; 
	align-content: center; 
	max-width: 1024px; 
	min-width: 340px; 
	margin: auto; 
	padding: 4px 24px 4px 24px; 
	color: red;
}	

/* ===============
   VIEW SETTINGS 
   =============== */	

/*container that centers and limits width */
#landing_container {
	height: auto; 
	width: auto;
	align-content: center;
	max-width: 1024px;
	min-width: 340px;
	margin: auto;
	padding: 4px 24px 4px 24px;
	background-color: white;
}

.control-label {
	font-size: small;
	font-weight: bold;
    }

.editor
{
    margin: 1em 0 0 0;
}

.display-label,
.editor-label
{
    margin: 1em 0 0 0;
	background-color: white;
}

.display-field,
.editor-field
{
    margin: 0 0 0 0;
	display: block;
	width: 100%;
}

.text-box
{
    width: 100%;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

div.message {
    display: none;
    border: 1px solid black;
    height: 30px;
    width: 290px;
    margin-left: 10px;
}

/*used for hover information text*/
#image {
    position: relative;
}

#image .hover {
    display: none;
    position: absolute;
    bottom: 0;
}

#image:hover .hover {
    display: block;
	height: 80px;
    width: 340px;
    float: right;
	background-color: lightgray;
	border-color: steelblue;
	border-width: 2px;
	font-size: smaller;
	padding: 3px 3px 3px 3px;
	border-radius: 10px;
}

/*used for validation errors*/
    .validation-summary-valid {
        display: none;
    }
    .field-validation-error {
        background-image: url('../images/error.png');
        background-repeat: no-repeat;
        display: inline-block;
        width: 19px;
        height: 19px;
        margin: 0;
        padding-right: 0px;
        position: relative;
        vertical-align: top;
     }
    .input-validation-error {
       border: 1px solid #ff0000;
       background-color: #ffeeee;
    }
     .validation-summary-errors{
        font-weight: bold !important;
        color: #ff0000 !important;
        border-bottom: none;
        border-bottom-width: 1px;
        border-bottom-color: lightgray;
    }
    
#accordion .ui-accordion-content {
    font-family: Arial,"Segoe UI", Verdana, Helvetica Neue, Helvetica,sans-serif;
	font-size: 13px;
	line-height: 1.428571429;
	color: black;
	background-color: white;
	align-content: center;
    display: block;
    
    }
    #accordion .ui-accordion-header {
    padding: 10px 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background: none;
	background-color: #337ab7;
	color: #fff;
	font-family: Arial;
	font-size: 13px;
  }
    .validationSummaryLink{
    color: red !important;
}

/*add border between rows :not(:last-child)*/ 
.border-between {
	border-top: 1px solid #337ab7;
	border-left: 1px solid #337ab7;
    border-right: 1px solid #337ab7;	
}

/*add padding on top of each row except first child*/
.border-between:not(:first-child) {
	padding-top: 0.5em;
}

/*add bottom border on last child*/
.border-between:last-child {
	border-bottom: 1px solid #337ab7;	 
}

/*add side border between rows and not in-between*/
.no-border-between {
	border-left: 1px solid #337ab7;
    border-right: 1px solid #337ab7;
	padding-top: 0.57em;
}

/*remove padding on navigator row*/
#navrow {
	padding-top: 0em;
} 

/*add border between columns*/
.col-border {
	border-right: 1px solid #337ab7;	 
}

#sitemap {	
	height: 100%; 
	width: 100%;
	overflow: hidden; 
	float: left;
}

/*remove the padding of link button to align with other text*/
.btn_plus_infos {
	padding: 0px !important;
	text-align: left!important;
	white-space: normal !important;
}

/*set fixed height for borderless table*/
.table-borderless {
	min-height: 182px;
}

/*create table with no borders*/
.table-borderless>thead>tr>th, 
.table-borderless>tbody>tr>th, 
.table-borderless>tfoot>tr>th, 
.table-borderless>thead>tr>td, 
.table-borderless>tbody>tr>td, 
.table-borderless>tfoot>tr>td {
	border: none !important;	
}

/*set fixed width*/
.table-borderless>tbody>tr>td:first-child {
	width: 6% !important;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

/*remove the bottom margin on the table to avoid extra white space*/
.col-sm-12>table {	
	margin-bottom: 0px;
}

/*removed the transparency on close button*/
.close {	
	/*opacity:1 !important;*/
	padding-top: 2px !important;
}

/*Desktop/tablet version*/
@media only screen and (min-width: 768px) {

	/*add bottom border on last child*/
	.border-between:last-child {
		border-bottom: 1px solid #337ab7;
	}	
	
	/*increase the width of result section*/
	#CountySelector,
	#divResult {	
		max-width: 940px;
		margin: 0 auto;	
		clear: both;
	}

	/*add top,right,bottom border between columns*/
	#divMap {
		display: inline;
		height: 669px;
		border-top: 1px solid #337ab7;
		border-bottom: 1px solid #337ab7;
		border-right: 1px solid #337ab7;
		padding: 0px;
	}

	#divCounty {
		float: left;
	}

	#divLink {
		float: right;
		
	}

	#divLink > p:last-child {
		text-align: right;
	}
}

/*mobile version*/
@media only screen and (max-width: 767px) {

	/*add bottom border on last child 
    before navigator row since it is hidden*/
	.no-border-between:nth-last-child(2),
	#Results .border-between:nth-last-child(2) {
		border-bottom: 1px solid #337ab7;	
	}

	/*hide navigator button row*/
	#navrow {
		display: none;
	}
	
	/*hide map section*/
	#divMap {
		display: none;
	}

	/*reduce the width of result section*/
	#CountySelector,
	#divResult {
		max-width: 452px;	
		margin: 0 auto;	
	}	
}

/*Mobile Landscape version*/
@media (min-width: 520px) and (max-width: 767px) and (orientation: landscape) {
	/*Needed to show the election information in one line*/
	#CountyElectionInfo {
		min-width: 500px;
	}
}