.btn:not(.input-group .btn) {
	margin-bottom: 10px;
	margin-right: 4px;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    width: 18px;
    height: 18px;
    position: absolute;
    left: 0px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="gray" class="bi bi-clock" viewBox="0 0 16 16"><path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"/><path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0"/></svg>');
}

input::-webkit-datetime-edit-fields-wrapper {
    position: relative;
    left: 30px;
}

body {
	font-family: verdana;
	font-size: 0.9rem;
}

.container-md {
	max-width: 1024px !important;
	padding-left: 0;
  padding-right: 0;	
	margin-right: auto;
	margin-left: auto;
}

#alertPlaceholder {
    position: sticky;
    top: 3%;
    z-index: 10;
    filter: drop-shadow(2px 4px 6px #00000055);
}

body:after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 110%;
	background: rgb(23,63,136);
	background: linear-gradient(-45deg, rgba(23,63,136,1) 17%, rgba(31,189,166,1) 95%);	
	z-index: -1;
	opacity: 0.5;
}


#header {
	margin-top: 20px;
  border-radius: 5px;
  margin-left: 2px;
  margin-right: 2px;
  border: 1px solid white;
  margin-bottom: 10px;
  position: relative;
  height: 14vh;
  display: flex;
  align-items: center;
	justify-content: center;
	z-index: 2;
	background-size: 0;
  container-type: inline-size;	
}

#header::after {
	content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.6;
  background-image: url(header.webp);
  background-size: cover;
  background-position: center;	
	border-radius: 5px;
}

#header:before {
	content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: inherit;
    background-repeat: no-repeat;
    opacity: 0.7;
    background-size: contain;
    transform: translate(-100px, -20%);
    background-position: center;
}

#clock {
    position: absolute;
    right: 20px;
    font-size: 10cqw;
    opacity: 0.3;
}

@media (max-width: 700px) {
  #clock {
    top: 0;
    right: 5px;
    font-size: 6cqw;
    opacity: 0.5;
  }
}

textarea {
	min-height: 100px !important;
}

textarea.form-control {
	font-size: 0.85rem;
}

.accordion .accordion-item {
	background-color: #22222270;
	background: linear-gradient(95deg, rgba(7, 9, 18, 0.4) 0%, rgba(10, 12, 20,0.4) 25%, rgba(2, 20, 10,0.25) 100% );
}

button.accordion-button {
    height: 66px;
}

.accordion-body {
  position: relative;
  padding: 10px 30px !important;
}

@media (max-width: 480px)
{
  .accordion-body {
      padding: 10px 16px !important;
  }
}

.accordion .accordion-button {
	background-color: transparent;
	color: white;
}

.title {
	color: white;
  font-size: xx-large;
	filter: drop-shadow(2px 2px 3px #000000cc);
}

label,
h2 {
	font-family: verdana;
	font-size: 1rem;
	color: white;
}

.currentdata {
	display: grid;
  grid-template-columns: 58% auto;
  align-items: center;
	font-weight: 500;	
	padding-bottom: 30px;
  color: #d5e8f4;
}

.currentdata .channel {
	grid-column: 1/3;
	color: white;
	font-size: 1.5rem;
}

.currentdata .value {
  position: relative;
  user-select: none;
  font-family: digital;
  font-size: 3.4rem;
  line-height: 3.4rem;
  color: lime;
  letter-spacing: 3px;
  text-shadow: 2px 2px 3px #000000cc;
  text-align: center;
  display: inline-flex;
  justify-content: center;
}

.currentdata .value:after {
  content: var(--after-content);
  opacity: 0.6;
  font-family: verdana;
  letter-spacing: 0px;
  text-shadow: 1px 1px 2px #000000cc;
  font-size: 0.7rem;
  position: absolute;
  right: -6px;
  top: -18px;
  width: 40px;
  text-align: center;
}

.currentdata .channel {
	grid-column: 1/3;
	color: white;
	font-size: 1.5rem;
}

@media (min-width: 700px) {
  .currentdata .value:after {
    top: -16px;
    font-size: 0.8rem;
    right: 30px;
  }
}

@media (min-width: 1024px) {
  .currentdata .value:after {
    font-size: 0.9rem;
    right: 60px;
  }
}

.currentdata .wi {
  text-shadow: none;
  filter: drop-shadow(0 0 4px #115566cc);
  font-size: 1.4rem;
  width: 34px;
  display: inline-flex;
  justify-content: center;
  padding-right: 10px;
  opacity: 0.8;
  color: #77ffe5cf;
}

@media (min-width: 1024px)
{
  .currentdata .wi {
    font-size: 1.7rem;
    margin-left: 10px;
    padding-right: 6px;
    margin-right: 10px;
  }
}

.currentdata .wi.hide {
  display: none;
}

#sunrise, #sunset {
    font-size: 2.5rem;
}

#moon {
  height: 46px;
  filter: drop-shadow(2px 2px 4px #00000088);
  position: relative;    
  opacity: 0.9; 
}

#winddir {
	font-size: 2rem;
	margin-right: 10px;
}

