@charset "utf-8";

legend {
	font-size: 1.3rem;
}

.label-counter {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

input::placeholder {
    font-style: italic;
}
/* select placeholder - begin */
select.placeholder.empty {
	color: #6c757d;
}
select.placeholder option {
	color: #495057;
}
select.placeholder option[value=''] {
	font-style: italic;
	color: #6c757d;
}
/* select placeholder - end */

.text-crop {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list-item-name {
	color: #212529;
	font-weight: normal;
}

.list-group-compact .list-group-item {
	padding-bottom: 0.4rem;
	padding-top: 0.4rem;
}

.list-group-compact .btn {
	padding: 0 0.25rem;
}


.list-group-item.disabled > * {
	filter: grayscale(1) opacity(0.5);
}
.list-group-item.disabled .btn {
	pointer-events: none;
}

.list-group-item .btn-toolbar {
	margin: -.25rem -1rem -.25rem 1rem;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}
.list-group-item .btn-toolbar .btn {
	filter: grayscale(1) opacity(.5);
	transition: filter 0.2s;
}

.list-group-item:focus .btn-toolbar .btn,
.list-group-item:active .btn-toolbar .btn,
.list-group-item:hover .btn-toolbar .btn {
	filter: none;
}
.list-group-hover .list-group-item:hover {
    color: #212529;
    background-color: rgba(0,0,0,.075);
}
.btn-toolbar .btn:focus {
	filter: none;
}

.form-group .custom-switch {
	margin-bottom: .4rem;
}

.form-group.form-switch {
	display: flex;	
}
.form-group.form-switch .custom-switch {
	margin-left: 1rem;
}

.font-size-3 {
	font-size: 1rem;
}

.form-row {
	align-items: flex-end;
}

/* home - begin */

.card-columns-2 {
	column-count: 2 !important;
}

.logo-watermark {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=5)";
	filter: alpha(opacity=5);
	-moz-opacity: 0.05;
	-khtml-opacity: 0.05;
	opacity: 0.05;
	padding: 5rem;
	width: 90%;
}

/* home - end */

/* Toastr begin */

#toast-container > .toast-info {
  background-image: none !important;
}
#toast-container > .toast-error {
  background-image: none !important;
}
#toast-container > .toast-success {
  background-image: none !important;
}
#toast-container > .toast-warning {
  background-image: none !important;
}

.toast {
  background-color: #030303;
}
.toast-success {
  background-color: #d4edda;
}
.toast-success .toast-title,
.toast-success .toast-message {
	color: #155724;
}
.toast-error {
  background-color: #f8d7da;
}
.toast-error .toast-title,
.toast-error .toast-message {
  color: #721c24;
}
.toast-info {
  background-color: #d1ecf1;
}
.toast-info .toast-title,
.toast-info .toast-message {
  color: #0c5460;
}
.toast-warning {
  background-color: #fff3cd;
}
.toast-warning .toast-title,
.toast-warning .toast-message {
  color: #856404;
}

.toast-close-button {
	color: #212529;
}

#toast-container.toast-top-center {
	top: 1rem;
}

#toast-container > .toast:before {
  position: fixed;
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  font-size: 24px;
  line-height: 18px;
  float: left;
  padding-right: 0.5em;
  margin: auto 0.5em auto -1.5em;
}        
#toast-container > .toast-warning:before {
  content: "\f071";
  color: #856404;
}
#toast-container > .toast-error:before {
  content: "\f057";
  color: #721c24;
}
#toast-container > .toast-info:before {
  content: "\f05a";
  color: #0c5460;
}
#toast-container > .toast-success:before {
  content: "\f058";
  color: #155724;
}

#toast-container > div {
	opacity: 1 !important;
}

#toast-container.toast-top-center > div, #toast-container.toast-bottom-center > div {
    width: 400px;
    max-width: 900px;
}

/* Toastr end */

.item-deleted {
	filter: blur(3px) opacity(0.4) grayscale(1);
}

.sticky-top {
	top: 30px !important;
}

@media (min-width: 992px) {
	.sticky-top {
		top: 57px !important;
	}
}

.page-header {
	background-color: #fff;
}
.section-header {
	transition: font-size 0.2s cubic-bezier(.5,0,1,.5);
}

