/*
    DROPDOWN:
    Fuente: https://www.instagram.com/p/BnR-kHuBre3/?utm_source=ig_share_sheet&igshid=15tdhepz6qm3d
    */
    .ork-dropdown-wrapper {
        display: inline-block;
        font-size: .9375rem;
        position: relative;
        user-select: none;
    }

    .ork-dropdown-toggle-label {
        color: #fff;
        cursor: pointer;
        float: left; /* force parent to wrap around the label tag */
        margin-bottom: 0;
        padding: 10px 30px 10px 25px;
        position: relative;
    }

    /* arrow indicator on the button */
    .ork-dropdown-toggle-label:after {
        background: linear-gradient(45deg, #fff 50%, transparent 0);
        content: '';
        display: inline-block;
        height: 6px;
        position: absolute;
        right: 15px;
        top: 40%;
        transform: rotate(-45deg);
        width: 6px;
    }

    .ork-dropdown-wrapper input {
        /* https://www.chenhuijing.com/blog/customise-radios-without-compromising-accessibility/#%F0%9F%8E%B9 */
        opacity: 0;
        position: absolute;
    }

    .ork-dropdown-wrapper > input:checked + label:after {
        top: 50%;
        transform: rotate(135deg);
    }

    .ork-dropdown-wrapper > input:checked + label + .ork-dropdown {
        display: inline-block;
    }

    .ork-dropdown {
        background-color: #efbb58;
        border-radius: 4px;
        box-shadow: 0 0 20px rgba(0, 0, 0, .1);
        color: #fff;
        display: none;
        min-width: 90%;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 1000;
    }

    .ork-dropdown label {
        cursor: pointer;
        display: block;
        margin-bottom: 0;
        padding: 8px 12px;
    }

    .ork-dropdown label:hover {
        opacity: .7;
    }

    .ork-dropdown input:checked + label {
        opacity: .7;
    }
/*
CABECERA
*/
.header__aux-menus-wrapper {
    display: none;
    position: absolute;
    right: 10px;
    top: 0;
}

.header__aux-menus-wrapper .ork-dropdown-wrapper + .ork-dropdown-wrapper:before {
    content: '';
    top: 0;
    left: 0;
    width: 1px;
    bottom: 20%;
    background-color: rgba(255, 255, 255, .4);
    position: absolute;
}

.header__title {
    display: flex;
    justify-content: center;
}

.header__title > * {
    align-items: center;
    display: flex;
}

.header__title h1 {
    margin: 0;
}

.header__title span {
    background: transparent;
    border-radius: 0;
    font-size: inherit;
    font-weight: inherit;
}

.header__title > span {
    border-left: 1px solid rgba(255, 255, 255, .4);
    display: none;
    font-size: 26px;
    font-weight: normal;
    margin: 0 0 0 1em;
    padding: 0 0 0 1em;;
}
/*
NAVEGACIÓN
*/
.slide-menu__aux-menus-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 50px -15px;
}

.slide-menu__aux-menu {
    display: flex;
    max-width: 100%;
    padding: 15px 15px 0 15px;
    width: 100%;
}

.slide-menu__aux-menu:first-child {
    padding-top: 5px;
}

