/* Template-level */
#header {
    overflow: hidden;
}
    #header #top {
        border-bottom: 10px solid #ffc527;
        background-color: #fff;
    }
    #header #brand {
        font-size: 15px;
        background-color: #ffc527;
        padding: 5px 35px 1px 20px;
        line-height: 1.5em;
        color: #000;
    }
        #header #brand #txt {
            margin-top: 8px;
        }
        #header #brand p:first-child {
            font-size: 20px;
        }
        #header #brand p:last-child {
            font-size: 22px;
        }
        #header #brand a {
            color: #000;
        }
    #header #title_row {
        background-color: #003471;
        color: #fff;
        padding-top: 10px;
        font-size: 40px;
        border-bottom: 5px solid #13b5ea;
    }
        #header #title_row img {
            width: 50px;
            height: 50px;
        }
    #header .title_txt {
        margin-left: 10px;
        display: block;
    }
    #primary_nav li {
        display: inline-block;
    }
        #primary_nav li a {
            display: block;
            font-size: 21px;
            color: #003471;
            padding: 23px 25px 23px 25px;
            font-weight: bold;
            text-decoration: none;
            letter-spacing: .05em;
        }
    #primary_nav .image_nav a {
        padding: 18px 18px 22px 18px;
    }
    #primary_nav a:hover {
        background-color: #ffc527;
        color: #fff;
    }
    #primary_nav img {
        margin-bottom: -16px;
    }
    #primary_nav .primary {
        position: relative;
    }
#mega_nav {
    position: absolute;
    width: 100%;
    background-color: #fff;
    top: 70px;
    border-top: 1px solid #ffc527;
    border-bottom: 10px solid #ffc527;
    z-index: 101;
    box-shadow: 0px 20px 12px -14px #595959;
}
    #mega_nav .column {
        border-left: 1px solid #ccc;
        padding: 0 75px 20px 75px;
    }
        #mega_nav .column:first-child {
            border-left: none;
        }
    #mega_nav a {
        color: #003471;
        text-decoration: none;
    }
    #mega_nav ul,
    #maga_nav li {
        list-style-type: none;
    }
        #mega_nav li:hover {
            opacity: .60;
        }
    #mega_nav #mega_nav_wrap {
        margin: auto;
        display: table;
    }
#search {
    width: 50%;
    position: relative;
    opacity: 0;
}
    #search fieldset {
        border: 0;
        padding: 10px;
    }
    #search #searchTextBox,
    #search .sfsearchTxt {
        padding: 15px;
        width: 70%;
        border: 1px solid #003471;
    }
    #search .sfsearchSubmit {
        border: none;
        font-size: 20px;
        background-color: #003471;
        color: #fff;
        padding: 5px 20px 10px 20px;
        margin-left: 15px;
        height: 50px;
    }
    #search #search_wrap {
        width: 90%;
    }
    #search #close_search {
        padding: 18px 20px 0 10px;
    }
#footer {
    background-color: #003471;
    color: #fff;
    font-size: 14px;
    padding-bottom: 30px;
}
    #footer .icons img {
        padding: 20px 20px 20px 0;
    }
    #footer #back_to_top img {
        padding: 20px 0 20px 20px;
    }
    #footer a {
        color: #fff;
        font-size: 14px;
    }
    #footer #footer_nav a {
        color: #fff;
        padding: 25px 10px 10px 10px;
        font-size: 22px;
        display: inline-block;
    }
    #footer #footer_top {
        border-bottom: 1px solid #13b5ea;
    }
        #footer #footer_top .r img {
            padding: 20px 0 20px 0;
        }
    #footer #cols {
        line-height: 2em;
    }
        #footer #cols .col {
            width: 25%;
        }
    #footer .hd {
        font-size: 20px;
        font-weight: bold;
    }
