/************************************************************************************
GENERAL
*************************************************************************************/
header {
    content: " ";
    display: table;
}
a {
    text-decoration: none;
}

.clear {
    clear: both;
}

.right {
    float: right;
    margin-right: 20px;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#navigation {
    /*    width: 960px;*/
    /*    max-width: 98%;*/
    margin: 10px auto 0;
    padding: 5px;

    /* Rounded Corners */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    /* Background color and gradients */
    background: -moz-linear-gradient(top, #ff6a00, #ad4f0c);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6a00), to(#ad4f0c));

    /* Borders */
    border: 1px solid #c5c5c5;
}

/************************************************************************************
NAVIGATION DESKTOP
*************************************************************************************/
#nav-wrap {
    /*    margin-top: 10px;
    margin-left: 10px;*/
}

/* menu icon */
#menu-icon {
    display: none; /* hide menu icon initially */
}

#nav,
#nav li {
    margin: 0;
    padding: 0;
}
#nav li  {
    list-style: none;
    float: left;
    margin-right: 5px; /* Abstand zwischen Button */
}

#nav .menu_login {
    display: none;
}
/* nav link */
#nav a {
    padding: 4px 15px;
    display: block;
    color:#ecebeb;
}
#nav a:hover {
    background: #bbbbbb;
}

/* Dropdown Menu */
#nav ul {
    padding: 2px;
    position: absolute;
    display: none; /* hide dropdown */
    width: 200px;
    /* Rounded Corners */
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

    /* Background color and gradients */
    background: #014464;
    background: -moz-linear-gradient(top, #ff6a00, #ad4f0c);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6a00), to(#ad4f0c));

    /* Borders */
    border: 1px solid #c5c5c5;
    list-style: url("../icons-png/carat-r-white.png");

}
#nav li ul li {
    float: none;
    margin: 0;
    padding: 0;
    margin: 3px 0 3px 25px;
    list-style: url("../icons-png/carat-r-white.png");
}

#nav li:hover > ul {
    display: block; /* show dropdown on hover */
}

/************************************************************************************
NAVIGATION MOBILE
*************************************************************************************/
@media screen and (max-width: 760px) {

    #navigation {
        background: none;
        border: none;
    }


    /* nav-wrap */
    #nav-wrap {
        position: relative;
    }

    /* menu icon */
    #menu-icon {
        color: #ecebeb;
        width: 42px;
        height: 25px;
        background: #ff6a00 url(../icons-png/bullets-white.png) no-repeat 10px center;
        padding: 8px 10px 0 42px;
        cursor: pointer;
        /* Rounded Corners */
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;

        /* Borders */
        border: 1px solid #c5c5c5;

        display: block; /* show menu icon */
    }
    #menu-icon:hover {
        background-color: #ad4f0c;
    }
    #menu-icon.active {
        background-color: #bbb;
    }

    /* main nav */
    #nav {
        clear: both;
        position: absolute;
        top: 38px;
        width: 160px;
        z-index: 10000;
        padding: 5px;
        background: #ad4f0c;
        /* Rounded Corners */
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;

        /* Borders */
        border: 1px solid #c5c5c5;
        display: none; /* visibility will be toggled with jquery */
    }
    #nav li {
        clear: both;
        float: none;
        margin: 5px 0 5px 10px;

    }
    #nav a,
    #nav ul a {
        font: inherit;
        background: none;
        display: inline;
        padding: 0px;
        color: #ecebeb;
        border: none;
    }
    #nav a:hover,
    #nav li ul li a:hover {
        background: #bbbbbb;
    }

    /* dropdown */
    #nav ul {
        width: auto;
        position: static;
        display: block;
        border: none;
        background: inherit;

    }
    #nav li ul li {
        margin: 3px 0 3px 25px;
        list-style: url("../icons-png/carat-r-white.png");
    }

}

@media screen and (min-width: 1000px) {

    /* ensure #nav is visible on desktop version */
    #nav {
        display: block !important;
    }

}