nav .dropdown {
    margin: 0;
}

.info-box {
    border: 1px solid#ddd;
    border-radius: 4px;;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin: 20px;
}

.dropbtn {
    background-color: orangered;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover {
    background-color: blue;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    height: 250px;
    overflow-y: scroll;
}

.dropdown-content a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #198754;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

 .button-container {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100vh;
 }

 .button {
     display: inline-block;
     padding: 15px 30px;
     margin: 10px;
     background-color: green;
     color: #fff;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     font-size: 18px;
     text-decoration: none;
 }

 .button:hover {
     background-color: #2980b9;
 }

 .custom-heading {
     text-align: center;
     background-color: green;
     color: #fff;
     padding: 20px;
     font-size: 36px;
     text-transform: uppercase;
     letter-spacing: 3px;
     font-family: 'Arial', sans-serif;
 }

 .close_btn {

    display: flex;
    justify-content: end;
    font-size: 50px;
    text-decoration: none;
 }



/*start table css*/
 .table-container {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
}
.table-section {
    padding-bottom: 25px;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #ccc;
}

.table-row:nth-child(even) {
    background-color: #f2f2f2;
}

.table-cell {
    word-break: break-word;
}

.table-cell:not(:last-child){
    border-right: 1px solid #ccc;
}

.table-cell:not(:nth-child(1)) {
    flex-basis: 23%;
    padding: 8px;
}
.table-cell:nth-child(1) {
    flex-basis: 8%;
    padding: 8px;
}


.thead {
    font-weight: bold;
    background-color: #2271b1;
    color: #fff;
}

.district-list .table-cell:not(:nth-child(1)) {
    flex-basis: 30%;
}

.party-list .table-cell:nth-child(2) {
    flex-basis: 70%;
}

.party-list .table-cell:last-child{
    flex-basis: 20%;
}

.statelist .table-cell .meta_content{
    height: 50px;
    overflow-y: scroll;
}

/*end table css*/



/*start pagination css*/
.page-link:focus {
    outline: none;
    box-shadow: none;
}
/*end pagination*/


.center-form-width {
    padding: 1rem;
}
.valid-error-message{
    color:#dc3545;
}

.form-label {
    font-weight: bold;
}

.navbar-brand img{
    max-width: 100px;
    height: auto;
}

.btn-blue{
    background-color: #2271b1!important;
    color:#fff!important;
}

.center-form-width form {
    background: #fff;
    padding: 10px;
    border: 1px solid#ccc;
    margin-bottom: 20px;
}

.graybg{
    background: #f0f0f1;
}

.main_section.graybg {
    border-top: 1px solid#ccc;
}

.breadcrumb-section .breadcrumb-item+.breadcrumb-item::before {
    content: ">"
}
.breadcrumb-section nav li a { text-decoration: none; color: #2271b1;}

.zero_winner_valid, .one_winner_valid { display: none;}
@media only screen and (min-width: 768px) {
    .h-md-100 {
        height: 100%;
    }

}
