


/* FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* GENERAL */

body{
    font-family: "Poppins", sans-serif !important;
}

body select, body option, textarea, input[type="text"], input[type="password"], select, textarea, .rich-tab-inactive, .rich-tab-active{
    font-family: "Poppins", sans-serif !important;
}

table, div, a, label, #contenido table, .rich-calendar-exterior *, .textoIcono32, .rich-table-cell{
    font-family: "Poppins", sans-serif !important;
}

#opciones label, .bloquePpal .accesoTitulo, .rich-calendar-tool-btn, .accesoTitulo, .rich-panel-header, 
.rich-tree-node-selected span, .rich-calendar-editor-btn-selected, 
.bloquePpal a, .tabla-anuncios .stable a, .stable.row_par a, .stable.row_impar a, .labelTablon, .tituloDocumentacion{
    font-family: "Poppins", sans-serif !important;
}

#opciones12 label, .bloquePpal .accesoTitulo, .rich-calendar-tool-btn, .accesoTitulo, .rich-panel-header, 
.rich-tree-node-selected span, .rich-calendar-editor-btn-selected, 
.bloquePpal a, .tabla-anuncios .stable a, .stable.row_par a, .stable.row_impar a, .labelTablon, .tituloDocumentacion{
    font-family: "Poppins", sans-serif !important;
}

#op3 label, .labelTablon, .labelTablonSinPadding, .labelTablonNoWidth, th div{
    font-family: "Poppins", sans-serif !important;
}

body a, body a:link, body a:visited, body #migas_item {
  color: #014fa7;
}

/* CABECERA */

#cabecera {
    box-shadow: none !important;
    border-bottom: 1px solid #ccc;
}

#busqueda_rapida .alignCenter{
  text-align: right !important;
}

#logo_autenticado{
  width: auto;
  max-width: 142px;
}

.icono.buscarBlack{
  /*width: 24px;
  height: 24px;*/
}

/* CUERPO */

.rich-panel-header{
    font-size: 16px;
}

body .accesoTitulo, body .tituloDocumentacion {
  color: black !important;
  font-size: 16px;
  font-weight: bold;
}

#bandejaAnunciosContent td{
  text-align: left;
}

#bandejaAnunciosContent td .rich-datascr-button, #bandejaAnunciosContent td .rich-datascr-inact, #bandejaAnunciosContent td .rich-datascr-act{
  text-align: center;
}

#bandejaAnunciosContent td .rich-datascr-inact:hover, #bandejaAnunciosContent td .rich-datascr-button:hover{
  background: rgb(233, 233, 233) !important;
}

#bandejaAnunciosContent .alignCenter td{
  text-align: center;
}

#bandejaAnunciosContent .stable.row_impar a, #bandejaAnunciosContent .stable.row_par a{
  font-weight: bold;
  text-align: left !important;
}

#bandejaAnunciosContent .stable.row_impar a:hover, #bandejaAnunciosContent .stable.row_par a:hover{
  text-decoration: underline !important;
}

#bandejaAnunciosContent .stable.row_impar a.accesoTitulo, #bandejaAnunciosContent .stable.row_par a.accesoTitulo{
  font-weight: normal;
}

/* PESTAÑAS */

body .rich-tab-inactive{
    background: white !important;
    border: none !important;
    border-bottom: 4px solid white !important;
    color: black !important;  
    font-size: 15px;
}

body .rich-tab-active{
    background: white !important;
    border: none !important;
    border-bottom: 4px solid blue !important;
    color: black !important;
    font-weight: bold;
    font-size: 15px;
}

body .rich-tabhdr-side-border{
  background-image: none;
}

body .rich-tabhdr-side-cell {
  border-top-color: white;
}

/*******************/
body .rich-tab-inactive:hover{
    border-bottom-color: #014fa7 !important;
}

body .rich-tab-active{
    border-color: #014fa7 !important;
}
/*******************/

/* LATERAL */

/* Calendario */

.rich-calendar-exterior {
  border-color: #ccc;
}

.rich-calendar-header > table, body .rich-calendar-tool, body .rich-calendar-month {
    background-color: #014FA7 !important;
}
body .rich-calendar-tool-btn-hover {
    background-color: #2A72C4 !important;
}

.accesoSeparador {
  display: none;
}

#tablaUltimasPublicaciones .rich-panel {
  background-color: white;
  border-color: #ccc;
}

#tablaEnlacesInteres .rich-panel {
  border-radius: 100px !important;
  -webkit-box-shadow: 0px 6px 10px 0px var(--btn-shadow);
  -moz-box-shadow: 0px 6px 10px 0px var(--btn-shadow);
  box-shadow: 0 6px 10px 0 var(--btn-shadow);
}

#tablaEnlacesInteres .rich-panel a {
  color: white !important;
}