#windrose {
	position: relative;
	margin-right: 10px;
}

#windrose > svg {
    position: absolute;
    color: lime;
    width: 44px;
    height: 44px;
	transition: transform 1s ease;
	transform: rotate(0);
}

#windrose > svg:nth-of-type(2) {
  position: relative;
  top: 2px;
  left: 2px;
  color: black;
  z-index: -1;
	filter: blur(2px);
}

.currentdata > div {
  display: flex;
  flex-direction: row;
  align-items: center;
	border-bottom: 1px solid #FFFFFF11;
	height: 68px;
}

.mt-10
{
	margin-top: 10px;
}

.btn.btn-secondary {
    border: 1px solid gray !important;
}

.bi {
	position: relative;
	top: 1px;
	width: 18px;
	height: 18px;
}

.btn .bi {
	top: -2px;
}

p.h5 {
	color: #d2e0fe;
	margin-bottom: 20px;
}

p.h5:first-of-type {
	margin-top: 10px;
}

.settings p.h5 {
	margin-top: 44px;
}

.settings > div {
    margin-bottom: 12px;
}

#reset {
	font-size: 0.7rem;
	width: 100%;
	padding-top: 20px;
	text-align: center;
}

iframe {
    border: 0;
    width: 100%;
    height: 24vh;
    border-radius: 10px;
    margin: 10px 0 10px 0;
}

#loader {
	position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #00000022;
    backdrop-filter: blur(10px);
}

.loader {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: block;
	margin:15px auto;
	position: absolute;
	color: #FFF;
	box-sizing: border-box;
	animation: animloader 2s linear infinite;
	top: 50%;
	left: 50%;
  }

.modal-body {
	line-break: anywhere;
}
    
#map {
	width: 100vw;
	height: 100vh;
}

.gm-style iframe + div { border:none!important; }

@keyframes animloader {
	0% {
		box-shadow: 14px 0 0 -2px,  38px 0 0 -2px,  -14px 0 0 -2px,  -38px 0 0 -2px;
	}
	25% {
		box-shadow: 14px 0 0 -2px,  38px 0 0 -2px,  -14px 0 0 -2px,  -38px 0 0 2px;
	}
	50% {
		box-shadow: 14px 0 0 -2px,  38px 0 0 -2px,  -14px 0 0 2px,  -38px 0 0 -2px;
	}
	75% {
		box-shadow: 14px 0 0 2px,  38px 0 0 -2px,  -14px 0 0 -2px,  -38px 0 0 -2px;
	}
	100% {
		box-shadow: 14px 0 0 -2px,  38px 0 0 2px,  -14px 0 0 -2px,  -38px 0 0 -2px;
	}
}

.grow {
	animation-duration: 0.5s;
	animation-name: grow;
	display:inline-block;
}

@keyframes grow {
	0%   {transform: scale(1.0, 1.0);}
	50%  {transform: scale(1.2, 1.0);}
	100% {transform: scale(1.0, 1.0);}
}  

.highlight {
  position: relative;
  z-index: 9999;
  display: table;
}

.highlight:after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    box-shadow: 0 0 10px 5px #ffffff88;
    z-index: -1;
    border-radius: 5px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* Schatten */
  z-index: 9998;
}
