﻿header {
    width: 100%;
    height: 102px !important;
    /*overflow: hidden;*/
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: transparent;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

header.smaller {
    height: 75px !important;
    background-color:rgba(255,255,255,1);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.35);
}
header.smaller #logo img {
    width: 75px;    
}
/*header.smaller nav a {
    line-height: 40px;
}*/

header.smaller .menubar {
    margin:5px 0 5px 0;
}
header.smaller .contact  {
    margin:10px 0;
}
header.smaller .header-account {
    margin:20px 0 10px 0;
}


/*@media all and (max-width: 660px) {
    header #logo {
        display: block;
        float: none;
        margin: 0 auto;
        height: 100px;
        line-height: 100px;
        text-align: center;
    }
    header nav {
        display: block;
        float: none;
        height: 50px;
        text-align: center;
        margin: 0 auto;
    }
    header nav a {
        line-height: 50px;
        margin: 0 10px;
    }
    header.smaller {
        height: 75px;
    }
    header.smaller #logo {
        height: 40px;
        line-height: 40px;
        font-size: 30px;
    }
    header.smaller nav {
        height: 35px;
    }
    header.smaller nav a {
        line-height: 35px;
    }
}*/

@media (min-width: 768px) and (max-width: 980px) {
    header.smaller {
        height: 130px !important;
    }
}
@media (min-width: 320px) and (max-width: 480px) {
    header.smaller .logo img {
        width:75px !important;
    }
    .header-container .logo {
        padding-bottom:0;
    }
    header.smaller {
        height:120px !important;
    }
}