.sticky-on {
/* 	padding: 0.3rem 1rem 0.4rem 1rem !important; */
	display: inline-block;
	border-radius: 0 0 9px 0;
	box-shadow: 1px 2px 5px rgba(33, 37, 41, .5);
/* 	margin-left: -1rem; */
/* 	font-size: 1.2rem; */
}
.sticky-on .section-header {
	font-size: 1.2rem;
	margin-bottom: 0;
}
.sticky-on .section-header .btn-link {
	padding: 0 0 0 1rem;
}



/* Estilos específicos de aplicación ALERTAS */

.stroke {
  -webkit-text-fill-color: white; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  /*-webkit-text-stroke-color: black;*/
}

.stroke.fa-university.fas {
  -webkit-text-stroke-width: 0.5px;
}

.section-header div {
	transition: font-size 0.2s;
}

nav.header-idioma ul {
	visibility: hidden;
}

.layout-content {
	max-width: 100%;
}

.fluid {
	max-width: calc(1400px - 14rem);
}

@media (min-width: 576px) {
	.layout-content {
		max-width: calc(960px - 4rem);
		min-width: calc(100vw - 10rem);
	}
}

@media (min-width: 768px) {
	.layout-content {
		padding: 1rem 0 1rem 1rem;
	    min-height: calc(100vh - 101px);
		max-width: calc(960px - 4rem);
		min-width: calc(100vw - 10rem);
	}
	.container, .container-lg, .container-md, .container-sm, .container-xl {
	    max-width: calc(100vw - 7rem);
	}
}

@media (min-width: 992px) {
	.layout-content {
		max-width: calc(100vw - 7rem);
	}
}

@media (min-width: 1200px) {
	.layout-content {
		max-width: calc(100vw - 14rem);
		min-width: calc(100vw - 19rem);
	}
}

@media (min-width: 1500px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
	    max-width: 1400px;
	}
	.layout-content {
		max-width: calc(1450px - 14rem);
		min-width: calc(1450px - 19rem);
	}
}

/* Menú - begin */

.layout-menu {
	min-height: 100%;
	min-width: 2rem;
}

.layout-menu .list-group {
	padding-top: 1rem;
}

.layout-menu .list-group-item {
	padding: .45rem 1.25rem .45rem 1.25rem;
    border: 0;
    border-radius: 0 2rem 2rem 0;;
    margin-left: -1px;
    margin-right: 1px;
    margin-bottom: 0;
}

.layout-menu .list-group-item[aria-selected=true] {
	border-left: 0.5rem solid #ce0f3e;
	padding-left: 0.75rem;
	background-color: #f0f0f0;
	color: #ce0f3e;
} 
.layout-menu .list-group-item[aria-selected=true] i {
	color: #ce0f3e !important;
}

.layout-menu .list-group-item:hover {
	color: #ce0f3e;
}
.layout-menu .list-group-item:hover i {
	color: #ce0f3e !important;
}

.layout-menu .list-group-item.disabled {
	cursor: default;
	pointer-events: none;
	color: #868e96 !important;
	font-style: italic;
	font-weight: 400;
}
.layout-menu .list-group-item.disabled i {
	color: #868e96 !important;
}

.layout-menu .list-group-item.text-muted > i.fa,
.layout-menu .list-group-item.text-muted > i.far,
.layout-menu .list-group-item.text-muted > i.fas {
	color: #a0a6ac !important;
}

@media (min-width: 768px) {
	.layout-menu .list-group-item .menu-item-text {
		display: inline;
	}
}

@media (min-width: 992px) {
	.layout-menu .list-group-item .menu-item-text {
		display: none;
	}
}

@media (min-width: 1200px) {
	.layout-menu .list-group-item .menu-item-text {
		display: inline;
		font-weight: bold
	}
	.layout-menu {
		min-width: 12rem;
	}
}

/* Menú - end */

.segu-tag {
	display: inline-block;
	font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: .75rem;
	padding: 1px .6rem 0 .6rem;	
  border: 1px solid #dee2e6;
  border-radius: 2rem;
}

.segu-tag.tag-delegacion {
	background-color: #ffc107;
	border-color: #ffc107;
}

.d-flex > .segu-tag {
	line-height: 1.7;
}

.sticky-on .btn,
.sticky-on .sgs-btn-menu {
	display: none;
}

