@font-face{
	font-family: segoe;
	src: url("../fuentes/segoesc.ttf");
}
@font-face{
	font-family: segoe;
	src:url("../fuentes/segoescb.ttf");
	font-weight: bold;
}
*{
	box-sizing: border-box;
}
body{
	background-color: #DFE;
	font-family: segoe, sans-serif;
	background-image:url(../images/fondogallinas.jpg);
	background-size: contain;
	background-attachment: fixed;
}
.r0{
	transform: rotate(0deg);
}
.r90{
	transform: rotate(90deg);
}
.r180{
	transform: rotate(180deg);
}
.r270{
	transform: rotate(270deg);
}
.fullscreen{
	display: none;
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	z-index: 99;
	top:0;
	right:0;
	bottom:0;
	left:0;
}
.boton{
	display:inline-block;
	border:thin solid black;
	padding:0.2em 0.5em;
	font-family: sans-serif;
	border-radius: 3px;
	background-color: white;
	margin:auto 2em;
	font-size: medium;
	text-align: center;
}
.fullscreen img{
	width: 95%;
	/* margin: auto;
	display: block;
	margin-top: 10px; */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	max-height: 100%;
}
a{
	text-decoration: none;
	color: black;
}
h1{
	text-align: center;
	font-size: 6vw;
}
.contenedor{
	border-radius: 10px;
	width: 95%;
	position: relative;
	margin:auto auto 20px auto;
	box-sizing: border-box;
	padding:0;
	padding-bottom: 50px;
	min-width:7em;
	max-width:1024px;
	overflow: hidden;
	box-shadow: 5px 5px 10px 2px grey;
	background-image: none;
	background-color: rgba(221, 255, 238,0.7);
}
.icon{
	width:1.3em;
	position:relative;
	z-index: 100;
	border-radius: 10px;
	box-shadow:inset 0 0 10px 2px #cfd;
}
.info{
	padding:5px 1%;
}
.error{
	color: red;
	font-weight: bold;
}
.formulario{
	padding:20px;
}
.campoFormulario{
	display:flex;
	align-items: center;
	padding:1em 5px;
	width:98%;
	margin:1em auto;
	justify-content:space-evenly;
}
.campoInner{
/*	border: thin solid green;
*/
	display:inline-block;
	text-align: left;
	margin:auto 1%;
	/* width:30%; */
}
input{
	padding:5px;
	margin:5px auto;
}
.campoInner input{
	width:100%;
}
.check{
/*	border:thin solid red;
*/
	display: inline-block;
	width:8%;
}
.miniatura{
	position:relative;
	/* bottom:-12px; */
	display:inline;
	width:80%;
	margin:5px;
	vertical-align: middle;
}
select{
	padding:5px;
}
#archivo{
	padding: 5px;
	font-size:2vw;
}
header{
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	text-align:center;
/*	background-image: url("../images/fondo.png");
*/
}
#bg{
	display:block;
	width: 100%;
/*	object-fit: cover;
	object-position: 50% 100%;*/
	opacity: 0.95;
	background-color: #FFF;
	position:absolute;
	top: 0px;
	z-index: 0;
	overflow: hidden;
}
#vbg{
	position:absolute;
	top: -70%;
	left:0;
	width:100%;
}
header h1{
	position:relative;
	box-sizing: border-box;
	font-size:6vw;
	font-stretch: condensed;
	color: white;
	padding: 1% 1% 0%;
	display:inline-block;
	margin:auto;
	text-align:center;
	text-shadow: 3px 0px 5px black, 0 3px 5px black, -3px 0 5px black, 0px -3px 5px black;
	opacity: 1;
}
#fidalgo{
	padding: 0 1% 1%;
	margin: -3% 0 0;
	font-size:10vw;
}
#logo{
	position: relative;
	/* display: inline-block; */
	float: left;
	width:18%;
	margin: 2% 0 2% 3%;
	
}
	header h1{
		font-size:5vw;
		padding-top:0.2%;
	}
	#fidalgo{
		font-size:7vw;
		padding-bottom: 0px;
		margin-bottom: -20px;
	}
	#logo{
		width:14%;
		margin:1% 0 1% 5%;
	}
