.bfrSelect{
    display:none;
}

.bfrSelect2{
    display:none;
}
.bfrSelect3{
    display:none;
}
.bfrSelect4{
    display:none;
}


.tblDiv2 {
    width: 95%;
    margin-top: 2rem;
    box-shadow: rgba(99, 99, 99, 0.4) 0px 2px 8px 0px;
    border-collapse: collapse; 
}

.tblDiv2 th,
.tblDiv2 td {
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: center; 
}
.tblDiv3 {
    width: 95%;
    margin-top: 2rem;
    box-shadow: rgba(99, 99, 99, 0.4) 0px 2px 8px 0px;
    border-collapse: collapse; 
}

.tblDiv3 th,
.tblDiv3 td {
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: center; 
}
.tblDiv4 {
    width: 95%;
    margin-top: 2rem;
    box-shadow: rgba(99, 99, 99, 0.4) 0px 2px 8px 0px;
    border-collapse: collapse; 
}

.tblDiv4 th,
.tblDiv4 td {
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: center; 
}
.tblDiv5 {
    width: 95%;
    margin-top: 2rem;
    box-shadow: rgba(99, 99, 99, 0.4) 0px 2px 8px 0px;
    border-collapse: collapse; 
}

.tblDiv5 th,
.tblDiv5 td {
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: center; 
}
div.dt-container.dt-empty-footer .dt-scroll-body  {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
}
div.dt-container div.dt-layout-row.dt-layout-table .tblDiv2{
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
padding-top:20px;
}

.swal-title {
    font-family: serif;
    font-size: 30px;
    font-weight: bold;
}

.swal-title2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 28px;
    font-weight: bold;
}

.tblDiv1,
.tblDiv2,
.tblDiv3,
.tblDiv5,
.tblDiv4 {
    display: none;
    width: 95% !important;
    margin-top: 1.5rem !important;
    box-shadow: rgba(99, 99, 99, 0.4) 0px 2px 8px 0px !important;
}

/* General Setup */
* {
    margin: 0;
    padding: 0;
}

body {
    /* font-family: "Merriweather", sans-serif; */
    font-size: 1em;
}

/* Header */
.header {
    width: 100%;
    height: 100vh;
    background-color: #fff;
    text-align: center;
}

.wrapper {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    color: #fff;
    text-shadow: 0 1px 1px #131413;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top,
            rgba(19, 20, 19, 0.95) 0%,
            rgba(19, 20, 19, 0) 40%),
        linear-gradient(to bottom,
            rgba(19, 20, 19, 0.95) 0%,
            rgba(19, 20, 19, 0.1) 40%),
        url("") no-repeat center center,
        #474a48;
    background-size: cover;
    height: 200px;

}

.heading-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-heading {
    /* font-family: "Times New Roman", Times, serif; */
    font-family: "freeserif", serif;
    font-size: 1.9em;
    /* padding: 25px; */
    font-weight: bold;
    margin-top: 15px !important;
}

/* Adding and Styling the Accents Above and Below the Main Heading */
.main-heading:before,
.main-heading:after {
    display: block;
    content: "";
    width: 40%;
    margin: auto;
}

/* .main-heading:before { */
    /* margin-bottom: 5px; */
    /* border-bottom: 2px solid #fff; */
    /* padding-bottom: 5px; */
/* } */

.main-heading:after {
    margin-top: 15px;
    border-top: 2px solid #fff;
    padding-top: 30px;
}

/* Scroll Down Arrow Container for Mobile Devices */
.more-info {
    align-self: flex-end;
    width: 100%;
    padding: 50px;
}

/* Media Queries */
@media screen and (max-width:350px) {
    .main-heading {
        font-size: 1.6em;
    }
}

@media screen and (min-width: 768px) {
    .header {
        height: 450px;
    }

    .wrapper {

        background-position: center top;
    }

    .main-heading {
        font-size: 2.5em;
    }

    .more-info {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .wrapper {
        background-position: top center;
    }

  
}

@media screen and (min-width:1600px) {
    .main-heading {
        font-size: 4em;
    }

    .wrapper {
        background-size: 100% 250%;
        margin: auto;
    }
}

section {
    width: 100%;
    display: inline-block;
    background: #333;
    height: 50vh;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    text-decoration: underline;
}


body {
    margin: 0;
}

h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 48px;
}

p {
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    font-size: 14px;
    color: #333333;
}

