.tally-results {
    font-family: 'robotobold', sans-serif;
    width: initial;
    font-size: .85rem;
    position: relative;
}
.tally-results.landing-page{
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .01), 0 2px 10px 0 rgba(0, 0, 0, .13);
    margin: 0 auto;
    max-width: 1024px;
    margin-bottom: 30px;
}
.landing-page .partial-tally-title {
    background-color: #0099cb;
    color: white;
    padding: 20px 15px;
    overflow-y: auto;
}

.landing-page .partial-tally-header {
    background-color: #1d6bbe;
    color: white;
    padding: 10px 2%;
}
.landing-page .partial-tally-items {
    background-color: white;
    padding: 15px 2%;
}

.landing-page .partial-tally-items .cand-item {
    color: #666666;
    padding: 5px 10px;
    text-align: left;
}

.landing-page .partial-tally-items .cand-item:nth-child(odd) {
    background-color: #f2f2f2;
}
.landing-page .partial-tally-items .cand-item:nth-child(12) {
    border-bottom: 1px solid #666666;
}
.cand-name {
    font-family: 'robotoregular', sans-serif;
}
.partial-tally-title .title {
    font-size: 1.6rem;
}
img.by-logo {
    max-height: 40px;
}
.header-item {
    font-size: 1.5rem;
}
.rcol1, .rcol2, .rcol3 {
    display: inline-block;
}

@media only screen and (max-width:600px) {
    .partial-tally-header{
    display: none;
}
    .cand-rank {
        min-width: 30px;
        font-size: 1.2rem;
        float: left;
        margin-right: 15px;
        margin-top: 9px;
        text-align: right;
        color: #666666f0;
    }
    .cand-party {
        display: block;
    }
    .cand-party:after {
        content: " votes";
        font-family: 'robotoregular', sans-serif;
    }

    .cand-name {
        padding-top: 5px;
    }
    .partial-tally-title .title {
        display: block;
        text-align: center;
        padding-bottom: 10px;
    }

    .tally-as-of span {
        display: block;
        text-align: center;
        line-height: 1.2rem;
    }

    img.by-logo {
        display: block;
        margin: 0 auto;
    }
}
@media only screen and (min-width:601px) {
    .tally-as-of {
        font-size: .85rem;
        float: right;
        height: 40px;
        margin-top: -5px;
    }

    img.by-logo {
        margin-left: 10px;
    }

    .tally-as-of span.c-date {
        padding-top: 14px;
        display: inline-block;
        vertical-align: top;
    }
    .rcol1 {
        width: 14%;
    }
    .rcol2 {
        width: 66%;
    }
    .rcol3 {
        width: 15%;
        text-align: right;
    }

    .partial-tally-items .cand-item {
        padding: 1% 0;
    }

    .cand-rank.rcol1 {
        width: 11%;
        padding-left: 3%;
    }

    .cand-name.rcol2 {
        width: 61%;
    }
    .cand-party.rcol3 {
        width: 20%;
    }
}

