﻿/* Start Layout CSS */

html {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    /*-webkit-text-size-adjust: none !important; /*(sp) prevents iOS (safari) from resizing text*/
    -webkit-text-size-adjust: 100%;
}

body {
    font: normal 14px/150% Helvetica, Arial, sans-serif;
    margin: 0 !important;
    padding: 0;
    color: #000;
    height: 100%;
}

/* Skip navigation links */
a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -9999;
    color: #fff;
    background-color: #000;
}

    a.skip-main:focus, a.skip-main:active {
        left: auto;
        top: auto;
        width: 250px;
        height: auto;
        overflow: auto;
        margin: 10px 10px;
        padding: 5px;
        border-radius: 5px;
        border: 5px solid #1a4085;
        text-align: center;
        font-size: 1.2em;
        z-index: 9999;
    }

.main_content {
    font: normal 14px/150% Helvetica, Arial, sans-serif;
    width: 100%;
    background-color: #fefefe;
    padding: 20px;
}

    .main_content caption {
        color: #000;
        font-size: 16px;
        text-transform: uppercase;
    }

a {
    color: #3060C0;
}

/************************************************
Footer
************************************************/
.footer {
    padding: 0 10px 10px 10px;
    text-align: left;
    color: #112665;
    margin: 0 auto;
    font-size: 11px;
    font-family: tahoma, verdana, sans-serif;
    height: auto !important;
}

    .footer a, .footer p {
        color: #112665;
        margin: 0;
        padding: 0;
        font-size: 11px;
    }

        .footer a:hover {
        }

.footer_nav {
    margin-top: 10px;
    font-size: 12px;
    padding: 10px 0 0 0;
    font-weight: normal;
    color: #fff;
    text-align: right;
}

    .footer_nav p, .footer_nav a {
        font-size: 12px;
        font-weight: normal;
        color: #fff;
    }

    .footer_nav a {
        text-decoration: none;
    }

        .footer_nav a:hover {
            text-decoration: underline;
        }

    .footer_nav .nav_separator {
        padding: 0 7px;
    }

.footer_info {
    line-height: 14px;
    font-size: 12px;
    padding: 0;
    font-weight: normal;
    color: #fff;
    text-align: right;
}

    .footer_info p, .footer_info a {
        font-size: 12px;
        font-weight: normal;
        color: #fff;
    }

    .footer_info a {
        text-decoration: underline;
    }

        .footer_info a:hover {
            text-decoration: underline;
        }

    .footer_info .nav_separator {
        padding: 0 7px;
    }

.footer_social {
    padding-right: 25px;
}

    .footer_social a:hover {
        text-decoration: none;
    }

/************************************************
Custom Bootstrap 3 navbar style
************************************************/
.navbar-custom {
    background-color: #a3b8db;
    border-color: #3f63a1;
    height: 70px;
}

    .navbar-custom .navbar-brand {
        background: url(/SOSCommonStyle/images/NevadaStateSealSmall.png) no-repeat;
        padding-left: 55px;
        margin: 10px;
        color: #ffffff;
    }

        .navbar-custom .navbar-brand:hover, .navbar-custom .navbar-brand:focus {
            color: #e6e6e6;
            background-color: transparent;
        }

    .navbar-custom .navbar-text {
        color: #ffffff;
    }

    .navbar-custom .navbar-nav > li:last-child > a {
        border-right: 1px solid #3f63a1;
    }

    .navbar-custom .navbar-nav > li > a {
        color: #ffffff;
        border-left: 1px solid #3f63a1;
    }

        .navbar-custom .navbar-nav > li > a:hover,
        .navbar-custom .navbar-nav > li > a:focus {
            color: #c0c0c0;
            background-color: transparent;
        }

    .navbar-custom .navbar-nav > .active > a,
    .navbar-custom .navbar-nav > .active > a:hover,
    .navbar-custom .navbar-nav > .active > a:focus {
        color: #c0c0c0;
        background-color: #3f63a1;
    }

    .navbar-custom .navbar-nav > .disabled > a,
    .navbar-custom .navbar-nav > .disabled > a:hover,
    .navbar-custom .navbar-nav > .disabled > a:focus {
        color: #cccccc;
        background-color: transparent;
    }

    .navbar-custom .navbar-toggle {
        background-color: #4972b8;
        border-color: #dddddd;
    }

        .navbar-custom .navbar-toggle:hover,
        .navbar-custom .navbar-toggle:focus {
            background-color: #dddddd;
        }

        .navbar-custom .navbar-toggle .icon-bar {
            background-color: #cccccc;
        }

    .navbar-custom .navbar-collapse,
    .navbar-custom .navbar-form {
        border-color: #3e629f;
    }

    .navbar-custom .navbar-nav > .dropdown > a:hover .caret,
    .navbar-custom .navbar-nav > .dropdown > a:focus .caret {
        border-top-color: #c0c0c0;
        border-bottom-color: #c0c0c0;
    }

    .navbar-custom .navbar-nav > .open > a,
    .navbar-custom .navbar-nav > .open > a:hover,
    .navbar-custom .navbar-nav > .open > a:focus {
        background-color: #3f63a1;
        color: #c0c0c0;
    }

        .navbar-custom .navbar-nav > .open > a .caret,
        .navbar-custom .navbar-nav > .open > a:hover .caret,
        .navbar-custom .navbar-nav > .open > a:focus .caret {
            border-top-color: #c0c0c0;
            border-bottom-color: #c0c0c0;
        }

    .navbar-custom .navbar-nav > .dropdown > a .caret {
        border-top-color: #ffffff;
        border-bottom-color: #ffffff;
    }

