/* Generic Styling */
* {
  box-sizing: revert;
  --webkit-box-sizing: revert;
}

body {
  background: #213458;
}

img {
  border: 0;
}

body,
th,
td,
table,
h1,
h2,
h3,
h4,
h5,
h6,
.Head,
.SubHead,
.SubSubHead,
.Normal,
.NormalBold,
.NormalRed,
.NormalTextBox,
.NormalDisabled,
a:link,
a:visited,
a:hover,
input,
.CommandButton {
  font-family: Calibri;
  font-size: 16px;
  color: black;
}

h1 {
  display: block;
  color: #b40127;
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  font-size: 25px;
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 110%;
  padding: 0 0 10px;
  margin: 0px;
}

h2 {
  color: #305eb6;
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 110%;
  padding: 0 0 3px;
  margin: 0px;
}

h3 {
  color: #213458;
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 110%;
  padding: 0 0 10px;
  margin: 0px;
}

.skip {
  position: absolute;
  top: -1000px;
  left: -1000px;
  height: 1px;
  width: 1px;
  text-align: left;
  overflow: hidden;
}

a.skip:active,
a.skip:focus,
a.skip:hover {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
  color: white;
}

hr {
  border-color: black;
  width: 90%;
  border-width: 1pt;
}

a:link,
a:visited,
a:active {
  color: #003399;
}

a:hover {
  text-decoration: none;
  color: #940202;
}

.right {
  float: right;
}

.column {
  padding-bottom: 100%;
  margin-bottom: 100%;
}

/* Structure */

#wrapper {
  margin: 0 auto;
  width: 960px;
  position: relative;
  z-index: 1;
}

#header {
  height: 176px;
  width: 960px;
}

#logo {
  width: 340px;
  height: 140px;
  position: absolute;
  left: 318px;
}

#staticbanner {
  width: 960px;
  height: 164px;
  float: left;
}

#rotatordiv {
  height: 164px;
  width: 369px;
  position: absolute;
  left: 625px;
  z-index: -1;
  top: 84px;
}

ul#rotator {
  list-style-type: none;
}

/*Quicklinks*/

#quicklinks {
  height: 84px;
  float: left;
}

.ModElectionWorkerApplicationFormC > * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-bottom: 1em;
}

#ewafWrapper > div.container > div.form-horizontal > div:nth-child(13) > div > div {
  display: flex;
}

