
@import 'reset.css';

.cookies_panel {
  position: fixed;
  height: 100px;
  bottom: 0px;
  width: 50%;
  margin-left: 25%;
}

body {
  background-color: var(--bg-palette-bc);
  font-family: var(--bd-font-tajawal);
}

header,
main,
section,
footer {
  width: 100%;
}

main {
  max-width: 1320px;
}

.header,
.content,
.footer {
  width: 1320px;
}

.modulo-access {
  position: relative;
}

.modulo-access>div {
  max-width: 1320px;
}

.dropdown-toggle span {
  margin-top: 2px;
}

header .nav-acessibility {
  z-index: 10000;
}

.header {
  height: 100px;
  position: relative;
}

.header h1 {
  width: 300px;
  height: 100px;
  text-indent: -9999em;
  overflow: hidden;
  float: left;
}

.header h1 a {
  display: block;
  height: 100px;
  background: transparent url(/assets/brand_full.png) no-repeat center;
}

html[data-bs-theme="dark"] .header h1 a {
  background-image: url(/assets/brand_full_.png);
}

.header label.navMobile {
  display: none;
  width: 40px;
  height: 35px;
  right: 10px;
  top: 23px;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
}

.header label.navMobile span {
  background-color: var(--bs-gray-900);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  height: 4px;
  margin: 3px 0;
  transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.header span:nth-of-type(1) {
  width: 50%;
}

.header span:nth-of-type(2) {
  width: 100%;
}

.header span:nth-of-type(3) {
  width: 75%;
}

.header .navMobile input[type="checkbox"] {
  display: none;
}

.header .navMobile input[type="checkbox"]:checked~span:nth-of-type(1) {
  transform-origin: bottom;
  transform: rotatez(45deg) translate(3px, 0px)
}

.header .navMobile input[type="checkbox"]:checked~span:nth-of-type(2) {
  transform-origin: top;
  transform: rotatez(-45deg)
}

.header .navMobile input[type="checkbox"]:checked~span:nth-of-type(3) {
  transform-origin: bottom;
  width: 50%;
  transform: translate(17px, -4px) rotatez(45deg);
}

.header nav {
  margin-top: 30px;
  position: relative;
  float: right;
}

.header nav li {
  position: relative;
  float: left;
}

.header nav li li {
  float: none;
}

.header nav li ul {
  display: none;
  width: 300px;
  padding: 5px 0;
  background-color: var(--bg-navbar-top);
  top: 34px;
  left: 0;
  z-index: 1030;
  position: absolute;
}

.header nav a {
  display: block;
  margin: 0;
  padding: 5px 15px;
  text-decoration: none;
  color: #000;
  transition: .2s;
  position: relative;
}

.header nav a.active,
.header nav li a:hover {
  background-color: var(--bg-navbar-top);
}

.header nav li li a:hover {
  text-decoration: underline;
}

.header nav li li a {
  margin: 0;
  width: 100%;
  padding: 5px 10px;
  border-bottom: 1px solid var(--bs-warning-border-subtle);
}

.header nav li li:last-child a {
  border-bottom: none;
}

.header .nav-top-section {
  display: none;
}

.header a[href*="transparencia"],
.header a[href*="eatos"],
.header a[href*="esic"] {
  padding-left: 40px;
  background: transparent url(/assets/lnks_portal.png) no-repeat 10px -87px;
}

.header a[href*="transparencia"] {
  background-position: 10px -94px;
}

.header a[href*="eatos"] {
  background-position: 10px -44px;
}

.header a[href*="esic"] {
  background-position: 10px 5px;
}

.nav-link {
  color: var(--bs-light-text-emphasis);
}

.nav-tabs .nav-link.active {
  background-color: transparent;
  border-bottom-color: var(--bg-palette-bc);
  color: var(--bs-primary-text-emphasis);
}

.tab-content * a,
.not-decoration-link {
  text-decoration: none;
  color: var(--bs-primary-text-emphasis);
}

.tab-content a:hover,
.not-decoration-link:hover {
  border-color: var(--bs-primary-text-emphasis) !important;
  background-color: var(--bs-primary-bg-subtle);
}

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

.tab-content.content-list a:hover {
  border-color: none !important;
  background-color: transparent !important;
}

.lnk-services {
  width: 131px;
  height: 120px;
}

.head-foot {
  display: block;
  min-height: 100%;
  background: transparent url(/assets/brand.png) no-repeat center;
  text-indent: -9999em;
  position: relative;
}

.links-social-network a {
  text-indent: -9999em;
  width: 50px;
  height: 50px;
  background: transparent url(/assets/social_net_30.png) no-repeat center top;
  position: relative;
}

.links-social-network a[href*="instagram"] {
  background-position: center -50px;
}

.links-social-network a[href*="youtube"] {
  background-position: center -100px;
}

.lnks-footer a {
  text-decoration: none;
  color: var(--bs-gray-900);
}

.lnks-footer a:hover {
  text-decoration: underline;
  color: var(--bs-link-hover-color);
}

.social_net_send a {
  width: 40px;
  height: 40px;
  text-indent: -9999em;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: url(/assets/social_net_24.png);
}

a.send_whats {
  background-position: center -70px !important;
}

a.send_face {
  background-position: center -110px !important;
}

a.send_telegram {
  background-position: center -30px !important;
}

.contacts-list a {
  text-decoration: none;
}

strong {
  font-weight: 700;
}

p {
  font-size: 1.2em;
}

.show-content p {
  margin-bottom: 18px;
}

.show-content ul {
  margin-left: 20px;
  font-size: 1.2em;
}

.list-group-item p {
  font-size: 1em;
}

footer p {
  font-size: 1em;
}

.card-image {
  height: 200px;
}

blockquote {
  border-left: 0.5em solid #2670e8;
  background: #e3e9fe47;
  padding: 20px;
  font-size: 1.2em;
}

@media (max-width: 1200px) {
  .header {
    width: 100%;
    padding: 0 20px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
  }

  .card-image {
    height: 150px;
  }

  .lnk-services {
    width: 118px;
    font-size: .9em;
  }

  main {
    padding-top: 80px;
  }

  .modulo-access {
    bottom: 0;
    right: 0;
    padding-bottom: 5px;
    border: none;
    border-top: 1px solid var(--bs-secondary-color);
    border-bottom: 0 !important;
    z-index: 1010;
    position: fixed;
  }

  .modulo-access div {
    text-align: center;
  }

  .header {
    height: 80px;
    padding: 0;
    position: fixed !important;
    height: 80px;
    z-index: 1020;
    background-color: var(--bg-palette-bc);
  }

  .header h1 {
    height: 80px;
    width: 210px
  }

  .header h1 a {
    height: 80px;
    background-image: url(/assets/brand_medium.png);
  }

  html[data-bs-theme="dark"] .header h1 a {
    background-image: url(/assets/brand_medium_.png);
  }

  .header label.navMobile {
    display: flex;
    visibility: visible;
  }

  .header nav {
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--bg-palette-bc);
    top: 80px;
    left: 0;
    position: fixed;
  }

  .header nav ul {
    display: block;
    padding: 0;
  }

  .header nav ul li {
    margin: 0;
    float: none;
  }

  .header nav ul li li a {
    width: 100%;
  }

  .header nav ul li ul {
    display: none;
    width: 100%;
    top: 0;
    filter: none;
    position: relative;
  }

  .header nav div {
    width: 100%;
    height: auto;
    top: auto;
    right: auto;
    border: none;
    text-align: left;
    position: relative;
  }

  .header nav a.active,
  .header nav li a:hover {
    background-color: var(--bg-palette-bc);
  }

  .header nav div a {
    display: block;
  }

  .header .nav-top-section {
    display: block;
    border-top: 1px solid var(--bs-gray-300);
  }

  .header a[href*="transparencia"],
  .header a[href*="eatos"],
  .header a[href*="esic"] {
    padding-left: 45px;
  }

  .header a[href*="transparencia"] {
    background-position: 10px -90px;
  }

  .header a[href*="eatos"] {
    background-position: 10px -40px;
  }

  .header a[href*="esic"] {
    background-position: 10px 8px;
  }

  .lnk_portal {
    width: 100%;
    margin-top: 112px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--bs-gray-400);
    background-color: var(--bg-palette-bc);
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
  }

  .lnk_portal a {
    flex-basis: 32%;
    min-width: 31%;
    max-width: 33%;
    align-self: center;
    line-height: 1.3em;
    font-size: .9em;
    padding-left: 30px;
  }

  .head-foot {
    min-height: 100px;
    margin: 20px 0;
  }

  footer {
    padding-bottom: 70px !important;
  }

  footer .row {
    padding: 0 !important;
  }

  .card-image {
    height: 200px;
  }

  .button-access {
    width: 100%;
    bottom: 0;
    right: 0;
    background-color: var(--bg-palette-bc);
    border-top: 1px solid #000;
    position: fixed;
  }
}

