.select-search-result-wrapper{
    display: flex;
    flex-wrap: wrap;
}

.select-search-result-wrapper.owl-container{
    display: block;
}

.owl-container .select-search-result-list{
    padding-left: 30px;
    padding-right: 30px;
}

.global-select-search .select-search-result-list {
    display: flex;
    flex-wrap: wrap;
}      

.select-search-result-wrapper.owl-container .owl-prev,
.select-search-result-wrapper.owl-container .owl-next{
    position: absolute;
    top: 0;
    bottom: 30px;
    display: flex;
    align-items: center;
    width: 30px;
    justify-content: center;
    margin: 0;
    font-size: 30px;
}


.select-search-result-wrapper.owl-container .owl-prev{
    left: 0
}
.select-search-result-wrapper.owl-container .owl-next{
    right: 0
}

.result-item-column {
    width: 100%;
}

.result-item-box {
    border: solid 1px #d8d8d8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.global-select-search .result-item-box,
.homepage-select-search .select-search-result-wrapper:not(.owl-container) .result-item-box{
    width: calc(33.333% - 10px);
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    margin: 0px 5px 10px 5px; 
}

@media (max-width:960px) {
    .global-select-search .result-item-box,
    .homepage-select-search .select-search-result-wrapper:not(.owl-container) .result-item-box {
        width: 100%;
        flex: 100%;
        max-width: 100%;
    }
}

.result-item-box.adjust-width-with-ads{
    width: calc((100% - 320px) / 2);
    max-width:  calc((100% - 320px) / 2);
    flex: 0 0  calc((100% - 320px) / 2);
}

@media (max-width:960px) and (min-width:600px){
    .result-item-box.adjust-width-with-ads {
        width: calc(100% - 320px);
        max-width:  calc(100% - 320px);
        flex: 0 0  calc(100% - 320px);
    }
}


.result-item-ads{
    width: 300px;
    max-width: 300px;
    flex: 0 0 300px;
    display: flex;
    align-items: center;
}



.homepage-select-search  .select-search-result-wrapper:not(.owl-container) .select-search-result-list {
    display: flex;
    flex-wrap: wrap;
}

.result-item-header {
    background-color: #656363;
    color: #ffffff;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.result-item-header._bn { background-color: var(--bn-color); }
.result-item-header._pn { background-color: var(--pn-color);}
.result-item-header._pi { background-color: #00c185; }
.result-item-header._ph{ background-color: var(--ph-color); }
.result-item-header._oth { background-color: #818181; }
.result-item-header._pbk { background-color: #ffc40c; }
.result-item-header._gps { background-color: var(--gps-color); }
.result-item-header._grs { background-color: var(--grs-color); }
.result-item-header._psb { background-color: #52aa40; }
.result-item-header._muda { background-color: #4ea40b; }
.result-item-header._warisan { background-color: #f99f25; }
.result-item-header._gta { background-color: var(--gta-color); }
.result-item-header._pejuang,
.result-item-header._ppta { background-color: #c132c0; }
.result-item-header._others { background-color: #818181; }

.result-item-seats-wrapper .seat._bn { background-color: var(--bn-color); }
.result-item-seats-wrapper .seat._pn { background-color: var(--pn-color); }
.result-item-seats-wrapper .seat._pi { background-color: #00c185; }
.result-item-seats-wrapper .seat._ph{ background-color: var(--ph-color); }
.result-item-seats-wrapper .seat._oth { background-color: #818181; }
.result-item-seats-wrapper .seat._pbk { background-color: #ffc40c; }
.result-item-seats-wrapper .seat._gps { background-color: var(--gps-color); }
.result-item-seats-wrapper .seat._grs { background-color: var(--grs-color); }
.result-item-seats-wrapper .seat._psb { background-color: #52aa40; }
.result-item-seats-wrapper .seat._muda { background-color: #4ea40b; }
.result-item-seats-wrapper .seat._warisan { background-color: #f99f25; }
.result-item-seats-wrapper .seat._pejuang, 
.result-item-seats-wrapper .seat._ppta { background-color: #c132c0; }
.result-item-seats-wrapper .seat._others { background-color: #818181; }
.result-item-seats-wrapper .seat._unconfirm { background-color: #d0caca; }
.result-item-seats-wrapper .seat._gta { background-color: var(--gta-color); }

.legend._bn {color: var(--bn-color); }
.legend._pn {color: var(--pn-color); }
.legend._pi {color: #00c185; }
.legend._ph{color: var(--ph-color); }
.legend._oth {color: #818181; }
.legend._pbk {color: #ffc40c; }
.legend._gps {color: var(--gps-color); }
.legend._grs {color: var(--grs-color); }
.legend._psb {color: #52aa40; }
.legend._muda {color: #4ea40b; }
.legend._warisan {color: #f99f25; }
.legend._gta {color: var(--gta-color); }
.legend._pejuang,
.legend._ppta {color: #c132c0; }
.legend._others {color: #818181; }

.result-item-header .right-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-item-header .right-div .label {
    font-size: 12px;
    padding: 3px 7px;
    background-color: #d0d0d0;
    border-radius: 3px;
    color: #000000;
}

.result-item-header .right-div .max-btn {
    font-size: 20px;
    padding: 3px;
    margin: 0px 10px 0px 5px;
}

.result-item-header .right-div .max-btn a{
    color:#ffffff;
}

.result-item-candidate-row {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;    
}

.result-item-candidate-row .party-icon {
    flex: 0 0 40px;
    max-width: 40px;
    /* width: 40px; */
    align-self: flex-start;
    position: relative;    
}

/*new start*/
.candidate-box {
    margin-bottom: 18px;
}
.candidate-main-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.candidate-box .won {
    font-size: 14px;
    border-radius: 50px;
    padding: 1px 8px;
    color: #00ff0f;
    background: #5e5e5e;
    background: -webkit-linear-gradient(to right,#5e5e5e,#3d3d3d);
    background: linear-gradient(to right,#5e5e5e,#3d3d3d);
    margin-left: 8px;
    display: inline-block;
    text-align: center;
}

.candidate-box .won2 {
    padding: 1px 8px;
    margin-left: 8px;
    display: inline-block;
    text-align: center;
}
.candidate-box .candidate-photo-box .won2 img {
    width: 35px !important;
 }

.candidate-box .lead {
    font-size: 14px;
    border-radius: 50px;
    padding: 1px 8px;
    color: #f9ff00;
    background: #5e5e5e;
    background: -webkit-linear-gradient(to right,#252525,#505050);
    background: linear-gradient(to right,#252525,#505050);
    margin-left: 8px;
    display: inline-block;
    text-align: center;

    position: absolute;
    bottom: -8px;
    z-index: 11;
    margin: 0 auto;
}

/* .candidate-box .candidate-photo {
    width: 66px !important;
    height: 66px !important;
    position: relative;
    overflow: hidden;
    border-radius: 100px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
} */
.candidate-box .candidate-photo.pie {
    width: 66px !important;
    height: 66px !important;
    position: relative;
    overflow: hidden;
    border-radius: 100px;
    background-color: #d0cece;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.won-block {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.candidate-photo-box {
    position: relative;
}
.candidate-box .candidate-photo-box .won {
    position: absolute;
    bottom: -8px;
    z-index: 11;
    margin: 0 auto;
}
.candidate-box .candidate-photo-box .won2 {
    position: absolute;
    bottom: -12px;
    z-index: 11;
    margin: 0 auto;
}
.candidate-box .candidate-photo text {
    display: none;
}
.candidate-box .candidate-photo svg {
    position: absolute;
    right: -2px;
    width: 70px;
    height: 70px;
    z-index: 1;
    overflow: hidden;
}
.flipButton {
    text-align: center;
    font-size: 18px;
    padding: 2px 3px;
    border: solid 1px #8a8989;
    color: #585757;
    border-radius: 5px;
    position: relative;
    z-index: 111;
}
.candidate-box .candidate-photo .candidate-img {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 100px;
}
.candidate-box .candidate-photo .candidate-img img {
    max-width: 50px;
    top: 2px;
    object-fit: cover;
    position: relative;
}
/* .result-item-candidate-row {
    position: relative;
    height: 100%;
    display: block;
} */
.result-item-candidate-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}
.sbse-nomination .result-item-candidate-list {
    min-height: 320px;
}
.cards {
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    transition: transform 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50%;
    position: relative;
    min-height: auto;
}
.cards div.coman {
    display: block;
    height: 100%;
    width: 100%;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    top: 0;
    left: 0;
}
.cards .back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.cards.flipped {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.candidate-info {
    margin-bottom: 5px;
    font-family: Noto Sans SC;
}
.candidate-img {
    display: flex;
}
.candidate-info-img {
    display: flex;
    align-items: center;
}
.candidate-info-img span {
    margin-left: 6px;
    font-size: 16px;
}
.candidate-info-img img {
    height: 25px;
    max-width: 45px;
}

.candidate-party-logo {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 5px auto;
}
/* .candidate-party-logo{
    text-align: center;
} */
.candidate-party-logo img{
    height: 22px;
    max-width: 45px;
    margin: auto 8px;
}

.candidate-party-name{
    font-size: 15px;
    text-align: center;
    color: #464646;
}
.candidate-name {
    font-size: 15px;    
    text-align: center;
    font-weight: bold;
}
.candidate-name-english {
    font-size: 13px;
    text-align: center;
    color: #797979;
}
.candidate-action {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
}
.candidate-per {
    text-align: center;
    font-size: 13px;
    color: #797979;
}
.candidate-figure {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}
.electionResult-frame {
    width: 100%;
}
/*new end*/

.result-item-candidate-row .party-icon img {
    width: 100%;
    /* height: 24px; */
}

.left-div {
    display: flex;
}

.result-item-candidate-row .summary .summary-first-row {
    font-size: 14px;
    /*font-weight: bold;*/
}

.result-item-candidate-row .summary .summary-first-row .won,
.result-item-candidate-row-2 .summary .won  {
    font-size: 10px;
    color: #ffffff;
    border-radius: 50px;
    padding: 1px 8px;
    background: #00F260;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #0575E6, #00F260);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0575E6, #00F260); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    margin-left: 8px;
    display: inline-block;
    text-align: center;
}

.result-item-candidate-row .summary .summary-first-row .lead,
.result-item-candidate-row-2 .summary .lead {
    font-size: 10px;
    color: #ffffff;
    border-radius: 50px;
    padding: 1px 8px;
    background: #d40225;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #ffc40c, #d40225);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #ffc40c, #d40225); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    margin-left: 8px;
    display: inline-block;
    text-align: center;
}

.result-item-candidate-row .summary .summary-first-row .won i {
    margin-right: 3px;
}

.result-item-candidate-row .summary {
    padding-left: 8px;
}

.result-item-candidate-row .summary .summary-second-row {
    font-size: 14px;
}

.result-item-candidate-row .summary-figure {
    padding-left: 8px;
    color: #636363;
}

.result-item-candidate-row .summary-figure-first-row {
    font-size: 12px;
    /*font-weight: bold;*/
}

.result-item-candidate-row .summary-figure-second-row {
    font-size: 12px;
}

.result-item-bottom-row {
    border-top: solid 1px #d8d8d8;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
}

.result-item-bottom-row-info {
    font-size: 15px;
    color: #6b6a6a;
    display: flex;
    align-items: center;
}

.result-item-bottom-row .stat-btn,
.result-item-bottom-row .demo-btn,
.result-item-bottom-row .res-btn {
    font-size: 12px;
    padding: 1px 3px;
    border: solid 1px #8a8989;
    color: #585757;
    border-radius: 5px;
    min-width: 39px;
    text-align: center;
    cursor: pointer;
    margin-left: 5px;
}

.result-item-bottom-row .right-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-item-bottom-row .res-btn {
    padding: 1.5px 10px;
    font-size: 11px;
}

.result-item-bottom-row .demo-btn {
    margin-left: 5px;
}

.result-item-seats-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    align-content: baseline;
    min-height: 230px;
}

.result-item-seats-wrapper .seat {
    background-color: #696969;
    width: 20px;
    margin: 4px;
}

.result-item-seats-wrapper .seat img {
    width: 100%;
    height: auto;
}

.legend {
    margin-right: 8px;
    color: #696969;
}

.legend i:before {
    margin-right: 2px;
}

/* For displaying one constituency result */

.result-item-box-max {
    width: 100%;
    max-width: 100%;
    border: solid 1px #d8d8d8;
    padding-bottom: 8px;
}

.result-item-header {
    background-color: #CFDBF7;
    color: #464646;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.result-item-header .title {
    color:  #464646;
    font-size: 20px;
    padding: 10px 0px 10px 10px;
}

.result-item-header .right-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-item-header .right-div .label {
    font-size: 12px;
    padding: 3px 7px;
    background-color: #d0d0d0;
    border-radius: 3px;
    color: #000000;
}

.result-item-header .right-div .max-btn {
    font-size: 20px;
    padding: 3px;
    margin: 0px 10px 0px 5px;
    animation:blinkingText 1.2s infinite;
}

.result-item-header .right-div .max-btn a{
    color:#ffffff;
}

.blink {
    animation: blink 2s steps(5, start) infinite;
    -webkit-animation: blink 1s steps(5, start) infinite;
  }
  @keyframes blink {
    to {
      visibility: hidden;
    }
  }
  @-webkit-keyframes blink {
    to {
      visibility: hidden;
    }
  }
  
.result-candidate-column {
    /* display: flex; */
    justify-content: space-between;
    width: calc(100vw - 200px);
    max-width: 100%;
}

.result-item-candidate-row-2 {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.result-item-candidate-row-2 .party-icon {
    flex: 0 0 40px;
    max-width: 40px;
    width: 40px;
    align-self: flex-start;
}

.result-item-candidate-row-2 .party-icon img {
    width: 100%;
    /* height: 24px; */
}

.result-item-candidate-row-2 .summary {
    padding-left: 8px;
}

.result-item-candidate-row-2 .summary .summary-first-row .won {
    font-size: 10px;
    color: #ffffff;
    border-radius: 50px;
    padding: 1px 8px;
    background: #00F260;
    background: -webkit-linear-gradient(to right, #0575E6, #00F260);
    background: linear-gradient(to right, #0575E6, #00F260);
    margin-left: 8px;
    display: inline-block;
    text-align: center;
}

.result-item-candidate-row-2 .summary .summary-first-row {
    font-size: 12px;
}

.result-item-candidate-row-2 .summary-figure-first-row {
    font-size: 12px;
}

.result-item-candidate-row-2 .summary-figure-second-row {
    font-size: 12px;
}

.constituency-info-2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.constituency-info-2 .right-div {
    display: flex;
    text-align: right;
}

.demographic-info-2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.demographic-info-2 .right-div {
    display: flex;
    text-align: right;
}

.result-item-candidate-row-2 .summary {
    font-size: 14px;
}

.result-item-candidate-row-2 .summary .won {
    font-size: 10px;
    color: #ffffff;
    border-radius: 50px;
    padding: 1px 8px;
    background: #00F260;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #0575E6, #00F260);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0575E6, #00F260); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    margin-left: 8px;
    display: inline-block;
    text-align: center;
}

.result-item-candidate-row-2 .summary-figure {
    padding-left: 8px;
    color: #636363;
}

.result-bar {
    height: 15px;
    background-color: #ebf0f3;
    /* text-align: center; */
}


.result-bar-per {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
}
.result-bar-candidate .candidate-info {
    background-color: #fff !important;
    min-width: 91px;
    word-break: break-all;
    flex-direction: row;
    display: flex;
    align-items: center;
}
.result-bar-candidate .won-block {
    min-width: 57px;
    background-color: #fff !important;
}
.result-bar-candidate .candidate-info {
    margin-bottom: 0;
}
.result-bar-candidate .won {
    font-size: 10px;
    color: #ffffff;
    border-radius: 50px;
    padding: 1px 8px;
    background: #00F260;
    background: -webkit-linear-gradient(to right, #0575E6, #00F260);
    background: linear-gradient(to right, #6ce49b, #48cb7c);
    margin-left: 8px;
    display: inline-block;
    text-align: center;
}
.result-bar-candidate .candidate-name {
    display: flex;
    flex-direction: column;
}
.result-bar-candidate .candidate-info-img {
    margin-right: 5px;
}


.result-bar .result {
    height: 15px;
}

.result-bar p {
    color: #fff;
    padding-top:3px;
    padding-left: 5px;
    font-size: 10px;
}

.left-div {
    display: flex;
}

.constituency-info-2 .left-div, .demographic-info-2 .left-div {
    padding-left: 5px;
}

.constituency-info-2 .right-div, .demographic-info-2 .right-div {
    padding-right: 5px;
}

.general-result {
    margin-bottom: 25px;
}

.homepage-more-button {
    text-align: center;
    padding: 10px 0px;
    margin: 0 auto 5px;
}

.homepage-more-button span {
    background: #824CEF 0% 0% no-repeat padding-box;
    /* font-size: 16px; */
    padding: 10px 23px;
    display: inline-block;
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.homepage-more-button span:hover {
    background-color: #ffffff;
    border: solid 3px #824CEF;
    color: #824CEF;
    padding: 8px 21px;
}

.homepage-more-button span a {
    text-decoration: none;
    color: #ffffff;
}

.homepage-more-button span:hover a {
    color: #824CEF;
}

.btn-group {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 80%;
    width: 80%;
}

.btn {
    font-size: 0.75rem !important;
    border-radius: 50px;
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none !important;
}

.btn.hover, .btn:hover {
    background-color: #b0b0b0;
}

.btn-official.active {
    color: #000000;
    background-color: #ffffff;
    font-weight: bold;
}

.btn-unofficial.active {
    color: #000000;
    background-color: #ffffff;
    font-weight: bold;
}

.btn-official:not(.active) {
    background-color: #d7dee0;
    color: #89999d;
}

.btn-unofficial:not(.active) {
    background-color: #d7dee0;
    color: #89999d;        
}

#unofficial-result {
    display: none;
}

.official-arc-chart {
    width:  100%;
}


@media (min-width: 700px) {
    .result-bar {
        height: 20px;
        background-color: #e8f0f3;
    }

    .result-bar .result {
        height: 20px;
    }

    .result-bar p {
        color: #fff;
        padding-top:3px;
        padding-left: 5px;
        font-size: 10px;
    }

    .result-item-candidate-row-2 .summary {
        font-size: 14px;
        padding-top: 6px;
    }

    .result-item-candidate-row-2 .summary-figure {
        display: flex;
        padding-left: 8px;
        color: #636363;
        width: 60%;
    }

    .result-item-candidate-row-2 .summary-figure-first-row {
        padding-left: 8px;
        color: #636363;
        width: 75%;
    }

    .result-item-candidate-row-2 .summary-figure-second-row {
        padding-left: 8px;
        color: #636363;
        width: 25%;
    }
    .result-candidate-column-2 {
        /* display: flex; */
        /* justify-content: space-between;
        width: calc(100vw - 443px);
        max-width: 100%; */
        width: 100%;
    }

    .result-candidate-column-2 hr {
        margin-top: 1px;
        margin-bottom: 1px;
        margin-left: 8px;
        margin-right:8px;
        border: 0;
        border-top: 1px solid rgba(0,0,0,.1);
    }

    .result-candidate-list-wrapper {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .extra-info-wrapper hr {
        margin-top: 2px;
        margin-bottom: 2px;
        border: 0;
        border-top: 1px solid rgba(0,0,0,.1);
    }

    .result-percentage {
        display:none;
    }

    .extra-info-wrapper {
        width:30%;
        padding-right: 8px;
        margin-top: 8px;
    }

    .extra-info-column {
        /* display: flex; */
        margin-left:auto;
        margin-right:auto;
        font-size: 13px;
        width: 100%;
        padding: 8px;
        /* justify-content: space-between; */
        border: 1px solid #d8d8d8;
        background: #EFF3F4 0% 0% no-repeat padding-box;
    }
}

@media (max-width: 499px) {
    .result-item-box-max {
        padding-top: 10px;
        margin-left: 10px;
        margin-right: 10px;
        max-width: 100%;
        width: 95%;
    }  
    
    .result-item-candidate-row-2 .left-div {
        width: 50%;
    }
    .result-item-candidate-row-2 .summary-figure {
        width: 50%;
    }
    .result-item-candidate-row-2 .summary-figure-first-row {
        padding-top: 5px;
    }
}

@media (min-width: 500px) and (max-width: 699px) {
    .result-item-box-max {
        padding-top: 10px;
        margin-left: 10px;
        margin-right: 10px;
        max-width: 100%;
        width: 96%;
    }

    .result-candidate-column-2 {
        width: 100%;
    }

    .result-candidate-column-2 hr {
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 8px;
        margin-right:8px;
        border: 0;
        border-top: 1px solid rgba(0,0,0,.1);
    }

    .result-item-candidate-row-2 .summary {
        padding-left: 8px;
    }  
    
    .result-item-candidate-row-2 .left-div {
        width: 50%;
    }
    .result-item-candidate-row-2 .summary-figure {
        width: 50%;
    }
    .result-item-candidate-row-2 .summary-figure .candidate-photo {
        float: left;
        margin-right: 10px;
    }
    .result-item-candidate-row-2 .summary-figure .summary-figure-first-row {
        padding-top: 10px;
        margin-left: 54px;
    }

    .result-item-candidate-row-2 .summary-figure-second-row {
        font-size: 10px;
    }

    .extra-info-wrapper {
        width: 96%;
        margin-top: 5px;
        margin-left: auto;
        margin-right: auto;
        border: 1px solid #d8d8d8;
    }

    .extra-info-wrapper hr {
        display:none;
    }
    .extra-info-column {
        display: flex;
        margin-left:auto;
        margin-right:auto;
        font-size: 12px;
        width: 100%;
        padding: 8px;
        justify-content: space-between;
        column-gap: 10px;
        /* border: 1px solid #d8d8d8; */
        background: #EFF3F4 0% 0% no-repeat padding-box;
    }

    .result-item-candidate-row-2 .summary-figure {
        padding-left: 8px;
        color: #636363;
        /* width: 50%; */
        width: 220px;
    }

    .constituency-info-2 {
        display: flex;
        justify-content: space-between;
        width: 51%;
        border-right: 2px dotted #bebebe;
        padding-right: 8px;
    }

    .demographic-info-2 {
        display: flex;
        justify-content: space-between;
        width: 49%;
    }
}


.result-item-bottom-row .swap-btn {
    font-size: 12px;
    padding: 1px 3px;
    border: solid 1px #8a8989;
    color: #585757;
    border-radius: 5px;
    min-width: 39px;
    text-align: center;
    cursor: pointer;
}

[type="range"] {
  width: 200px;
}

section {
  position: relative;
  background-color: #fff;
  border-radius: 7px;
  padding: 5px 30px 30px;
  margin: 20px;
  width: 260px;
  height: 306px;
}

.code {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  width: 260px;
  height: 0;
  left: 0;
  margin: auto;
  line-height: 1.6;
  transition: visibility 0s, opacity 0.5s linear;
}

.show-code .code {
  visibility: visible;
  opacity: 1;
  height: 100%;
  top: 45px;
}

pre {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

code {
  height: calc(100% - 45px);
  margin-top: -20px;
}

.candidate-main-box {
   justify-content: flex-start;
   /* max-height: 225px; */
   max-height: 240px;
   overflow-y: auto;
}
.candidate-main-box::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

.candidate-main-box::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
.candidate-main-box>div {
   flex-basis: calc(100%/3);
}
.result-item-candidate-list {
   position: relative;
}
.result-item-bottom-row {
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.cards {
   margin-bottom: 35px;
}

.extra-info {
    width: 175px;
    height: 170px;
}
.extra-info-header {
    font-size: 16px;
}
.extra-info-body {
    font-size: 16px;
}
.extra-info-body span{
    width: 65px;
}