/*!
 * Start Bootstrap - 3 Col Portfolio HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    /*padding-top: 70px;  Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    /*background: url('../imgs/retina.png') repeat fixed center;*/
    background-color: #ffffff;
    min-width: 240px;
    font-size: 18px;
    text-transform: uppercase;
    font-family: Montserrat;
}

@media screen and (max-width:1199px) {
    #ecnLogo {
        max-height: 80px;
        padding-top: 5px;
        margin-top: -3px;
    }

    #ecnMobileNamVotesLogo {
        max-height: 75px;
    }

    #divSearch {
        padding-left: 28px;
    }
}

@media screen and (max-width:999px) {
    .contactus_link {
        display: block;
        width: 100%;
        text-align: center !important;
    }

    .MainMenue {
        padding-bottom: 5px;
    }



    #divSearch {
        padding-left: 15px;
    }


    #dlgCandidatePopup {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
        margin-bottom: 15px;
    }

        #dlgCandidatePopup .modal-dialog {
            margin: 0px !important;
        }

        #dlgCandidatePopup .modal-body {
            padding-top: 0px !important;
            padding-bottom: 0px !important;
        }
}

@media screen and (max-width:668px) {
    #imgProfile {
        width: 60px;
        height: 60px;
        border-width: 3px !important;
        border-color: inherit;
        padding: 2px;
    }

    .rssGridFeed td {
        /*padding: 0px !important;*/
    }


    #dlgCandidatePopup .CandidatePopupimg {
        width: 100% !important;
    }

    .mobileLinks img {
        max-width: 150px !important;
    }

    .mobileContainer {
        /*bottom: -15px;*/
    }
}

@media screen and (max-width:360px) {

    .mobileLinks img {
        max-width: 115px !important;
    }

    .mobileContainer {
        bottom: 0px;
    }
}

.mobileLinks img {
    max-width: 200px;
}

.col-lg-12 {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0;
    margin: 0px 0px 0px 0px;
    height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
}

@media screen and (max-width:800px) {
    .col-lg-12 {
        margin: 0px -4px 0px 0px;
    }
}

.mobileContainerWrapper {
    display: flex;
    gap: 20px; /* Adjust spacing between images as needed */
}

@media screen and (min-width:1200px) {
    #ecnLogo {
        max-height: 130px;
        padding-top: 5px;
        margin-top: -3px;
        margin-left: 30px;
    }

    #ecnMobileNamVotesLogo {
        display: none;
    }
}

#dlgCandidatePopup .modal-body {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    overflow: auto;
    display: block;
    position: relative;
    margin-bottom: 15px;
}

@media screen and (min-width: 1000px) {
    #ERSMenu {
        margin-top: 15px;
        padding-left: 0px !important;
    }

        #ERSMenu .navbar-collapse {
            width: 100%;
        }

            #ERSMenu .navbar-collapse a {
                padding-left: 0px;
                padding-right: 0px;
            }

    #dlgCandidatePopup {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .contactus_link {
        display: block;
        width: 100%;
        text-align: center !important;
        padding-left: 70px;
    }
}


@media screen and (max-width: 1199px) {
    #ERSMenu {
        margin-top: 0px;
    }

    #Menu {
        position: fixed;
        top: 132px;
        right: -10px;
        left: -10px;
    }

    #ecnLogo {
        float: left;
    }

    #ecnMobileNamVotesLogo {
        float: right;
    }
}


#divSearch {
    margin-top: 5px;
}

#dlgCandidatePopup .modal-header {
    background-color: #1C9DD9;
    color: #FFFFFF;
}

.ERStitle {
    /*width: 99.1vw;*/
    margin-top: -7px;
    margin-left: -15px;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 28px;
    font-family: Montserrat;
    vertical-align: middle;
    height: 100%;
    color: #FFF;
    background-color: #008fcc;
    box-shadow: 0 0 8px #777;
}

/*.dashboard {
    margin-left:25px;
    margin-right:25px;
}*/

@media screen and (max-width:668px) {
    .ERStitle {
        /*width: 101vw;*/
        margin-bottom: 0px;
    }

    .dashboard {
        margin-left: 0px;
        margin-right: 0px;
    }

    .footer {
        font-size: 14px;
    }
}

form {
    min-width: 240px;
}

#divLogo {
    padding-left: 15px;
}

#divSubContents {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.portfolio-item {
    margin-bottom: 25px;
    /*margin-left: 10px;
    margin-right: 10px;*/
}

/*Css to target the dropdownbox*/
ul.ui-autocomplete {
    color: #707070 !important;
    -moz-border-radius: 5px;
    border-radius: 5px;
    z-index: 1000;
}

.ui-menu-item.ui-state-focus {
    background-color: #34495E
}

.footer {
    background-color: #fff;
    padding-top: 10px;
    color: #000;
    text-align: center;
}

.HeaderBar {
    font-family: arial;
    font-weight: bold;
    float: left;
    background-color: black;
    /*    box-shadow: 3px 3px 8px #777;*/
    width: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.BannerLogo {
    background-color: #dbdbdb; /*#034B86;*/
    width: 100%;
    background: #dbdbdb; /*#034b86; */ /* Old browsers */
}

#MapContainer {
    margin-top: 0px !important;
}

