*{
	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;
}

.main h2{
    font-family: Arial;
    font-size: 20px;
    color: #d3d3d3;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    top: 65px;
    padding-top: 10px;
}

.main 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%;
}

table{
    width: 90%;
    position: relative;
    top: 80px;
    left: 5%;
    display: block;
    text-align: center;
}

table td{
    width: 25%;
}

td img{
    max-width: 100%;
}

.fases{
    display: none;
}

.almoh{
    width: 100%;
    margin: 43px 5.5%;
    background: #001e76;
}

.almoh h2{
    font-family: Arial;
    font-size: 20px;
    color: #d3d3d3;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    top: 50px;
}

.fotoalmoh{
    width: 55%;
    padding: 30px;
    display: inline-block;
    margin-top: 35px;
}

.fotoalmoh img{
    width: 100%;
}

.txtalmoh{
    float: right;
    max-width: 35%;
    display: inline-block;
    position: absolute;
    margin-top: 60px;
}

.txtalmoh p{
    font-family: arial;
    font-size: 16px;
    color: #d3d3d3;
    max-width: 80%;
    line-height: 1.5em;
    padding-top: 10px;
}

.txtalm{
    display: none;
}

.espacio{
    background: #001e76;
    width: 100%;
    height: 90px;
    margin: -43px 5.5%;
}

.espacio2{
    background: #001e76;
    width: 100%;
    height: 90px;
    margin: -43px 5.5%;
}

.subir{
    display: none;
    padding: 20px;
    font-size: 30px;
    color: #000000;
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 10000;
}

.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;
}

#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;
    }

    .main{
        margin: 100px 5.5%;
    }

    .main h2{
        top: 45px;
    }

    table{
        display: none;
    }

    .fases{
        width: 70%;
        display: table-cell;
        padding: 33px;
        position: relative;
        top: 65px;
    }

    .fases img{
        width: 100%;
    }

    .txtalmoh{
        display: none;
    }

    .txtalm{
        display: block;
    }

    .txtalm{
        font-family: arial;
        font-size: 16px;
        color: #d3d3d3;
        max-width: 80%;
        line-height: 1.5em;
        padding-top: 10px;
        position: relative;
        top: 50px;
        left: 7%;
    }

    .fotoalmoh{
        width: 70%;
        display: table-cell;
        padding: 33px;
        position: relative;
        top: 65px;
    }

    .espacio{
        margin: -100px 5.5%;
    }

    .espacio2{
        height: 130px;
        margin: -43px 5.5%;
    }

    .sitemap{
        margin: 0px 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: left;
    }

    .facebook2 img{
        width: 40px;
    }

    .twitter2{
        float: right;
    }

    .twitter2 img{
        width: 40px;
    }

    .footer{
        margin: 56px 5.5% 0px;
        height: 125px;
    }
}






