﻿.leaflet-map {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.info {
    padding: 6px 18px;
    background: white;
    background: rgba(255,255,255,0.8);
    border-radius: 5px;
}

#info > .info.leaflet-control {
    min-width: 384px;
    max-width: 550px;
    font-size: smaller;
}

.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

.leaflet-verticalcenter {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    top: 50%; /* possible because the placeholder's parent is the map */
    transform: translateY(-50%); /* using the CSS3 Transform technique */
    padding-top: 10px;
}

.leaflet-verticalcenter .leaflet-control {
    margin-bottom: 10px;
}

.leaflet-horizontalcenter {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 10px;
}

.leaflet-horizontalcenter .leaflet-control {
    margin-bottom: 10px;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    height: calc(50vh);
    border: 1px solid black
}

.column {
    width: 50%;
    height: calc(50vh - 28px);
    min-height: 350px;
    border-top: solid 1px black;
    border-bottom: solid 1px black;
}

#project-table_wrapper {
    width: 100%;
    overflow-y: scroll;
    height: calc(50vh - 28px);
    font-size: smaller;
}

#main-header {
    padding-left: 20px
}

fieldset > label {
    padding-right: 1em;
}

/* Tooltip container */
body#hepcontent.maps .tooltip {
    position: relative;
    display: inline-block;
}

    /* Tooltip text */
body#hepcontent.maps .tooltip .tooltiptext {
        font-size: small;
        visibility: hidden;
        width: 320px;
        border: 1px solid #dadde9;
        background-color: #f5f5f9;
        color: #000;
        text-align: left;
        padding: 5px 5px 20px 10px;
        border-radius: 6px;
        /* Position the tooltip text - see examples below! 
        position: absolute;*/
        margin-left: 3px;
        z-index: 1000;
        opacity: 0;
        transition: opacity 250ms;
        transition-delay: 0s;
        bottom: 100%;
        left: 50%;
        margin-left: -150px;
    }

body#hepcontent.maps .tooltiptext > p:first-child {
    margin-top: 0;
}

body#hepcontent.maps .tooltiptext > p:last-child {
    margin-bottom: 0;
}

/* Show the tooltip text when you mouse over the tooltip container */
body#hepcontent.maps .tooltip:hover .tooltiptext, body#hepcontent.maps .tooltip:focus .tooltiptext {
	display: flex;
	flex-direction: column;
	min-height: 6vh;
    visibility: visible;
    opacity: 1;
}

body#hepcontent.maps .questionIcon {
    width: 20px;
    height: 20px;
}

.filters {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

.filter {
    margin-right: 5px;
}

    .filter label {
        margin-right: 5px;
    }
    .filter p {
        margin: 0;
    }
    .filter select {
        max-width: 250px;
    }

.reset-button-div {
    flex-direction: row;
    margin: 0.5em 0em 0.5em 1em;
    padding: 1em;
    display: flex;
    height: 2.5em;
    min-width: 6em;
}

@media only screen and (max-width: 1095px) {
    .reset-button-div {
        margin: 0;
        padding: 0em 1em 0em 1em;
        height: inherit;
    }
}

#project-table_length > label {
    padding-left: 5px;
}