/* CSS Document */
:root{
	/* color titulo */
	--border:none;
	/*
	--color_logo_fondo: #438EB9;
	--color_logo_letra: #C6C6C5;
	*/
	--color_logo_fondo: #3F5C98;
	--color_logo_letra: #FFFFFF;
	--menu_color_back: var(--color_logo_fondo);
	--menu_color_fore: #FFFFFF;
	/**/
	--color_error: #FAC1C1;
	--disabled_back: #E3DEDE;
	--disabled_border: #D3D3D3;	
	/**/
	--font_family: Verdana, Arial, Helvetica, sans-serif;
	/* generales del principal */
	--head-height: 90px;
	--barra-height: 25px;
	--foot-height: 25px;
	--menu-width: 200px;
	--menu-height: calc(100% - var(--head-height) - var(--barra-height) - var(--foot-height));
	--menu-height: -moz-calc(100% - var(--head-height) - var(--barra-height) - var(--foot-height));
	--menu-height: -webkit-calc(100% - var(--head-height) - var(--barra-height) - var(--foot-height));
	/* visualizacion tablas */
	--vis_param_height: 50px;
	/* menu colors */
	/*
	--main-menu-backgound: #438EB9;
	*/
	--main-menu-backgound: #3F5C98;
	--main-menu-group: #28556f;
	--main-menu-item: #2e6381;
	--main-menu-color: #C6C6C5;
}
/****************************************/
.align-right{ text-align: right;  }
.align-left{ text-align: left;  }
.align-center{ text-align: center;  }
/****************************************/
div.row{
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 1px;
	padding-right: 1px;
	margin-left: 0px;
	margin-right: 0px;
}
/****************************************/
body, .hoja{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	margin: 0;
	padding: 0;
	color: #000000;
	background-color: #FFFFFF;
	display:block;
	overflow:hidden;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	clear: both;
}
/****************************************/
div.main-header, div.common-header{
	background-color: var(--color_logo_fondo);
	width: 100vmax;
	display: block;
	height: var(--head-height);
	max-height: var(--head-height);
	color: var(--color_logo_letra);
	border: var(--borde);
	font-size: inherit;
	font-family: inherit;
	padding: 0px;
}
div.main-header div.header-logo, div.common-header div.common-header-logo{
	display: block;
	float: left;
	margin-left: 0px;
	height: inherit;
}
div.common-header div.common-header-logo{
	width: 39vw;
	max-width: 39vw;
	min-width: 39vw;
	height: inherit;
	max-height: inherit;
}
div.header-logo img{ 
	vertical-align: unset; 
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
}
div.common-header-logo img{
	vertical-align: top; 
	height: 100%;
	max-height: 100%;
}
div.main-header div.header-empresa, div.common-header div.common-header-data{
	display: block;
	float: right;
	align-content: center;
	align-items: center;
	text-align: right;
}
/****************************************/
div.main-barra{
	border: var(--borde);
	display: block;
	width: 100%;
	margin: 0 auto;
	line-height: var(--barra-height);
	height: var(--barra-height);
	max-height: var(--barra-height);
	background-color: var(--color_logo_fondo);
	color: #FFFFFF;
	font-size: 1.1em;
	font-family: inherit;
}
div.main-barra div.main-barra-user{ 
	display: block; 
	float: left;
	width: 50vw;
	max-width: 50vw;
	line-height: inherit;
	height: 100%;
	max-height: 100%;
}
div.main-barra div.main-barra-buttons{
	display: block;
	float: right;
	width: 50vw;
	max-width: 50vw;
	text-align: right;
	line-height: inherit;
	height: 100%;
	max-height: 100%;
	padding: 0px;
}
div.main-barra div.main-barra-buttons a{
	line-height: inherit;
	padding: 5px;
	background-color: var(--main-logo-background);
	color: var(--main-logo-color);
	text-decoration: none;
}
div.main-barra div.main-barra-buttons a:hover{
	line-height: inherit;
	padding: 5px;
	background-color: #FFFFFF;
	color: var(--color_logo_fondo);
}
/****************************************/
div.main-menu{
	display: inline-block;
	position: absolute;
	background-color: var(--main-menu-backgound);
	width: var(--menu-width);
	max-width: var(--menu-width);
	float: left;
	height: var(--menu-height);
	max-height: var(--menu-height);
	border: var(--borde);
	margin: 0 auto;
	overflow-x: hidden;
	overflow-y: auto;
}
/****************************************/
#accordian {
	background: var(--main-menu-backgound);
	width: 250px;
	color: var(--main-menu-color);
	padding: 0px;
}
#accordian ul{
	padding: 0px; 
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
#accordian h3 {
	background-color: var(--main-menu-group);
	color: var(--main-menu-color);
	margin-bottom: 0px;
	margin-top: 0px;
}
#accordian h3 a {
	padding: 0 10px;
	font-size: 12px;
	line-height: 34px;
	display: block;
	color: white;
	text-decoration: none;
}
#accordian i { margin-right: 10px; }
#accordian li { list-style-type: none; }
#accordian ul ul li a,
#accordian h4 {
	color: white;
	text-decoration: none;
	font-size: 11px;
	line-height: 27px;
	display: block;
	padding: 0 15px;
	position: relative;
}
#accordian ul ul li a:hover {
	background-color: var(--main-menu-item);
	border-left: 5px solid lightgreen;
}
#accordian ul ul { display: none; }
#accordian li.active>ul { display: block; }
#accordian ul ul ul { margin-left: 15px; border-left: 1px dotted rgba(0, 0, 0, 0.5); }
#accordian a:not(:only-child):after {
	content: "\f104";
	font-family: fontawesome;
	position: absolute;
	right: 10px;
	top: 0;
	font-size: 14px;
}
#accordian .active>a:not(:only-child):after {
	content: "\f107";
}
/****************************************/
div.main-container{
	display: block;
	position: absolute;
	float: right;
	left: var(--menu-width);
	width: calc(100vw - var(--menu-width) - 1px);
	max-width: calc(100vw - var(--menu-width) - 1px);
	height: var(--menu-height);
	max-height: var(--menu-height);
	border: var(--borde);
}
div.main-container.content-full-width{
	position: inherit;
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	padding: 2px;
}
div.no-email::before{
	display: block;
	width: inherit;
	max-width: inherit;
	min-width: inherit;
	color: red;
	font-weight: bold;
	content: 'Ud. no tiene una dirección de correo registrada. Por favor, comuníquese con la OSdeM para registrar una.';
	text-align: center;
}
div.main_container_header{
	background-color: inherit;
	display: block;
	width: 100%;
	max-width: 100%;
	height: 2em;
	max-height: 2em;
	line-height: 2em;
}
div.main_container_header span.title{
	font-family: OswaldRegular, Verdana, Arial, Helvetica, sans-serif;
    font-size: 2em;
}
div.abm-vis-main_container_body{
	display: block;
	width: 100%;
	max-width: 100%;
	height: calc(100% - 33px);
	max-height: calc(100% - 33px);
}
div.abm-vis-body table{
	height: 100%;
	max-height: 100%;
}
/****************************************/
div.main-foot{
	display: inline-block;
	/*
	position: block;
	*/
	position: absolute;
	width: 100vw;
	max-width: 100vw;
	background-color: #000000;
	color: #C6C6C5;
	bottom:0px;
	vertical-align: middle;
	text-align: center;
	height: var(--foot-height);
	max-height: var(--foot-height);
	line-height: var(--foot-height);
}
/****************************************/
input.form-control{ 
	font-size: inherit;
	height: 22px;
	line-height: 22px;
}
input[type="number"].form-control{
	text-align: right;
	padding: 6px 0px 6px 0px;
}
input[type="checkbox"], input[type="radio"]{
	margin-top: -3px;
}
/****************************************/
.dataTables_wrapper{
	background-color: inherit;
	display: block;
	position: absolute;
	/*
	height: calc(100% - 24px);
	max-height: calc(100% - 24px);
	*/
	width: 100%;
	max-width: 100%;
}
.dataTables_scroll{
	/*
	height: calc(100% - 80px);
	max-height: calc(100% - 80px);
	min-height: calc(100% - 80px);
	*/
	width: 100%;
	max-width: 100%;
	min-width: 100%;
}
.dataTables_scrollBody{
	/*
	height: calc(100% - 30px);
	max-height: calc(100% - 30px);
	min-height: calc(100% - 30px);
	*/
	width: 100%;
	max-width: 100%;
	min-width: 100%;
}
.dataTables_wrapper div.dataTable-custom-filter, .dataTables_wrapper div.dt-buttons{
	display: block;
	position: relative;
	left: 10px;
	float: left;
}
.dataTables_wrapper div.dt-buttons{
	margin-left: 10px;
	line-height: 18px;
	font-size: 0.9em;
}
.dataTables_wrapper div.dt-buttons button{
	padding: 4px;
}
.dataTables_wrapper div.dataTables_filter{
	font-size: 0.9em;
}
.dataTables_wrapper div.dataTables_filter input{
	padding: 3px;
}
table.dataTable th.never, td.never{ display: none; }
table.dataTable .dt-body-right{ text-align: right; }
table.dataTable td.details-control {
    background: url('../images/datatable/details_open.png') no-repeat center center;
    cursor: pointer;
}
table.dataTable tr.shown td.details-control { 
	background: url('../images/datatable/details_close.png') no-repeat center center; 
}
table.dataTable tbody td, table.dataTable thead th{ font-size: .8em; }
table.dataTable tr.even:hover td, table.dataTable tr.even:hover td.sorting_1, table.dataTable tr.odd:hover td, table.dataTable tr.odd:hover td.sorting_1 {
	background-color: var(--color_logo_fondo);
	color: #FFFFFF;
}
table.dataTable tbody td {
	overflow-x: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after {
    position: absolute;
    top: 12px;
    right: 8px;
    display: block;
    font-family: 'Font Awesome 5 Free';
}
table.dataTable div.dt-details{ padding: 0px 20px 0px 20px; }
table.dataTable thead th{
	border-bottom: 1px solid #000000;
}
table.dataTable .nowrap tbody td{
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
}
table.dataTable tbody td > button.btn-xs{
	line-height: 1.5;
    font-size: .7rem;
    padding: 1px 2px 3px 3px;
}
table.dataTable tbody td > button.btn-xss{
	font-size: 0.8em;
	padding: 0.15rem 0.25rem;
}
a.bt-edit, table.dataTable a.bt-edit{ color: blue;  }
a.bt-delete, table.dataTable a.bt-delete{ color: red;  }
a.bt-reset, table.dataTable a.bt-reset{ color: #F7DC6F;  }
a.bt-credencial, table.dataTable a.bt-credencial{ color: green; }
a.bt-show-credencial, table.dataTable a.bt-show-credencial{ color: black;  }
a.disabled, a.disabled:visited, table.dataTable a.disabled, table.dataTable a.disabled:visited{
	color: darkgrey;
	cursor: not-allowed;
	text-decoration: none;
	pointer-events: none;
}
table.dataTable .dt-buttons button{ margin-left: 10px; }
table.dataTable td.details-control {
	background: url('../css/images/details_open.png') no-repeat center center;
	cursor: pointer;
}
table.dataTable tr.shown td.details-control {
	background: url('../css/images/details_close.png') no-repeat center center;
}
/****************************************/
.modal{ 
	font-family: inherit;
	font-size: 0.95em; 
}
.modal div.row input[type="number"].form-control{
	text-align: right;
	padding: 6px 0px 6px 0px;
}
.modal div.row:not(first-child){ margin-top: 3px; }
.modal div.col-md*{
	font-size: inherit;
	height: 22px;
	line-height: 22px;
}
.modal div.row input{ 
	font-size: inherit;
	height: 22px;
	line-height: 22px;
}
.modal input[type="checkbox"], .modal input[type="radio"]{
	margin-top: -3px;
}
.modal div.row select{
	box-sizing: content-box;
	width: 100%;
	max-width: 100%;
}
.modal div.row select.custom-select{
    font-size: inherit;
    height: 21px;
    line-height: 21px;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    border: 1px solid #ced4da;
}
.modal div.row select.custom-select:focus{
	color: #495057;
	background-color: #fff;
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.modal hr{
	margin-top: 10px;
	margin-bottom: 10px;
}
.modal .modal-footer button{
	font-family: inherit;
	font-size: 1em;
	padding: .5em;
}
.modal div.modal-dt-table div.row{
	padding: 0px;
	border-bottom: 1px solid #000000;
}
.modal div.modal-dt-table div.row > div.col*{
	border: 1px solid blue;
}
.modal-md{
	width: 650px;
	max-width: 650px;
}
/****************************************/
.select2-container .select2-selection--single{
    height: 22px;
    line-height: 22px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__rendered{
	height: 22px;
	line-height: 22px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
	margin-top: 0px;
}
.select2-dropdown {  
  z-index: 199100 !important;/*1051;*/
}
.select2-results__option, .select2-selection__rendered, ul.select2-results__options li, .select2-dropdown, .select2-container--default .select2-selection--multiple{
	font-size: inherit;
}
/****************************************/
.ui-menu-item{ font-size: 10px; }
.ui-autocomplete{
	height: 200px;
	max-height: 200px;
	width: auto;
	max-width: 400px;
	overflow-x: hidden;
	z-index: 10000 !important
}
/****************************************/
.login_head{
	background-color: #3F5C98;
	color: #FFFFFF;
	width: 100%;
	max-width: 100%;
	display: block;
	position: relative;
	padding: 10px;
}
.login_head div.login_head_logo{
	display: inline-block;
	width: 40%;
	max-width: 40%;
}
.login_head div.login_head_data{
	display: inline-block;
	background-color: inherit;
	color: inherit;
	text-align: right;
	vertical-align: top;
	width: calc(60% - 1px);
	max-width: calc(60% - 1px);
}
div.common-body{
	width: 100%;
	max-width: 100%;
	display: block;
	position: relative;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
div.common-body-error{
	color: red;
	font-weight: bold;
	padding: 10px;
}
.login_body, div.common-body-forgot, div.common-body-change{
	width: 100%;
	max-width: 100%;
	display: block;
	position: relative;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
.login_body form, div.common-body-forgot form, div.common-body-change form{
	width: 50%;
	max-width: 50%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-top: auto;
}
.login_error, div.common-body-forgot div.forgot-error, div.common-body-error{
	color: red;
	font-weight: bold;
}
/****************************************/
div.row-afi, div.row-pdf{
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	display: block;
}
/*
div.row-afi{ background-color: pink; }
div.row-pdf{ background-color: green; };
*/
div.row-pdf{ 
	position: relative;
	height: 600px;
}
