html, body {
  background: url(img/Nachthimmel_1920x1356.jpg);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  
}

h1 {
  color: white
}

h3 {
  color: white;
  font-size: 12px;
  text-align: center;
}

p {
  color: white;
}

#map {
  width: 100%;
  height: 60%;
  background: grey;

}

#panel {
  width: 100%;
  height: 400px;
}

#cover-spin {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(6,12,34,0.7);
    z-index:9999;
    display:none;
}

#webgl {
  width: 100%;
  aspect-ratio: 1/1;
}

.row {
  margin-right: 0px !important;
  margin-left: 0px !important;
  max-width: 100% !important;
  border: 0px !important;
}

@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

#cover-spin::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:white;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.page-header {
  margin: 2%;
  margin-bottom: 2%;
  text-align: center;
}

.main_page_headlines {
  color: white;
  font-size: 25px;
  /*font-weight: bold;*/
}

#map-modal-button {
  background-color: #00D1FF;
  color: white;
  padding: 10px 24px 10px 24px;
  transition-duration: 0.3s;
  margin-top: 1em;
  width: 13em;
  height: 3em;
  font-size: 17px;

}

#map-modal-button:hover {
  background-color: white;
  color: #00D1FF;
}

#globe-wrapper {
  width: 100%;
}

#canvas_uv {
  border: 4px solid white;
  width: 80%;
}

#canvas_image {
  width: 80%;
  border: 4px solid white;
}

.play {
  display: flex;
  justify-content: center;
  align-items: center;
}

.play_button {
  width: 5%;
  height: auto;
}

#time_control {
  width: 70%;
  margin: 1%;
}

#time_count {
  font-size: 22px;
  padding-top: 50px;
}

 /* The Modal (background) */
.map-modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(255,255,255,1); /* Black w/ opacity */
  background: url(img/Nachthimmel_1920x1356.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Modal Content/Box */
.map-modal-content {
  /*margin: 5% auto; /* 15% from the top and centered */
  padding-left: 4%;
  padding-right: 4%;
  padding-top: 2%;
  padding-bottom: 2%;
  /*border: 1px solid white;*/
  width: 100%; /* Could be more or less, depending on screen size */
  height: 100%;
}

/* The Close Button */
.close {
  color: rgb(255, 255, 255);
  float: right;
  font-size: 5vmin !important;
  font-weight: bold;
  margin-right: 2%;
  margin-top: 1%;
}

.close:hover,
.close:focus {
  color: rgb(255, 255, 255);
text-decoration: none;
cursor: pointer;
} 

.Teleskop {
  padding-top: 50px;
  width: 125px;
  height: auto;
}

.Teleskop:hover {
  filter: invert(100%) sepia(1%) saturate(6427%) hue-rotate(36deg) brightness(116%) contrast(100%);
  transition-duration:  0.3s;
}

#measure_button, #reset_button {
  background-color: #00D1FF;
  color: white;
  padding: 10px 24px 10px 24px;
  transition-duration: 0.3s;
  margin-top: 50px;
  font-size: 17px;
}

#measure_button:hover, #reset_button:hover {
  background-color: white;
  color: #00D1FF ;
}


.source_declination_image {
  width: 70%;
}

.elevation_limit {
  display: none;
}

#canvas_uv_map {
  width: 90%;
  height: auto;
  border: 4px solid white;
}

#canvas_image_map {
  width: 90%;
  height: auto;
  border: 4px solid white;
}

.image_map_text {
  color: white;
  font-size: 20px;
  text-align: center;
  padding-left: 30px;
}

.declination_slider_text {
  color:  white;
  font-size:  20px;
  text-align:  center;
  padding-right: 15%;
}

.Punktquelle_text {
  color: white;
  font-size: 20px;
  text-align: center !important;
}

.Punktquelle {
  width: 50%;
  margin-top: 10px;
  height: auto;
  border: 4px solid white !important;

}

 /* The Modal (background) */
