.menu {
   padding: 0;
}

#menu-bar {
    display: none;
}


header {
    width: 100%;
    height: 51px;
    background: rgba(10,62,92);
    color: #EB6419;
    border: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 16;
}

.log {
    float: left;
}

.log img {
    height: 40px;
    margin-top: 5px;
}


header .contact-top {
    background: #EB6419;
}

header .contact-top a:hover {
    color: #fff;
    transition: height 0.3s, opacity 0.3s, transform 0.3s;
    transform: translateY(3px);
}

header .contact-top:hover {
    background: none;
}

header label {
    float: right;
    font-size: 25px;
    margin: 6px;
    cursor: pointer;
    padding-top: 5px;
    color: #EB6419;
}

.menu {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13,77,115,0.9);
    transition: all 0.5s;
    transform: translateX(100%);
    z-index: 20;
}

.menu a {
    display: block;
    color: #fff;
    height: 50px;
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(235,100,25,0.9);
    font-size: 12px;
    text-align: center;
    
}

.menu a:hover {
    background: rgba(0,0,0,0.4);
 /*   border-bottom: 1px solid #EB6419;*/
    text-decoration: none;
    color: #fff;
}

#menu-bar:checked ~ .menu {
    transform: translateX(0%);
}


header .mailtop {
        font-family: 'Open Sans', sans-serif;
        color: #fff;
        font-size: 13px;
        text-decoration: none;
        text-align: center;
        vertical-align: middle;
    }
    
    header .mailtop a {
        cursor: pointer;
    }
    
    header .mailtop:hover {
        background: none !important;
        transition: none !important;
        transform: none !important;
    }

    header .icon-mail {
        color: #fff;
        font-size: 14px;
    }
    
    header .redes {
        text-align: left;
        font-size: 22px;
        margin-top: 20px;
        margin-right: 12px;
        width: 10%;
    }

    header .redes a {
        display: inline-block;
        vertical-align: text-top;
        padding: 4px;
        text-decoration: none;
        text-align: center;
        color: #fff;
        background: #EB6419;
        transition: all 0.4s;
        border: 1px solid #EB6419;
        width: 32px;
        height: 32px;
        line-height: 22px;
        font-size: 14px;
    }

    header .facebook a:hover {
        color: #fff;
        background: #3b5998;
        border: 1px solid #3b5998 !important;  
    }

    header .twitter a:hover {
        color: #fff;
        background: #1da1f2;
        border: 1px solid #1da1f2 !important;
    }

    header .youtube a:hover {
        color: #fff;
        background: #bb0000;
        border: 1px solid #bb0000 !important;
    }

    header .instagram a:hover {
        color: #fff;
        background: #bc2a8d;
        border: 1px solid #bc2a8d !important;
    }



/*------------RESPONSIVE------------*/

@media (min-width:480px) {
    
    header {
        background: rgba(10,62,92,0.7); 
    }
    
    header .contact-top a:hover {
        color: #fff;
        transition: none;
        transform: none;
    }
    
    header .mailtop {
        font-family: 'Open Sans', sans-serif;
        color: #fff;
        font-size: 13px;
        text-decoration: none;
        text-align: center;
        vertical-align: middle;
    }
    
    header .mailtop a {
        cursor: pointer;
    }
    
    header .mailtop:hover {
        background: none !important;
        transition: none !important;
        transform: none !important;
    }

    header .icon-mail {
        color: #fff;
        font-size: 14px;
    }
    
    header .redes {
        text-align: left;
        font-size: 28px;
        margin-top: 20px;
        margin-right: 12px;
        width: 10%;
    }

    header .redes a {
        display: inline-block;
        vertical-align: text-top;
        padding: 6px;
        text-decoration: none;
        text-align: center;
        color: #fff;
        background: #EB6419;
        transition: all 0.4s;
        border: 1px solid #EB6419;
        width: 35px;
        height: 35px;
        line-height: 22px;
        font-size: 14px;
    }

    header .facebook a:hover {
        color: #fff;
        background: #3b5998;
        border: 1px solid #3b5998 !important;  
    }

    header .twitter a:hover {
        color: #fff;
        background: #1da1f2;
        border: 1px solid #1da1f2 !important;
    }

    header .youtube a:hover {
        color: #fff;
        background: #bb0000;
        border: 1px solid #bb0000 !important;
    }

    header .instagram a:hover {
        color: #fff;
        background: #bc2a8d;
        border: 1px solid #bc2a8d !important;
    }

}

@media (min-width:1024px) {
    .menu {
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0%);
        float: right;
        display: flex;
    }
    
    header label {
       display: none !important; 
    }
    
    .menu {
        background: none;
    }
    
    .menu a {
        border: none;
    }
    
    .menu a:hover {
        /*border: 1px solid #EB6419;*/
        background: #EB6419;
        color: #fff;
        transform: none;
        transition: none;
        transition: height 0.3s, opacity 0.3s, transform 0.3s;
        transform: translateY(2px);
        /*font-weight: 500;*/   
    }
        
}

/*------------RESPONSIVE------------*/