@media (max-width: 800px) {
  .lnk-services {
    width: 118px;
    height: 105px;
  }
}

@media (max-width: 768px) {
  .lnk-services {
    width: 23%;
  }
}

@media (max-width: 600px) {
  * {
    -webkit-tap-highlight-color: transparent !important;
  }

  input,
  textarea,
  button,
  select,
  a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  }

  .image-content {
    display: block;
    width: 100%;
    margin-right: 0;
    float: none !important;
  }

  .lnks-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bs-gray-300);
    line-height: 30px;
  }

  .gallery-last {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--bs-gray-300);
  }

  .card-image {
    height: 270px;
  }
}

@media (max-width: 430px) {
  .lnk-services {
    width: 31%;
    height: 115px;
    font-size: .85em;
  }

  .nav.nav-tabs button b {
    font-size: 1.2em !important;
  }

  .card-image {
    height: 180px;
  }
}


@media (max-width: 360px) {
  .header h1 {
    width: 170px;
  }

  .header h1 a {
    background-image: url(/assets/brand_minium.png);
  }

  html[data-bs-theme="dark"] .header h1 a {
    background-image: url(/assets/brand_minium_.png);
  }

  .lnk-services {
    width: 30%;
    font-size: .85em;
  }

  .nav.nav-tabs button b {
    font-size: 1em !important;
  }

  .card-image {
    height: 160px;
  }
}

@media (max-width: 280px) {
  .lnk-services {
    width: 46%;
  }

  .card-image {
    height: 190px;
  }

  .nav.nav-tabs button b {
    font-size: .8em !important;
  }
}

/* Dark Mode */

html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] .bg-body-secondary,
html[data-bs-theme="dark"] .header,
html[data-bs-theme="dark"] .header nav,
html[data-bs-theme="dark"] .header nav a.active,
html[data-bs-theme="dark"] .header nav li a:hover,
html[data-bs-theme="dark"] .header nav li ul,
html[data-bs-theme="dark"] .button-access {
  background-color: var(--bs-body-bg) !important;
}

html[data-bs-theme="dark"] body * {
  color: var(--bg-palette-bc) !important;
}

html[data-bs-theme="dark"] .header label span {
  background-color: var(--bg-palette-bc);
}

html[data-bs-theme="dark"] .tab-content a {
  background-color: var(--bg-palette-bc);
  filter: brightness(1) invert(0) !important;
  color: var(--bs-body-bg) !important;
}

html[data-bs-theme="dark"] .tab-content a:hover,
html[data-bs-theme="dark"] .not-decoration-link:hover {
  text-decoration: underline;
}
