html {
  scroll-padding-top: 100px;
}

body {
  position: relative;
  overflow-y: auto;
}

header {
  border-bottom: solid 1px #eee;
  background-color: #fff;
  -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
  min-height: 60px;
}
@media (max-width: 991px) {
  header {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}
@media (max-width: 991px) and (max-width: 575px) {
  header {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
header .navbar-toggler {
  padding: 0 0.75rem;
  line-height: 1;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
header .navbar-toggler:focus {
  box-shadow: none !important;
  outline: 2px solid sandybrown;
  border-radius: 2px;
}
header .navbar-toggler:focus:not(:focus-visible) {
  outline: 0 !important;
}
header .navbar-toggler[aria-expanded=false] i.fa-times {
  display: none;
}
header .navbar-toggler-text {
  font-size: 10px;
  line-height: 11px;
  display: block;
  color: #087021;
  width: 100%;
  height: 100%;
  text-transform: uppercase;
}
header .navbar-toggler i {
  width: auto;
  height: auto;
  display: block;
  color: #087021;
  font-size: 20px;
  position: relative;
  margin-bottom: 4px;
  top: 2px;
}
header .navbar-toggler[aria-expanded=true] i.fa-bars {
  display: none;
}
header .navbar-toggler[aria-expanded=false] i.fa-times {
  display: none;
}

/*
.overlay {
    height: 100vh;
    position: absolute;
    background: rgba(0, 0, 0, .5);
    width: 100%;
    top: 100px;
    display: none;
    z-index: 10;
    @media (min-width: 991px) {
        display: none !important;
    }
}

.navbar {
    z-index: 11;
}

*/
/**/
.logo-junta {
  width: 65px;
  height: 100px;
  background-repeat: no-repeat;
  background-position: 0 0;
  -webkit-background-size: auto 100px;
  background-size: auto 100px;
  text-indent: -9999px;
  margin-right: 10px;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .logo-junta {
    width: 60px;
    height: 50px;
    background-position: -34px 0;
    -webkit-background-size: 84px 50px;
    background-size: 84px 50px;
    margin-right: 0;
  }
}
@media (max-width: 991px) and (max-width: 767px) {
  .logo-junta {
    margin-right: 8px;
    margin-top: 0;
    width: 50px;
  }
}
@media (max-width: 991px) and (max-width: 575px) {
  .logo-junta {
    width: 40px;
    display: block;
    -webkit-background-size: cover;
    background-size: cover;
    height: 40px;
    background-position: -27px 0;
  }
}
.logo-domain {
  width: 307px;
  height: 100px;
  background-position: 0 0;
  background-repeat: no-repeat;
  text-indent: -9999px;
  margin-right: 0;
}
@media (max-width: 991px) {
  .logo-domain {
    width: 272px;
    height: 50px;
    background-position: -153px 0;
    -webkit-background-size: 622px 50px;
    background-size: 622px 50px;
  }
}
@media (max-width: 575px) {
  .logo-domain {
    width: 175px;
    -webkit-background-size: auto 50px;
    background-size: auto 50px;
    display: block;
    height: 40px;
    background-position: -430px -5px;
  }
}

/*MENU*/
#mainMenu {
  position: absolute;
  width: 100%;
  background: #fff;
  left: 0;
  padding: 0 15px;
  top: 51px;
}
@media (min-width: 576px) {
  #mainMenu {
    top: 56px;
  }
}
#mainMenu .nav-item {
  border-bottom: 1px solid #d8d8d8;
}
#mainMenu .nav-item:last-child {
  border-bottom: 0;
}
#mainMenu .nav-item a.nav-link {
  font-weight: 600;
  padding-top: 14px;
  padding-bottom: 14px;
}
#mainMenu .nav-item a.nav-link .fa-solid {
  width: 30px;
  text-align: center;
  color: #c4ddca;
}

