/*------ STYLE CSS ------*/

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-family: sans-serif;
}

/*Main Navigation
/*-----------------------------------------------------------------------------------------------------*/
/*Formating the Logo and name in the Main-navigation*/
.navbar-hades {
    min-height: 30px;
    background-color: #0A6289;
    border-color: #0A6289;
    margin-bottom: 0px;
    z-index: 1060;
}

.navbar-brand {
    height: 30px;
    padding: 0;
    color: white;
}

a.navbar-brand:hover,
a.navbar-brand:focus {
  color: white;
  text-decoration: none;
}

/*Formating the languageicon on the right side of the header*/
.navbar-right {
    min-height: 30px;
    color: white;
    font-size: 18px;
    line-height: 20px;
    padding-top: 6px;
    margin-right: 10px;
    margin-left: 13px;
    float: right !important;
}

.navbar-nav>li>.dropdown-menu {
    margin-top: 0px;
    right: -5.5px;
    min-width:30px;
    width: 31px;
}

.navbar-nav>li>a {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 2px;
    padding-left: 2px;
    color: white;
}

.dropdown-menu>li>a{
    text-align: center;
    margin-right: 2px;
    margin-left: 2px;
    padding-right: 2px;
    padding-left: 2px;
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 20px;
    height: 25px;
    width: 25px;
}

.navbar-right>li>a:focus, .navbar-right>li>a:hover,
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
    text-decoration: none;
    background-color: #0A6289;
}

/*Formating search interface on the right side of the header*/
/*-----------------------------------------------------------------------------------------------------*/
.search-form .form-group {
  float: right !important;
  transition: all 0.35s, border-radius 0s;
  width: 24px;
  height: 24px;
  background-color: #0A6289;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  border-radius: 25px;
  border: 1px solid #0A6289;
}
.search-form .form-group input.form-control {
  padding-right: 10px;
  border: 0 none;
  background: transparent;
  box-shadow: none;
  display:block;
}
.search-form .form-group input.form-control::-webkit-input-placeholder {
  display: none;
}
.search-form .form-group input.form-control:-moz-placeholder {
  /* Firefox 18- */
  display: none;
}
.search-form .form-group input.form-control::-moz-placeholder {
  /* Firefox 19+ */
  display: none;
}
/*.search-form .form-group input.form-control:-ms-input-placeholder {
  display: none;
}*/


.search-form .form-group:hover,
.search-form .form-group.hover {
  width: 350px;
  border-radius: 4px 25px 25px 4px;
  border: 1px solid #ccc;
  background-color: #fff;
}

input::-webkit-calendar-picker-indicator {
  display: none;
} 

.search-open{
  width: 350px !important;
  border-radius: 4px 25px 25px 4px !important;
  border: 1px solid #ccc !important;
  background-color: #fff !important;
}
.search-open-lupe{
  opacity: 0 !important;
}

/*.search-form .form-group:not(:empty){
  width: 200px;
  border-radius: 4px 25px 25px 4px;
  border: 1px solid #ccc;
  background-color: #fff;
}*/

.search-form .form-group span.form-control-feedback {
  padding-top: 4.5px;
  position: absolute;
  top: -0.5px; 
  right: -2px;
  z-index: 2;
  display: block;
  width: 24px;
  height: 24px;
  line-height: 15px;
  text-align: center;
  color: white;
  left: initial;
  font-size: 14px;
}

.ui-autocomplete {
    z-index:1600 !important;
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden; 
    float: left;
}

.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
}

.invisible {
    display: none;
}

