/* Generic Styling */

html,
body {
    min-height: 0!important;
    height: auto!important;
    position: inherit!important;
}

.dnnEditState .DnnModule {
    opacity: 1;
}

img {
    border: 0;
}

.largeImg {
    width: 71%;
}

.backpagetranslator {
    top: 0px !important;
}

p,
.Normal {
    font-family: "Verdana";
    font-size: 14px;
    color: black;
}

h1 {
    display: block;
    color: #a31b20;
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 110%;
    padding: 0 0 10px;
    margin: 0px;
}

h2 {
    color: #012b4b;
    font-family: Verdana;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 110%;
    margin: 0px;
}

h3 {
    color: #4e0b01;
    font-family: Verdana;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 110%;
    margin: 0px;
}

a:link,
a:active,
a:visited {
    color: #4e0b01;
}

a:hover {
    color: #012b4b;
}

.right {
    float: right;
}

.no-pad {
    padding: 0px;
}


/* Structure */

#wrapper {
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    max-width: 1925px;
}

#skipnav {
    position: absolute;
    bottom: 5000px;
    color: #474747;
    height: 1px;
    width: 1px;
    margin-left: -1px;
    overflow: hidden;
    font-size: .75em;
}

#skipnav:focus {
    top: 146px;
    right: 899px;
    height: 25px;
    width: 125px;
    margin-left: 0px;
    background: #640113;
    border-top-right-radius: 5px;
    text-align: center;
    line-height: 22px;
    color: white;
    transition: height .4s;
    border-top-left-radius: 5px;
}

#header {
    position: relative;
}

.headerimage {
    float: left;
}

.carousel-inner {
    margin-left: 22px;
}

.bannerleft {
    background-color: #012b4b;
    float: left;
    height: 180px;
}

img .bannerleft {
    max-width: 870px;
}

#rotator {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
}

#rotatordiv {
    height: 195px;
    width: 256px;
    position: absolute;
    right: 0;
    z-index: -1;
}

ul#rotator {
    list-style-type: none;
}


/*------------------------------------------------*/


/* REGISTRATION TOTALS
    /*------------------------------------------------*/

#registeredvoters {
    background: linear-gradient(to left, #AE9F82, #D9D0BF, #AE9F82);
    height: 37px;
}

#registrationTotals {
    margin-top: 8px;
    font-family: Arial, Helvetica, sans-serf;
    font-size: 14px;
    font-style: italic;
    color: #012643;
}

.registrationTotalsList {
    padding: 0px;
    list-style-type: none;
    line-height: 150%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: auto;
    text-align: left;
}

.registrationTotalsList li {}

.totalsField {
    float: left;
}

.totalsValue {
    float: left;
}

.registrationTotalsList li .totalsField {
    margin-right: 3px;
}

#quicklinks {}

#qbuttons {
    margin: auto;
    display: flex;
}

#qbuttons a {
    background: linear-gradient(#791000, #4e0b01);
    text-decoration: none;
    text-align: center;
    border-right: 1px solid #ADA286;
    padding: 1vh 0;
}

#qbuttons a:last-child {
    border: none;
}

#qbuttons a:hover .qwords {
    color: #98d8fe;
}

.qwords {
    color: white;
}

#dnn_qbuttons {}


/*Beginning of Content after Quicklinks and Registered Voters*/

#contentwrapper {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
}

#leftsidebar {
    float: left;
    background-color: #012b4b;
}

#dnn_siteMenu {
    height: auto;
    margin-left: 0;
    position: relative;
    margin-top: 60px;
}

#middlecontent {
    float: left;
    padding-top: 10px;
}

#dnn_contentpane {
    margin-left: 5px;
    padding-left: 10px;
    background: #ffffff;
    padding-right: 10px;
    margin-bottom: 100px;
}

#dnn_rightcontentpane {
    margin-left: 5px;
    padding-left: 10px;
    background: #ffffff;
    padding-right: 10px;
    padding-top: 10px;
    margin-bottom: 100px;
}

.homecontentpane {}

.backpagecontentpane {
    padding: 10px;
}

.editcontentpane {}


/* Google Translate */

#translator {
    position: absolute;
    z-index: 999;
    margin-top: 10px;
}

