/**
 *
 *	=Structure
 *
 *	================================================================ */
/**
 *	=General
 *	---------------------------------------------------------------- */
.tree-dropdown {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1.5;
}
.tree-dropdown a {
  text-decoration: none;
}
/**
 *	=Toggle
 *	---------------------------------------------------------------- */
.tree-dropdown-toggle {
  background-color: #595959;
  color: #fff;
  display: inline-block;
  text-decoration: none;
  position: relative;
  font-size: 12px;
  padding: 3px 5px 3px 15px;;
  margin: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}
.tree-dropdown-toggle .tree-dropdown-icon {
  height: 2px;
  width: 8px;
  opacity: .6;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
}
.tree-dropdown-toggle .tree-dropdown-icon:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid;
}
.tree-dropdown-toggle .tree-dropdown-text {
  display: inline-block;
  vertical-align: middle;
}
.tree-dropdown-toggle img {
  vertical-align: middle;
}
/**
 *	=Containers
 *	---------------------------------------------------------------- */
.tree-dropdown-menu-wrapper {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.tree-dropdown-menu-container {
  position: relative;
  width: 300px;
  max-width: 100%;
}
.tree-dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
}
.tree-dropdown-menu-main,
.tree-dropdown-menu-open {
  display: block;
}
.tree-dropdown-menu-open {
  position: relative;
}
.tree-dropdown-menu-wrapper {
  position: absolute;
  z-index: 999;
  display: none;
  opacity: 0;
}
.tree-dropdown-below .tree-dropdown-menu-wrapper {
  top: 100%;
  bottom: auto;
  margin: 3px 0 0;
}
.tree-dropdown-above .tree-dropdown-menu-wrapper {
  bottom: 100%;
  top: auto;
  margin: 0 0 3px;
}
.tree-dropdown-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: none;
}
.tree-dropdown-animating .tree-dropdown-mask {
  display: block;
}
.tree-dropdown-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  opacity: 0;
}
/**
 *
 *	=Menu styles
 *
 *	================================================================ */
/**
 *	=Header
 *	---------------------------------------------------------------- */
.tree-dropdown-header {
  position: relative;
  min-height: 25px;
  padding: 12.5px 50px;
  margin: 0;
  border-bottom: 1px solid #cccccc;
}
.tree-dropdown-menu-main .tree-dropdown-header {
  display: none;
}
.tree-dropdown-title {
  font-size: 15px;
  text-align: center;
  line-height: 25px;
  padding: 0;
  margin: 0;
}
/**
 *	=Buttons
 *	---------------------------------------------------------------- */
.tree-dropdown-close,
.tree-dropdown-back {
  display: block ;
  position: absolute;
  text-decoration: none;
  top: 0;
  font-weight: bold;
  color: #333;
  font-size: 16px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
}
.tree-dropdown-close .tree-dropdown-text,
.tree-dropdown-back .tree-dropdown-text {
  display: none;
}
.tree-dropdown-back {
  left: 0;
}
.tree-dropdown-back .tree-dropdown-icon:after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 4px solid;
}
.tree-dropdown-menu-main .tree-dropdown-back {
  display: none;
}
.tree-dropdown-close {
  display: none;
  right: 0;
}
.tree-dropdown-close .tree-dropdown-icon:after {
  font-family: sans-serif;
  content: '\00d7';
}
/**
 *	=List
 *	---------------------------------------------------------------- */
.tree-dropdown-list,
.tree-dropdown-item {
  list-style-type: none;
  font-size: inherit;
}
.tree-dropdown-list {
  overflow: hidden;
  text-align: left;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 10px 0;
}
.tree-dropdown-item {
  padding: 0;
  margin: 0 0 1px;
}
.tree-dropdown-item:last-child {
  margin-bottom: 0;
}
/**
 *	=Labels
 *	---------------------------------------------------------------- */
.tree-dropdown-label {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  margin: 20px 0 0;
}
.tree-dropdown-label:first-child {
  margin-top: 0;
}
/**
 *	=Dividers
 *	---------------------------------------------------------------- */
.tree-dropdown-divider {
  border-bottom: 1px solid #e0e0e0;
  margin: 10px 0;
}
.tree-dropdown-divider:first-child,
.tree-dropdown-divider:last-child {
  display: none;
}
.tree-dropdown-divider + .tree-dropdown-label {
  margin-top: 10px;
}
.tree-dropdown-divider:first-child + .tree-dropdown-label {
  margin-top: 0;
}
/**
 *	=Items
 *	---------------------------------------------------------------- */
.tree-dropdown-link {
  display: block;
  position: relative;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 10px;
  background: transparent;
  color: #333;
}
.tree-dropdown-parent .tree-dropdown-link:after {
  content: '';
  opacity: .6;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -4px;
  display: inline-block;
  vertical-align: middle;
  border-left: 4px solid;
  border-bottom: 4px solid transparent;
  border-top: 4px solid transparent;
}
.tree-dropdown-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: #0d659b;
}
.tree-dropdown-focused .tree-dropdown-link {
  background: rgba(0, 0, 0, 0.03);
  color: #0d659b;
}
.tree-dropdown-selected .tree-dropdown-link {
  background: #1d81c0;
  color: #ffffff;
}
/**
 *
 *	=Mobile styles
 *
 *	================================================================ */
@media screen and (max-width: 600px) {
  /**
	 *	=Overlays
	 *	---------------------------------------------------------------- */
  .tree-dropdown-overlay {
    z-index: -1;
    transition: opacity .2s linear;
  }
  .tree-dropdown-opening .tree-dropdown-overlay,
  .tree-dropdown-open .tree-dropdown-overlay {
    z-index: 101;
    opacity: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  /**
	 *	=Containers
	 *	---------------------------------------------------------------- */
  .tree-dropdown-menu-wrapper {
    width: auto !important;
    height: auto !important;
    position: fixed !important;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    margin: 0;
    border: 0;
  }
  .tree-dropdown-above .tree-dropdown-menu-wrapper,
  .tree-dropdown-below .tree-dropdown-menu-wrapper {
    top: 10px;
    bottom: 10px;
    margin: 0;
  }
  .tree-dropdown-menu-container {
    width: 100%;
  }
  /**
	 *	=Header
	 *	---------------------------------------------------------------- */
  .tree-dropdown-menu-main .tree-dropdown-header {
    display: block;
  }
  .tree-dropdown-close {
    display: block;
  }
}
@media all and (min-width: 601px) {
  .tree-dropdown-overlay {
    display: none !important;
  }
}
