/* ------------------
--  Z-Index Scale  --
---------------------

1    - 1000: Map / Leaflet / Mapbox
1001 - 2000: 
2001 - 3000: Controls
3001 - 4000: Information window
4001 - 5000: Side Menu
5001 - 6000: Swal / Toast

*/

* {
    font-family: 'Archivo Narrow', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

:root {
    --notch-value: 0px;
    --display-livetracking-label: 0;
    --display-livetracking-events: none;
    --livetracking-transition: 1s;
    --minimized-height: 6%;
}

body{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  	height: 100%;
	width: 100%;
  	overflow: hidden;
}

:focus, :active {
    outline: 0;
    border: 0;
}

#map {
    height: 100%;
    width: 100%;
}

.dhv-icon{
    z-index: 1000 !important;
    border: 1px solid #00569A;
    border-radius: 22px;
    padding: 3px;
    background-image: url(../images/dhv_logo_square.png);
    background-size: 22px 22px;
    background-position: 0px 0px;
    background-repeat: no-repeat;

}
.dhv-wing{
    z-index: 900 !important;
}

.dhv-icon:focus{
    border: 1px solid #00569A;
}

.dhv-icon:hover{
    border: 1px solid #00569A;
}

.toggle-all-layers{
    margin-left: 20px;
    width: 70px;
    cursor: pointer;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

.polylinedit-marker{
    background: none !important;
    border: none !important;
}

.airspacefinger-redstripes {
	background: repeating-linear-gradient(
        45deg,
        #FF0000,
        #FF0000 2px,
        rgba(255,255,255, 0) 2px,
        rgba(255,255,255, 0) 12px
	);
}

.airspacefinger-orangestripes {
	background: repeating-linear-gradient(
        45deg,
        #ffa600,
        #ffa600 2px,
        rgba(255,255,255, 0) 2px,
        rgba(255,255,255, 0) 12px
	);
}

.airspacefinger-greenstripes {
	background: repeating-linear-gradient(
        45deg,
        #279744,
        #279744 2px,
        rgba(255,255,255, 0) 2px,
        rgba(255,255,255, 0) 12px
	);
}

.airspacefinger-red {
	background: red;
}

.airspacefinger-green {
	background: green;
}

.side-bars ul {
    padding: 0;
}

.layers-menu-search {
    top: 12px;
    left: 10px;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
.layers-menu-search-input {
    width: 120px;
    height: 28px;
    border: 1px solid #ccc;
    padding-left: 8px;
    border-radius: 3px;
}
.layers-menu-search-input:focus {
    border: 1px solid #ccc;
    -webkit-appearance: none;
}

.layers-menu-search-input::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

.layers-menu-search-clear{
    position: absolute;
    border: none;
    top: 1px;
    left: 100px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    padding: 0px;
    text-align: left;
}

.login-container input[type=text], 
.login-container input[type=password], 
.login-container input[type=email], 
.login-container input[type=number] {
    width: 100%;
    padding: 8px 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* eg. used in valley breeze info */
.leaflet-marker-icon.leaflet-div-icon {
    background: none;
    border: 0;
}

#top-therm {
   width: 48px;
    z-index: 2001;
    position: absolute;
    left: 12px;
    top: 92px;
    display: block;
    border-radius: 2px;
}

/* Weather menu prog  */

.top-prog-menu ul {
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    gap: 2px;
}

.top-prog-menu-li {
    border-radius: 3px;
    text-align: center;
    background: #ffffffee;
    cursor: pointer;
    color:  black;
    height: 44px;
    width: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	box-sizing: border-box;
}

#prog-menu {
    width: 48px;
    z-index: 2001;
    position: relative;
    left: 10px;
    top: 28px;
    display: none;
    transition: 0.3s;
}

.prog-menu-li-active {
    background-color: #005AA9 !important;
    color: white !important;
}

.toggle-wind-source {
    position: relative;
    transition: border 0.3s ease;
}

/* DWD color border - German Weather Service Blue */
.prog-menu-li-active.dwd-source {
    background-color: #005AA9 !important;

}

/* MeteoSwiss color border - Swiss Meteorological Service Red */
.prog-menu-li-active.meteoswiss-source {
    background-color: #E30613 !important;
}

/* disable all clicking events on elements when drawing is activated */
.drawing .leaflet-pane:not(.leaflet-editmarkers-pane) * {
    pointer-events: none;
}

.draw-tool {
    width: 48px;
    z-index: 2001;
    position: relative;
    left: 10px;
    top: 28px;
    display: block;
    border-radius: 2px;
}

.draw-tool ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.draw-tool .draw-li {
    border-radius: 3px;
    text-align: center;
    background: #ffffffee;
    cursor: pointer;
    color: black;
    height: 44px;
    width: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.poi-tool {
    width: 48px;
    z-index: 2001;
    position: relative;
    left: 10px;
    top: 28px;
    display: block;
    border-radius: 2px;
}

.poi-tool ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.poi-tool .poi-li {
    border-radius: 3px;
    text-align: center;
    background: #ffffffee;
    cursor: pointer;
    color: black;
    height: 44px;
    width: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#poi-tool button:hover {
    background: #6fa000 !important;
}



#drop-area {
	/*width: 100%;
	height: 100px;*/
	border: 2px dashed #ccc;
	text-align: center;
	padding: 20px;
	margin: 20px;
}

.swal2-inner-height, .swal2-html-container {
    max-height: 500px;
    overflow-y: scroll !important;
}

.swal2-container {
    z-index: 5001 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
}

.swal2-actions .swal2-styled.swal2-confirm {
    background-color: #3085d6;
}

.swal2-actions .swal2-styled.swal2-cancel {
    background-color: #aaa;
}

.swal2-actions .swal2-styled.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgb(50 100 150 / 40%);
}

.swal2-order-1 {order: 1}
.swal2-order-2 {order: 2}
.swal2-order-3 {order: 3}

.swal2-actions .swal2-styled.swal2-deny.swal2-position {
    background-color: rgb(0, 163, 224);
}

.swal2-actions .swal2-styled.swal2-deny.swal2-position:focus {
    box-shadow: 0 0 0 3px rgb(0 163 224 / 40%);
}

.swal2-actions .swal2-styled.swal2-confirm.swal2-livetracking {
    background-color: rgb(255, 51, 51);
}
.swal2-actions .swal2-styled.swal2-confirm.swal2-livetracking:focus {
    box-shadow: 0 0 0 3px rgb(255 51 51 / 40%);
}

.swal2-actions .swal2-styled.swal2-cancel.swal2-cancel-pos {
    min-width: 115px;
}

.swal2-modal {
    max-height: 90vh;
}

.swal2-modal .swal2-close:focus {
    box-shadow: none;
}

.spinner {
    margin-right: 15px;
    width: 50px;
    height: 50px;
}

/* used for iOS flickering issue
will not be executed for Android devices */
@supports (-webkit-touch-callout: none) {
	.translate3d, #prog-menu, #center-me, #draw-tool, .map-view-btn, .toggle-news, .search-main-container, .br-controll, .br-locate-me, img.logo, .leaflet-bottom {
		 -webkit-transform: translate3d(0, 0, 0);
	     transform: translate3d(0, 0, 0);
	} 
}

body.klarsicht .adOnMapLabel{
    display: none !important;
}

/* ---- Livetracking ---- */

.livetracking {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition-timing-function: linear;
}

.livetracking.tracked {
    transition-duration: var(--livetracking-transition);
}

.livetracking.tracked .livetracking-glider {
    transition-duration: var(--livetracking-transition);
}

body.moving:not(.follow-target) .livetracking.tracked {
    transition-duration: 250ms !important;
}

body.moving-to-target .livetracking.tracked {
    transition-duration: 40ms !important;
}

body.moving:not(.follow-target) .livetracking.tracked .livetracking-icon {
    transition-duration: 250ms !important;
}

body.moving-to-target .livetracking.tracked .livetracking-icon {
    transition-duration: 40ms !important;
}

body.zooming.mobile .livetracking.tracked {
    transition: none !important;
}

body.zooming.mobile .livetracking.tracked .livetracking-icon {
    transition: none !important;
}

.livetracking-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.livetracking-icon.livetracking-glider {
    transform: scale(1.2);
}

.livetracking-pilot-list .livetracking-icon.livetracking-glider{
    transform: unset;
}

.livetracking-toggle-filters {
    position: absolute;
    right: 75px;
    top: calc(11px + var(--notch-value));
    width: 70px;
    cursor: pointer;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #da291c;
    color: white;
    justify-content: center;
    align-items: center;
}

.livetracking-toggle-filters.show {
    display: flex !important;
}

.livetracking-search {
    border: none;
    margin-top: 16px;
    padding: 3px 9px;
    width: calc( 100% - 40px);
    font-size: 12pt;
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    background: #fff url(../images/search.svg) no-repeat 9px center;
    background-size: 38px 38px;
    background-position: right center;
    border: solid 1px #ccc;
    padding: 10px;
    border-radius: 3px;
    z-index: 2060;
    height: 16px;
    margin-left: 9px;
}

.livetracking-search:focus {
    border-color:#6dcff6;
    -webkit-box-shadow:0 0 5px rgba(109,207,246,.5);
    -moz-box-shadow:0 0 5px rgba(109,207,246,.5);
    box-shadow:0 0 5px rgba(109,207,246,.5);
}

.livetracking-search-results {
    display: flex;
    padding: 0 9px;
    flex-flow: column wrap;
    opacity: 0;
    pointer-events: none;
    height: 0;
    transition: 200ms;
}

.livetracking-search-results.show {
    opacity: 1;
    pointer-events: unset;
    height: unset;
}

