* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Baloo Da 2', cursive;
}

:root {
    --theme-color: #7b1319;
    --theme-secondary-color: #157291;
    --maobadi-symbol-color: #D3241C;
    --yemale-symbol-color: #D7280F;
    --congress-symbol-color: #007D00;
    --rastriya-prajatantra-symbol-color: #F4CA15;
    --yekikrit-samajbadi-symbol-color: #184487;
    --loktantrik-samjabadi-symbol-color: #006400;
    --janata-samjabadi-symbol-color: #019228;
    --ratriya-janamorcha-symbol-color: #F70808;
    --bibekshil-sajha-symbol-color: #124573;
    --other-party-color: #555555;
    --dark-color: #333;
    --common-button-height: 50px;
    --f-60px: 50px;
    --f-40px: 25px;
    scroll-behavior: smooth;
}

a {
    /* font-size: 18px !important; */
    font-weight: 500;
}

.border-teal {
    border: 1px solid var(--theme-secondary-color);
}

.shadow {
    box-shadow: 0 .2rem 0.2rem rgba(0, 0, 0, .15) !important;
}

li {
    list-style-type: none;
}

.mayor_name_box h6 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
}

.text-overflow-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}


/* top map height */
.privince-map {
    height: 200px;
}

/* heading custom */
.live_badge_button {
    display: flex;
    align-items: center;
    background-color: red;
    color: white;
    display: inline-block;
    padding: 2px 10px;
}

.main-heading-title {
    font-size: var(--f-60px);
    color: var(--dark-color);
    text-transform: uppercase;
    margin: 5px auto;
}

.district_name {
    font-weight: bold;
    color: var(--dark-color);
}

.main_title {
    font-size: var(--f-40px);
    font-weight: bold;
}

.text-dark {
    color: var(--dark-color) !important;
}

.text-light {
    color: rgba(0, 0, 0, 0.4) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.bg-teal {
    background-color: var(--theme-secondary-color);
}

.bg-brown {
    background-color: var(--theme-color) !important;
}

.text-orange {
    color: #fcc604;
}

.multi-graph {
    width: 400px;
    height: 200px;
    position: relative;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}



.graph::after {
    content: attr(data-name);
    /* content: attr(data-name) ' 'counter(varible) '%'; */
    counter-reset: var(--percentage);
    background: var(--fill);
    box-sizing: border-box;
    border-radius: 2px;
    color: #fff;
    font-weight: 200;
    font-size: 12px;
    padding: 3px 5px;
    top: 0px;
    position: absolute;
    left: 0;
    transform: rotate(calc(-1deg * var(--percentage) * 1.8)) translate(-30px, 0px);
    transition: 0.2s ease-in;
    transform-origin: 0 50% 0;
    opacity: 0;
}

.multi-graph:hover {
    opacity: 0.8;
}

.graph:hover::after {
    opacity: 1;
    left: 30px;
}


@keyframes fillAnimation {
    0% {
        transform: rotate(-45deg);
    }

    50% {
        transform: rotate(135deg);
    }
}

@keyframes fillGraphAnimation {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }
}

.provience_all_parties_seats_box {
    height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
}

.provience_all_parties_seats_box::-webkit-scrollbar, .election-members-box::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f4f4f4;
}

::-webkit-scrollbar-thumb {
    background: rgb(155, 155, 155);
}

/* custom buttons */
.detail_view_button {
    color: #fff !important;
    background-color: var(--theme-secondary-color);
    font-size: 16px;
    text-align: center;
    width: 100%;
    padding: 5px 15px;
    font-weight: 500;
    height: var(--common-button-height);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

.detail_view_button:hover {
    background-color: var(--theme-color);
}

.detail_view_link {
    color: var(--theme-secondary-color);
}

.detail_view_link:hover {
    color: var(--theme-color);
}

/* proogress bar all parties */
.progress_bar {
    position: relative;
    height: 10px;
    width: 98%;
    background-color: #dddddd;
}

.top_progress_bar_thumb {
    position: absolute;
    height: 100%;
    border-radius: 0 10px 10px 0;
}

.yamale {

    background-color: var(--yemale-symbol-color);
}

.maobadi {

    background-color: var(--maobadi-symbol-color);
}

.kangress {

    background-color: var(--congress-symbol-color);
}

.ekikrit_samajbadi {

    background-color: var(--yekikrit-samajbadi-symbol-color);
}

.rastriya_prajatantra {
    background-color: var(--rastriya-prajatantra-symbol-color);
}

.loktantrik_samajbadi {

    background-color: var(--loktantrik-samjabadi-symbol-color);
}

.janata_samajbadi {

    background-color: var(--janata-samjabadi-symbol-color);
}

.rastriya_janamorcha {

    background-color: var(--ratriya-janamorcha-symbol-color);
}

.bibekshil_shajha {

    background-color: var(--bibekshil-sajha-symbol-color);
}

.other_party {
    background-color: var(--other-party-color);
}


/* customL tab buttons */
.custom-tabs-link::-webkit-scrollbar {
    display: none;
}

.custom-tabs-link {
    display: flex;
    overflow-y: hidden;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    flex-direction: row;
    border: 0px;
    border-bottom: 2px solid var(--light-bg);

}

.custom-tabs-link .nav-link {
    font-size: 80px;
    font-weight: 500;
    border-radius: 0px;
    height: var(--common-button-height);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark-color);
    white-space: nowrap;
    border: 0px;


}

