﻿/*
    Styles that are unrelated to bootstrap; these don't override or extend anything 
    defined in the bootstrap css.
    */
body {
    background-color: #c5c6c6;
}

select {
    padding: 3px 3px 3px 0;
}

a { outline: 0 !important; }

div.content {
    min-height: 250px;
    margin: 7px -7px 7px -7px;
}

@media(max-width: 719px){
    div.content {
        min-height: 337px;
    }
}

#SubMenuContainer, #MainContent {
    border: 7px solid #e5e5e5;
    min-height: 548px;
}

#SubMenuContainer {
    border-right: 0px;
    border-top: 0px;
    min-height: 548px;
}

#MainContent {
    border-top: 0px;
}

.content, #SubMenuContainer, #MainContent {
    padding: 7px;
    background-color: white;
}


#leftMenu a {
    cursor: pointer;
}

#leftMenu li.active a {
    color: #FFFFFF;
    text-decoration: none;
    cursor: default;
}

#leftMenu li.active, #leftMenu li.active a:hover, #leftMenu li.active a:focus {
    background-color: #6C6E7D;
}

#leftMenu li.active a:hover
{ 
    color: #FFFFFF;
}

.left-menu-icon {
    float: right;
    color: white;
    pointer-events: none; /* pass click through to the <li> for event handling */
}

/* -7 side margins to align with bootstrap rows */
.header-site-message {
    text-align: center;
    border: 2px solid #001C39;
    padding: 3px;
    background-color: white;
    margin: 7px -7px 7px -7px;
}

.info-bar {
    text-align: center;
    padding: 3px 0px;
    background-color: white;
    margin: 7px -7px 7px -7px;
    border: 2px solid white;
    line-height: 1.6em;
}

.info-bar span {
    display: inline-block;
    margin: 0em 0.5em;
}

.info-bar-danger {
    background-color: #f2dede;
    border: 2px solid red;
}

.text-center-sm-justify{
    text-align:center;
}

/*top banner*/ 
.text-banner .seal-image {
    display: block; 
    position: absolute; 
    right: 76px;
    top: 5px;
    max-height: 100%;
}

.swamp-banner .geaux-image, .portal-swamp-banner .geaux-image{
    float: left;
    height: 105px;
    margin-top: 5px;
}

.swamp-banner .label-image, .portal-swamp-banner .label-image{
    float: right;
    height: 100%;
}

.swamp-banner .seal-image, .portal-swamp-banner .seal-image {
    float: right; 
    height: 100%;
    padding: 2px;
}

.portal-swamp-banner .banner-home{
    float: right;
    padding: 8px; 
    height: 100%;
}

@media (max-width: 719px) {
    .swamp-banner .geaux-image, .portal-swamp-banner .geaux-image{
        float: left;
        height: 60px;
        margin-top: 6px;
    }
    .portal-swamp-banner .geaux-image{
        float: left;
        height: 50px;
        margin-top: 4px;
        margin-top: 1px;
        height: 55px;
    }
}

@media (max-width: 992px) {
    .text-banner .seal-image {
        right: 0px;
    }
}

/*Menu at home and search screen*/
.voter-portal-link-button{
    background: #00356E linear-gradient(#4C6D8E, #10457E) repeat scroll 0 0;
    padding: 0.8em;
    margin: 15px 0 0 0;
    border-radius: 5px;
}

.voter-portal-link-button:hover {
    background: #5e87b0 linear-gradient(#4C6D8E, #597797) repeat scroll 0 0;
}

.voter-portal-link-button a {
    text-decoration: none;
}

.voter-portal-link-button span {
    font-size: 1.4em;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 1px 1px #194b7e;
    display: block;
    padding-right: 15px;
}

.voter-portal-link-button .icon {
    float: left;
    height: 20px;
    margin-right: 10px;
}

@media (max-width: 719px){
    .voter-portal-link-button .link-button-arrow {
        background-color: rgba(0, 0, 0, 0.4);
        background-image: url("../images/icons-18-white.png");
        background-position: -108px -1px;
        background-repeat: no-repeat;
        border-radius: 9px;
        height: 18px;
        width: 18px;
        position: relative;
        right: 1px;
        top: -18px;
        float: right;
    }
}