.livetracking-search-results li {
    padding-left: 0;
}


.livetracking-glider {
    height: 12px;
    width: 39px;
    transition-timing-function: linear;
    margin-top: 4px;
}

.livetracking-harnass {
    display: flex;
    width: 20px;
    height: 10px;
    z-index: -1;
    top: -10px;
    position: relative;
    right: -2px;
}


.livetracking-info,
.livetracking-info-onmap {
    display: flex;
    flex-direction: column;
    min-height: 28px;
    justify-content: center;
    position: absolute;
    left: 42px;
    top: 5px;
    max-width: 125px;
    min-width: 30px;
    transition: 200ms;
    opacity: var(--display-livetracking-label);
    pointer-events: var(--display-livetracking-events);
    border-radius: 3px;
    padding: 3px;
    padding-right: 8px;
    max-height: 46px;
    min-height: 22px;
    font-size: 14px;
    color:rgb(50, 50, 50)
}


body.klarsicht .livetracking:not(.tracked) .livetracking-info {
    display: none;
}

.livetracking.tracked .livetracking-info {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background: rgba(244, 244, 244, 0.8);
}

.livetracking-info-onmap {
    pointer-events: all;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.7);
}

.livetracking-info-onmap {
    top: -3px;
    left: 25px;
    opacity: 1;
    max-height: 46px;
    min-height: 22px;
    max-width: 125px;
}

.livetracking-info-onmap .livetracking-speed {
    height: 14px;
    opacity: 1;
}

.livetracking-info-corner {
    display: none;
    content: "";
    position: absolute;
    overflow: hidden;
    width: 19px;
    height: 19px;
    bottom: 0;
    right: 0;
    background: linear-gradient(to bottom right, #ffffff00 0%, #ffffff00 50%, #48484875 50%, #484848 100%);
    border-bottom-right-radius: 3px;
    transition: 200ms;
}

.livetracking.tracked .livetracking-info-corner {
    display: block;
}

.livetracking-info.extended {
    min-width: 85px;
    min-height: 55px;
    max-height: unset;
    max-width: unset;
    justify-content: center;
    border-radius: 5px;
}

.hide-label .livetracking-info {
    display: none;
}

.livetracking-info.extended .livetracking-info-corner {
    width: 24px;
    height: 24px;
    border-bottom-right-radius: 5px;
} 

body.zooming .livetracking-info {
    transition: none !important;
}

.livetracking.tracked .livetracking-info {
    opacity: 1;
    pointer-events: all;
}


.livetracking.group-member .livetracking-info,
.livetracking-info.favorite {
    opacity: 1;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.6);
}

.livetracking.tracked .livetracking-info.image {
    padding-left: 50px;
}

.leaflet-container .leaflet-marker-pane .livetracking-profile-image img {
    max-width: unset !important;
    max-height: unset !important;
    width: unset;
    padding: unset;
}

.livetracking-profile-image {
    display: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 2px;
    transition: 150ms;
}

.livetracking.tracked .livetracking-profile-image {
    display: flex;
}

.livetracking-info.image .livetracking-profile-image {
    width: 48px;
    height: 48px;
}

.livetracking-profile-description {
    display: none;
}

.livetracking-info.extended .livetracking-profile-description {
    display: flex;
    margin-top: 7px;
    margin-left: -90px;
    flex-wrap: wrap;
    gap: 2px;
    line-height: 14px;

}

.livetracking-info.extended .livetracking-profile-description {
    margin-right: 2px;
}


.livetracking-profile-image img {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.livetracking-info.extended.image .livetracking-profile-image {
    width: 96px;
    height: 96px;
}

.livetracking.tracked  .livetracking-info.extended.image {
    padding-left: 98.5px;
}

.livetracking-info.extended.image img{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 0;
}

.livetracking-profile-buttons {
    display: flex;
    align-items: center;
    min-width: 100%;
    gap: 1px;
}

.livetracking-profile-buttons .livetracking-button {
    background: none;
    font-size: 18px;
    border: none;
}

.livetracking-dot {
    display: none;
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 100%;
    margin-right: 3px;
    margin-bottom: 1px;
    margin-left: 2px;
    border: 0.5px solid rgba(0, 0, 0, 0.4)
}

.livetracking-name {
    /* margin-right: 2px; */
    height: 14px;
    display: flex;
    align-items: center;
    max-width: 100%;
}

.livetracking-name-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.livetracking.tracked .livetracking-name,
.livetracking-info-onmap .livetracking-name {
    margin-left: 0;
}

.livetracking-altitude {
    display: none;
    align-items: center;
    height: 14px;
    max-width: 100%;
    white-space: nowrap;
}

.livetracking.flying .livetracking-altitude {
    display: flex;
}

.livetracking.flying .livetracking-info {
    left: 46px;
}

.livetracking.flying.tracked .livetracking-info {
    top: -4px;
    left: 46px;
}

/* .livetracking.follow-this-target.tracked .livetracking-info {
    top: 65px;
    left: -100px;
} */

.livetracking.tracked .livetracking-altitude,
.livetracking-info-onmap .livetracking-altitude {
    display: flex;
    margin-left: 13.6px;
}

.livetracking.tracked .livetracking-altitude.livetracking-burnair,
.livetracking.tracked .livetracking-altitude.livetracking-flymaster,
.livetracking.tracked .livetracking-altitude.livetracking-xctrack,
.livetracking.tracked .livetracking-altitude.livetracking-xc-tracer,
.livetracking.tracked .livetracking-altitude.livetracking-skytraxx,
.livetracking-info-onmap .livetracking-altitude.livetracking-burnair,
.livetracking-info-onmap .livetracking-altitude.livetracking-flymaster,
.livetracking-info-onmap .livetracking-altitude.livetracking-xctrack,
.livetracking-info-onmap .livetracking-altitude.livetracking-xc-tracer,
.livetracking-info-onmap .livetracking-altitude.livetracking-skytraxx {
    margin: 0;
}

.livetracking.tracked .livetracking-altitude.livetracking-burnair::before,
.livetracking-info-onmap .livetracking-altitude.livetracking-burnair::before {
    content: "";
    width: 11px;
    height: 11px; 
    margin-right: 2.5px;
    background: center / 100% no-repeat url(../images/icons/burnair-logo-64.png);
    border-radius: 2px;
}

.livetracking.tracked .livetracking-altitude.livetracking-flymaster::before,
.livetracking-info-onmap .livetracking-altitude.livetracking-flymaster::before {
    content: "";
    width: 11px;
    height: 11px; 
    margin-right: 2.5px;
    background: center / 100% no-repeat url(../images/icons/flymaster-logo-64.png);
    border-radius: 2px;
}

.livetracking.tracked .livetracking-altitude.livetracking-xctrack::before,
.livetracking-info-onmap .livetracking-altitude.livetracking-xctrack::before {
    content: "";
    width: 11px;
    height: 11px; 
    margin-right: 2.5px;
    background: center / 100% no-repeat url(../images/icons/xctrack-logo-64.png);
    border-radius: 2px;
}

.livetracking.tracked .livetracking-altitude.livetracking-xc-tracer::before,
.livetracking-info-onmap .livetracking-altitude.livetracking-xc-tracer::before {
    content: "";
    width: 11px;
    height: 11px; 
    margin-right: 2.5px;
    /* background: center / 100% no-repeat url(../images/icons/burnair-logo-64.png); */
    border-radius: 2px;
}

.livetracking.tracked .livetracking-altitude.livetracking-skytraxx::before,
.livetracking-info-onmap .livetracking-altitude.livetracking-skytraxx::before {
    content: "";
    width: 11px;
    height: 11px; 
    margin-right: 2.5px;
    /* background: center / 100% no-repeat url(../images/icons/burnair-logo-64.png); */
    border-radius: 2px;
}

.livetracking-alt-diff {
    font-size: 18px;
    margin-right: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 0.5px;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.8);  
}

.livetracking-alt-diff-up {
    margin-bottom: -2px;
}

.livetracking-alt-diff-down {
    margin-top: -14px;
}

.livetracking-alt-diff-same {
    margin: 2px;
    margin-right: 3px;
    font-size: 10px;
}

.livetracking-speed {
    display: none;
    align-items: center;
    height: 0;    
    transition: 200ms;
    opacity: 0;
    white-space: nowrap;
}

.livetracking-speed-text {
    word-spacing: 5px;
}

.livetracking.tracked .livetracking-speed, 
.livetracking-info.extended .livetracking-speed {
    display: flex;
    height: 14px;
    opacity: 1;
}

.livetracking-info-onmap .livetracking-speed {
    display: flex;
    min-width: 88px;
}

.livetracking-buttons {
    align-items: center;
    height: 0;    
    display: flex;
    opacity: 0;
    width: 0;
    pointer-events: none;
    margin-left: 13px;    
}

.livetracking-info.extended .livetracking-buttons {
    height: 30px;
    opacity: 1;
    width: 100%;
    margin-top: 5px;
    pointer-events: unset;
}

.livetracking-button {
    width: 30px;
    height: 30px;
    margin-right: 2px;
    border-radius: 3px;
    background-color: #ecececf3;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.5px solid rgba(0, 0, 0, 0.4)
}

.livetracking-button:hover {
    cursor: pointer;
}

.livetracking-button.livetracking-gmaps {
    background: center / 70% no-repeat url(../images/icons/google-maps.png) #ecececd4;
}

.livetracking-button.livetracking-favorite {
    color: #ffb833;
}


.livetracking-last-update {
    align-items: center;
    height: 0;    
    display: flex;
    opacity: 0;
    font-size: 80%;
    width: 0;
    display: flex;
    justify-content: flex-end;
    white-space: nowrap;
}