/******************************************************************************/
/* CUSTOM NAVBAR */
/******************************************************************************/

.navbar-custom-2 {
    background-color: #4972b8;
    border-color: #3f63a1;
}

    .navbar-custom-2 .navbar-brand {
        color: #ffffff;
    }

        .navbar-custom-2 .navbar-brand:hover,
        .navbar-custom-2 .navbar-brand:focus {
            color: #e6e6e6;
            background-color: transparent;
        }

    .navbar-custom-2 .navbar-text {
        color: #ffffff;
    }

    .navbar-custom-2 .navbar-nav > li > a {
        color: #ffffff;
    }

        .navbar-custom-2 .navbar-nav > li > a:hover,
        .navbar-custom-2 .navbar-nav > li > a:focus {
            color: #c0c0c0;
            background-color: transparent;
        }

    .navbar-custom-2 .navbar-nav > .active > a,
    .navbar-custom-2 .navbar-nav > .active > a:hover,
    .navbar-custom-2 .navbar-nav > .active > a:focus {
        color: #c0c0c0;
        background-color: #3f63a1;
    }

    .navbar-custom-2 .navbar-nav > .disabled > a,
    .navbar-custom-2 .navbar-nav > .disabled > a:hover,
    .navbar-custom-2 .navbar-nav > .disabled > a:focus {
        color: #cccccc;
        background-color: transparent;
    }

    .navbar-custom-2 .navbar-toggle {
        border-color: #dddddd;
    }

        .navbar-custom-2 .navbar-toggle:hover,
        .navbar-custom-2 .navbar-toggle:focus {
            background-color: #dddddd;
        }

        .navbar-custom-2 .navbar-toggle .icon-bar {
            background-color: #cccccc;
        }

    .navbar-custom-2 .navbar-collapse,
    .navbar-custom-2 .navbar-form {
        border-color: #3e629f;
    }

    .navbar-custom-2 .navbar-nav > .dropdown > a:hover .caret,
    .navbar-custom-2 .navbar-nav > .dropdown > a:focus .caret {
        border-top-color: #c0c0c0;
        border-bottom-color: #c0c0c0;
    }

    .navbar-custom-2 .navbar-nav > .open > a,
    .navbar-custom-2 .navbar-nav > .open > a:hover,
    .navbar-custom-2 .navbar-nav > .open > a:focus {
        background-color: #3f63a1;
        color: #c0c0c0;
    }

        .navbar-custom-2 .navbar-nav > .open > a .caret,
        .navbar-custom-2 .navbar-nav > .open > a:hover .caret,
        .navbar-custom-2 .navbar-nav > .open > a:focus .caret {
            border-top-color: #c0c0c0;
            border-bottom-color: #c0c0c0;
        }

    .navbar-custom-2 .navbar-nav > .dropdown > a .caret {
        border-top-color: #ffffff;
        border-bottom-color: #ffffff;
    }

@media (max-width: 767) {
    .navbar-custom-2 .navbar-nav .open .dropdown-menu > li > a {
        color: #ffffff;
    }

        .navbar-custom-2 .navbar-nav .open .dropdown-menu > li > a:hover,
        .navbar-custom-2 .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #c0c0c0;
            background-color: transparent;
        }

    .navbar-custom-2 .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-custom-2 .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-custom-2 .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #c0c0c0;
        background-color: #3f63a1;
    }

    .navbar-custom-2 .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-custom-2 .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-custom-2 .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #cccccc;
        background-color: transparent;
    }
}

