@charset "utf-8";
/* CSS Document */
	*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.button {
	font-size: 1em;
	padding: 10px;
	color: #fff;
	border: 2px solid #06D85F;
	border-radius: 20px/50px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease-out;
}
.button:hover {
	background: #06D85F;
}
.popup{
	
}
.popup h2 {
	margin-top: 0;
	color: #333;
	font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
	position: absolute;
	top: 5px;
	right: 20px;
	transition: all 0.2s;
	font-size: 35px;
	font-weight: bold;
	text-decoration: none;
	color: #333;
}
.popup .close:hover {
	color: #06D85F;
}
.popup .content {
	/*
	max-height: 30%;
	overflow: auto;
	*/
	/*para cuadrar con el tamaño de la imagen*/
	height:600px;
	width:500px;
	/*background-image: url("../../archivos/imagenes/popup/popup.jpg");
	background-image: url("../../archivos/imagenes/popup/Diplomado-01.jpg");*/
}

/*Let's make it appear when the page loads*/
.overlay:target:before {
	display: none;
}
.overlay:before {
	content:"";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;

	background: rgba(0, 0, 0, 0.6);
	position: fixed;
	z-index: 9;
}
.overlay .popup {
	height:720px;/*para cuadrar con el tamaño defondo blanco*/
	width:550px;
	
	background: #fff;
	border-radius: 5px;
	/*width: 30%;*/
	position: fixed;
	top: 0;
	left: 35%;
	padding: 15px;
	margin: 10px auto;
	z-index: 10;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}
.overlay:target .popup {
	top: -100%;
	left: -100%;
}

@media screen and (max-width: 768px){
	/*@media screen and (max-width: 768px){*/
	.box{
		width: 80%;
		height:50%;
		left: 10%;
		top: 5%;
	}
	.overlay .popup{
		width: 76%;
		height:58%;
		left: 10%;
		top: 5%;
	}
	.popup .content {
		width: 90%;
		background-size:30%;
		background-repeat:no-repeat;
		
	}
	img{
		width: 100%;
		left: 5%;
		}
}

@media screen and (max-width: 1300px){
	/*@media screen and (max-width: 768px){*/
	.box{
		width: 80%;
		height:50%;
		left: 10%;
		top: 5%;
	}
	.overlay .popup{
		width: 76%;
		height:58%;
		left: 10%;
		top: 5%;
	}
	.popup .content {
		width: 90%;
		background-size:30%;
		background-repeat:no-repeat;
		
	}
	img{
		width: 100%;
		left: 5%;
		}
}