.livetracking.tracked .livetracking-last-update,
.livetracking-info.extended .livetracking-last-update {
    opacity: 1;
    margin-left: auto;
    padding-left: 4px;
    width: 33px;
    height: 14px;
}

.livetracking-info-onmap .livetracking-last-update {
    opacity: 1;
    margin-left: auto;
    padding-left: 2px;
    width: 25px;
    height: 14px;
}

.livetracking-distance {
    align-items: center;
    height: 0;    
    display: none;
    transition: 200ms;
    opacity: 0;
    width: 0;
    white-space: nowrap;
}

.livetracking-distance.show {
    display: flex;
}

.livetracking-info.extended .livetracking-distance {
    height: 14px;
    opacity: 1;
    width: 100%;
}

.livetracking-info.extended .livetracking-distance i {
    font-size: 11px;
    margin-right: 3px;
}


.livetracking-old:not(.tracked) .livetracking-icon-wrapper,
.livetracking-old:not(.tracked) .livetracking-name,
.livetracking-old:not(.tracked) .livetracking-altitude {
    filter: grayscale(1); 
    opacity: 0.60;
    z-index: 0;
}

.livetracking-old.tracked.flying {
    transition: 0;
}

.livetracking-old.tracked.flying .livetracking-icon-wrapper {
    transition: 0;
    filter: grayscale(0.5); 
    opacity: 1;
}

.livetracking-extend {
    display: none;
    width: 25px;
    height: 25px;
    position: absolute;
    bottom: 0;
    right: -8px;
    bottom: -7px;
    justify-content: center;
    align-items: center;
    transition: 500ms;
    transform-origin: 44% 46%;
    rotate: 45deg;
    color: white;
}

.livetracking-info.extended .livetracking-extend {
    rotate: 225deg;
}

.livetracking.tracked .livetracking-extend {
    display: flex;
}

.c-popup.livetracking-chart {
    transition: width 300ms;
}

.c-popup.livetracking-chart .popup-content {
    display: flex;
    margin: 10px;
    margin-bottom: 20px;
    transition: 400ms;
    height: calc( 100% - 30px );
    opacity: 1;
}

.c-popup.minimized.livetracking-chart .popup-content {
    opacity: 0;
}

.c-popup table {
    opacity: 1;
    transition: 400ms;
}

.c-popup.minimized table {
    opacity: 0;
}

.livetracking-highcharts {
    width: 100%;
    height: 100%;
}

.livetracking-show-chart-icon {
    display:  none;
}

.livetracking-alt-tooltip {
    font-family: 'Archivo Narrow', sans-serif !important;
    display: flex;
    align-items: center;
}

.livetracking-alt-tooltip-value {
    margin-left: auto;
    padding-left: 3px;
}

.livetracking-glider-color {
    transition: 150ms;
}

/* Pilot list */
.livetracking-group-header,
.livetracking-private-group-header,
.livetracking-favorite-header,
.livetracking-public-header {
    display: flex;
}

.livetracking-group-buttons,
.livetracking-favorite-buttons,
.livetracking-public-buttons {
    margin-left: auto;
}

.livetracking-only-favorite.active,
.livetracking-favorites-collapse.active,
.livetracking-public-collapse.active  {
    background-color: #0cb913;
    color: white;
}

.livetracking-group-list-item {
    cursor: pointer;
    display: flex;    
    flex-wrap: wrap;
}

.livetracking-group-list-header {
    width: 100%;
    display: flex;    
    flex-wrap: nowrap;
}

.livetracking-group-list-header button {
    min-width: 40px;
}

