﻿body {
    background-color: white;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 16px;
}
.bg-dark {
    background-color: #004B87 !important;
    color: whitesmoke !important;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
}

.navbar {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

.footerLeft, .sa-footerLeft {
    float: left;
    text-align: left;
}

    .footerLeft a {
        text-decoration: underline;
    }

.footerRight, .sa-footerRight {
    float: right;
    text-align: right;
}

.clear {
    clear: both;
    width: 0px;
    height: 0px;
    overflow: hidden;
}

.btn-primary {
    color: #fff;
    background-color: #004B87 !important;
    border-color: #235683;
}

    .btn-primary:hover {
        background-color: #235683;
    }

    .btn-primary:focus {
        background-color: #235683;
    }

    .btn-primary:active {
        background-color: #235683;
    }

.btn-secondary {
    color: #004B87 !important;
    background-color: var(--bs-btn-bg);
    border-color: #6c757d;
}

    .btn-secondary:hover {
        background-color: #565e64;
    }

    .btn-secondary:focus {
        background-color: #565e64;
    }

    .btn-secondary:active {
        background-color: #565e64;
    }

.cursor-pointer {
    cursor: pointer;
}

.center {
    margin: auto;
    width: 40%;
    padding: 10px;
}

.dl-horizontal dt {
    white-space: normal;
}

.progressbar-wrapper {
    position: relative;
    z-index: 1;
    background-color: white;
    padding: 5px;
}

.progressbar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 95%;
    }
}
nav{
    margin-bottom:0px;
}