.MainMenue {
    -moz-border-bottom-left-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -khtml-border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
    -moz-border-bottom-right-radius: 0px;
    -webkit-border-bottom-right-radius: 0px;
    -khtml-border-bottom-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.BottomMenu {
    float: left;
    width: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: left;
    vertical-align: middle;
    min-width: 240px;
    background-color: #454F5D; /*#034B86;*/
    border-bottom-color: #034D8A;
}

.FlatMenuButton {
    float: left;
    height: 35px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #535557; /*#034B86;*/
    vertical-align: middle;
    cursor: pointer;
    font-weight: normal;
    /*    box-shadow: #000,4px,4px;*/
    text-transform: uppercase;
    z-index: 2001;
    position: relative;
}

    .FlatMenuButton:hover {
        background-color: rgba(41, 128, 185,0.5);
        transition: all .3s ease-in-out;
    }

    .FlatMenuButton:active {
        background-color: #333;
    }

    .FlatMenuButton .MenuText {
        text-align: center;
        color: white;
        padding-left: 5px;
        padding-right: 5px;
        text-shadow: 1px 1px 0 #333;
        font-weight: bold;
        padding-bottom: 5px;
        line-height: 36px;
    }

.BottomMenuDivider {
    background-image: url('../TestImage/BlueMenuSeperator.png');
    height: 36px;
    width: 5px;
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    float: left;
    border-bottom: 0px none #000000;
}

.RedMoreButton {
    font-weight: bold;
    background: #EF4836;
    border-radius: 2px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    color: white;
    font-size: 1em;
}

    .RedMoreButton:hover {
        background: #96281B;
        /*        box-shadow: 0px 0px 4px 2px rgba(239,72,54,0.4);*/
        transition: all .3s ease-in-out;
    }

.readmoreFlat, .readmoreFlatWhiteBG, .readmoreFlatDisabled {
    color: #FFF;
    background-color: #0b6bc0;
    margin-left: 5px;
    transition: all .3s ease-in-out;
    display: inline-block;
    /* margin: 5px; */
    font-weight: bold;
    /* text-align: center; */
    /* vertical-align: middle; */
    /* padding: 0 2px; */
    /* height: 20px; */
    white-space: nowrap;
    font-size: 1em;
    line-height: 1;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 10px;
    float: left;
    position: relative;
    left: 0px;
}

/* .readmoreFlat:hover, .readmoreFlatWhiteBG:hover {
        border: solid 2px #EF4836;
        color: #EF4836;
        background-color: transparent;
        transition: all .3s ease-in-out;
        cursor: pointer;
    }

    .readmoreFlat:focus, .readmoreFlatWhiteBG:focus {
        border: solid 2px #A3291C;
        color: #A3291C;
        transition: none;
        cursor: pointer;
    }

    .readmoreFlatWhiteBG:hover {
        background-color: #FFF;
        cursor: pointer;
    }*/

.widgetheadingbluetext {
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: #333;
    font-size: 0.9em;
    cursor: default;
}

#DivRFVNationalBallotChart {
    display: none;
}

.SABCWidget {
    /*box-shadow: 0 0 8px #777;*/
    border-radius: 15px;
    /*border: 1px solid #ddd;*/
    min-height: 300px;
    margin-top: 15px;
}

    .SABCWidget .widHeading {
        padding-top: 4px;
        padding-bottom: 4px;
        font-weight: bold;
        vertical-align: middle;
        color: #FFF;
    }

        .SABCWidget .widHeading div {
            padding-left: 5px;
        }

        .SABCWidget .widHeading span {
            padding-right: 10px;
        }

    .SABCWidget .widBody {
        height: 53vh;
        padding: 15px;
        background-color: white;
    }

        .SABCWidget .widBody .divKnob div:first-child {
            display: block !important;
            margin-left: auto;
            margin-right: auto;
        }

    .SABCWidget:hover {
        /*        box-shadow: 0px 0px 4px 2px #fff;*/
        transition: all .3s ease-in-out;
    }

@media (max-width: 768px) {
    .col-sm-8, .col-md-4, .col-lg-4 {
        width: 100% !important; /* Make widget take full width on small screens */
    }

    .widHeading label {
        font-size: 16px; /* Adjust font size for smaller screens */
    }

    .SABCWidget .widBody {
        height: 100%;
    }

    .widBody {
        font-size: 12px; /* Reduce font size slightly on mobile */
    }

    .electionStatsRow label {
        margin-left: 0px; /* Remove margin for labels on mobile */
    }
}


.HomeFatProgressBar {
    margin: 0 auto;
    width: 250px;
    max-width: 100%;
    height: 50px;
    /*    box-shadow: 1px 5px 8px #BBB;*/
    background-color: #BCBEC2;
}

    .HomeFatProgressBar div {
        height: 100%;
        color: #fff;
        text-align: right;
        line-height: 50px;
        font-size: 1.4em; /* same as #progressBar height if we want text middle aligned */
        max-width: 18em;
        background-color: #EAA229;
        font-weight: bold;
    }


        .HomeFatProgressBar div:hover {
            background-color: #FBB33A;
            cursor: default;
            transition: all .3s ease-in-out;
        }

.WidgetControl {
    border: #BBB;
}

.tab-pane {
    /*border: #ACACAC;*/
    /*    box-shadow: 0 0 8px #777;*/
    /*border: 2px solid #ACACAC;
    border-radius: 0px 0px 1px 1px;
    border-radius: 1px;
    padding-right: 5px;*/
}

    .tab-pane:hover {
        /*        box-shadow: 0px 0px 4px 2px #fff;*/
        transition: all .3s ease-in-out;
    }

