/*
---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-simple > li > a { ... } instead of .sm-simple a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

    .sm-simple {
        z-index: 999;
        margin-left: 20px;}

    /*.sm-simple,*/
    .sm-simple ul {
        background:#fff; }

    .sm-simple ul {
        padding: 5px 20px 20px 20px; }

    .sm-simple ul ul {
        margin-top: -43px !important;
        padding: 10px 20px; }

    .sm-nowrap {
        margin-top: 1px !important; }
        
    #start-header .sm-nowrap {
        margin-top: 0 !important; } 


/* Menu items
===================*/

    .sm-simple a {
        padding:12px 10px;
        font-size:80%;
        text-decoration:none;
        text-transform: uppercase;
        
        letter-spacing: 1px;
        color: #a8adbe;
        color: rgba(255,255,255,0.6);
    }
    .sm-simple li:last-child a {
        padding-right: 1px !important; }

    .sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active,
    .sm-simple a.highlighted {
        color:#fff;
    }
    /* current items - add the class manually to some item or check the "markCurrentItem" script option */
    .sm-simple ul a, .sm-simple ul li ul a {
        padding: 8px 0;
        color: #181716;
    }
    .sm-simple a.current, .sm-simple a.current:hover, .sm-simple a.current:focus, .sm-simple a.current:active {
        color:#000;
        color: #fff;
    }

    .sm-simple ul a:hover, .sm-simple ul a:focus, .sm-simple ul a:active/*,
    .sm-simple ul a.current*/, .sm-simple ul a.current:hover, .sm-simple ul a.current:focus, .sm-simple ul a.current:active {
        color:#0072a2;
    }
   .sm-simple ul a.current {
        font-weight: bold;
        color: #181716;
    }

    .sm-simple ul li ul li a {
        padding-right: 100px; }

    .sm-simple ul a.sm-transponder { background: url(../../../../img/top-nav/transponder1x.png) right center no-repeat; }
    .sm-simple ul a.sm-zylinder { background: url(../../../../img/top-nav/zylinder1x.png) right center no-repeat; }
    .sm-simple ul a.sm-software { background: url(../../../../img/top-nav/computer1x.png) right center no-repeat; }
    .sm-simple ul a.sm-programmierung { background: url(../../../../img/top-nav/usb-stick1x.png) right center no-repeat; }
    .sm-simple ul a.sm-smartcard { background: url(../../../../img/top-nav/smartcard1x.png) right center no-repeat; }
    .sm-simple ul a.sm-mobile { background: url(../../../../img/top-nav/mobile1x.png) right center no-repeat; }

    .sm-simple ul a.sm-10 { background: url(../../../../img/top-nav/transponder1x.png) right center no-repeat; }
    .sm-simple ul a.sm-11 { background: url(../../../../img/top-nav/zylinder1x.png) right center no-repeat; }
    .sm-simple ul a.sm-12 { background: url(../../../../img/top-nav/computer1x.png) right center no-repeat; }
    .sm-simple ul a.sm-13 { background: url(../../../../img/top-nav/usb-stick1x.png) right center no-repeat; }
    .sm-simple ul a.sm-smartcard { background: url(../../../../img/top-nav/smartcard1x.png) right center no-repeat; }
    .sm-simple ul a.sm-mobile { background: url(../../../../img/top-nav/mobile1x.png) right center no-repeat; }

