/********************************************************************************/
/*                                                                              */
/* Plataforma e-ducativa INFD.  Version 14.05.00-146 - Argentina                */
/* Distribucion de e-ducativa Open College                                      */
/* Copyright (c)  de e-ducativa Educación Virtual S.A.                          */
/*                                                                              */
/********************************************************************************/
/* ----------------
   -- Modal Base --
   ---------------- */
.modal_window {
	position: fixed;
	z-index: 999;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.75);
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
    padding: 20px;
}

.modal_window .modal_wrapper {
	display: flex;
	flex-direction: column;
	position: relative;
	border-radius: 4px;
	background-color: #f3f3f3;
	overflow: auto;
	animation-name: animatecenter;
	animation-duration: 0.3s;
	min-width: 350px;
	max-height: 90vh;
}

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

.modal_window .modal_wrapper .modal_header {
	display: flex;
	justify-content: space-between;
	padding: 10px 8px 10px 20px;
	background: #064265;
}

.modal_window .modal_wrapper .modal_header .modal_header_title{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.125rem;
	color: #ffffff;
	margin: 0;
}

.modal_window .modal_wrapper .modal_footer.modal_footer_w_action {
	display: flex;
	justify-content: flex-end;
	padding: 10px;
}

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

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

/* iframes no se adaptan al size de su contenido */
.modal_window .wrapper_iframe { height: 100%; }

/* Exit Button --------------------------------------------------- */
.modal_window .modal_exit_button {
	/* position: absolute; */
	/* top: 5px; */
	/* right: 5px; */
	background: transparent;
	cursor: pointer;
	border: 0;
}
.modal_content {
	flex:1;
}
/* 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, 0.9);
}
/* --------------------------------------------------------------- */


/* CLASES A UTILIZAR EN EL CONSTRUCTOR DE MODAL EN COMUNES.JS */

/*CLASES DE POSICIONAMIENTO-------------------------------*/

.modal_window .modal_wrapper.wrapper_pos_top {
	align-self: flex-start;
	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;
}

/*--------------------------------------------------------*/

/*CLASES DE DIMENSIONES PARA EL MODAL---------------------*/

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

/*--------------------------------------------------------*/