.header {
    position: relative;
    text-align: center;
    background: linear-gradient(60deg, rgba(84, 58, 183, 1) 0%, rgba(0, 172, 193, 1) 100%);
    color: white;
}

.logo {
    width: 50px;
    fill: white;
    padding-right: 15px;
    display: inline-block;
    vertical-align: middle;
}

.inner-header {
    /* height:65vh; */
    width: 100%;
    margin: 0;
    padding: 0;
}

.flex {
    /*Flexbox for containers*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
}

.content {
    position: relative;
    height: 20vh;
    text-align: center;
    background-color: white;
}

/* Animation */

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }

    .content {
        height: 30vh;
    }

    h1 {
        font-size: 24px;
    }
}

@media screen and (max-width: 800px) {
    .header {
        height: 200px;
    }
}

.header {
    height: 270px;
}


@media screen and (max-width: 1024px) {
    .header {
        height: 270px;
    }

    .tab {
        margin-top: 20px;
    }

    .main-heading {
        font-size: 25px !important;
        margin-top: 10px !important;
    }
}

@media screen and (max-width: 500px) {
    .header {
        height: 230px;
    }
}

@media screen and (max-width: 540px) {
    .header {
        height: 220px;
    }
}

@media (max-width: 767px) and (min-width: 454px) {
    .header {
        height: 198px;
    }
}

.main_dash_head {
    font-family: 'Merriweather', serif;
    background: linear-gradient( rgba(84, 58, 183, 1), rgba(0, 172, 193, 1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 20px;
}

/* .section-title .title::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 80px;
    left: 50%;
    top: 120px;
    text-align: center;
    background: #2f55d4;
    margin-left: -42px;
}

.section-title .title {
    letter-spacing: .5px;
    font-size: 30px;
}

.section-title .title::after {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    left: 50%;
    top: 116px;
    z-index: 1;
    text-align: center;
    background: #284bc1;
    margin-left: -7px;
    transform: rotate(45deg);
}

.section-title {
    position: relative;
} */


.section-title .title::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 80px;
    left: 50%;
    top: 50px;
    text-align: center;
    background: #2f55d4;
    margin-left: -42px;
}

.section-title .title {
    letter-spacing: .5px;
    font-size: 30px;
}

.section-title .title::after {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    left: 50%;
    /* top: 116px; */
    z-index: 1;
    text-align: center;
    background: #284bc1;
    margin-left: -7px;
    transform: rotate(45deg);
}

.section-title {
    position: relative;
}
@media screen and (width: 768px) {
    .section-title::after {
    top: 46px;
}
.section-title .title::before {
    top: 46px !important;

}
}
@media screen and (width: 820px) {
    .section-title::after {
    top: 46px;
}
.section-title .title::before {
    top: 46px !important;

}
}
@media screen and (width: 853px) {
    .section-title::after {
    top: 46px;
}
.section-title .title::before {
    top: 46px !important;

}
}
@media screen and (width: 912px) {
    .section-title::after {
    top: 46px;
}
.section-title .title::before {
    top: 46px !important;

}
}
@media screen and (max-width: 1024px) {
    .section-title::after {
    top: 46px;
}
.section-title .title::before {
    top: 49px;

}
}


@media screen and (max-width: 768px) {
    .section-title::after {
    top: 46px;
}
.section-title .title::before {
    top: 42px;

}
}

@media screen and (min-width: 800px) and (max-width: 934px) {
    .section-title::after {
        top: 42px !important;
    }
    .section-title .title::before {
        top: 47px;
    }
}


#invalData {
    display: none;
    color: #dc3545;
    text-align: center;
    margin: 0px auto;
}

#invalData {
    display: none;
    /* color: red; */
    text-align: center;
    margin: 0px auto;
}

.bfrSelect {
    display: none;
}

body {
    background-color: #f8f9fa;
}

.tab .nav-tabs {
    border-bottom: none;
    background: #ffffff;
    border-radius: 0 20px 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: serif;
    font-weight: bold;

}

@media screen and (width: 820px) {
    .tab {
        margin-top: 100px;
    }

    .header {
        height: 270px;
    }
}

@media screen and (width: 768px) {
    .tab {
        margin-top: 100px;
    }

    .header {
        height: 210px;
    }
}

@media screen and (width: 540px) {
    .tab {
        margin-top: 100px;
    }

    .header {
        height: 195px;
    }
}

.tab .nav-tabs .nav-item {
    margin-bottom: -1px;
}

