.mask {
	width: 100% !important;
	height: 100% !important;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(60, 60, 65, 0.8);
	z-index: 20;
	display: none
}

.window {
	width: 32%;
	/*background-color: #2a562a;*/
	top: 149px !important;
	z-index: 200;
	left: 50% !important;
	padding: 0px 0;
	position: fixed;
	max-height: 80%;
	overflow-x: hidden;
	overflow-y: auto;
	transform: translateX(-50%);
	display: none
}

.window.full {
	width: 100%;
}

.window .close {
	background-color: #232323;
    font-size: 16px;
    color: #fff;
	top: 15px;
	right: 23px;
	font-weight: bold;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    line-height: 50px;
    text-align: center;
}

.window .close:hover {
	background-color: #00bfbc;
}

.window .content-modal {
	width: 96%;
	margin: 0 auto;
}

.window .title-secundary {
	color: #00bfbc;
	font-size: 30px;
	font-weight: bold;
	text-transform: uppercase;
	margin-top: 5px;
	margin-bottom: 15px;
	margin-left: 0px;
}

.window p {
	font-size: 15px;
	margin-left: 0;
	margin-top: 25px;
	color: #000;
	text-align: center;
}

.modal-box{
    padding: 20px 10px;
}

@media screen and (max-width: 1280px) {
	.window {
		width: 45%
	}
}

@media screen and (max-width: 1020px) {
	.window {
		width: 60%
	}
}

@media screen and (max-width: 580px) {
	.window {
		top: 110px;
		width: 94%;
		left: 3% !important;
		transform: translateX(0%)
	}
}


/* GALERIA */
#modalGaleria{
	top: 0 !important;
	width: 90%;
	height: 90%;
	max-height: 90%;
}
#modalGaleria .modal-content{
	background-color: #ebebeb;
	height: 100%;
}
#modalGaleria .title-secundary{
	color: #65388d;
	text-align: center;
}
.window .modal-box-galeria {
	display: none;
	background-color: #cecece;
}
.window .modal-box-galeria.active {
	display: block;
}

.modal-box-galeria-content{
	/*display: flex;*/
	opacity: 0;
	transition: opacity 0.3s ease;
}
.modal-box-galeria-content.active{
	opacity: 1;
}

#modalGaleria .grid-flex{
	display: flex;
	padding: 20px;
}
#modalGaleria .grid-buttons{
	width: 20%;
}
#modalGaleria .grid-buttons a{
	display: inline-block;
	/*width: 100%;*/
	color: #65388d;
	/*font-weight: bold;*/
	line-height: 26px;
	padding: 4px 10px;
	transition: color 0.3s ease, background-color 0.3s ease;
}
#modalGaleria .grid-buttons a:hover{
	color: #ffffff;
	background-color: #65388d;
}
#modalGaleria .grid-thumbs{
	width: 75%;
}
#modalGaleria .btn-group{
	width: 94%;
	display: block;
	margin: 0 auto;
}
