*{
    margin: 0;
    padding: 0; /*se lo ponemos de 0, para eliminar los márgenes por defecto*/
}

body{
    background: #d3d3d3;
    width: 90%;
    max-width: 1220px;
}

.logo{
    max-width: 300px;
    position: relative;
    top: 20px;
    left: 10%;
}

h1{
    font-family: Arial;
    font-size: 20px;
    color: #0040FF;
    position: relative;
    left: 10%;
}

header{
    background-color: #d3d3d3;
    width: 100%;
}

header nav{
    width: 67%;
    float: right;
    margin: 0% -5.5%;
    background: #0040FF;
}

/*display:none; se utiliza esto para hacer desaparecer el .menu_bar que luego aparecera en la 
condicion de jquery*/
.menu_bar{
    display: none;
}

header nav ul{
    list-style: none;
}

header nav ul li{
    display: inline-block;
    position: relative;
}

header nav ul li a{
    color: #d3d3d3;
    font-family: Arial;
    font-size: 14px;
    padding: 14px 36px;
    display: block;
    text-decoration: none;
}

header nav ul li a:hover{
    background: #001e76;
}

.main{
    width: 100%;
    margin: 43px 5.5%;
    background: #001e76;
}

form{
    position: relative;
    top: 50px;
    left: 5%;
}

.lupa{
    width: 25px;
}

.buscar{
    text-align: right;
    font-family: Arial;
    font-size: 16px;
    font-weight: bolder;
    padding: 5px 10px;
    background: #0040FF;
    color: #d3d3d3;
    cursor: pointer;
    text-decoration: none;
    margin-top: 30px;
    position: relative;
    left: 30px;
}

.buscar:hover{
    text-align: right;
    font-family: Arial;
    font-size: 16px;
    font-weight: bolder;
    padding: 5px 10px;
    background: #d3d3d3;
    color: #0040FF;
    cursor: pointer;
    text-decoration: none;
    margin-top: 30px;
    position: relative;
    left: 30px;
}

.caja{
    width: 60%;
}

.noresult{
    font-family: Arial;
    font-size: 16px;
    color: #d3d3d3;
    width: 100%;
    text-align: center;
}

table{
    width: 90%;
    position: relative;
    top: 80px;
    left: 5%;
    display: block;
    text-align: center;
}

table td{
    width: 25%;
    margin-right: 130px;
}

table span{
    font-family: Arial;
    font-size: 18px;
    font-weight: bolder;
    color: #d3d3d3;
}

td img{
    max-width: 100%;
}

td img:hover{
    -webkit-transform: rotate(-7deg);
    -moz-transform: rotate(-7deg);
    -o-transform: rotate(-7deg);
}

.resultado{
    position: relative;
    top: 30px;
}

h2{
    font-family: Arial;
    font-size: 20px;
    color: #d3d3d3;
    width: 100%;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 30px;
}

.volver{
    position: relative;
    top: 40px;
    left: 30px;
    font-family: Arial;
    font-size: 16px;
    font-weight: bolder;
    padding: 7px 10px;
    background: #0040FF;
    color: #d3d3d3;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
    box-sizing: border-box;
    border-width: 2px;
    border-style: outset;
    border-color: buttonface;
    border-image: initial;
}

.volver:hover{
    position: relative;
    top: 40px;
    left: 30px;
    font-family: Arial;
    font-size: 16px;
    font-weight: bolder;
    padding: 7px 10px;
    background: #d3d3d3;
    color: #0040FF;
    cursor: pointer;
    text-decoration: none;
}

.espacio{
    background: #001e76;
    width: 100%;
    height: 90px;
    margin: -43px 5.5%;
}

.sitemap{
    background: #0040FF;
    width: 100%;
    height: 145px;
    margin: 43px 5.5%;
}

.sitemap p{
    font-family: arial;
    font-size: 14px;
    color: #d3d3d3;
    max-width: 80%;
    line-height: 1.5em;
    padding: 15px;
}

.enlaces{
    background: #0040FF;
    width: 50%;
    height: 90px;
    margin: 0px 5.5%;
}

.enlaces a{
    color: #d3d3d3;
    font-family: Arial;
    font-size: 13px;
    padding: 10px;
    line-height: 1.5em;
}

