

.afiliado{
	width: 90%;
	margin-top: 10px;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	border-bottom: 	1px solid;
	padding: 5px;
	border-radius: 5px;
	margin-top: 55px;
	-webkit-box-shadow: 0px 10px 5px -3px rgba(153,151,153,1);
	-moz-box-shadow: 0px 10px 5px -3px rgba(153,151,153,1);
	box-shadow: 0px 10px 5px -3px rgba(153,151,153,1);

}
.logo-afil{
	width: 35%;
	text-align: center;
}

.logo-afil img{
	width: 160;
	height: 100px;
	vertical-align: middle; 
	border-radius: 5px;
	overflow: hidden;
}


.nombre-afi{
	width: 62%;


}

.nombres-a{
	width: 100%;
	margin-top: 5%;
	text-align: left;
	padding: 5px;
	text-decoration: none;
	
}
.nombres-a a{
	color: black;
	text-decoration: none;
	
}
.nombres-a a:hover{
	color: black; 
	background:  #FF8000;
	text-decoration: none;
	padding: 25px;
	color: #fff;
	border-radius: 5px;
	transition: all 0.5s linear;
}

.visitas-a{
	width: 100%
	text-align:center;
	line-height: 100%;
	background: #3C3D42;
	color: #fff;
}

.embed-container {
    position: relative;
    height: 0;
    overflow: hidden;
}
.16by9 {
    padding-bottom: 5%;
}
.4by3 {
    padding-bottom:5%;
}
.embed-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35,35,35);
}

.targeta_pre{
	width: 100%;
	height: 280px;
	padding: 10px;
}
.targeta_pre img{
	display: flex;
	margin-left: auto;
	margin-right: auto;
	width: 500px;
	height: 100%;
	border-radius: 5px;
	-webkit-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	-moz-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
}

.mucho{
	margin-top: 110px;
}
.contenedor_infirmacion{
	display: flex;
justify-content: space-between;
	width: 100%;
	margin-top: 40px;
	padding: 10px 5px;
}

.informacion-general{
	width: 70%;
	margin-bottom: -8px;
}

.direccion {
	padding:2px 15px ;
	background: rgba(35,35,35);
	width: 250px;
	color: #fff;
	border-radius: 10px 10px 0px 0px;

}



.direccion img{
	width: 40px;
	height: 40px;
	margin-left: 10px;
	margin-right: 10px;

}
.ubiication{
	display: block;
	
	width: 30%;
	height: 220px;
	margin-right: 15px;
	text-align: center;

}
.ubiication2{
	display: none;
}
.ubiication img{
	margin-top: 25px;
	width: 90%;
	height: 95%;	
	border: 4px solid rgba(35,35,35);	
	box-sizing: border-box;
	border-radius: 5px;
	-webkit-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	-moz-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
}

.descrip_direccion{
	margin-bottom: 10px;
	border: 1px solid rgba(35,35,35);
	margin-top: 0.2px;
	border-radius: 0px 0px 5px 5px;
	padding: 15px 5px;
	-webkit-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	-moz-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
}

.descrip_direccion a{
	text-decoration: none;
	cursor: pointer;
	color: green;
}

iframe{
  width: 100%;
  height: 35px;
  overflow-y:hidden!important;
  
}

.precios{
  margin-top: 15px;
  width:95%;
  display: flex;
  flex: flex-wrap;
}




.container-animacion-1{
  position: fixed;
  width: 95%;
  height: 90px;
  margin-top:  40px;
  top:0;
 left: -350px;
  bottom: 0;
  background: orange;
  transition:0.8s ease;
}
.container-animacion-1  p{
  text-align: center;
font-size: 2em;
}
.container-animacion-2{
  position: fixed;
  width: 95%;
  height: 90px;
   margin-top:  40px;
  top:0;
  left: -350px;
  bottom: 0;
  background: blue;
  transition:0.8s ease;
}

.container-animacion-2 p{
  text-align: center;
font-size: 1.8em;
color: #fff;
}

#control-div-1:checked ~ .container-animacion-1{

 
  left:  .5%;
}
#control-div-2:checked ~ .container-animacion-2{
  left:  .5%;
}


.galerius{
	width: 90%;
	max-width: 900px;
	margin: auto;
	list-style: none;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-wrap:wrap;
	justify-content: space-around;
}
.galerius li{
	margin: 5px;
display: flex;
	flex-wrap:wrap;
	justify-content: space-around;

}

.galerius img{

	width: 150px;
	height: 100px;
	display: flex;
	flex-wrap:wrap;
	justify-content: space-around;
	background: #FF9900;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(66,60,66,1);
-moz-box-shadow: 5px 5px 5px 0px rgba(66,60,66,1);
box-shadow: 5px 5px 5px 0px rgba(66,60,66,1);
}
.galerius li:hover{
	background: red;
}
.modal{
	display: none;
	z-index: 120;
}


.modal:target{
	display: block;
	position: fixed;
	background: rgba(0,0,0,.8);
	top:0px;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal h3{
	color: #fff;
	font-size: 2rem;
	text-align: center;
	margin: 15px 0;

}

.imagen{
	margin-top: 40px;
	width: 100%;
	height:70%;
	display: flex;
	justify-content: center;
	align-items:center;

}

.imagen a{
	color: #FF8000;
	font-size: 50px;
	text-decoration: none;
	margin: 0 10px;

}

.imagen a:nth-child(2){
	margin: 0;
	height: 100%;
	flex-shrink: 2 ;
}

.imagen img{
	width: 500px;
	height: 100%;
	max-width: 100%;
	border: 4px solid #fff;	
	box-sizing: border-box;
	border-radius: 10px;
}

.cerrar{
	display: block;
	background: #FF8000;
	width: 25px;
	height: 25px;
	margin: 10px  auto;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	color: black;
	padding: 5px;
	border-radius: 50%;
	line-height: 25px;

}







@media only screen and (max-width: 767px){


.afiliado{
	width: 99%;
}

.logo-afil img{
	width: 100%;
	height: 90px;
}

.nombres-a{
	margin-top: auto;
	font-size: 0.8em;
	
}

.visitas-a{
	padding: 5px;
	font-size: 0.8em;
	
}


.targeta_pre{
	padding: 1px;
	width: 100%;
	height: 200px;
}
.targeta_pre img{
	width: 320px;
	height: 100%;
}


.contenedor_infirmacion{
	width: 130%;
}
.informacion-general{
	width: 100%;
}
.direccion {
	background: rgba(35,35,35);
	width: 70%;

}



.ubiication img{
	width: 0%;
	display: none;
}
.ubiication2{
	display: block;	
	width: 100%;
	height: 150px;
	text-align: center;	
	margin-bottom: 10px;
}
.ubiication2 img{
	margin-top: 5px;
	width: 70%;
	height: 95%;	
	border: 4px solid rgba(35,35,35);	
	box-sizing: border-box;
	border-radius: 5px;
	-webkit-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	-moz-box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	box-shadow: 10px 10px 5px -3px rgba(153,151,153,1);
	tranf

}
.descrip_direccion{
	width: 95%;
	margin-bottom: 10px;
}


}



