/* ticketebo_home menu.css */


@font-face {
font-family: 'OpenSansRegular';
src: url('../fonts/opensans-regular-webfont.eot');
src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('https://fonts.gstatic.com/s/opensans/v43/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2') format('woff2'),
    url('../fonts/opensans-regular-webfont.woff') format('woff'),
     url('../fonts/opensans-regular-webfont.ttf') format('truetype'),
     url('../fonts/opensans-regular-webfont.svg#OpenSansRegular') format('svg');

    font-weight: normal;
    font-style: normal;
}

nav {float:right;padding:45px 0 39px;}

#nav {
    font-family: 'OpenSansRegular', sans-serif;
    font-weight: 400;
}

#nav > a {
    display: none;
}

#nav li {
    position: relative;
}

#nav li a {
    color: #555555;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0 10px;
    border-radius: 2px 2px 2px 2px;
}

#nav li a:active {
    background-color: transparent;
}

#nav span:after {
    width: 0;
    height: 0;
    border: 0.313em solid transparent; /* 5 */
    border-bottom: none;
    border-top-color: #efa585;
    content: '';
    vertical-align: middle;
    display: inline-block;
    position: relative;
    right: -0.313em; /* 5 */

}

/* first level */

#nav > ul {
    float: right;
    margin-top: 10px;
    padding-top: 10px;
}

#nav > ul > li {
    float: left;
    padding: 0 10px 0 0;
}

#nav > ul > li.last1 {
    padding: 0;
}

#nav > ul > li > a {    
    font-size: 14px; /* 24 */
    line-height: 30px; /* 60 (24) */
    text-align: center;
}

#nav > ul > li:hover > a,
#nav > ul li.active > a {
    background: #eeeeee;
}

#nav > ul > li > a.signup-btn, .btn-orange {
    background: #ff7b10;
    border-radius: 3px;
    padding: 0 12px;
    color: #fff;
    font-family: 'OpenSansBold', Arial, Helvetica, sans-serif;
}

#nav > ul > li > a.signup-btn:hover,
.btn-orange:hover {
    background: #d66000;
}

/* second level */

#nav li ul {
    background-color: #cc470d;
    display: none;
    position: absolute;
    top: 100%;
}

#nav li:hover ul {
    display: block;
    left: 0;
    right: 0;
}

#nav li:not( :first-child ):hover ul {
    left: -1px;
}

#nav li ul a {
    font-size: 1.25em; /* 20 */
    border-top: 1px solid #e15a1f;
    padding: 0.75em; /* 15 (20) */
}

#nav li ul li a:hover,
#nav li ul:not( :hover ) li.active a {
    background-color: #e15a1f;
}

@media only screen and (max-width: 995px) {
    nav{ padding-top: 0;}
    #nav > ul > li {
        padding-left: 0;
    }
}

@media only screen and (max-width: 767px) {
    html {
        font-size: 75%;
    }

    .show_navigation {
        margin-bottom: 10px;
    }

    nav {
        float: right;
        padding: 45px 0 39px;
    }

    #nav {
        width: 100%;
        margin: -78px 0 0 0;
        position: relative;
        top: 0;
        left: 6px;
    }

    #nav > a {
        width: 42px; /* 50 */
        height: 30px; /* 50 */
        text-align: left;
        text-indent: -9999px;
        position: relative;
        left: 422px;
        border-radius: 2px;
        background: #663106 url(../images/ticketebo/menu-lines.jpg) no-repeat center 9px;
    }

    #nav > a:before,
    #nav > a:after {
        position: absolute;
        top: 35%;
        left: 25%;
        right: 25%;
        content: '';
    }

    #nav > a:after {
        top: 60%;
    }

    #nav:not( :target ) > a:first-of-type,
    #nav:target > a:last-of-type {
        display: block;
    }

    /* first level */
    #nav > ul {
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 9999;
        top: 22px;
        background: #cc620d;
        padding: 7px 7px 9px 6px;
    }

    #nav:target > ul {
        display: block;
    }

    #nav > ul > li {
        float: none;
    }

    #nav > ul > li > a {
        height: auto;
        text-align: left;
        text-decoration: none;
        padding: 0 0.833em;
        margin-left:5px;
        font-family: 'OpenSansBold', Arial, Helvetica, sans-serif;
        color: #fff;
        line-height: 40px;
    }

    #nav > ul > li:not( :last-child ) > a {
        border-right: none;
        /* not exist background: url(../images/menu-bg.jpg) repeat-x left bottom; */
        border-bottom: 1px solid #be5b0c;
    }


    #nav > ul > li > a.signup-btn {
        background: #ff7b10;
        width: 90px;
        margin: 14px 0;
        margin-left: 6px;
        border-radius: 3px;
        line-height: 30px;
        padding: 0;
        text-align: center;
        color: #fff;
        font-family: 'OpenSansBold', Arial, Helvetica, sans-serif;
    }


    /* second level */
    #nav > ul > li:hover > a,
    #nav > ul li.active > a {
        color: #004190;
        background: none !important;
    }

    #nav li ul {
        position: static;
        padding: 1.25em; /* 20 */
        padding-top: 0;
    }

}

@media only screen and (max-width: 479px) {
    html {
        font-size: 75%; /* 12 */
    }

    .show_navigation {
        margin-bottom: 10px;
    }

    nav {
        float: right;
        padding: 45px 0 39px;
    }

    #nav {
        width: 100%;
        margin: -77px 0 0 0;
        position: relative;
        top: 0;
        left: 5px;
    }

    #nav > a {
        width: 42px; /* 50 */
        height: 30px; /* 50 */
        text-align: left;
        text-indent: -9999px;
        position: relative;
        left: 266px;
        border-radius: 2px;
        background: #663106 url(../images/ticketebo/menu-lines.jpg) no-repeat center 9px;

    }

    #nav > a:before,
    #nav > a:after {
        position: absolute;
        top: 35%;
        left: 25%;
        right: 25%;
        content: '';
    }

    #nav > a:after {
        top: 60%;
    }

    #nav:not( :target ) > a:first-of-type,
    #nav:target > a:last-of-type {
        display: block;
    }

    /* first level */
    #nav > ul {
        height: auto;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 9999;
        top: 22px;
        background: #cc620d;
        padding: 7px 7px 9px 5px;
    }

    #nav:target > ul {
        display: block;
    }

    #nav > ul > li {
        padding: 0 6px 0 0;
        float: none;
    }

    #nav > ul > li > a {
        height: auto;
        text-align: left;
        text-decoration: none;
        padding: 0 0.833em;
        font-family: 'OpenSansBold', Arial, Helvetica, sans-serif;
        color: #fff;
        line-height: 40px;
    }

    #nav > ul > li:not( :last-child ) > a {
        border-right: none;
        /* not exist background: url(../images/menu-bg.jpg) repeat-x left bottom; */
        border-bottom: 1px solid #be5b0c;

    }

    #nav > ul > li:hover > a,
    #nav > ul li.active > a {
        color: #004190;
        background: none !important;
    }

    #nav > ul > li > a.signup-btn {
        background: #ff7b10;
        width: 90px;
        margin: 14px 0;
        margin-left: 6px;
        border-radius: 3px;
        line-height: 30px;
        padding: 0;
        text-align: center;
        color: #fff;
        font-family: 'OpenSansBold', Arial, Helvetica, sans-serif;
    }

    /* second level */
    #nav li ul {
        position: static;
        padding: 1.25em; /* 20 */
        padding-top: 0;
    }
}
