@import url('https://fonts.googleapis.com/css?family=Cinzel|Lato&display=swap');

#unifesp-bar{
    font-family: Lato, sans-serif;
    color: #727D83;
    background: #F2F2F2;
}

@media(max-width: 400px){
    #open-bar-unifesp {        
        grid-template-columns: 100% !important;
        justify-items: right;
    }    
}

.bar-links-unifesp ul {
    list-style: none;
    line-height: 1.3em;
    margin: 0;
    padding: 0;
    text-align: left;
}

.bar-links-unifesp h3 {
    margin: 10px 0px;
}

.grid-container-unifesp {
    margin: auto;    
    height: 230px;
    display: grid;
    grid-template-columns: auto minmax(300px, 30%) auto minmax(350px, 60%) auto;
    grid-gap: 1rem;
    align-items: center;
}

.bar-button-unifesp {
    grid-column: 2;
    display: flex;
    flex-direction: column;
}

.bar-links-unifesp {
    grid-column: 4;
    display: flex;
    place-content: space-around;
    margin-bottom: 20px;
}

@media(max-width: 767px){

    .grid-container-unifesp {
        width: 100%;
        display: grid; 
        grid-template-columns: 100%;
        grid-template-areas:
        'a'
        'b';
        grid-gap: 1rem; 
    }                                   
            

    .bar-button-unifesp {
        grid-column: none;
        grid-area: a;
        min-width: 300px;
        align-items: center;
        margin-top: 10px;
    }

    .bar-links-unifesp{
        grid-column: none;
        grid-area: b;
    }

}

.u-btn {
    border-radius: 20px;   
    padding: 8px 20px;
    width: 80%;
    margin-bottom: 14px;
}

#open-bar-unifesp button {
    font-family: 'Cinzel', serif;
    padding: 8px 20px;
    text-align: right;
    margin: 0 auto;
    width: 100%;   
    cursor: pointer;
}

#open-bar-unifesp button,
#open-bar-unifesp button:active, 
#open-bar-unifesp button:focus, 
#open-bar-unifesp button:target {
    border: none;
    outline:none;
}

#open-bar-unifesp img {
    padding: 0px;
    margin: 0px;
    width: 70px;
}

#open-bar-unifesp > div {
    margin: 4px 20px;
}

#bar-unifesp-content{    
    align-content: center;    
    height: 0;
    overflow: hidden;
    transition: height 0.8s ease;
}

#bar-unifesp-content li a{
    text-decoration: none;
    color: #33434C  ;          
}

#open-bar-unifesp img {
    padding: 0px;
    margin: 0px;
    width: 70px;
}

/* campus colors */

.barra-default .u-btn, .barra-reitoria .u-btn , .barra-baixada-santista .u-btn
,.barra-diadema .u-btn ,.barra-guarulhos .u-btn ,.barra-sao-paulo-m .u-btn
,.barra-sao-paulo-e .u-btn,.barra-sao-jose-campos .u-btn
,.barra-zona-leste .u-btn ,.barra-osasco .u-btn {
    background-color: #727D83;
    color: white;
    text-decoration: none;
}

.barra-default #open-bar-unifesp button{
    background: #33434C;
    color: #ffffff;
}

.barra-reitoria #open-bar-unifesp  button{
    background: #5D866C;
    color: #ffffff;
}
.barra-baixada-santista #open-bar-unifesp button{
    background: #9EAA9E;
    color: #ffffff;
}
.barra-diadema #open-bar-unifesp button{
    background: #88A6B4;
    color: #ffffff;
}
.barra-guarulhos #open-bar-unifesp button{
    background: #B49E99;
    color: #ffffff;
}
.barra-sao-paulo-m #open-bar-unifesp button{
    background: #88A89D;
    color: #ffffff;
}
.barra-sao-paulo-e #open-bar-unifesp button{
    background: #82A8AA;
    color: #ffffff;
}
.barra-sao-jose-campos #open-bar-unifesp button{
    background: #8C9EAD;
    color: #ffffff;
}
.barra-zona-leste #open-bar-unifesp button{
    background: #9D9A8C;
    color: #ffffff;
}
.barra-osasco #open-bar-unifesp button{
    background: #AC969E;
    color: #ffffff;
}
