/********************************************************************
* 													         VM.css *
********************************************************************/

@charset "UTF-8";

#ovm {
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 1000005;
	background-color: transparent;
	background-color: rgba(50,50,50,0.8);
}

#vm {
	width: 500px;
	min-height: 150px;
	max-width: 95%;
	max-height: 75%;
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 20px;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	background-color: #ffffff;
	background-color: rgba(255,255,255,0.9);
	border: 1px solid #666666;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;		
	border-radius: 5px;
	/*-webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);*/
	overflow: auto;
}

#vm img {
	width: 64px;
	height: 64px;
	display: block;
	margin: 0px auto 15px auto;
	clear: both;
}

#vm p {
	margin-bottom: 10px;
	font-size: 0.9em;
	font-weight: 400;
	text-align: justify;
	color: #333333;
}

#vm h2.cont {
	font-size: 2em;
	font-weight: 400;
	text-align: center;
	color: #333333;
}

.bCerrar {
	position: absolute;
	top: .7rem;
    right: .5rem;
    width: 0.8rem !important;
    height: 0.8rem !important;
	margin: 0px !important;
	cursor: pointer;
}

.bVM {
	position: absolute;
	left: 0px;
	bottom: 20px;
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-around;
}

.botonVM {
    margin: 0 auto;
    padding: 0.2rem 3.5rem;
    width: auto;
    display: table;
    background-color: var(--main-color-1);
    border: 0;
    cursor: pointer;
    border-radius: 5px;
}
.botonVM p {
    margin: 0;
	margin-bottom: 0 !important;
    font-family: 'IntroBoldAlt', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    color: var(--text-color-2) !important;
    user-select: none;
}
.botonVM:hover p {
    color: var(--main-color-2) !important;
}

/**********************************************************/

#ovm .loading {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/**********************************************************/

#overlay_modal {
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 1000005;
	background-color: transparent;
    background-color: rgba(0,0,0,0.5);
	display: none;
	overflow: auto;
}

#ventanaModal {
    position: absolute;
	top: -50%;
	left: 50%;
    padding: 0;
    /*width: 50%;*/
    /*height: 40%;*/
    transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    background-color: #ffffff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;		
	border-radius: 5px;
	/*-webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.5);*/
    transition: top 0.1s ease-in-out
}

.ventanaModal_abierta {
    top: 50% !important;
}



/***********************************************
Pantalla 1366x768 16:9
***********************************************/
@media only screen and (min-width:1281px) and (max-width: 1366px) {
	#ventanaModal {
		min-width: 40% !important;
	}
}

/***********************************************
Pantalla 1280x720 16:9
***********************************************/
@media only screen and (min-width:1025px) and (max-width: 1280px) {
	#ventanaModal {
		min-width: 40% !important;
	}
}

/***********************************************
Pantalla 1024x600 16:10
***********************************************/
@media only screen and (min-width:960px) and (max-width: 1024px) {
	#ventanaModal {
		min-width: 40% !important;
	}
}

/***********************************************
Tablet 
***********************************************/
@media only screen and (min-width:768px) and (max-width: 959px) {
	#ventanaModal {
		min-width: 75% !important;
	}
}

/***********************************************
Mobile (portrait)
***********************************************/
@media only screen and (max-width:767px) {
	#ventanaModal {
		min-width: 90% !important;
		max-height: 90%;
		overflow-y: auto;
	}
}

/***********************************************
Mobile (landscape)
***********************************************/
@media only screen and (min-width: 480px) and (max-width: 767px) {
	#ventanaModal {
		min-width: 50% !important;
		max-height: 90%;
		overflow-y: auto;
	}
}