.info-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(6,12,34,0.7); /* Black w/ opacity */
    backdrop-filter: blur(20px);
}

/* Modal Content/Box */
.info-modal-content {
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  /*border: 1px solid #888;*/
  width: 90%; /* Could be more or less, depending on screen size */
  height: 80%;
}

.info {
  width: 25px;
  height: auto;
  vertical-align:middle;
  padding-bottom: 1%;
}

.info_left, .info_middle {
  width: 70%;
  height: auto;
  padding-top:30%;

}
.gif {
  width: 90%;
  padding-top: 15%;
}

.info_text {
  font-size: 2vmin;
  padding-top: 7%;
}

#eht_image_result{
  max-height: 70vh;
  max-width: 70%;
  aspect-ratio: 1/1;
}

.vlba_image{
  max-height: 70vh;
  max-width: 70%;
}

#effelsberg_img {
  width:  80%;
}

#myProgress {
  width: 100%;
  background-color: grey;
}

#myBar {
  width: 0%;
  height: 30px;
  background-color: green;
}


/* Declination Slider Round */
.default-input {
  position: relative;
  width: 80%;
  aspect-ratio : 1.2 / 1;
  /* box-shadow: inset 0 0 1px #888; */
  background-color: #808;
  background:  url(img/source_declination.svg);
  /* background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 3%,#e1e1e1 96%,#f6f6f6 100%); /1* Chrome10-25,Safari5.1-6 *1/ */
  /* background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 3%,#e1e1e1 96%,#f6f6f6 100%); /1* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ *1/ */
  /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /1* IE6-9 *1/ */  
  cursor: pointer;
  outline: none;
  background-size: 90% auto;
  background-repeat: no-repeat;
  background-position: 75% 50%;
}


.angle-input-pivot {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -1px;
  height: 2px;
  /*background-color: #aaa; */
}

.default-input .angle-input-pivot::before {
  content: '';
  position: absolute;
  right: 20%;
  top: 0%;
  aspect-ratio:  1/1;
  margin-top: -5px;
  width: 5%;
  border-radius: 50%;
  background-color: #00D1FF;
  /*background-color: #fff;*/
  /* box-shadow: 0 0 1px #888; */
  border: 1px solid #ccc;
}

.default-input:focus .angle-input-pivot::before {
  /* box-shadow: 0 0 1px #04f; */
  border: 1px solid #0af;
}


/*style play slider */
input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}


/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 40px;
  width: 3px;
  background: #00D1FF;
  cursor: pointer;
  margin-top: -14px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
  height: 40px;
  width: 3px;
  background: #00D1FF;
  cursor: pointer;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
  height: 40px;
  width: 3px;
  background: #00D1FF;
  cursor: pointer;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px !important;
  cursor: pointer;
  background: #ffffff;
}


input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px !important;
  cursor: pointer;
  background: #ffffff;
}

input[type="range"]::-moz-range-progress {
  background-color: #00D1FF; 
}


input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 8px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #00D1FF;
}
input[type=range]:focus::-ms-fill-lower {
  background: #00D1FF;
}
input[type=range]::-ms-fill-upper {
  background: #ffffff;
}
input[type=range]:focus::-ms-fill-upper {
  background: #ffffff;
}


/* style checkboxes */
.container label {
  color:  #ffffff !important;
}

/* style select */
 /* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
  width: 50%;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: #00D1FF !important;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #00D1FF !important;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
} 


/* Slider for Frequency/Wavelength */
.slider_freq {
  -webkit-appearance: none !important;
  width: 100% !important;
  height: 0px !important;
  border-radius: 5px !important;  
  background: #d3d3d3 !important;
  outline: none !important;
  -webkit-transition: .2s !important;
  transition: opacity .2s !important;
}

.slider_freq::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important; 
  background: #00D1FF !important;
  cursor: pointer !important;
}

.slider_freq::-moz-range-thumb {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background: #00D1FF !important;
  cursor: pointer !important;
}