.sgs-btn-menu {
	border-radius: 50%;
    padding-top: 0.275rem;
    padding-bottom: 0.275rem;
    border: none;
    vertical-align: baseline;
}
.btn-outline-secondary.sgs-btn-menu:active,
.btn-outline-secondary.sgs-btn-menu:focus,
.btn-outline-secondary.sgs-btn-menu:hover,
.btn-outline-secondary.sgs-btn-menu[aria-expanded=true] {
	color: #343a40 !important;
	background-color: #e7ebee !important;
	box-shadow: none !important;
}

/* begin button round */

.sgs-btn-round {
	width: 2rem;
	height: 2rem;
    border: none;
	border-radius: 50%;
    padding: 0;
	box-shadow: none !important;
}

.btn-outline-primary.sgs-btn-round:active,
.btn-outline-primary.sgs-btn-round:focus,
.btn-outline-primary.sgs-btn-round:hover,
.btn-outline-primary.sgs-btn-round[aria-expanded=true] {
	color: #295eb3 !important;
	background-color: #e7ebee !important;
}

.btn-outline-info.sgs-btn-round:active,
.btn-outline-info.sgs-btn-round:focus,
.btn-outline-info.sgs-btn-round:hover,
.btn-outline-info.sgs-btn-round[aria-expanded=true] {
	color: #117c8d !important;
	background-color: #d6f6fa !important;
}

.btn-outline-secondary.sgs-btn-round:active,
.btn-outline-secondary.sgs-btn-round:focus,
.btn-outline-secondary.sgs-btn-round:hover,
.btn-outline-secondary.sgs-btn-round[aria-expanded=true] {
	color: #343a40 !important;
	background-color: #e7ebee !important;
}

.btn-outline-danger.sgs-btn-round:active,
.btn-outline-danger.sgs-btn-round:focus,
.btn-outline-danger.sgs-btn-round:hover,
.btn-outline-danger.sgs-btn-round[aria-expanded=true] {
	color: #bf2231 !important;
	background-color: #f4e1e1 !important;
}

.btn-outline-primary.sgs-btn-round[disabled],
.btn-outline-primary.sgs-btn-round[disabled]:hover,
.btn-outline-info.sgs-btn-round[disabled],
.btn-outline-info.sgs-btn-round[disabled]:hover,
.btn-outline-danger.sgs-btn-round[disabled],
.btn-outline-danger.sgs-btn-round[disabled]:hover {
	color: #6c757d !important;
	background-color: #f8f9fa !important;
}

.btn-outline-secondary.sgs-btn-round[disabled],
.btn-outline-secondary.sgs-btn-round[disabled]:hover {
	color: #6c757d !important;
	background-color: transparent !important;
}

/* end button round */

/* begin */

/* Se ocultan tags template en navegadores que no lo soportan todavía */
template {
	display: none;
}

[v-cloak] {
	display: none;
}

section > h2 {
	margin-bottom: 1.5rem;
}

.search-list mark {
	padding: 0;
	background-color: #fff5c0;
}

/* end */

.aemps-cb .custom-control-label::before {
	left: 0.45rem;
	width: 1.1rem;
	height: 1.1rem;
	background-size: 75%;
	border: 1px solid #a0a0a0;
}
.aemps-cb .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #007bff;
}

.aemps-cb .custom-control-label::after {
	left: 0.45rem;
	width: 1.1rem;
	height: 1.1rem;
	background-size: 75%;
}

.aemps-cb .custom-control-label::before {
	-webkit-transition: -webkit-box-shadow 0.25s ease-in-out;
	transition: -webkit-box-shadow 0.25s ease-in-out;
	transition: box-shadow 0.25s ease-in-out;
	transition: box-shadow 0.25s ease-in-out, -webkit-box-shadow 0.25s ease-in-out;
}


.btn-add {
	border-radius: 2rem;
}

/* >>>>> notificaciones (¿pasarlos a aemps.css?) */

#notification-area {
	padding-bottom: 1rem;
}

.alert.notification {
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
}
.alert.notification .alert-text {
	padding-top: 5px;
	padding-bottom: 5px;
}
.alert.notification.collapsing {
	overflow: hidden;
}

.alert.notification .close {
	padding: 0;
	padding-right: 0.5rem;
}

.alert-success {
	background-color: #c8e5bc; /* #dff0d8 */
}
.alert-danger {
	background-color: #e7c3c3; /* #f2dede */
}
.alert-info {
	background-color: #b9def0; /* #d9edf7 */ 
}
.alert-warning {
	background-color: #f8efc0; /* #fcf8e3 */
}

/* >>>>> fin notificaciones */