#language_selection {
    position: absolute;
    top: 70px;
    right: 0;
    z-index: 101;
    background-color: #fff;
    width: 200px;
    border-bottom: 10px solid #ffc527;
}
    #language_selection a {
        color: #003471;
        text-decoration: none;
        display: block;
        padding: 5px 10px 5px 10px;
    }
        #language_selection a:hover {
            background-color: #003471;
            color: #fff;
        }
    #language_selection .sflangSelected {
        display: none;
    }

/* ***** Page-level */
body {
    font-family: lato, arial, san-serif;
    font-size: 20px;
    margin: 0px;
    color: #333333;
}
.main_content {
    width: 1100px;
    margin: auto;
}
#page {
    font-size: 15px;
    margin-bottom: 40px;
    padding-top: 15px;
}
    #page h1 {
        margin-top: 0;
    }
    #page h3 {
        font-size: 18px;
    }
.hd1 {
    font-size: 20px;
    font-weight: bold;
}
    .hd2 {
        font-size: 17px;
        font-weight: bold;
    }
ul {
    margin: 0;
    padding: 0;
}
h1 {
    color: #003471;
}
.res .keys .key {
    font-size: 35px;
    widtH: 50px;
    height: 50px;
    color: #fff;
}
.res .row {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
#view-election-link {
    margin-top: 15px;
}
#process-running {
    color: #333333;
    font-size: 11px;
}
    #process-running .right {
        margin-top: 2px;
    }

/* From old tertiary styles */
.expandable_item .hd3 {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
#page h3 {
    font-size: 18px;
}
#page a {
    color: #003471;
}
    #page a:hover {
        color: #92191b;
    }
div.expandable_content {
    display: none;
}
.list_items,
#content_det ul {
    padding-left: 25px;
}
    ul.list_items li,
    .expandable_item,
    table.detail_content li {
        margin-bottom: 5px;
    }
    ul.list_items li,
    li#item_sort_alpha,
    li#item_sort_alpha li,
    table.detail_content li,
    .list_item {
        background: url("../images/icon_list_item.png");
        background-repeat: repeat;
        background-position-x: 0%;
        background-position-y: 0%;
        background-repeat: no-repeat;
        background-position: 0%;
        padding-left: 14px;
    }
ul li {
    list-style-type: none;
}
table.detail_content,
table.list_detail_content {
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(0, 119, 190);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 1px solid #003471;
    border-bottom: 5px solid #003471;
    margin: 20px 0 20px 0;
}
table {
    border-spacing: 0;
}
table.detail_content tr.header,
table.list_detail_content tr.header,
table.list_detail_content th.header {
    background-color: #bdbdbd;
}
table.detail_content .header,
table.detail_content td.header,
table.detail_content th,
table.list_detail_content .header,
table.detail_content_s .header,
table.list_detail_content th {
    text-align: center;
    background-color: #003471;
    color: #fff;
    vertical-align: central;
    padding-top: 12px;
    padding-bottom: 12px;
}
table.detail_content th.header {
    background-color: #003471;
    color: #fff;
}
table.detail_content thead th,
table.list_detail_content thead th {
    padding: 1px 0 1px 0;
}
table.detail_content .header h3,
table.detail_content h4 {
    margin: 0;
    padding: 0;
}
table.detail_content td,
table.multicolumn td,
table.detail_content_s td {
    vertical-align: top;
    padding: 10px;
    border: 0.5px solid #e9e9e9;
}
table.detail_content .columnHeader th {
    padding: 6px 0 6px 0;
}
.file_type {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-left: 5px;
}

.popup_overlay {
    width: 100%;
    height: 100%;
    background-color: #003471;
    opacity: .9;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
    .popup_overlay .popup_title {
        color: #fff;
        padding: 20px 0 20px 30px;
        display: block;
        font-size: 40px;
    }
#popup_wrap {
    width: 900px;
    margin: auto;
    display: table;
}
.popup {
    position: fixed;
    top: 140px;
    z-index: 100;
    background-color: #fff;
    padding: 10px;
    width: 880px;
    height: 70%;
    overflow-y: scroll;
}
    .popup #popup_header {
        border-bottom: 1px solid #003471;
    }
    .popup .title {
        font-size: 24px;
        font-weight: bold;
        color: #003471;
    }
