/* file: edi_areas.css
 *
 * Herve Saint-Amand
 * Edinburgh
 * 2011-11-03
 */

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* top level */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;

    font-family: verdana, helevtic, arial, sans-serif;
}

body {
    display: flex;
    flex-direction: row;
}

div#lhs-column-wrapper {
    padding: 0;
}

div#map-container {
    flex-grow: 1;
}

div#map {
    height: 100%;
}

div#info-window {
    margin-top: 0.5rem;
    font-size: 11pt;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* LHS column */

div#lhs-column {
    display: flex;
    flex-direction: column;
    width: 16rem;
    height: 100%;
    max-height: 100vh;
    position: relative;  /* so that we can make lhs-column-close position: absolute */
}

div#lhs-column > * {
    margin: 0.5rem 1rem;
}

h1.lhs {
    font-size: 15pt;
    margin-right: 2em !important;
}

h2.lhs {
    font-size: 12pt;
    font-weight: bold;
}

select#source {
    margin-top: 0 !important;
}

p#blurb-lede {
    font-size: 11pt;
}

p.lhs-extra {
    margin-bottom: 0;
}

ul.lhs-areas {
    flex-grow: 1;
    padding-left: 0;

    overflow: auto;
    border: solid 1px #ccc;

    list-style-type: none;

    font-size: 11pt;
}

li.lhs-areas {
    padding: 0.3rem;
    cursor: pointer;
}

li.lhs-areas:hover {
    background-color: #ccc;
}

p.email {
    margin: 5px;
    font-size: 11pt;
}

p.email a {
    text-decoration: none;
    color: black;
}

img#lhs-column-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    cursor: pointer;
    width: 1rem;
    height: 1rem;
    margin: 0;
}

div#lhs-column-collapsed {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    background-color: #fff;
    z-index: 100;
    border: solid 1px #333;
}

img#hamburger {
    margin: 0.25rem 0.25rem 0rem 0.25rem;
    cursor: pointer;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* safety curtain ("Loading..." overlay) */

div#safety-curtain {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;

    background-color: black;
    opacity: .4;
}

div#safety-curtain-text {
    top: 45%;
    text-align: center;
    position: fixed;
    width: 100%;

    color: white;
    font-weight: bold;
    font-size: 30pt;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/* blurb overlay */

div.blurb-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.blurb-body {
    position: relative; /* so that .close-button can use position:absolute */
    max-width: 40rem;
    max-height: 100%;
    padding: 0 1rem;
    overflow: auto;
    background-color: white;
    border: solid 1px #666;
    font-size: 11pt;
}

div.blurb-body img.close-button {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    cursor: pointer;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