@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
    .sm-simple ul a.sm-transponder { background: url(../../../../img/top-nav/transponder2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-zylinder { background: url(../../../../img/top-nav/zylinder2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-software { background: url(../../../../img/top-nav/computer2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-programmierung { background: url(../../../../img/top-nav/usb-stick2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-smartcard { background: url(../../../../img/top-nav/smartcard2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-mobile { background: url(../../../../img/top-nav/mobile2x.png) right center no-repeat; background-size: 40px 24px; }

    .sm-simple ul a.sm-10 { background: url(../../../../img/top-nav/transponder2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-11 { background: url(../../../../img/top-nav/zylinder2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-12 { background: url(../../../../img/top-nav/computer2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-13 { background: url(../../../../img/top-nav/usb-stick2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-smartcard { background: url(../../../../img/top-nav/smartcard2x.png) right center no-repeat; background-size: 40px 24px; }
    .sm-simple ul a.sm-mobile { background: url(../../../../img/top-nav/mobile2x.png) right center no-repeat; background-size: 40px 24px; }
}




/* Sub menu indicators
===================*/

    .sm-simple a span.sub-arrow {
        display: none; }
    .sm-simple ul a span.sub-arrow {
        /*
        position:absolute;
        right:4px;
        top:50%;
        margin-top:-8px;
        width:16px;
        height:16px;
        line-height:16px;
        */
        display: inline;
        position:absolute;
        bottom:2px;
        left:50%;
        margin-left:-5px;
        /* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
        width:0;
        height:0;
        overflow:hidden;
        border-width:5px; /* tweak size of the arrow */
        border-style:solid dashed dashed dashed;
        border-color:#5B5B5B transparent transparent transparent;
    }
    .sm-simple ul a span.sub-arrow,
    .sm-simple-vertical a span.sub-arrow {
        /*
        right:auto;
        margin-left:-14px;
        */
        bottom:auto;
        top:50%;
        margin-top:-5px;
        right:0px;
        left:auto;
        margin-left:0;
        border-style:dashed dashed dashed solid;
        border-color:transparent transparent transparent #5B5B5B;
    }


/* Items separators
===================*/
    .sm-simple li {
        border-left:0;
        padding-left: 10px;
    }
    .sm-simple ul li {
        border-left:0;
        padding-left: 0;
    }
    
    .sm-simple ul li,
    .sm-simple-vertical li {
        border-left:0;
        border-bottom:1px solid #a2a1a1;
        /*margin: 0 15px;*/
    }
    /*
    .sm-simple ul li:first-child,
    .sm-simple-vertical li:first-child {
        border-top:0;
    }
    */


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

    .sm-simple span.scroll-up, .sm-simple span.scroll-down {
        position:absolute;
        display:none;
        visibility:hidden;
        overflow:hidden;
        border:solid #bbb;
        border-width:1px 0;
        background:#fff;
        height:20px;
        /* width and position will be automatically set by the script */
    }
    .sm-simple span.scroll-up-arrow, .sm-simple span.scroll-down-arrow {
        position:absolute;
        top:-2px;
        left:50%;
        margin-left:-8px;
        /* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
        width:0;
        height:0;
        overflow:hidden;
        border-width:8px; /* tweak size of the arrow */
        border-style:dashed dashed solid dashed;
        border-color:transparent transparent #555 transparent;
    }
    .sm-simple span.scroll-down-arrow {
        top:6px;
        border-style:solid dashed dashed dashed;
        border-color:#555 transparent transparent transparent;
    }


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


@media screen and (max-width: 639px) {


    /* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
    ul.sm-simple{width:auto !important;}
    ul.sm-simple ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
    ul.sm-simple>li{float:none;}
    ul.sm-simple>li>a,ul.sm-simple ul.sm-nowrap>li>a{white-space:normal;}
    ul.sm-simple iframe{display:none;}
    /*ul.sm-simple{border: 1px solid black;}*/
    #topnav{display: none;}
    #start-header #topnav {
        display: block !important; }

    /* Uncomment this rule to disable completely the sub menus for small screen devices */
    /*.sm-simple ul, .sm-simple span.sub-arrow, .sm-simple iframe {
        display:none !important;
    }*/


/* Menu box
===================*/

    .sm-simple {
        margin-left: 0px; }
        
    .sm-simple li {
        padding-left: 0px; }

    .sm-simple ul {
        border:0;
        padding: 10px 0px 20px 20px !important;
        /* darken the background of the sub menus */
        /*
        background:rgba(100,100,100,0.1);
        -moz-box-shadow:none;
        -webkit-box-shadow:none;
        box-shadow:none; */
    }



/* Menu items
===================*/

    .sm-simple a {
        padding-top:13px;
        padding-left: 0;
        padding-bottom:13px;
    }

    .sm-simple li:first-child {
        padding-left: 0;
    }

    .sm-simple a.has-submenu {
        padding-right:23px;
    }
    .sm-simple a.has-submenu {
        background-position: right 20px; }

    .sm-simple a.has-submenu:hover {
        background-position: right -80px; }


    /* add some text indentation for the 2+ level sub menu items */

    /*
    .sm-simple ul a {
        border-left:8px solid transparent;
    }
    .sm-simple ul ul a {
        border-left:16px solid transparent;
    }
    .sm-simple ul ul ul a {
        border-left:24px solid transparent;
    }
    .sm-simple ul ul ul ul a {
        border-left:32px solid transparent;
    }
    .sm-simple ul ul ul ul ul a {
        border-left:40px solid transparent;
    }
    */

    .sm-simple  a, .sm-simple ul li a, .sm-simple ul ul li a {
        font-size: 110%; }

    .sm-simple ul li a, .sm-simple ul ul li a {
        padding-top: 12px;
        padding-bottom: 12px;
    }



/* Sub menu indicators
===================*/

    .sm-simple a span.sub-arrow {
        right:auto;
        margin-left:-14px;
        display: none;
    }
    /* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
    .sm-simple a.highlighted span.sub-arrow {
        display:none !important;
    }


/* Items separators
===================*/

    .sm-simple li {
        border-left:0;
        border-top:1px solid #a2a1a1 !important;
    }
    .sm-simple li:first-child {
        border-top:0 !important;
    }

    .sm-simple li li {
        border-top:1px solid #d4d3d3 !important;
    }

    .sm-simple li li li {
        border-top:1px solid #e2e1e1 !important;
    }

}




@media only screen and (min-width: 1024px) {
    .sm-simple a {
        font-size:90%;
    }
}