/* navbar-rigth jumps to second line only when the icons would overlap the other elements of the header*/
@media(max-width:767px)
{
    .navbar-right {margin-right:20px;}
    .navbar-header:after 
    {
    clear: none;
    }
    .navbar-nav.navbar-right > li { float: left; }

    .navbar-collapse:before {clear:both;}

    .navbar-collapse {overflow-y: hidden;}
    .navbar-collapse.in {overflow-y: visible;}
    .navbar{border-color: #101010; border-width: 0 0 1px;}
    .navbar-collapse.in > ul {border-color: #101010; border-top:1px double;}
}



/*Map and Sidebar
/*-----------------------------------------------------------------------------------------------------*/

/*formating the mapextent*/


/* formating bottom left control with north arrow*/

.leaflet-control-scale.leaflet-control{
    float: right !important;
    display: inline-block !important;
}

#mapid {
    height: calc(100vh - 30px);
	width: 100%;
    position: relative;
    float: right;
    padding: 0px;
    /*padding-bottom: 100px;*/
    margin: 0px;
    border: 0px;
}

/*popup hide button*/
.leaflet-container a.leaflet-popup-hide-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 4px 0 0;
  margin: 0px 15px 0 0;
  border: none;
  text-align: right;
  width: 18px;
  height: 14px;
  font: 16px/14px Tahoma, Verdana, sans-serif;
  color: #c3c3c3;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
  }
  .leaflet-container a.leaflet-popup-hide-button:hover {
  color: #999;
  }



/*modals
/*-----------------------------------------------------------------------------------------------------*/

#pano {
        width: 100%;
        height: calc((100vh - 30px)*0.6);
    }

/*badge color for "new" maps
/*-----------------------------------------------------------------------------------------------------*/

.badge-hades {
        background-color: #ad112b;
    }

.badge-hades-blue {
        background-color: #196188;
    }

/*rotate text in table column
/*-----------------------------------------------------------------------------------------------------*/

.rotate {
  /* FF3.5+ */
  -moz-transform: rotate(-90.0deg);
  /* Opera 10.5 */
  -o-transform: rotate(-90.0deg);
  /* Saf3.1+, Chrome */
  -webkit-transform: rotate(-90.0deg);
  /* IE6,IE7 */
  filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=0.083);
  /* IE8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)";
  /* Standard */
  transform: rotate(-90.0deg);
}

.rotate-title {
   overflow: hidden;
   text-align: center;
   transform: translate(-50%, -50%) rotate(-90deg) translate(-50%, 50%) translate(-3px, 0);
   white-space: nowrap;
   position: absolute;
   line-height: 30px;
 
   font-size: 0.875em;
   text-overflow: ellipsis;
}

/*Style of Hades-grafik
/*-----------------------------------------------------------------------------------------------------*/
/*
.yaxis text{
  path: none;
} 

.yaxis1 text{
  path: none;
} */

.yaxis path{
  stroke: none;
}
.yaxis1 path{
  stroke: none;
}


/* bootstrap extenstion modal: arrow left in header*/
.modalback {
  /*float: right;*/
  /*font-size: 21px;*/
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=70);
  opacity: .7;
}
.modalback:hover,
.modalback:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  filter: alpha(opacity=100);
  opacity: 1;
}
button.modalback {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

#modalCite{
  color: #0A6289;
}

/* Table with fixed head */
/*-------------------------------------------------------------*/
.tableFixHead    { overflow-y: auto;}
.tableFixHead    { overflow-x: hidden;}
.tableFixHead th { position: sticky; top: 0; z-index:900;}

table { border-collapse: collapse; width: 100%; }
th.tableFixHead, td.tableFixHead{ padding: 2px 0px; }
th.tableFixHead    { background:#eee; }

.blank_row
{
    height: 15px !important; /* overwrites any other rules */
    background-color: #FFFFFF;
}

/* shapes */
/*-------------------------------------------------------------*/

/* red triangle */
.arrow-down {
  position: relative;
  bottom: 4px;
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 10px solid #f00;
}

/* fonatwesome icons for Points on map */
/*-------------------------------------------------------------*/
.myDivIcon {
  text-align: center;
  /* Horizontally center the text (icon) */
  /*line-height: 40px;*/
  /* Vertically center the text (icon) */
}