/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 27/04/2017, 18:54:29
    Author     : Murilo
*/
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    /*background-image: url(../img/bg_navbar3.png);*/
    background: #fff;
    height: 48px;
    /*line-height:48px;*/
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    display: none;
    width: 100%;
    height: auto;
    /*line-height:64px;*/
    z-index: 100
}

.mobile-header .header-bar {
    height: 64px;
    display: flex;
    /* Habilita o Flexbox */
    align-items: center;
    /* Alinha itens verticalmente ao centro */
    justify-content: center;
    /* Centraliza os itens horizontalmente */
    position: relative;
    /* Para posicionamento absoluto, se necessário */
}

.mobile-header .header-bar .logotop {
    position: absolute;
    /* Permite centralizar a logo */
    left: 50%;
    transform: translateX(-50%);
    /* Ajusta a posição para centralizar */
}

.mobile-header .menu-toggle {
    font-family: FontAwesome;
    position: absolute;
    /* Permite que o botão do menu fique fora do fluxo normal */
    padding: 0px;
    top: 50%;
    right: 10px;
    /* Mantém o botão do menu à esquerda */
    width: 42px;
    height: 42px;
    background-color: transparent;
    color: #ff0000;
    border-color: #ff0000;
    border-radius: 5px;
    transform: translateY(-50%);
    /* Centraliza verticalmente o botão */
    text-align: center;
    line-height: 42px;
    will-change: all;
    transition: all .2s ease;
}

.mobile-header .menu-toggle:before {
    will-change: all;
    transition: all .2s ease;
    font-weight: 400;
    text-transform: none;
    font-family: FontAwesome;
    content: "\f0c9";
    /*content:"\f00b";*/
    font-size: 20px;
    line-height: 42px;
    padding: 0px;
}

.mobile-header .menu-toggle.active:before {

    font-family: FontAwesome;
    content: "\f00d";
    position: absolute;
    right: 10px;
    padding: 0px;
    /*top:50%;*/
    left: -2px;
    width: 42px;
    height: 42px;
    background-color: transparent;
    color: #c52d2f;
    border-color: #000;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    will-change: all;
    transition: all .2s ease
}

.mobile-header .menu-right {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}


.mobile-header .menu-container {
    position: absolute;
    padding-top: 50px;
    left: 0;
    width: 48%;
    height: 100%;
    line-height: 1em;
    background-color: #000000;
    border-top: solid 1px #c52d2f;
    opacity: 1;
    z-index: 1;
    display: flex; 
    flex-direction: column; 
    overflow-y: auto; 
}



/* .mobile-header .menu-container .menu-scroll {
    max-height: 80%; 
    overflow-y: auto;
    padding-bottom: 30px; 
} */



/* Se você quiser adicionar espaço entre os itens do menu */
/* .mobile-header .menu-container .main-menu {
    margin-bottom: 20px; 
} */

.mobile-header .menu-container .menu-scroll .main-menu {
    text-align: center; 
    padding-left: 0px;
    /* height: 100vh;  */
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    padding-left: 0px;
    
}

.mobile-header .menu-container .main-menu .main-item {
    font-size: 30px;
    text-transform: none;
    color: inherit;
    position: relative;
    display: flex; /* Torna o item um contêiner flexível */
    justify-content: center; /* Centraliza o conteúdo horizontalmente */
    align-items: center; /* Centraliza o conteúdo verticalmente */
    width: 100%; /* Garante que o item ocupe toda a largura */
}

.mobile-header .menu-container .main-menu .main-item-link {
    color: #ff0000;
    /* text-shadow: 2px 2px 5px rgb(253, 251, 251); */
    /* color: #000000; */
    position: relative;
    display: block;
    padding: 10px 0; /* Ajuste o padding conforme necessário para centralizar */
    font-weight: 700; /* Peso da fonte */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Transição suave para cor e sombra */
    text-align: center; /* Centraliza o texto do link */
}



/* Efeito ao passar o mouse */
.mobile-header .menu-container .main-menu .main-item-link:hover {
    color: #cc0000; /* Cor mais escura ao passar o mouse */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Sombra de texto ao passar o mouse */
}





.mobile-header .menu-container.slide {
    opacity: 1;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    will-change: transform;
    transition: -webkit-transform .5s ease;
    transition: transform .5s ease
}

.mobile-header .menu-container.slide.open {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    will-change: transform;
    transition: -webkit-transform .5s ease;
    transition: transform .5s ease
}

.mobile-header .menu-container.slide.open:after {
    content: '';
    width: 30px;
    height: 100%;
    position: absolute;
    left: 100%;
    box-shadow: inset 20px 0 22px -10px rgba(50, 50, 50, .5)
}

@media only screen and (max-width:991px) {
    .mobile-header {
        display: block
    }

    .mobile-header .menu-container {
        height: 960px
    }

    .mobile-header .menu-toggle {
        right: 10px
    }
}

@media only screen and (max-width:767px) {
    .mobile-header .menu-container {
        width: 100%
    }

    .mobile-header .menu-container .main-menu .main-item {
        font-weight: 400;
        text-transform: none;
        color: inherit;
        line-height: 40px
    }
}