@charset "utf-8";
#nav-icon3 {
    display: none;
}
.menu-container.visible {
    left: 0;
}
body.overflow {
    overflow: hidden;
    height: 100%;
}
body.noscroll {
    overflow: hidden !important;
}
@media screen and (max-width: 1024px) {}
@media screen and (max-width: 920px) {
    div.logo a {
        margin-left: 0;
    }
    #contenedor {
        width: auto;
        padding: 0 30px;
    }
    .menu-container {
        width: 21%;
        float: left;
    }
    #contenedor #menu {
        width: 100%;
    }
    #contenedor #contenido {
        width: 79%;
    }
    .srcolldiv {
        width: 100% !important;
        padding-right: 0 !important;
    }
    .srcolldiv pre {
        width: 100%;
    }
    #ventana {
        width: auto;
        position: relative;
    }
    #contenido #ventana div[cual], #textoTrabajos {
        width: auto;
        position: relative;
        overflow: visible;
    }
    #textoTrabajos pre {
        margin-right: 0;
        width: 100%;
    }
    /*OBRAS*/
}

@media (max-width: 800px){
body .fancybox-button--left, body .fancybox-button--right {
    display: block !important;
    width: 20px;
}

body .fancybox-button--left:after, body .fancybox-button--right:after{
    top: auto;
    width: 12px;
    height: 12px;
}

body .fancybox-button--right:after{
    right: 8px;
}

body .fancybox-button--left:after{
    left: 8px;
}

body .fancybox-button--left:before, body .fancybox-button--right:before{
display:none;   
}

}

@media screen and (max-width: 640px) {
    /*BURGUER*/
    #nav-icon3 {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
        padding: 0px 25px;
        text-align: right;
    }
    /*MENU*/
    #menu {
        border-right: 0;
    }
    #contenedor #menu {
        width: 100%;
    }
    #menu .submenu, #menu .menu {
        float: none;
        text-align: left;
    }
    #menu .menu {
        background-position: -50px 0;
        margin-bottom: 20px;
        margin-top: 40px;
    }
    #menu .submenu {
        background-position: -70px -3px;
    }
    #menu .menu span {
        padding-left: 47px;
        font-weight: bold;
    }
    #menu .submenu span {
        padding-left: 20px;
    }
    .menu-container {
        transition: all 0.5s;
        position: fixed;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: -100vw;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 22222;
        overflow-y: auto;
    }
    /*IDIOMAS*/
    #idiomas {
        text-align: left;
    }
    /*font sizes*/
    #menu .menu, #menu .submenu {
        font-size: 14px;
    }
    /*CONTAINER*/
    #contenedor #contenido {
        width: 100%;
        margin-top: 20px;
    }
    #contenedor {
        padding: 0 15px;
        margin-top: 20px !important;
    }
    #ventana {
        margin-left: 0;
        margin-bottom: 30px;
        height: auto!important;
    }
    /*BIOGRAFIA*/
    #ventana div .srcolldiv {
        height: auto !important;
    }
    /*CONTACTO*/
    #ventana div[id^="con"] > div {
        width: auto !important;
        margin-left: 0;
        float: none !important;
    }
    #ventana.background {
        height: 120vh !important;
    }
    form textarea {
        width: 100%;
    }
    #motivo + div {
        width: 100% !important;
    }
    .contacto-aside {
        display: none;
    }
    .item {
        margin: 0;
        margin-bottom: 10px;
        transition: all 0.3s;
        max-width: calc(50% - 10px);
        border-right: solid white 10px;
        overflow: hidden;
    }
    .srcolldiv.bio .desktop {
      display: none;
    }
    .srcolldiv.bio p.mobile {
      display: block;
    }
    .srcolldiv.bio br {
      display: block;
    }

    /*mostrar flechas de navegacion para celulares*/
    a.fancybox-nav span {
        visibility: visible;
        opacity: 0.6;
    }

    #scrolldiv, #textoTrabajos {
        float: none;
        margin-left: 0;
        clear: both;
    }
}




