﻿#menu-splitter {
    width: 100%;
    height: 7px;
    background: url(/images/bg-saw-dn.png);
}

#menu {
    position: relative;
    margin: 0 auto;
    background: #fbb900;
    height: 100px;
    width: 100%;
}

    #menu #menu-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        max-width: 1450px;
        margin: 0 auto;
    }

    #menu #menu-logo-image {
        background-image: url(/images/logo/marprostav-logo-220x132.png);
        width: 220px;
        height: 132px;
        -ms-background-repeat: no-repeat;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    #menu #menu-logo {
        position: absolute;
        background: #fff;
        width: 330px;
        height: 170px;
        display: table-cell;
        vertical-align: middle;
    }

#menubar-left {
    display: inline-block;
    height: 100%;
    float: left;
    margin-left: 400px;
}

#menubar-right {
    float: right;
}

.menu-box-menu > ul {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: 700;
    list-style: none;
}

    .menu-box-menu > ul li {
        background: #fbb900;
        float: left;
    }

        .menu-box-menu > ul li a,
        .menu-box-menu > ul li > span {
            padding: 0 2em;
            display: table-cell;
            vertical-align: middle;
            min-width: 125px;
            text-align: center;
            height: 100px;
            color: #111b1d;
            font-size: 0.9em;
        }

@media only screen and (max-width: 1400px) {
    .menu-box-menu > ul li a,
    .menu-box-menu > ul li > span {
        padding: 0 1.5em;
    }
}

@media only screen and (max-width: 1300px) {
    .menu-box-menu > ul li a,
    .menu-box-menu > ul li > span {
        padding: 0 1.2em;
    }
}

.menu-box-menu > ul li a:hover {
    color: #111b1d;
}

.menu-box-menu > ul li.active > a {
    position: relative;
    color: #111b1d;
    text-decoration: none;
}

.menu-box-menu > ul li.active a:after {
    content: "";
    background: #111b1d;
    position: absolute;
    top: 0;
    left: 20%;
    height: 3px;
    width: 60%;
}

#quick-contact {
    float: right;
    position: relative;
    display: none;
}

/* Show QUICK CONTACT and item on wide enough screen */
@media only screen and (min-width: 1024px) {
    #quick-contact {
        display: inline-block;
        display: table-cell;
    }
}

#quick-contact:before {
    content: "";
    background: #e6aa00;
    position: absolute;
    top: 10%;
    left: 0;
    height: 80%;
    width: 1px;
}

#quick-contact .call-us {
    display: table;
}

#quick-contact .phone-icon {
    display: table-cell;
    vertical-align: middle;
    padding: 0 1em 0 0;
}

#quick-contact .phone-text {
    display: table-cell;
    vertical-align: middle;
}

    #quick-contact .phone-text .number {
        display: block;
        font-size: 1.1em;
    }

@media only screen and (max-width: 1023px) {
    #navbar {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}

/* Do not show menu trigger by default */
#menu-box #menu-box-trigger {
}

/* Adjust menu for SMALL screens (remove top margin (shift), show trigger, make it slide from the right) */
@media only screen and (max-width: 820px) {
    #menu {
        height: 55px;
        background: #fff;
    }

    #menubar-left {
        margin-left: 0;
    }

    #menu #menu-logo-image {
        background-image: url(/images/logo/marprostav-logo-284x55.png);
        width: 284px;
        height: 55px;
        -ms-background-repeat: no-repeat;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    #menu #menu-logo {
        height: 55px;
        width: 284px;
    }


    #menu-box {
        z-index: 1000;
        top: 0;
        position: fixed;
        right: -200px;
        width: 200px;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -webkit-box-shadow: 0 8px 8px -4px rgba(30,30,30,0.6);
        -moz-box-shadow: 0 8px 8px -4px rgba(30,30,30,0.6);
        box-shadow: 2px 8px 8px -4px rgba(30,30,30,0.6);
    }

    #menu-splitter {
        display: none;
    }

    #menu-box #menu-box-trigger {
        position: absolute;
        left: -50px;
        width: 50px;
        height: 50px;
        text-align: center;
        display: inline-block;
        display: table;
        opacity: 0.8;
    }

        #menu-box #menu-box-trigger a {
            display: block;
            color: #EEE;
            display: table-cell;
            height: 100%;
            width: 100%;
            vertical-align: middle;
            background: #222;
            height: 54px;
            text-decoration: none;
        }

            #menu-box #menu-box-trigger a:after {
                font-family: "FontAwesome";
                content: "\f0c9";
                font-size: 1.5em;
            }

    #menu-box.open {
        right: 0;
    }

        #menu-box.open #menu-box-trigger {
            opacity: 1;
        }

            #menu-box.open #menu-box-trigger a:after {
                content: "\f00d";
            }


    .menu-box-menu > ul li,
    .menu-box-menu > ul li {
        float: none;
        text-align: center;
        width: 100%;
    }

        .menu-box-menu > ul li a,
        .menu-box-menu > ul li > span {
            padding: 0 2em;
            width: 100%;
            width: 230px;
            height: 65px;
            text-align: center;
            border-bottom: 1px solid #e6aa00;
            font-size: 0.9em;
        }

            .menu-box-menu > ul li a:hover {
                background: #eee;
            }
}
