
@media only screen and (max-width: 480px) {

    body {
        /*background: none;*/
    }

    #wrap, #header, #nav, #footer {
        width: 100%;
    }

    #wrap {
        background: none;
        width: 95%;
        margin: 0 auto;
        background: #FFF;
    }

    #header {
        background-image: url(imagenes/mobile-header-bg.png);
        background-size: contain;
        background-repeat: no-repeat;
        height: auto;
        min-height: 100px;
        margin-bottom: 10px;
    }

    #header h1 {
        padding-top: 100px;
    }

    #nav {
        background: none;
        height: auto;
    }

    #navcontainer18 {
        background: url(imagenes/mobile-nav-bg.png) no-repeat;
        padding: 5px 0;
        position: relative;
        min-height: 20px;
        padding-top: 18px;
    }

    #nav.nav-active #navcontainer18 {
        padding-top: 30px;
    }

    #navcontainer18::before {
        content: '';
        display: block;
        width: 20px;
        height: 15px;
        padding: 0;
        color: #333;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        border-top: 3px #333 solid;
        border-bottom: 3px #333 solid;
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
    }

    #navcontainer18::after {
        border-top: 3px #333 solid;
        content: '';
        display: block;
        width: 20px; 
        position: absolute;
        top: 14px;
        right: 5px;
        cursor: pointer;
    }

    #nav.nav-active #navcontainer18::before {
        transform: rotate(-45deg);
        border-bottom: none;
        top:12px;
    }

    #nav.nav-active #navcontainer18::after {
        transform: rotate(45deg);
        right: 10px;
    }

    #nav ul {
        display: none;
    }
    #nav.nav-active ul {
        display: block;
    }
    #nav ul li {
        display: block;
        border: none;
        background: #333;
        margin: 0;
        padding: 10px 0;
    }

    #nav ul li a {
        color: #FFF;
    }

    #sidebar {
        float: none;
        width: 100%;
        padding: 0;
    }

    #main {
        float: none;
        width: 100%;
    }

    #main h2 {
        margin: 0;
    }

    #main .seccion {
        margin: 0;
    }

    #footer {
        background: none;
        margin: 0;
        text-align: center;
    }

    #publicidad {
        width: 100%;
        margin: 0;
    }

    #footer h1 {
        padding: 0;
    }

    #foot {
        padding: 0;
        text-align: center;
    }
}