* {
	margin: 0;
	padding: 0;
	
}

.caja-redes {
	
    margin: 0 auto;
    padding: 15px;
    position: relative;
   min-width: 100%;
    color: red;
    margin: 0px 0px 0px -25px;

}
.caja-redes a {
	text-align: auto;
	margin: center;
	text-align: center;
	font-size: 20px;
	text-decoration: none;
	
}
.icon-button {
	background-color:#D3D3D3	;
	border-radius: 2em;
	cursor: pointer;
	display: inline-block;
	height: 2em;
	line-height: 3em;
	margin: 0 8px;
	position: relative;
	width: 2em;
}
.icon-button span {
	border-radius: 0;
	display: block;
	height: 0;
	left: 50%;
	margin: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	width: 0;
}
.icon-button:hover span {
	width: 2em;
	height: 2em;
	border-radius: 2em;
	margin: -1em;
}
.linkedin span {
	background-color: #4393BB;
}
.pinterest span {
	background-color: #C92228;
}
.twitter span {
	background-color: #4099ff;
}
.facebook span {
	background-color: #3B5998;
}
.email span {
	background-color: #db5a3c;
}
/* Iconos */
.icon-button i {
	background: none;
	color: white;
	left: 0;
	line-height: 2em;
	position: absolute;
	top: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	width: 2em;
	z-index: 2;
}

.icon-button .icon-twitter {
	color: #4099ff;
}
.icon-button .icon-facebook {
	color: #3B5998;
}
.icon-button .icon-email {
	color: #db5a3c;
}
.icon-button:hover .icon-twitter, .icon-button:hover .icon-facebook, .icon-button:hover .icon-email {
	color: white;
}


.bg-1 {
    background: #2d2d30;
    color: #fff;
}

/*DE AQUI ABAJO ES LA MODAL*/

.popup {
    background-color: #ffffff;
    color: #888888;
    height: 245px;
    left: 100%;
    padding: 20px;
    position: fixed;
    right: 30%;
    top: 25%;
    width: 550px;
    z-index: 101;
    -moz-box-shadow: 0px 0px 10px 1px #888888;
    -webkit-box-shadow: 0px 0px 10px 1px #888888;
    box-shadow: 0px 0px 10px 1px #888888;
    border-radius:10px;
    -moz-border-radius:10px;
}
 
.overlay {
    background: #000000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    opacity:0.5;
}
 
a.close {
    background: url("cancel.png") repeat scroll left top transparent;
    cursor: pointer;
    float: right;
    height: 26px;
    left: 32px;
    position: relative;
    top: -33px;
    width: 26px;
}

.modalEmer{
width:100%;
height:100vh; 
z-index:60;
background:rgba(0,0,0,0.8);
position:fixed;
top:0;
left:0;
display:flex;

}


.contenidoEmer{ 
margin:auto;
z-index:70;
border-radius: 10px;
height:0px;
width:100%;
max-width:635px; /* Así establecemos el ancho máximo (si lo queremos) */
padding-top:56.25%; /* Relación: 16/9 = 56.25% */
position:relative;


}

.contenidoEmer #video{
height:100%;
width:100%;
z-index:70;
margin:auto;
position:absolute;
top:0px;
left:0px;


}

#cerrar{
display:none;
}

#cerrar + label {
  position: fixed;
  top: 9em;
  right: 1em;
  z-index: 100;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  background: tomato;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  z-index:90;
}


#cerrar:checked + label, #cerrar:checked ~ .modalEmer , #cerrar:checked ~ .contenidoEmer #video {
  display: none;
  volumn:0;
} 

@keyframes modalprueba{
100%{
visibility: visible;
opacity:1;
}

}

/*HASTA AQUI ES LA MODAL*/


.navbar{
    position: absolute;
}



goog-te-banner {display: none;}