.livetracking-group-list-name,
.livetracking-public-list-name,
.livetracking-favorite-list-name,
.livetracking-publicgroup-list-name {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.livetracking-group-members {
    display: none;
}

.livetracking-group-members.show {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 15px;
    min-width: 100%;
}

.livetracking-member-image {
    width: 35px;
    min-width: 35px;
    height: 35px;
    min-height: 35px;
    margin-right: 3px;
    margin-left: 6px;
}

.livetracking-member-image img {
    width: 100%;
    border-radius: 3px;
}

.livetracking-member-no-image {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background-color: #c0c0c0;
}

.livetracking-group-member-item.ranking.livetracking-old {
    color: unset;
}

.livetracking-group-member-item.ranking.livetracking-old .fas {
    color: #333;
}

.livetracking-group-member-item.ranking .fa-long-arrow-alt-right {
    font-size: 90%;
    color: #333;
    margin: 0 1px;
}

.livetracking-group-member-item.ranking.livetracking-old .livetracking-group-member-icon {
    opacity: 0.60;
}

.livetracking-member-no-image span {
    filter: invert(1);
}

.livetracking-group-member-item.ranking .livetracking-group-member-name {
    white-space: nowrap;
    font-weight: bold;
    font-size: 90%;
    width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile .livetracking-group-member-item.ranking .livetracking-group-member-name {
    width: unset;
}


.livetracking-group-member-ranking {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 22px;
    min-height: 35px;
    text-align: right;
    margin-left: 3px;
}

.livetracking-group-member-ranking h2 {
    margin: 0;
}

.livetracking-group-member-collection {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    justify-content: center;
}

.livetracking-group-member-collection-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 19px;
}

.livetracking-group-member-distance,
.livetracking-group-member-last-seen {
    font-size: 80%;
}

.livetracking-group-member-progress {
    position: relative;
    min-height: 4px;
    max-height: 4px;
    background-color: rgb(188, 188, 188);
    width: 100%;
}

.livetracking-group-member-progress-filled {
    position: absolute;
    top: 0;
    height: 4px;
    left: 0;
    background-color: rgb(0, 187, 0);
    z-index: 3500;
}

.livetracking-group-member-stats {
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
    font-size: 90%;
    height: 17px;
}

.livetracking-group-member-collection-top .livetracking-icon-wrapper,
.livetracking-group-member-stats .livetracking-icon-wrapper {
    transform: scale(0.7);
    font-size: 80%;
    width: 20px;
}

.livetracking-group-member-icon {
    width: 27px;
    display: flex;
    justify-content: center;
}

.livetracking-group-member-icon .livetracking-moving-icon {
    transform: scale(0.65);
}

.livetracking-group-member-item,
.livetracking-public-list-item,
.livetracking-favorite-list-item {
    display: flex;
    align-items: center;
    padding: 3px 0;
    border-left: 6px solid transparent;
}

.livetracking-group-member-item.livetracking-old,
.livetracking-public-list-item.livetracking-old,
.livetracking-favorite-list-item.livetracking-old {
    color: rgb(70, 70, 70);
}

.livetracking-group-member-item.online .fas,
.livetracking-public-list-item.online .fas,
.livetracking-favorite-list-item.online .fas {
    color: #333;
}

.livetracking-group-member-item.livetracking-old .fas,
.livetracking-public-list-item.livetracking-old .fas,
.livetracking-favorite-list-item.livetracking-old .fas {
    color: rgb(125, 125, 125);
}

.livetracking-group-member-item.offline,
.livetracking-public-list-item.offline,
.livetracking-favorite-list-item.offline {
    color: rgb(140, 140, 140);
    cursor: not-allowed;
}

.livetracking-group-member-item:not(.activated),
.livetracking-public-list-item:not(.activated),
.livetracking-favorite-list-item:not(.activated) {
    background: none !important;
    border-left: 6px solid transparent !important;
}

.livetracking-group-member-item.activated,
.livetracking-public-list-item.activated,
.livetracking-favorite-list-item.activated {
    background: #ededed96;
}

.livetracking-group-member-btn {
    margin-left: auto;
}

.livetracking-group-member-btn.active {
    background-color: #0cb913;
    color: white;
}

.livetracking-favorite-list-item,
.livetracking-public-list-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.livetracking-favorite-list-icon,
.livetracking-public-list-icon,
.livetracking-group-member-icon {
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    position: relative;
    cursor: pointer;
    max-height: 24px;
    overflow: hidden;
    scale: 0.75;
    min-height: 24px;
}

.livetracking-group-member-icon {
    margin-right: 0;
}

.livetracking-favorite-list-icon .livetracking-icon-wrapper,
.livetracking-public-list-icon .livetracking-icon-wrapper,
.livetracking-group-member-icon .livetracking-icon-wrapper {
    height: 20px;
}

.livetracking-favorite-list-icon-star {
    color: #ffb833;
    font-size: 10px;
    position: absolute;
    top: 11px;
    right: 0;   
}

.livetracking-group-list-btn.activated {
    background-color: #0cb913;
    color: white;
}

.livetracking-groups-turn-off {
    cursor: not-allowed;
}

.livetracking-groups-turn-off.one-active {
    background-color: #DA291C;
    color: white;
    cursor: pointer;
}

.livetracking-favorite-list-icon .livetracking-moving-icon,
.livetracking-public-list-icon .livetracking-moving-icon ,
.livetracking-group-member-icon .livetracking-moving-icon {
    margin-top: 9px;
}

.livetracking-favorite-list-item .fa-2x,
.livetracking-public-list-item .fa-2x,
.livetracking-group-member-item .fa-2x {
    font-size: 1.5em;
}

.highcharts-tooltip-container {
    z-index: 3000 !important;
    top: unset !important;
    left: 0 !important;
    margin-left: -11px;
    bottom: 18.8% !important;
    display: none !important;
}

.highcharts-tooltip-container .livetracking-dot {
    margin-top: 1px;
}

.highcharts-label .highcharts-tooltip > span {
    background-color: #ffffffee;
}

.lt-chart .leaflet-bottom.leaflet-left {
    z-index: 3020;
}

.lt-chart .leaflet-bottom.leaflet-right {
    bottom: 5%
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 5002; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
    border-radius: 5px;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/**********SIDE MENU PAGES ************/
.side-menu-content-container {
    height: 100%;
    display: block;
    transition: background-color 0.3s ease-in;
    padding: 5px 5px 5px 10px;
    margin-top: 26px;
}

.side-menu-content-close {
    display: none;
    height: 0%;
}

.form-element  {
	margin-top: 12px;
}

.form-element label {
    display: inline-block;
    width: 20%;
    text-align: right;
}

/**********END SIDE MENU PAGES ************/

/***** Live Tracking CSS *****/
.wifi {
    position: absolute;
    z-index: 2050;
    transform: rotate(45deg);
    font-size: 14px;
    top: 11.5px;  
    right: 12.5px;
    display: none;
    color: white;
}

.live-tracking-switch {
    display: none;
}

.live-tracking-type {
    transition: 400ms;
    -webkit-transition: 400ms;
    position: relative;
    width: 100%;
}

.live-tracking-type ul {
    max-height: 262px;
}

svg[aria-hidden="true"] {
    display: none !important;
}

.live-tracking-setting {
    display: flex;
    flex-flow: column;
}

.live-tracking-setting ul {
	text-align: justify;
    padding: 0px;
    display: flex;
    flex-flow: column nowrap;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.live-tracking-setting ul li {
    background-color: #FFF;
}

.label-live-tracking-radio {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #002855;
    height: 35px;
    margin-bottom: 5px;
}

.checkmark-live-tracking-radio {
    border-radius: 5px;
    position: absolute;
    top: 0px;
    left: 0;
    height: 35px;
    width: 100%;
    background-color: #eee;
    transition: background 150ms;
}

.label-live-tracking-radio input {
    display: none;
}

.label-live-tracking-radio input:checked ~ .checkmark-live-tracking-radio {
    background-color: #01A2E0;
    color: white;
    font-weight: bold;
}

.checkmark-live-tracking-radio:after {
    content: attr(data-after-content);
    position: absolute;
    display: block;
    top: 8px;
    left: 10px;
}

.label-live-tracking-radio input:checked ~ .checkmark-live-tracking-radio:after {
    display: block;
}

.label-live-tracking-radio input:checked ~ .checkmark-live-tracking-radio ~ i {
    filter: invert(93%) sepia(100%) saturate(0%) hue-rotate(248deg) brightness(106%) contrast(106%);
}

.center-me {
    display: none;
    position: absolute;
    cursor: pointer;
    filter: drop-shadow(rgba(255, 0, 238, 0.2) 3px 3px 2px);
    top: 0.5px;
    right: 0.5px;
    height: 55px;
    z-index: 800;
    background: white;
    line-height: 16px;
    padding: 0px 57px 0px 19px;
    border-radius: 27px;
}

.center-me span {
    display: block;
}

/* END Live Tracking CSS*/

/***** Time Selection *****/
.time-selector {
    position: absolute;
    width: 204px;
    height: 112px;
    bottom: 26px;
    left: calc(50% - 92px);
    z-index: 2008;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1px;
    justify-content: center;
    align-items: center;
    transition: 200ms;
    opacity: 0;
    pointer-events: none;
}

.time-selector.no-jump .jump-hour {
    display: none;
}

.time-selector.no-hours {
    height: 71px;
    bottom: 26px;
}

.time-selector.no-hours .hour-list {
    display: none;
}

.time-selector.no-hours .jump-hour {
    display: none;
}

.time-selected-title {
    padding: 2px 10px;
    background-color: rgba(255, 255, 255, 0.60);
    border-radius: 3px;
    text-shadow: 1px 0px #999;
    width: 246px;
    text-align: center;
    font-size: 11pt;
    display: flex;
    align-items: center;
    height: 26px;
    justify-content: center;
    align-items: center;
}

.time-selected-center {
    position: absolute;
    bottom: calc(50% - 25px);
    z-index: 2010;
    left: calc(50% - 61px);
    width: 140px;
    color: white;
    text-align: center;
    pointer-events: none;
    transition: 300ms;
    opacity: 0;
    font-weight: bold;
    font-size: 25px;
    color: white;
    text-shadow: 1px 1px 1px #000;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    border-radius: 5px;
}

.jump-hour {
    background-color: #ffffffee;
    font-weight: bold;
    color: rgb(50, 50, 50);
    width: 40px;
    height: 40px;
    border: none;
    transition: 300ms;
    margin: 0;
    padding: 0;
    border-radius: 3px;
}

.jump-hour i {
    transition: 300ms;
}

.jump-hour.clicked i {
    transform: scale(1.35)
}

.jump-hour.out-of-bounds {
    background-color: #e59393ee;
}

.prev-hour {
    order: 1;
}

.next-hour {
    order: 3;
}

.day-button, .hour-button {
    color: rgb(30, 30, 30);
    background-color: #ffffffee;
    min-width: 40px;
    height: 40px;
    border: none;
    transition: background 100ms;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    outline: none;
}

.day-button.active-day, .hour-button.active-hour {
    background-color: #00A3E0ee;
    color: white;
}

.day-button.today {
    font-weight: bold;
    font-size: 10pt;
}

.day-list {
    order: 0;
    width: calc(5 * 41px);
    display: flex;
    gap: 1px;
}

.day-list::-webkit-scrollbar {
    display: none;
}  

.time-selected-title input {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: transparent;
    width: 0.1px;
}

.time-selected-title input:focus,
.time-selected-title input:focus-within {
    color: transparent;
}

.time-selected-title input:active { color:red }

.hour-list {
    order: 2;
    width: calc(3 * 40.9px);
    overflow: hidden;
    display: flex;
    gap: 1px;
    justify-content: center;
    margin-left: -0.5px;
    margin-right: -0.5px;
}

.hour-list.extended {
    width: calc(5 * 41px);
}

.hour-list.centered {
    width: calc(4 * 41px);
    margin: 0 20px;
}
/*************/

/* Point forecast / XC Weather */
.point-forecast-chart.blur svg {
	filter: blur(2px);
}

.point-forecast-chart {
	position: relative;
}

.point-forecast-loading,
.xc-weather-forecast-loading {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.1);
    box-shadow: 0 0 5px 5px rgb(0 0 0 / 10%);
    font-size: 150%;
}

.xc-weather-day-selection {
    display: none;
}

.xc-form {
    display: flex;
    flex-wrap: wrap;
    padding: 4px 0;
    align-items: center;
    gap: 5px;
}

.xc-form .form-group {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.xc-form .form-group input {
    margin-left: 8px;
}

.xc-form .form-group.xc-weather-start-time {
    display: none;
}

h1 {
	font-size: 14px;
}

button{
    cursor: pointer;
}

hr {
    font-size: unset;
    border: 0;
    border-bottom: 2px solid #9a9a9a
}

.finger-icon {
    position: relative;
    border-left: 2px solid rgba(68,65,65,0.84);
    height: 90px;
    cursor: move;
}

.finger-icon::after {
    display: block;
    position: absolute;
    left: -5px;
    top: 90px;
    background-color: black;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    content: ' ';
}

.finger-content {
    position: absolute;
    padding-left: 8px;
    left: 2px;
    top: 0;
    cursor: move;
    white-space: nowrap;
    color: white;
    background-color: rgba(68,65,65,0.84);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.finger-buttons {
    width: 100%;
    display: flex;
    position: absolute;
    bottom: -24px;
    left: 0;
}

.finger-button {
    background-color: rgba(68,65,65,0.84);
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 9pt;
    border: none;
    outline: none;
}

.finger-button-wide {
    width: 100px; /* Set the desired width for wide buttons */
}

.finger-remove {
    margin-left: auto;
}

.finger-decrease {
    margin-left: 4px;
}

.finger-buttons .finger-download {
    margin-left: auto;
    color: white;
}

.finger-buttons .finger-save {
    margin-left: 4px;
    color: white;
}

.finger-remove-route {
    margin-left: 4px;
}

div.finger-button:first-of-type {
    margin-right: 4px;
}


.gleitzahl-content {
    position: absolute;
    padding-left: 8px;
    display: flex;
    flex-direction: column;
    left: 2px;
    top: 0;
    cursor: move;
    white-space: nowrap;
    color: white;
    background-color: rgba(68,65,65,0.84);
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.gleitzahl i {
    font-size: 90%;
    margin-right: 4px;
}

.gleitzahl b {
    margin-bottom: 3px;
    margin-right: 1px;
}

.gleitzahl b:not(:first-of-type) {
    margin-left: 4px;
}

.gleitzahl b + i {
    margin-left: 0;
}

.gleitzahl b + i:not(:first-of-type) {
    margin-left: 0;
}

.gleitzahl i:not(:first-of-type) {
    margin-left: 4px;
}

.gleitzahl {
    min-width: 65px;
}

.rotate {
    animation: rotation 2s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.leaflet-right,
.leaflet-left {
    transition: 0.3s; /* 0.3 second transition effect to slide in the sidebar */
}

.leaflet-bottom.leaflet-left {
    bottom: 12px;
}

.shadow-attributions a {
    pointer-events: none !important;
}

.side-menu ul {
    margin-top: 20px;
    list-style: none;
    overflow-y: scroll;
    padding: 0;
    transition: 0.3s; /* 0.3 second transition effect to slide in the sidebar */
}

.side-menu ul li {
    padding: 0px 0px 5px 15px;
    background-color: #FFF;
    color: #002855 !important;
}

.group-list{
	margin-top: 16px;
}

.side-menu ul li i {
    font-size: 27px;
    color: #002855;
    float: left;
    display: block;
}

.side-menu ul li a{
    color: #002855;
    margin-left: 8px;
}

.group{
    margin-top: 52px;
}

.map-views {
    display: block;
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    color: #002855;
    padding: .6em .0em .6em .8em;
    width: 91%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 8px;
    margin-top: 15px;
    border: 1px solid #aaa;
    border-radius: .2em;
}

.map-views::-ms-expand {
    display: none;
}

.map-views:hover {
    border-color: #888;
}

.map-views:focus {
    border-color: #aaa;
    color: #222; 
    outline: none;
}

.map-views option {
    font-weight:normal;
}

.filter-container {
    padding: 10px;
    padding-bottom: 40px;
}

.filter-container .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background: #84BC01;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.filter-container .slider:hover {
    opacity: 1;
}

.filter-container .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #02A1E0;
    cursor: pointer;
}

.filter-container .slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #02A1E0;
    cursor: pointer;
}

.contract-btn{
    color: white;
    margin-left: 5px !important;
    border-radius: 10px !important;
    text-align: center;
}

.contract-btn-radio{
    color: white;
    margin-left: 5px !important;
    border-radius: 10px !important;
    margin-top: 2px;
    text-align: center;
    display: block;
    float: left;
    font-size: 10px;
}
/* Colors for Contract Levels */
.contract-free {
  background-color: #84bd00; /* Free - Green */
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.contract-basic {
  background-color: #23cee7; /* Basic - Cyan */
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.contract-premium {
  background-color: #fc0058; /* Premium - Red */
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.contract-pro {
  background-color: black; /* Pro - Black */
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}


.container-multi {
    display: block;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #002855;
}
.container-multi-radio {
    display: block;
    position: relative;
    padding-left: 21px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #002855;
}

/* Hide the browser's default checkbox */
.container-multi input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.container-multi-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    top: 0;
    left: 0;
    text-align: center;
    height: 20px;
    padding: 3px 8px 4px 8px;
    background-color: #eee;
    border-radius: 12px;
}

.checkmark-radio {
    position: absolute;
    top: 0px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}
.container-multi-radio:hover input ~ .checkmark-radio {
    background-color: #ccc;
}

.container-multi-radio input:checked ~ .checkmark-radio {
    background-color: #01A2E0;
}

/* On mouse-over, add a grey background color */
.container-multi:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-multi input:checked ~ .checkmark {
    background-color: #01A2E0;
    color: white;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkmark-radio:after {
    content: "";
    position: absolute;
    display: none;
}

.container-multi-radio input:checked ~ .checkmark-radio:after {
    display: block;
}

/* Show the checkmark when checked */
.container-multi input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-multi .checkmark:after {
    left: 7px;
    top: 3px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Style the checkmark/indicator */
.container-multi-radio .checkmark-radio:after {
    left: 7px;
    top: 3px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.is-radio{
    border-radius: 50%;
}

.is-radio:after{
    border-radius: 50%;
    background: white;
    left: 6px !important;
    top: 5px !important;
    width: 6px !important;
    height: 6px !important;
}

.filter-list-select-css {
    display: block;
    font-family: sans-serif;
    color: #444;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 150px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    border-radius: .0em;
    -moz-appearance: none;
    margin-top: 7px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
}

.filter-list-select-css::-ms-expand {
    display: none;
}

.filter-list-select-css:focus {
    color: #222; 
    outline: none;
}

.filter-list-select-css option {
    font-weight:normal;
}

.side-search {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 4050; /* Stay on top */
    top: 0;
    right: 0;
    background-color: white; /* White*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 26px; /* Place content 60px from the top */
    transition: 0.3s; /* 0.3 second transition effect to slide in the sidebar */
    margin-top: 0px !important;
    margin-right: 0px !important;
}

.layers-menu{
    display: flex;
    flex-direction: column;
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 4001; /* Stay on top */
    top: 0;
    right: 0;
    background-color: white; /* White*/
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.3s; /* 0.3 second transition effect to slide in the sidebar */
    margin-top: 0px !important;
    margin-right: 0px !important;
}

ul {
    list-style: none;
}

.layers-menu ul:not(.overlays) {
    height: 90%;
    list-style: none;
    overflow-y: scroll;
    transition: 0.3s; /* 0.3 second transition effect to slide in the sidebar */
}

.layers-menu .overlay-filter {
    height: 100%;
    list-style: none;
    overflow-y: overlay;
    padding: 0;
    transition: 0.3s; /* 0.3 second transition effect to slide in the sidebar */
}

.overlay-filter-close {
    height: 0% !important;
}

.layers-menu ul li.filter-li{
    float: left;
    margin-top: 6px;
}

.layers-menu ul li {
    padding: 2px 9px;
    background-color: #FFF;
}

.group-close {
    height: 0% !important;
}

.layers-menu ul li button {
    border: none;
    border-radius: 2px; 
    width: 40px;
    font-size: 12px;
    height: 24px;
}

.layers-menu .group-title, .overlay-title{
    color: #002855;
}

.pilots-side-menu {
    display: flex;
    flex-direction: column;
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 4001; /* Stay on top */
    top: 0;
    right: 0;
    background-color: white; /* White*/
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.3s; /* 0.3 second transition effect to slide in the sidebar */
    margin-top: 0px !important;
    margin-right: 0px !important;
}

.pilots-menu-title {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #002855; 
    margin: 13px 0;
}

.pilots-side-menu .group-search{
    background: #ccc;
    padding: 2px 0px 5px 5px;
}

.pilots-side-menu ul:not(.overlays) {
    height: 85%;
    list-style: none;
    overflow-y: overlay;    
    transition: 0.3s;
    padding-right: 9px;
}

.pilots-side-menu ul li {
    padding: 3px;
    padding-right: 0;
    padding-left: 4px;
    background-color: #FFF;
}

.pilots-side-menu ul li.group-list {
    padding: 3px 9px;
}

.pilots-side-menu ul li button {
    border: none;
    border-radius: 2px; 
    min-width: 40px;
    font-size: 12px;
    height: 24px;
}

.base-layers-menu{
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 4001; /* Stay on top */
    top: 0;
    right: 0;
    background-color: white; /* White*/
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.3s; /* 0.5 second transition effect to slide in the sidebar */
}

ul.base-layers{
    height: 90%;
    list-style: none;
    overflow-y: scroll;
    margin-top: 27px;
    padding: 0 15px;
}

ul.overlays-base {
    padding: 0px;
}

ul.overlays-base li {
    padding: 4px 9px;
    background-color: #FFF;
}

.side-menu {
    height: calc(100vh - var(--notch-value)); /* Adjust height based on the notch value */
    width: 0;
    position: fixed;
    z-index: 4001;
    top: 0;
    right: 0;
    background-color: white;
    overflow-x: scroll;
    transition: 0.3s;
    bottom: 0;
}

/* Referral - Burnair Freunde */
.side-menu .referral li {
    list-style-type: disc;
    padding-left: 0px;
}

.side-menu .referral ul {
    padding-left: 15px;
}

.side-menu .referral {
	font-size: 13px;
}

/* Main Menu */
.side-menu-items-container li {
    font-weight: normal;
    font-size: 16px;
    margin-top: 9px;
    text-decoration: none;
}

.lm-close-btn {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 2px;
    right: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.7);
    width: 48px;
    height: 48px;
    padding: 0;
    text-align: right;
    border-radius: 5px; 
    opacity: 0;
    pointer-events: none;
    transition: 200ms;
}

.side-bars.open .lm-close-btn {
    opacity: 1;
    pointer-events: unset;
}

.save-profile-changes {
    -webkit-appearance: none;
    min-width: 120px;
    min-height: 32px;
}

#cover {
    background: url(../images/loader.gif) no-repeat scroll center center #FFF;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 3050;
    opacity: 0.7;
    display: none;
}

.leaflet-control-scale-line:first-child {
    border: none !important; 
    margin-top: -2px;
    text-align: center;
    background: none !important;
    font-family: 'Archivo Narrow', sans-serif;
    text-decoration: none;
}

.leaflet-bottom .leaflet-control-scale {
    position: fixed;
    height: 14px;
    border: 2px solid #777;
    border-top: none;
    background: none !important;
    bottom: 25px;
    margin: 0;
    right: calc(50% - 55px);
    transition: 200ms;
    pointer-events: none;
    float: none;
}


.clear-filter-btn{
    width: 100% !important;
    background: none !important;
}

.filter-btn {
    width: 100% !important;
    background: none !important;
}

.circle-pulse {
    display: block;
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 70px rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 0 0;
    }
    70% {
        -moz-box-shadow: 0 0 0 70px rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 70px rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/****** MAP VIEW BUTTON *******/
.map-view-btn {
    z-index: 2055;
    position: absolute;
    display: flex;
    padding: 10px;
    font-weight: normal;
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 16px;
    color: black;
    background: #84BD00;
    border: 1px solid transparent;
    box-shadow: 2px 2px 6px rgba(72, 72, 72, 0.4);
    border-radius: 3px;
    width: 250px;
    height: 38px;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    max-width: 40%;
    min-width: 210px;
    top: 20px;
    left: calc(50% - 125px)
}

.map-view-btn span {
    margin-left: 8px; 
    max-width: 170px;
    text-overflow: ellipsis;
    overflow: hidden; 
    white-space: nowrap;
}

.map-view-btn i {
    color: white;
}

ul.new-map-views {
    margin: 0px;
    text-align: justify;
    padding: 0px;
}

ul.new-map-views li{
    text-align: center;
    padding: 5px;
    background: #eee;
    margin-bottom: 6px;
    cursor: pointer;
}

ul.new-map-views li a{
    color: #002855;
}

.swal2-title {
    color: #002855 !important;
}

.side-menu-loading-div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: background 200ms;
    pointer-events: none;
}

.main-loading-div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed; /* Change to fixed to ensure it's relative to the viewport */
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    /* background: rgba(0, 0, 0, 0.25); */
    opacity: 0;
    transition: opacity 200ms ease-in-out; /* Changed to transition opacity instead of background */
    pointer-events: none;
    z-index: 1000; /* Ensures it's above other content */
}


.side-menu.loading .side-menu-loading-div {
    opacity: 1;
    pointer-events: unset;
}

.side-menu-loading-div  .spinner {
    margin: 0;
    margin-top: -50px;
}


/*************/

.search-result-container { 
    border-radius: 0px;
    background-color: white;
    position: absolute;
    display: flex;
    flex-flow: column nowrap;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 1px solid #ccc;
    border-top: none;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 0;
    overflow-y: overlay;
    opacity: 0;
    max-height: 280px;
    min-height: 88px;
    pointer-events: none;
    top: 38px;
    width: 248px;
    max-width: calc( 100% - 2px );
    min-width: 208px;
}

.search-main-container {
    z-index: 2050;
    position: relative;
    width: 250px;
    display: flex;
    height: 38px;
    left: 10px;
    top: 20px;
    transition: 200ms;
    max-width: 40%;
    min-width: 210px;
}

.search-loading-div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.10);
    opacity: 0;
    transition: 200ms;
    pointer-events: none;
}

.search-main-container.loading .search-loading-div {
    opacity: 1;
    pointer-events: unset;
}

.search {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    background: #fff url(../images/search.svg) no-repeat 9px center;
    background-size: 38px 38px;
    background-position: right center;
    border: solid 1px #ccc;
    padding: 10px;
    width: 250px;
    border-radius: 3px;
    z-index: 2060;
    height: 16px;
}

.search:focus {
    outline:0;
    background-color:#fff;
    border-color:#6dcff6;
    -webkit-box-shadow:0 0 5px rgba(109,207,246,.5);
    -moz-box-shadow:0 0 5px rgba(109,207,246,.5);
    box-shadow:0 0 5px rgba(109,207,246,.5);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.count {
    margin: 7px 0;
    margin-left: 14px;
}

.toggle-news {
    z-index: 2030;
    color: #6E6C6C;
    font-size: 12px;
    padding-left: 9px;
    left: 10px;
    padding-right: 10px;
    position: relative;
    top: 30px;
    border: none;
    cursor: pointer;
    background: #ffffffdd;
    box-shadow: 2px 2px 6px rgba(72, 72, 72, 0.4);
    border-radius: 3px;
    max-width: 56px;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.more-news {
    z-index: 2030;
    color: #6E6C6C;
    font-size: 12px;
    padding-left: 9px;
    left: 0px;
    padding-right: 10px;
    position: relative;
    top: 0px;
    border: none;
    cursor: pointer;
    background: #ffffffdd;
    box-shadow: 2px 2px 6px rgba(72, 72, 72, 0.4);
    border-radius: 3px;
    max-width: 81px;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-news .title {
    color: #6E6C6C;
}

.notification-count {
    display: inline-block;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: normal;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    position: absolute; /* Adjust positioning as needed */
    top: -8px; /* Position relative to the parent element */
    right: -9px;
}

.news-main-container{
    z-index: 2031;
    left: 10px;
    width: 359px;
    position: absolute;
}

/* General styles for the modal */
.article-modal {
    display: flex; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4002;
    justify-content: flex-end; /* Align modal content to the right */
    align-items: stretch; /* Ensure full height */
}

/* Article content area */
.article-modal-content {
    background: #333; /* Dark grey background */
    color: #fff; /* White text */
    width: 33.33%; /* Covers one-third of the screen */
    height: 100%;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column; /* Ensures content stacks vertically */
    position: relative;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
	margin-bottom: 100px;
}

/* Header image */
.article-header {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}


.article-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%; /* Adjust the height of the gradient */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); /* Gradient from black to transparent */
    z-index: 1; /* Ensure it appears above the image */
}

.article-header img {
    display: block;
    width: 100%;
    height: auto;
}

/* Main title */
.article-main-title {
    position: absolute;
    bottom: 10px; /* Space from the bottom of the image */
    left: 0px; /* Space from the left side of the image */
    right: 10px; /* Space from the right side of the image */
    margin: 0;
    padding: 10px;
	line-height: 1;
    color: #fff;
    font-size: 2rem; /* Adjust as needed */
    font-weight: bold;
    z-index: 2; /* Ensure it appears above the gradient */
	text-shadow: 0px 0px 4px black;
}

/* Subtitle */
.article-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f1f1f1;
	margin-bottom: 0px;
	margin-top: 28px;
	line-height: 1.2;
}

/* Main text */
.article-main-text, .article-modal-content  {
    font-size: 0.9rem; /* Bigger content font size */
	line-height: 1.2;
	font-weight: lighter: ; !important;
	padding-top: 0px;
}



/* Bullet Blue Check */
.article-modal-content ul {
	padding-left: 0px !important;
}

/* Bullet Blue Check */
.article-main-text li {
    list-style: none; /* Remove default bullet points */
    position: relative;
    padding-left: 1.5em; /* Space for the bullet */
	padding-bottom: 5px;

}

/* Use the emoji dynamically from the data attribute */
.article-main-text li[data-icon]::before {
    content: attr(data-icon); /* Fetch emoji from HTML */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1em;
}

/* Set a default icon if no data-icon is provided */
.article-main-text li:not([data-icon])::before {
    content: "•"; /* Default bullet */
    position: absolute;
    left: 6px;
    top: 0;
    font-size: 1.1em;
}

.article-modal-content h2 {
	color: #84BD00 !important;
	font-weight: bold !important;
	font-size: 24px;
	margin-bottom: -10px !important;
	padding-bottom: 0px !important;		
}


.article-modal-content h3 {
	font-weight: bold !important;
	font-size: 18px;
	margin-bottom: -12px !important;
	padding-bottom: 0px !important;	
	color: #84BD00 !important;
}

/* Inline images */
.article-inline-image {
    width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 5px;
    overflow: hidden;
}

/* Close button styling */
.article-modal-close {
    position: fixed;
    top: calc( 10px + var(--notch-value));
    right: 10px;
    background: rgba(0, 0, 0, 0); /* Semi-transparent black background */
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 3; /* Ensure the close button is above all other elements */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* List button styling */
.article-modal-list {
    position: fixed;
    top: calc( 10px + var(--notch-value));
    /* left: calc(33.33vw + 10px); */ /* Positioned just inside the modal's right edge */
    background: rgba(0, 0, 0, 0); /* Semi-transparent black background */
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 3; /* Ensure the close button is above all other elements */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Full-screen modal for mobile devices */
@media (max-width: 768px) {
    .article-modal-content {
        width: 100%; /* Full width for smaller screens */
        height: 100%; /* Full height */
        box-shadow: none; /* Remove shadow for full-screen modal */
        padding-top: 10px; /* Reduced padding for smaller screens */
		padding-bottom: 100px;
    }

    .article-modal-close {
    	top: calc( 10px + var(--notch-value));
        right: 20px;
        font-size: 24px;
        padding: 4px 8px;
    }
	
    .article-modal-list {
    	top: calc( 10px + var(--notch-value));
        left: 15px;
        font-size: 24px;
        padding: 4px 8px;
    }	
}


.profile-img {
    float: left;
    width: 80px;
    height: 80px;
    margin-top: 0px;
    margin-left: 7px;
    margin-right: 7px;
    margin-bottom: 8px;
    border-radius: 5px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
}
.profile-title {
    font-size: 14px;
	margin-top: -3px !important;
	font-weight: bold;
    text-align: left;
}

.profile-desc {
    font-size: 14px;
}

.news-img {
    float: left;
    width: 100px;
    height: 100px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

.news-detail {
	position: relative;
    height: calc( 100% - 12px );
    padding: 6px;
    display: flex;
    flex-flow: column;
}

.news-title {
    position: relative;
    font-size: 12px;
	font-weight: bold;
    text-align: left;
}

.news-more-info {
    position: relative;
    color: #6E6C6C;
    font-size: 12px;
    text-align: left;
}

.news-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.news-btn a {
    background-color: #DA281C;
    padding: 5px;
    border: none;
    cursor: pointer;
    color: white;
    margin-right: 5px;
    margin-bottom: 3px;
    margin-left: auto; 
}

.news-remove {
    position: absolute;
	padding: 5px;
    cursor: pointer;
	top: 0px;
    right: 5px;
}

ul.news-list{
    list-style-type: none;
    margin: 0;
    padding: 0px 10px 10px 0px;
    border-radius:20px;
    margin-top: 0px;
}

ul.news-list li {
    height: 100px;
    background: white;
    margin-top: 10px;
    box-shadow: 3px 5px 5px #aaaaaa;
    border-radius: 2px;
}

ul.search-result {
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-radius:20px;
    margin-top: 0px;
}
 
ul.search-result li {
    font-size: 14px;
    border-top: 1px solid #ccc;
}

ul.search-result li:hover {
    background: #FFFFFF;
}
 
ul.search-result li a {
    padding: 5px 0px 5px 14px;
    text-decoration: none;
    color: #666;
    display: flex;
    justify-content: center;
    flex-flow: column wrap;   
    min-height: 42px;
    -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
    -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
    -o-transition: font-size 0.3s ease, background-color 0.3s ease;
    -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
    transition: font-size 0.3s ease, background-color 0.3s ease;
}

ul.search-result li a:hover {
    font-size: 14px;;
    background: #FFFFFF;
}

.leaflet-control-layers-list{
    overflow-x: hidden;
}

.p-content{
    font-size: 15px;
}

.p-content #p-title{
    font-size: 18px;
}

.p-content #p-sub-title{
    font-size: 16px;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

.leaflet-control-layers-expanded{
    height: 400px !important;
    overflow: hidden;
}

.leaflet-control-layers-list{
    overflow: -moz-scrollbars-vertical; 
    height: 400px !important;
    overflow-y: scroll;    
}

.prognosis-label {
    width: 150px;
    position: absolute;
    left: 37px;
    background: #fff;
    opacity: 0.7;
    bottom: -17px;
    border-radius: 9px;
    padding: 5px;
    font-size: 12px;
}


/* The Close Button */
#accept {
    color: white;
    font-size: 14px;
    font-weight: bold;
    background: green;
    padding: 10px;
    border-radius: 5px;
    margin-right: 10px;
}

#accept:hover,
#accept:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#link {
    color: white;
    font-size: 14px;
    font-weight: bold;
    background: #4DA2F9;
    padding: 10px;
    border-radius: 5px;
}

#link:hover,
#link:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.locate-me-container {
    height: 56px;
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .35));
}