.tab .nav-tabs .nav-link {
    background: transparent;
    border-radius: 0;
    font-size: 16px;
    border: none;
    color: #333;
    /* padding: 12px 22px; */
    transition: all 0.3s ease-in-out;
    position: relative;
    width: 100%;
}

.tab .nav-tabs .nav-link i {
    margin-right: 10px;
    color: #775ba3;
    transition: all 0.3s ease-in-out;
}

.tab .nav-tabs .nav-link:hover {
    background: #f1f1f1;
    color: #775ba3;
    transform: scale(1.05);
}

.tab .nav-tabs .nav-link:hover i {
    color: #333;
}

.tab .nav-tabs .nav-item:first-child .nav-link {
    border-bottom-left-radius: 20px;
}

.tab .nav-tabs .nav-link.active,
.tab .nav-tabs .nav-link.active i {
    background-image: linear-gradient(to bottom, #3a506b 0px, #775ba3 100%);
    color: #fff;
    width: 100%;
}
.tab .nav-tabs .nav-item:last-child .nav-link {
    border-top-right-radius: 20px;
}
.tab .nav-tabs .nav-link.active:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top: 7px solid #775ba3;

}

.tab .tab-content {
    padding: 20px;
    color: #5a5c5d;
    font-size: 14px;
    line-height: 24px;
    margin-top: 25px;
    border-bottom: 3px solid #775ba3;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px;
}