/* tab color */
.nav-tabs > li > a {
    background-color: #fff;
    border-color: #fff;
    color: #fff;
}

/* active tab color */
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #fff;
    border-bottom: 2px solid #fff;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

    .nav-tabs > li.active > a:hover {
        cursor: pointer;
    }
/* hover tab color */
.nav-tabs > li > a:hover {
    color: #fff;
    background-color: transparent;
    text-shadow: 0px 0px 4px 2px #fff;
    border-bottom: 2px solid #fff;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.nav-tabs > li > a > img {
    height: 36px;
    width: 36px;
}

.nav-tabs > li {
    background-color: #fff;
    border: #fff;
    /*    box-shadow: -1px -1px 5px #fff;*/
    border: 0px solid #fff;
}

.img-barchart:active {
    background-image: url("../imgs/Dropdownicons/barchart.png");
}

.img-barchart {
    background-image: url("../imgs/Dropdownicons/barchartNA.png");
}

.rssGrid {
    width: 100%;
    padding: 0px;
    margin: 0px;
    border: 0px none;
}

    .rssGrid td, th {
        border: solid 2px #008fcc;
    }

    .rssGrid th {
        display: none;
    }

.rssGridFeed {
    width: 100%;
    padding: 0px;
    margin: 0px;
    /*border: 1px solid #3C4F7A;*/
    border-left: none;
    border-collapse: collapse;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}

    .rssGridFeed td {
        padding: 6px;
        border: solid 1px #EFEFEF;
    }

    .rssGridFeed tr:hover td {
        /*border: solid 1px #EFEFEF;*/
        text-shadow: 0px 0px 4px 2px rgba(0,0,0,0.1);
        cursor: pointer;
        background-color: #EFEFEF;
        transition: all .3s ease-in-out;
    }

    .rssGridFeed tr:hover img {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        -moz-opacity: 1.0;
        -khtml-opacity: 1.0;
        opacity: 1.0;
        transition: all .3s ease-in-out;
    }

    /*.rssGridFeed tr:first-child td:first-child {
            border-radius: 6px;
            -moz-border-radius: 6px;
        }

        .rssGridFeed tr:first-child td:last-child {
            border-radius: 6px;
            -moz-border-radius: 6px;
        }

        .rssGridFeed tr:last-child td:first-child {
            border-radius: 6px;
            -moz-border-radius: 6px;
        }

        .rssGridFeed tr:last-child td:last-child {
            border-radius: 6px;
            -moz-border-radius: 6px;
        }*/

    /*.rssGridFeed td:nth-child(n) {
            border-radius: 6px;
            -moz-border-radius: 6px;
            overflow: hidden;*/ /* Ensures content respects the border-radius */
    /*}*/

    .rssGridFeed td:nth-child(1) {
        border-radius: 6px;
        -moz-border-radius: 6px;
    }

.rssGridFeed-int {
    width: 100%;
    padding: 0px;
    margin: 0px;
    border: 1px solid #3C4F7A;
    border-collapse: collapse;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}

.MiniBoardTable {
    width: 100%;
}

    .MiniBoardTable .RowHeader, .MiniBoardTable .RowHeaderSecondary {
        display: none;
    }

.mGridRFV {
    /*border-radius: 5px 5px 5px 5px;*/
    width: 100%;
    background-color: #FFF;
    border-left: none;
    border-right: 0px solid #FFF;
    border-bottom: none;
    /*box-shadow: 2px 2px 4px 0px rgba(75,75,75,0.3);*/
    border-collapse: separate;
    font-size: 1.0em;
    font-weight: 100;
    text-align: center;
    color: #505050;
    min-height: 240px;
    /*-moz-border-radius: 8px;
        -webkit-border-radius: 8px;
        -khtml-border-radius: 8px;
        border-radius: 8px;*/
    border-spacing: 10px !important;
}

    .mGridRFV td {
        padding: 4px;
        border: none;
        /*border-left: solid 5px #efefef;
            border-right: solid 5px #efefef;
            border-top: solid 5px #efefef;
            border-bottom: solid 5px #efefef;*/
        color: #505050;
    }

    .mGridRFV th {
        /*border-radius: 5px;*/
        padding: 4px;
        /*border-top: solid 5px #FFF;*/
        border-bottom: solid 5px #FFF;
        color: #505050;
        padding: 7px 4px;
        color: #FFF;
        background-color: #008fcc;
        border-top: #FFF;
        text-align: center;
        cursor: pointer;
        height: 50px;
    }

        .mGridRFV th:nth-child(4), .mGridRFV td:nth-child(4) {
            width: 6vw !important;
        }

        .mGridRFV th:nth-child(5), .mGridRFV td:nth-child(5) {
            width: 6vw !important;
        }

        .mGridRFV th:nth-child(n+6), .mGridRFV td:nth-child(n+6) {
            width: 3.5vw !important;
        }

        .mGridRFV th:nth-child(1), th:nth-child(2), th:nth-child(3), th:nth-child(4), th:nth-child(5), th:nth-child(6), th:nth-child(7) th:nth-child(8), th:nth-child(9) {
            /*border-top: solid 5px #FFF;*/
        }

    .mGridRFV thead th:nth-child(1) {
        padding: 4px;
        border-left: solid 0px #FFF;
        border-bottom: solid 5px #FFF;
        color: #efefef;
    }

