* {
	padding:0;
	margin:0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
 
body {
    background-color: white/*#0E4D82*/;
}
 
.menu_bar {
	display:none;
}
 
header {
	width: 100%; /*Ancho header*/
}
 
header nav {
	background-color:white; /*Color de menú #2b6ca3*/
    z-index:1000;
    width:100%;
    margin:initial;
    position: fixed;
    height: 60px;  /*Altura de menu*/
}
 
header nav ul {
    list-style:none;
    text-align: right;
}
 
header nav ul li {
	display:inline-block;
	position: relative;
}
 
header nav ul li:hover {
	background:#dbdcdc; /*Menu gris cuando pasa el mouse*/
}
a:hover{
    color: black; /*Letra color negro cuando pasa el mouse*/
    text-decoration: none;
}
 
header nav ul li a {
    color:black; /*Color letra menu*/
    font-size: medium;
	display:block;
	text-decoration:none;
    padding: 18px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
 
header nav ul li a span {
	margin-right:10px;
}
 
header nav ul li:hover .children {
	display:block;
}
 
header nav ul li .children {
	display: none;
	background:white; /*Color submenu*/
	position: absolute;
	width: 100%;
	z-index:1000;
}
 
header nav ul li .children li {
	display:block;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,.5);
}
 
header nav ul li .children li a {

    display: block;
}
 
header nav ul li .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right:0;
	margin-left:10px;
}
 
header nav ul li .caret {
	position: relative;
	top:3px;
	margin-left:10px;
	margin-right:0px;
}
 
@media screen and (max-width: 800px) {
	body {
		padding-top:80px;
	}
 
	.menu_bar {
		display:block;
		width:100%;
		position: fixed;
		top:0;
		background:#2b6ca3;
	}
 
	.menu_bar .bt-menu {
		display: block;
		padding: 20px;
		color: #fff;
		overflow: hidden;
		font-size: 25px;
		font-weight: bold;
		text-decoration: none;
	}
 
	.menu_bar span {
		float: right;
		font-size: 40px;
	}
 
	header nav {
		width: 80%;
		height: calc(100% - 80px);
		position: fixed;
		right:100%;
		margin: 0;
		overflow: scroll;
	}
 
	header nav ul li {
		display: block;
		border-bottom:1px solid rgba(255,255,255,.5);
	}
 
	header nav ul li a {
        display: block;
	}
 
	header nav ul li:hover .children {
		display: none;
	}
 
	header nav ul li .children {
		width: 100%;
		position: relative;
	}
 
	header nav ul li .children li a {
		margin-left:20px;
	}
 
	header nav ul li .caret {
		float: right;
    }
}
div.azul{
   /*background-image: url("images/FondoDiv.png");*/
   background-color:white;
    /*background-color: #0E4D82;*/
}
footer{
    background-color:white;
}
div.container2{
    background-color: white/*lightgray #292929*/;
    /*background-image: url("images/FondoSer2.png");*/
}
div.container3{
    background-color: white/*lightgray #292929*/;
    /*background-image: url("images/FondoSer2.png");*/
}
div.container4{
    width: 60%;
    background-color: white;
}
h1{
    color: gray; /*#FFDE11;*/
    font-size: 45px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h2{
    color:#0E4D82;
    font-size: 40px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h3{
    color: gray;/* white;*/
    font-size: 18px; /*28px*/
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h4{
    color:gray/*rgba(255,255,255,.5)*/;
    font-size: 18px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
h5{
    color: gray;
    font-size: 13px; /*18px*/
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
/*Imagen en movimiento*/
.container-portada{
    width: 100%;
    height: 400px;
    background-image: url(images/D1.jpg);
    background-size: 130%;
    animation: movimiento 10s infinite linear alternate;
}
@keyframes movimiento{
    from{
        background-position: bottom left;
    }to{
        background-position: top;
    }
}
.capa-gradient{
    width: 100%;
    height: 400px;
    position: absolute;
    background: -webkit-linear-gradient(left, black,gray);
    opacity: 0.5;
}
/*
div {
    margin-top: 2px;
    margin-right:0px;
    margin-left:0px;
    margin-bottom:25px;
}
* {
    padding:0;
    margin:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.menu_bar {
    display:none;
}
 
header {
    width: 100%; //Anchura del header//
} 
header nav {
    background-color:#2b6ca3; //Color de menú//
    z-index:1000;
    width:100%;
    margin:initial;
    position: fixed;
    height: 55px;  //Altura de menu//
}
header nav ul {
    list-style:none;
    text-align:right; //Alineación texto menú//
}
header li{
  display:inline-block;
  position: relative;
}
header nav ul li {
    display:inline-block;
    position: relative;
}
 
header nav ul li:hover {
    background:#dbdcdc; //color gris cuando pasa el mouse//
    height: 55px; //Altura que indica en que sección del menú estás//
}
a:hover{
    color: black; //Color negro cuando pasa el mouse//
}
header nav ul li a {
    font-size: medium;
    color: white;
    display:block;
    text-decoration: none;
    padding: 20px; //Que tan arriba lo quieres//
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
 
header nav ul li a span {
    margin-right:10px;
}
 
header nav ul li:hover .children {
    display:block;
}
 
header nav ul li .children {
    display: none;
    background:#5B86B0;
    position: absolute;
    width: 150%;
    z-index:1000;
}
 
header nav ul li .children li {
    display:block;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.5);
}
 
header nav ul li .children li a {
    display: block;
}
header nav ul li .children li a span {
    float: right;
    position: relative;
    top:3px;
    margin-right:0;
    margin-left:10px;
}
header nav ul li .caret {
    position: relative;
    top:3px;
    margin-left:10px;
    margin-right:0px;
}
}
@media screen and (max-width: 800px) {
    body {
        padding-top:80px;
    }
    .menu_bar {
        display:block;
        width:100%;
        position: fixed;
        top:0;
        background: #5B86B0;
    }
 
    .menu_bar .bt-menu {
        display: block;
        padding: 20px;
        color: black;
        overflow: hidden;
        font-size: 25px;
        font-weight: bold;
        text-decoration: none;
    }
 
    .menu_bar span {
        float: right;
        font-size: 40px;
    }
 
    header nav {
        width: 80%;
        height: calc(100% - 80px);
        position: fixed;
        right:100%;
        margin: 0;
        overflow: scroll;
    }
 
    header nav ul li {
        display: block;
        border-bottom:1px solid rgba(255,255,255,.5);
    }

    header nav ul li a {
        display: block;
    }

nav li a:hover, nav li a.current { //aplicamos esta regla para el :hover y para la clase current //
    background-color:#5B86B0;
}*/