/*menu bar menu*/
.voter-portal-navbar {
    margin-bottom: 0;
    min-height: 32px;
    margin: 0;
    background-color: #00356E;
    border: 0;
    border-radius: 0;
}

.voter-portal-menu-container { 
    padding: 0px;
}

.voter-portal-menu ul {
    margin: 0 auto;
}

.voter-portal-menu .navbar-nav li a { line-height: inherit; }

.voter-portal-navbar .navbar-toggle {
    border: 2px solid #e5e5e5;
    margin: 3px 0px;
    color: #e5e5e5;
    padding: 7px 8px;
}

a.voter-portal-nav-current {
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 12px;
    margin-top: 19px;
    line-height: 36px;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}
    
.navbar .voter-portal-menu .nav li {
    text-align: center;
    text-transform: uppercase;
    color: white; 
    font-weight: bold;
    font-size: 1.0em;
    padding: 2px;
}

.navbar .voter-portal-menu .nav li:hover,
.navbar .voter-portal-menu .nav li a:hover { background-color: #597797; color: white;}

.voter-portal-menu .navbar-nav li.active { background: #597797; }

.navbar .voter-portal-menu .nav li a {
    line-height: inherit;
    color: white;
    display: block;
    width: 10em;
    text-decoration: none;
    border: 1px solid transparent;
    vertical-align: middle;
    padding: 0px 8px;
}

.navbar .voter-portal-menu .nav li a:focus { background-color: transparent; border: 1px dotted white;}

@media (max-width: 992px) {
    .navbar .voter-portal-menu .nav li a {
        font-size: 0.9em;
    }
}


@media (max-width: 719px) {
    .navbar .voter-portal-menu .nav li a {
        width: 9.23em;
    }
}


#EnvironmentInfo {
    position:absolute;
    right:7px;
    top:7px;
    border: 1px solid #555;
    background:rgba(200,200,200, 0.75);
    padding: 2px 4px;
    font-size: 0.9em;
    pointer-events: none;
}

@media (max-width: 719px) {
    #SubMenuContainer {
        min-height: 0px;
        border-right: 7px solid #e5e5e5;
    }
    .text-center-sm-justify{
        text-align: justify;
    }
    .formContainer {
        border: none;
        padding: 6px 1px;
    }
}

.graphical-content {
    overflow: hidden;
}