.slide-menu__aux-menu ul {
    background-color: rgba(0, 0, 0, .08);
    border-radius: 2px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    font-size: .9375rem;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.slide-menu__aux-menu li {
    padding: 15px;
    width: 25%;
    text-align: center;
}

.slide-menu__aux-menu a {
    color: #fff;
}

.slide-menu__aux-menu span,
.slide-menu__aux-menu a:hover,
.slide-menu__aux-menu a:focus {
    color: #efbb58;
}

.report-index__tabs {
    position: absolute;
    transform: translateY(-100%);
}

.report-index__tabs__item {
    background: rgba(0,0,0,.18);
    border: none;
    border-radius: 2px 2px 0 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: .625rem 1.375rem;
    text-transform: uppercase;
}

.report-index__tabs__item:hover {
    color: #efbb58;
}

.report-index__tabs__item.is--active {
    background: rgba(0,0,0,.08);
    cursor: default;
}

.report-index__tabs__item.is--active:hover {
    color: #fff;
}

.report-index__list {
    display: none;
}

.report-index__list.is--active {
    display: block;
}

.report-index__list--text-indent-0 a {
    padding-left: 8px;
    text-indent: 0;
}
/*
ESTRUCTURA DE DOS COLUMNAS
*/
.ork-dos-columnas {
    margin-left: -15px;
    margin-right: -15px;
}

.ork-dos-columnas:before,
.ork-dos-columnas:after {
    content: " ";
    display: table;
}

.ork-dos-columnas:after {
    clear: both;
}

.ork-columna {
    margin-bottom: 2rem;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

.img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}

.text-primary {
    color: #2889e0;
}

.ork-grey-box {
    background-color: #f0f2f3;
    margin: 1.4rem 0;
    padding: 1.4rem;
}

.ork-grey-box .report-note-body {
    background-color: transparent;
}

.ork-grey-box--float-right {
    padding-bottom: .4rem;
    background-color: #fff;
    border: solid 2px rgb(40, 137, 224);
    color: rgb(40, 137, 224);
    font-size: 1.15em;
    line-height: 140%;
    font-weight: 600;
}

.report-content figure img {
    max-width: 100%;
}

.report-content figure > a + figcaption {
    margin-top: .4rem;
}

.ork-cover-enlace-observatorio-wrapper {
    border: 1px solid rgb(201, 201, 201);
    border-left: none;
    border-right: none;
    margin-bottom: 3rem;
    padding: 30px 0 50px 0;
}

.ork-cover-enlace-observatorio {
    background: #f5f6f7;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    margin: 65px 0 0 0px;
    padding: 40px 70px 30px 20px;
    position: relative;
}

.ork-cover-enlace-observatorio__title {
    color: #2892e3;
    font-size: 30px;
    font-weight: normal;
    line-height: 110%;
    padding-bottom: 0.333em;
}

.ork-cover-enlace-observatorio__title a {
    color: #2892e3;
}

.ork-cover-enlace-observatorio__title a:after {
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.ork-cover-enlace-observatorio__texto a {
    color: #364555;
    position: relative;
    text-decoration: underline;
}

.ork-cover-enlace-observatorio__texto a:hover {
    color: #364555;
    text-decoration: none;
}

.ork-cover-enlace-observatorio__novedad {
    align-items: center;
    background: transparent url(../img/cover/estrella-verde.png) no-repeat left top;
    color: #fff;
    display: flex;
    height: 125px;
    justify-content: center;
    margin: -75px -15px 0 0;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
    width: 127px;
}

.ork-cover-enlace-observatorio:hover {
    border-color: #e89e10;
}

.ork-cover-enlace-observatorio:hover .ork-cover-enlace-observatorio__title a {
    color: #e89e10;
}

.ork-cover-enlace-indices-observatorio {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: -8px;
    padding: 0;
}

.ork-cover-enlace-indices-observatorio li {
    display: flex;
    flex-grow: 1;
    margin: 8px 8px 35px 8px;
    width: 100%;
}

.ork-cover-enlace-indices-observatorio a {
    align-items: center;
    background: #e89e10;
    border-color: #e89e10;
    border-radius: 6px;
    color: #fff;
    display: flex;
    flex-grow: 1;
    font-size: 18px;
    font-weight: bold;
    line-height: 120%;
    justify-content: center;
    padding: 24px 0;
    text-align: center;
    text-transform: uppercase;
}

.ork-cover-enlace-indices-observatorio a:hover {
    background: #f5f6f7;
    border: #e89e10;
    color: #e89e10;
}

.cover-header__subtitle {
    color: #2892e3;
    font-size: 30px;
    font-weight: normal;
    margin-bottom: .8em;
}

.ork-cover-enlace-indices-observatorio__nota-al-pie {
    font-size: 90%;
    padding: 1.5rem 0 3rem 0;
}

.ork-cover-enlace-indices-observatorio__nota-al-pie strong {
    color: #2892e3;
}
.ork-cover-enlace-indices-observatorio__nota-al-pie img {
    display: inline-block;
    padding: 0 .5em;
}

/*
https://getbootstrap.com/docs/4.2/content/tables/#responsive-tables
*/
.table-responsive {
    display: block;
    overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: -ms-autohiding-scrollbar;
    width: 100%;
}

.ork-table td,
.ork-table th {
    padding: 10px;
    vertical-align: top;
}

.ork-table thead th {
    vertical-align: middle;
}

.ork-table--striped tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

.ork-table--font-size-xs {
    font-size: 0.8em;
}
/*
MEDIA QUERIES
*/
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .slide-menu__aux-menu {
        flex-basis: 0;
        flex-grow: 1;
        padding: 3px 15px 0 15px;
    }

    .slide-menu__aux-menu:first-child {
        padding-right: 2px;
        padding-top: 3px;
    }

    .slide-menu__aux-menu:last-child {
        padding-left: 2px;
    }
    /* https://alistapart.com/article/quantity-queries-for-css#section3 */
    .slide-menu__aux-menu:only-of-type {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 767px) {
    .report {
        margin-top: 126px;
    }
}

@media screen and (min-width: 768px) {
    .header__title span {
        font-size: inherit;
    }

    .header__title > span {
        font-size: 26px;
    }

    .ork-cover-enlace-observatorio {
        margin: 65px 0 0 65px;
        padding: 40px 40px 30px 40px;
    }

    .ork-cover-enlace-observatorio__novedad {
        left: 0;
        margin: -63px 0 0 -63px;
        right: auto;
    }

    .ork-cover-enlace-indices-observatorio {
        flex-wrap: nowrap;
    }
    
    .ork-cover-enlace-indices-observatorio li {
        flex-basis: 0;
    }
}

@media screen and (min-width: 1024px) {
    .header__aux-menus-wrapper {
        display: block;
    }

    .header__brand {
        margin-right: 120px;
    }

    .header__title {
        align-self: flex-end;
        justify-content: flex-end;
        flex-grow: 1;
    }
    .header__title span {
        display: none;
        padding: 0;
    }

    .header__title > span {
        display: flex;
        padding: 0 0 0 1em;
    }

    .slide-menu__aux-menus-wrapper {
        display: none;
    }

    .report-index__list-child a {
        padding-left: calc(1.85rem + 6px);
        text-indent: -1.85rem;
    }

    .report-index__list-child .report-index__list-child a {
        padding-left: calc(2.45rem + 6px);
        text-indent: -2.45rem;
    }

    .report-index__list--text-indent-0 a {
        text-indent: 0;
    }

    .ork-grey-box {
        margin: 1.4rem 2.2rem;
    }

    .ork-grey-box--float-right {
        float: right;
        margin-right: 0;
        margin-top: 0;
        padding: 1rem 1.333rem 0;
        width: 40%;
    }

    .ork-enlarge-img {
        position: relative;
    }
    
    .ork-enlarge-img-trigger {
        background-color: #e89e10;
        border-color: transparent;
        border-radius: 6px;
        cursor: pointer;
        height: 80px;
        left: 50%;
        margin: -50px 0 0 -50px;
        padding: 20px;
        position: absolute;
        top: 50%;
        width: 80px;
    }

    .ork-enlarge-img-trigger:before {
        content: url('../img/zoom-in.svg');
        height: auto;
        width: 100%;
    }
    
    .ork-enlarge-img-trigger:hover {
        background-color: #efbb58;
    }

    .ork-modal .tingle-modal-box {
        max-width: 1400px;
        width: 90%;
    }

    .ork-modal .tingle-modal-box__content {
        padding: 1rem 1.5rem;
    }

    .ork-modal__title {
        border-bottom: 1px solid #c9c9c9;
        color: #2889e0;
        margin-bottom: 1.5rem;
        padding-bottom: .2rem;
    }

    .ork-modal__title strong {
        color: #e89e10;
    }

    .ork-cover-enlace-observatorio {
        background: #f5f6f7 url(../img/cover/bckg-enlace-observatorio-1024.gif) no-repeat right center;
        padding: 40px 200px 27px 55px;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1199px) {
    .ork-cover-enlace-observatorio {
        background-position: 535px center;
    }
}

@media screen and (min-width: 1200px) {
    .header__title {
        align-self: center;
        justify-content: flex-start;
        flex-grow: 0;
        margin-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .ork-dos-columnas .ork-columna {
        float: left;
        width: 50%;
    }

    .ork-grey-box--float-right {
        width: 33%;
    }

    .ork-modal .tingle-modal-box {
        width: 80%;
    }

    .ork-cover-enlace-observatorio {
        background: #f5f6f7 url(../img/cover/portada-DESI.gif) no-repeat right top;
        padding: 40px 500px 27px 55px;
    }

    .ork-cover-enlace-observatorio__title {
        font-size: 36px;
    }
}