/* .showMenu{
    display: block;
} */

.active-barra{
    background-color: #fff;
    transform: translateY(0);
}

.status-indicator{
    position: absolute;
    top: 0 ;
    height: 4px;
    width: 100%;
}

#header.active{
    transform: translateX(0);
}

.mobile{
    display: none;
}

.rolagemMenu{
    position: relative;
    background-color: #fff !important;
    height: 60px !important;
}

#header.rolagemMenu #logo > span > strong, #header.rolagemMenu #menu > ul > li > div > a, #header.rolagemMenu #headerPhone > p{
    color: rgb(0,119,182) !important;
}

#header.rolagemMenu #menu > ul > li > div > span.active-barra{
    background-color: rgb(0,119,182) !important;
}

#header{
    position: fixed;
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background: rgb(0,119,182);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0px 2px 1px rgb(237, 241, 241);
    z-index: 100;
    transition: 0.5s;
}

.closeBarraRight{
    position: absolute;
    top: 15px;
    right: 5px;
    height: 35px;
    width: 35px;
    background-color: red;
    border: none;
    border: solid 1px red;
    border-radius: 6px;
    color: #FFF;
    cursor: pointer;
}

#logo{
    position: relative;
    align-content: center;
    text-align: center;
    align-items: start;
    margin-left: 25px;
    padding: 0 10px;
}

#logo span strong{
    font-size: 2rem !important;
    color: #fff !important;
}

#menu{
    /* width: calc(100% - 350px); */
    /* width: 100%; */
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 25px;
}

#menu > ul{
    display: flex;
    flex-direction: row;
    position: relative;
}

#menu > ul > li{
    position: relative;
    margin-left: 10px;
    align-items: center;
}

#menu > ul > li > div{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
}

#header.rolagemMenu > #menu > ul > li > div{
    height: 60px;
}

#header.rolagemMenu > #menu > ul > li > div > a:hover{
    background-color: rgb(0,119,182);
    color: #fff !important;
}

#menu > ul > li > div > a{
    padding: 0 7px;
    font-weight: 500 !important;
    color: #fff !important;
    height: 100%;
    align-content: center;
    text-align: center;
}

#menu > ul > li > div > a:hover{
    background-color: #fff;
    cursor: pointer;
    color: rgb(0,119,182) !important;
    transition: 0.3s ease-in-out;

}


#headerPhone{
    padding: 0 10px;
    height: 100%;
    margin-right: 20px;
    text-align: center;
    align-content: center;
    font-weight: 600;
    color: #FFF;
}
/* #menu > ul > li:hover > ul{
    display: block;
    margin-left: 5px;
    opacity: 1;
} */

.indica{
    display: block;
    position: absolute;
    top: -5px;
    right: 12px;
    width: 10px;
    height: 10px;
    margin: auto;
    background: rgb(144,224,239);
    rotate: 45deg;
}

.collapse-menu.showMenu{
    /* opacity: 1; */
    /* max-height: 100%; */
    /* transition: all 0.5s ease; */
}

.collapse-menu{
    position: absolute;
    top: 80px;
    display: block;
    background: rgb(236, 240, 241);
    transition: max-height 0.4s ease, opacity 0.4s ease;
    right: 0;
    box-shadow: 1px 1px 1px #ccc;
    color: rgb(77,77,77);
    opacity: 0;
    overflow: hidden;
    max-height: 0;
}

.collapse-menu > li{
    display: block;
    /* background-color: rgb(144,224,239); */
    padding: 15px 10px;
}

.collapse-menu > li:hover{
    cursor: pointer;
    background-color: rgb(0,119,182);
    color: #fff;
}

.collapse-menu > li button:hover{
    cursor: pointer;
}

.collapse-menu > li > button{
    font-size: 0.9rem !important;
}

.bi-caret-down{
    font-size: 0.8rem !important;
}





@media (min-width: 751px ) and (max-width: 1100px){

    #menu ul li button{
        /* font-size: 1rem !important; */
    }
    
    #headerPhone > p{
        font-weight: 400;
        font-size: 1rem !important;
    }

}

