/* Import "PT Sans Narrow" font from Google fonts */
@import url(//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);


/*
---------------------------------------------------------------
  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-qrt > li > a { ... } instead of .sm-qrt a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/
#qrt_main {
}
  .sm-qrt {
    background:#fff; /* Old browsers */
    padding:0px;
    border-bottom: 2px solid black;

  }
  ul.sm-qrt ul {
    border-top: 2px solid #ccc;
    padding: 0;
    background:#fff;
    -moz-box-shadow:0 5px 9px rgba(0,0,0,0.3);
    -webkit-box-shadow:0 5px 9px rgba(0,0,0,0.3);
    box-shadow:0 5px 9px rgba(0,0,0,0.3); 

  }


/* Menu items
===================*/
  .sm-qrt a {
    padding:4px 8px;
    color:#005;
    font-size:12px;
    line-height:13px;
    font-family:Verdana,Arial,Helvetica,sans-serif;
    text-decoration:none;
    border: 2px solid #fff;
    font-weight: bold;
    -moz-box-shadow:0 1px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3);
    box-shadow:0 1px 1px rgba(0,0,0,0.3); 
    font-variant: small-caps;
}
  .sm-qrt a:hover, .sm-qrt a:focus, .sm-qrt a:active,
  .sm-qrt a.highlighted {
    /* background:#eee; Old browsers */
    color:#365E91;
    background:#eee;
    border: 2px solid #ccc;
}
  .sm-qrt ul {
    padding:0px;
    color:#fff;
    width: 400px;
    font-size:12px;
  }
  
  .sm-qrt ul li {
    width: 250px;
  }
          
  .sm-qrt ul a:hover, .sm-qrt ul a:focus, .sm-qrt ul a:active,
  .sm-qrt ul a.highlighted {
  /*  background:#eee; Old browsers
    color:#000;
     */
  }
  /* current items - add the class manually to some item or check the "markCurrentItem" script option */
  .sm-qrt a.current, .sm-qrt a.current:hover, .sm-qrt a.current:focus, .sm-qrt a.current:active,
  .sm-qrt ul a.current, .sm-qrt ul a.current:hover, .sm-qrt ul a.current:focus, .sm-qrt ul a.current:active {
/*    background:#ddd;
    color:#000;
    border-top: 4px solid black;
    -moz-border-radius:8px 8px 0 0 ;
    -webkit-border-radius:8px 8px 0 0 ;
    border-radius:8px 8px 0 0; */

  }
  /* round the left corners of the first item for horizontal main menu */
  .sm-qrt > li:first-child > a {
    -moz-border-radius:0;
    -webkit-border-radius:0;
    border-radius:0;
  }
  /* round the corners of the first and last items for vertical main menu */
  .sm-qrt-vertical > li:first-child > a {
    -moz-border-radius:8px 8px 0 0;
    -webkit-border-radius:8px 8px 0 0;
    border-radius:8px 8px 0 0;
  }
  .sm-qrt-vertical > li:last-child > a {
    -moz-border-radius:0 0 8px 8px;
    -webkit-border-radius:0 0 8px 8px;
    border-radius:0 0 8px 8px;
  }
  .sm-qrt a.has-submenu {
/*      text-decoration: underline;
 */ }
  .sm-qrt a.has-submenu:hover {
/*      border-top: 2px solid #ccc;
    -moz-border-radius:8px 8px 0 0 ;
    -webkit-border-radius:8px 8px 0 0 ;
    border-radius:8px 8px 0 0;  */
      }


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

  .sm-qrt a span.sub-arrow {
    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:0px; /* tweak size of the arrow */
    border-style:solid dashed dashed dashed;
    border-color:#F1B21C transparent transparent transparent;
  }
  .sm-qrt-vertical a span.sub-arrow,
  .sm-qrt ul a span.sub-arrow {
    bottom:auto;
    top:50%;
    margin-top:-5px;
    right:5px;
    left:auto;
    margin-left:0;
    border-width:5px; /* tweak size of the arrow */ 
                border-style:dashed dashed dashed solid;
    border-color:transparent transparent transparent #F1B21C;
  }


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

  .sm-qrt li {
    border-left:10px;
  }
  
  .sm-qrt-vertical li,
  .sm-qrt ul li {
    border-left:10px;
  }


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

  .sm-qrt span.scroll-up, .sm-qrt span.scroll-down {
    position:absolute;
    display:none;
    visibility:hidden;
    overflow:hidden;
    background:#ffffff;
    height:20px;
    /* width and position will be automatically set by the script */
  }
  .sm-qrt span.scroll-up-arrow, .sm-qrt 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 #247eab transparent;
  }
  .sm-qrt span.scroll-down-arrow {
    top:6px;
    border-style:solid dashed dashed dashed;
    border-color:#247eab transparent transparent transparent;
  }



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


