/*
* 2024 Elenitos Nestar SL
*
* NOTICE OF LICENSE
*
*  @author    Hugo Herreros <hugoherreros93@gmail.com>
*  @copyright 2009-2024 Elenitos Nestar SL
*  @license   Property of Elenitos Nestar SL Non redistributable.
*/

#header_slides{
    overflow: hidden;
}


#header_slides,
#header_slides li
{
    height: 32px;
    padding: 0 10px;
}

#header_slides ul
{
    display: flex;
    justify-content: center;
}

#header_slides li{
    position: absolute;
    display: flex;
    align-items: center;
    opacity: 0;
    top: 0;
    z-index: -1000;
    transition-property: z-index;
    -webkit-transition-property: z-index;
    transition-delay: 1s;
    -webkit-transition-delay: 1s;

    -webkit-animation: fadeOut .5s linear forwards;
    animation: fadeOut .5s linear forwards;
}

#header_slides li p{
    margin-bottom: 0;
}


#header_slides li.active{
    z-index: 1;
    -webkit-animation: fadeIn .5s linear 1s both;
    animation: fadeIn .5s linear 1s both;
}

@keyframes fadeOut {
    0% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.header-nav .center-nav
{
    width: 100%;
}

#header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#header > *{
    width: 100%;
}

@media (max-width: 991px){
    #header .header-nav{
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        order: 2;
    }
    #header  #mobile-header{
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 1;
        order: 1;
    }
}