th:has(.title-shadow-box) {
    margin-left: 20px;
    margin-right: 20px;
    color: #efefef;
    border-left: solid 5px white;
}

.title-shadow-box {
    background: #0B6BC0;
    height: 20%;
    position: relative;
    top: 15%;
    margin-left: -4px;
    margin-right: -4px;
}

@media (max-width: 1658px) {
    .title-shadow-box {
        display: none;
    }
}

.mGridRFV-int {
    width: 100%;
    background-color: #fff;
    border-left: none;
    border-right: 0px solid #FFF;
    border-bottom: none;
    border-collapse: separate;
    font-size: 1.0em;
    font-weight: 100;
    text-align: center;
    color: #505050;
    min-height: 240px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    border-spacing: 10px !important;
}

    .mGridRFV-int td {
        padding: 4px;
        border: none;
        border-left: solid 5px #efefef;
        border-right: solid 5px #efefef;
        border-top: solid 5px #efefef;
        border-bottom: solid 5px #efefef;
        color: #505050;
    }

    .mGridRFV-int th {
        padding: 4px;
        border: solid 1px;
        color: #505050;
        padding: 7px 4px;
        color: #FFF;
        background-color: #1C9DD9;
        text-align: center;
        cursor: pointer;
        height: 50px;
    }

@media (max-width: 768px) {
    .mGridRFV {
        font-size: 14px !important;
        font-style: normal !important;
    }
}

.Facebook {
    float: right;
    vertical-align: top;
    line-height: 0px;
    margin-left: 5px;
    font-size: 0px;
    max-width: 100px !important;
    overflow: hidden;
}

.GooglePlus {
    float: right;
    vertical-align: top;
    line-height: 0px;
    margin-left: 5px;
    font-size: 0px;
    margin-right: 5px;
    width: 60px;
}

    .GooglePlus div {
        width: 60px !important;
    }

    .GooglePlus iframe {
        width: 60px !important;
    }



.Twitter {
    vertical-align: top;
    float: right;
    line-height: 0px;
    font-size: 0px;
}

.RowHeader {
    /*background-color: #DaDaDa;*/
    padding-left: 5px;
    margin-left: 5px;
    cursor: default;
}


    .RowHeader td {
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 3px;
        padding-right: 8px;
        color: #fff;
        font-weight: bold;
        font-size: 1.1em;
        background-color: #0b6bc0;
    }

.RowHeaderSecondary {
    /*background-color: #DaDaDa;*/
    padding-left: 2px;
    margin-left: 2px;
    cursor: default;
    color: #fff;
    background-color: #1c9dd9;
}


    .RowHeaderSecondary td {
        /*border: 1px solid #ACACAC;*/
        /*border-bottom: 1px solid #ACACAC;*/
        /*padding: 8px;*/
        padding-bottom: 3px;
        padding-left: 2px;
        padding-right: 8px;
        color: #000;
        font-size: 1em;
        /*line-height: 32px;*/
        /*text-shadow: 1px 1px 0 #BBB;*/
    }

.RowSubHeader {
    /*background-color: #DaDaDa;*/
    padding-left: 2px;
    padding-bottom: 2px;
    margin-left: 0px;
    font-size: 0.9em;
    cursor: default;
    /*background-color: #CaCaCa;*/
}

    .RowSubHeader:hover {
        /*background-color: #CaCaCa;*/
        /*cursor: default;
        transition: all .3s ease-in-out;*/
    }


    .RowSubHeader td {
        /*border-left: 1px solid #ACACAC;
        border-right: 1px solid #ACACAC;*/
        padding-left: 12px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        color: #444;
        /*text-shadow: 2px 2px 0 #ddd;*/
    }

.internationalModalButtons {
    float: right;
}

