/*
Ranking Listas
*/
.ranking {
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    padding: 75px 0 0 100px;
    overflow: hidden;
}

/*ranking filters*/
.ranking-filters {
    flex: 0 0 17%;
    padding-left: 10px;
}

.ranking-filters > .title {
    background: url(../img/ranking/caja-azul-degrade.png) no-repeat center;
    background-size: cover;
    color: #FFF;
    margin: 0 10px 0 0;
    padding: 4px 5px;
    width: 90%;
}

.ranking-filters > .sub-title {
    background: #E6E7E8;
    cursor: pointer;
    font-size: 14px;
    padding: 7px 5px;
    text-transform: capitalize;
    width: 90%;
}

.ranking-filters > .sub-title img.down_arrow {
    margin-top: 6px;
    width: 14px !important;
}

.ranking-filters > .sub-title img.down_arrow:hover {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.ranking-filters > .sub-title img.down_arrow.clicked {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.ranking-filter-group {
    list-style: none;
    margin: 0;
    padding: 10px 5px 10px 10px;
    width: 90%;
}

.ranking-filter-group li {
    border-bottom: 1px dashed #E6E7E8;
    color: #262261;
    padding-bottom: 10px;
    padding-top: 3px;
}

.ranking-filter-group li:last-child {
    border-bottom: none;
    color: #262261;
}

.ranking-filter-group li > span {
    background: #428BCA;
    border-radius: 20px;
    color: #fff;
    float: right;
    line-height: 15px;
    margin-left: 2px;
    max-width: 25px;
    outline: 0 !important;
    padding: 2px;
    position: relative;
    text-align: center;
    width: 18%;
}

.ranking-filter-group div.slider {
    width: 75%;
}

#group-office {
    padding: 5px 0;
}

#office-selector {
    height: 20px;
    margin-top: 5px;
    width: 95%;
}

.select2-results__options .select2-results__option {
    border-bottom: 1px dashed #E6E7E8;
    color: #262261;
    padding-bottom: 10px;
    padding-top: 3px;
}

/*ranking data*/
.ranking-data {
    flex: 1;
    padding: 0;
}

.ranking-sorter {
    display: flex;
    flex-wrap: wrap;
}

.ranking-sorter .switch__label .span {
    font-weight: bold;
}

.ranking-sorter label {
    width: 120px;
}

.ranking-sorter select {
    background: url(../img/ranking/caja-azul-degrade-chica_3.png) no-repeat right;
    background-size: cover;
    border: 1px solid white;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    height: 30px;
    padding-right: 20px;
    width: 120px;
    text-transform: capitalize;
}

.ranking-sorter select.large {
    width: 225px !important;
}

.ranking-sorter select option {
    background-color: #E6E7E8;
    color: #262261;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    text-transform: capitalize;
}


.ranking-list {
    clear: both;
}

.ranking-office-box {
    border: solid 1px #BBBDC0;
    box-shadow: 5px 5px 5px #888888;
    display: flex;
    position: relative;
    flex-wrap: wrap;
    float: left;
    margin-bottom: 10px;
    width: 99%;
    padding-top: 5px;
}

.ranking-office-info {
    flex: 1;
}

.ranking-office-box > .office-position .office-details {
    margin: 0 auto;
    width: 140px;
}

.ranking-office-box > .office-position .office-details > a {

    background-color: #BBBDC0;
    color: #ffffff !important;
    float: left;
    margin: 0 10px;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    width: 100px !important;
}

.ranking-office-box > .office-position .office-details .compare {
    color: #58585B;
    float: left;
}