@media (max-width: 991.7px) {
  #mainMenu {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }
  #mainMenu .navbar-nav {
    background: #fff;
    padding: 0 15px;
  }
  #mainMenu .overlay {
    height: calc(100vh - 60px);
    background: rgba(51, 51, 51, 0.75);
  }
}
@media (min-width: 991.8px) {
  #mainMenu {
    position: static;
    padding: 0;
  }
  #mainMenu .nav-item {
    border-bottom: 0;
    max-width: 105px;
    margin: 0 10px;
    height: 100px;
    display: flex;
    align-items: center !important;
    position: relative;
  }
  #mainMenu .nav-item.active a.nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 5px;
    background-color: #087021;
  }
  #mainMenu .nav-item a.nav-link {
    padding: 0;
  }
  #mainMenu .nav-item a.nav-link .fa-solid {
    display: block;
    margin-bottom: 8px;
    color: #c4ddca;
    width: auto;
  }
  #mainMenu .nav-item a.nav-link:hover .fa-solid {
    color: #087021;
  }
  #mainMenu .nav-item a.nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 5px;
    background-color: #087021;
  }
}
/*Inicio - Hero*/
.hero {
  height: 370px;
  position: relative;
  margin-bottom: 60px;
}
.hero .hero-bg {
  background-image: url("https://www.juntadeandalucia.es/RCJA/img/foto_portada.jpg");
  height: 370px;
  width: 100%;
  z-index: -1;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}
@media (max-width: 991.7px) {
  .hero {
    height: auto;
  }
  .hero .hero-bg {
    height: 80px;
    width: 100%;
    background-color: #c4ddca;
    position: relative;
  }
}

.homeCards .display-3 {
  height: 78px;
  width: 78px;
  border-radius: 78px;
  text-align: center;
  font-size: 2.65rem;
}
.homeCards .display-3 .fa-solid {
  margin-top: 18px;
}
.homeCards p {
  min-height: 112px;
}

.asideMenu {
  top: 140px;
  z-index: 1010;
}
.asideMenu ul > li,
.asideMenu ol > li {
  padding: 10px 0;
  margin-bottom: 0;
}
.asideMenu ol {
  padding-left: 1rem;
}
.asideMenu ol .nav-link {
  padding: 0;
}
.asideMenu ol .nav-link.active {
  font-weight: 700;
}
.asideMenu ol > li:before {
  content: "";
  border: 0.5px solid #d8d8d8;
  position: absolute;
  width: 100%;
  left: 0;
  margin-top: -10px;
}
.asideMenu ol > li:last-child::after {
  content: "";
  border: 0.5px solid #d8d8d8;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  margin-top: -10px;
}

.site-footer__bottom {
  background-color: #e7e7e7;
  padding: 30px 0 40px;
}
.site-footer__bottom .logo-footer-cont {
  display: table-cell;
  vertical-align: middle;
}
.site-footer__bottom .logo-footer {
  margin: 0 10px 0 0;
  width: 60px;
}
.site-footer__bottom .logo-footer img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 576px) {
  .site-footer__bottom .logo-footer {
    margin: 0 20px 0 0;
    width: 75px;
  }
}
@media (min-width: 768px) {
  .site-footer__bottom .logo-footer {
    width: 100px;
  }
}
.site-footer__bottom .logo-footer > div {
  padding: 0.5rem 0;
}
.site-footer__bottom .ms-auto {
  margin-left: 0 !important;
  margin-top: 40px;
}
@media (min-width: 1300px) {
  .site-footer__bottom .ms-auto {
    margin-left: auto !important;
    margin-top: 0;
  }
}
.site-footer__bottom .ms-auto a {
  color: #333;
}
.site-footer__bottom .ms-auto a:hover {
  text-decoration: underline;
  color: #0b4c1a;
}

.submenumovil a.h3 {
  display: block;
  position: relative;
  color: #333 !important;
}
.submenumovil a.h3:hover {
  color: #0b4c1a !important;
  text-decoration: underline;
}
.submenumovil a.h3[aria-expanded=false]::after {
  font-family: "Font Awesome 6 Free";
  position: absolute;
  content: "\f078";
  right: 0;
}
.submenumovil a.h3[aria-expanded=true]::after {
  font-family: "Font Awesome 6 Free";
  position: absolute;
  content: "\f077";
  right: 0;
}
@media (min-width: 768px) {
  .homeCards .card {
    min-height: 330px;
  }

}
@media (min-width: 1300px) {

  .homeCards .card a {
    position: absolute;
    bottom: 18px;
  }
}
/*# sourceMappingURL=rcja.css.map */