.RowFooter {
    /*background-color: #DaDaDa;*/
    padding-left: 5px;
    margin-left: 5px;
    font-size: 0.9em;
    cursor: default;
    /*    box-shadow: 0px 1px 1px #777;*/
}


    /*.RowFooter:hover {
        background-color: #CaCaCa;
        padding-left: 10px;
        margin-left: 5px;
        cursor: default;
        transition: all .3s ease-in-out;
    }*/

    .RowFooter td {
        /*border-left: 1px solid #ACACAC;
        border-right: 1px solid #ACACAC;
        border-bottom: 1px solid #ACACAC;*/
        /*padding: 8px;*/
        /*color: #444;*/
        /*text-shadow: 2px 2px 0 #ddd;*/
        background-color: #fff;
        margin-top: 5px;
        margin-bottom: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

.FooterRowLeftDiv {
    margin-top: 10px;
    float: left;
    width: 100%
}

.FooterRowRightDiv {
    float: right;
    margin-right: 5px;
}

.RowDescription {
    background-color: #DaDaDa;
    padding-left: 5px;
    margin-left: 5px;
    font-size: 0.5em;
}

    .RowDescription td {
        border-left: 1px solid #ACACAC;
        border-right: 1px solid #ACACAC;
        border-top: 1px solid #ACACAC;
        padding: 8px;
        color: #444;
        font-size: 0.5em;
        text-shadow: 2px 2px 0 #ddd;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

.chartContainer {
    border-left: 1px solid #ACACAC;
    border-right: 1px solid #ACACAC;
    border-bottom: 1px solid #ACACAC;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    /*    box-shadow: 1px 1px 6px #777;*/
    height: 373px;
}

.middleValues {
    /*margin-top:15px;*/
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
}

.middleValuesddlSlick {
    padding-top: 6px;
}

.middleValuesddlSlickbtm {
    padding-left: 20px;
    padding-bottom: 6px;
}

.dPadding {
    padding-right: 20px;
}

.mGridRFS {
    width: 100%;
    background-color: #FFFFFF;
    border: solid 1px #357ebd;
    border-left: none;
    /*    box-shadow: 2px 2px 4px 0px rgba(75,75,75,0.3);*/
    border-collapse: separate;
    font-size: 1.0em;
    font-weight: 100;
    text-align: center;
    color: #505050;
    height: 100%;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}

    .mGridRFS td, .mGridRFS th {
        padding: 4px;
        border-left: solid 1px #357ebd;
        border-top: solid 1px #357ebd;
        color: #505050;
    }

    .mGridRFS th {
        padding: 7px 4px;
        color: #FFF;
        background-color: #008fcc;
        border-top: #357ebd;
        text-shadow: 2px 2px 3px #555;
        text-align: center;
        cursor: pointer;
    }

        .mGridRFS th:hover {
            background-color: #3276b1;
        }

    .mGridRFS tr:hover td {
        background-color: #C7DAEB;
    }

    .mGridRFS tr:last-child td:first-child {
        border-bottom-left-radius: 6px;
        -moz-border-bottom-left-radius: 6px;
    }

    .mGridRFS tr:last-child td:last-child {
        border-bottom-right-radius: 6px;
        -moz-border-bottom-right-radius: 6px;
    }

/*.mGridRFS {
    width: 100%;
    background-color: #FFFFFF;
    border: none 0px #FFF;
    border-collapse: collapse;
    height: 100%;
    min-height: 240px;
    table-layout: auto;
}

    .mGridRFS td {
        padding: 2px;
        border: solid 1px #acacac;
        font-size: 0.9em;
    }

        .mGridRFS td .old {
            padding: 2px;
            border: solid 1px #acacac;
            font-size: 0.9em;
        }

    .mGridRFS th {
        padding: 4px 2px;
        text-align: center;
        background-color: #2980B9;
        border: solid 1px #acacac;
        font-size: 1.0em;
        color: white;
        font-weight: 700;
    }

    .mGridRFS tr:hover td {
        background-color: #B7CCE8;
        transition: all .3s ease-in-out;
    }

    .mGridRFS th:hover {
        cursor: pointer;
        background-color: #1870A8;
        transition: all .3s ease-in-out;
    }*/


.mGridDeclared {
    width: 100%;
    border: solid 1px #FFFFFF;
    border-left: none;
    border-right: 0px solid #FFF;
    /*    box-shadow: 2px 2px 4px 0px rgba(75,75,75,0.3);*/
    border-collapse: separate;
    font-size: 1.0em;
    font-weight: 100;
    text-align: center;
    color: #505050;
    height: 100%;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}

    .mGridDeclared td, .mGridDeclared th {
        padding: 4px;
        border-left: solid 1px #FFF;
        border-top: solid 1px #FFF;
        border-right-width: 0px;
        color: #505050;
    }

    .mGridDeclared th {
        padding: 7px 4px;
        color: #FFF;
        background-color: #008fcc;
        border-top: #FFF;
        text-align: center;
        cursor: pointer;
    }

        .mGridDeclared th:hover {
            /*background-color: #fff;*/
        }

    .mGridDeclared tr:hover td {
        background-color: #1C9DD9;
    }

    .mGridDeclared tr:last-child td:first-child {
        border-bottom-left-radius: 6px;
        -moz-border-bottom-left-radius: 6px;
    }

    .mGridDeclared tr:last-child td:last-child {
        border-bottom-right-radius: 6px;
        -moz-border-bottom-right-radius: 6px;
    }
/*.mGridDeclared {
    width: 100%;
    background-color: #FFFFFF;
    border: none 0px #FFF;
    border-collapse: collapse;
    height: 100%;
    min-height: 240px;
    table-layout: auto;
}

    .mGridDeclared td {
        padding: 2px;
        border: solid 1px #acacac;
        font-size: 0.9em;
    }

        .mGridDeclared td .old {
            padding: 2px;
            border: solid 1px #acacac;
            font-size: 0.9em;
        }

    .mGridDeclared th {
        padding: 4px 2px;
        text-align: center;
        background-color: #2980B9;
        border: solid 1px #acacac;
        font-size: 1.0em;
        color: white;
        font-weight: 700;
    }

    .mGridDeclared tr:hover td {
        background-color: #B7CCE8;
        transition: all .3s ease-in-out;
    }

    .mGridDeclared th:hover {
        cursor: pointer;
        background-color: #1870A8;
        transition: all .3s ease-in-out;
    }*/


/*.mGridTurnout {
    width: 100%;
    background-color: #FFFFFF;
    border: none 0px #FFF;
    border-collapse: collapse;
    height: 100%;
    min-height: 240px;
    table-layout: auto;
}

    .mGridTurnout td {
        padding: 2px;
        border: solid 1px #acacac;
        font-size: 0.9em;
    }

        .mGridTurnout td .old {
            padding: 2px;
            border: solid 1px #acacac;
            font-size: 0.9em;
        }

    .mGridTurnout th {
        padding: 4px 2px;
        text-align: center;
        background-color: #2980B9;
        border: solid 1px #acacac;
        font-size: 1.0em;
        color: white;
        font-weight: 700;
    }

    .mGridTurnout tr:hover td {
        background-color: #B7CCE8;
        transition: all .3s ease-in-out;
    }

    .mGridTurnout th:hover {
        cursor: pointer;
        background-color: #1870A8;
        transition: all .3s ease-in-out;
    }*/
.tab-content {
    /*box-shadow: 0 0 8px #777;*/
    /*border: 1px solid #ddd;*/
    min-height: 300px;
}

.mGridTurnout {
    width: 100%;
    width: 100%;
    border: solid 1px #FFFFFF;
    border-left: none;
    /*    box-shadow: 2px 2px 4px 0px rgba(75,75,75,0.3);*/
    border-collapse: separate;
    font-size: 1.0em;
    font-weight: 100;
    text-align: center;
    color: #505050;
    height: 100%;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}

    .mGridTurnout td, .mGridTurnout th {
        padding: 4px;
        border-left: solid 1px #FFF;
        border-top: solid 1px #FFF;
        color: #505050;
    }

    .mGridTurnout th {
        padding: 7px 4px;
        color: #FFF;
        background-color: #008fcc;
        border-top: #FFF;
        /*text-shadow: 2px 2px 3px #555;*/
        text-align: center;
        cursor: pointer;
    }



    .mGridTurnout tr:hover td {
        background-color: #C7DAEB;
    }

    .mGridTurnout tr:last-child td:first-child {
        border-bottom-left-radius: 6px;
        -moz-border-bottom-left-radius: 6px;
    }

    .mGridTurnout tr:last-child td:last-child {
        border-bottom-right-radius: 6px;
        -moz-border-bottom-right-radius: 6px;
    }

    /*.mGridTurnout th:last-child, .mGridRFV td:last-child {
        border-top: solid 1px #000;
    }*/

    .mGridTurnout th:nth-child(2), th:nth-child(3), th:nth-child(4), th:nth-child(5), th:nth-child(6), .mGridRFV td:last-child {
        border-top: solid 1px #FFF;
    }

    .mGridTurnout th:first-child, .mGridRFV td:first-child {
        border-top: solid 1px #FFF;
        width: 2vw;
    }

.navbar-nav {
    padding-top: 5px;
}

    .navbar-nav a {
        position: relative;
        display: inline-block;
        outline: none;
        color: #000;
        text-decoration: none;
        /*text-transform: uppercase;
                letter-spacing: 1px;*/
        font-weight: 400;
        text-shadow: 0 0 1px rgba(0,0,0,0.3);
    }

        .navbar-nav a:hover,
        .navbar-nav a:focus {
            outline: none;
            transition: all .3s ease-in-out;
        }

/* Effect 5: same word slide in */
.cl-effect-5 a {
    overflow: hidden;
    padding: 0 7px;
    cursor: pointer;
}

    .cl-effect-5 a span {
        /*position: relative;*/
        padding: 0 8px;
        display: inline-block;
        -webkit-transition: -webkit-transform 0.3s;
        -moz-transition: -moz-transform 0.3s;
        transition: transform 0.3s;
    }

        .cl-effect-5 a span::before {
            position: absolute;
            top: 100%;
            content: attr(data-hover);
            font-weight: bold;
            color: #FFFFFF;
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
            text-shadow: 0px 0px 4px 2px rgba(37,116,169,1.0);
        }

    .cl-effect-5 a:hover span,
    .cl-effect-5 a:active span,
    .cl-effect-5 a:focus span {
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        transform: translateY(-100%);
    }

/* Effect 5 Admin: same word slide in */
.cl-effect-5-admin a {
    overflow: hidden;
    padding: 0 7px;
    cursor: pointer;
}

    .cl-effect-5-admin a span {
        /*position: relative;*/
        padding: 0 8px;
        display: inline-block;
        -webkit-transition: -webkit-transform 0.3s;
        -moz-transition: -moz-transform 0.3s;
        transition: transform 0.3s;
    }

        .cl-effect-5-admin a span::before {
            position: absolute;
            top: 100%;
            content: attr(data-hover);
            font-weight: bold;
            color: #FFFFFF;
            -webkit-transform: translate3d(0,0,0);
            -moz-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
            text-shadow: 0px 0px 4px 2px rgba(200,200,200,0.5);
        }

    .cl-effect-5-admin a:hover span,
    .cl-effect-5-admin a:active span,
    .cl-effect-5-admin a:focus span {
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        transform: translateY(-100%);
    }

.activeMenuItem {
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0px 0px 4px 2px rgba(255,255,255,0.5);
}

.navbar-collapse.collapsing,
.navbar-collapse.collapse.in {
    width: 150px;
    margin-left: 10px;
}

.navbar-header {
    margin-right: 10px;
    padding-left: 10px;
}

.navbar-toggle {
    margin-right: 10px;
}

.navbar-collapse.collapsing > span,
.navbar-collapse.collapsing > span > a,
.navbar-collapse.collapse.in > span,
.navbar-collapse.collapse.in > span > a {
    display: block;
    line-height: 50px;
    padding: 0px;
    margin: 0px;
    /*float: left;
            position: relative;*/
}


.customStaticNav {
    position: fixed;
    top: -1px;
    right: 0px !important;
    left: 0px;
    z-index: 1040;
    /*-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;*/
}

.windowBorder {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*    box-shadow: 0 0 8px #34495E inset;*/
    z-index: -1000;
}




.current {
    text-align: center;
    font-weight: 600;
}

.old {
    color: #666;
    text-align: center;
}

.currentBlue {
    text-align: center;
    font-weight: 600;
    background-color: white;
}


.currentLink {
    text-align: center;
}

    .currentLink a {
        text-decoration: underline;
        color: #034B86 !important;
        text-align: center;
        font-weight: bold;
    }

.oldBlue {
    color: #666;
    text-align: center;
    background-color: white;
}

.sorting_1 {
    /*text-align: left;*/
    font-weight: 600;
}

.nav-tabsdisabled {
    background-color: #eee;
    color: #eee;
    border: 0px solid #eee;
    display: none !important;
}

/* disabled tab color */
.nav-tabs > li > a.nav-tabsdisabled, .nav-tabs > li.nav-tabsdisabled > a:hover, .nav-tabs > li.nav-tabsdisabled > a:focus {
    color: gray;
    background-color: gray;
    cursor: not-allowed;
}

.odd {
}

.even {
}

.rssGridFeed .heading {
    text-align: left;
    height: 25px;
    vertical-align: top;
    padding-left: 10px;
    padding-top: 10px;
    font-size: 1.05em;
}

.rssGridFeed .text {
    font-family: arial,helvetica;
    color: rgba(0,0,0,0.5);
    height: 95px;
    overflow: hidden;
    -webkit-user-select: none;
    -webkit-text-size-adjust: none;
    text-align: left;
    vertical-align: top;
    padding-left: 15px;
    padding-top: 0px;
    font-size: 1em;
    width: 100%;
    line-height: 1em;
}

.rssGridFeed .img {
    vertical-align: top;
}

.rssGridFeed .profileimgcontainer {
    position: relative;
    left: 0px;
    top: 0px;
    display: block;
    margin: 8px;
    width: 100px;
}

.rssGridFeed .profileimg {
    height: 80px;
    width: 80px;
    text-align: center;
    vertical-align: top;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    /*    box-shadow: 3px 3px 8px #777;*/
    padding: 0px;
    background-color: #EEE;
}


.candidateitem .partyimgContainer {
    position: absolute;
    top: 60px;
    left: 60px;
    display: block;
}

.partyimgContainer {
    height: 6px !important;
    margin-right: 2px;
}

.rssGridFeed .partyimg {
    border: 1px solid black;
    height: 40px;
    border-radius: 50%;
    width: 40px;
    background-color: white;
    left: 30px;
    top: -30px;
    position: relative;
}

@media screen and (max-width:668px) {
    .rssGridFeed .partyimg {
        width: 30px;
        height: 30px;
    }
}

.AllPartiesLink {
    background: #034B86;
    border-radius: 15px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    color: white !important;
    font-size: 1em;
    text-shadow: none;
    float: right;
}


    .AllPartiesLink:hover {
        background: #246DA8;
    }

    .AllPartiesLink:active {
        background-color: #063964;
    }

.divGridHead1 {
    color: #c0392b;
}

.electionStatsTable {
    margin-bottom: 5px;
}

    .electionStatsTable td {
        border: none !important;
        padding: 15px !important;
    }

    .electionStatsTable a {
        color: #000;
    }

.electionStatsRow {
    margin-bottom: 20px;
}

.electionStatsValue {
    text-align: left;
}

@media screen and (max-width:600px) {
    .electionStatsTable td {
        border: none !important;
        padding: 0px !important;
    }

    .electionStatsValue {
        text-align: center;
    }
}

.jqplot-table-legend {
    right: -10px !important
}

.legendTurnout {
    /*padding-left: 5px;*/
    padding-right: 0px;
    min-width: 76px;
}

.legendPresidential {
    /*padding-left: 5px;*/
    padding-right: 0px;
    min-width: 135px;
}

.content-loading {
    /*background: white url('/images/loadingIndicator_2.gif') center center no-repeat;*/
    background-color: transparent;
    background-image: url('../imgs/loaderspiffy.gif');
    background-repeat: no-repeat;
    /*background-attachment:fixed;*/
    background-position: center;
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    display: none !important;
}


.content-loading-dt {
    /*background: white url('/images/loadingIndicator_2.gif') center center no-repeat;*/
    background-color: transparent;
    background-image: url('../imgs/loaderspiffy.gif');
    background-repeat: no-repeat;
    /*background-attachment:fixed;*/
    background-position: center;
    /*position: absolute;*/
    width: 100%;
    height: 106px;
    background-color: transparent !important;
    box-shadow: none !important;
}

/*removed for ui design to match, Works with election grid for Presidential ballot and Parliamentary Party Results*/
/*.sorting_disabled {
    border-right: 1px solid #fff !important;
}*/

/*------------------DISPLAY BORD---------------------*/
#divPartyResult th {
    text-shadow: none !important;
}


/*------------------DISPLAY BORD---------------------*/
#divPartyResult th {
    text-shadow: none !important;
}