.enlaces2{
    background: #0040FF;
    width: 50%;
    height: 90px;
    margin: -90px 5.5%;
    float: right;
    display: inline-block;
}

.enlaces2 a{
    color: #d3d3d3;
    font-family: Arial;
    font-size: 13px;
    padding: 10px;
    line-height: 1.5em;
}

.footer{
    background: #001e76;
    width: 100%;
    height: 125px;
    margin: -43px 5.5%;
}

.footer p{
    color: #d3d3d3;
    font-family: Arial;
    font-size: 12px;
    padding: 15px;
    line-height: 1.5em;
}

.subir{
    display: none;
    padding: 20px;
    font-size: 30px;
    color: #000000;
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 10000;
}

#barraaceptacion {
    display:block;
    position:fixed;
    left:0px;
    right:0px;
    bottom:0px;
    padding-bottom:20px;
    width:100%;
    text-align:center;
    min-height:40px;
    background-color: rgba(0, 0, 0, 0.5);
    color:#fff;
    z-index:1000;
}
 
.inner {
    width:100%;
    position:relative;
    padding-left:5px;
    font-family:verdana;
    font-size:12px;
    top:10px;
    color: #d3d3d3;
}
 
.inner a.ok {
    padding:5px;
    color:#0040FF;
    text-decoration:none;
    font-weight: bolder;
}
 
.inner a.info {
    padding-left:5px;
    color:#0040FF;
    font-weight: bolder;
}

.social2{
    display: none;
}

.social{
    width: 90px;
    float: right;
    position: relative;
    top: 100px;
}

.facebook{
    float: left;
}

.facebook img{
    width: 40px;
}

.twitter{
    float: right;
}

.twitter img{
    width: 40px;
}














@media screen and (max-width: 800px){
    body{
        width: 90%;
    }

    .logo{
        top: 90px;
        max-width: 100%;
        margin: 0px auto;
        display: block;
        left: 5%;
    }

    h1{
        top: 90px;
        left: 5%;
        text-align: center;
    }

    header nav{
        position: fixed;
        margin: 0;
        width: 80%;
        overflow: scroll;
        top: 80px;  
        left: -100%; 
        z-index: 1000;
    } 

    header nav ul li{
        display: block;
        border-bottom: 1px solid rgba(255,255,255,.5);
    }  

    header nav ul li a{
        display: block;
    }

    .menu_bar{
        position: fixed;
        display: block;
        width: 100%;
        top: 0px;
        left: 0;
        background: #0040FF;
        z-index: 1000;
    }

    .menu_bar .bt-menu{
        display: block;
        padding: 20px;
        background: #0040FF;
        color: #d3d3d3;
        overflow: hidden;
        text-decoration: none;
        font-weight: bold;
        font-size: 25px;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
        box-sizing:border-box;
    }

    .menu_bar span{
        float: right;
        font-size: 40px;
    }

    .buscar{
        display: block;
    }

    .main{
        margin: 110px 5.5%;
    }

    .espacio{
        margin: -110px 5.5%;
    }

    h2{
        margin-top: 60px;
        margin-bottom: 0px;
    }

    table{
        width: 90%;
        top: 80px;
        text-align: center;
        display: block;
    }

    table tr{
        width: 100%;
        display: inline-block;
        text-align: center;
    }

    table td{
        width: 100%;
        display: block;
        text-align: center;
    }

    table td img{
        max-width: 100%;
        text-align: center;
    }

    .sitemap{
        margin: 110px 5.5%;
    }

    .enlaces a{
        padding: 10px 0.5%;
    }

    .enlaces2{
        width: 100%;
        margin: -30px 0px;
        float: left;
    }

    .enlaces2 a{
        padding: 10px 5.5%;
    }

    .social{
        display: none;
    }

    .social2{
        display: block;
        width: 90px;
        float: right;
        position: relative;
        right: 20px;
    }

    .facebook2{
        float: right;
    }

    .facebook2 img{
        width: 40px;
    }

    .twitter2{
        float: right;
    }

    .twitter2 img{
        width: 40px;
    }

    .footer{
        margin: -54px 5.5%;
    }
}






@media screen and (max-width: 400px){
    table td{
        display: inline;
    }

    table td img{
        width: 80%;
        display: inline;

    }

}