#tablaEnlacesInteres .rich-panel a:hover {
  text-decoration: underline;
}

 /* MODAL */

.rich-mpnl-content{
  border-radius: 8px;
}

.rich-mpnl-header {
  text-align: left !important;
  font-weight: normal;
  padding-left: 10px;
  font-size: 16px;
  border-radius: 5px;
}

/* FOOTER */

.footer {
  border-top: 1px solid #ccc;
  position: relative;
}

/* CORRECCIONES ICONOS */

#opciones12 {
  /*background: transparent url(../iconos/ionicons/reloj2.svg) no-repeat 20px 0px;*/
  background-size: 24px;
}

#opciones {
  /*background: transparent url(../iconos/ionicons/reloj.svg) no-repeat 20px 0px;*/
  background-size: 24px;
}

.icono{
  width: 24px;
  height: 24px;
}

/* COLORES ICONOS */

/* Azul OV3 */ 
#op3 img, .icono.buscarBlack, #bandejaAnunciosContent .alignCenter img, .icono32.buscar, .icono32.limpiar, .rich-calendar-button, .icono24, .icono32, .icono, #mini-off, #mini-on{
  filter: invert(9%) sepia(81%) saturate(7492%) hue-rotate(200deg) brightness(99%) contrast(111%);
}


/********************************** NUEVA CABECERA ********************************/


header{
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.header-container{
  margin: 0 auto;
  padding: 0 2rem;
}

.header-row{
  
}

.header-row.top{
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: flex-end;

}

.header-row.bottom{
  display: flex;
  justify-content: space-between;
}

.interno .header-row.bottom{
  justify-content: space-between;
}

.logos{
  display: flex;
  text-align: left;
}

.interno .logos{
  flex-grow: 1;
}

.opciones{
  display: flex;
  align-items: center;
}

#idiomas select{
  padding: 4px 12px;
  border: none;
  font-size: 14px;
}

.hora-oficial{
  text-align: right;
  text-transform: uppercase;
}

body #op2 .hora {
  font-size: 2rem !important;
  font-weight: 600;
  display: block;
}

body #op2 .fecha{
  color: #585858;    
  font-size: 14px !important;
  display: block;
}

header .usuario form{
  display: flex !important;
  flex-direction: column;
  text-align: right;
  justify-content: center;
  height: 100%;
  margin-left: 10px;
  padding-left: 5px;
  border-left: 1px solid #ccc;
}

header .usuario .ultimoacceso label{
  color: #585858 !important;
  font-size: 12px !important;
  font-weight: normal !important;
}

/* Búsqueda */

.search-wrapper .icono.buscar{
  display: none;
}

.search-wrapper {
  position: relative;
  width: 40px;              /* solo la lupa */
  overflow: hidden;
  transition: width 0.3s ease;
  overflow: hidden;
  text-align: right;
  margin-right: 1rem;
  height: 60px;
}

.search-wrapper form {
  margin-bottom: 0;
}

.search-wrapper input {
  width: 100%;
  padding: 8px 8px 8px 32px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: url("../iconos/ionicons/buscar2.svg") no-repeat 6px center;
  background-size: 24px;
  cursor: pointer;
}

.search-wrapper a {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Estado expandido */
.search-wrapper.active {
  width: 220px;
}
.search-wrapper.active input {
  border: 1px solid #ccc;
  outline: none;
}

.search-wrapper.active a {
  opacity: 1;
  pointer-events: auto;
}


.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption), .visually-hidden:not(caption) {
  position: absolute !important;
}

.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}



/* NUEVA CABECERA */


