@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300);
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  display: block;
  width: 100%;
  /*height: 25px;*/
 }


.menu-opener, .menu-opener:hover, .menu-opener.active, .menu-opener-inner, .menu-opener-inner::before, .menu-opener-inner::after, .menu, .menu.active ,.container {
  -webkit-transition: 250ms all;
  transition: 250ms all;
  z-index:20;
  display: none;
}
.menu-link:hover {
	background: orange;
	outline: none;
	}
.menu-opener {
  cursor: pointer;
  height: 37px;
  position: absolute;
  top: 2%;
  left: 1%;
  background:#393535;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 105px;
}
.menu-opener:hover, .menu-opener.active {
  background: rgb(20, 20, 20) none repeat scroll 0% 0%;
}

.menu-opener-inner {
  background: #fff;
  height: .4rem;
  margin-left: .75rem;
  margin-top: 1.75rem;
  width: 2.5rem;
}
.menu-opener-inner::before, .menu-opener-inner::after {
  background: white;
  content: '';
  display: block;
  height: .4rem;
  width: 2.5rem;
}
.menu-opener-inner::before {
  -webkit-transform: translateY(-0.75rem);
  -ms-transform: translateY(-0.75rem);
  transform: translateY(-0.75rem);
}
.menu-opener-inner::after {
  -webkit-transform: translateY(0.25rem);
  -ms-transform: translateY(0.25rem);
  transform: translateY(0.25rem);
}
.menu-opener-inner.active {
  background: transparent;
}
.menu-opener-inner.active::before {
  -webkit-transform: translateY(0rem) rotate(-45deg);
  -ms-transform: translateY(0rem) rotate(-45deg);
  transform: translateY(0rem) rotate(-45deg);
}
.menu-opener-inner.active::after {
  -webkit-transform: translateY(-0.5rem) translateX(0rem) rotate(45deg);
  -ms-transform: translateY(-0.5rem) translateX(0rem) rotate(45deg);
  transform: translateY(-0.5rem) translateX(0rem) rotate(45deg);
}



.menu {
  background: #393535;
  color: transparent;
  opacity:0.9;
  height: 0rem;
  position: absolute;
  left: 1%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width:20%;
  z-index: -1;
  top: 3.8rem;

}
.menu.active {
  max-height: -webkit-calc(60% - 0.5rem);
  max-height: calc(60% - 0.5rem);
  height:auto;
  width:13%;
  min-width:170px;
  z-index:20;

 }

.menu.active .menu-link {
  color: white;
  z-index:20;
}

.menu-inner {
  margin-top: 1rem;
  float:left;
  width:90%;
  margin-left:0.5rem;
  list-style-type: none;
  padding: 0;
}

.menu-link {
  color: transparent;
  width: 100%;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  font-size: 0.9rem;
  font-weight: 100;
  height:calc(50%-0.5rem);
  text-align: left;
  text-decoration: none;
  z-index:20;
  padding:2px;
  display:block;
}
.menu-link li {
  margin: auto;
  z-index:20;
  display:flex;

}
.menu-span{
	float: right;
    width: 40%;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    margin-right: 1.5rem;
}



@media screen and (max-width: 768px) {
  .menu {
   	top: 3rem;

   }

  .menu-inner {
     display: block;
	 margin-left:0.25rem;
	 margin-right: .25rem;

	}
  .menu-link {
	padding: 2px 0;
    font-size: 0.7em;

  }
  .menu.active {
     width:20%;
	 min-width:150px;
	 min-height: -webkit-calc(40% - 0.5rem);
     min-height: calc(40% - 0.5rem);
	height:auto;
  }
}
  @media screen and (max-width: 360px) {
  .menu {
   	top: 3rem;
	 }
  .menu-inner {
    display: block;
	margin-left:0.25rem;
	margin-right: .25rem;
	}

   .menu.active {
    width:45%;
	min-height: -webkit-calc(40% - 0.5rem);
    min-height: calc(40% - 0.5rem);
	height:auto;
  }
  .menu-link {
	padding: 2px 0;
    font-size: 0.7em;
	display:block;

  }
  }