.br-controll {
    width: 56px;
    height: 56px;
    cursor: pointer;
    margin-left: 21px;
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .35)); 	
}

.lt-br-controll {
    background: white;
    width: 56px !important;
    height: 56px !important;
    cursor: pointer;
    margin-left: 21px;
    filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .35)); 	
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 27px;
    rotate: 25deg;
}

.lt-br-controll svg {
    margin-top: 5px;
    margin-left: 2px;
    transform: scale(1.05);
    pointer-events: none;
}

.br-controll.filter-active {
    background: white;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 7px;
}

.filter-active {
    pointer-events: none;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 7px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.filter-active-img {
    color: #032b57;
    margin-top: 4px;
}

.pilots-control-button .filter-active-img {
    color: #DA291C;
    margin-top: 4px;
}

.br-locate-me {
    z-index: 900;
    width: 56px;
    height: 56px;
    cursor: pointer;
    margin-left: 21px;
    position: absolute;
    top: 0;
    right: 0;
}

.lock{
    margin-left: 4px;
}



.takoffs-direction-control {
    background: white;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    line-height: 30px;
    border: 2px solid #BDBDBD;
    cursor: pointer;
    border-radius: 9px;
    width: 30px;
    padding: 8px;
    cursor: pointer;
    height: 30px;
}

.dir-control{
    display: none;
    width: 110px;
    height: 200px;
    position: absolute;
    top: 0px;
    right: 10px;
    z-index: 2001;
    background: white;
    border: 2px solid #BDBDBD;
    border-radius: 9px;
}

.location-img.active {
    display: block !important;
}

.location-icon{
    -webkit-box-shadow: -2px 14px 73px -14px rgba(0,0,0,0.75);
    -moz-box-shadow: -2px 14px 73px -14px rgba(0,0,0,0.75);
    box-shadow: -2px 14px 73px -14px rgba(0,0,0,0.75);
}

.foot_paths{
    font-size: 14px;
    font-weight: bold;
}

.cable-cars {
    z-index: 200 !important;
}

path {
    stroke-linecap: unset !important;
    stroke-linejoin: unset !important;
}

.faltplatz{
    color: black;
    width: 58px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
}

.adOnMapLabel {
    color: black;
    width: 90px;
    font-size: 14px;
	line-height: 1.1;
	vertical-align: middle;
    text-align: left;
    font-weight: bold;
    border-radius: 5px;
}

.polylinelable {
    -webkit-box-shadow: 0px 1px 15px -2px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 1px 15px -2px rgba(0,0,0,0.6);
    box-shadow: 0px 1px 15px -2px rgba(0,0,0,0.6);
    background-color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    margin-top: -25px;
    margin-left: 25px;
    color: black;
    width: 111px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
}

.start-wrap {
    display: flex;
    align-items: center;
    margin-left: 16px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-box-shadow: 0px 1px 15px -2px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 1px 15px -2px rgba(0,0,0,0.6);
    box-shadow: 0px 1px 15px -2px rgba(0,0,0,0.6);
    border-radius: 5px;
    margin-top: -11px;
    padding: 0 3px;
}

.takeoff-label{
    opacity: 1;
    color: black;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    flex-grow: 1;
    white-space: nowrap;
    padding: 1px 3px;
}

.leaflet-label {
    background: rgb(235, 235, 235);
    background: rgba(235, 235, 235, 0.81);
    background-clip: padding-box;
    border-color: #777;
    border-color: rgba(0,0,0,0.25);
    border-radius: 4px;
    border-style: solid;
    border-width: 4px;
    color: #111;
    display: block;
    font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding: 1px 6px;
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 6;
}

.leaflet-label.leaflet-clickable {
    cursor: pointer;
    pointer-events: auto;
}

.leaflet-label:before,
.leaflet-label:after {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    content: none;
    position: absolute;
    top: 5px;
}

.leaflet-label:before {
    border-right: 6px solid black;
    border-right-color: inherit;
    left: -10px;
}

.leaflet-label:after {
    border-left: 6px solid black;
    border-left-color: inherit;
    right: -10px;
}

.leaflet-label-right:before,
.leaflet-label-left:after {
    content: "";
}

.advertizement-main{
    width: 90%;
    height: 75px;
}


.footer-legend {
    position: absolute;
    z-index: 900;
    opacity:0.8;
    height: 75px;
    bottom: 0px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.footer-inner {
    position: absolute;
    z-index: 900;
    left: 119px;
    bottom: 0px;
}

.logo {
    width: 80px;
    z-index: 900;
    margin-top: 12px;
}

.btn-circle {
    cursor: pointer;
    background-color: white;
    top: 44px;
    z-index: 900;
}

.btn-circle.btn-xl {
    opacity: 0.8;
    width: 77px;
    height: 77px;
    border-radius: 41px;
    box-shadow: -4px 1px 5px #888888;
}

.btn-circle:hover {
    border-color: #1E90FF;
    border-width: 1px;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}  

.leaflet-bottom {
    z-index: 901;
}

.c-popup {
    overflow-x: hidden;
    position: absolute;
    transition-timing-function: ease-out;
    bottom: 0px;
    z-index: 3001;
    background: #fff;
    width: 100%;
    overflow-y: hidden !important;
    height: 30%; 
}

.c-popup a {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.popup-content {
    overflow-y: overlay;
    overflow-x: hidden;
    height: 100%;
}

.popup-content::-webkit-scrollbar * {
    background: transparent;
}

/* when trying to animate the c-popup window, watch out for the livetracking 
an other highcharts graphs. This will prevent direct scrolling */
.c-popup.closed {
    max-height: 0 !important;
}

@keyframes MoveUpDown {
    0% {
        opacity: 0;
    }
    10% {
        bottom: calc(var(--minimized-height) + 10%);
        opacity: 1;
    }
    90% {
        bottom: var(--minimized-height);
        opacity: 1;
    }
    100% {
        bottom: var(--minimized-height);
        opacity: 0;
    }
}

.alert-hidden-popup {
    width: 100%;
    height: 15%;
    position: absolute;
    bottom: calc(var(--minimized-height) + 10%);
    margin: 0 auto;
    pointer-events: none;
    z-index: 4000;
    opacity: 0;
    transition: 80ms;
}

.alert-hidden-popup.hidden-alert-animation {
    animation: MoveUpDown 700ms ease-in;
}

.alert-hidden-popup svg {
    margin-top: 35px;
    rotate: 90deg;
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.c-popup .close-popup {
    position: absolute;
    width: 40px;
    cursor: pointer;
    height: 35px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -2px;
}

.c-popup-controls {
    display: flex;
    position: absolute;
    cursor: pointer;
    z-index: 3020;
    right: 45px;
    width: 70px;
    height: 35px;
}

.fullscreen-button,
.minimize-button,
.mediumize-button {
    cursor: pointer;
    z-index: 3020;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
    font-size: 25px;
    color: rgb(128, 128, 128);
}

.c-popup.minimized .minimize-button {
    display: none;
}

.c-popup.mediumized .mediumize-button {
    display: none;
}

.c-popup.fullsized .fullscreen-button {
    display: none;
}

.c-popup-control img {
    width: 70%;
}

.resize-button {
    position: absolute;
    cursor: pointer;
    z-index: 3020;
    right: calc(50% - 50px);
    width: 100px;
    height: 35px;
    border: none;
    background: #58585800;
    top: 0px;
    margin-top: -2px;
}

.resize-button-nob {
    width: 70px;
    height: 8px;
    border-radius: 5px;
    background: gray;
    position: relative;
    left: 8.5px;
    top: -7px;
}

table {
    font-size: 13px;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 8px;
    vertical-align: top;
}

tr:nth-child(odd) {
    background-color: #f2f2f2
}

tr td:first-child {
    width: 20%;
}

th {
    background-color: #4CAF50;
    color: white;
}

/* Previtemps / Takeoffs */
.previtemp-selection,
.takeoff-selection {
    cursor: pointer;
    display: inline-block;
    color: black; 
    font: 11px sans-serif; 
    background:  white;
    height: 18px;
    border-radius: 12px; /* half of width + borders */ 
    line-height: 18px; /* vertical center */   
    text-align: center; /* horizontal center */
    border: 2px solid #ccc;
    padding: 1px 9px;
}

.previtemp-selection.active-previtemp,
.takeoff-selection.active-takeoff {
    border-color: #000;
}

/* burnair Moments */
.burnair-moment {
    width: 50px;
    height: 50px;
    border: 3px solid;
    border-radius: 100%;
    overflow: visible;
}

.burnair-moment img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

.burnair-moment svg {
    width: 56px;
    height: 56px;
    top: 0;
    left: 0;
    position: absolute;
    transform: rotateY(-180deg) rotateZ(-90deg);
}

.moments-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.moments-container img {
    width: 25%;
}

.side-menu-content-container .tracks-device-selection {
    cursor: pointer;
    display: inline-block;
    color: black;
    font: 11px sans-serif;
    background: white;
    height: 18px;
    border-radius: 12px;
    line-height: 18px;
    text-align: center;
    border: 2px solid #ccc;
    padding: 1px 9px;
    margin-right: 5px;
    margin-bottom: 5px;
    color: black;
}

.side-menu-content-container .tracks-device-selection-default  {
    border-color: black;
}

.development-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
	flex-direction: column; /* Add this line to arrange children in a column */
    
    z-index: 600;
    justify-content: center;
    align-items: center;
    background: transparent;
    font-size: 350%;
    pointer-events: none;
}

.development-overlay-text {
    text-align: center;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: bold;
    color: #2e2e2e;
}
.development-overlay-subtext {
    text-align: center;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: normal;
    color: #2e2e2e;
    margin-top: 0.4em; /* Optional: add some space between the two divs */
    line-height: 1; /* Adjust this value to your preference */
}
    

/* --- Laptops / Desktops --- */
@media only screen and (min-width: 992px) { 
    .logo {
        width: 110px;
    }

    .pilots-side-menu ul:not(.overlays):last-of-type {
        height: 100%;
        padding-bottom: 150px;
    }

    .layers-menu ul:not(.overlays):last-of-type {
        height: 100%;
    }

    .pilots-side-menu .livetracking-pilot-list.group {
        width: unset;
    }

    .lt-chart.side-menu-active .c-popup.livetracking-chart {
        width: calc(100% - 300px)
    }
}


/* --- Smaller then tablet --- */
@media only screen and (max-width: 767px) {
    .map-view-btn {
        left: 10px;
        justify-content: flex-start;
    }

    .news-main-container {
        width:260px;
    }

	.news-remove {
        position: relative;
        top: unset;
        right: unset;
	    padding: 6px 8px;
   	}

    .news-more-info span {
        font-size: 10px;
    }

    .news-btn a {
        margin-bottom: 0;
    }
}

/* Device? */
@media (min-width: 481px) and (max-width: 767px) {
    .fancybox-toolbar {
        top: 70px !important;
    }

    .c-popup{
        height: 40%;
    }

    table {
        border-collapse: collapse;
        width: 100%;
    }

    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 73%;
        min-height: 300px;
        overflow-y: scroll;
        max-height: 300px;
    }

    .footer-inner {
        position: absolute;
        z-index: 900;
        left: 72px;
        font-size: 8px;
        bottom: 4px;
    }
    
    .footer-legend {
        overflow: hidden !important;
        position: absolute;
        z-index: 900;
        opacity: 0.8;
        height: 56px;
        bottom: 20px;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px;
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    }

    .br-controll {
        width: 56px;
        height: 56px;
        cursor: pointer;
        margin-left: 11px;
    }

    .btn-circle.btn-xl {
        opacity: 0.8;
        width: 56px;
        height: 56px;
        border-radius: 30px;
        box-shadow: -4px 1px 5px #888888;
    }

    .ml { 
        margin-right: 0px;
    }

    .layers-menu ul li button {
        width: 40px;
        height: 30px;
    }
    
    .group-header{
        height: 27px;
    }

    .group-title{
        font-weight: bold;
        font-size: 14px;
        margin-top: 9px;
        float: left;
    }  
}


/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
    .moments-container img {
        width: 75%;
    }

    .fancybox-toolbar {
        top: 70px !important;
    }

    .c-popup{
        height: 40%;
    }

    table {
        border-collapse: collapse;
        width: 100%;
    }
    
    .modal-content {
       background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 73%;
        min-height: 397px;
        overflow-y: scroll;
        max-height: 397px;
    }

    .footer-inner {
        position: absolute;
        z-index: 900;
        left: 72px;
        font-size: 8px;
        bottom: 4px;
    }
    
    .footer-legend {
        overflow: hidden !important;
        position: absolute;
        z-index: 900;
        opacity: 0.8;
        height: 56px;
        bottom: 20px;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px;
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    }

    .br-controll {
        width: 56px;
        height: 56px;
        cursor: pointer;
        margin-left: 11px;
    }

    .btn-circle.btn-xl {
        opacity: 0.8;
        width: 56px;
        height: 56px;
        border-radius: 30px;
        box-shadow: -4px 1px 5px #888888;
    }

    .ml {
        margin-right: 0px;
    }

    .layers-menu ul li button {
        width: 40px;
        height: 30px;
    }

    .group-header{
        height: 27px;
    }

    .group-title{
        font-weight: bold;
        font-size: 14px;
        margin-top: 9px;
        float: left;
    }  
}

@media only screen 
    and (device-width : 414px) 
    and (device-height : 736px) 
    and (-webkit-device-pixel-ratio : 3) { 

    .fancybox-toolbar {
        top: 70px !important;
    }

    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 73%;
        overflow-y: hidden;
        min-height: 350px;
        max-height: 350px;
    }

    .modal-content .body {
        overflow-y: scroll; height: 310px;margin-bottom: 15px;
    }

    .layers-menu ul li button {
        width: 40px;
        height: 30px;
    }

    .group-header{
        height: 27px;
    }

    .group-title{
        font-weight: bold;
        font-size: 14px;
        margin-top: 9px;
        float: left;
    } 
}