@media (max-width: 768px) {
  
  .logos{
    position: absolute;
  }
  
  .logos img{
    height: 60px;
  }

  .header-container{
    height: 92px;
  }

  .header-search{
    height: 26px;
  }

  .header-row.bottom {
    height: 62px;
  }
  
  body #busqueda_rapida.search-wrapper {
    margin-right: 0 !important;
    margin-top: 0 !important;
    height: 40px;
  }

  .opciones {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: relative;
    align-items: initial;
  }

  .hora-oficial {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .hora-oficial .fecha {
    order: 1;
  }

  body #op2.hora-oficial .hora {
    order: 2;
    font-size: 14px !important;
    margin-left: 10px;
  }

  body #busqueda_rapida.search-wrapper.active {
    margin-top: 0;
    width: 50%;
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 0 0 0;
    background-color: #fff;
    height: 57px;
    z-index: 2;
    text-align: right;
  }

  body #busqueda_rapida.search-wrapper.active input {
      /*width: calc(100% - 2rem);*/
      transition: 0s;
  }

  body #busqueda_rapida.search-wrapper.active form {
      text-align: right;
  }
  
  body #busqueda_rapida.search-wrapper.active a {
    margin-top: 0px;
  }  


  .interno.header-container{
    height: 98px;
  }

  .interno .header-row.bottom {
    height: 62px;
    flex-wrap: wrap;
    width: 100%;
  }

  .interno .logos {
    margin-top: 5px;
  }

  .interno .usuario form {
    align-items: flex-end;
    /*flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 10px;*/
    border-left: none;
    margin-top: 2px;
  }

  .interno .usuario form div {
    display: flex;
    align-items: center;
  }

  header .usuario {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .interno .hora-oficial {
    margin-top: 8px;
    width: 100%;
    justify-content: flex-start;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

@media (max-width: 600px) {

  .header-container{
    height: 110px;
  }

  .interno.header-container{
    height: 100px;
  }

  .header-search{
    height: 50px;
  }

  .opciones {
    align-items: center;
  }

  .header-row.bottom {
    height: 80px;
  }

  .hora-oficial {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  body #busqueda_rapida.search-wrapper.active {
    margin-top: 0;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 0;
    background-color: #fff;
    height: 57px;
    z-index: 2;
    text-align: right;
  }

  body #busqueda_rapida.search-wrapper.active input {
      /*width: calc(100% - 2rem);*/
      transition: 0s;
  }

  body #busqueda_rapida.search-wrapper.active form {
      text-align: right;
  }
  
  body #busqueda_rapida.search-wrapper.active a {
    margin-top: 6px;
  }
}


/* RESPONSIVE CONTENIDO Y LATERAL */

#contenido{
  margin: 20px;
  display: flex;
  gap: 0px;
}

#contenido > center{
  flex-grow: 1;
}

.contenido-left{
  flex-grow: 1;
  flex-shrink: 1;
}

#sidebar{
  padding: 10px;
  flex-grow: 0;
  flex-shrink: 0;
  width: 250px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  transition: all 0.2s;
}

#sidebar .side-title{
  display: none;
}

#sidebar.min {
  min-width: 0;
  width: min-content;
}

#sidebar.min .side-content {
  display: none;
}

#sidebar #mini-off {
  display: none;
	padding: 0;
	border-radius: 4px;
  color: transparent;
  border: none;
  cursor: pointer;
  background: transparent;
}

#sidebar #mini-on {
	padding: 0;
	border-radius: 4px;
  color: transparent;
  border: none;
  cursor: pointer;
  background: transparent;
}

#sidebar #mini-off img {
  width: 24px;
  height: 24px;
}

#sidebar #mini-on img {
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
}

#sidebar.min #mini-off {
  display: block;
}

#sidebar.min #mini-on {
  display: none;
}

@media (max-width: 992px) {

  #contenido{
    flex-wrap: wrap;
  }

  .contenido-left{
    order: 2;
    width: 100%;
  }
  
  #sidebar{
    order: 1;
    width: 100%;
    box-sizing: border-box;
  } 

  #sidebar .side-toolbar{
    text-align: right;
    order: 1;
  }

  #sidebar .side-content{
    order: 2;
  }
  
  #sidebar.min{
    width: 100%;
    max-height: 80px;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-direction: reverse;
    justify-content: space-between;
    justify-content: flex-end;
    background: #efefef;
  } 

  #sidebar.min .side-toolbar{
    order: 2;
  }

  #sidebar.min .side-title{
    order: 1;
    display: none;  /* block */  
  }

  #sidebar.min #mini-off img {
    transform: rotate(-90deg);
  }
  
  #sidebar #mini-on img {
    transform: rotate(90deg);
  }
}


/* RESPONSIVE INTERIOR CONTENIDO */

.contenido-left .width95 td{
    display: block;
    width: 100%;
}  

.stable.row_par {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 0 0 6px 70px;
  background: white url(../iconos/ionicons/post2.svg) no-repeat 20px 20px !important;
  background-size: 40px !important;
  -webkit-box-shadow: 0px 6px 6px 0px rgba(1,79,167,.10);
  box-shadow: 0 6px 6px #014fa720;
}

.stable.row_impar {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 0 0 6px 70px;
  background: #efefef url(../iconos/ionicons/post2.svg) no-repeat 20px 20px !important;
  background-size: 40px !important;
  -webkit-box-shadow: 0px 6px 6px 0px rgba(1,79,167,.10);
  box-shadow: 0 6px 6px #014fa720;
}

.stable.row_par:hover {
  background-color: rgb(233, 233, 233) !important;
}

.stable.row_impar:hover{
  background-color: #e2e2e2 !important;
}

.stable.row_par td, .stable.row_impar td {
  padding-top: 0;
}

@media (max-width: 992px) {

  .contenido-left .width95, .contenido-left .width5{
    display: block;
    width: 100%;
  }

  .contenido-left .width5 > table{
    display: block;
  }

}