#divPresidentialResult th {
    text-shadow: none !important;
}

#divPartyResult .RowHeader td, #divPresidentialResult .RowHeader td {
    font-size: 14px !important;
}

#TimeText {
    font-weight: normal !important;
}

#Declared {
    padding-left: 20px;
    font-weight: normal !important;
}

#divPartyResult .RowHeader td {
    padding-left: 20px;
    font-weight: normal;
}

#divPresidentialResult .RowHeader td {
    padding-left: 20px;
    font-weight: normal;
}

#divPresidentialResult .mGridRFV th, #divPartyResult .mGridRFV th {
    color: #000 !important;
    font-size: 27px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

#divPartyResult .mGridRFV td, #divPresidentialResult .mGridRFV td {
    font-size: 23px;
    letter-spacing: 4px;
}



#divPartyResult .SABCWidget, #divPresidentialResult .SABCWidget {
    border: 0 !important;
    box-shadow: none !important;
    transition: 0 !important;
}

#divPartyResult .mGridRFV .profileimg, #divPresidentialResult .mGridRFV .profileimg {
    height: 80px;
    width: 90px;
    text-align: center;
    vertical-align: top;
}

#divPartyResult .rssGridFeed .partyimg, #divPresidentialResult .rssGridFeed .partyimg {
    top: -55px;
}