/* ini pagination */
.page-item.active .page-link {
	cursor: default;
}

.page-item.previous .page-link {
	border-radius: 2rem 0.5rem 0.5rem 2rem;
	margin-right: 0.5rem;
}

.page-item.previous + .page-item .page-link {
	border-top-left-radius: 0.25rem;
	border-bottom-left-radius: 0.25rem;
}

.page-item.next .page-link {
	border-radius: 0.5rem 2rem 2rem 0.5rem;
	margin-left: 0.5rem;
}
.page-item:nth-last-child(2) .page-link {
	border-top-right-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}
/* fin pagination */

.has-error .form-control.inner-optional {
	background-color: #fff;
}

label.disabled {
	cursor: not-allowed;
	color: gray;
	font-style: italic;
}

/* begin config */

#config .form-control:not(:focus) {
	xborder-color: transparent;
}

/* end config */

/* begin acdu */

#acdu #editor {
	width: 100%; 
	height: 10rem;
}

#acdu .focused {
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

#acdu .dataset td {
	max-width: 50rem;
}

#acdu .dataset {
	max-height: 75vh;
	overflow-y: auto;
	font-size: 10px;
}
#acdu .small-font {
	font-size: 12px;
}
@media (min-width: 576px) {
	#acdu .dataset {
		max-width: calc(540px - 12rem);
	}
}
@media (min-width: 768px) {
	#acdu .dataset {
		max-width: calc(720px - 12rem);
	}
}
@media (min-width: 992px) {
	#acdu .dataset {
		max-width: calc(960px - 12rem);
	}
}
@media (min-width: 1200px) {
	#acdu .dataset {
		max-width: calc(1140px - 12rem);
	}
}

/* end acdu */

/* begin listado fixed - común */
@media (min-width: 992px) {
	.listado-fixed table {
		table-layout: auto;
	}
	.listado-fixed td {		
		overflow: hidden;
		text-overflow: ellipsis;
		
	}	
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE10+ specific */
	/* Bug en IE11, no establece tamaño de tabla dentro de elemento con display: flex */
	.listado-fixed.card,
	.listado-fixed.card-body {
		display: block !important;
	}
	.listado-fixed table {
		table-layout: auto;
	}
	.listado-fixed td {
		white-space: normal;
		min-width: 6rem;
	}.listado-fixed th {
		white-space: normal;
		min-width: 6rem;
	}	
}
.listado-fixed tbody tr {
	cursor: pointer;
}

/* end listado fixed - común */

/* solicitud - begin */

/* solicitud - end */

/* TOOLTIP - begin */

.tooltip.tooltip-info .tooltip-inner {
	color: #0c5460;
    background-color: #d1ecf1;
}
.tooltip.tooltip-info .arrow::before {
	border-top-color: #d1ecf1;
}

.tooltip.tooltip-primary .tooltip-inner {
	color: #fff;
    background-color: #004085;
    xxborder-color: #b8daff;
}
.tooltip.tooltip-primary .arrow::before {
	border-top-color: #004085;
/*     border-color: #b8daff; */
}


/* TOOLTIP - end */

/* nav-line - begin */

.nav-line .nav-link {
	padding-bottom: 0;
	margin-bottom: .25rem;
}
.nav-line .nav-link.active,
.nav-line .show>.nav-link {
	font-weight: 500;
	border-bottom: 3px solid #3370d1;
}

/* nav-line - end */

/* multi-select - begin */

.invisible {
	visibility: hidden
}

.msl-search-list-input {
	/*margin-bottom: 10px*/
	display: none;
}

.msl-searchable-list {
	display: flex;
	flex-direction: column;
	width: 30rem;
	height: 23.1rem;
}

.full-ccaa .msl-searchable-list {
	height: 39.5rem;
}

.msl-searchable-list-envio{
	width: 30rem;
}

.msl-searchable-list__items {
	border: 1px solid #ced4da;
	border-radius: .25rem;
	flex-basis: 100%;
	overflow-y: auto;
	overflow-x: hidden
}

.msl-searchable-list__no-item {
	font-size: .8em;
	padding: 5px 10px;
	color: #c0c2c6
}

.msl-searchable-list__item {
	font-size: .9em;
	padding: 5px 10px;
	cursor: pointer;
	border-bottom: 1px solid #ced4da;
	border-radius: .25rem;
}

.msl-searchable-list__item:hover {
	background: #3858e7;
	color: #fff
}

