/*

  CSS - styles for our html page

  Selectors:
  div, body, h1 = element selectors
  .classname = class selectors
  #idname = id selector (an id should be used only once on a page)

*/


h4 {
  margin-top: 32px;
}

h5 {
  margin-top: 22px;
  font-weight: bold;
}

h6 {
  margin-top: 18px;
  font-style: italic;
}

html {
  min-height: 100%;
}

html, body {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto; 
}


/* Sticky footer styles
-------------------------------------------------- */
#wrap {
  position: relative;
  min-height: 100%;
  height: auto;
  margin: 0 auto -60px;
  padding: 0 0 60px;
}

#footer {
  position: relative;
  height: 60px;
  background-color: #f5f5f5;
  text-align: center;
}

.footer-center {
  display: inline-block;
  margin-top: 19px;
  text-decoration: underline;
  font-size: 0.9em;
}

nav.navbar {
  z-index: 999999;
  margin-bottom: 0;
}

[ng-click] {
  cursor: pointer;
}

.scrollable-menu {
  height: auto;
  max-height: 300px;
  overflow-x: hidden;
}

nav.navbar.navbar-inverse {
  background-color: #2689de;/*#31708f;*/
  border: none; /*#080808;*/
}

nav.navbar.navbar-inverse .navbar-brand {
  color: white;
}

nav.navbar.navbar-inverse .navbar-nav>li>a {
  color: #222;
}
nav.navbar.navbar-inverse .navbar-nav>li.active>a {
  background-color: #222;
  color: white;
}

.navbar {
  border-radius: 0;
  border-color: #222;
}

.filterbar {
  padding: 13px 12px 7px;
}

.nav-tabs {
  margin-top: 18px;
}

/* map */
/*.tabs-section {
  position: relative;
  height: 50%;
  width: 100%;
}
#tab-content1, #tab-content2 {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
}
#tab-content1.active-tab, #tab-content2.active-tab {
  opacity: 1;
}*/

.footerlogos {
  float: left;
  margin-top: 5px;
  margin-right: 10px;
  height: 50px;
  width: auto;
}

.headerlogos {
  margin-top: -9px;
  height: 38px;
  width: auto;
}

.h1logo {
  vertical-align: text-bottom;
  margin-bottom: 12px;
  height: 80px;
  width: auto;
}

.gap-left {
  margin-left: 10px; 
}

.gap-right {
  margin-right: 10px; 
}

.tab-content > div {
    max-width: 690px;
}

#map1 {
  position: absolute;
  width: 100%;
  left: -100%;
  top: 109px;
  bottom: 60px;
}
#map1.foreground {
  left: 0;
}

/* filters */
.taxa-search.pull-left {
  width: 170px;
}
.taxa-search.pull-left > .ui-select-container.selectize-control.single .selectize-input:after {
  display: none;
}
.selectize-control.single .selectize-input {
  background-color: #ffffff;
  padding-bottom: 6px;
}

.dropdown.pull-left {
  position: relative;
  margin-right: 34px;
}

.dropdown.pull-left::after {
  font-family: 'Glyphicons Halflings';
  content: '\e085';
  position: absolute;
  top: -3px;
  right: -20px;
  color: #aaa;
}

.menu-hierarch {
  list-style: none;
  display: block;
}
.menu-hierarch.firstl {
  padding-left: 60px;
}
.menu-hierarch.secl>li {
  display: block;
  padding-right: 40px;
}
.menu-hierarch>li>a {
  display: block;
  text-decoration: none;
}
.menu-hierarch.secl>li>a:after {
  position: absolute;
  top: 0;
  right: 20px;
}
.infotable {
  display: none;
}
.infotable.active {
  display: block;
}
.infotable th {
  padding-right: 10px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-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;
}

.rzslider {
  max-width: 200px;
  height: 0;
  line-height: 14px;
  margin-top: 24px;
}
.rzslider .rz-bar.rz-selection {
  background-color: #2689de;
}
.rzslider .rz-pointer {
  top: -7px;
  width: 15px;
  height: 15px;
  background-color: #2689de;
}
.rzslider .rz-bubble {
  bottom: 11px;
}
.rzslider .rz-pointer::after {
  display: none;
}


/* color legend */
#colorLegend {
  margin-top: 18px;
  float: right;
}
#colorLegend > span {
  float: left;
  margin-top: 1px;
}
.colorBar {
  float: left;
  width: 24px;
  height: 24px;
}



/* MAP LOADER */
.map-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.65;
  z-index: 99999;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}
.loader {
  color: #ffffff;
  font-size: 11px;
  text-indent: -99999em;
  margin: 155px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before,
.loader:after {
  position: absolute;
  content: '';
}
.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #2689de;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #2689de;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}
@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* RESTRICTED PASS */
.restricted-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.95);
  z-index: 9999999;
  padding: 26px;
}
.pass-err {
  color: red;
}








