*{
    margin: 0;
    padding: 0;
    border: none;
}
a{
    text-decoration:none;
}
/*...................menu........................*/
#menu{
    float: right;
    width: 80%;
    min-height:100px; 
    line-height: 100px;
}
nav {
    position: relative;
    font-size: 12px;
    text-align: center;
}
nav .wrapper{
    background-color: inherit;
    margin:0px auto;
    padding:0px;
}
nav ul {
    padding: 0;
    margin: 0 auto;
    width: auto;
    height: 50px;
}
nav li {
    display: inline-block;
}
nav a {
    color: #fff;
    display: inline-block;
    padding:0px 15px;
    text-align: center;
    text-decoration: none;
    line-height: 50px;
    font-size:14px;
    transition: 1s;
    border-bottom: 2px solid transparent;
}
nav a:hover{
    transition: 1s;
    color: #fff;
    -webkit-transition: all .9s ease;
    -moz-transition: all .9s ease;
    -ms-transition: all .9s ease;
    -o-transition: all .9s ease;
    transition: all .9s ease;  
}

.hvr-underline-from-left li a{
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
    transition: 1s;
}
.hvr-underline-from-left li a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: 0;
    background:#fff;
    height: 2px;
    transition: 1s;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.hvr-underline-from-left li a:hover:before, .hvr-underline-from-left li a:focus:before, .hvr-underline-from-left li a:active:before {
    right: 0;
}
nav li:last-child a {
    border-right: 0;
}
nav a#pull {
    display: none;
}
@media only screen and (max-width: 768px) {
    #menu{
        padding-top: 30px;
        float: right;
        width: 60%;  
        min-height:60px; 
        line-height: 60px;
    }
    nav {
        width: 60%;
        overflow-x: visible;
        z-index: 99999;
        position: absolute;
    }
    nav ul {
        width: 100%;
        height: auto;
        display:none;
    }
    nav li {
        width: 100%;
        float: none;
        position: relative;
        /* border-bottom:1px solid #2055D1; */
        background-image:url(imagens/layout/fundo.fw.png); 
    }
    nav li a, nav a {
        font-weight: bold;
        text-indent: 1.5em;
        text-align: left;
        font-size: 14px;
        width: 100%;
        padding:0px;
        border:0px;
        color:#1E68BF;
        border-bottom: 2px solid transparent;
        background: #fff;
    }
    nav a#pull{
        display: block;
        width: 100%;
        text-indent: 25px;
        position: relative;
        background-color:#ffffff;
        text-align:left;
        color:#1E68BF;
        border-bottom: none;
    }
    nav a:hover{
        border-bottom: 2px solid transparent;
    }
    nav a#pull:hover{
        border-bottom: none;
    }
    nav a#pull:after{
        content: "";
        background: url('imagens/layout/selectmenu.fw.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 7px;
    }
}
@media only screen and (max-width: 400px) {
    h1{
        font-size:200%;
    }
}

