/********************************************************************************/
/*                                                                              */
/* Plataforma e-ducativa.  Version 14.05.00-153 - Argentina                     */
/*                                                                              */
/* Copyright (c)  de e-ducativa Educación Virtual S.A.                          */
/*                                                                              */
/********************************************************************************/
/* ----------------
   -- Modal Base --
   ---------------- */
.modal_window {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
    padding: 20px;
	text-decoration: none;
	background-color: rgba(0, 0, 0, .75);
	z-index: 999;
}
/* iframes no se adaptan al size de su contenido */
.modal_window .wrapper_iframe { height: 100%; }

.modal_window .modal_wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 350px;
	max-height: 82vh;
	border-radius: 4px;
	animation-name: animatecenter;
	animation-duration: 0.3s;
	overflow: auto;
}
/* Animaciones (aparicion) */
@keyframes animatetop {
	from {
		transform: translateY(-800px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes animatecenter {
	from {
		transform: translateY(-800px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes animatebottom {
	from {
		transform: translateY(800px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
/* -------------------------------------------
   Para el constructor del modal en comunes.js
   ------------------------------------------- */

/* Posicionamiento
   --------------- */
.modal_window .modal_wrapper.wrapper_pos_top {
	align-self: flex-start;
	margin-top: 86px;
	animation-name: animatetop;
	animation-duration: 0.3s;
}
.modal_window .modal_wrapper.wrapper_pos_bottom {
	align-self: flex-end;
	animation-name: animatebottom;
	animation-duration: 0.3s;
}
.modal_window .modal_wrapper.wrapper_pos_right { margin-left: auto; }

.modal_window .modal_wrapper.wrapper_pos_left { margin-right: auto; }

/* Dimensiones
   ----------- */
.modal_window .modal_wrapper.wrapper_size_large { width: 90vw; }

.modal_window .modal_wrapper.wrapper_size_medium { width: 60vw; }

.modal_window .modal_wrapper.wrapper_size_small { width: 30vw; }

/* ----------
   Encabezado
   ---------- */
.modal_window .modal_wrapper .modal_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 8px 8px 16px;
	background-color: #064265;
}
/* Titulo */
.modal_window .modal_wrapper .modal_header .modal_header_title {
	margin: 0;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.125rem;
	font-weight: 400;
	color: #ffffff;
}
/* Boton X (para salir) */
.modal_window .modal_exit_button {
	/* position: absolute; */
	/* top: 5px; */
	/* right: 5px; */
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
/* temporal hasta que se saque la regla general
   en admin.css que modifica fa-times */
.modal_window .modal_exit_button .fa-times-circle{
	font-size: 1.3rem;
	color: #ffffff;
}
.modal_window .modal_exit_button:hover .fa-times-circle { color: rgba(177, 177, 177, .9); }

/* ---------
   Contenido
   --------- */
.modal_window .modal_wrapper .modal_content {
	flex: 1;
	background-color: #ffffff;
}

/* ---
   Pie
   --- */
.modal_window .modal_wrapper .modal_footer.modal_footer_w_action {
	display: flex;
	justify-content: flex-end;
	padding: 10px;
}
/* Botones de accion
   ----------------- */
.modal_window .modal_wrapper .modal_footer .modal_action_buttons {
	display: flex;
	gap: 12px;
}
.modal_action_btn {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	font-family: 'Roboto', sans-serif;
	font-size: .875rem;
	color: #ffffff;
	border-radius: 3px;
	cursor: pointer;
}
/* Boton primario */
.modal_action_btn.modal_action_btn_primary {
	border: 1px solid #529a2d;
	background-color: #529a2d;
}
.modal_action_btn.modal_action_btn_primary:hover {
	border-color: #458823;
	background-color: #458823;
}
/* Boton cancel */
.modal_action_btn.modal_action_btn_cancel {
	color: #0258a4;
	border: 1px solid #0258a4;
	background-color: #ffffff;
}
.modal_action_btn.modal_action_btn_cancel:hover {
	color: #0375d9;
	border-color: #0375d9;
}
