html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

body {
	animation: none !important;
	transition: none !important;
}

header {
    height: 60px;
    flex-shrink: 0;
}

footer {
    height: 40px;
	background-color: #11497b;
	width: 100%;
	line-height: 40px;
}
footer p{
	font-size: 14px;
}

footer img {
	height: 32px;
	width: auto;
}

.contenido{
	height: calc(100vh - 100px);
	overflow-y: auto;
}

.barra-menu {
    max-width: 280px;
    min-width: 280px;
    height: calc(100vh - 100px);
    background-color: #002D51;
    position: sticky;
	top: 60px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #002d51;
  box-shadow: 2px 0 5px rgba(0,0,0,0.3);
  transition: left 0.3s ease;
  z-index: 1050;
}

.mobile-menu.show {
  left: 0;
}

.color-texto {
	color: #002D51;
}

.barra-sup-login{
	background-color: #002d51;
}

.dropdown-menu.show{
	border-radius: 0px;
	border-color: #001c33;
	z-index: 2;
}

.dropdown-item:focus, .dropdown-item:hover{
	background-color: #11497b!important;
	color: white;
}

.div-login, .div-recuperarcontra{
	width: 470px;
}

.list-group-item-action:not(.active):focus, .list-group-item-action:not(.active):hover, .list-group-item-action, .list-group-item-action:hover{
	position: unset;
	z-index: auto;
}

.alert{
	position: unset;
	border-radius: 0;
}

.alert-secondary{
	background-color: #f3f3f3;
}

tr.clickable-row:hover {
    background-color: #fff;
}

/* ---------- DESKTOP ----------- */
@media (min-width: 576px) {
	.btn-menu-mobile{
		display:none;
	}

	.menu-mobile{
		display:none;
	}

	.div-login, .div-recuperarcontra{
		margin-top: -7rem;
	}
}

/* ---------- MOBILE ----------- */
@media (max-width: 576px) {
	.logo {
		justify-content:center!important;
		margin-left: 50px;
		height: 50px;
	}
	
	.logo img{
		max-width: 100%;
		height: auto;
	}

	.imagen-bandera {
		display: none;
	}
	
	.barra-menu {
		display:none !important;
	}
	
	.btn-menu-mobile{
		display:block;
		position: absolute;
		left: 0;
		top: 0;
		cursor: pointer;
	}

	.btn-menu-mobile button{
		width: 42px;
		height: 42px;
		border-color: #b3b3b3 !important;
	}

	.text-footer{
		word-wrap: break-word;
		font-size: 12px;
	}
}

.perfil-usuario{
	color: #3f9ed4;
	font-size: 14px;
}

.titulo-pagina{
	background-color: #002d51;
	color: white;
	border-radius: 0px;
	padding: 4px 0px;
}

.fecha-afiliacion{
	background-color: #f3f3f3;
}

.param-busqueda b{
	font-weight: 600;
}

.boton-usuario span{
	font-size: 14px;
}

/* -------- Visualizador de documentos --------- */

.icono-doc {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.icono-doc:hover {
    transform: translateY(-5px);
  	transition: transform 0.2s ease-in-out;
}

.modal-doc {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	display: flex;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-doc.show {
	opacity: 1;
	visibility: visible;
}

.modal-doc-content {
	background: rgba(0, 0, 0, 0.8);
	width: 90vw;
	height: 85vh;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#modal-doc-body {
	flex-grow: 1;
	width: 100%;
	height: 100%;
	text-align: center;
}

#modal-doc-body img{
	max-width: 100%;
	max-height: 100%;
	height: 100%;
	width: auto;
	object-fit: contain;

}

#modal-doc-body iframe{
	height: 100%;
	width: 100%;
	border:none;
}

.close-modal-doc {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff;
	border: 2px solid #ccc;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	z-index: 10000;
	transition: all 0.3s ease;
}

.close-modal-doc:hover {
	background-color: #ccc;
	border-color: #4d4d4d;
	transition: all 0.3s ease;
}


/* ------------------- BOTONES ------------------- */

.btn-primario{
	color: white;
	background-color: #3f9ed4;
	border-radius: 0;
  box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  font-weight: 700;
}

.btn-primario:hover{
	color: #ebebeb;
	background-color: #2d749d;
}