#q1 {
  background: #730404;
  background-image: -webkit-linear-gradient(top, #730404, #b40127);
  background-image: -moz-linear-gradient(top, #730404, #b40127);
  background-image: -ms-linear-gradient(top, #730404, #b40127);
  background-image: -o-linear-gradient(top, #730404, #b40127);
  background-image: linear-gradient(to bottom, #730404, #b40127);
  font-family: Arial;
  color: #ffffff;
  font-size: 16px;
  padding: 25px 20px 10px 20px;
  text-decoration: none;
  width: 119px;
  height: 50px;
  float: left;
  border-right: tan 1px solid;
  text-align: center;
}

#q1:hover {
  background: #305eb6;
  background-image: -webkit-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -moz-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -ms-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -o-linear-gradient(top, #305eb6, #0e3d96);
  background-image: linear-gradient(to bottom, #305eb6, #0e3d96);
  text-decoration: none;
}

#q2 {
  background: #730404;
  background-image: -webkit-linear-gradient(top, #730404, #b40127);
  background-image: -moz-linear-gradient(top, #730404, #b40127);
  background-image: -ms-linear-gradient(top, #730404, #b40127);
  background-image: -o-linear-gradient(top, #730404, #b40127);
  background-image: linear-gradient(to bottom, #730404, #b40127);
  font-family: Arial;
  color: #ffffff;
  font-size: 16px;
  padding: 25px 20px 10px 10px;
  text-decoration: none;
  width: 150px;
  height: 50px;
  float: left;
  text-align: center;
}

#q2:hover {
  background: #305eb6;
  background-image: -webkit-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -moz-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -ms-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -o-linear-gradient(top, #305eb6, #0e3d96);
  background-image: linear-gradient(to bottom, #305eb6, #0e3d96);
  text-decoration: none;
}

#separator {
  width: 300px;
  height: 50px;
  float: left;
}

#q3 {
  background: #730404;
  background-image: -webkit-linear-gradient(top, #730404, #b40127);
  background-image: -moz-linear-gradient(top, #730404, #b40127);
  background-image: -ms-linear-gradient(top, #730404, #b40127);
  background-image: -o-linear-gradient(top, #730404, #b40127);
  background-image: linear-gradient(to bottom, #730404, #b40127);
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  padding: 25px 20px 10px 20px;
  text-decoration: none;
  width: 60px;
  height: 50px;
  float: left;
  border-right: tan 1px solid;
  text-align: center;
}

#q3:hover {
  background: #305eb6;
  background-image: -webkit-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -moz-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -ms-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -o-linear-gradient(top, #305eb6, #0e3d96);
  background-image: linear-gradient(to bottom, #305eb6, #0e3d96);
  text-decoration: none;
}

#q4 {
  background: #730404;
  background-image: -webkit-linear-gradient(top, #730404, #b40127);
  background-image: -moz-linear-gradient(top, #730404, #b40127);
  background-image: -ms-linear-gradient(top, #730404, #b40127);
  background-image: -o-linear-gradient(top, #730404, #b40127);
  background-image: linear-gradient(to bottom, #730404, #b40127);
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  padding: 25px 5px 10px 5px;
  text-decoration: none;
  width: 111px;
  height: 50px;
  float: left;
  border-right: tan 1px solid;
  text-align: center;
}

#q4:hover {
  background: #305eb6;
  background-image: -webkit-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -moz-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -ms-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -o-linear-gradient(top, #305eb6, #0e3d96);
  background-image: linear-gradient(to bottom, #305eb6, #0e3d96);
  text-decoration: none;
}

#q5 {
  background: #730404;
  background-image: -webkit-linear-gradient(top, #730404, #b40127);
  background-image: -moz-linear-gradient(top, #730404, #b40127);
  background-image: -ms-linear-gradient(top, #730404, #b40127);
  background-image: -o-linear-gradient(top, #730404, #b40127);
  background-image: linear-gradient(to bottom, #730404, #b40127);
  font-family: Arial;
  color: #ffffff;
  font-size: 15px;
  padding: 25px 10px 10px 10px;
  text-decoration: none;
  width: 77px;
  height: 50px;
  float: left;
  text-align: center;
}

#q5:hover {
  background: #305eb6;
  background-image: -webkit-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -moz-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -ms-linear-gradient(top, #305eb6, #0e3d96);
  background-image: -o-linear-gradient(top, #305eb6, #0e3d96);
  background-image: linear-gradient(to bottom, #305eb6, #0e3d96);
  text-decoration: none;
}

/*------------------------------------------------*/

/* REGISTRATION TOTALS
    /*------------------------------------------------*/

#registeredvoters {
  background: #ded6c1;
  width: 546px;
  height: 55px;
  margin-left: -10px;
}

#backpageregisteredvoters {
  background: #ded6c1;
  width: 546px;
  height: 55px;
  margin-left: -10px;
}

.activeregisteredvoters {
  padding-top: 8px;
  padding-left: 40px;
  float: left;
  color: #213458;
}

#registrationTotals {
  float: left;
  color: #213458;
  margin-top: 5px;
  font-family: Verdana;
  font-size: 10px;
  margin-left: 5px;
  width: 100%;
}

.registrationTotalsList {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  line-height: 150%;
}

.registrationTotalsList li {
  display: table-cell;
  padding: 0px 8px;
  vertical-align: middle;
}

.registrationTotalsList li .totalsField {
  font-weight: bold;
}

/*Beginning of Content after Header*/

#contentwrapper {
  width: 960px;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 10px;
  display: flex;
}

#leftsidebar {
  float: left;
  width: 207px;
  min-height: 1000px;
  border-bottom-left-radius: 10px;
  background: linear-gradient(to right, #132344, #1e3054);
}

#dnn_siteMenu {
  padding-left: 8px;
  padding-right: 10px;
  margin: 0;
  height: 79px;
  width: 188px;
  margin-top: 10px;
}

.home {
  color: #ffffff;
}

#dnn_contentpane {
  padding-left: 10px;
}

#middlecontent {
  width: 960px;
  min-height: 1000px;
}

.editcontentpane {
  width: 100%;
}

.homecontentpane {
  width: 536px;
  float: left;
  background-color: white;
  min-height: 1000px;
}

.backpagecontentpane {
  position: relative;
  width: 733px;
  min-height: 900px;
  float: left;
  background: white;
  padding-right: 10px;
}

.editcontentpane {
  position: relative;
  width: 940px;
  min-height: 700px;
  float: left;
  padding: 10px;
  background-color: white;
}

/*Right Sidebar items*/

#rightsidebar {
  float: left;
  min-height: 1000px;
  width: 207px;
  float: right;
  border-bottom-right-radius: 10px;
}

.righthome {
  background-image: url(images/wf_rightside.jpg);
  background-repeat: repeat-y;
  width: 207px;
}

.rightback {
  background-color: white;
}

#controls {
  padding-top: 7px;
  float: left;
  background: #dae5fb;
  width: 207px;
  height: 49px;
}

#backpagecontrols {
  padding-top: 7px;
  float: right;
  background: #dae5fb;
  width: 207px;
  height: 48px;
  position: relative;
  margin-top: -55px;
  left: 10px;
}

.backpage {
  background: url(images/wf_interiorsidebar.jpg);
  background-repeat: no-repeat;
  width: 275px;
  height: 73px;
}

#spanishtranslation {
  background-image: url(images/wf_spanish.jpg);
  background-repeat: no-repeat;
  height: 49px;
  width: 135px;
}

#facebook {
  position: absolute;
  right: 10px;
  height: 23px;
  width: 22px;
  cursor: pointer;
}

.mlogo {
  position: absolute;
  top: 35px;
  right: 48px;
}

#rightcontentpane {
}

#dates {
  width: 179px;
  float: left;
  color: #920033;
  position: relative;
  top: 15px;
  left: 14px;
  background: #dae5fb;
  border-radius: 10px;
  box-shadow: 2px 2px 2px 2px #bccbea;
}

#dates p {
  margin: 0px;
}

#datestitle,
#newstitle {
  text-align: center;
  font-weight: bold;
  font-size: 19px;
  margin-top: 5px;
}

#dnn_datescontentpane,
#dnn_newscontentpane {
  padding-left: 10px;
  width: 178px;
  padding-top: 15px;
}

#dnn_datescontentpane p,
#dnn_datescontentpane .Normal,
#dnn_newscontentpane p,
#dnn_newscontentpane .Normal {
  color: #213458;
  font-size: 13px;
}

#news {
  width: 179px;
  float: left;
  color: #920033;
  position: relative;
  top: 35px;
  left: 14px;
  background: #dae5fb;
  border-radius: 10px;
  box-shadow: 2px 2px 2px 2px #bccbea;
}

/*Footer*/

#footer {
  width: 960px;
  height: 167px;
  margin: 0 auto;
  background-image: url(images/wf_footer.jpg);
  background-repeat: no-repeat;
}

#footer a {
  color: white;
}

#dnn_footercontentpane {
  width: inherit;
  height: 150px;
  padding-top: 10px;
}

#dnn_footercontentpane p {
  color: white;
  text-align: center;
}

/*Translator CSS*/

#google_translate_element {
  float: left;
  margin-left: 5px;
}

.dnnEditState .DnnModule {
  opacity: 1;
}

@media print {
  body {
    background-color: white;
    color: black;
    background-image: none;
  }
  #dnn_ContentPane,
  #contentwrapper,
  #wrapper {
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    background: none;
    float: none !important;
    top: 0;
    position: absolute;
  }
  #logo,
  #footer {
    display: none;
  }
  #controls,
  #maintop {
    display: none;
  }
  #backwrap,
  #staticbanner {
    background-image: none;
  }
  #leftsidebar,
  #rightsidebar,
  #registeredvoters,
  #quicklinks,
  #rotatordiv,
  #homepagebottom,
  #backpagebottom {
    display: none;
  }
}