.search {
    background-color: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.searchText {
    background-color: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.navbar-login {
    width: 325px;
    padding: 10px;
    padding-bottom: 0px;
}

.navbar-login-session {
    padding: 10px;
    padding-bottom: 0px;
    padding-top: 0px;
}

.icon-size {
    font-size: 87px;
}

.image-col {
    width: 50px;
}

.percent {
    background-color: #D6DDED !important;
    border: none;
    font-weight: bolder;
}

.progressbar-fill-green {
    background: linear-gradient(to right, #DEEDDE, #569A58)!important;
}

.progressbar-fill-blue {
    background: linear-gradient(to right, #D6DDED, #D6DDED) !important;
}

div.row.panel.contest {
    border-radius: 0.375rem !important;
}

.table td {
    padding: 3px 10px;
}

.header-row {
    font-weight: bolder;
    border-bottom: 1px solid #C9CED1!important;
    border-top: 1px solid #C9CED1!important;
    background-color: #D9DCDF!important;
}

.table-custom {
    width: 100%;
    border: 1px solid #DCDCDC;
}

    .table-custom tbody > tr > td {
        border-bottom: 1px solid #DEE2E6!important;
        background-clip:padding-box;
    }

    .table-custom tbody > tr:last-child > td {
        border-bottom: 1px solid #DEE2E6!important;
    }

.print-header {
    display:none;
}

.nav-brand {
    font-size: 1.0rem;
}

@media print {
    @page {
        size: auto;
    }

    .print-header {
        display: block;
    }
    html, body {
        height: 100%;
    }
}
a {
    color: #004B87 !important;
    text-decoration: none;
}
.nav-tabs {
    border-bottom: none;
}
.winning {
    font-weight: bolder;
    font-size: 100%;
}

.candidate {
    color: #373737;
}

.progress {
    width: 150px;
    height: 150px;
    background: none;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

    .progress::after {
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 6px solid #eee;
        position: absolute;
        top: 0;
        left: 0;
    }

    .progress > span {
        width: 50%;
        height: 100%;
        overflow: hidden;
        position: absolute;
        top: 0;
        z-index: 1;
    }

    .progress .progress-left {
        left: 0;
    }

    .progress .progress-bar {
        width: 100%;
        height: 100%;
        background: none;
        border-width: 6px;
        border-style: solid;
        position: absolute;
        top: 0;
    }

    .progress .progress-left .progress-bar {
        left: 100%;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 80px;
        border-left: 0;
        -webkit-transform-origin: center left;
        transform-origin: center left;
    }

    .progress .progress-right {
        right: 0;
    }

        .progress .progress-right .progress-bar {
            left: -100%;
            border-top-left-radius: 80px;
            border-bottom-left-radius: 80px;
            border-right: 0;
            -webkit-transform-origin: center right;
            transform-origin: center right;
        }

    .progress .progress-value {
        position: absolute;
        top: 0;
        left: 0;
    }

.rounded-lg {
    border-radius: 1rem;
}

.text-gray {
    color: #aaa;
}

th.rotate {
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

    th.rotate > div {
        writing-mode: tb-rl;
        -o-transform: rotate(270deg);
        display: inline;
        transform: scale(-1);
    }

#viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

@media (max-width: 480px) {

    .pl-xs-3 {
        padding-left: 10px !important;
    }
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
    padding: 10px;
}

    .validation-summary-errors span {
        display: block;
        text-decoration: underline;
        margin-bottom: 15px;
        margin-left: 10px;
    }

.input-validation-error {
    border: 1px solid #ff0000;
}

.w-30{
    width:30%;
}

.results-nav .nav-tabs {
    border-bottom: 2px solid #ddd;
}

.results-nav .nav-link {
    font-size: 16px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .results-nav .nav-link i {
        font-size: 16px;
    }

    .results-nav .nav-link:hover {
        background: #f5f5f5;
        border-color: transparent;
    }

    .results-nav .nav-link.active {
        border: none;
        border-bottom: 3px solid #004B87;
        background: #fff;
        font-weight: 600;
    }

.navbar {
    white-space: normal !important;
}

    .navbar .navbar-nav,
    .navbar .container,
    .navbar .container-fluid {
        flex-wrap: wrap !important;
    }

    .navbar a,
    .navbar span,
    .navbar-brand {
        word-break: break-word;
    }

.styled-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
    border: 1px solid #d0d0d0;
}

    .styled-table thead th {
        background-color: #004B87;
        color: whitesmoke;
        padding: 12px 16px;
        font-weight: 600;
    }

    .styled-table tbody td {
        padding: 12px 16px;
        border-bottom: 1px solid #e0e0e0;
    }

    .styled-table tbody tr:last-child td {
        border-bottom: none;
    }

    .styled-table tbody tr:hover {
        background-color: #f5f7fa;
    }

    .styled-table tbody tr:nth-child(odd) {
        background-color: #f9fafc;
    }

.header-row {
    background-color: #004B87;
    color: whitesmoke;
}

.election-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
    border: 1px solid #d0d0d0;
}

    .election-table tbody td {
        padding: 12px 16px !important;
        border-top: 1px solid #e0e0e0;
    }

    .election-table thead th {
        padding: 12px 16px !important;
    }

.election-header {
    background-color: #004B87;
    color: whitesmoke;
    padding: 12px 16px !important;
}

.header-title {
    text-align: center;
    padding-left: 10px;
}

.header-actions {
    float: right;
    margin-right: 10px;
}

    .header-actions i {
        color: whitesmoke;
        margin-left: 12px;
        font-size: 1.1rem;
    }

    .header-actions img {
        height: 18px;
        margin-left: 12px;
        filter: brightness(0) invert(1);
    }

tbody tr {
    border-bottom: 1px solid #ececec;
}

.column-header th:first-child,
.election-table td:first-child {
    width: 10%;
    text-align: left;
}

.column-header th:nth-child(2),
.election-table td:nth-child(2) {
    width: 60%;
    text-align: left;
}

.column-header th:nth-child(3),
.election-table td:nth-child(3) {
    width: 20%;
    text-align: left;
}

.column-header th:nth-child(4),
.election-table td:nth-child(4) {
    width: 20%;
    text-align: left;
}

.row-winning {
    font-weight: bold;
}