@media (max-width: 600px) {

  .stable.row_par, .stable.row_impar {
    background: #efefef url(../iconos/ionicons/post2.svg) no-repeat 16px 21px !important;
    padding: 0 0 6px 40px;
    background-size: 20px !important;
  }

}


/* RESPONSIVE INTERIOR FICHA */

#editarAnuncioForm td.width85{
  width: 100%;
}
 
@media (max-width: 992px) {  

  #editarAnuncioModalContentDiv {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    max-height: 100vh; 
    overflow-y: auto;
  }

  #editarAnuncioModalContentTable{
    width: 99vw !important;
    margin: auto;
  }

  #editarAnuncioForm td.width85, #editarAnuncioForm td.width15{
    display: block;
    width: 100%;
  }

  #editarAnuncioForm td.width85 td{
    display: block;
    width: 100%;
  }

  #editarAnuncioForm td.width15 table{
    float: none !important;;
    text-align: center !important;
    margin: auto;
  }

  #editarAnuncioForm .labelTablon{
    text-align: left;
    padding-right: 0;
    font-weight: bold;
    float: none;
  }

}

@media (min-width: 992px) {

  #editarAnuncioForm{
    position: relative;
  }

  #editarAnuncioForm td.width15 {
    position: absolute;
    right: 0;
    width: auto;
  }

  #editarAnuncioForm td.width15 td {
    vertical-align: top;
  }

  #editarAnuncioForm td.width15 .textoIcono32 {
    width: 100px !important;
    display: flex;
  }

}


/* FIX CALENDAR DISABLED ICON */

span:has(.rich-calendar-input[disabled]) .rich-calendar-button {
  content: url("../iconos/ionicons/calendar.svg");
  filter: none;
  opacity: .4;
  cursor:auto;
}

/* TABLAS */

.rich-table-cell{
  border-top: 1px solid #ccc;
  border-bottom: none !important;
}

/*
body th {
  background: #fff !important;
  border-color: #fff !important;
}

body th input {
  border: 1px solid #ccc !important;
}

th div {
  color: #868686 !important;
}
  */

/* Label */

.obligatorio {
  background: none;
}

.obligatorio:after {
  content: "*";
  font-weight: bold;
  font-size: 1.1rem;
  margin-left: 4px;
  color: #ff5722;
}

/* LATERAL CONFIGURACION */

div[id*="panelAvisosGeneral_body"] {
  padding: 0;
}

.panelListaMensajes{
  display: flex;
}

.panelListaMensajes > div:first-child{
  width: 230px;
}

.panelListaMensajesAsoc{
  background-color: #37474F;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.panelListaMensajesAsoc h2{
  color: #ffffff;
  border-bottom: none;
  padding-left: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  width: auto;
  padding-top: 36px;
}

.panelListaMensajesAsoc .panelMensajeAsoc{
  background-color: #37474F;
  border: none;
  border-radius: 0;
  text-align: left;
  padding: 0;
  height: 100%;
}

.panelListaMensajesAsoc .panelMensajeAsoc > div{
  padding: 0;
}

.panelListaMensajesAsoc .panelMensajeAsoc a{
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  line-height: normal !important;
}

.panelListaMensajesAsoc .panelMensajeAsoc a:hover{
  background-color: #263238;
}

.panelListaMensajesAsoc .panelMensajeAsoc a.active::after {
  content: url('../iconos/ionicons/confirmar.svg');
  display: inline-block; /* o block */
  width: 20px;
  height: 20px;
  height: 20px;flex-shrink: 0;
  filter: invert(91%) sepia(3%) saturate(6430%) hue-rotate(58deg) brightness(92%) contrast(72%);
}

.panelListaMensajesAsoc .panelMensajeAsoc a.current{
background-color: #ffffff !important;
color: black !important;
}

.panelListaMensajesAsoc .panelMensajeAsoc a.current.active::after {
  filter: invert(54%) sepia(54%) saturate(412%) hue-rotate(71deg) brightness(94%) contrast(86%);
}

/* AJUSTE COLUMNA */

.imgCorp > tr > td:first-child{
  width: 150px;
}

/* BOTON EXAMINAR */

.rich-fileupload-button-border{
  background-color: #014fa7;
  border-radius: 10px;
}

.rich-fileupload-button {
  background-color: #014fa7 !important;
  border-radius: 5px;
  background-image: none;
}

.rich-fileupload-button-light {
  background-color: #003470 !important;
  border-radius: 5px;
  background-image: none;
}

.rich-fileupload-ico-add {
  background: #014fa7 url(../iconos/ionicons/add-white.svg) 4px 0 no-repeat;
  color: white;
  padding-left: 30px;
}

.rich-fileupload-button-light .rich-fileupload-ico-add {
  background: #003470 url(../iconos/ionicons/add-white.svg) 4px 0 no-repeat !important;
}