#divPartyResult .mGridRFV, #divPresidentialResult .mGridRFV {
    box-shadow: 0 !important;
}

#divPartyResult .SABCWidget, #divPresidentialResult .SABCWidget, #divPartyResult .mGridRFS, #divPresidentialResult .mGridRFS, #divPartyResult .mGridRFV, #divPresidentialResult .mGridRFV {
    box-shadow: 0 !important;
    border: unset;
}

.mGridRFV thead tr:nth-child(2), .mGridTurnout thead tr:nth-child(2) {
    font-size: 13px
}

#divPartyResult .rssGridFeed tr:hover td, #divPresidentialResult .rssGridFeed tr:hover td {
    border: 1px solid #fff;
    text-shadow: 0;
    cursor: pointer;
    background-color: inherit;
    transition: unset;
}

#divPresidentialResultGrid thead, #divPartyResultGrid thead {
    display: none;
}

#divPartyResult {
    /* overflow-y: auto;
    max-height: 1080px*/
}

    /* #divPartyResult .mGridRFV {
        position: relative;
        top: 40px;
    }

    #divPartyResult .RowHeader {
        position: absolute;
        height: 30px;
        top: 0;
        /* background: #f4e8dc; 
        z-index: 999;
    }*/


    #divPartyResult .mGridRFV .profileimgContainer, #divPresidentialResult .mGridRFV .profileimgContainer {
        padding: 20px !important;
    }