/* Mini phones */
@media screen and (max-device-width: 350px) and (orientation: portrait) {
    .fancybox-toolbar {
        top: 70px !important;
    }

    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 20px;
        border: 1px solid #888;
        width: 73%;
        overflow-y: hidden;
        min-height: 350px;
        max-height: 350px;
    }

    .modal-content .body {
        overflow-y: scroll; 
        height: 310px;
        margin-bottom: 15px;
    }

    .layers-menu ul li button {
        width: 40px;
        height: 30px;
    }

    .group-header{
        height: 27px;
    }

    .swal2-modal{
        font-size: 0.7rem !important;
    }

    #accept {
        padding: 6px;
    }

    #link{
        padding: 6px;
    }
    
    .group-title{
        font-weight: bold;
        font-size: 14px;
        margin-top: 9px;
        float: left;
    } 

    .live-tracking-type ul {
        height: 171px;
        overflow-y: scroll;
    }
}

@media only screen
and (min-width : 321px) 
and (max-height: 712px) 
and (orientation : landscape) {
    .fancybox-toolbar {
        top: 70px !important;
    }
}

@media 
    (-webkit-min-device-pixel-ratio: 2), 
    (min-resolution: 192dpi) { 
    /* Retina-specific here */

    .swal2-close {
        position: absolute;
        transform: scale(1.5);
        top: 10px;
        right: 5px;
    }
}

