*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body{
	font-family: 'Century Gothic';
	background-color: #0B0B3B
}

a{
	text-decoration: none;
}

ul{
	list-style: none;
}

img{
	max-width: 100%;
}

/*==========================================*/

.title{
	width: 100%;
	background: white;
	height: 100px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.title h1{
	color: rgb(228, 187, 8);
	font-size: 34px;
	font-weight: 200;
	text-align: center;
	font-family: Helvetica;
}


.navegacion{
	width: 100%;
	background: #0B0B3B;

	display: flex;
	justify-content: center;
}

.menu{
	width: 1000px;
	display: flex;
	flex-wrap: wrap;
	height: 90px;
}

.menu li{
	flex-basis: 0;
	flex-grow: 1;
	border-right: 1px solid #0B0B3B;
	position: relative;
}

.menu .first-item{
	border-left: 1px solid #0B0B3B;
}

.menu li a{
	display: flex;
	flex-direction: column;
	font-size: 18px;
}

.menu .imagen{
	position: absolute;
	bottom: 0;
	right: 30px;
	width: 0%;
	z-index: 20;

	-webkit-transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); 
   -moz-transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); 
     -o-transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); 
        transition: all 300ms cubic-bezier(0.445, 0.050, 0.550, 0.950); /* easeInOutSine */

-webkit-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); 
   -moz-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); 
     -o-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); 
        transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950); /* easeInOutSine */

    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.51);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.51);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.51);
opacity: 0.5;
}

.menu li a .text-item{
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	font-family: Helvetica;
	align-items: center;
	text-align: center;
	color: rgb(228, 187, 8);
	top: 0%;
	position: absolute;
	z-index: 10;

	-webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1); /* older webkit */
-webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); 
   -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); 
     -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); 
        transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */

-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); /* older webkit */
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
   -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
     -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
        transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */
}

.menu li a .down-item{
	position: absolute;
	top: 0%;
	width: 100%;
	height: 100%;
	background: #0B0B3B;

	-webkit-transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
   -moz-transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
     -o-transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); 
        transition: all 200ms cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */

-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 
   -moz-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 
     -o-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
}

.menu li:hover .down-item, .menu li:hover .text-item{
	top: 100%;
	height: 115%;
}

.menu li:hover .imagen{
	width: 100%;
	right: 0px;
}

.submenu{
	position: absolute;
	background: #F1D000;
	width: 100%;
}

.logo {
	max-width: 200px;
	max-height: 200px;
	position: relative; 
	opacity: 0.5;
	float: left;
	margin: 10px 10px 15px 0px;
    	}

.escudo {
	margin-top: right;
	max-width: 100px;
	max-height: 100px;
	position: relative; 
	opacity: 0.5
}
.subtitulo{
	font-family: Helvetica;
	color:#161898
}

/* --- cuerpo ---*/

.container{
	margin-top: 120px;
	margin-left: 10%;
	margin-bottom: 110px;
	background-color: #F8F9F9;
	width: 80%;
	padding: 50px;
	box-shadow: 0 0 0 10px #F8F9F9,
	0 15px 50px;
  }
  
  ul, li {
	  padding: 0;
	  margin: 0;
	  list-style: none;
  }
  
  ul.slider{
	position: relative;
	width: 100%;
	height: 500px;
  }
  
  ul.slider li {
	  position: absolute;
	  left: 0px;
	  top: 0px;
	  opacity: 0;
	  width: inherit;
	  height: inherit;
	  transition: opacity .5s;
	  background:#fff;
  }
  
  ul.slider li img{
	width: 100%;
	height: 500px;
	object-fit: cover;
  }
  
  ul.slider li:first-child {
	  opacity: 1; /*Mostramos el primer <li>*/
  }
  
  ul.slider li:target {
	  opacity: 1; /*Mostramos el <li> del enlace que pulsemos*/
  }
  
  .menu2{
	text-align: center;
	margin-top: 10px;
	margin-left: 40px;
	margin-right: 40px;
  }
  
  .menu2 li{
	display: inline-block;
	text-align: right;
  }
  
  .menu2 li a{
	display: inline-block;
	color: #cda434;
	text-decoration: none;
	text-align: center;
	background-color: #0B0B3B;
	/*padding: 10px;*/
	width: 35px;
	height: 35px;
	font-size: 30px;
	font-weight: bold;
	border-radius: 100%;
	font-family: Helvetica;
  }

  
  .menu2 li a:hover {
	background: #6b6b81 ;
	text-decoration: #cda434;
	color: #cda434 ;
	
	border: 2px solid #cda434;
  }




/*----- pie de pagina ---*/

.foot{
	width: 100%;
	height: 100px;
	background-color:  white;
	/*margin-top: 30px;*/
	align-items: center;
	display: flex;
	justify-content: center;	
}

.icon-instagram
{
/*	position: absolute;*/
	top:250px;
	right:0;
	font-size: 40px;
	text-decoration: none;
	color: rgb(228, 187, 8);
}
.icon-facebook-rect{
/*	position: absolute;*/
	top:250px;
	right:0;
	font-size: 40px;
	text-decoration: none;
	color: rgb(228, 187, 8);
}
.icon-twitter-bird{
	/* position: relative; */
	top:250px;
	right:0;
	font-size: 40px;
	text-decoration: none;
	color: 	#0B0B3B;
	;
}
.icon-youtube{
	/* position: relative; */
	top:250px;
	right:0;
	font-size: 40px;
	text-decoration: none;
	color: #0B0B3B;
}
.foot a { 
	padding-left: 10px; 
}
.foot p {
	 border-right: 1px solid white; padding-right: 10px; 
}