.addNumericalSpace {
    width: 160px !important;
}

#divPartyResult .addNumericalSpace, #divPresidentialResult .addNumericalSpace {
    width: 350px;
}

.ui-widget-content {
    background: #FFFFFF;
}

#DivInternationalVotesResults .RowFooter, #DivInternationalVotesResults .RowFooter td {
    background-color: unset;
    box-shadow: none;
}

#DivInternationalVotes {
    height: 470px !important;
}


.candidateGridHeading {
    font-weight: bold;
    margin-bottom: 10px;
    padding-top: 10px;
}

.candidateGridParty {
    padding-left: 3px;
}

.candidateGridGender {
    padding-left: 3px;
}


.divAppDownload {
    padding-top: 4px;
    padding-bottom: 4px;
    font-weight: bold;
    vertical-align: middle;
    color: #FFF;
    background-color: #1C9DD9;
    box-shadow: 0 0 8px #777;
    margin-bottom: 50px;
}


#collapseTwo #headerrow td {
    font-weight: bold;
}

.table-transparent {
    color: #efefef;
    background-color: transparent !important;
    /*text-align: center;*/
    margin-top: 5px;
}

    .table-transparent td {
        background-color: transparent !important;
        /*text-align: center;*/
    }

.accordion {
    padding: 15px;
}

#txtSearch {
    color: #1C9DD9;
}

    #txtSearch ::placeholder {
        color: #1C9DD9;
    }

.input-group-addon {
    background-color: #1C9DD9;
    color: #efefef
}

.stats-footer {
    display: block;
    margin-top: 5px;
    color: #000;
    text-align: center;
}

@media screen and (max-width:600px) {

    .title-shadow-box {
        display: none;
    }
}

#Top3PresidentialChart {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.shadow-box {
    height: 100%;
    width: 95%;
    box-shadow: 0px 1px 4px 0px rgba(0.3, 0.3, 0.3, 0.3);
    margin-right: 5px;
    margin-left: 20px;
    padding: 0px;
}

.chart-container {
    /*height: 400px;*/
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    color: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 1599px) {
    .showInternational {
        display: none !important;
    }

    .chart-container {
        height: 300px;
        padding: 0 10px;
    }

    .shadow-box {
        width: 90%;
    }
}

.tooltip {
    /*position: absolute;*/
    background-color: #333;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 12px;
}

.ui-autocomplete {
    z-index: 9999 !important;
    position: absolute;
}

.custom-popover {
    font-size: 14px;
    color: #333;
    max-width: 200px;
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52.4vh;
    text-align: center;
    font-size: 1.5em;
    color: #333;
}


input:focus {
    outline: none; /* Removes the outline */
    border: none; /* Removes the border when focused */
}

.ui-dialog {
    width: 82vw !important;
    height: 82vh !important;
}

#DivInternationalVotes {
    height: 66vh !important;
    width: 80vw;
}