.clearfix::after{
	content: "";
	clear: both;
	display: table;
	
}
nav{
	padding:0 1%;
	background-image: linear-gradient(rgba(220,20,20,1) 20%, rgba(250,220,0,1) 25%, rgba(250,220,0,1) 80%, rgba(220,20,20,1) 85%);
}
nav a{
	border-radius: 6px 15px;
	box-shadow: 1px 1px 10px 3px white;
	margin:5px 1%;
	padding:1%;
	float:left;
	/* display:inline-block; */
	box-sizing:border-box;
	text-decoration: none;
	text-align: center;
	color: black;
	width: 6em;
	background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0));
}
.btnlargo{
	width: 8em;
}
nav a:hover{
	/*background-color: rgba(255,255,255,0.6);*/
	transition-duration:3s;
	transition-property: background;
	background: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.9) 30%,rgba(255,255,255,0.2));
	font-weight: bold;
}
nav a:active{
	/*box-shadow: 1px 1px 15px 3px grey inset;*/
	background-image: linear-gradient(rgba(120,120,120,0.2),rgba(120,120,120,0.6) 70%,rgba(120,120,120,0.2));
}
.galeria{
	width: 100%;
	padding: 5px 1px 30px 5px;
}
.foto{
	border:1px solid black;
	box-sizing: border-box;
	border-radius: 5px;
	padding: 4px 6px;
	margin: 1%;
	width:48%;
	height:auto;
	float: left;
	background-color:white;
}
.galeria .foto:nth-child(odd){
	float:left;
}
.galeria .foto:nth-child(even){
	float:right;
}
.foto:hover .titulo{
	position:relative;
	z-index:1;
}
.foto:hover{
	overflow:hidden;
}
.contenedorFoto{
	overflow:hidden;
}
.foto:hover img{
	transition-duration:3s;
	transition-timing-function: ease-out;
	transform: scale(1.2, 1.2);
	z-index:0;
}
.palomas{
	display:block;
	width:98%;
	overflow: hidden;
}

.foto img{
	position:relative;
	width:100%;
}
.titulo{
	width: 100%;
	padding:5px;
	text-align: center;
	text-decoration: none;
	background-color: white;
	text-transform: capitalize;
	font-weight: bold;
	font-size:1.5em;
}
.descripcion{
	text-align:right;
}
.contador{
	text-align: center;
}
.botonContacto{
	border:solid blue;
	display: inline-block;
	background-color:rgba(100,100,250,0.30);
	font-weight: bold;
	border-radius:10px;
	margin:20px 10px;
	box-shadow: 2px 2px 10px 2px rgba(0,0,0,0.5);
	overflow:hidden;
	
}
.botonContacto:hover{
	border:solid rgba(100,100,255,1);
/*	background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.9) 30%,rgba(255,255,255,0.2));*/
	background-color:rgba(255,255,255,0.8);
	background-image: url("../images/fondo2.jpg");
	box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.5);
	background-size: 200px;
	background-blend-mode: normal;
	
}
.botonContacto img{
	width:48px;
	margin:0px 0 0px 10px;
	position: relative;
	top:15px;
}
.botonContacto div{
	display:inline-block;
	padding: 0 10px 10px 10px;
	margin:auto;
}
.botonContacto p{
	display:inline-block;
	color: white;
	text-shadow: 2px 0px 2px black, 0 2px 2px black, -2px 0 2px black, 0px -2px 2px black;
}
.floatRight{
	/* display:inline-block; */
	float:right;
}
.mapa{
	width:100%;
	padding:2%;
}
.mapa iframe{
	display:block;
	margin:auto;
	width:90%;
}
.contacto{
	border-radius: 5px;
	text-align: center;
	font-family: sans-serif;
	font-size: 1.2em;
	z-index: 15;
	width: fit-content;
	display: block;
	margin: auto;
	padding:5px 1em;
	position: fixed;
	bottom: 5px;
	left:50%;
	transform: translateX(-50%);
	background-color: rgba(255,255,255,0.5);
}
.contactoc{
	text-align: center;
}
.flecha{
	border-radius: 50%;
	text-align: center;
	font-family: sans-serif;
	z-index: 14;
	width: 33px;
	height: 33px;
	display: block;
	margin: auto;
	position: fixed;
	bottom: 25px;
	right: 10px;
}
.flecha img{
	width:32px;
	border: thin solid black;
	border-radius: 50%;
}
.flecha img:hover{
	border:medium solid white;
}
.icons{
	display:inline-block;
	width:auto;
}
.icons img{
	width:3vw;
	display: inline;
	min-width:25px;
	max-width:35px;
}
.icons img:hover{
	box-shadow:-0px -0px 10px 5px white;
	border-radius: 40%;
}
.lookus{
	position:fixed;
	bottom:5px;
	right:10px;
	font-size: 0.6em;
	font-family: sans-serif;
	text-decoration: overline;

}
.lookus a{
	text-decoration: none;
	font-weight: bold;
	color: rgba(255, 69, 0, 0.7);
	padding: 5px 5px;
}
.lookus a:hover{
	color:rgba(255,69,0);
	background-color: rgba(0,0,0,0.5);
}
.config{
	position:fixed;
	bottom:15px;
	left:15px;
}
.config img{
	width:32px;
	height:32px;
	margin:0;
	padding:0;
	background-color: silver;
	border-radius:50%;
}
.config img:hover{
	background-color: white;
}

