*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

header {
    width: 100%;
    height: 360px;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 6;
    background: transparent;
    border: 0;
    margin:0;
}
    header .menuMob {
        display:none;
    }

    header .menu {
        width: 100%;
        height: 90px;
        position: absolute;
        bottom: 0;
        text-align: center;
        -webkit-transition: all 0.75s;
        -moz-transition: all 0.75s;
        transition: all 0.75s;
        background-color: rgba(47, 100, 100, 0);
    }

    header:hover .menu {
        background-color: rgba(47, 100, 100, 0.5);
    }

    header .logoWide {
        display:none;
    }

    header .logo {
        width: 400px;
        height: 150px;
        position: absolute;
        display: block;
        top: -160px;
        left: 50%;
        margin-left: -200px;
        text-align: center;
        background-repeat: no-repeat;
        background-image: url('/img/logo-light-shadow.png');
        background-position: center bottom;
        background-size: contain;
        -webkit-transition: all 0.75s;
        -moz-transition: all 0.75s;
        transition: all 0.75s;
    }


    header .menuitem {
        min-width: 90px;
        height: 90px;
        display: inline-block;
        font-size: 15px;
        letter-spacing: 2px;
        color: #fff;
        line-height: 90px;
        padding: 0 15px;
        text-transform: uppercase;
        -webkit-transition: all 0.33s;
        -moz-transition: all 0.33s;
        transition: all 0.33s;
        overflow: hidden;
        font-family: 'Fira Sans', sans-serif;
        text-shadow: 2px 2px 10px #000;
        font-weight: bold;
    }
        header .menuitem:hover {
            text-shadow: 2px 2px 10px #000;
            color: #f5ff00;
        }

    header.smaller {
        height: 60px;
        position: fixed;
        z-index: 998;
        background: linear-gradient(rgba(47, 100, 100, 1), rgba(47, 100, 100, 0.5));
    }

        header.smaller .menu {
            width: 100%;
            height: 60px;
            position: absolute;
            bottom: 0;
            text-align: left;

        }

        header.smaller:hover .menu {
            background-color: none;
        }

        header.smaller .logoWide {
            min-width: 90px;
            display: inline-block;
            padding: 0 15px;
            height: 60px;
            overflow:hidden;
        }

        header.smaller .logoWide img{
            height: 50px;
            width:auto;
            margin:5px 0;
        }

        header.smaller .home {
            display: none;
        }


        header.smaller .logo {
            opacity:0;
        }


        header.smaller .menuitem {
            letter-spacing: 1px;
            line-height: 60px;
            height: 60px;
            font-weight: 700;
        }


@media (max-width: 1440px) {
    header {
        height: 350px;
    }
}


@media (max-width: 1024px) {
    header {
        height: 300px;
    }

        header .logo {
            width: 320px;
            height: 100px;
            top: -130px;
            margin-left: -160px;
        }

        header .menu {
            height: 60px;
        }

        header .menuitem {
            min-width: 60px;
            height: 60px;
            font-size: 14px;
            letter-spacing:0;
            line-height: 60px;
            padding: 0 10px;
        }

        header.smaller {
            height: 40px;
        }

            header.smaller .menu {
                height: 40px;
           }

            header.smaller .logoWide {
                min-width: 80px;
                padding: 0 10px;
                height: 40px;
            }

                header.smaller .logoWide img {
                    height: 40px;
                    margin:0 auto;
                }

            header.smaller .menuitem {
                letter-spacing: 0;
                line-height: 40px;
                height: 40px;
            }


}

@media (max-width: 760px) {

        header .menuitem {
            font-size: 13px;
            padding: 0 6px;
        }

        header.smaller {
            height: 100px;
            text-align:center;
        }

            header.smaller .menu {
                height: 40px;
                top: 0;
            }
            header.smaller .menuitem {
                display:none;
            }

            header.smaller .logoWide {
                width: calc(100% - 140px) ;
                padding: 0;
                height: 40px;
                text-align:center;
            }

            header.smaller .menuMob {
                width: 100%;
                 height: 60px;
                position: relative;
                bottom:0;
                display: block;
                border-top: 1px dotted #fff;
                text-align: center;
                margin:0;
                margin-top:40px;

            }

                header.smaller .menuMob a {
                    display: inline-block;
                    width: 19%;
                    max-width: 100px;
                    height: 52px;
                    overflow: hidden;
                    text-align: center;
                    font-size: 9px;
                    text-transform: uppercase;
                    line-height: 10px;
                    color: #fff;
                    padding: 4px 0 4px 0;
                    margin: 0;
                }
                header.smaller .menuMob a img {
                    width: 36px;
                    height: 36px;
                    display: block;
                    margin:0 auto 4px auto;
                    padding:0;
                    border:0;
    
                }

}

