@charset "utf-8";

/* 
    Document   : Style
    Created on : 28/11/2013, 17:01:00
    Author     : jorge.mostacero
    Description: Estilos Modales cuadradas para learNNity
        
*/



/*--------MODAL ---------*/
#modalBack {
	z-index: 2147483646 !important;
}

.modal:not(.bootbox) {
	background-color: #ffffff;
	border: medium none !important;
	border-radius: 5px !important;
	box-shadow: 0 4px 200px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	left: 0 !important;
	margin: 0 auto !important;
	max-height: calc(80% - var(--marginTop_App_fullScreen) - var(--marginBottom_App_fullScreen)) !important;
	max-width: 70% !important;
	overflow: auto;
	position: fixed !important;
	right: 0;
	top: calc(10% + var(--marginTop_App_fullScreen)) !important;
	z-index: 2147483647;
}

.modal.bootbox {
	background: transparent;
	border: medium none !important;
	border-radius: 5px !important;
	box-sizing: border-box;
	left: 0 !important;
	margin: 0 auto !important;
	overflow: auto;
	position: fixed !important;
	right: 0;
	top: 10% !important;
	z-index: 2147483647;
	max-height: calc(80% - var(--marginTop_App_fullScreen) - var(--marginBottom_App_fullScreen)) !important;
	/*transition: margin-top 0.25s ease-out;*/
	backface-visibility: hidden;
}

.modal-header {
	font-size: 15px;
	font-weight: 700;
	min-height: 60px !important;
	padding: 20px 30px;
	position: relative;
}

.modal-header>h3 {
	font-size: 15px;
	font-weight: 700;
	position: relative;
	top: -2px;
	display: inline-block;
	width: calc(100% - 50px);
	padding-right: 0;
	vertical-align: middle;
	line-height: 20px;
}


.modal-header i {
	color: #fff !important;
}

.modal-header i.ion-information-circled {
	margin-top: -5px !important
}

.modal-header button {
	opacity: 1;
}

.modal-header button.botonCerrar {

	color: #FFFFFF !important;
	opacity: 1;
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	width: 40px;
	height: 40px;
	right: 0;
	top: 0;

	position: relative;
	display: inline-block;
	vertical-align: middle;

}

.modal-header button.botonCerrar svg {
	font-size: 25px;
}

#modalMensajeria .modal-body,
.modal-body {
	background: none repeat scroll 0 0 #fff;
	box-sizing: border-box;
	/*font-size: 13px;*/

	height: auto;
	margin-top: 0;
	max-height: none !important;
	min-height: 60px;
	overflow-y: auto;
	padding: 30px;
	position: relative;
	top: 0;
	width: 100%;

	font-size: 16px;
	line-height: 22px;
}

.bootbox.modal .modal-body:first-child {
	border-radius: 5px 5px 0 0;
}

.modal.bootbox.fade {
	top: calc(0% +  var(--marginTop_App_fullScreen))  !important;
	max-height: calc(100vh - var(--marginTop_App_fullScreen) - var(--marginBottom_App_fullScreen)) !important;
	right: unset !important;
	transform: translate(calc(50vw - 50%), calc(50vh - 50%));
}

.modal.bootbox.fade .modal-header {
	background: #fff;
	border-radius: 25px 25px 0 0;
}

.modal.bootbox.fade .modal-body {
	max-height: calc(80vh - 7rem) !important;
}

.modal.bootbox.fade .modal-dialog {
	margin-top: 0;
	margin-bottom: 0;
}


html.apple body.mobile .modal.bootbox.fade {
    transform: translate(0, 0);
}

html.apple body.mobile .modal.bootbox.fade {
    transform: translate(0, 0);
}
html.apple:not(.appMovil) body.mobile .modal.bootbox.fade .modal-header + .modal-body {
    max-height: calc(100vh - 15rem) !important;
}

html.apple.iphone.appMovil body.mobile .modal.bootbox.fade .modal-header + .modal-body {
    max-height: calc(100vh - 15rem) !important;

}





html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas {
    max-height: 100% !important;
    background: #fff !important;
    height: 100% !important;
}

html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-body{
    top:0 !important;
}