.tab .tab-content .tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.tab .tab-content .tab-pane.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width:768px) {
    .tab .nav-tabs {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .tab .nav-tabs .nav-item {
        width: 100%;
        text-align: center;
    }

    .tab .nav-tabs .nav-link.active {
        border-radius: 10px 10px 0 0;
    }

    .tab .nav-tabs .nav-link {
        margin-bottom: 10px;
        border: 1px solid lightgray;
    }

    .tab .nav-tabs .nav-link.active:after {
        border: none;
    }

    .tab .nav-tabs .nav-item:first-child .nav-link,
    .tab .nav-tabs .nav-item:nth-child(2) .nav-link,
    .tab .nav-tabs .nav-item:nth-child(3) .nav-link,
    .tab .nav-tabs .nav-item:nth-child(4) .nav-link {
        border-bottom-left-radius: 20px;
        width: 100%;
    }

}

.footer-distributed {
    background: rgba(84, 58, 183, 1);
    color: white;
    font-family: serif;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

#searchForm {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

label {
    font-weight: bold;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: serif;
}

.invalid-feedback {
    font-weight: bold;
    color: #dc3545;
    font-size: 14px;
}

/* Example: Correcting the CSS with higher specificity */
.select-wrapper .js-example-basic-single {
    padding-left: 18px !important;
    padding-right: 40px !important;
}

.form-group select {
    padding-left: 18px !important;
    padding-right: 40px !important;
    width: 100%;
    max-width: 220px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23775ba3" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    /* Custom arrow icon */
    background-repeat: no-repeat;
    margin: auto !important;
    background-position: right 10px center;
}

.form-control:focus {
    outline: none;
    border-color: #775ba3;
    box-shadow: 0 0 5px rgba(119, 91, 163, 0.5);
}

.invalid-feedback {
    font-weight: bold;
    color: #dc3545;
    font-size: 14px;
}

.form-group select:focus {
    outline: none;
    border-color: #775ba3;
    box-shadow: 0 0 5px rgba(119, 91, 163, 0.5);
}

@media (max-width: 768px) {
    #searchForm .col-md-4 {
        width: 100%;
    }
}



:root {
    --white: #fff;
    --color: #6134aaad;
}

.btn {
    color: var(--color);
    font-family: "Times New Roman", Times, serif; /* Set the font to Times New Roman */
        font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 1px;
    padding: 6px 16px;
    border: 1px solid var(--color);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

.btn:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.btn:before,
.btn:after {
    content: '';
    background: var(--color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: -8px;
    left: -8px;
    transition: 1s ease;
    z-index: -1;
}

.btn:after {
    left: calc(100% + 8px);
    top: calc(100% + 8px);
}

.btn:hover:before,
.btn:hover:after {
    height: 210px;
    width: 210px;
}

@media only screen and (max-width: 767px) {
    .btn {
        margin-bottom: 20px;
        font-size: 16px;
        padding: 6px 12px;
    }
}

.tblDiv1,
.tblDiv2,
.tblDiv3,
.tblDiv5,
.tblDiv4 {
    display: none;
    width: 95% !important;
    /* margin-top: 2rem; */
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#voterTbl1,
#voterTbl2,
#tblDiv5,
#voterTbl3,
#voterTbl4 {
    width: 100% !important;
}

div.dt-container.dt-empty-footer .dt-scroll-body tbody>tr {
    border-bottom: none;
    font-family: sans-serif;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

#voterTbl1 {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 30px;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(to bottom, #3a506b 0px, #775ba3 100%);
    background-repeat: repeat-x;
    color: white;
    font-family: serif;
    font-size: 16px !important;
    text-align: center;
}
@media (min-width: 500px) {
div.dt-container {
    position: relative;
    clear: both;
    padding: 20px;
    margin-bottom: 50px;
}
}

    div.dt-container {
        position: relative;
        clear: both;
        margin-bottom: 50px;
    }


/* Default styles for pagination buttons */
div.dt-container .dt-paging .dt-paging-button,
div.dt-container .dt-paging .dt-paging-button {
    color: white !important;
    font-weight: bold !important;
    background-color: #009FC2 !important;
    background-image: linear-gradient(45deg, #772ce8ad, #284b63) !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    padding: 4px 13px !important;
    border-radius: 15px 0 15px 0px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
}

/* Specific styles for the currently active pagination button on hover */
div.dt-container .dt-paging .dt-paging-button:hover {
    border-radius: 0 15px 0 15px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* text color on hover */
div.dt-container .dt-paging .dt-paging-button:hover {
    color: #662da3 !important;
}

/* Base styling for disabled pagination button */
/* div.dt-container .dt-paging .dt-paging-button.disabled {
    color: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 2px !important;
    border-radius: 10px !important;
    cursor: default !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

/* Hover effect for disabled button */
/* div.dt-container .dt-paging .dt-paging-button:hover {
    background-color: rgba(0, 0, 0, 0.05)!important;
} */


div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {
    color: white !important;
}



div.dt-container .dt-input {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    color: inherit;
    margin-right: 5px;
    font-family: serif;
    transition: border-color 0.3s ease;
}

div.dt-container .dt-input:focus {
    outline: none;
    border-color: #775ba3;
    box-shadow: 0 0 5px rgba(119, 91, 163, 0.5);
    padding: 5px;
}

div.dt-container .dt-length,
div.dt-container .dt-search,
div.dt-container .dt-info,
div.dt-container .dt-processing,
div.dt-container .dt-paging {
    color: #775ba3 !important;
}

div.dt-container div.dt-layout-cell.dt-start {
    text-align: left;
    padding: 5px;
    font-family: serif;
    text-transform: capitalize;
}

div.dt-container .dt-search,
div.dt-container .dt-info,
div.dt-container .dt-processing,
div.dt-container .dt-paging {
    color: #775ba3;
    font-family: serif;
    text-transform: capitalize;
}

.table.thead-dark>thead {
    vertical-align: middle !important;
}

.table.table-bordered.table-hover.table-striped.thead-dark>thead {
    vertical-align: middle !important;
}

div.dt-container.dt-empty-footer .dt-scroll-body tbody>tr:last-child>* {
    border-bottom: none;
    text-align: center !important;
}


.header {
    position: relative;
    overflow: hidden;
}

.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 20px; */
}

.heading-image {
    flex: 0 0 auto;
    /* width: 350px; */
    margin-right: 30px;
    margin-left: 30px;
}

.heading-wrapper {
    flex: 1;
}

@media (max-width: 768px) {
    /* .heading-image {
        display: none;
    } */
}

.main-heading {
    font-size: 32px;
    /* line-height: 1.5; */
    margin: 0;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
}

@media (width: 820px) {
    /* .heading-image {
        height: 100px;
        width: 200px;
    } */

    .main-heading {
        font-size: 30px !important;
    }
}

@media (width: 853px) {
    /* .heading-image {
        height: 100px;
        width: 200px;
    } */

    .main-heading {
        font-size: 30px !important;
    }
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: center !important;
}
.table>thead {
    vertical-align: middle !important;
}
.tblDiv2 div.dt-container.dt-empty-footer .dt-scroll-body {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

div.dt-container.dt-empty-footer .dt-scroll-body tbody>tr:last-child>* {
    margin-top:10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

div.dt-container div.dt-layout-cell.dt-start {
    text-align: left;
    background: linear-gradient(to bottom, #336db4 0px, #775ba3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase !important;
}

@media (width: 1280px) {
    
.tab {
    margin-top:60px;  
}

}