.decrease-font,
.increase-font {
    cursor: pointer;
    font-family: Bold;
} 
a.high-contrast {
    cursor: pointer;
}
.header {
    display: flex;
    flex-wrap: wrap;
    /* height: 20vh; */
}
.accessibility {
    flex: 0 0 100%;
    background-color: #343434;
    padding: .7rem 0;
}
.wrapp-accessibility {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 0;
    flex: 0 0 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
}
.logo h1 {
    width: 100%;
}
:not(.landingPage) .desktop-hidden {
    display: none;
}
.menus {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    background-color: #f1f1f1;
    box-shadow: inset 0rem 0rem 0.5rem #87888b;
}
.menus > * {
    flex: 0 0 100%;
}
.menu-top {
    display: flex;
    height: 45%;
}
.menu__pages {
    flex: 0 0 65%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.current-version {
    flex: 0 0 calc(20% - 6rem);
    margin: 0 0 0 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e5e5e5;
}
.current-language {
    flex: 1;
}
.versions-list {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    list-style: none;
}
.languages__list {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    list-style: none;
}
.menu-bottom {
    display: flex;
    align-items: center;
    position: relative;
    height: 45%;
    z-index: 1;
}
.menu-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    list-style: none;
    position: relative;
    flex: 1;
    height: 100%;
}
.menu {
    flex: 0 0 85%;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.search-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.accessibility__links {
    text-decoration: none;
    font-size: 1.6rem;
    font-family: Light;
    color: #fff;
}
.accessibility__links:first-child {
    font-size: 1.2rem;
    align-self: flex-end;
}
.menu__pages-items {
    text-decoration: none;
    color: #484848;
    font-size: 1.6rem;
    font-family: Regular;
}
.menu__pages-items:not(:last-child) {
    margin-right: 8rem;
}
.current-version p {
    text-transform: uppercase;
    color: #484848;
    margin-bottom: 3px;
}
.versions-options span {
    color: #c3261f;
    font-family: Bold;
    font-size: 1.6rem;
}
.versions-options {
    position: relative;
}
.versions-sub-list {
    position: absolute;
    list-style: none;
    background-color: #e5e5e5;
    width: 130%;
    top: 130%;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
    left: -15%;
    box-shadow: 0rem 0.3rem 0.5rem rgba(0, 0, 0, .3);
}
.versions-sub-options {
    margin: 2rem 0;
}
.version-link {
    text-decoration: none;
    color: #484848;
    font-size: 1.6rem;
    text-transform: uppercase;
}
.version-link:hover {
    color: #c3261f;
}
.versions-options:hover .versions-sub-list{
    max-height: 100vh;
    opacity: 1;
    visibility: visible;
}
.menu-divisor {
    height: 10%;
    background-color: #c3261f;
}
.languages__list-item {
    margin: 0 5px;
}
.languages__list-link {
    color: #484848;
    text-decoration: none;
}
.languages__list-link--current {
    font-family: Bold;
}
.menu-item {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-link {
    text-decoration: none;
    color: #484848;
    font-size: 1.6rem;
    text-transform: uppercase;
}
.sub-menu {
    position: absolute;
    list-style: none;
    top: 100%;
    background-color: #fff;
    box-shadow: 0 0.5rem 0.2rem rgba(0, 0, 0, .3);
    width: 100%;
    opacity: 0;
    visibility: hidden;
}
.sub-menu::before {
    content: '';
    display: block;
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: inherit;
    width: 80px;
    height: 15px;
    z-index: 1;
    -webkit-clip-path: polygon(50% 0%, 100% 100%, 0% 100%, 0% 100%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%, 0% 100%);
}
.sub-menu-item {
    padding: 2rem 0;
    position: relative;
}
.sub-menu-item:not(:first-child)::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 30px;
    height: 3px;
    background-color: #c3261f;
}
.menu-item:hover .sub-menu{
    opacity: 1;
    visibility: visible;
}
.sub-menu-link {
    text-decoration: none;
    color: #484848;
    text-align: center;
    position: relative;
    font-size: 1.6rem;
}
.sub-menu-link:hover{
    color: #c3261f;
}
.menu-link-current {
    font-family: Bold;
}
.search-icons i {
    font-size: 2.5rem;
    color: #484848;
}
.fa-microphone {
    color: #484848;
    opacity: 0.8;
}
.search {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    height: 100%;
    z-index: 1;
    border: none;
    background-color: #f1f1f1;
    width: 0;
    font-size: 2rem;
    color: #484848;
    outline: none;
    padding: 0;
    opacity: 0;
    transition: all .5s;
    box-shadow: inset 0rem 0rem 0.5rem #87888b;
}
.search:focus {
    width: 85%;
    opacity: 1;
    transition: width .5s;
    padding: 0 5rem;
}
.search:-webkit-input-placeholder{
    font-family: Regular;
    margin-left: 2rem;
    color: #484848;
}
.search-icons i {
    cursor: pointer
}
.search-icons > i {
    opacity: 0;
}
.search:focus ~ .search-icons > i {
    opacity: 1;
}
.search-icons label {
    transform: translateX(150%);
    z-index: 10;
    position: relative;
}
.search:focus ~ .search-icons label {
    transform: none;
}

@media only screen and (max-width: 1024px){
    .menu__pages-items:not(:last-child) {
        margin-right: 4rem;
    }
}
@media only screen and (max-width: 800px){
    .mobile-hidden{
        display: none;
    }
    .increase-font {
        margin-right: auto;
    }
    .high-contrast {
        margin-right: auto;
    }
    .menu-divisor {
        display: none;
    }
    .logo {
        flex: 0 0 85%;
        order: 1;
        height: auto;
        padding: 2rem 2rem;
        display: initial;
        position: relative;
        z-index: 99;
    }
    .header {
        position: relative;
    }
    .menu-mobile {
        position: absolute;
        transform: translateY(100%);
        bottom: 0;
        width: 100%;
        z-index: 5;
        background-color: transparent;
        height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all .5s, z-index 0s;
    }
    .menu-mobile.open {
        height: 80vh;
        opacity: 1;
        visibility: visible;
        z-index: 105;
    }
    .menu__pages {
        flex: 0 0 60%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .current-version {
        flex: 0 0 30%;
        margin: 0;
    }
    .current-language {
        flex: 0 0 10%;
    }
    .menu-top {
        height: unset;
    }
    .menu__pages-items {
        flex: 0 0 50%;
        text-align: center;
        padding: 1rem 0;
        border: 1px solid #c3c3c3;
    }
    .menu__pages-items:not(:last-child) {
        margin: 0;
    }
    .languages__list {
        flex-direction: column;
    }
    .decrease-font {
        margin-right: 1rem;
        margin-bottom: .2rem;
    }
    .wrapp-accessibility {
        position: relative;
    }
    .search-icons {
        flex: unset;
    }
    .search {
        background-color: #343434;
        box-shadow: none;
        color: #fff;
    }
    .search:focus {
        padding: 0 2rem;
    }
    .search-icons i {
        color: #fff;
    }
    .search:focus ~ .search-icons > i {
        margin-left: 1rem;
    }
    .search:-webkit-input-placeholder{
        color: #fff;
    }
    .logo.mobile-hidden {
        display: none;
    }
    .btn-menu-mobile {
        flex: 1;
        order: 2;
        background-color: #c52415;
        position: relative;
        z-index: 100;
    }
    .btn-menu-mobile span {
        background-color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 10px;
        width: 45%;
    }
    .btn-menu-mobile span::before, .btn-menu-mobile span::after {
        content: '';
        height: inherit;
        width: 100%;
        background-color: inherit;
        position: absolute;
        top: -2rem;
    }
    .btn-menu-mobile span::after {
        top: unset;
        bottom: -2rem;
    }
    .menus {
        flex: 0 0 100%;
    }
    .menu-list {
        flex-direction: column;
    }
    .menu-item:not(:last-child) {
        border-bottom: 3px solid #e1e1e1;
    }
    .menu-item {
        width: 100%;
        padding: 2.4rem 0 2rem 0;
        background: #f1f1f1;
    }
    .sub-menu {
        z-index: 2;
    }
    .btn-menu-mobile.active span::after {
        display: none;
    }
    .btn-menu-mobile.active span {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .btn-menu-mobile.active span::before {
        transform: rotate(-90deg);
        top: 0;
    }
    .menu-mobile.open::before {
        content: '';
        top: 2px;
        right: 7.5%;
        background-color: #f1f1f1;
        height: 2rem;
        width: 4.5rem;
        position: absolute;
        display: block;
        transform: translate(50%, -100%);
        -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%, 50% 0%);
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%, 50% 0%);
    }
    .versions-sub-list {
        z-index: 110;
    }
}
@media only screen and (max-width: 500px) {
    .logo {
        flex: 0 0 80%;
    }
    .menu-mobile.open::before {
        right: 10%;
    }
}

/* Auto contraste */
.high-contrast .accessibility {
    background-color: #010101;
}
.high-contrast .logo {
    background-color: #464646;
}
.high-contrast .menus {
    background-color: #343434;
    box-shadow: inset 0rem 0rem 0.5rem #000;
}
.high-contrast .current-version {
    background-color: #464646;
}
.high-contrast .menu-divisor {
    background-color: #fff;
}
.high-contrast .search {
    background-color: #464646;
    box-shadow: inset 0rem 0rem 0.5rem #000;
}
.high-contrast .search:-webkit-input-placeholder{
    color: #fff;
}
.high-contrast .contrast-hidden {
    display: none;
}
.high-contrast main.landingPage .contrast-hidden {
    display: block;
}
.high-contrast .contrast-show {
    display: block;
}
.contrast-hidden {
    display: block;
}
.contrast-show {
    display: none;
}

@media (max-width:1023px){
  .accessibility__key {
        display: none;
    }
    .menu-item {
        height: auto;
        flex: 0;
    } 
    .menu-list {
        justify-content: flex-start;
    }
}