body {
	font-size: 12px;
	font-family: "open_sanssemibold", Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}



:root{
	--bs-primary-rgb:24,57,105;
	--bs-table-bg: rgb(24,57,105) !Important;
}

table.table thead th {
	--bs-table-bg: rgb(24,57,105) !Important;
    background-color: var(--bs-table-bg);
    color: #ffffff;
}

.card-header {
  --bs-card-cap-color: white;
}
@font-face {
  font-family: 'open_sansregular';
  src: url('fonts/OpenSans-Regular-webfont.eot');
  src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
       url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
       url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'open_sanssemibold';
  src: url('fonts/OpenSans-Semibold-webfont.eot');
  src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/OpenSans-Semibold-webfont.woff') format('woff'),
       url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
       url('fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'open_sansbold';
  src: url('fonts/OpenSans-Bold-webfont.eot');
  src: url('fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/OpenSans-Bold-webfont.woff') format('woff'),
       url('fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
       url('fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'open_sanslight';
  src: url('fonts/OpenSans-Light-webfont.eot');
  src: url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/OpenSans-Light-webfont.woff') format('woff'),
       url('fonts/OpenSans-Light-webfont.ttf') format('truetype'),
       url('fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
  font-weight: normal;
  font-style: normal;
}

.boton-acceso {
  background: none;
  border: none;
}

.inline { display: inline-block; padding-right: 20px; vertical-align: middle; }
.input-xmini { width: 40px; max-width: 100%; }
.text-underline { text-decoration: underline; }
.font-italic { font-style: italic !important; }
.beUpperCase { text-transform: uppercase; }

.width90 { width: 90%; }
.width50 { width: 50%; }
.width100 { width: 100%; }

.left-border-blue { border-left: 4px solid #0068A2; padding-left: 20px; }
.left-border-gray { border-left: 4px solid #858585; padding-left: 20px; }
.left-border-red  { border-left: 4px solid #AC2115; padding-left: 20px; }

.collapse.in { display: block !important; height: auto !important; visibility: visible !important; }
.fade.in { opacity: 1 !important; }

.hide {
    display: none !important;
}

.loading .loading-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 80px;
    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);

    z-index: 2001;
}

.loading .loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.modal-lopd,
.modal-descripcion {
  width: 40% !important;
  margin-left: auto;
  margin-right: auto;
  position: relative !important;
  left: 0 !important;
}

main {
    flex: 1 0 auto;
}

.header-ministerio {
    position: relative;
    border-top: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.header-ministerio::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0.5rem;
    width: 100%;
    background-color: #ad1519;
}

.header-ministerio::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0.5rem;
    z-index: 2;
    width: 48vw;
    max-width: 57.1875rem;
    margin: 0 auto;
    background-color: #fabd00;
}

.header-ministerio .text-end p {
    font-weight: bold;
    font-size: 14px;
}

.navbar-portal {
    background: transparent;
    background-image: url('../../images/fondo-cabecera-transparent_new.png');
    border: 1px solid #424242;
    border-radius: 0;
    min-height: auto;
    padding-top: 2px;
    padding-bottom: 2px;
}

.navbar-portal .dropdown-menu {
    border-radius: var(--bs-border-radius);
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.navbar-portal .dropdown-menu li a,
.navbar-portal .dropdown-menu li .ajax {
    display: block;
    padding: 0.25rem 1rem;
    color: #212529;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-portal .dropdown-menu li a:hover,
.navbar-portal .dropdown-menu li .ajax:hover {
    background-color: #e9ecef;
    color: #1e2125;
}

.footer_new {
    background-color: #ecece2;
    width: 100%;
    color: #1D1D1B;
    height: auto;
    flex-shrink: 0;
    margin-top: auto;
}

.footer_centrar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 1rem;
}

#logoYCopy { padding: 0.5rem 1rem; }
#logoYCopy img { height: 50px !important; max-width: none; }
#logoYCopy svg { max-width: 100%; height: auto; }
#logoYCopy > div { padding: 0.5rem; }
#logoYCopy span { font-size: 0.875rem; color: #1D1D1B; }


#version.hidden { display: none; }

a {
    color: #0a58ca;
}

a:hover, a:focus {
    color: #084298;
}

.btn-link {
    color: #0a58ca;
    text-decoration: none;
}

.btn-link:hover, .btn-link:focus {
    color: #084298;
    text-decoration: underline;
}

.footer_new_login {
    background-color: #ecece2;
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: #1D1D1B;
    height: auto;
    position: fixed;
    bottom: 0;
}

.pantalla-completa { flex: 1 0 auto; }

#sidebar .sidebar-text a,
#sidebar .sidebar-text .ajax {
    color: #ffffff !important;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
}

#sidebar .sidebar-text a:hover,
#sidebar .sidebar-text .ajax:hover {
    color: #ffffff !important;
    text-decoration: none;
}


.table th,
.table td {
    padding: 6px 6px;
    line-height: 15px;
    font-weight: 400px;
}

.table td .input-append,
.table td .control-group,
.table td form {
    margin-bottom: 0;
}

.dataTables_processing { display: none; }

.table.table-accions th,
.table.table-accions td { border: 0; }

.table_column_250 { width: 250px; }

table.dataTable thead .dt-column-order::before,
table.dataTable thead .dt-column-order::after {
    opacity: 0.5 !important;
}

table.dataTable thead .dt-ordering-asc .dt-column-order::before,
table.dataTable thead .dt-ordering-desc .dt-column-order::after {
    opacity: 1 !important;
}

.accordion-inner .table td { background: #FCFCFC; }

.ap-login {
    border-radius: 5px;
    background-color: #f9f9f9;
}

#collapse_searchExpedientsForm_acc_item_id > .ap-login {
    border-left: 4px solid #0a58ca;
    padding-left: 20px;
    border-radius: 5px;
}

.accordion-item {
    border: none;
    background-color: transparent;
}

.accordion-button {
    background-color: transparent;
    padding: 8px 0;
    font-weight: bold;
    font-family: "open_sanssemibold", Helvetica, sans-serif;
    color: #444444;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #444444;
    box-shadow: none;
}

.accordion-button:focus { box-shadow: none; }

.accordion-body.ap-login {
    border-left: 4px solid var(--bs-primary);
    padding: 15px 15px 5px 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-top: 5px;
}

.accordion-body .form-control,
.accordion-body .form-select,
.accordion-body .input-group-text,
.header-details .form-control,
.header-details .form-select,
.header-details .input-group-text {
    padding: 3px 6px;
}

.accordion-body .form-control,
.accordion-body .form-select,
.header-details .form-control,
.header-details .form-select {
    font-size: 12px;
    max-width: 200px;
}

.accordion-body .control-group,
.header-details .control-group {
    margin-bottom: 3px;
}

.accordion-button::after {
    display: none;
}

.chosen-container .chosen-choices,
.chosen-container-single .chosen-single {
    display: block;
    width: 100%;
    padding: 3px 6px;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    min-height: auto;
}

.chosen-container-active .chosen-choices,
.chosen-container-active .chosen-single {
    border-color: #86b7fe;
}

.navbar-portal .nav-link {
    padding: 8px 12px;
}

.breadcrumb {
    background-color: transparent;
    padding: 4px 0 6px 0;
    margin: 0 0 10px;
    border-bottom: 1px dotted #ddd;
}

.breadcrumb-item a,
.breadcrumb-item.active {
    font-size: 1.05rem;
}

.accordion-body .input-group,
.header-details .input-group {
    max-width: 150px;
}

.accordion-body .btn,
.header-details .btn {
    font-size: 12px;
    padding: 3px 10px;
}

.required-mark {
    padding-left: 5px;
    display: none;
}

.required .required-mark {
    display: inline-block;
}

.container-fluid {
    flex: 1 0 auto;
}

.card:hover {
	border-bottom: 8px solid var(--bs-table-bg);
	transition: transform .5s ease-in-out; 
	transform: scale(1.02);
	
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: #186ba7;
    color: white;
    border-color: #186ba7;
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    font-size: 12px;
}

.modal-header {
    background-color: #186ba7;
    border-radius: 5px;
}

.modal-footer {
    border-radius: 5px;
}

.modal-header .btn-close {
    color: white;
    filter: invert(1);
}

.modal-header h3,
.modal-header .modal-title {
    color: white;
}

.modal-body-mitma {
    padding: 15px;
}

.left-border-gray, .header-details, .header-details-mar {
    border-left: 4px solid var(--bs-primary);
    padding-left: 20px;
    border-radius: 5px;
}

.delimiter {
    border-top: 7px solid #f5d116;
    width: 20px;
    margin: 2px;
}

.helpInline {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    width: 50px;
    padding-bottom: 10px;
}

.form-horizontal .control-group {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 5px;
}

.form-horizontal .control-label {
    width: 200px;
    text-align: right;
    padding-right: 15px;
    font-family: "open_sanssemibold", Helvetica, sans-serif;
    font-size: 12px;
    flex-shrink: 0;
}

.form-horizontal .controls {
    flex: 1;
    font-size: 12px;
}

.form-horizontal .input-readonly {
    font-size: 12px;
}

.header-details {
    border: 1px solid #e5e5e5;
    border-left: 4px solid var(--bs-primary);
    padding: 10px 10px 10px 20px;
    background: rgba(0, 0, 0, 0.02);
    line-height: 17px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-sizing: border-box;
}

.tabbable {
    margin-top: 15px;
}

.tabbable .tab-content {
    border: 1px solid #ddd;
    border-top: none;
    padding: 10px 20px;
    overflow: inherit;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.nav-tabs {
    margin-bottom: 0;
    gap: 2px;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
}

.nav-tabs .nav-link {
    padding: 6px 12px;
    font-size: 12px;
    background-color: #eeeeee;
    border-radius: 5px 5px 0 0;
    border: 1px solid transparent;
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    border-color: #ddd #ddd #fff;
    font-family: "open_sanssemibold", Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #333;
}

.tabbable.tablink {
    margin-top: 0;
}

.tabbable.tablink .tab-content {
    border: 0;
    padding: 0;
}

.tabbable.tablink .nav-tabs {
    border: 0;
}

.tabbable.tablink .nav-tabs .nav-link {
    border: none;
}

.tabbable.tablink .nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-primary);
}

.row-fluid.bordes {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}



.label,
.badge {
  display: inline-block;
  padding: 2px 4px;
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  color: #ffffff;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #999999;
}
.label {
  border-radius: 3px;
}
.badge {
  padding-left: 9px;
  padding-right: 9px;
  border-radius: 9px;
}


.label-warning,
.badge-warning {
  background-color: #f89406;
}
.label-warning[href],
.badge-warning[href] {
  background-color: #c67605;
}


.label-nou {
  background-color: #ec971f;
  margin-left: 10px;
}

#searchTramitesForm .group-search-actions{
	height: auto !important;
}

.badge.bg-warning {
    --bs-warning-rgb: 248, 148, 6;
    --bs-bg-opacity: 1;
    color: #ffffff;
}

.btn-inverse {
    color: #fff;
    background-color: #646464;
    border-color: #505050;
}

.btn-inverse:hover,
.btn-inverse:focus {
    color: #fff;
    background-color: #505050;
    border-color: #505050;
}

.doc-row {
    font-size: 12px;
    margin-top: 5px;
}

.header-details label {
    margin-bottom: 2px;
}

.modal-body .control-group {
    margin-bottom: 3px;
}


.modal .modal-dialog.modal-size-small {
    max-width: 700px;
}

.modal .modal-dialog.modal-size-medium {
    max-width: 950px;
}

.modal .modal-dialog.modal-size-big {
    max-width: 1280px;
}

.phases {
    position: relative;
    margin-bottom: 15px;
}

.phases-phases {
    display: flex;
    align-items: flex-start;
}

.phases-phase {
    text-align: center;
    position: relative;
    font-size: 12px;
}

.phases-line-first {
    position: absolute;
    left: 0;
    width: 50%;
}

.phases-line-last {
    position: absolute;
    left: 50%;
    width: 50%;
}

.phases-line-reached {
    top: 8px;
    height: 7px;
    background-image: url('../../images/estat_line_reached.png');
    background-repeat: repeat-x;
}

.phases-line-unreached {
    top: 10px;
    height: 7px;
    background-image: url('../../images/estat_line_unreached.png');
    background-repeat: repeat-x;
}

#sidebarMenu {
  background-color: #0d47a1; 
}

