/* --------------------------------------------------------------------------
 * Prodigystudio  : Kyma - Multipurpose HTML Template
 *  
 * file           : menu.css
 * Desc           : Maleo Framework - Menu Component
 * Version        : 1.0
 * Date           : 06/12/2014
 * Author         : Prodigystudio - team
 * Author URI     : http://prodigystudio.net
 * Email          : Hello@prodigystudio.net
 *
 * Prodigy Studio. Copyright © 2014. All Rights Reserved.
 * -------------------------------------------------------------------------- */

header {
    z-index: 200;
}

ul.sm li {
  position: relative;  
}

ul.sm a {
  position: relative;
  display: block;
}

ul.sm ul {
  position: absolute;
  top: -999999px;
  left: -800px;
  width: 100px;
  background: #FFFFFF;
}

ul.sm li {
  float: left;
}

ul.sm-rtl li {
  float: right;
}

ul.sm ul li, ul.sm-vertical li {
  float: none;
  width: 100%;
}

* html ul.sm-vertical li {
  float: left;
  width: 100%;
}

* html ul.sm-vertical ul li {
  float: none;
  width: auto;
}

*:first-child + html ul.sm-vertical > li {
  float: left;
  width: 100%;
}

ul.sm:after {
  content: "\00a0";
  display: block;
  height: 0;
  font: 0/0 serif;
  clear: both;
  visibility: hidden;
  overflow: hidden;
}

* html ul.sm {
  height: 1px;
}

*:first-child + html ul.sm {
  min-height: 1px;
}

ul.sm {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ------------------- Menu box ------------------- */
/* first sub level carets */
.sm > li > ul:before {
  content: '';
  position: absolute;
  top: -17px;
  left: 30px;
  width: 0;
  height: 0;
  overflow: hidden;
  /* tweak size of the arrow */
}
.sm > li > ul:after {
  content: '';
  position: absolute;
  top: -15px;
  left: 31px;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* no carets for vertical main */
.sm-vertical > li > ul:before, .sm-vertical > li > ul:after {
  display: none;
}
/*------------------- sidebar menu end here -------------------*/
/*
---------------------------------------------------------------
  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: 767px) {
  .sm:not(.sm-vertical) > li > a {
    padding-left: 8px;
    padding-right: 8px;
  }

  .sm:not(.sm-vertical) > li > a.has-submenu {
    padding-right: 25px;
  }
  
  .sm:not(.sm-vertical) > li > a {
    padding-left: 3px;
    padding-right: 3px;
  }

  .sm:not(.sm-vertical) > li > a.has-submenu {
    padding-right: 25px;
  }
  
  /* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
  ul.sm {
    width: auto !important;
  }

  ul.sm 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 > li {
    float: none;
  }

  ul.sm > li > a, ul.sm ul.sm-nowrap > li > a {
    white-space: normal;
  }

  ul.sm iframe {
    display: none;
  }

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

  /* no carets */
  .sm > li > ul:before, .sm > li > ul:after {
    display: none;
  }

  /* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
  .sm a.highlighted span.sub-arrow, .sm a.highlighted span.fa {
    display: none !important;
  }

  /* Items separators
  ===================*/
  .sm li {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .sm > li:first-child {
    border-top: 0;
  }
}