.goog-te-gadget {
    color: white !important;
}

.goog-te-combo {
    color: black;
    width: 75%;
}

.goog-logo-link {
    color: white !important;
}

@media (max-width: 1199px) {
    .goog-te-combo {
        width: 75%;
    }
}


/*Right Sidebar items*/

#rightsidebar {
    background-color: #ffffff;
    margin-top: 12px;
}

#datestoremember {}

#datestoremembertop,
#boxtop,
#box1top,
#box2top {
    color: white;
    background: #5D0E01;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    margin-top: 15px;
    letter-spacing: 2px;
}

#dnn_datestoremembercontentpane,
#dnn_box1contentpane,
#dnn_box2contentpane,
#dnn_boxcontentpane {
    background: linear-gradient(#DAD3C0, #EAE5DF);
    min-height: 132px;
    padding: 5px;
    margin-bottom: 10px;
}

.ListTitle,
.ListDate {
    font-size: 11px !important;
}

.ThemeEvents .ListDataGrid td {
    border: none !important;
}

.ThemeEvents .ListDataGrid {
    background: transparent !important;
    border: none !important;
}

.ListDataGrid tr {
    height: 35px;
}

.ListAlternate {
    background: transparent !important;
}

#datesfullcalendar {
    text-align: center;
    margin: 10px 0;
}

#datesfullcalendar a {
    color: white;
    background: #5D0E01;
    padding: 10px;
    letter-spacing: 2px;
    text-decoration: none;
}

#dnn_box1contentpane,
#dnn_box2contentpane,
#dnn_boxcontentpane {
    padding: 5px;
    width: 100%;
}

#dnn_box1contentpane p,
#dnn_box1contentpane .Normal {
    color: #012b4b;
    font-size: 11px;
    padding: 5px;
    line-height: 1.2;
}

#dnn_box2contentpane .Normal,
#dnn_box2contentpane p {
    color: #012b4b;
    font-size: 11px;
    line-height: 1.5;
    padding: 5px;
}

#dnn_boxcontentpane .Normal,
#dnn_boxcontentpane p {
    color: #012b4b;
    font-size: 11px;
    line-height: 1.5;
    padding: 5px;
}


/*Footer*/

#footer {
    background: linear-gradient(to left, #AE9F82, #D9D0BF, #AE9F82);
    height: 190px;
    margin: 0 auto;
    padding-bottom: 20px;
}

#dnn_footercontentpane {
    padding-top: 10px;
    width: inherit;
}

.footertext p,
.footertext .Normal {
    font-family: Verdana;
    font-size: 8pt;
    color: #012c4e;
    text-align: center;
    padding-top: 10px;
    line-height: 150%;
}


/* @media (max-width: 1870px) {
    #translator {
    }
}

@media (max-width: 1750px) {
    #translator {
        top: 265px;
    }
}

@media (max-width: 1690px) {
    #translator {
        top: 255px;
    }
}

@media (max-width: 1535px) {
    #translator {
        top: 250px;
    }
}

@media (max-width: 1480px) {
    #translator {
        top: 240px;
    }
}

@media (max-width: 1370px) {
    #translator {
        top: 230px;
    }
}

@media (max-width: 1300px) {
    #translator {
        top: 220px;
    }
}

@media (max-width: 1138px) {
    #translator {
        top: 230px;
    }
}

@media (max-width: 1030px) {
    #translator {
        top: 220px;
    }
} */

@media (min-width: 992px) {
    .qlButtons {
        width: 14.25%
    }
}

@media (min-width: 768px) {
    .qlBottom {
        width: 25%;
    }
    .qlUp {
        width: 33%;
    }
}