.popup_overlay .popup_close {
    /*position: fixed;*/
    z-index: 102;
    /*top: 0;
    right: 0;*/
    padding: 30px;
}

.btn_action {
    margin-bottom: 10px;
    width: 400px;
    background-color: #003471;
}
    .btn_action .icon,
    .btn_action .action {
        padding: 5px 10px 5px 10px;
        margin: 2px;
        height: 50px;
        display: table-cell;
        vertical-align: middle;
        font-size: 22px;
    }
        .btn_action .action a {
            text-decoration: none;
        }
    .btn_action:hover {
        opacity: .75;
    }
.alert_box {
    background-color: #f6f6f6;
    border-left: 1px solid #003471;
    border-top: 1px solid #003471;
    border-right: 1px solid #003471;
    border-bottom: 5px solid #003471;
    display: table;
    margin: 18px 10px 10px 0;
    padding: 10px;
}
.button_blue {
    background-color: #13b5ea;
    padding: 10px;
    color: #fff;
    display: table;
    text-decoration: none;
}
/* ***** Page-level - End */

/* ***** Mobile */
/* Master (Phone/Tablet) */
@media 
    screen and (min-width: 48em) and (max-width: 64em),
    screen and (max-width: 47.9375em) {
    .content_frame,
    .main_content {
        width: 100%;
    }
    .content_frame .m_pad {
        margin: 0 10px 0 10px;
    }
    .m_pad {
        margin: 0 30px 0 30px;
    }
        .m_pad_bottom {
            padding-bottom: 10px;
        }
        .m_pad_top {
            padding-top: 10px;
        }
    .m_d_toggle,
    .m_p_toggle,
    .m_t_toggle {
        display: none;
    }
    .m_toggle {
        display: block !important;
    }
    .m .span,
    .m_span {
        width: 100% !important;
    }
    .m_no_span {
        width: auto !important;
    }
    .m .left,
    .m_left {
        float: left;
        padding-right: 10px;
    }
    .m .columns2,
    .columns2 {
        width: 47%;
    }
    .m .no_float {
        float: none;
    }
    .m_no_margin {
        margin: 0 !important;
    }
    .m .no_margin_bottom,
    .m_no_margin_bottom {
        margin-bottom: 0;
    }
        .m .no_margin_lr {
            margin-left: 0;
            margin-right: 0;
        }
        .m_no_margin_top {
            margin-top: 0 !important;
        }
        .m_no_margin_right {
            margin-right: 0 !important;
        }
    .m_hd1 {
        font-size: 20px;
    }
    .m_align_l {
        text-align: left;
    }
    .m_align_c {
        text-align: center;
    }
    .m_margin_align_c {
        display: table;
        margin: auto;
    }
    .m_text_size_medium {
        font-size: 24px;
    }
        .m_text_size_large {
            font-size: 32px;
        }
        .m_text_size_small {
            font-size: 18px;
        }
    .m_fill {
        display: table;
    }
    .m_hide {
        display: none;
    }
    .m select,
    .m option {
        font-size: 24px;
    }
    .m_rows .base {
        float: none;
    }
        .m_rows .row {
            display: block;
        }
        .m_rows .no_float {
            float: none;
        }
    .m_no_pad {
        padding: 0 !important;
    }
        .m_no_pad_l {
            padding-left: 0;
        }
        .m_no_pad_t {
            padding-top: 0;
        }
        .m_no_pad_r {
            padding-right: 0;
        }
        .m_no_pad_tr {
            padding-top: 0 !important;
            padding-right: 0 !important;
        }
    .m_block {
        display: block;
    }
    .m_img_span img {
        width: 100%;
    }

    /* Project-specific */
    #header #brand {
        padding: 5px 0 1px 0;
    }
        #header #brand img {
            margin-left: -5px;
        }
    #m_primary_nav_btn {
        border-bottom: 1px solid #ccc;
    }
    #m_primary_nav img {
        margin-top: 5px;
    }
    #m_primary_nav ul {
        margin-top: -5px;
    }
    #m_primary_nav li {
        list-style-type: none;
        display: block;
        font-size: 10px;
    }
    #m_primary_nav a {
        font-size: 30px;
        display: block;
        color: #003471;
        font-weight: bold;
        text-decoration: none;
        letter-spacing: .05em;
        padding: 15px 10px 20px 20px;
    }
        #m_primary_nav a:hover {
            background-color: #ffc527;
            color: #fff;
        }
    /*.m_nav {
        display: block;
        background-color: #e1e2e1;
        width: 100%;        
    }
        .m_nav .sfNavToggle {
            display: inline-block;
            padding-top: 10px;
            padding-bottom: 10px;
            font-size: 18px;
        }
    #header #brand {
        padding: 5px 0 1px 0;
    }
        #header #brand img {
            margin-left: -5px;
        }
    #m_primary_nav_btn {
        border-bottom: 1px solid #ccc;
    }
    #m_primary_nav img {
        margin-top: 5px;
    }
    #m_primary_nav ul {
        margin-top: -5px;
    }
    #m_primary_nav li {
        list-style-type: none;
        display: block;
        font-size: 10px;
    }
    #m_primary_nav a {
        font-size: 30px;
        display: block;
        color: #003471;
        font-weight: bold;
        text-decoration: none;
        letter-spacing: .05em;
        padding: 15px 10px 20px 20px;
    }
        #m_primary_nav a:hover {
            background-color: #ffc527;
            color: #fff;
        }
    .tertiary #m_primary_nav li {
        list-style-type: none;
        display: inline-block;
        font-size: 10px;
    }
    .tertiary #m_primary_nav a {
        padding: 25px 15px 20px 15px;
        font-size: 14px;
        display: block;
    }
    .feature_content {
        margin: 30px 0 30px 0;
    }
        .feature_content .feature_hd {
            font-size: 20px;
            margin-bottom: 0;
        }
        .feature_content .feature_divider {
            height: 5px;
        }
        .feature_content .feature_description {
            font-size: 15px;
            margin-top: 0;
        }
    #carousel_navigation {
        margin-top: 10px;
    }
        #carousel_navigation img {
            width: 10px;
            height: 10px;
            padding: 5px 5px 5px 0;
        }
    #sections {
        position: inherit;
        margin-top: auto;
    }
        #sections .txt {
            width: 70%;
        }
        #sections .section {
            padding: 15px 0 15px 0;
            margin: 15px 0 15px 0;
        }
            #sections .section img {
                width: 100px;
                height: 100px;
            }
        #sections .mid_section {
            border-left: 0;
            border-right: 0;
            border-top: 1px solid #e1e1e1;
            border-bottom: 1px solid #e1e1e1;
        }
    #header #brand {
        line-height: 1em;
    }
        #header #brand p:first-child {
            font-size: 12px;
        }
        #header #brand p:last-child {
            font-size: 16px;
        }
            #header #brand #txt {
                margin-top: 12px;
            }
    #news .img img {
        width: 75px;
        height: 75px;
    }
    #news .txt {
        width: 60%;
    }
    #stats {
        padding-bottom: 20px;
    }
    #stats_base {
        height: 60px;
    }
    #secondary_feature_image {
        min-width: inherit;
        height: 200px;
        background-size: 200%;
    }
    #landing_sections .landing_section {
        padding: 20px 0 20px 0;
        border-bottom: 1px solid #ccc;
        margin: 0;
        width: 100%;
    }
        #landing_sections .landing_section:last-child {
            border-bottom: none;
        }
    #sections #section_buttons {
        box-shadow: inherit;
    }
    #sections .section {
        display: table;
    }
    .m_page_sections {
        margin-top: 0;
    }
        .m_page_sections .icon {
            border-right: none;
        }
        .m_page_sections .btn a {
            text-decoration: none;
        }
        .m_page_sections .title_landing a {
            padding: 15px;
        }
        .m_page_sections .sub_links {
            padding: 0 15px 15px 15px;
        }
        .m_page_sections .sub_links p {
            width: 100%;
            border-bottom: 1px solid #ccc;
        }
        .m_page_sections .sub_links a {
            display: table;
            width: 100%;
            padding: 15px 0 15px 0;
            font-size: 20px;
        }
    #page_title {
        padding: 20px 30px 10px 30px;
    }
    #m_tertiary_navigation_overlay {
        background-color: #000;
        opacity: .75;
        position: fixed;
        z-index: 100;
        width: 100%;
        height: 100%;
        left: -100%;
        top: 0;
    }
    #m_tertiary_navigation {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: #003471;
        z-index: 101;
        opacity: .85;
    }
        #m_tertiary_navigation #navigation_lists {
            position: relative;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            z-index: 101;
        }
        #m_tertiary_navigation a {
            color: #fff;
            text-decoration: none;
            padding: 15px 30px 15px 30px;
            display: block;
        }
        #m_tertiary_navigation li {
            float: none !important;
            border-bottom: 1px solid #1962b7;
        }
            #m_tertiary_navigation #close_nav img {
                padding: 30px 30px 15px 30px;
            }
        #m_tertiary_navigation .k-plus {
            display: none !important;
        }
        #m_tertiary_navigation .expandable {
            cursor: pointer;
            background-image: url("/Sitefinity/WebsiteTemplates/v2/images/navigate.png?v=2");
            background-repeat: no-repeat;
            background-position: 97% center;
        }
            #m_tertiary_navigation .expandable a {
                pointer-events: none;
            }
        #m_tertiary_navigation .current_link {
            padding-left: 30px;
            margin-top: 0;
            font-weight: bold;
            color: #fff;
            font-size: 22px;
        }
            #m_tertiary_navigation .current_link img {
                padding-top: 3px;
            }
    .tertiary #m_tertiary_navigation a {
        padding: 15px 20px 15px 20px;
        width: 100%;
    }
        .tertiary #m_tertiary_navigation a:hover {
            background-color: #003471;
        }
    .tertiary #m_tertiary_navigation li {
        display: block;
        width: 100%;
    }
    .k-treeview .k-in {
        border-style: none !important;
    }
    .k-treeview .k-item {
        padding-left: 0 !important;
    }
    #footer {
        margin-top: 20px;
    }
    #page_content_wrap {
        width: auto;
        border-left: inherit;
        padding-left: 0;
    }
        #page_content_wrap h1:first-child {
            display: none;
        }
    #fourtiary_navigation {
        display: none;
    }
    #page_heading {
        top: 0;
        padding: 15px 0 15px 0;
        border-top: none;
    }
    #language_selection,
    #mega_nav {
        top: 0;
    }
        #m_popup_header h1,
        #mega_nav h1 {
            margin: 0 0 0 30px;
            color: #fff;
        }
        #m_popup_header,
        #mega_nav #m_mega_nav_header {
            border-bottom: 5px solid #13b5ea;
            background-color: #ffc527;
            margin-bottom: 10px;
        }
        #mega_nav h2 {
            margin: 0;
            padding: 0 30px 0 30px;
        }
        #mega_nav .column {
            margin-bottom: 20px;
        }
        #mega_nav li a {
            border-bottom: 1px solid #ccc;
            padding: 10px 30px 10px 30px;
            display: block;
            font-size: 26px;
        }
    #search {
        width: 100%;
        z-index: 101;
        position: fixed;
        top: 30%;
        opacity: 1;
    }
        #search fieldset {
            padding: 0;
            width: 90%;
            margin: auto;
            display: block;
        }
        #search #searchTextBox,
        #search .sfsearchTxt {
            padding: 18px 0 18px 0;
            width: 100%;
            display: block;
            border-top: none;
            border-right: none;
            border-bottom: none;
            border-left: 20px solid #fff;
            margin-left: -10px;
            font-size: 30px;
        }
        #search .sfsearchSubmit {
            font-size: 30px;
            height: auto;
            display: block;
            float: right;
            padding: 15px 30px 20px 30px;
            margin: 20px -10px 0 0;
            background-color: #ffc527;
        }
        #search #search_wrap {
            width: 100%;
        }
    #language_selection {
        padding: 0;
    }
        #language_selection a {
            margin: 0 30px 20px 30px;
        }
            #language_selection a:hover {
                background-color: #fff;
                color: #003471;
            }
        #language_selection ul {
            margin-bottom: 20px;
        }
        #language_selection li {
            margin: 10px 0 10px 0;
            font-size: 30px;
            border-bottom: 1px solid #ccc;
        }
            #language_selection li:last-child {
                border-bottom: none;
            }
    .secondary_body {
        border-top: none;
    }*/
}

