#icons_cnt {
    max-width: 1024px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
}


.party_label {
    text-align: center;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 10px;
}

.candidate {
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px 5px;
    position: relative;
}

.candidate:first-of-type {
    padding-right: 20px;
    border-right: 1px solid #000;
}

.candidate:last-of-type {
    margin-left: 20px;
}


.pointer .name {
    font-weight: bold;
}

.pointer:hover .name {
    text-decoration: underline;
}

.icon_base {
    width: 136px;
    height: 136px;
    position: relative;
    outline: 2px solid transparent;
}

.pointer:hover .icon_base {
    outline: 2px solid #000;
}

.icon_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    z-index: 15;
}

.icon_over {
    position: absolute;
    top: 0;
    left: 0;
    width: 136px;
    height: 136px;
    z-index: 20;
}

.icon_transparent {
    opacity: .3;
}


.name {
    color: #0F0F0F;
    text-align: center;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 10px;
}


#top_card_delimiter {
    display: none;
}

.candidate_card {
    max-width: 1196px;
    flex-direction: column;
    padding-bottom: 20px;
    display: none;
}

.card_intro {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.card_img {
    position: relative;
}

.right_card .card_img {
    padding-right: 0;
    width: 50%;
}

.left_card .card_img {
    width: 50%;
    margin-right: 50px;
}

.card_img img {
    position: relative;
    z-index: 7;
    width: auto;
    height: auto;
    max-height: 725px;
}


.card_banner_text_cnt {
    position: relative;
}


.right_card .card_banner_text_cnt {
    width: 50%;
}


.left_card .card_banner_text_cnt {
    width: 50%;
}

.card_banner {
    position: absolute;
    top: -105px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
}


.right_card .card_banner {
    width: 800px;
    left: -200px;
    padding: 0 10px 0 55px;
}


.left_card .card_banner {
    width: 800px;
    padding: 0 60px 0 10px;
    left: -20px;
}


.card_name {
    color: #FFF;
    font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
    font-size: 52px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.right_card .card_name {
    text-align: right;
    padding-right: 30px;
}

.left_card .card_name {
    text-align: left;
    padding-left: 30px;
}

.card_party {
    color: #FFF;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    text-align: left;
}

.right_card .card_party {
    text-align: right;
    padding-right: 30px;
}

.left_card .card_party {
    text-align: left;
    padding-left: 30px;
}

.right_card .card_text {
    padding-left: 140px;
    padding-right: 20px;
    padding-bottom: 20px;
}


.left_card .card_text {
    padding-left: 20px;
    padding-bottom: 20px;
}

.card_text p {
    color: #0F0F0F;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}


.card_text p:last-of-type {
    margin-block-end: 0;
}


.card_accordion {
    background: #E0E2E2;
    padding: 50px 20px;
}


.accordion {
    position: relative;
    background-color: #E0E2E2;
    border: none;
    outline: none;
    border-top: 1px solid #0F0F0F;
    cursor: pointer;
    padding: 20px 60px 20px 0;
    transition: 0.4s;
    color: #0F0F0F;
    font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-align: left;
    width: 100%;
}


.active,
.accordion:hover {
    color: #0F0F0F;
}

.accordion:after {
    content: url(../img/cross_icon.svg);
    position: absolute;
    top: 20px;
    right: 0;
    transform: rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform 0.3s ease-in-out;
}

.active:after {
    transform: rotate(90deg);
}


.panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    background-color: #E0E2E2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.panel:last-of-type {
    border-bottom: 1px solid #000;
}

.panel p {
    color: #0F0F0F;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    padding: 10px 0;
}


.panel .chart_box {
    padding-bottom: 50px;
    padding-left: 15px;
    padding-right: 15px;
}


.panel p {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-block-start: .5em !important;
    margin-block-end: .5em !important;
}

.panel p:last-of-type {
    margin-block-end: 50px !important;
}


@media only screen and (max-width: 820px) {
    .card_intro {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .left_card .card_intro {
        flex-direction: column-reverse;
    }

    .card_img {
        width: 100% !important;
    }

    .card_banner {
        width: 100% !important;
        z-index: 8 !important;
        padding: 0 !important;
        align-items: center;
        height: 70px;
        left: 0 !important;
        right: 0 !important;
        top: -50px;
    }

    .right_card .card_banner {
        left: 0 !important;
        right: 0 !important;
    }


    .card_banner_text_cnt {
        width: 100% !important;
        padding: 0 15px !important;
    }

    .card_img {
        width: 100% !important;
    }


    .card_banner_text_cnt {
        width: 100% !important;
    }

    .card_img img {
        max-height: 330px !important;
    }

    .card_text {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 30px !important;
    }

    .right_card .card_text {
        padding-top: 30px !important;
    }

    .card_name {
        font-size: 30px;
        text-align: center !important;
    }

    .right_card .card_name {
        padding-right: 0;
    }

    .left_card .card_name {
        padding-left: 0;
    }

    .card_party {
        font-size: 14px;
        text-align: center !important;
    }

    .right_card .card_party {
        padding-right: 0;
    }

    .left_card .card_party {
        padding-left: 0;
    }
}

@media only screen and (max-width: 480px) {
    #candidates_icons_ctn {
        max-width: 100%;
    }

    .party_label {
        font-size: 20px;
    }


    .icon_base {
        width: 105px;
        height: 105px;
    }

    .icon_over {
        width: 105px;
        height: 105px;
    }

    .icon_img {
        width: 105px;
        height: 105px;
        border-radius: 50%;
    }

    .name {
        font-size: 18px;
    }

    .accordion {
        max-width: 100%;
        font-size: 24px;
        padding-right: 35px;
    }

    .panel p {
        font-size: 18px;
    }
}





@media only screen and (min-width: 821px) and (max-width: 1030px) {
    .card_name {
        font-size: 40px;
    }

    .card_img img {
        max-height: 600px;
    }
}