.navbar-custom-2 .navbar-link {
    color: #ffffff;
}

    .navbar-custom-2 .navbar-link:hover {
        color: #c0c0c0;
    }

/************************************************
Specific styles for smaller screens
************************************************/
@media all and (max-width: 956px) {
    .desktop-only {
        display: none;
    }

    body {
        padding: 115px 0 0 0;
        min-width: 300px;
        background-color: #111;
    }

    html {
        position: relative;
        /*min-height: 100%;*/
    }

    .site_title_image {
        height: 50px;
        padding-left: 55px;
    }

    .site_title_image_noname {
        height: 35px;
        padding-left: 55px;
        padding-top: 10px;
    }

    .mobile_title {
        display: block;
    }

    .mobile_title_noname {
        display: none;
    }

    .main_content {
        padding: 5px 5px 20px 5px;
    }

    .header_wrapper {
        margin: 0;
    }

    .search-box {
        position: absolute;
        top: 70px;
        width: 100%;
        padding: 5px;
        z-index: 1000; /* set this lower then .header_left a.state_seal z-index */
        background-color: #ccc;
    }

    .search-box-span {
        width: 100%;
    }

    .footer_info {
        padding-top: 10px;
        text-align: left;
    }


    /************************************************
    navbar style for smaller screens
    ************************************************/
    .navbar-custom .navbar-brand {
        padding: 2px 0 0 0 !important;
    }

    .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
        color: #ffffff;
    }

        .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
        .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #c0c0c0;
            background-color: transparent;
        }

    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #c0c0c0;
        background-color: #3f63a1;
    }

    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #cccccc;
        background-color: transparent;
    }


    .navbar-custom .navbar-link {
        color: #ffffff;
    }

        .navbar-custom .navbar-link:hover {
            color: #c0c0c0;
        }

    /* Force the navbar to allways collapse into menu */
    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        -o-box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        -ms-box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        background-color: #4972b8;
    }

        .navbar-collapse.collapse {
            display: none !important;
        }

    .navbar-fixed-top .navbar-collapse {
        padding-right: 15px;
        padding-left: 15px;
    }

    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px !important;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .collapsing {
        overflow: hidden !important;
    }
}


@media all and (min-width: 376px) and (max-width: 450px) {
    .site_title_image {
        height: unset;
        width: 280px;
        padding-top: 5px;
    }

    .site_title_image_noname {
        height: unset;
        width: 280px;
        padding-top: 12px;
    }

    .navbar-brand {
        font-size: 14px;
        line-height: 14px;
    }
}

@media all and (min-width: 300px) and (max-width: 375px) {
    .site_title_image {
        height: unset;
        width: 200px;
        padding-top: 10px;
    }

    .site_title_image_noname {
        height: unset;
        width: 200px;
        padding-top: 16px;
    }

    .navbar-brand {
        font-size: 12px;
        line-height: 12px;
    }
}

@media all and (max-width: 299px) {
    .site_title_image, .site_title_image_noname {
        display: none !important;
    }

    .navbar-brand {
        font-size: 12px;
        line-height: 12px;
    }
}