html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-header.oculto + .modal-body {
    height: calc(100% - 8.687rem) !important;
    max-height: calc(100% - 8.687rem) !important;
}
html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-header:not(.oculto) + .modal-body {
    height: calc(100% - 8.687rem) !important;
    max-height: calc(100% - 8.687rem) !important;
    overflow-y: scroll !important;
    position: fixed;
    top: 3.75rem !important;
}

html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
}





.modal.bootbox.customAvisos {
	max-width: 80%;
	min-width: 340px;
}

@media (min-width: 1279px) {
	.modal.bootbox.customAvisos {
		max-width: 800px;
	}
}

.modal.bootbox.customAvisos .contendidoAvisoBootbox a[data-lightbox] {
	margin: 0 auto;
	display: inline-block;
	width: 100%;
	text-align: center;
}
.modal.bootbox.customAvisos .contendidoAvisoBootbox br + a[data-lightbox]{
	margin-top: 10px;
}

#modalMensajeria .modal-footer,
.modal:not(.bootbox) .modal-footer {
	border-radius: 0 !important;
	box-sizing: border-box;
	position: relative;
	top: 0;
	width: 100%;
}

#myModalGenerico #botonesGenerico {
	float: none;
}



.modal.bootbox.cambioPassword_forzado_envioEmail {
	max-width: 80%;
	min-width: 340px;
}

.modal.bootbox.cambioPassword_forzado_envioEmail .enlaceCorreo{
	font-weight: 600;
	color:var(--colorPrincipal);
	text-decoration: underline;
}

@media (min-width: 1279px) {
	.modal.bootbox.cambioPassword_forzado_envioEmail {
		max-width: 600px;
	}
}



/*ESPECIFICOS*/


#headerModalGenerico.modal-header {
	height: auto !important;
}

#headerModalGenerico.modal-header>h3 {
	top: 0;
}

#bodyModalGenerico img {

	width: auto !important;
	height: auto !important;
	max-width: 90%;
	max-height: 700px;

}

#footModalGenerico span button {
	float: none
}

#myModalGenerico #footModalGenerico #botonesGenerico button:first-child:last-child {

	margin-left: 0px !important;
	margin-right: 0px !important;
	margin-top: 0;

}

#headerModalGenerico.modal-header>button.close.ion-ios-close {
	bottom: 0;
	display: block !important;
	font-size: 40px;
	height: 40px;
	margin: auto !important;
	position: absolute;
	right: 10px;
	top: 0;
	width: 40px;
}

button.ion-ios-close[onclick*="cerrar"],
#headerModalGenerico.modal-header>button.close.ion-ios-close {
	opacity: 1;
	transition: opacity 0.15s ease-in;
}

button.ion-ios-close[onclick*="cerrar"]:hover,
#headerModalGenerico.modal-header>button.close.ion-ios-close:hover {
	opacity: 0.5 !important;
}

.olvidoContrasenaModal {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
	border-radius: 25px !important;
	left: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	position: relative !important;
}

.olvidoContrasenaModal .modal-header button {
	position: relative;
	right: -10px;
	top: -10px;
}


#divMensajesCursoModal .modal-footer button {
	display: inline-block;
}


.modal.bootbox .modal-header {
	background: transparent;
}

.modal .modal-header button.close {
	position: absolute;
	width: 2.4rem;
	height: 2.4rem;
	margin: 0;
	display: inline-block;
	float: none;
	top: 10px;
	right: 10px;
}

.modal .modal-header h5 {
	display: inline-block;
	max-width: calc(100% - 2.4rem);
}



.modal.bootbox .modal-dialog {
	background: #fff;
	border-radius: 5px;
}

@media (min-width: 576px) {}

@media (min-width: 992px) {
	.modal.bootbox .modal-lg {
		max-width: 767px;
	}
}

.modal.bootbox .modal-footer {
	display: -webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: end;
	justify-content: flex-end;
	padding: 1.25rem;
	border-top: 1px solid #f1f2f3;
	background: transparent;
	position: relative;
}

#divImprimirExamenModal.modal.bootbox .modal-footer {
	background: #fff !important;
}

.modal.bootbox .modal-footer button {
	margin-top: 0;
}

.modal.bootbox button.btn-warning:hover {
	color: #fff !important;
}

