*{
	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;
	/*width: 90%;
	max-width: 800px;
	margin: 20px 22%;*/
}

.slides{
	width: 70%;
    padding: 30px 30px 0px;
	display: inline-block;
}

.slides img{
	width: 100%;
}

.slidesjs-pagination{
	background: #0040FF;
	list-style: none;
	overflow: hidden;
}

.slidesjs-pagination li{
	float: left;
}

.slidesjs-pagination li a{
	display: block;
	padding: 10px 20px;
	color: #d3d3d3;
	font-weight: bolder;
	text-decoration: none;
}

.slidesjs-pagination li a:hover{
	background: #001e76;
}

.slides .active{
	background: #001e76;
}

.slidesjs-navigation{
	background: #001e76;
	color: #d3d3d3;
	font-weight: bolder;
	text-decoration: none;
	display: inline-block;
	padding: 11px 20px;
	float: right;
}

.pres{
	display: none;
}

.presentacion{
	float: right;
	max-width: 24%;
	display: inline-block;
	position: absolute;
	margin-top: 50px;
}

.presentacion p{
	font-family: arial;
	font-size: 16px;
	color: #d3d3d3;
	max-width: 80%;
	line-height: 1.5em;
	padding-top: 10px;
}

.presentacion2{
    width: 100%;
    margin: -43px 5.5%;
    background: #001e76;
}

.presentacion2 p{
    font-family: arial;
    font-size: 16px;
    color: #d3d3d3;
    max-width: 80%;
    line-height: 1.5em;
    padding-top: 10px;
    position: relative;
    top: 50px;
    left: 7%;
}

.como{
    font-family: arial;
    font-size: 16px;
    color: #d3d3d3;
    cursor: pointer;
}

.subir{
    display: none;
    padding: 20px;
    font-size: 30px;
    color: #000000;
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 10000;
}

.localizacion{
    width: 70%;
    padding: 30px;
    display: inline-block;
}

iframe{
    max-width: 100%;
}

.mapa{
    max-width: 100%;
}

.hiper{
    font-family: arial;
    font-size: 16px;
    color: #d3d3d3;
    cursor: pointer;
}

.dts{
    display: none;
}

.datos{
    float: right;
    max-width: 25%;
    display: inline-block;
    position: absolute;
    margin-top: 20px;
}

.datos p{
    font-family: arial;
    font-size: 16px;
    color: #d3d3d3;
    max-width: 80%;
    line-height: 1.5em;
    padding-top: 10px;
}

.espacio{
    background: #001e76;
    width: 100%;
    height: 90px;
    margin: -43px 5.5%;
}

.espacio2{
    background: #001e76;
    width: 100%;
    height: 130px;
    margin: -43px 5.5%;
}

.catalogos{
    background: #001e76;
    width: 100%;
    margin: 43px 5.5%;
}

.catalogos table{
    width: 90%;
    position: relative;
    left: 5%;
    top: 30px;
    text-align: center;
}

.catalogos table td{
    width: 25%;
}

.catalogos table span{
    font-family: Arial;
    font-size: 18px;
    font-weight: bolder;
    color: #d3d3d3;
}

.catalogos td img{
    max-width: 100%;
}

.catalogos td img:hover{
    -webkit-transform: rotate(-7deg);
    -moz-transform: rotate(-7deg);
    -o-transform: rotate(-7deg);
}

.descarga{
    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;
}

.descarga:hover{
    font-family: Arial;
    font-size: 16px;
    font-weight: bolder;
    padding: 7px 10px;
    background: #d3d3d3;
    color: #0040FF;
    cursor: pointer;
    text-decoration: none;
}

.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: 50px;
    margin: -43px 5.5%;
}

.footer p{
    color: #d3d3d3;
    font-family: Arial;
    font-size: 12px;
    padding: 15px;
    line-height: 1.5em;
}

.politicaCookies{
    width: 80%;
    position: relative;
    left: 5%;
    top: 50px;
    display: block;
}

.politicaCookies p{
    font-family: Arial;
    font-size: 16px;
    color: #d3d3d3;
    max-width: 80%;
    line-height: 1.5em;
    padding: 15px;
    position: relative;
    top: 50px;
}

.espacio3{
    background: #001e76;
    width: 100%;
    height: 240px;
    margin: -100px 5.5%;
}

h2{
    font-family: Arial;
    font-size: 20px;
    color: #d3d3d3;
    width: 100%;
    text-align: center;
    position: relative;
    top: 50px;
}

#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;
    }

    .social{
        display: none;
    }

    .social2{
        display: block;
        width: 90px;
        float: right;
        position: relative;
        right: 20px;
    }

    .facebook2{
        float: left;
    }

    .facebook2 img{
        width: 40px;
    }

    .twitter2{
        float: right;
    }

    .twitter2 img{
        width: 40px;
    }

    .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;
    }

    .presentacion{
    	display: none;
    }

    .pres{
    	display: block;
        width: 100%;
        margin: -100px 5.5%;
        background: #001e76;
    }

    .pres p{
		font-family: arial;
		font-size: 16px;
		color: #d3d3d3;
		max-width: 80%;
		line-height: 1.5em;
		padding: 15px 7.5%;
	}

    .presentacion2{
        margin: -100px 5.5%;
    }

    .presentacion2 p{
        top: 100px;
    }

    .main{
        margin: 100px 5.5%;
    }

    .slides{
        width: 90%;
        margin: 0px 5.5%;
        display: block;
        padding: 20px 0px;
    }

    .slidesjs-pagination{
        display: none;
    }

    .catalogos{
        margin: -100px 5.5%;
    }

    .catalogos table{
        width: 90%;
    }

    .catalogos table tr{
        width: 90%;
        display: inline-block;
    }

    .catalogos table td{
        width: 90%;
        display: block;
    }

    .catalogos table td img{
        max-width: 80%;
    }

    .datos{
        display: none;
    }

    .dts{
        display: block;
        width: 100%;
        margin: -100px 5.5%;
        background: #001e76;
    }

    .dts p{
        font-family: arial;
        font-size: 16px;
        color: #d3d3d3;
        max-width: 80%;
        line-height: 1.5em;
        padding: 15px 7.5%;
        text-align: center;
    }

    .localizacion{
        width: 90%;
        margin: 0px 4.5%;
        display: block;
        padding: 20px 0px;
    }

    .mapa{
        width: 100%;
        display: block;
    }

    .espacio{
        margin: 100px 5.5%;
    }
    
    .sitemap{
        margin: -100px 5.5%;
    }

    .enlaces a{
        padding: 10px 0.5%;
    }

    .enlaces2{
        width: 100%;
        margin: -30px 0px;
        float: left;
    }

    .enlaces2 a{
        padding: 10px 5.5%;
    }

    .footer{
        margin: 156px 5.5% 0px;
    }
}




@media screen and (max-width: 500px){
    .descarga{
        font-size: 10px;
    }

    .descarga:hover{
        font-size: 10px;
    }

}