/* widget */
.tally-results.widget {
    background-color: white;
}
.widget-election-logo{
    display: none;
}
.widget-tally-items {
    max-width: 1024px;
    margin: 0 auto;
}
.widget .cand-photo{
    float: left;
    margin-right: 5px;
    width: 78px;
    height: 78px;
    background-color: #e0e0e0;
}
.widget .cand-photo img {
    max-width: 100%;
    width: initial;
}
.widget .cand-item {
    display: inline-block;
    vertical-align: top;
    min-width: 165px;
    border-right:1px solid #cccccc;
    margin-right:10px;
    padding-right:10px;
    text-align: left;
}
.widget .cand-item:last-child {
    border-right: initial;
    margin-right: initial;
}
.widget .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft, .widget .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight {
    background-image: url("https://media.philstar.com/assets/embed/senatorial-election-2019/arrow-right.png");
    background-position: center;
    height: 31px;
    width: 31px;
    bottom: 40px;
    background-color: initial;
}
.widget .cand-party {
    display: block;
    font-size: .95rem;
}
.widget .cand-party:after {
    content: " votes";
    display: block;
    background-color: #666666;
    color: white;
    font-size: .65rem;
    text-transform:uppercase;
    margin-left: 83px;
    padding-left: 5px;
}
.widget .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft {
    background-image: url(https://media.philstar.com/assets/embed/senatorial-election-2019/arrow-left.png);
}
.widget .mCustomScrollbar {
    padding: 10px 10px 0;
    border-radius: 1rem;
    background-color: white;
}

.widget-tally-title a {
    color: white;
    text-decoration: none;
}

.widget-tally-title span {
    padding-right: 5px;
    margin-right: 5px;
    border-right: 1px solid;
}
.widget-tally-title {
        color: #fedb10;
    }
.widget .cand-name span {
    color: #666666;
    display: block;
    font-family: 'robotobold', sans-serif;
    font-size: .95rem;
    line-height: .95rem;
}

.widget .cand-name {
    font-size: .65rem;
    min-height: 47px;
}
@media only screen and (min-width:601px) {
    .widget-tally-title {
        background-color: #1d6bbe;
        padding: 8px;
        text-align: center;
    }
    .widget .cand-photo{
        margin-top: 3px;
    }
}
@media only screen and (max-width:600px) {
    .widget-election-logo {
        display: block;
        text-align: center;
        padding: 5px 5px 8px;
    }
    .widget-election-logo img{
        max-width: 100%;
        width: initial;
    }
    .tally-results.widget {
        background-image: url("https://media.philstar.com/assets/embed/senatorial-election-2019/mobile-bg.jpg");
        padding: 0 10px 30px;
        background-repeat: repeat-x;
        background-size: 100% 100%;
        margin-top: 10px;
    }
    .widget-tally-title {
        font-size: .65rem;
        position: absolute;
        bottom: 8px;
        margin: 0 auto;
        text-align: center;
        width: 100%;
        left: 0;
    }
    .widget .mCSB_scrollTools .mCSB_draggerContainer {
        opacity: 0;
    }
    .widget .mCSB_scrollTools.mCSB_scrollTools_horizontal {height: 0px;}
    .widget .mCSB_horizontal.mCSB_inside > .mCSB_container{
        margin-bottom: 5px;
    }
    .widget .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonLeft, .widget .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_buttonRight{
        bottom: 15px;
    }
    .widget .cand-photo{
        width: 69px;
        height: 69px;
    }
    .widget .mCustomScrollbar {
        padding: 5px 5px 0;
        border-radius: .5rem;
        background-color: white;
    }
    .widget .cand-name{
    padding-top: 0;
    min-height: 35px;
    font-size: .65rem
}
.widget .cand-name span{line-height: initial;}
.widget .cand-party:after{
    margin-left: 74px;
}
.widget .cand-item{margin-right: 5px;padding-right: 5px;min-width: 160px;}
}

/* quick fix */
.tally-results.widget .cand-item.BALDEVARONA-BALDE, 
.tally-results.widget .cand-item.COLMENARES-NERI, 
.tally-results.widget .cand-item.FRANCISCO-ELMER,
.tally-results.widget .cand-item.GUIGAYUMA-JUNBERT,
.tally-results.widget .cand-item.JAVELLANA-RJ,
.tally-results.widget .cand-item.MACALINTAL-MACAROMY,
.tally-results.widget .cand-item.MANGONDATO-FAISAL,
.tally-results.widget .cand-item.MANGUDADATU-DONG,
.tally-results.widget .cand-item.TOLENTINO-FRANCIS,
.tally-results.widget .cand-item.BONG-REVILLA-RAMON-JR,
.tally-results.widget .cand-item.DE-GUZMAN-KA-LEODY,
.tally-results.widget .cand-item.GENEROSO-GEN-PEDERALISMO {
        min-width: 200px;
}

/* dummy text  */
.dummy {
    background-color: whitesmoke;
    margin: 15px 5%;
    width: 90%;
}
.dummy.rec1 {
    height: 250px;
}
.dummy.rec2 {
    height: 50px;
}
.dummy.rec3 {
    height: 25px;
}
.dummy-profile-list {padding-top: 15px;}
.dummy-profile-details {
    background-color: white;
    padding-top: 15px;
    padding-bottom: 15px;
}
.dummy.sqr1 {
    height: 150px;
}