.bootbox-form .form-control {
	display: block;
	width: 100%;
	height: calc(2.53125rem + 2px);
	padding: 0.375rem 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.9;
	color: #222728;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #eaeff4;
	border-radius: 2px;
	transition: all 0.3s ease-out;
	box-shadow: none;
}

.bootbox-form .form-control:focus {
	color: #222728;
	background-color: #fff;
	border-color: #f1f2f3;
	outline: 0;
	-webkit-box-shadow: 0 0 40px rgb(0 0 0 / 5%);
	box-shadow: 0 0 40px rgb(0 0 0 / 5%);
}

.bootbox-form .form-control.bootbox-input-textarea {
	height: auto;
}

.bootbox .form-control .colorFondo {
	display: block;
	width: 10px;
	height: 10px;
	color: #fff;
}

.bootbox .form-control .colorFondo.magenta {
	background-color: fuchsia;
}

.bootbox .form-control .colorFondo.lima {
	background-color: lime;
}

.bootbox .form-control .colorFondo.negro {
	background-color: black;
}

.bootbox .contendidoAvisoBootbox img {
	height: auto !important;
	width: auto !important;
}

.bootbox .contendidoAvisoBootbox span[style*="font-size"] {
	font-size: inherit !important;
}

.bootbox .contendidoAvisoFooterBootbox {
	position: absolute;
	left: 30px;
	top: 27px;
}

.bootbox .contendidoAvisoFooterBootbox #checkGenericoBootbox label {
	display: inline-block;
	font-weight: 600;
	vertical-align: middle;
}

.bootbox .contendidoAvisoFooterBootbox #checkGenericoBootbox .icheckbox_square-blue {
	margin-left: 0.5rem;
	margin-top: 1px;
}

body.modal-open .tooltip {
	z-index: 9999999999;
}



/*FIN DE ESPECIFICOS*/

@media only screen and (max-width: 1024px) {
	.modal:not(.bootbox) {
		margin: 0 auto !important;
		max-width: 90% !important;
		top: calc(5% + var(--marginTop_App_fullScreen)) !important;
	}

	.modal:not(.bootbox) .modal-body {
		height: 60% !important;

	}

	.modal:not(.bootbox) .modal-footer {
		top: calc(65% + 60px);

	}


}

@media only screen and (max-width: 767px) {
	.modal:not(.bootbox) {
		margin: 0 5% !important;
		max-width: 90% !important;
		top: calc(5% + var(--marginTop_App_fullScreen)) !important;
		transform: translate(0,0);
	}


	.modal.bootbox.fade {
		width: 100% !important;
		max-width: 100% !important;

		top: calc(0% +  var(--marginTop_App_fullScreen)) !important;
		transform: translate(0,0);
	}

	.modal.bootbox.fade .modal-dialog {
		max-width: 100%;
		margin: 0 !important;
	}


	.modal.bootbox.fade .modal-header {
		height: 3.75rem !important;
	}

	.modal.bootbox.fade .modal-body {
		max-height: calc(100vh - 4.937rem - var(--marginBottom_App_fullScreen) - var(--marginTop_App_fullScreen)) !important;
	}

	.modal.bootbox.fade .modal-header+.modal-body {
		max-height: calc(100vh - 8.687rem - var(--marginBottom_App_fullScreen) - var(--marginTop_App_fullScreen)) !important;
	}

	

	.modal.bootbox.fade .modal-footer {
		height: 4.937rem;
	}

	.modal.bootbox.fade .modal-footer button:first-child {
		margin-left: 0 !important;
	}



	html:not(.appMovil) .modal.bootbox.fade.modalPopupPreguntas,
	html:not(.appMovil) body.mobile .modal.bootbox.fade.modalPopupPreguntas {
		transform: none !important;
	}
	
	html:not(.appMovil) .modal.bootbox.fade.modalPopupPreguntas .modal-header + .modal-body,
	html:not(.appMovil) body.mobile .modal.bootbox.fade.modalPopupPreguntas .modal-header+.modal-body {
		max-height: calc(92vh - 8.687rem) !important;
	}



	/*APPLE*/
    html:not(.appMovil).apple body.mobile .modal.bootbox.fade .modal-body:first-child {
		max-height: calc(100vh - 11rem - var(--marginBottom_App_fullScreen) - var(--marginTop_App_fullScreen)) !important;
	}
	html:not(.appMovil).apple body.mobile .modal.bootbox.fade .modal-header+.modal-body {
		max-height: calc(100vh - 15rem - var(--marginBottom_App_fullScreen) - var(--marginTop_App_fullScreen)) !important;
	}

    /*ANDROID*/
    html:not(.appMovil):not(.apple) body.mobile .modal.bootbox.fade .modal-body:first-child {
		max-height: calc(100svh - 4.937rem - var(--marginBottom_App_fullScreen) - var(--marginTop_App_fullScreen)) !important;
	}
    html:not(.appMovil):not(.apple) body.mobile .modal.bootbox.fade .modal-header+.modal-body {
		max-height: calc(100svh - 4.937rem - 3.75rem - var(--marginBottom_App_fullScreen) - var(--marginTop_App_fullScreen)) !important;
	}

	/*max-height: calc(100svh - 4.937rem - var(--marginBottom_App_fullScreen) - var(--marginTop_App_fullScreen)) !important;*/

	

}