/* Corresponds to customized grid-float-breakpoint = 720 */
@media (max-width: 719px) {
    div.graphical-content { 
        margin-left: -7.5px;
        margin-right: -7.5px;
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .smaller-phone { font-size: 0.9em; }
    .info-bar span { margin: 0.06em 0.2em; }
}

/* For the review pages of the online request sites */
.blank-answer { font-style:italic; color: #777; }
@media (min-width: 720px) {
    .dl-horizontal dt { width: 20em; }
    .dl-horizontal dd { margin-left: 21em; }
    .blank-answer { display: none; }
}

@media print {
    .dl-horizontal dt { width: 20em;
        float: left;
        text-align: right;
        overflow: hidden;
    }
    .dl-horizontal dd { margin-left: 21em; }
    .blank-answer { display: none; }
}

/* styles for validation helpers */

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error, select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

input[type="text"]:not(#recaptcha_response_field) { text-transform: uppercase; }

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

div.office-list-block {
    border-top: 1px solid #001C39;
}

div.office-list-row {
    clear: left;
    padding-top: 7px;
}

div.office-list-row label {
    float: left;
    padding-left: 4px;
    width: 155px;
}

div.office-list-row .reg-data {
    float: left;
    padding-left: 4px;
}

/* Makes this the reference element for absolutely positioned stuff in it, in particular the spinner */
#Content, #MainContent { position: relative; }
.spinner {
    position: absolute;
    top: 125px;
    left: 50%;
    text-align:center;
    z-index:1234;
    overflow: auto;
    width: 64px; 
    height: 64px;
    background-position: center center;
    border-radius: 50%; /* Rounds out the halo */
    opacity: .7; /* Some subtle opacity to help blend with variable background colors */
    background: url("/images/spinner.gif") no-repeat;
}

.spinner-center {
    position: relative;
    top: auto;
    left: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

#Content .spinner {
    position: absolute;
}

ul.frequently-asked-questions li 
{
    padding-bottom: 8px;
}

.disclaimer {
    text-align: center;
    background-color: #EFBB4A;
    font-style: italic;
    border: 1px solid #001C39;
    padding: 3px;
    border-radius: 2px;
}

.footnote {
    font-size: .9em;
    font-style: italic;
    font-weight: normal;
}

.footnote-sm {
    font-size: .8em;
}

.divided-column {
    border-left: 2px solid black;
}

table.table-districts tbody tr td{
    line-height: 1.5em;
    padding-right:3em;
}

.nowrap {
    white-space:nowrap;
}

/* for THs or other divisional headings */
.primary-header
{
    background-color: #7F96AF;
    font-weight: bold;
}

.primary-header a {
    color: #001833;
    text-decoration: underline;
}

/* format a TH (or its contents,) for instance a row header, to look like a regular cell */
.header-as-cell { 
    font-weight: normal; 
}

.officials {
    border-width: 1px;
    border-style: solid;
    border-color: #565e0e;
    width: 100%;

}
.caption {

    border-top: 1px solid #5B5e0e;
    border-right: 1px solid #5B5e0e;
    border-left: 1px solid #5B5e0e;    
}
.secondary-header{

    border-top: 2px solid #ffffff;   
}
table.officials tbody tr td, table.officials tbody tr th {
    padding: 2px;
} 

.sos-tooltip {
    text-decoration: underline;
}

.control-wide { max-width: 21em; }
@media (max-width: 719px){
    .control-wide { max-width: none; }
}

.control-narrow { max-width: 4em; }
.control-5 { max-width: 5em; }
.control-10 { max-width: 10em; }
.control-15 { max-width: 15em; }
.control-20 { max-width: 20em; }

.control-medium { max-width: 10em; }

/* for text and asterisks that denote that a field is required */
.required-indicator {
    color: red;
    font-weight: normal;
}

/* for text and asterisks that denote that a field is required */
.form-group.required .control-label:before {
    content: "* ";
    color: red;
}

/* for candidate inquiry, elected officials site and page */
.candidate-title-row, .office-list-title {
    background-color: #7F96AF;
    padding: 4px 0;
    border-top: 1px solid #001833
}
.candidate-header-row {
    padding-top: 4px;
    line-height: 1.5em;        
}
.candidate-row { line-height: 1.4em; }
.candidate-top-row { border-top: 1px solid #aaa; }
.office-title { font-weight: bold; font-size:1.08em;}

.captcha-placeholder {
    width: 304px;
    height: 78px;
    text-align: center;
    padding-top: 32px;
    font-weight: bold;
    color: #777;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.checkbox-options label {
    font-weight: normal;
}
.select-all-label {
    font-weight: normal;
    font-style: italic;
}

#nav-bottom-container {
    margin: 40px 20px 20px 20px;
    min-width: 225px;
}

@media (max-width: 719px) {
    #nav-bottom-container {
        margin: 20px 7px 7px 7px;
    }
}

.label-as-badge {
    border-radius: 1em;
    }
 
.label-as-bar {
    border-radius: 1em;
    display: block;
    font-size: 1em;
        white-space: normal;
    }
 
#signed-in-as {
    padding: 1px 3px 2px 3px;
    color: #777;
        position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.8em;
    background:rgba(200,200,200, 0.75);
}

.subquestion {
    margin-left:10px;
}

.address span {
    display: block;
}

div.show-mismatch-message div.address.address-mismatch span:first-of-type:before {
    content: '* '
}

.address-mismatch-toggle { display: none; }
.show-mismatch-message .address-mismatch-toggle { display: inherit; }

@media( min-width: 480px ) {
    .address span {
        display: inline;
    }

        .address span:after { content: ', '; }

        .address span:last-of-type:after {
            content: '';
        }

}

.warning-section {
    font-weight: bold;
    color: red;
    text-align: center;
}

/* Overriding the jquery ui autocomplete-- replacing the yellow and white coloring with a blue/grey in keeping with the rest of the site */
.ui-widget-content {
    border: 1px solid #dddddd;
    background: #eeeeee;
    color: #333333;
}
    .ui-state-active,
    .ui-widget-content .ui-state-active,
    .ui-widget-header .ui-state-active {
        border: none;
        background: #C1C1DA;
        font-weight: bold;
        color: #001c39;
    }