@media (max-width: 991px) {
    #contentwrapper {
        display: block;
    }
    #qbuttons {
        display: block;
    }
    #phonemenu {
        background: #5D0E01;
    }
    /*---Mobile Menu---*/
    .c-hamburger {
        display: block;
        position: relative;
        overflow: hidden;
        margin: 0;
        padding: 0;
        width: 64px;
        height: 40px;
        font-size: 0;
        text-indent: -9999px;
        appearance: none;
        box-shadow: none;
        border-radius: none;
        border: none;
        cursor: pointer;
        transition: background 0.3s;
        left: 85%;
        z-index: 999;
        bottom: 59px;
    }
    .c-hamburger:focus {
        outline: none;
    }
    .c-hamburger span {
        display: block;
        position: absolute;
        top: 26px;
        left: 18px;
        right: 18px;
        height: 4px;
        background: white;
    }
    .c-hamburger span::after,
    .c-hamburger span::before {
        position: absolute;
        display: block;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: white;
        content: "";
    }
    .c-hamburger span::before {
        top: -10px;
    }
    .c-hamburger span::after {
        bottom: -10px;
    }
    .c-hamburger--htx {
        background-color: transparent;
    }
    .c-hamburger--htx span {
        transition: background 0s 0.3s;
    }
    .c-hamburger--htx span::before,
    .c-hamburger--htx span::after {
        transition-duration: 0.3s, 0.3s;
        transition-delay: 0.3s, 0s;
    }
    .c-hamburger--htx span::before {
        transition-property: top, transform;
    }
    .c-hamburger--htx span::after {
        transition-property: bottom, transform;
    }
    .c-hamburger--htx.is-active {
        background-color: transparent;
    }
    .c-hamburger--htx.is-active span {
        background: none;
    }
    .c-hamburger--htx.is-active span::before {
        top: 0;
        transform: rotate(45deg);
    }
    .c-hamburger--htx.is-active span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    .c-hamburger--htx.is-active span::before,
    .c-hamburger--htx.is-active span::after {
        transition-delay: 0s, 0.3s;
    }
    /*---End Mobile Menu---*/
    #phonemenu {
        height: 45px;
    }
    #dnn_mobilemenu {
        position: absolute;
        right: -100%;
        top: 47px;
        z-index: 9;
        background: #012B4B;
        padding: 10px 0;
        border-top: 5px solid #b84950;
        border-bottom: 5px solid #b84950;
    }
    #mobiletranslate {
        max-width: 0px;
        position: relative;
        display: block;
        top: -9px;
        left: 76%;
        color: white;
        text-align: center;
    }
    .mobilebuttons {
        cursor: pointer;
        font-size: .8em;
    }
    #translator {
        position: absolute;
        left: 5000px;
        height: 1px;
        width: 1px;
        overflow: hidden;
        font-size: .75em;
        padding: 10px 0 5px;
        margin-right: 0px;
    }
    .paneDrop {
        background: white;
        top: 45px !important;
        margin-top: 0px !important;
        left: 0px !important;
        height: 65px !important;
        width: 100% !important;
        margin-left: 0px;
        border-bottom-right-radius: 5px;
        text-align: center;
        line-height: 22px;
        color: white !important;
        transition: height .4s;
        animation-direction: reverse;
        border-bottom-left-radius: 5px;
        border: 2px solid #5D0E01;
    }
    .glyphicon {
        color: white;
        font-size: 23px;
        top: 13px;
        display: block;
        margin-bottom: 15px;
        text-align: center;
        padding-left: 14px;
    }
    .goog-te-gadget {
        color: black !important;
    }
    .goog-logo-link {
        color: black !important;
    }
}

@media (max-width: 767px) {
    #registeredvoters {
        height: auto;
    }
    .registrationTotalsList {
        display: block;
        text-align: unset;
        margin-left: 0px;
    }
    .totalsValue {
        float: right;
    }
    .registrationTotalsList li {
        height: 24px;
    }
    #footer {
        height: auto;
    }
}

@media print {
    body {
        background-color: white;
        color: black;
        background-image: none;
    }
    #leftsidebar {
        display: none;
    }
    #rightsidebar {
        display: none;
    }
    #stayconnected {
        display: none;
    }
    #registeredvoters,
    #header,
    #footer {
        display: none;
    }
    #dnn_ContentPane,
    #contentwrapper,
    #wrapper {
        width: 100%;
        height: 100%;
        border: 0;
        margin: 0;
        padding: 0;
        background: none;
        float: none !important;
        top: 0;
        position: absolute;
        overflow: visible !important;
    }
    /* Gets rid of persona bar for dev purposes */
    body {
        margin-left: 0px !important
    }
    iframe#personaBar-iframe,
    .personalBarContainer.evoq .personabar-placeholder {
        display: none;
    }
}