@media only screen and (max-width: 479px) {

	.modal:not(.bootbox) {
		padding: 0px !important;
	}

	#modalMensajeria .modal-header,
	.modal:not(.bootbox) .modal-header {

		height: 70px !important;
		padding: 20px 10px 20px 20px;
	}

	.modal-header h3 {

		font-size: 0.9rem;
		font-weight: 600;
		text-transform: none;
		line-height: 1.1rem;

	}

	#modalMensajeria .modal-body,
	.modal:not(.bootbox) .modal-body {
		height: 60% !important;
		max-height: none !important;
		padding: 20px !important;
	}

	#myModalGenerico.modal .modal-body img {
		height: auto !important;
	}

	.modal .modal-body p,
	#divPoliticaModal>div#modalPoliticaIndex li {
		font-size: 0.9rem;
		line-height: 1rem;
	}

	.modal-body ul li,
	.modal-body ol li {
		font-size: 0.9rem;
		line-height: 1rem;
	}


	/*ESPECIFICOS*/


	#myModalGenerico #footModalGenerico #botonesGenerico {
		text-align: center;
		width: 100%;
		z-index: 9;
		position: relative;
	}

	#myModalGenerico #footModalGenerico #botonesGenerico button {
		float: none;
		margin: 10px !important;
		width: 100%;
		max-width: 100%;
	}

	#myModalGenerico #footModalGenerico #checkGenerico {
		float: none !important;
		left: 0;
		text-align: center !important;
		top: 10px;
		width: 100%;
	}




	/* ---- MODAL DIRECTOS --- */
	#divEventosDirectosModal {
		padding: 0px !important;
	}

	#divEventosDirectosModal .modal-header {
		width: calc(90%) !important;
		height: 70px !important;
	}

	#divEventosDirectosModal .modal-body {
		height: 60% !important;
		max-height: none !important;
		position: fixed;
		width: calc(90%) !important;
	}

	#divEventosDirectosModal .modal-footer {
		width: calc(90%) !important;
		height: 80px !important;
		position: fixed;
	}

	/* ---- MODAL DIRECTOS --- */
	/*FIN DE ESPECIFICOS*/
}

@media only screen and (max-height: 620px) {

	.modal-body {
		height: 60% !important;
	}

	.modal-footer {
		top: calc(65% + 60px);
	}

	.modal-backdrop {
		display: none;
	}

	.modal-backdrop.in {
		display: block;
	}
}


html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas {
	max-height: 100% !important;
	background: #fff !important;
	height: 100% !important;
}

html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-body {
	top: 0 !important;
}

html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-header.oculto+.modal-body {
	height: calc(100% - 8.687rem) !important;
	max-height: calc(100% - 8.687rem) !important;
}

html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-header:not(.oculto)+.modal-body {
	height: calc(100% - 8.687rem) !important;
	max-height: calc(100% - 8.687rem) !important;
	overflow-y: scroll !important;
	position: fixed;
	top: 3.75rem !important;
}

html.apple.iphone body.mobile .modal.bootbox.modalPopupPreguntas .modal-footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	background: white;
}