/* decrease horizontal main menu items left/right padding to avoid wrapping */
@media screen and (max-width: 850px) {
  .sm-qrt:not(.sm-qrt-vertical) > li > a {
    padding-left:18px;
    padding-right:18px;
  }
}
@media screen and (max-width: 750px) {
  .sm-qrt:not(.sm-qrt-vertical) > li > a {
    padding-left:10px;
    padding-right:10px;
  }
}

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

  /* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
  ul.sm-qrt{width:auto !important;}
  ul.sm-qrt 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-qrt>li{float:none;}
  ul.sm-qrt>li>a,ul.sm-qrt ul.sm-nowrap>li>a{white-space:normal;}
  ul.sm-qrt iframe{display:none;}

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


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

  .sm-qrt {
    background:transparent;
    -moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
    -webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
    box-shadow:0 1px 4px rgba(0,0,0,0.3);
               
  }

        .sm-qrt li {
               border: 1px solid black;
         }

  .sm-qrt ul {
    border:0;
    padding:0;
    background:#336699;
    -moz-border-radius:0;
    -webkit-border-radius:0;
    border-radius:0;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    box-shadow:none;
                
  }

        .sm-qrt ul li {
               border: 1px solid black;
               width: 95%;
               background-color: #ccc;
               margin-left: 5%;
    -moz-border-radius:0;
    -webkit-border-radius:0;
    border-radius:0;
        }

  .sm-qrt ul ul  {
    /*  the 2+ level sub menus remove border radius  */
  
    -moz-border-radius:0;
    -webkit-border-radius:0;
    border-radius:0;
               background-color: #ccc;
  }
  .sm-qrt ul ul li {
    /*  the 2+ level sub menus  */
               width: 95%;
               background-color: #eee;
               margin-left: 5%;   
    -moz-border-radius:0;
    -webkit-border-radius:0;
    border-radius:0;
  }


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

  .sm-qrt a {
    padding:10px 5px 10px 28px !important; /* add some additional left padding to make room for the sub indicator */
    background:#000 !important; /* Old browsers */
    color:#fff !important;
  }
  .sm-qrt ul a {
    background:transparent !important;
    color:#336699 !important;
                
  }
  .sm-qrt a.current {
    background:#000 !important; /* Old browsers */
    color:#fff !important;
  }
  /* add some text indentation for the 2+ level sub menu items */
  .sm-qrt ul a {
    border-left:8px solid transparent;
  }
  .sm-qrt ul ul a {
    border-left:16px solid transparent;
  }
  .sm-qrt ul ul ul a {
    border-left:24px solid transparent;
  }
  .sm-qrt ul ul ul ul a {
    border-left:32px solid transparent;
  }
  .sm-qrt ul ul ul ul ul a {
    border-left:40px solid transparent;
  }
  /* round the corners of the first and last items */
  .sm-qrt > li:first-child > a {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
  }
  /* presume we have 4 levels max */
  .sm-qrt > li:last-child > a,
  .sm-qrt > li:last-child > ul > li:last-child > a,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > a,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
  .sm-qrt > li:last-child > ul,
  .sm-qrt > li:last-child > ul > li:last-child > ul,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > ul,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
    -moz-border-radius:0;
    -webkit-border-radius:0;
    border-radius:0;
  }
  /* highlighted items, don't need rounding since their sub is open */
  .sm-qrt > li:last-child > a.highlighted,
  .sm-qrt > li:last-child > ul > li:last-child > a.highlighted,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
  .sm-qrt > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted {
    -moz-border-radius:0;
    -webkit-border-radius:0;
    border-radius:0;
  }


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

  .sm-qrt a span.sub-arrow {
    top:50%;
    margin-top:-6px;
    right:auto;
    left:6px;
    margin-left:2px;
    width:12px;
    height:12px;
    font:bold 12px/12px sans-serif !important;
    text-align:center;
    border:0;
    background-color:#fff;
    -moz-border-radius:100px;
    -webkit-border-radius:100px;
    border-radius:100px;
                color: #000;
  }

        .sm-qrt ul a span.sub-arrow {
    top:50%;
    margin-top:-6px;
    right:auto;
    left:6px;
    margin-left:2px;
    width:12px;
    height:12px;
    font:bold 12px/12px sans-serif !important;
    text-align:center;
    border:0;
    background-color:#000;
    -moz-border-radius:100px;
    -webkit-border-radius:100px;
    border-radius:100px;
                color: #fff;
  }
  /* Hide sub indicator "+" when item is expanded - we enable the item link when it's expanded */
  .sm-qrt a.highlighted span.sub-arrow {
    display:none !important;
  }


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

  .sm-qrt li {
    border-left:0;
  }
  .sm-qrt ul li {
    border-top:1px solid rgba(0,0,0,0);
  }
  .sm-qrt ul li:first-child {
    border-top:0;
  }

}