#sidebarMenu .nav-link:hover {
  background-color: rgba(255,255,255,0.15);
}

.offcanvas .nav a {
	color: white !important;
}

.card-left-accent {
    border-left: 4px solid #0d6efd !important;
    background-color: #f8f9fa !important;
}

#datatables-expedients a {
	text-decoration: none !Important;
}

#datatables-expedients td {
	font-size: 13px;
}

textarea,
textarea.form-control,
textarea.form-control-sm {
    width: 100%;
    max-width: 600px;
    line-height: 1.4;
    resize: vertical;
}

#notifications-toast-container {
    width: 50%;
    min-width: 400px;
}

#notifications-toast-container .toast {
    width: 100%;
    max-width: none;
}

#notifications-toast-container .toast-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

#notifications-toast-container .btn-close,
#notifications-toast-container .text-bg-warning .btn-close {
    filter: none;
}

#notifications-toast-container .text-bg-warning {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    border-left: 4px solid #ffca2c !important;
}

#notifications-toast-container .text-bg-success {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
    border-left: 4px solid #198754 !important;
}

#notifications-toast-container .text-bg-danger {
    background-color: #f8d7da !important;
    color: #842029 !important;
    border-left: 4px solid #dc3545 !important;
}

input,
select,
textarea,
button,
.form-control,
.form-select,
.form-check-label,
.form-select-sm,
.form-control-sm,
label {
    font-size: inherit;
    font-family: inherit;
}

textarea[readonly],
textarea.form-control[readonly],
input[readonly],
input.form-control[readonly],
select[readonly],
select.form-control[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
    pointer-events: none;
}

#form-expediente-documentacion-presentacion .control-label {
    font-family: "open_sansbold", Helvetica, sans-serif;
    font-weight: bold;
}

#form-expediente-documentacion-presentacion .controls .form-control[readonly],
#form-expediente-documentacion-presentacion .controls .input-readonly,
#form-expediente-documentacion-presentacion .controls input[readonly] {
    color: #186ba7;
    font-style: italic;
}

#sidebarMenu .offcanvas-title {
    font-size: 1.25rem;
}

#sidebarMenu .offcanvas-body {
    font-size: 1.05rem;
}

#sidebarMenu .nav-link,
#sidebarMenu .nav .ajax {
    font-size: 1.05rem;
}

#sidebarMenu .collapse .nav-link,
#sidebarMenu .collapse .ajax {
    font-size: 1.05rem;
}