@charset "utf-8";
/* CSS Document */

.contenedoranimacion {

    height:0px;
    overflow: hidden;
    transition: height 4s linear 0s;
}
.contenedoranimacion > div  {
    /*pongo overflow a hidden para que los márgenes del primer y último elemento queden dentro del contenedor y los tenga encuenta al preguntar su altura desde javascript*/
    overflow: hidden;
}

.vinculo {
	font-weight: bold;
	transform-style: cursive;
	cursor: pointer;
}
#navegador a:nth-of-type(6) {
	background-color: white;
	color:black;
}
#contenedortabla {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	display:flex;
	justify-content: space-around;
	align-items: center;
	margin-top: 3em;
	margin-bottom: 2em;
	
}
#tablacontacto {
	width: 35%;
	border-spacing: 0.5em;
	border-radius: 1em; /*dar borde redondeado a la tabla*/
	box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0.8);
	margin-bottom: 3em;
}
#tablahorario {
	width: 25%;
	border-spacing: 0.5em;
	border-radius: 1em; /*dar borde redondeado a la tabla*/
	box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0.8);
	
}
td {
	padding: .25em .5em .25em .5em; /*relleno entre celdas*/
	border-radius: .5em; /*dar borde redondeado a las celdas*/
}
thead td {
	width: 2em;
	color:white;
	background-color:#CD8403;
	text-align:center;
}
tbody td {
	width: 2em;
	text-align:center;
}
tbody td:first-of-type{
	text-align: center;
	
}
#ventanaavisos {
	position: fixed;
	top:0px;
	left:0px;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
	text-align: center;
	transform: scale(0);
	transition: transform 0.75s ease-in-out 0s;
	z-index: 500;
	background-color: rgba(64,71,75,0.5);
}
#ventanaavisos.abierta {
	transform: scale(1);
}
#ventanaavisos h2 {
	color:rgba(7,63,96,1.00);
	font-weight: bold;
	font-size: 3em;
	text-align: center;
}
#ventanaavisos p {
	font-weight: bold;
	font-size: 2em;
}
#ventanaavisos button {
	cursor: pointer;
	border: 2px solid #CD8403;
    background-color:rgba(61,163,228,1.00);
    color: white;
    border-radius: 1em;
    font-weight: bold;
    padding: .5em .75em .5em .75em;
    transition: all .3s linear 0s;
}

#formulariocontacto {
    margin-top: 1em;
    border: 10px solid #CD8403;
    border-radius: 1em;
    overflow: hidden;
    width: 500px;
	margin-left: auto;
	margin-right: auto;
    background-color: #CD8403;
	
}
#formulariocontacto > h2 {
    color: white;
    margin: .75em 1em .75em 1em;
	text-align: center;
}
#formulariocontacto .margenesestandard {
    background-color: white;  
    border-radius: .5em;
	padding: 1em;
}
#formulariocontacto .margenesestandard div {
    display: flex;
}
#formulariocontacto .margenesestandard div:not(:last-of-type) {
    margin-bottom: .75em;
}
#formulariocontacto .margenesestandard div:last-of-type {
    margin-top: 1.25em;
    justify-content: space-around;
}
#formulariocontacto .margenesestandard .vertical {
    flex-direction: column;
}
#formulariocontacto .ocupaelresto {
    flex-grow: 1;   
}
#formulariocontacto label {

    width: 4.75em;
    font-weight: bold;
}
#formulariocontacto .anchoautomatico {
    width: auto;
}
#formulariocontacto textarea {
    width: 100%;
    resize: vertical;
}
#formulariocontacto input[type="submit"], #formulariocontacto input[type="reset"], #formulariocontacto input[type="button"] {
    border: 2px solid #CD8403;
    background-color:rgba(61,163,228,1.00);
    color: white;
    border-radius: 1em;
    font-weight: bold;
    padding: .5em .75em .5em .75em;
    transition: all .3s linear 0s;
}
#formulariocontacto input[type="submit"]:hover, #formulariocontacto input[type="reset"]:hover, #formulariocontacto input[type="button"]:hover {
    border: 2px solid rgba(61,163,228,1.00);
    background-color:white;
    color:rgba(61,163,228,1.00);
}
#contenedormapa {
    position: relative;
    width: 60%;
	margin-left: auto;
	margin-right: auto;
    border: 10px solid #CD8403;
    margin-top: 2em;
    border-radius: 1em;
}
#contenedormapa img {
    width: 100%;
    height: auto;
}
#contenedormapa img:nth-of-type(1) {
    display: block;
    }
#contenedormapa img:nth-of-type(2) {
    display: none;
}

@media(max-width:900px) {
	
	#contenedortabla {
		flex-direction: column;
	}
	#tablacontacto, #tablahorario {
		width: 90%;
	}
	#contenedormapa {
		width: 100%;
	}
	#formulariocontacto {
		width: 100%;
	}
}