.msl-multi-select {
	display: inline-flex;
	height: 26.5rem;
}

.msl-multi-select.full-ccaa {
    height: 39.5rem;
}

.msl-multi-select__actions {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding: 0 10px
}

.msl-multi-select__action {
	cursor: pointer
}

.msl-multi-select__action:hover {
	color: #c0c2c6
}

.msl-multi-select__action-select-all {
	margin-bottom: 20px
}

.msl-multi-select__action-unselect-all {
	margin-top: 20px
}

.msl-multi-select__action-icon {
	margin-top: 17px;
	color: #919191
}

.msl-multi-select__list {
	max-width: 100%
}
/* multi-select  - end */

/* Lista de alertas */ 
.col-nalerta {
    min-width: 6rem;
}

.col-fabricante {
    min-width: 15rem;
}

.col-producto {
    min-width: 20rem;
}

.col-adjuntos {
    min-width: 22rem;
}

.col-asunto {
	min-width: 15rem;
}

.col-tipoDoc {
	min-width: 20rem;
	max-width: 32rem;
}

.col-publicar {
	min-width: 7rem;
	max-width: 7rem;
}

.col-observaciones {
	min-width: 20rem;
	max-width: 50rem;
}

.date-picker {
	border-radius: .25rem;
}

select option:disabled {
    color: lightgray;
    font-style: italic;
}

select option:selected {
    font-weight: bold;
}

.fileicon {
	color: #ce0f3e;
    font-weight: 900;
    font-size: 1.3rem;
}

.fileiconOrange {
	color: darkorange;
}

.fileiconRed {
	color: #ce0f3e;
}

.fileiconBlue {
	color: darkblue;
}

.fileiconGreen {
	color: darkgreen;
}

.fileiconBlack {
	color: black;
}

.shadow-sm {
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12) !important;
}

div.card.card-custom {
    border: 0;
    margin-bottom: 30px;
    margin-top: 30px;
    border-radius: 6px;
    color: rgba(0,0,0,.87);
    background: #fff;
    width: 100%;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
}

div.card.card-custom.card-plain {
    background: transparent;
    box-shadow: none;
}
div.card.card-custom .card-header {
    border-radius: 3px;
    padding: 1rem 15px;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: -30px;
    border: 0;
    background: linear-gradient(60deg,#eee,#bdbdbd);
}

.card-plain.card-custom .card-header:not(.card-avatar) {
    margin-left: 0;
    margin-right: 0;
}

.div.card.card-custom .card-body{
    padding: 15px 30px;
}

div.card.card-custom .card-header-primary {
    background: linear-gradient(60deg,#3370d1,#6c757d);
    border-color: #6c757d;
    box-shadow: 0 5px 5px 0 rgba(0,0,0,.2), 0 5px 10px -11px rgba(98,97,113,.6);
}

div.card.card-custom .card-header-danger {
    background: linear-gradient(60deg,#ef5350,#6c757d);
    box-shadow: 0 5px 5px 0 rgba(0,0,0,.2), 0 5px 10px -11px rgba(244,67,54,.6);
}


.card-nav-tabs.card-custom .card-header {
    margin-top: -30px!important;
}

.card.card-custom .card-header .nav-tabs {
    padding: 0;
}

.nav-tabs.card-custom {
    border: 0;
    border-radius: 3px;
    padding: 0 15px;
}

.nav.card-custom {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-tabs.card-custom .nav-item {
    margin-bottom: -1px;
}

.nav-tabs.card-custom .nav-item .nav-link.active {
    background-color: hsla(0,0%,100%,.2);
    transition: background-color .3s .2s;
}

.nav-tabs.card-custom .nav-item .nav-link{
    border: 0!important;
    color: #fff!important;
    font-weight: 500;
}

.nav-tabs.card-custom .nav-item .nav-link {
    color: #fff;
    border: 0;
    margin: 0;
    border-radius: 3px;
    line-height: 24px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 15px;
    background-color: transparent;
    transition: background-color .3s 0s;
    font-weight: bold;
}

.nav-link.card-custom {
    display: block;
}

.nav-tabs.card-custom .nav-item .material-icons {
    margin: -1px 5px 0 0;
    vertical-align: middle;
}

.nav.card-custom .nav-item {
    position: relative;
}

form label {
    font-weight: bold;
}

/* CKEDITOR OCULTAR MENSAJE ERROR */
.cke_notification_warning {
   display:none !important;
}