#desconectar{
	background-color: #DFE;
	border-radius: 15px;
	float:right;
	font-weight:bold;
	padding:15px;
	margin:20px;
}
#desconectar a{
	color:#080;
}
#desconectar:hover{
	background-color: #080;
	border:thin solid #0b0;
}
#desconectar:hover a{
	color:white;
}
.grupoTexto{
	display:inline-block;
}
.grupoTexto .campoInner{
	width:100%;
}
.campoFormulario > .grupoTexto{
	flex-shrink: 2;
}
.campoFormulario > .imagen{
	flex-shrink: 2;
	text-align: center;
}


@media only screen and (max-width:735px){
	body{
		overflow-x: hidden;
	}
	.contenedor{
		width: 97vw;
	}

	header h1{
		font-size:5vw;
		padding-top:0.2%;
	}
	#fidalgo{
		font-size:7vw;
		padding-bottom: 0px;
		margin-bottom: -20px;
	}
	#logo{
		width:14%;
		margin:1% 0 1% 5%;
	}
	
	nav a{
		width:auto;
		font-size:2.5vw;
	}
	.foto{
      width: 48%;
  }
	.palomas{
		display:block;
		width:98%;
	}
	.contacto, .contactoc{
		font-size:2.4vw;
	}
	.icons img{
		width:20px;
	}
	.flecha{
		bottom: 45px;
	}
	.config{
		bottom:35px;
	}
}
@media only screen and (max-width:580px){
	.campoFormulario{
		flex-direction: column;
	}

	.botonContacto img{
		width: 28px;
		top:10px;
	}
}
@media only screen and (max-width:485px){
  .foto{
	  float: none;
      width: 80%;
	  margin: 3% auto;
  }
  .galeria .foto:nth-child(odd), .galeria .foto:nth-child(even){
	  clear: both;
	  float: none;
  }
	.palomas{
		width: 98%;
	}
	nav a{
		font-size:2.4vw;
		width:auto;
	}
    .icons img{
		min-width:15px;
		width:10px;
	}
	.botonContacto img{
		width: 5vw;
		top:10px;
	}
}
@media only screen and (min-width:1024px){
	.contenedor{
		width: 935px;
	}
	header h1{
		font-size:4em;
	}
	#fidalgo{
		font-size: 6em;
	}
}