/* Phone */
@media screen and (max-width: 47.9375em) {
    .m_d_toggle,
    .m_t_toggle,
    .m_desktop_tablet_toggle {
        display: none;
    }
    .m_p_toggle,
    .m_toggle {
        display: block;
    }
    .m_phone_remove {
        display: none;
    }
    .main_content {
        width: 100%;
    }
    .m_p .span,
    .m_p_span {
	    width: 100%;
    }
    .m_p .left {
        float: left;
        padding-right: 10px;
    }
        .m_p_left {
            float: left;
            padding-right: 10px;
        }
    .m_p_rows {
        float: none !important;
    }
        .m_p_rows .base,
        .m_p_rows .right {
            float: none;
        }
        .m_p_rows .landscape {
            display: block;
        }
    .m_p_text_size {
        font-size: 30px;
    }
    .m_p_img_span img {
        width: 100%;
    }
    .m .columns2 {
        width: 100%;
    }
    .m_pad {
        margin: 0 20px 0 20px;
    }
        .m_p_pad_tb {
            padding-top: 10px;
            padding-bottom: 10px;
        }
        .m_p_pad {
            padding: 10px;
        }
    .m_p_align_l {
	    text-align: left;
    }

    /* Specific */
    #page_heading {
        padding: 25px 0 0 0;
        border-bottom: 1px solid #003471;
    }
        #page_heading img {
            width: 75px;
            height: 75px;
        }
        #page_heading .title {
            font-size: 20px;
        }
    #header #brand {
        line-height: 1em;
        padding: 5px 0 1px 0;
    }
        #header #brand #txt {
            margin-top: 12px;
        }
        #header #brand p:first-child {
            font-size: 12px;
        }
        #header #brand p:last-child {
            font-size: 16px;
        }
    #header .title_txt {
        width: 100%;
        font-size: 18px;
        padding-top: 15px;
    }
}
/* ***** Mobile - End */

/* ***** Fixed Footer */
div#project,
.sf_form {

    /* Fixed footer */
    height: auto;
}
#page {

    /* Fixed footer (Height of footer (Top Requests included)) */
    height: auto;

    margin: 0;
}
#body {

    /* Fixed footer (Height of footer) */
    height: auto;

    background-color: #fff;
    padding-bottom: 0;
}
#footer {
    position: static;
    width: 100%;
    height: auto;
    border-top: 1px solid #a5a5a5;
}
/* ***** Fixed Footer - End */

/* Mobile */
.m_toggle,
.m_t_toggle,
.m_p_toggle {
    display: none;
}

/* Fixed Footer */
#project {
    min-height: 100%;
    position: relative;
}
#body {
    padding-bottom: 350px;
}
#footer {
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    height: 320px;
}
html,
form,
body {
    height: 100%;
}