header#masthead, nav#secondary-navigation {
    position: fixed;
    z-index: 200;
    width: 100%;
    height: 60px;
}

header#masthead {
    top: 0;
    height: 97px;
}

.inside-header {
    margin: 0 auto !important;
    align-items: flex-end;
}

nav#secondary-navigation {
    top: 97px;
}

#secondary-navigation .inside-navigation {
    padding: 0 20px !important;
}

#secondary-navigation .main-nav {
    position: fixed;
    top: 97px;
    z-index: 500;
}

#secondary-navigation .menu-item:last-child a {
    padding-right: 10px;
}

.main-nav .menu-item a {
    font-family: var(--f-primaria) !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.menu-bar-items .menu-bar-item a {
    font-size: 1.4rem !important;
}

#menu-menu-burger #menu-item-182 .sub-menu,
#menu-menu-burger #menu-item-182 .dropdown-menu-toggle,
.show-mv {
    display: none;
}


/* RRSS */
.top-bar {
    height: 0;
}

.header-rrss {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 40px;
    width: fit-content;
    position: fixed;
    z-index: 300;
    top: 112px;
    left: 11%;
}

.header-rrss svg {
    width: 20px;
    height: 20px;
}

.header-rrss .ico-yt svg {
    width: 26px;
    height: 26px;
    margin-left: -5px;
    margin-bottom: -2px;
}

.header-rrss svg path {
    fill: var(--c-primario);
    transition: all 0.4s ease;
}

.header-rrss a:hover svg path {
    fill: var(--c-secundario);
}


@media screen and (min-width: 2000px) {
    .header-rrss {
        left: 12%;
    }
}

@media screen and (min-width: 2100px) {
    .header-rrss {
        left: 14%;
    }
}

@media screen and (min-width: 2200px) {
    .header-rrss {
        left: 16%;
    }
}

@media screen and (min-width: 2300px) {
    .header-rrss {
        left: 17%;
    }
}

@media screen and (min-width: 2400px) {
    .header-rrss {
        left: 18.5%;
    }
}

@media screen and (min-width: 2500px) {
    .header-rrss {
        left: 19.5%;
    }
}

@media screen and (min-width: 2600px) {
    .header-rrss {
        left: 20.5%;
    }
}

@media screen and (min-width: 2700px) {
    .header-rrss {
        left: 21.5%;
    }
}

@media screen and (min-width: 2800px) {
    .header-rrss {
        left: 22.5%;
    }
}

@media screen and (min-width: 2970px) {
    .header-rrss {
        left: 24%;
    }
}

@media screen and (max-width: 2000px) {
    .header-rrss {
        left: 20px;
        padding: 0;
    }

    .inside-header {
        max-width: 100vw !important;
        width: 100%;
        padding-left: 20px !important;
    }

    #secondary-navigation .main-nav {
        right: 10px;
    }

    #secondary-navigation .menu-item:last-child a {
        padding-right: 20px;
    }
}

@media screen and (max-width: 1080px) {
    .top-bar {
        display: none !important;
    }
}

@media screen and (max-width: 950px) {
    #menu-menu-burger #menu-item-182 .sub-menu,
    #menu-menu-burger #menu-item-182 .dropdown-menu-toggle {
        display: initial;
    }

    #secondary-navigation, .secondary-menu-toggle {
        display: none !important; 
    }

    #generate-slideout-menu #menu-item-182 .sub-menu {
        display: none !important;
    }

    #generate-slideout-menu #menu-item-182 a {
        background-color: initial;
        color: var(--c-primario);
    }

    #generate-slideout-menu #menu-item-182 .sub-menu.toggled-on {
        display: block !important;
    }

    #generate-slideout-menu #menu-item-182.sfHover>a,
    #generate-slideout-menu .current-menu-item>a {
        color: var(--c-secundario) !important;
        background-color: var(--c-gris);
    }
}

@media screen and (max-width: 820px) {
    header#masthead {
        height: 100px;
    }
}