@media (max-width: 750px) {

    .active-barra{
        background-color: rgb(0,119,182);
    }

    .mobile{
        display: block;
    }

    .desktop{
        display: none;
    }

    #header.rolagemMenu > #menu > ul > li > div{
        height: 50px;
    }

    #header{
        height: 100vh !important;
    }

    #header.rolagemMenu #logo > span > strong{
        color: #FFF !important;
    }

    /* botao para abrir menu lateral */
    #menu-btn{
        position: fixed;
        left: 5px;
        top: 9px !important;
        z-index: 90;
        height: 45px;
        width: 45px;
        border: none;
        background-color: transparent;
        border-radius: 50%;
        font-size: 1.6rem !important;
        color:rgb(3,4,94) !important;
    }

    #menu-btn:hover{
        cursor: pointer;
        color: #fff !important;
        background: rgb(0,119,182);
    }

    /* menu lateral */
    #header{
        background: rgb(255, 255, 255);
        height: 100%;
        width: 250px;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.8s ease-out;
        flex-direction: column;
        justify-content: flex-start;
    }

    #logo{
        background: rgb(0,119,182);
        height: 90px;
        width: 100%;
        align-content: center;
        text-align: center;
        font-size: 2rem;
        font-weight: 600;
        width: 100%;
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }
    
    .status-indicator{
        width: 5px;
        height: 50px;
    }

    #menu{
        width: 100%;
        flex-direction: column;
        overflow-y: scroll;
        justify-content: start;
        height: 100vh;
        background-color: rgb(251,255,255);
        margin-right: 0px;
    }

    #menu > ul{
        flex-direction: column;
        width: 100%;
    }

    #menu > ul > li{
        margin-left: 0px;
    }
    
    #menu > ul > li > div{
        width: 100%;
        height: 50px;
        flex-direction: row;
        justify-content: start;
        align-content: center;
    }

    #menu > ul > li > div > a:hover{
        background: rgb(0,119,182);
        color: #fff !important;
        cursor: pointer;
    }

    #menu > ul > li:hover > ul{
        margin-left: 0px;
    }
    
    #menu > ul > li > div > a{
        padding: 7px 10px;
        font-weight: 400 !important;
        border: none;
        color: rgb(0,119,182) !important;
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    #menu > ul > li >div:hover > ul{
        display: none;
        margin-left: 0px;
        
    }

    #headerPhone{
        padding: 15px;
        height: 70px;
        width: 100%;
        background-color: rgb(251,255,255);
    }

    #headerPhone > p{
        color: rgb(0,119,182);
    }
    
    /* submenu */
    .indica{
        position: absolute;
        top: -5px;
        right: 30px;
        width: 10px;
        height: 10px;
        margin: auto;
        background: rgb(144,224,239);
        rotate: 45deg;
        z-index: -1;
    }
    
    #header.rolagemMenu > #menu > ul > li > .collapse-menu{
        top: 30px;
    }

    .collapse-menu{
        position: relative;
        top: 0;
        width: 100%;
    }

    /* .collapse-menu.show {
        opacity: 1;
        max-width: 100%;
    } */

    .collapse-menu > ul{
        width: 100%;
    }
    
    .collapse-menu > li{
        /* background-color: rgb(144,224,239); */
        /* background-color: red; */
        width: 100%;
    }
    
    .collapse-menu > li:hover{
        cursor: default;
        background-color: rgb(0,119,182);
        color: #fff;
    }
    
    .collapse-menu > li button:hover{
        cursor: pointer;
    }
    
    .collapse-menu > li > button{
        font-size: 0.9rem !important;
    }

    /* sub menu lateral */
    /* .collapse{
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        width: 100%;
        background: rgb(236, 240, 241);
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }

    .collapse-menu{
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        width: 100%;
        background: rgb(236, 240, 241);
        transition: max-height 0.4s ease, opacity 0.4s ease;
    }

    .collapse-menu.show {
        opacity: 1;
    }

    .collapse-menu ul li{
        height: 45px;
        border-bottom: solid 1px #e5e5e5;
        text-align: center;
    }

    .collapse-menu ul li button{
        font-size: 0.9rem !important;
    }
    
    .collapse ul li{
        height: 35px;
    } */

    #infoUser{
        background-color: rgb(0,180,216);
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px;
        height: 70px;
        color: #fff;
    }

    #inforUserGroup{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: 7px;
    }

    #infoUserImg{
        border-radius: 50%;
        height: 45px;
        width: 45px;
        background-color: #fff;
    }

    #infoUserImg img{
        width: 45px;
        height: 45px;
        border-radius: 50%;
    }

    #infoUserData{
        position: absolute;
        bottom: 10px;
        right: 10px;
        font-size: 0.8rem !important;
    }

    #classeAgente{
        font-size: 0.9rem !important;

    }

    #nomeAgente{
        font-size: 1.2rem !important;
        font-weight: 400 !important;
    } 
}