@font-face {
    font-family: zrnic;
    src: url(fonts/zrnic.ttf);
}

html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#map-container {
    height: 100%;
}

.ui-autocomplete {
    z-index: 2000;
    border: 1px solid #ffffff;
    background-color: #121212;
    color: #ffffff;
}

.map-label p {
    white-space: nowrap;
    display: inline-block;
    font-size: 1em;
    font-weight: 700;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
    color: white;
    text-align: center;
    transform: translateX(-50%);
}

#pageHeader {
    height: 5%;
    width: 100%;
    background-color: #121212;
    border-bottom: 1px solid #FFFFFF;
}

#pageHeader h1 {
    font-family: zrnic;
    margin: 0;
    padding-top: 0.15%;
    text-align: center;
    font-size: 4vh;
    color: #FFFFFF;
}

.navbar-brand {
    color: #FFFFFF !important;
}

#titleLabel {
    font-size: 28px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#explv {
    color: #33b5e5;
}

#map {
    width: 100%;
    height: 100%;
    background-color: black;
}

#tooltip {
    position: absolute;
    z-index: 3;
    padding: 5px;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.65);
    border-radius: 4px;
    background-color: #121212;
    color: #FFFFFF;
    display: none;
}

#output {
    width: 20%;
    height: 40%;
    position: fixed;
    left: 50px;
    top: calc(5% + 8px);
    padding-top: 10px;
    padding-left: 10px;
    z-index: 2;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.65);
    border-radius: 4px;
    background-color: white;
    display: none;
}

input.leaflet-control-custom {
    padding: 5px;
    border-radius: 4px;
}

.leaflet-control-custom form-group, .leaflet-control-zoom-in, .leaflet-control-zoom-out {
    background: none !important;
    color: white !important;
}

.coord {
    width: 70px !important;
    height: auto;
    text-align: center;
    background: none !important;
    color: white;
    border: none;
    border-right: 1px solid white;
    border-radius: 0px;
}

.coord:last-child {
    border: none;
}

#map-container {
    padding: 0;
}

#container {
    width: 100%;
    height: 100%;
    padding: 0;
}

.leaflet-control {
    background-color: #121212 !important;
    border: 1px solid white !important;
    color: white !important;
}

.leaflet-control-custom {
    margin: 0 !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 0 0 0;
    border-bottom: 1px solid #ccc !important;
    background-color: #fff;
}

.leaflet-control-custom:last-child {
    border: none !important;
}

a.leaflet-control-custom {
    cursor: pointer;
}

a.leaflet-control-custom.active,
a.leaflet-control-custom:hover,
a.leaflet-control-zoom-in:hover,
a.leaflet-control-zoom-out:hover {
    background-color: rgb(77, 77, 77) !important;
}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
 
input[type="number"] {
    -moz-appearance: textfield;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome and Opera */
}
#minecraft-container {
    padding: 8px 10px;
    min-width: 250px;
    font-size: 13px;
}

.minecraft-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.minecraft-selected {
    margin: 6px 0;
    padding: 6px 0;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
}

.minecraft-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 22px;
}

.minecraft-label {
    color: #aaa;
    margin-right: 12px;
}

.minecraft-value {
    font-family: monospace;
}

.minecraft-command {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.minecraft-command code {
    background: none;
    color: #76EE00;
    padding: 0;
}

#minecraft-container a.minecraft-copy {
    width: auto;
    height: auto;
    line-height: inherit;
    padding: 0 6px;
    margin-left: 12px;
    background: none;
    border: 1px solid #555;
    border-radius: 3px;
    color: white;
    cursor: pointer;
}

.minecraft-input {
    width: 70px !important;
    height: 24px;
    padding: 2px 6px;
    margin-left: 6px;
    background: none !important;
    color: white;
    border: 1px solid #555;
}

.minecraft-row .minecraft-label {
    flex: 1;
}

/* Phones: no mouse to hover with, so drop the hover readouts and give the Minecraft panel the full width */
@media (max-width: 767px) {
    #titleLabel, [id="coordinates-container"], .minecraft-hover {
        display: none;
    }

    #minecraft-container {
        box-sizing: border-box;
        width: calc(100vw - 20px);
        margin-bottom: 24px;
        font-size: 16px;
    }

    #minecraft-container .minecraft-row {
        line-height: 28px;
    }

    .minecraft-input, .leaflet-control input {
        font-size: 16px !important;
    }

    .minecraft-input {
        height: 32px;
    }
}