/************************************************
Specific styles for desktop screens
************************************************/
@media all and (min-width:957px) {
    body {
        background: #4972b8 url(/SOSCommonStyle/images/bg001.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .mobile-only {
        display: none;
    }

    .header_wrapper {
        margin: 0 0 30px 0;
        background: url(/SOSCommonStyle/images/SOS_header_bg.png) repeat-x;
        /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; /* IE 8 */
        /*filter: alpha(opacity=85); /* IE 5-7 */
        /*-moz-opacity: 0.85; /* Netscape */
        /*-khtml-opacity: 0.85; /* Safari 1.x */
        /*opacity: 0.85; /* Good browsers */
    }

    .footer_wrapper {
        clear: both;
        width: 100%;
        background-color: #222;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; /* IE 8 */
        filter: alpha(opacity=85); /* IE 5-7 */
        -moz-opacity: 0.85; /* Netscape */
        -khtml-opacity: 0.85; /* Safari 1.x */
        opacity: 0.85; /* Good browsers */
    }

    .header_left {
        float: left;
    }

        .header_left .state_seal {
            position: absolute;
            top: 15px;
            left: 0px;
            display: block;
            z-index: 1003;
        }

        .header_left .site_title {
            position: absolute;
            top: 30px;
            left: 185px;
            display: block;
            z-index: 1001;
        }

        .header_left .site_title_noname {
            position: absolute;
            top: 50px;
            left: 185px;
            display: none;
            z-index: 1001;
        }

    .site_title img {
        border: 0;
    }

    .header_right {
        float: right;
    }

    .header_nav {
        position: absolute;
        right: 0px;
        z-index: 1002;
        text-align: right;
        padding: 0;
        font-size: 1em;
        width: 680px;
        color: #fff;
        margin-top: 7px;
        font-family: tahoma, verdana, sans-serif;
        line-height: 18px;
    }

        .header_nav a {
            color: #FFFFFF;
            text-decoration: none;
            font-weight: normal;
            z-index: 1002;
        }

            .header_nav a:hover {
                color: #fff;
                text-decoration: underline;
                font-weight: normal;
            }

        .header_nav .nav_separator {
            padding: 0 2px;
        }

    .header_nav_sections {
        position: absolute;
        right: 0px;
        top: 113px;
        z-index: 1002;
        width: 900px;
        background: #edf1f8;
    }

    .header_nav_section_link_wrapper {
        float: right;
        height: 50px;
        border-right: 1px solid #333;
        right: 0px;
    }

    .header_nav_section_link {
        text-align: left;
        color: #333;
        border: 3px solid transparent;
        font-family: 'Rosario', sans-serif;
        font-weight: normal;
        font-size: 13px;
        text-decoration: none;
        text-transform: uppercase;
        padding: 12px 7px 10px 7px;
    }

        .header_nav_section_link a:link, .header_nav_section_link a:active, .header_nav_section_link a:visited {
            line-height: 100% !important;
            padding: 1px;
            display: block;
        }

        .header_nav_section_link:hover {
            color: #FFF;
            background: -webkit-linear-gradient(#809CCD, #24395C); /* For Safari 5.1 to 6.0 */
            background: -o-linear-gradient(#809CCD, #24395C); /* For Opera 11.1 to 12.0 */
            background: -moz-linear-gradient(#809CCD, #24395C); /* For Firefox 3.6 to 15 */
            background: linear-gradient(#809CCD, #24395C); /* Standard syntax */
            border: 3px solid #EDF1F8;
        }

    .header_nav_section_link_first {
    }

    .header_nav_section_link_last {
        border-right: 0px;
    }

    .header_main {
        height: 165px;
        width: 940px;
        margin: 0 auto;
    }

    .header {
        width: 940px;
        height: 114px;
        padding: 0;
        position: relative;
        background-image: url(/SOSCommonStyle/images/header_background.png);
    }

    .main_content {
		/* Changed to min-width: 940px and width: min-content to allow main display area to expand to fit wide applications (ElectionResults) */
/*        width: 940px; */
		min-width: 940px;
		width: min-content;
        margin: 0 auto;
    }

    .footer {
        width: 940px; /* Overwrite footer width property to counteract bootstrap's formatting */
    }

    .search-box {
        position: absolute;
        right: 0px;
        z-index: 1002;
        text-align: right;
        padding: 0;
        font-size: 1em;
        color: #EDF1F8;
        margin-top: 50px;
    }

    .search-box-span {
        width: 250px;
        float: right;
    }
}

/* End Layout CSS */


/*********************************************************************************************************************************************************/


/* Start Content CSS */

/************************************************
Button colors
************************************************/
.button {
    background: #4972b8;
    display: inline-block;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    -webkit-appearance: none;
    transition: .5s;
    border: none;
    text-align: center;
}

    .button.button-secondary {
        background: #dbdbdb;
        color: #333 !important;
    }

    .button.button-warning {
        background: #c40000;
    }

    .button.button-disabled {
        background: #dbdbdb;
        color: #fff;
    }

        .button.button-disabled:hover {
            color: #fff !important;
            text-decoration: none;
            background: #dbdbdb;
            cursor: not-allowed;
        }

.button-smaller {
    margin: 3px 3px 0 0;
    padding: 0 8px 0 8px;
    height: 20px;
    font-size: 11px;
    line-height: 20px;
}

.button-help {
    margin: 0;
    padding: 0 6px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
}

.button:hover {
    color: #fff !important;
    text-decoration: none;
    background: #888;
}

/************************************************
Content tabs
************************************************/
.main_content_tabs {
    position: relative;
    height: 38px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 30px;
    text-transform: none;
}

    .main_content_tabs li {
        float: left;
        margin: 0;
        padding: 0;
        position: relative;
        list-style: none;
    }

        .main_content_tabs li a {
            float: left;
            padding: 5px 20px;
            display: block;
            text-decoration: none;
            color: #333;
            background: #fff;
            cursor: pointer;
        }

            .main_content_tabs li a:hover {
                color: #333;
                background: #dbdbdb;
            }

            .main_content_tabs li a.nav_active, .main_content_tabs li a.nav_active:hover {
                color: #fff;
                background: #4972b8;
            }

.tabbed_information {
    border-top: 2px solid #4972b8;
    background: none;
    margin: 0;
    padding: 15px 0 0 0;
    display: block;
    clear: both;
}

/************************************************
Tables
************************************************/
/* HTML Table */
.table {
    border: solid 1px #ccc !important;
}

    .table th {
        background-color: #4972b8 !important;
        color: #eee !important;
        border-bottom: 0 !important;
    }

/* Telerik RadGrid */
.rgHeader {
    font-weight: bold !important;
}

    .rgHeader a {
        color: #EEE;
    }

.rgRow, .rgAltRow, .rgHeader {
    height: 37px !important;
    padding: 8px !important;
}

    .rgRow td, .rgAltRow td {
        padding: 8px !important;
    }

/************************************************
Full width colored slabs
************************************************/
.slab {
    width: 100%;
    display: block;
    padding: 10px 10px;
    margin: 5px 0;
    text-align: center;
    font-family: Frank-Medium, Helvetica, Arial, sans-serif;
    font-size: 22px;
}

    .slab span {
        font-size: 12px;
        display: block;
        line-height: 150%;
        font-weight: normal;
    }

.panel-primary > .panel-heading {
    background-color: #4972b8;
    border-color: #4972b8;
}

/************************************************
Colored backgrounds
************************************************/
.bg-black {
    background: #333333;
    color: #fff;
}

.bg-blue {
    background: #4972b8;
    color: #fff;
}

.bg-darkblue {
    background: #1a4085;
    color: #fff;
}

.bg-red {
    background: #c40000;
    color: #fff;
}

.bg-grey {
    background: #dbdbdb;
    color: #000;
}

.bg-darkgrey {
    background: #666666;
    color: #fff;
}

.bg-green {
    background: #78b92e;
    color: #fff;
}

.bg-purple {
    background: #772486;
    color: #fff;
}

.bg-white {
    background: #f9f9f9;
    color: #000;
}

/************************************************
Button lists
************************************************/
.checkbox, .radio {
    margin: 10px 5px 20px 25px !important;
}

    .radio label, .checkbox label {
        display: inline !important;
    }

/************************************************
Help Tooltips
************************************************/
.has-popover div {
    color: black;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: normal;
    z-index: 10001;
    text-shadow: none;
    line-height: 19px;
    width: 250px;
}

/************************************************
Required Field Error Text
************************************************/
.alert.alert-danger {
    padding: 10px;
    margin: 10px 0;
}


/************************************************
background color and width for content table
************************************************/
.Cart {
    BACKGROUND: url(/SOSCommonStyle/images/cart.png);
    background-repeat: no-repeat;
    background-position: right;
    margin: 4px -4px 0 0;
    height: 17px;
    width: 16px;
    font-family: 'Arial Black';
    font-size: x-small;
    font-weight: bold;
    color: #003366;
    text-decoration: none !important;
}

    .Cart:hover {
        cursor: pointer;
        BACKGROUND: url(/SOSCommonStyle/images/cartBRIGHT.png);
        background-repeat: no-repeat;
        background-position: right;
        text-decoration: none !important;
    }

.bold {
    font-weight: bold;
}

.boldred {
    font-weight: bold;
    color: Red;
}

/*Help Tooltips*/
.SH div {
    color: black;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: normal;
    z-index: 10001;
    text-shadow: none;
    line-height: 19px;
    width: 250px;
}

/* End Content CSS */

/*override default green due to ADA issues with contrast*/
.btn-success {
    color: #fff;
    background-color: #396f3a !important;
    border-color: #305e31;
}


/*override default green due to ADA issues with contrast*/
.btn-danger {
    color: #fff;
    background-color: #D4403A !important;
}
