#root, html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Avenir", sans-serif;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#styleDisplay{
color: rgb(255, 255, 255);
}
.header {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: start;
    /* margin-left: 5px;
    margin-top: 5px; */
    /* height: 75px; */
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    width: 100%;
    left: 0;
    top: 0;
    background: #000000af;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.8px;
    box-shadow: 0px 2px 15px #00000081;
    /* border-radius: 7px; */
}

.bloc-header-1{
    display: flex;
    flex-direction: column;
    align-items: left;
    min-width: 240px;
}
.bloc-header-2{
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    align-items: start;
    min-width: 320px;
}

.logo-reset {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    width: auto;
}
.logo {
    display: flex;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}


.mapStyle {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding-left: 15px;
    min-width: 120px;
    position: relative;
    overflow: visible;
}

.selected-copy {
    display: flex;
    flex-direction: row;
    padding-top: 20px;
    cursor: pointer;
    width: auto;
}
.selected {
    display: flex;
    cursor: pointer;
    width: auto;
    padding-left: 5px;
}

.arrow {
    cursor: pointer;
    outline: none;
}

.copy-style {
    display: flex;
    position: relative;
    align-items: left;
    padding-right: 5px;
}
.copy-style-tooltip {
            position: absolute;
            left: 230%;
            top: 120%;
            transform: translateX(-50%);
            background: #222;
            color: #fff;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.7em;
            white-space: nowrap;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.4s;
            z-index: 1001;
        }

        .copy-style:hover .copy-style-tooltip,
        .copy-style:focus .copy-style-tooltip {
            opacity: 0.7;
        }

.arrow {
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.select-box {
    position: relative;
    width: 200px;
    height: auto;
    color: #f5f5f5;
    background: none;
    box-shadow: none;
    z-index: 20;
    pointer-events: auto;

    font-weight: 100;
}

.select-box .option {
    padding: 3px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    transition: background 0.2s;
}
.select-box .option.selected-option {
    background: #0000006f;
    font-weight: bold;
}

.select-box .options-container {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    background: #444444d8;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
    overflow: hidden;
    order: 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0);
    z-index: 1000;
}
.select-box .options-container.active {
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.select-box .option:hover {
    background: #0000006f;
    transition: background 0.1s;
}
.select-box .option:active {
    background: #e6e6e69b;
    transition: background 0.1s;
}
.select-box .option:focus {
    outline: 1px solid #949494;
    /* outline-offset: -2px; */
}

.select-box label {
    cursor: pointer;
}

.select-box .option .radio {
    display: none;
}




.Coord-infos {
    display: flex;
    /* width: 800px; */
    justify-content: space-between;
    /* background: #63a6bd94; */
    padding-left: 10px;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

.zoom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

.bearing {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

.pitch {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
}

.copy-reglages {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items:center;
    padding-left: 2px;
    padding-right: 30px;
}
.map-reset-view {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding-left: 12px;
    padding-right: 3px;
}
.map-reset-view-tooltip {
            position: absolute;
            top: 5%;
            background: #222;
            color: #fff;
            padding: 4px 6px;
            border-radius: 4px;
            font-size: 0.7em;
            white-space: nowrap;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.4s;
            z-index: 1001;
        }

        .map-reset-view:hover .map-reset-view-tooltip,
        .map-reset-view:focus .map-reset-view-tooltip {
            opacity: 0.7;
        }
  

        .copy-reglages-tooltip {
            position: absolute;
            top: 5%;
            background: #222;
            color: #fff;
            padding: 4px 6px;
            border-radius: 4px;
            font-size: 0.7em;
            white-space: nowrap;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.4s;
            z-index: 1001;
        }

        .copy-reglages:hover .copy-reglages-tooltip,
        .copy-reglages:focus .copy-reglages-tooltip {
            opacity: 0.7;
        }




.copy-icon-reglages {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding-left: 5px;
    padding-right: 5px;
}

#map-controller-wrapper {
    background: #00000087;
    border-radius: 6px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    right: 10px;
    width: 30px;
    top: 60px;
    gap: 10px;
}

#map-zoom-wrapper {
    display: flex;
    align-items: end;
    gap: 5px;
    padding-left: 13px;
    padding-right: 13px;
}

.zoom-out-icon-high,
.zoom-out-icon-low,
.zoom-in-icon-high,
.zoom-in-icon-low,
.map-reset-view-icon,
.copy-icon-style,
.copy-icon-reglages{
    background: rgba(0, 0, 0, 0.613);
    border-radius: 2px;
    cursor: pointer;
    opacity: 70%;
    box-shadow: -1px -1px 3px #c5c5c599;
}



.zoom-in-icon-high,
.zoom-out-icon-high,
.copy-icon-style {
    width: 21px;
    height: 21px;
}

.map-reset-view-icon,
.copy-icon-reglages {
    margin-top: 10px;
    width: 26px;
    height: 26px;
    opacity: 60%;
}

.zoom-in-icon-low,
.zoom-out-icon-low
{
    width: 13px;
    height: 13px;
}

.centre-icon {
    background: rgba(0, 0, 0, 0.613);
    border-radius: 2px;
    cursor: pointer;
    opacity: 70%;
    box-shadow: -1px -1px 3px #c5c5c599;
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: -5px;
    margin-bottom: -4px;
}

.zoom-out-icon-high:hover,
.zoom-out-icon-low:hover,
.zoom-in-icon-high:hover,
.zoom-in-icon-low:hover,
.map-reset-view-icon:hover,
.copy-icon-style:hover,
.copy-icon-reglages:hover {
    background: rgba(255, 255, 255, 0.523);
}

.zoom-out-icon-high:active,
.zoom-out-icon-low:active,
.zoom-in-icon-high:active,
.zoom-in-icon-low:active,
.map-reset-view-icon:active,
.copy-icon-reglages:active,
.copy-icon-style:active {
   background: rgba(255, 255, 255, 0.936);
}

.ctrl-group {
    position: absolute;
}

.maplibregl-ctrl-group button {
    background-color: #dadadaae;
    filter: invert(100%);
    border-radius: 4px;
    box-shadow: 0px 4px 5px #000000a2;
}
/* #inset-map {
          position: absolute;
          bottom: 20px;
          left: 20px;
          height: 150px;
          width: 200px;
          z-index: 1;
          border: 1px solid #808080;
        } */
.sidebar__input { 
    width: 45px;
    height: 16px;
    border: none;
    color: rgb(255, 255, 255);
    background-color: #00000091;
} 
.form-button {
    height: 18px;
    width: 18px;
    border: none;
    background-color: #00000000;
}

.center-cross {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  transform: translate(-50%, -50%);
  z-index: 2000;
  pointer-events: none;
}
.center-cross::before, .center-cross::after {
  content: '';
  position: absolute;
  background: #484848;
}
.center-cross::before {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}
.center-cross::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}
