/**************************************************************
 *	PROGRAMADO POR: Javier Rico Motos y Sergio Santos Belmonte
 *	EMAIL: info@zuinqstudio.com
 *	WEB: http://www.zuinqstudio.com
 *	© Todos los derechos reservados
 ***************************************************************/

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    body.admin div#web {
        min-width: inherit;
        width: 100%;
    }

    body.admin div#web div#cabecera {
        height: 100px;
    }

    body.admin div#web div#cabecera h1 {
        display: none;
    }

    body.admin div#web div#cabecera a.logout {
        font-size: 1.1em;
        top: 80px;
    }

    body.admin div#web div#cabecera #saludo {
        right: inherit;
        left: 20px;
        top: 20px;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin {
        margin: 5px 0;
        position: inherit;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin div#menu-admin {
        background-color: transparent;
        width: 100%;
        float: none !important;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin div#menu-admin h2 {
        background: transparent url('../img/layout/menu-mobile.png') 50% 50% no-repeat !important;
        background-size: 100% 100% !important;
        text-indent: -9999px;
        padding: 0;
        width: 35px;
        height: 35px;
        z-index: 44;
        right: 10px;
        top: 10px;
        position: absolute;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin div#menu-admin > ul {
        z-index: 43;
        right: 15px;
        top: 45px;
        position: absolute;
        border: 1px solid #e5e4e4;
        background-color: #fff;
        width: 180px;
        display: none;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin div#menu-admin ul li h3 {
        padding: 5px 10px;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin div#menu-admin ul li a {
        padding: 5px 10px;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin div#menu-admin ul li ul {
        padding: 5px 0;
    }

    body.admin div#web div#contenido div#texto div#wrapper-admin #wrapper-contenido-admin {
        padding-left: 0;
        min-width: inherit;
        float: none !important;
        position: inherit;
    }

    div.formulario fieldset div.lista-label label {
        width: 100% !important;
        float: none;
    }

    /** Home */

    html {
        height: auto;
    }

    body.inicio .home {
        flex-direction: column;
    }

    body.inicio .home h2 {
        font-size: 30pt;
        margin-top: 50px;
    }

    body.inicio .home h3.sub {
        font-size: 20pt;
    }

    body.inicio .home .formulario {
        margin-top: 30px;
    }

    body.inicio .home div.formulario fieldset {
        width: 90%;
        padding: 0;
        margin: 0 auto;
    }

    body.inicio .home div.formulario fieldset label {
        padding: 0;
    }

    body.inicio footer {
        flex-direction: column;
    }

    body.inicio footer ul.datos {
        margin-top: 20px;
    }

    /** Modals */
    .modal-landing {
        position: inherit;
        top: inherit;
        left: inherit;
        right: inherit;
        bottom: inherit;
    }

    .modal-landing .modal-landing-bg {
        display: none;
    }

    .modal-landing .modal-landing-content {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: auto;
        width: 100% !important;
        max-height: inherit;
        padding: 50px 15px;
        background-color: #fff;

        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
    }

    .modal-landing .modal-landing-content .modal-landing-close {
        top: 10px;
        right: 10px;
    }

    .modal-landing .modal-landing-content h2 {
        margin: 20px 10px;
        line-height: 1.2em;
    }
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* Styles */
}
