@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

* {
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

section section,
section.section {
  padding: 0px;
}

section .row .column section .row .column {
  border-right: 1px solid #787878;
  padding: 30px 15px;
}

.column:has(> .textImageComponent.textImageComponent) {
  padding-top: 20px;
  padding-bottom: 20px;
}

.rowTitle .col-12 {
  margin: 20px 0;
}

section .row .column section .row .column:last-child {
  border-right: 0px solid #787878;
}

.row {
  margin: 0;
  align-items: stretch !important;
}

.column {
  padding: 0;
  position: unset;
}

.container {
  margin: 0;
  padding: 0;
  margin: auto;
}

img {
  max-width: 100%;
}

a.btn.btn-default {
  border: 1px solid #787878;
  border-radius: 20px;
  box-shadow: none;
}

.bg-primary a.btn.btn-default {
  color: white;
  border: 1px solid #bfbdbd;
}

button {
  border: 1px solid #787878;
}

.shadow {
  box-shadow: none !important;
}

.textImageComponent {
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
}

.textImageComponent h2 {
  margin: 0.5rem 0 3rem 0;
}

.textImageComponent img {
  margin: 2rem 0 0 0;
}

.pull-right {
  float: none;
}

.color-primary {
  color: #006292;
}

.color-bluelight {
  color: #a3c3e4;
}
.w-33 {
  width: 33%;
}
.header img.img-responsive {
  width: 200px;
}

.row::before {
  border-bottom: 1px solid #787878;
  content: "";
  display: block;
  max-width: 100%;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
}

section section section::before {
  border-bottom: 0px solid #787878;
}

.plr-20 {
  padding: 0 20px;
}

.text-align-right {
  text-align: right;
}

section.header_top {
  align-items: center;
  justify-content: space-between;
}

section.header_top::before {
  border: none;
}

section.header_top h1 {
  font-size: 80px;
}

.fixed {
  position: fixed;
}

#header-sticky-wrapper {
  background-color: white;
  z-index: 99999999;
}

#header-sticky-wrapper.fixed {
  border-bottom: 1px solid #787878;
}

#header-sticky-wrapper.fixed ~ #header-hidden h1,
#header-sticky-wrapper.fixed h1 {
  font-size: 60px;
}

#header-sticky-wrapper.fixed ~ #header-hidden img,
#header-sticky-wrapper.fixed img {
  width: 150px !important;
}

#header-sticky-wrapper h1,
#header-sticky-wrapper img {
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s;
}

.bg-primary,
.bg-secondary,
.header_menu.header_menu_in_page nav,
.header_menu.header_menu_in_page nav .navbar-collapse.collapse,
.unidades-especializadas .header .icon,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
.simple-pagination ul li.active span,
.simple-pagination ul li:not(.disabled) a:hover,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover,
.datepicker
  .ui-datepicker-inline.ui-widget-content
  .dia-evento
  .ui-state-default {
  background-color: #006292 !important;
}

.bg-primary,
.table-hover.bg-primary tbody tr:hover,
.table-hover.bg-info tbody tr:hover,
.table-hover.bg-dark tbody tr:hover,
.table-hover.bg-danger tbody tr:hover {
  color: #fff;
}

section.breadcrumbs .breadcrumbs li {
  display: inline-block;
  list-style: none;
  margin-right: 5px;
}

.col-md-2,
.col-md-3,
.col-md-4,
.col-md-6 {
  border-right: 1px solid #787878;
}

.col-md-2:last-child,
.col-md-3:last-child,
.col-md-4:last-child,
.col-md-6:last-child {
  border-right: 0px solid #787878;
}

.page-content
  section.section
  .row.rowTitle
  + .row
  > .column:not(.align-self-center),
.page-content section.section.pt-0 > .row .column:not(.align-self-center),
.column-detail
  > section[class*="section"]:first-child
  .container
  > .row.rowTitle
  + .row
  > .column:not(.align-self-center),
