/*
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 : 23 de set. de 2022, 19:46:11
    Author     : Lima
*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/
/*#header{
    background-color: yellow;
    width: 100vw;
    height: 15vh;
    position: fixed;
}*/
/*CABEÇALHO*/
ul{
    margin: 0px;
    padding: 0px;
}
a{
    color: #006600;
    text-decoration: none;
    font-family: Times;
    font-weight: bold;
}
a:hover{
    background: rgba(0,0,0,0.05);
}
#header{
    position: relative;
    box-sizing: border-box;
    height: 16vh; /*80px*/
    width: 90vw;
    padding: 1rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0px 0px 10px 10px;
    background-color: white;/*#009966;*/
    /*background-image: url("img/casinhaSerra.jpeg");
    background-image: linear-gradient(292deg, lightgray, transparent);*/
    box-shadow: 0px 0px 2px #b8bbb7;
}

#head-acessibilidade{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3px;
    right: 26px;
    padding: 0px 5px;
    border-radius: 4px;
}
#head-acessibilidade a img{
    vertical-align: middle;
}
#btn-dark-mode{
    background-color: black;
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 50%;
}
.dark-mode{
    background-color: black;
    color: white;
}

#logo{
    position: absolute;
    width: 254px;   /*250px;*/
    height: 102px;   /*70px;*/
    top: 0vh;
    left: 1vw;
}
#frmBuscarHead{
    /*background-color: #eee;
    background-image: linear-gradient(to right, rgba(200,200,200, .5), rgba(177,122,100, .5));*/
/*    background-image: linear-gradient(to right, rgba(152,108,182, .1), rgba(102,152,12, .3));  */
    height: auto;
    width: auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px #ddd;
    z-index: 999;
}
#frmBuscarHead:hover{
    background-color: rgba(0,0,0, .05);
}
#frmBuscarHead #buscarHead{
    /*background-color: #eee;
    background-image: url(../img/icons8-pesquisar-64.png);
    background-position: 98% 0;
    background-repeat: no-repeat;
    background-size: 35px;*/
    border-radius: 10px 0 0 10px;
    height: 30px;
    width: 200px;
    line-height: 30px;
    vertical-align: middle;
    cursor: pointer;
    padding: 5px 10px;
    border: none;
    transition: all .7s ease-in-out;
}
#buscarHead:hover{
    box-shadow: 0 0 5px #0a3f6f;
}

/*
#buscarHead img{
    opacity: .2;
}
*/
#btnBuscarHead{
    /*width: 44px;
    height: 40px;
    background-image: url(img/icons8-pesquisar-64.png);
    background-position: 3px 0px;
    background-repeat: no-repeat;*/
    margin-left: -3px;
    background-color: white;
    height: 30px;
    line-height: 30px;
    border: none;
    cursor: pointer;
    border-radius: 0 10px 10px 0;
    vertical-align: middle;
    transition: all .7s ease-in-out;
}
#btnBuscarHead img{
    width: 40px;
    height: 25px;
    opacity: .4;
}
#btnBuscarHead:hover{
    background-color: rgba(253, 253, 253, 0.386);
    box-shadow: 0 0 5px #0a3f6f;
    opacity: 1;
}
#btnBuscarHead img:hover{
    opacity: .7;
}

#menu{
    /*display: flex;*/
    display: block;
    position: absolute;
    list-style: none;
    width: 380px;
    top: 76px;
    right: 0px;
    background: #d8d8c6;
    transition: 0.6s;
    z-index: 1000;
    height: 0px;
    visibility: hidden;
    overflow-y: hidden;
}
#menu a{
    display: block;
    padding: 1rem 0;
    margin: 0 1rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    /*box-shadow: 0 0 10px black;*/
    transition: all .5s ease;
}
#menu a:hover{
    background-color: green;
    color: white;
    padding: 20px;
    box-shadow: 0 0 10px black;
}
#btn-mobile{
    /*display: none;*/
    display: flex;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
    margin-top: 23px;
}
#btn-mobile:hover{
    background: green;
    color: white;
    border-radius: 4px;
}
#nav.active #menu{
    height: calc(100vh - 15vh);
    visibility: visible;
    overflow-y: auto;
    margin-right: 5px;
}
#hamburger{
    border-top: 2px solid;
    width: 20px;
}
#hamburger::after,
#hamburger::before{
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
}
#nav.active #hamburger{
    border-top-color: transparent;
}
#nav.active #hamburger::before{
    transform: rotate(135deg);
}
#nav.active #hamburger::after{
    transform: rotate(-135deg);
    top: -7px;
}

.img-icons-menu-home{
    vertical-align: middle;
    margin-right: 15px;
    height: 48px;
    width: 48px;
    border-radius: 40%;
    padding: 4px;
    opacity: .4;
}

/*FIM DO CABEÇALHO*/
/*COMPORTAMENTO DO CABEÇALHO EM DISPOSITIVOS MOBILES*/

@media (max-width: 680px){
    #frmBuscarHead{
        position: fixed;
        z-index: 999;
    }
}
@media (max-width: 480px){
    /*
    #frmBuscarHead{
        width: 250px;
        position: fixed;
        top: -1em;
        right: 10em;  /*3em*/
   /*     opacity: .9;
        z-index: 999;
    }
    #frmBuscarHead #buscarHead, input[type="submit"]{
        border-radius: 10px;
        height: 30px;
        font-weight: bold;
        background-size: 25px;
    }


    #btnBuscarHead{
        width: 44px;
        height: 30px;
        background-color: initial;
        background-position: 3px 0px;
        background-repeat: no-repeat;
        font-weight: bold;
        border: none;
        cursor: pointer;
    }
    
    
    */
}
/*FIM ADAPT MOBILE CABEÇALHO*/

/*
@media (max-width: 1000px){
    #frmBuscarHead{
        position: fixed;
        top: 1.5vh;
        right: 17vw;
        width: 50vw;
        z-index: 999;
    }
    #frmBuscarHead #buscarHead{
        /*display: none;*/
/*        width: 100%;
    }
}

@media (max-width: 480px){
    #frmBuscarHead{
        top: 4.5vh;
        right: 23vw;
    }
}
*/