
.text-balance{
    text-wrap:balance;
}
.contenedor-heading{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-normal);
    padding: 8rem;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    
}
.button-down {
    position:relative;
    display:inline-block;
    width:30px;
    height:25px;
    padding-top:10px;
}

.button-down:after {
    content:'';
    display:block;
    position:absolute;
    margin-left:10px;
    margin-top:10px;
    top:0;
    left:0;
    width:10px;
    height:10px;
    border-top:1px solid transparent;
    border-bottom:2px solid gray;
    border-right:1px solid transparent;
    border-left:2px solid gray;
    transform:rotate(-45deg);
    transition:all .2s linear;
}

.button-down.is-up:after {
    content:'';
    transform:rotate(135deg);
    transition:all .2s linear;
}

.hidden{
    display: none;
    transition:all .2s linear;
}

.show{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}



/* Menu desplegable */

*{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: inherit;
}

.sptransfer-nav__top .dropdown-menu:hover .dropdown li.dropdown-item{
    display:inline-block !important;
}

.sptransfer-nav__top .dropdown-menu:hover .dropdown li.dropdown-sub-item{
    display:inline-block !important;
}

.dropdown-menu ul{
    list-style: none;
    font-size: 1rem;
}

.dropdown-menu{
    height: 40px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
}

.sptransfer-nav__top ul.dropdown{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    width: 310px;
    height: auto;
    gap: 0.5rem;
    background-color: #E8B521;
    border-radius: 0.5rem;
    top: 2rem;
}

.sptransfer-nav__top .dropdown .dropdown-item, .dropdown-sub-item{
    display: none;
    padding: 0.5rem;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: color .3s;
}

.dropdown .dropdown-item a{
    display: inline-block;
    width: 100%;
}

.dropdown-menu:hover .dropdown-item a{
    color: #fff;
}

.dropdown .dropdown-item a:hover{
    color: #000;
    font-weight: bold;
}

.dropdown .dropdown-item:hover{
    background-color: #e4ae0b;
}

.dropdown .dropdown-sub-item:hover{
    background-color: #e4ae0b;
}

.dropdown-menu:hover .dropdown-item{
    display: block;
    animation: menu1 .5s forwards;
}

.sptransfer-nav__top ul.dropdown-sub{
    display: none;
}

.dropdown .dropdown-item:hover .dropdown-sub{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    position: absolute;
    top: 0;
    gap: 0.5rem;
    left: -275px;
    width: 280px;
    background-color: #E8B521;
    border-radius: 0.5rem;
}

.dropdown-sub-item{
    width: 100%;
}
/* Style to Entry Blog*/
.article-contents img{
   object-fit:cover;
}
.article-contents .module_header{
   margin-bottom:20px !important;
}
@media(max-width:768px){
  .contenedor-heading{
     padding-inline:20px;
   }
}

@media(max-width:480px){
  .btn-black{
    width: 60%;
  }
  .bg-home__map{
    height: 90%;
  }
  .sptransfer-footer__top {
    margin-top: 3rem;
  }
}

@keyframes animation{
    from{
        opacity: 0;
        transform: translateY(0);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* .dropdown-menu:hover .dropdown li:nth-child(2){
    animation-delay: .2s;
}

.dropdown-menu:hover .dropdown li:nth-child(3){
    animation-delay: .4s;
}

.dropdown-menu:hover .dropdown li:nth-child(4){
    animation-delay: .6s;
}

.dropdown-menu:hover .dropdown li:nth-child(5){
    animation-delay: .8s;
}

.dropdown-menu:hover .dropdown li:nth-child(6){
    animation-delay: 1s;
    }

.dropdown-menu:hover .dropdown li:nth-child(7){
    animation-delay: 1.2s;
}

.dropdown-menu:hover .dropdown li:nth-child(8){
    animation-delay: 1.4s;
}

.dropdown-menu:hover .dropdown li:nth-child(9){
    animation-delay: 1.6s;
}

.dropdown-menu:hover .dropdown li:nth-child(10){
    animation-delay: 1.8s;
}

.dropdown-menu:hover .dropdown li:nth-child(11){
    animation-delay: 2s;
}

.dropdown-menu:hover .dropdown li:nth-child(12){
    animation-delay: 2.2s;
}

.dropdown-menu:hover .dropdown li:nth-child(13){
    animation-delay: 2.4s;
} */

.dropdown-menu:hover .dropdown li{
    animation: animation .5s forwards
}

