.view-color-green {
    background-color: rgba(77, 250, 144, 0.3);
}
.view-color-yellow {
    background-color: rgba(250, 190, 77, 0.3);
}
.view-color-red {
    background-color: rgba(255, 84, 104, 0.3);
}

.view-item-disabled {
    opacity: 0.5;
}

.toolbar-header-style {
    background-color: #5fa2dd !important;
}

body.x-border-layout-ct, div.x-border-layout-ct {
    background-color: #bbbbbb !important;
}

.x-fieldset {
    overflow: visible !important; /* workaround for Safari issue */
}

#attribution {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: x-small;
}

#spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border-top: 6px solid #5fa2dd;
    border-right: 6px solid transparent;
    animation: spinner .6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Texte en rouge et en gras */
.color-warn-report {
    color: red !important;
    font: bold 20px courier !important;
}

.zone-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
}

.crosshair {
    width : 32px;
    height: 32px;
    pointer-events: none;
    position: absolute;
    top: -16px;
    left: -16px;
}

.tooltip {
    position: relative;
    remove_display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    remove_width: 480px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 0;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.boldtext16 {
    font: bold 16px "Open Sans" !important;
}

.ol-popup {
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    min-width: 120px;
}

.ol-popup-content {
    min-width: 125px !important;
    max-height: 420px !important;

    display: inline-block;
}

div.ol-popup-content li {
    text-overflow: ellipsis;
    white-space: nowrap;
}