/* styles.css */


@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */
    .mCSB_container{overflow: visible !important}
}
/* end styles.css */

/* MENU COMPONENT */
#menu{
    display: inline-block;
    z-index: 125;
    position: fixed;
}
#menu.hidden{
  display: none;
}


#menu .menuContent{
    margin: 20px;
    width: 200px;
    background: white;
    display: inline-block;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    opacity: 0.75;
    /*overflow-y: auto;*/
}
#menu .menuContent:hover{
    opacity: 0.85;
}

#menu .scrollingArea{
    /*max-height: 500px;*/
}

#menu .menuContent img{
    width: 100%;
}

#menuButton{
    display: none;
}
#closeButton{
    position: absolute;
    top: 5px;
    right: 0px;
    display: none;
    color: black;
}

@media screen and (max-width: 1000px) {
    #menu{
        width: 0%;
        height: 100%;
        transition: width 0.3s;
    }
    #menu .dropdown{
      padding-top: 25px;
    }
    #menu .menuContent{
        display: none;
        margin: 0px;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    #menu.open{
        width: 50%;
        transition: width 0.3s;
    }
    #menu.open .menuContent{
        display: inline-block;
        max-height: 100%;
    }
    #menu .scrollingArea{
        /*max-height: 100% !important;*/
    }
    #menu.open #closeButton{
      display: inline-block;
      z-index: 99999;
      padding: 0px;
      width: 25px;
      height: 25px;
      background: #58656e;
      color: white;
      border-radius: 50%;
      top: 5px;
      right: 5px;
    }
    #menu img{
        clear: both;
        margin: 0px auto;
    }
    #menuButton{
        margin: 20px;
        display: inline-block;
    }
    #menu.open #menuButton{
        display: none;
    }
}
@media screen and (min-width: 600px) {
  #menu.open{
      width: 30% !important;
  }
}
/* END MENU COMPONENT */
/* TREE VIEW COMPONENT */

.dropdown-menu{
    width: 100%;
    background-color: none;
    border-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: none;
    padding: 0 0;
    box-shadow: none;
    position: relative;
    display: block;
    z-index: 0;
    /*border: 1px solid #ebebe6;*/
}

.dropdown-submenu .dropdown-menu > li{
  border-bottom: 0px solid #ebebe6;
  border-top: 0px solid #ebebe6 !important;
}
.dropdown-menu > li{
  border-bottom: 1px solid #ebebe6;
  /*border-top: 1px solid #ebebe6 !important;*/
}
.menuContent > .dropdown-menu > li:last-child {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}
.dropdown-menu li:hover {
    /*background: #5c6b75;*/
}
.dropdown-menu li:hover > a{
    /*color: white;*/
}
.dropdown-menu>li>a {
    font-size: 14px;
    font-weight: 400;
    color: #5c6b75;
    cursor: pointer;
    padding: 10px 20px;
    display: block;
    line-height: 1.42857;
    white-space: nowrap;
    /*text-transform: uppercase;*/
}
.dropdown-menu>li>a{
    clear: both;
}
.dropdown-menu li > a > span{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: calc(100% - 10px);
  vertical-align: middle;
  border-bottom: solid 1px transparent;
  -webkit-transition: color .4s ease-out, border-bottom-color .4s ease-out;
     -moz-transition: color .4s ease-out, border-bottom-color .4s ease-out;
      -ms-transition: color .4s ease-out, border-bottom-color .4s ease-out;
       -o-transition: color .4s ease-out, border-bottom-color .4s ease-out;
          transition: color .4s ease-out, border-bottom-color .4s ease-out;
}

.dropdown-submenu {
    position: relative;
    display: inline-block;
    width: 100%;
    transition: max-height 0.8s;
    max-height: 41px;
    margin-top: -4px;
    overflow: hidden;
}
.dropdown-submenu .dropdown-submenu{
  max-height: 30px;
}
.dropdown-submenu.open{
  max-height: 300px !important;
}