.btn-primario:active{
	color: #ebebeb!important;
	background-color: #2d749d!important;
}

.btn-primario:focus-visible{
	color: #ebebeb!important;
	background-color: #2d749d!important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.btn-secundario{
	color: white;
	background-color: #576a79;
	border-radius: 0;
  box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  font-weight: 700;
}

.btn-secundario:hover{
	color: #ebebeb;
	background-color: #313c45;
}

.btn-secundario:active{
	color: #ebebeb!important;
	background-color: #313c45!important;
}

.btn-secundario:focus-visible{
	color: #ebebeb!important;
	background-color: #313c45!important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.btn-exito{
	color: white;
	background-color: #439d73;
	border-radius: 0;
	box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
	text-transform: uppercase;
	font-weight: 700;
}

.btn-exito:hover{
	color: #ebebeb;
	background-color: #2f7152;
}

.btn-exito:active{
	color: #ebebeb!important;
	background-color: #2f7152!important;
}

.btn-exito:focus-visible{
	color: #ebebeb!important;
	background-color: #2f7152!important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.btn-cancelar{
	color: white;
	background-color: #e34b5a;
	border-radius: 0;
	box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
	text-transform: uppercase;
	font-weight: 700;
}

.btn-cancelar:hover{
	color: #ebebeb;
	background-color: #a73641;
}

.btn-cancelar:active{
	color: #ebebeb!important;
	background-color: #a73641!important;
}

.btn-cancelar:focus-visible{
	color: #ebebeb!important;
	background-color: #a73641!important;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.btn-redondo{
	width: 35px;
	height: 35px;
}

.div-archivo .btn-close{
    position: relative;
    right: -23px;
    top: -10px;
}

.botones-certificar input[type=button]{
	max-height: 57px;
}

.botones-menu > button:hover, .botones-menu > button.show, .botones-menu > button:first-child:active, .botones-menu button:hover, .botones-menu button.show, .botones-menu button:first-child:active,
.boton-usuario:hover, .boton-usuario.show, .boton-usuario:first-child:active{
	background-color: #001c33;
	border-radius: 0;
}

.btn-rechazar, .btn-certificar{
	width: 115px;
}

/*.editar-fecha{
	padding: 5px;
	font-weight: 500;
	text-transform: unset;
	background-color: white;
	border: 1px solid #3f9ed4;
	color: #3f9ed4;
}*/

/* checkbox */
.form-check-input:checked{
	background-color: #3f9ed4;
	border-color: #3f9ed4;
}

/* backgrounds colors */
.bg-rojo{
	background-color: #e34b5a;
}

.bg-verde{
	background-color: #439d73;
}

.bg-primario{
	background-color: #2d749d;
}

/* paginador */
.page-link{
	color: #3f9ed4;
}

.page-link:hover, .page-link:active, .page-link:focus{
	color: #2d749d;
}

.active>.page-link, .page-link.active{
	background-color: #3f9ed4;
	border-color: #2d749d;
}

.active>.page-link:hover, .page-link.active:hover, .active>.page-link:focus, .page-link.active:focus, .active>.page-link:active, .page-link.active:active{
	color: #ebebeb;
}

.text-warning-dark{
	color: #ac830a; /*#664d03;*/
}

.btn-exitoso{
	color: #0f5132;
	background-color: #d1e7dd;
	border-radius: 0;
	border-color: #badbcc;
  box-shadow: 0px 3px 5px 2px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  font-weight: 700
  
}

.btn-exitoso:hover{
	color: #0f5132;
	background-color: #98c4b0cf;/*#4ca27b87;*/
}

/* ----------- ALERTS ----------- */

.alert-primary{
	background-color: #e0f1ff!important;
}

.alert strong{
	font-weight: 700;
}

/* -------- SPINNER ---------- */
#pantalla-cargando {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
	transition: opacity 0.5s ease;
}

#pantalla-cargando .spinner-border {
	width: 3rem;
	height: 3rem;
}

#contenedor-certificantes div {
	transition: opacity 0.5s ease;
}

.subme {
	position:fixed!important;
}

.imagen-captcha{
	height: 100%;
	width: auto;
}

.ui-autocomplete {
    max-height: 300px;
    max-width: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}