/********************************************************************
* 													         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(0,0,0,0.5);
}

#vm, .progress-bar-container {
	display: none;
	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;
}

.progress-bar-container {
	display: none;

	min-height: .1rem;
	padding-inline: 30px;
}

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

#vm p {
	margin-bottom: 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9em;
	font-weight: 400;
	text-align: justify;
	color: #333333;
	word-wrap: break-word;
}

#vm h2.cont {
	font-family: 'Open Sans', sans-serif;
	font-size: 2em;
	font-weight: 400;
	text-align: center;
	color: #333333;
}

#vm .error-details, .progress-bar-container .error-details {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #333333;
}

#vm .error-details summary, .progress-bar-container .error-details summary {
	cursor: pointer;
}

#vm .error-details p, .progress-bar-container .error-details p {
	margin-block: 10px 0;
	word-wrap: break-word;
}


.progress-bar-container p {
	margin-bottom: 10px;

	text-align: center;
	color: #333333;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	font-weight: 500;

	word-wrap: break-word;
}

#ovm .progress-bar-wrapper {
	width: 100%;

	margin-top: 7px;
	margin-bottom: 15px;

	background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);
	background-repeat: repeat-x;
	border-radius: 6px;

	font-family: 'Open Sans', sans-serif;
}

#ovm .progress-bar-wrapper .progress-bar-load {
	width: 0;
	min-height: 1.6rem;

	padding: .1rem;
	background-image: linear-gradient(135deg, var(--main-color-2), var(--main-color-1));
	border-radius: 4px;

	text-align: center;
	color: rgba(255, 255, 255, 1);
	font-weight: bold;

	overflow: hidden;

	transition: width .5s ease-in-out;
	will-change: width;
}

#vm .error-details, .progress-bar-container .error-details {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.85rem;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #333333;
}

#vm .error-details summary, .progress-bar-container .error-details summary {
	cursor: pointer;
}

#vm .error-details p, .progress-bar-container .error-details p {
	margin-block: 10px 0;
}

.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;
}

.bSI {
	padding: 6px 0px 6px 0px;
	cursor: pointer;
	width: 100px;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 2px;
	font-size: .8em;
	font-weight: 400;
	background-color: #3083c9;
	color: #ffffff;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-o-transition: color 0.2s;
	-ms-transition: color 0.2s;
	transition: color 0.2s;
}

.bSI:hover {
	color: #cccccc;
}

.bNO {
	padding: 6px 0px 6px 0px;
	cursor: pointer;
	width: 100px;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 2px;
	font-size: .8em;
	font-weight: 400;
	background-color: #3083c9;
	color: #ffffff;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-o-transition: color 0.2s;
	-ms-transition: color 0.2s;
	transition: color 0.2s;
}

.bNO:hover {
	color: #cccccc;
}

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

#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;
	}
}
