@font-face {
    font-family: 'agencyfb';
    src: url(../fonts/AGENCYR.TTF);
}
* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}
a {
	color: inherit;
	text-decoration: none;
}
body {
	font-family: 'agencyfb';
	background-color: #ECE4D2;
}
hr {
	background: #18347F;
	border: 0px;
	width: 100%;
	height: 1px;
	margin: 10px 0px;
}
		
header {
	border-top:2px solid #18347F;
	width: 100%;
	height: 110px;
	background: #fff;
	padding: 10px;
}
.contenido {
	width: 100%;
	max-width: 1000px;
	margin: auto;
	position: relative;
}
.contenido .titulo {
	font-size: 25px;
	color: #18347F;
	text-align: center;
	font-weight: bold;
}
header .contenido {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
header .contenido .logo {
	background: url(../img/logo.webp);
	width: 297px;
	height: 93px;
	margin: auto;
}
.top {
	background-image: url(../img/top.png);
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 473px;
	position: relative;
}
.top .contenido {
	position: relative;
}
.top .contenido .imgtop {
	position: absolute;
	top: 300px;
	display: flex;
}
.top .contenido .imgtop .imgs {
	width: 200px;
	height: 125px;
	background: #000;
	border-radius: 8px;
	margin-left: 40px;
}
main .carta {
	background-image: url(../img/carta.png);
	background-color: #ECE4D2;
	background-position: center top;
	background-attachment: fixed;
	width: 100%;
	background-size: cover;
	padding: 20px;
}
main .carta .contenido {
	position: relative;
}
main .carta .contenido .nav {
	width:100%;
	z-index: 9999;
	left:0px; /*Ocultamos el menú en la parte izquierda para que no se vea a menos que pulsemos sobre la hamburguesa*/
	background-color: rgba(255, 255, 255, 1);
	border-bottom:4px solid #18347E;
	transition:all .5s ease; /*Damos a la caja del menú una transición para que tenga un desplazamiento suave*/
	border-radius: 6px;
	border: 1px #777777 dotted;
	margin-bottom: 10px;
	color:#000;	
  }
  main .carta .contenido .nav ul {
	border-collapse: collapse;
	display: flex;
	overflow-x: auto;
	justify-content: space-between;
	max-width: 2000px;
	width: 100%;
	padding: 10px;
	list-style: none;
  }
  main .carta .contenido .nav ul::-webkit-scrollbar{
	  display: none;
  }
	 /*Estilos de los li del menú*/
	 main .carta .contenido .nav__item {
	   width:96%;
	   position:relative; /*Le damos una posición relativa para posteriormente añadirle el triangulo que indica que se está en la página actual del menú*/
	   background-color:transparent;
	   font-size: 20px;
	 }
	 main .carta .contenido .nav__item:hover {
	  color:#18347E;
	 }
main .carta .cont, main .contacto .contenido {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
main .carta .cont .menu, main .carta .cont .menuimg {
	font-size: 25px;
	background: #fff;
	padding: 20px;
	border-radius: 6px;
	border: 1px #777777 dotted;
}
main .carta .cont .menu {
	width: 250px;
	height: 330px;
}
main .carta .cont .menu .active {
	color: #18347E;
}		
main .carta .cont .menu ul {
	list-style: none;
}
main .carta .cont .menu ul li::before {
    content: "• ";
    color: #18347E;
}
main .carta .cont .menu ul li {
	transition: ease all 0.4s;
}
main .carta .cont .menu ul li:hover {
	color: #18347E;
}
main .carta .cont .menuimg {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
main .carta .cont .menuimg .contimgpf {
	width: 285px;
	height: 190px;
	margin: 15px;
}
main .carta .cont .menuimg .contimgpf .imgtop {
	background-color: #fff;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 150px;
	border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	position: relative;
}
main .carta .cont .menuimg .contimgpf .imgtop .precio {
	left:10px;
}
main .carta .cont .menuimg .contimgpf .imgtop .precio2 {
	right: 10px;
}
main .carta .cont .menuimg .contimgpf .imgtop .precio, main .carta .cont .menuimg .contimgpf .imgtop .precio2 {
	background: #0B7A98;
	color: #fff;
	padding: 5px;
	width: 100px;
	text-align: center;
	border-radius: 6px;
	position: absolute;
	top: 10px;
	font-size: 18px;
}
main .carta .cont .menuimg .contimgpf .imgtop .precio font, main .carta .cont .menuimg .contimgpf .imgtop .precio2 font {
	font-size: 15px;
	width: 100%;
	display: block;
}
.precio span, .precio2 span {
	width: 100%;
  display: block;
  background-color: #18347E;
  padding: 3px;
  border-radius: 6px;
}
main .carta .cont .menuimg .contimgpf .imgbottom {
	background: #18347E;
	color: #fff;
	width: 100%;
	height: 40px;
	font-size: 20px;
	padding: 6px;
	text-align: center;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
}
main .oferta {
	background-image: url(../img/fnofer.jpg);
	background-color: #1A1F25;
	width: 100%;
	background-size: cover;
	background-position: center;
	padding: 20px;
}
main .oferta .contenido {
	text-align: center;
}
main .oferta .contenido .titulo {
	color: #fff;
}
main .oferta .contenido hr {
	background: #fff;
}
main .contacto {
	padding: 10px;
}
main .contacto .contenido .mapa iframe, main .contacto .contenido .informacion img {
	border: 2px solid #fff;
	border-radius: 6px;
}
footer {
	background: #fff;
	padding: 10px;
	border-top: 1px solid #18347F;
}
footer .fdent {
	flex-direction: row;
	align-items: center;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}
footer .logo {
	margin-left: 20px;
}
footer .info {
	vertical-align: top;
	text-align: right;
}
footer .copyright {
	width:100%;
}
.active {
	color: #18347F;
}
.sticky {
	position: fixed;
    top: 0;

    z-index: 9999;
	border-radius: 0px !important;
}
@media screen and (max-width:800px) { 
	main .carta .contenido .nav ul li{
		margin: 0px 15px;
	}
	header .contenido nav {
		display: none;
	}
	main .contacto .contenido .mapa iframe, main .contacto .contenido .informacion img {
		width: 100%;
	}
	.top {
		display: none;
	}
	footer .logo {
		width: 100%;
	}
}