.ranking-office-box > .office-position > .office-name {
    color: #262261;
    float: left;
    font-size: 30px;
    line-height: 40px;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

.ranking-office-box > .office-position > .office-rank-pos {
    background: url(../img/ranking/ranking-div.png) no-repeat center;
    background-size: contain;
    color: #262261;
    height: 155px;
    margin: 46px auto 0 auto;
    max-width: 290px;
    width: 100%;
}

.ranking-office-box > .office-position > .office-rank-pos > .rank {
    float: left;
    text-align: center;
    width: 50%;
}

.ranking-office-box > .office-position > .office-rank-pos > .monthly {
    margin-top: 10px;
}

.office-rank-pos .pos {
    font-size: 60px;
    line-height: 50px;
}

.office-rank-pos .annual .pos, .office-rank-pos .annual .text {
    width: 110%;
}

.office-rank-pos .monthly .pos, .office-rank-pos .monthly .text {
    width: 90%;
}

.office-rank-pos .arrow.down {
    background: url(../img/ranking/ranking-down.png) no-repeat center;
}

.office-rank-pos .arrow.up {
    background: url(../img/ranking/ranking-up.png) no-repeat center;
}

.office-rank-pos .arrow.keep {
    background: url(../img/ranking/ranking-keep.png) no-repeat center;

}

.office-rank-pos .monthly .arrow {
    background-size: contain;
    float: right;
    height: 10px;
    margin-bottom: 10px;
    width: 20px;
}

.office-rank-pos .annual .arrow {
    background-size: contain;
    height: 10px;
    width: 20px;
}

.office-rank-pos .annual .arrow.keep, .office-rank-pos .monthly .arrow.keep {
    width: 12px;
}

.office-rank-pos .monthly .arrow.down {
    margin-top: 10px;
}

.ranking-office-box .ranking-office-totals {
    color: #FFF;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.ranking-office-box .ranking-office-totals .totals-cols {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
}

.ranking-office-box .ranking-office-totals .totals-cols > .col {
    /* background: url(../img/ranking/vivorita.png) no-repeat center;
     background-size: contain;*/
    flex: 1;
    max-width: 150px;
}

.ranking-office-box .ranking-office-totals .col .item {
    border: 0 solid #0000ff;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: bold;
    height: 33%;
    text-align: left;;
    vertical-align: middle;
}

.ranking-office-box .ranking-office-totals .col > .item > .icon {
    float: left;
    height: 55px;
    width: 55px;
}

.ranking-office-box .ranking-office-totals .col > .item > .region {
    background: url(../img/ranking/icono-region.png) no-repeat;
    background-size: contain;
}

.ranking-office-box .ranking-office-totals .col > .item > .agent {
    background: url(../img/ranking/icono-cantidad-agentes.png) no-repeat;
    background-size: contain;

}

.ranking-office-box .ranking-office-totals .col > .item > .antiquity {
    background: url(../img/ranking/icono-antiguedad-oficina.png) no-repeat;
    background-size: contain;
}

.ranking-office-box .ranking-office-totals .col > .item > .wallet {
    background: url(../img/ranking/icono-cartera-activa.png) no-repeat;
    background-size: contain;
}

.ranking-office-box .ranking-office-totals .col > .item > .seniority {
    background: url(../img/ranking/icono-antiguedad-agentes.png) no-repeat;
    background-size: contain;
}

.ranking-office-box .ranking-office-totals .col > .item > .catchment {
    background: url(../img/ranking/icono-nuevas-captaciones.png) no-repeat;
    background-size: contain;
}

.ranking-office-box .ranking-office-totals .col .item label {
    color: #58585B;
    font-size: 15px;
    font-weight: bold;
    margin-left: 60px;
    padding-top: 20px;
}

/*.ranking-office-box .ranking-office-totals .col .item label.line-1 {
    float: right;
}

.ranking-office-box .ranking-office-totals .col .item label.line-2 {
    float: right;
}

.ranking-office-box .ranking-office-totals .col .item label.line-3 {
    float: right;
}*/

.ranking-office-box .ranking-office-kms {
    max-width: 300px;
}

.ranking-office-box .ranking-office-kms .title {
    color: #262261;
    font-size: 15px;
    padding: 5px 0 0 0;
}

.ranking-office-box .ranking-office-kms .kms-value {
    float: left;
    font-size: 15px;
    padding: 12px 12px;
    width: 60%;
}

.ranking-office-box .ranking-office-kms .kms-percent {
    color: #262261;
    float: left;
    font-size: 23px;
    padding: 19px 0;
    text-align: right;
    width: 30%;
}

.ranking-office-box .ranking-office-kms .kms-container {
    max-width: 300px;
}

.ranking-office-box .ranking-office-kms .kms-aggregate {
    background: url(../img/ranking/div-kms-porcentaje.png) no-repeat;
    background-size: cover;
    color: #FFF;
    float: left;
    font-size: 15px;
    height: 45px;
    width: 100%;
}

.ranking-office-box .ranking-office-kms .kms-transactions {
    background: url(../img/ranking/div-transacciones.png) no-repeat;
    background-size: cover;
    color: #FFF;
    height: 45px;
    width: 100%;
}

.kms-transactions .trans-caja {
    float: left;
    text-align: center;
    width: 50%;
}

.kms-transactions .trans-caja .texto-trans {
    font-size: 9px;
    line-height: 16px;
    padding-top: 5px;
}

.kms-transactions .trans-caja .valor-trans {
    font-size: 15px;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #fff;
}
.tooltip-inner{
    border-top-color: #fff;
    background-color: #262261;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: #ffffff;
}

.filter-position {
    font-size: 20px;
    position: absolute;
    top: 5px;
    background: #bdbdbd;
    height: 30px;
    padding-left: 3px;
    line-height: 30px;
    left: -10px;
    width: 55px;
    color: white;
}

.filter-position-post {
    width: 0;
    height: 0;
    border-style: solid;
    top: 35px;
    left: -10px;
    position: absolute;
    border-width: 0 10px 6px 0;
    border-color: transparent #898888 transparent transparent;
}