*{
    margin: 0;
    padding: 0;

}
img{

 width: 100%;
 border-radius:8px;
 border:3px solid white;
 margin-top:3px;
 margin-bottom:30px;
}



nav{
   /* background: rgb(238,238,238);*/
   background:#000;
    overflow: hidden;
    position: relative;
    width: 100%;
    border:1px #666;
    margin:0 auto;
    margin:2em 0 2em 0;
    border-radius:10px;
    -webkit-box-shadow:7px 9px 23px 0 rgba(92,89,92,1);
    -moz-box-shadow:7px 9px 23px 0 rgba(92,89,92,1);
    box-shadow:7px 9px 23px 0 rgba(92,89,92,1);;

}

.logo-section{
    float: left;
    margin:0 auto;
    margin-left:20px;
   
}
.logo{
    top: 10px;
    color:#E2A82A;
    font-size:18px;
    font-weight:bold;
    left: 20px;
    text-shadow: 1px 1px 0px #666666;
    position: relative;
    /*text-transform: uppercase;*/
}

.logo:hover {
    /*color:#FFE24F;*/
      color:#F9CA47;
}

.hb-button{
    float: right;
    background: none;
    color: #000;
    border: none;
    font-size: 18px;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    display: none;
    outline: 0 none;
 
}

nav a{
    text-decoration: none;
    color: #282828;
    font-size: 16px;
    padding: 5px;
}

nav ul{
    overflow: hidden;
    color: #fff;
    font-weight:bold;
    margin-left:0px;
    padding: 0px;
    text-align: center;
    transition: max-height 0.5s;
    -webkit-transition: max-height 0.5s;
    -moz-transition: max-height 0.5s;
    -ms-transition: max-height 0.5s;
    -o-transition: max-height 0.5s;
    float:right;

}

nav ul li{
    float: left;
    display: inline-block;
    padding: 5px;
    margin:0 auto;

}

li > a{
    position: relative;
    color: #000;
    text-decoration: none;
    
}

li > a:hover{
    /*color: rgb(191,52,60);*/
    color:#fff;
}

li > a:before{
    content:"";
    position: absolute;
    width: 100%;
    height:3px;
    bottom: 0;
    
    left: 0;
    background-color:#E2A82A;;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

li > a:hover:before{
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}


/*.img-wrapper{
    width: 100%;

 }

img{
  
    width: 100%;


}*/


@media screen and (max-width: 767px){
    .logo-section{
        float: none;
            }
     footer {
        margin-top:-3em;
     }       

    nav ul{
        background: #ffffff;
        max-height: 0;
        width: 100%;
    
    }

    nav ul.show{
        max-height: 30em;
    }
    nav ul li{
        box-sizing: border-box;
        width: 100%;
        padding: 15px;
    }

    li > a:hover{
    /*color: rgb(191,52,60);*/
    color:#F6B920;
}
    .hb-button{
        display: block;
        padding-top:18px;
        border:none;
        color:#fff;
        
    }

}


@media screen and (max-width: 767px){
    .TField {
        margin-top:3em;
       
    }

    .footer {
        margin-top:3em;
    }
    .button1{
    margin-left:5px;
   }

}

@media screen and (min-width: 767px){
    .TField {
        margin-top:3em;
       
    }
 

}


    
