/* Reset
------------------------------------*/
/********  THEME PALLETE  **********/

/*
  Logo Blue   -> Royal Blue -> rgb(22, 52, 112)
  Accent Blue -> Light Blue -> rgb(51, 126, 183)
  Accent Gray -> Light Grey -> rgb(214, 214, 214)
  Links       -> Dark Blue  -> rgb(22, 54, 111)
  Header BG   -> Dark Gray  -> rgb(33, 38, 44)
  Site BG     -> Dark Gray  -> rgb(49, 49, 49)
  Accent Red  -> Red        -> rgb(182, 0, 0)
*/
/********* File: base.css **********/
/***********************************/

html {
  font-family: 'Open Sans', sans-serif;
  max-width: 100%;
  min-height: 100% !important;
  background-color: whitesmoke;
}

iframe #main {
  background-color:blue;
}

#main iframe > html {
  background: white;
}

body {
  background:whitesmoke;
	margin: 0;
	padding: 0;
	max-width: 100% !important;
	overflow-x: hidden;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
html, html a {
  -webkit-webkit-font-smoothing: antialiased;
  -moz-webkit-font-smoothing: antialiased;
  -ms-webkit-font-smoothing: antialiased;
  -o-webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
::selection {
  background: rgb(22, 52, 112); /* WebKit/Blink Browsers */
  color: white;
}
::-moz-selection {
  background: rgb(22, 52, 112); /* Gecko Browsers */
  color: white;
}
a {
  color: rgb(22, 54, 111);
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
}
* {
	margin: 0;
	padding: 0;
}
img {
	border: none;
}
form {
	display: inline;
}
ul {
	list-style: none;
}
::-webkit-input-placeholder {
   color: rgba(0,0,0,0.7);
}
:-moz-placeholder { /* Firefox 18- */
   color: rgba(0,0,0,0.7);
}
::-moz-placeholder {  /* Firefox 19+ */
   color: rgba(0,0,0,0.7);
}
:-ms-input-placeholder {
   color: rgba(0,0,0,0.7);
}

/* Helpers
------------------------------------*/
.no-selection::selection {
  background: transparent; /* WebKit/Blink Browsers */
  color: white;
}
.no-selection::-moz-selection {
  background: transparent; /* Gecko Browsers */
  color: white;
}
.float-right {
	float: right;
}
.float-left {
	float: left;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.no-border {
	border: none;
}
.clear {
	display: block;
	clear: both;
}
.red {
	color: rgb(182, 0, 0);
}
.red-background {
	background-color: rgb(182, 0, 0);
}
.blue {
	color: rgb(22, 52, 112);
}
.blue-background {
	background-color: rgb(22, 52, 112);
}
.hidden {
  display: none !important;
}
.background-cover, .covered-background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center !important;
  background-color: rgb(33, 38, 44);
  border-radius: 5px;
}
.all-caps, .uppercase {
  text-transform: uppercase;
}
/* Structure
------------------------------------*/

.main-content {
	max-width: 1380px;
	margin: 0 auto;
	position: relative;
}
.block {
	display: block;
	position: relative;
}
.row {
	float: left;
	clear: left;
	width: 100%;
}

.layoutcell{
	position: relative;
}


/* Tables
------------------------------------*/

table {
	margin: 1.5em 0;
	border-spacing: 0;
	border-collapse: collapse;
}
th, td {
	padding: .5em;
}
th {
	text-align: left;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 767px) {
  .main-content {
    max-width: 100%;
  }
  .column {
  	width: 100%;
  }
}

/* Tablets (portrait and landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1023px) {
  .column {
  	float: left;
  }
}

/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1024px) {
  .column {
  	float: left;
  }
}

@media only screen and (max-width: 767px) {
  .hide-on-mobile {
    display: none;
  }
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#electionsec {
    background-color: #d7ecf8;
}

#pollsec {
    background: #d6eac5;
}

.esectionhead {
    text-decoration: underline;
}

.eheadsec {
    padding: 10px 20px;
    margin: 4px;
    border-radius: 10px;
    display: inline-block;
}

#electionheader ul li {
    list-style-type: none;
    margin-left: -10px;
}


.eimage img {
    float: left;
    width: 150px;
    height: 150px;
}

.econtent {
    padding-top: 7px;
    margin-left: 155px;
    height: auto;
}

.econtent a {
    text-decoration: none;
    color: blue;
}

.econtent a:visted {
    color: blue;
}

.econtent h3 {
    margin-bottom: -10px;
}

.elinks {
    height: auto;
}

.elinkclear {
    clear: both;
}

#quote p {
    color: grey;
    margin: 2.5% 10%;
}

#quoteattribution {
    text-align: right;
    font-weight: bold;
}

ul.parishdir {
list-style: none;
}

ul.parishdir li a {
color: #1a0dab;
}

ul.parishdir li {
font-weight: 700;
}

div.parishdirbox {
width: 175px;
float: left;
margin: 10px;
}

/*
* {
    font-family: sans-serif;
}*/

#pollsopen,
#pollsclosed {
    border: 2px solid black;
    margin: 5px;
    border-radius: 30px;
    visibility: hidden;
}

#pollsopen h1,
#pollsclosed h1 {
    text-align: center;
    font-weight: bold;
    margin: 2.5% 5%;
}

#pollsopen {
    background-color: green;
}

#pollsclosed {
    background-color: red;
}

.streambutton {
color: white;
-moz-box-shadow:inset 1px 1px 8px 0px #bbdaf7;
	-webkit-box-shadow:inset 1px 1px 8px 0px #bbdaf7;
	box-shadow:inset 1px 1px 8px 0px #bbdaf7;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #378de5));
	background:-moz-linear-gradient(top, #79bbff 5%, #378de5 100%);
	background:-webkit-linear-gradient(top, #79bbff 5%, #378de5 100%);
	background:-o-linear-gradient(top, #79bbff 5%, #378de5 100%);
	background:-ms-linear-gradient(top, #79bbff 5%, #378de5 100%);
	background:linear-gradient(to bottom, #79bbff 5%, #378de5 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#378de5',GradientType=0);
	background-color:#79bbff;
	-moz-border-radius:32px;
	-webkit-border-radius:32px;
	border-radius:32px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Trebuchet MS;
	font-size:24px;
	font-weight:bold;
	padding:16px 41px;
	text-decoration:none;
	text-shadow:-1px 3px 0px #528ecc;
}
.streambutton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #378de5), color-stop(1, #79bbff));
	background:-moz-linear-gradient(top, #378de5 5%, #79bbff 100%);
	background:-webkit-linear-gradient(top, #378de5 5%, #79bbff 100%);
	background:-o-linear-gradient(top, #378de5 5%, #79bbff 100%);
	background:-ms-linear-gradient(top, #378de5 5%, #79bbff 100%);
	background:linear-gradient(to bottom, #378de5 5%, #79bbff 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5', endColorstr='#79bbff',GradientType=0);
	background-color:#378de5;
}
.streambutton:active {
	position:relative;
	top:1px;
}

.buttonwrapper {
text-align: center;
}

a.streambutton {
color: white;
}

div.countdown-container {
    background: #222 url('../images/bg.gif') repeat;
    color: #fff;
    -moz-text-shadow: 0 -1px 0 #000;
    -webkit-text-shadow: 0 -1px 0 #000;
    text-shadow: 0 -1px 0 #000;
    font-family: 'Helvetica Neue','Helvetica','Arial', sans-serif;
}