.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 0;
    margin-top: 0px;
    margin-left: 0px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    position: relative;
    display: inline-block;
    padding: 0px 5px;
    /*-webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow:    0 5px 10px rgba(0,0,0,0.2);
    box-shadow:         0 5px 10px rgba(0,0,0,0.2);*/
}

.dropdown-submenu.open > .dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-menu li>a{
  padding: 5px 20px;
  font-size: 14px;
}
.dropdown-submenu .dropdown-menu li>a:after{
  width: 10px;
  height: 10px;
  margin-top: 5px;
}
.dropdown-menu li:hover>a:after{
  border-color: #5c6b75;
}
.dropdown-menu li.open >a:after{
  transform: rotate(45deg);
}
.dropdown-menu li.open,.dropdown-menu li:hover{
  background: transparent;
}
.dropdown-menu li.open a,.dropdown-menu li:hover a{
  color: #5c6b75;
}
.dropdown-menu li > a:hover > span{
  border-bottom: 1px solid #5c6b75;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    border-color: transparent;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-left-color: rgba(204, 204, 204, 0);
    margin-right: -7px;
    box-sizing: border-box;
    border-right: 3px solid #5c6b75;
    border-bottom: 3px solid #5c6b75;
    width: 15px;
    height: 15px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-top: 3px;
    background: transparent;
    transition: all 0.5s;
}

.dropdown-submenu:hover>a:after {
    /*border-color: #fff;*/
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left  .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.dropdown-submenu.open > a:after{
    margin-top: 0px;
}


@media screen and (max-width: 1000px) {

    .dropdown-submenu:hover > .dropdown-menu {
        display: none;
    }
    .dropdown-submenu.open > .dropdown-menu {
        display: block;
    }

    .dropdown-menu{
      box-shadow: none !important;
    }
    .dropdown-menu>li>a{
        font-size: 18px;
    }
    .dropdown-submenu .dropdown-menu{
      top: 0px;
      left: 0 !important;
      margin-top: 0px;
      margin-left: 0px;
      border-radius: 0;
      position: relative !important;
    }
    .dropdown-submenu .dropdown-menu{
      top: 0px;
      left: 0 !important;
      margin-top: 0px;
      margin-left: 0px;
      border-radius: 0;
      position: relative !important;
      padding: 0px 5px;
      /*border: 2px solid #5c6b75;*/
    }
    .dropdown-menu li{
      border: 0px solid #ebebe6;
      display: inline-block;
      width: 100%;
    }
    .dropdown-submenu .dropdown-menu > li{
      border-bottom: 0px solid #ebebe6;
      border-top: 0px solid #ebebe6 !important;
    }
    .dropdown-menu > li{
      border-bottom: 1px solid #ebebe6;
      /*border-top: 1px solid #ebebe6 !important;*/
    }
    .dropdown-submenu .dropdown-menu li>a{
      padding: 5px 20px;
      font-size: 14px;
    }
    .dropdown-submenu .dropdown-menu li>a:after{
      width: 10px;
      height: 10px;
      margin-top: 5px;
    }
    .dropdown-menu li:hover>a:after{
      border-color: #5c6b75;
    }
    .dropdown-menu li.open >a:after{
      transform: rotate(45deg);
    }
    .dropdown-menu li.open,.dropdown-menu li:hover{
      background: transparent;
    }
    .dropdown-menu li.open a,.dropdown-menu li:hover a{
      color: #5c6b75;
    }
    .dropdown-menu li.open > a > span,.dropdown-menu li:hover > a > span{
      text-decoration: none;
    }
}
/* END TREE VIEW COMPONENT */

/* Levels */
#levelsArea{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1;
  background: white;
  width: 29px;
  opacity: 0.75;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#levelsArea:hover{
  opacity: 0.85;
}
#levelsArea ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#levelsArea ul li{
  color: #5c6b75;
  text-align: center;
  height: 29px;
  line-height: 29px;
  border-bottom: 1px solid #ebebe6;
}
#levelsArea ul li:last-child{
  border-bottom: 0px solid #ebebe6;
}
#levelsArea ul li:hover{
  cursor: pointer;
  text-decoration: underline;
}