.page-content
  > section.section.pt-0
  > .container
  > .row
  > .column:not(.align-self-center),
.page-content
  section.section.pb-0
  + section.section.pt-0
  > .container
  > .row
  > .column:not(.align-self-center),
.page-content > .breadcrumbs + section.pt-0,
.page-content .section .row:not(.rowTitle) > .column > .row > .column,
.page-content
  .section.pb-0
  + .section.pt-0
  > .container
  > .row.rowTitle
  > .col-12 {
  padding-top: 40px;
  margin-top: 0;
}

.page-content section.section .container .row ~ .row .column {
  padding-top: 0;
}

div.containerBg {
  position: static;
}

.header-content {
  width: 33%;
}

.destacado .detalle-destacado .textImageComponent,
.destacado .detalle-destacado .linkComponent {
  max-width: 100%;
  width: 100%;
}

.section.last-news h2,
.section.last-news h3 {
  line-height: 24px;
  font-size: 16px;
}

a.btn.btn-link {
  color: black;
  border-bottom: 2px solid;
  border-radius: 0;
  padding: 0;
  font-size: 16px;
  transition: 0.3s linear;
}

a.btn.btn-link:hover {
  text-decoration: none;
  padding: 0 15px;
}

.bg-primary a.btn.btn-default:hover {
  color: #006292;
  background-color: white;
}

section .row .column section .row.no-border .column {
  border: none;
}

section .row .column section .row .column:has(> .destacado > .float) {
  padding-top: 50px;
}

img.img-responsive {
  width: 100%;
}

@media (max-width: 768px) {
  #header-sticky-wrapper {
    border-bottom: 1px solid #787878;
  }

  .column {
    padding: 30px 15px;
  }

  section .row .column section .row .column {
    border-right: 0;
    padding-top: 20px;
  }

  section .row .column section .row .column > * {
    margin-top: 20px !important;
  }

  section .row .column section .row .column::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #787878;
    left: 0;
  }

  section .row .column section .row .column.col-sm-6:nth-child(even) {
    /* border-left: 1px solid #787878; */
  }

  .row::before {
    border-bottom: 0px solid #787878;
  }
}

@media (max-width: 1360px) {
  .header-content {
    width: fit-content;
  }
}

@media (max-width: 1050px) {
  #header-sticky-wrapper.fixed ~ #header-hidden h1,
  #header-sticky-wrapper.fixed h1,
  #header-hidden h1,
  #header-sticky-wrapper h1 {
    font-size: 60px;
  }

  #header-sticky-wrapper.fixed ~ #header-hidden img,
  #header-sticky-wrapper.fixed img,
  #header-hidden img,
  #header-sticky-wrapper img {
    width: 150px !important;
  }
}

@media (max-width: 867px) {
  #header-sticky-wrapper.fixed ~ #header-hidden h1,
  #header-sticky-wrapper.fixed h1,
  #header-hidden h1,
  #header-sticky-wrapper h1 {
    font-size: 40px;
  }

  #header-sticky-wrapper.fixed ~ #header-hidden img,
  #header-sticky-wrapper.fixed img,
  #header-hidden img,
  #header-sticky-wrapper img {
    width: 120px !important;
  }
}

@media (max-width: 668px) {
  .boletines-info {
    display: none;
  }
}

@media (max-width: 460px) {
  #header-sticky-wrapper.fixed ~ #header-hidden h1,
  #header-sticky-wrapper.fixed h1,
  #header-hidden h1,
  #header-sticky-wrapper h1 {
    font-size: 28px;
  }

  #header-sticky-wrapper.fixed ~ #header-hidden img,
  #header-sticky-wrapper.fixed img,
  #header-hidden img,
  #header-sticky-wrapper img {
    width: 100px !important;
  }
}

/* section section:last-child:after {
  border-bottom: 1px solid #787878;
  content: "";
  display: block;
  max-width: 100%;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 2.5em;
} */