/* -----------------
--- Notch styles ---
----------------- */
@media screen and (orientation: portrait) {
    #map {
        padding-top: var(--notch-value);
        height: calc(100% - var(--notch-value)) !important;
    }

    .leaflet-top.leaflet-right {
        top: var(--notch-value);
    }   

    .map-view-btn {
        top: calc( 20px  + var(--notch-value));
    }   

    .side-bars {
        padding-top: var(--notch-value)
    }

    .pilots-menu-title {
        top: calc( 10px  + var(--notch-value));
    }

    .layers-menu-search {
        top: calc( 12px + var(--notch-value) );
    }
    
    .lm-close-btn {
        top: calc( 2px + var(--notch-value));
    }
}
  
@media screen and (orientation: landscape) {
    #map {
        padding-left: var(--notch-value);
        padding-right: var(--notch-value);
        width: calc( 100% - var(--notch-value) - var(--notch-value) ) !important;
    }

    .leaflet-top.leaflet-right {
        right: var(--notch-value);
    }

    .leaflet-bottom.leaflet-right {
        right: var(--notch-value);
    }

    .leaflet-bottom.leaflet-left {
        left: var(--notch-value);
    }

    .side-bars .group {
        padding-left: var(--notch-value);
        padding-right: max(9px, var(--notch-value));
        width: calc( 100% - var(--notch-value) - var(--notch-value));
    }

    .pilots-menu-title {
        left: calc( 10px  + var(--notch-value));
    }

    .popup-content {
        padding: 0 var(--notch-value)
    }
    
    @media only screen and (max-height: 665px) { 
        .leaflet-top.leaflet-right {
            right: calc( 65px + var(--notch-value) );
        }

        .livetracking-toggle-filters {
            right: calc(75px + var(--notch-value));
            top: 11px;
        } 
    }

    @media only screen and (max-width: 992px) { 
        .top-prog-menu ul {
            max-height: 182px;
        }

        .layers-menu-search {
            left: max( 10px , var(--notch-value));
        }

        .c-popup .close-popup {
            right: max( 10px , calc( 10px + var(--notch-value) ));
        }

        .c-popup .c-popup-controls {
            right: max( 45px , calc( 45px + var(--notch-value) ));
        }

        .lm-close-btn {
            right: max( 10px , var(--notch-value));
        }

        .leaflet-bottom .leaflet-control-scale {
            bottom: 10px;
        }

        .leaflet-control-attribution {
            right: 10px;
        }

        .news-main-container {
            left: calc( 10px + var(--notch-value) );
        }   

        ul.base-layers {
            padding-left: var(--notch-value);
            padding-right: var(--notch-value);
        }

        .layers-menu .overlay-filter {
            padding-left: var(--notch-value);
            padding-right: var(--notch-value);
        }
    }

    @media only screen and (max-width: 767px) { 
        .map-view-btn {
            left: calc( 10px + var(--notch-value) );
        }   
    }
}