.custom-tabs-link .nav-link.active {
    color: var(--theme-color);
    border-bottom: 3px solid var(--theme-color);
}

.custom-tabs .nav-link {
    color: var(--dark-color);
    background-color: var(--light-bg);
    margin-right: 20px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 0px;
    height: var(--common-button-height);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-tabs .nav-link.active {
    background-color: var(--theme-color);
    color: white;
}

/* custom-box */
.square-30-30 {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square-40-40 {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* profile of elected person  */
.election-members-box {
    max-height: 725px;
    overflow-x: hidden;
    overflow-y: auto;

}

.election-postion-tag {
    position: absolute;
    top: -20px;
    left: 20px;
}

.election-status-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--maobadi-symbol-color);
    color: white;
    padding: 2px 10px;
    font-weight: bolder;
    font-size: 14px;
    border-radius: 5px;
}


/* .election-lead-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: white;
    color: red;
    padding: 2px 10px;
    font-weight: 500;
} */

.elected-person-image {
    height: 175px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #DCDCDA;
    overflow: hidden;
}

.elected-person-image img {
    height: 175px;
    width: auto;
    /* object-fit: cover;
    object-position: center; */
}

/* ward election LINK button */
.ward-election-link {
    position: relative;
    width: 100%;
    display: block;
    background-color: var(--theme-secondary-color);
    padding-left: var(--common-button-height) !important;
    color: white !important;
}

.ward-election-link:hover {
    background-color: var(--theme-color);
}

.ward-election-link::after {
    position: absolute;
    background-color: var(--theme-secondary-color);
    content: "\f3fe";
    font-family: 'Font Awesome 5 Brands';
    width: var(--common-button-height);
    height: var(--common-button-height);
    border-radius: 50%;
    background-color: var(--theme-secondary-color);
    border: 3px solid white;
    left: -20px;
    top: 6%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ward-election-link:hover::after {
    background-color: var(--theme-color);
}

.section_underline {
    display: block;
    border-bottom: 3px solid #ddd;
    position: relative;
}

/* custom form  */
.filter-election-result {
    background-color: var(--other-party-color);
}

.filter-election-result .form-control {
    height: var(--common-button-height);
    font-weight: 500;
    font-size: 18px;
    border-radius: 0;
    background-color: var(--light-bg);
    color: var(--dark-color);
    box-shadow: none;
    border: 1px solid var(--light-bg);
}

.filter-election-result .form-control:focus {
    border: 1px solid var(--theme-color);
}

.form-button {
    border: 1px solid var(--theme-secondary-color);
    /* font-size: 18px; */
    font-weight: 500;
    width: 100%;
    height: var(--common-button-height);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: var(--theme-secondary-color);
}

.form-button:hover, form-button:focus {
    border: 1px solid var(--theme-color);
    background-color: var(--theme-color);
}

.jilla_parties_result {
    flex-wrap: nowrap;
}

.jilla_parties_result h5 {
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

.jilla_parties_result .col-2 {
    max-width: 100%;

}

/* last child col */
.col-2:last-child, .col-sm-2:last-child, .col-md-2:last-child, .col-lg-2:last-child, .col-xl-2:last-child,
.col-3:last-child, .col-sm-3:last-child, .col-md-3:last-child, .col-lg-3:last-child, .col-xl-3:last-child,
.col-4:last-child, .col-sm-4:last-child, .col-md-4:last-child, .col-lg-4:last-child, .col-xl-4:last-child {
    margin-bottom: 0px !important;
}

/* custom border */
.border-teal {
    border: 1px solid var(--theme-secondary-color);
}

/* title box custom css */
.titlebox {
    border-bottom: 3px solid var(--theme-secondary-color);
}


.single-party-overall-result::-webkit-scrollbar {
    display: none;
    height: 10px;
}

/* .single-party-overall-result::-webkit-scrollbar-thumb {
    background-color: var(--theme-color) !important;
} */

.single-party-overall-result:hover::-webkit-scrollbar {
    display: block;
}

.single-party-overall-result {
    scroll-margin-bottom: 10px !important;
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: auto;
    flex-wrap: nowrap !important;
}


/* 
.single-party-overall-result .col-2 {
    max-width: 100% !important;
    width: 100% !important;
    flex-wrap: nowrap;
    display: inline-block;
} */

.single-party-overall-result a {
    white-space: nowrap;
    max-width: 100% !important;
    width: 100% !important;
    flex-wrap: nowrap;
}



.count_district.circle-50-50 {
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.district_card {
    border: 1px solid var(--theme-secondary-color);
}

.titlebox_first {
    border-bottom: 1px solid var(--theme-secondary-color);
    border-top: 1px solid var(--theme-secondary-color);

}

/* .sticky_top {
    position: sticky;
    top: 0px;
} */