body {
    align-items: stretch;
    display: flex;
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    margin: 0px;
}

#info {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px 0px;
    z-index: 5;
}

#map {
    align-items: center;
    margin: auto;
    width: 100%;
}

/* desktop */
@media screen and (min-width: 600px) {
    body {
        flex-direction: row;
        margin: 0px;
    }

    #info {
        max-width: 300px;
        padding: 20px;
        text-align: left;
        width: 33%;
    }

    #infoBtn {
        display: none;
    }

    #map {
        height: 100%;
    }
}

/* mobile */
@media screen and (max-width: 600px) {
    body {
        flex-direction: column;
        height: 100vh;

        /* Full-height flexbox fix for mobile */
        /* from https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ */
        height: calc(var(--vh, 1vh) * 100);
    }

    #info {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        padding-top: 5px;
        padding-bottom: 5px;
        width: 100%
    }

    #map {
        flex: 1;
    }

    .hide-mobile {
        display: none;
    }

    #additionalInfo {
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 5px 0px;
        position: absolute;
    }

    #infoBtn {
        display: block;
        font-size: 20px;
        position: absolute;
        right: 15px;
        top: 10px;
    }

    #pageTitle {
        margin-bottom: 0px;
    }
}

#center-map-button {
    background-color: white;
    border-radius: 2px;
    border: 0px none;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    color: rgb(96, 96, 96);
    cursor: pointer;
    font-size: 2em;
    font-weight: bolder;
    height: 40px;
    outline: currentcolor none medium;
    padding: 9px;
    right: 10px !important;
    text-align: center;
    width: 40px;
}

#refine-search-button::before {
  font-family: fontAwesome;
  content: "\f0b0\00a0";
}

#refine-search-button:hover {
    color: black;
}

#refine-search-button {
    appearance: none;
    background: rgb(255, 255, 255) none repeat scroll 0% 0% padding-box;
    border-radius: 2px;
    border: 0px none;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    color: rgb(86, 86, 86);
    cursor: pointer;
    direction: ltr;
    display: table-cell;
    font-family: Roboto, Arial, sans-serif;
    font-size: 18px;
    height: 40px;
    left: 10px !important;
    margin: 0px;
    overflow: hidden;
    padding: 0px 17px;
    position: relative;
    text-align: center;
    text-transform: none;
    top: 10px !important;
    user-select: none;
    vertical-align: middle;
}

#searchRefinerContainer {
    display: none;
}

#map #searchRefinerContainer {
    display: block;
}

#searchRefinerBody {
    background-color: white;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    display: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 20px;
    padding: 17px;
    text-align: left;
}

#center-map-button #crosshairs {
    opacity: 70%;
}

#center-map-button:hover #crosshairs {
    opacity: 100%;
}

button[aria-label="Close"] {
    right: 0px !important;
    top: 0px !important;
}

.hospitalName {
    margin-bottom: 0px;
    margin-top: 0px;
}

#searchRefiner {
    text-align: left;
    width: max-content;
}

#searchRefiner input {
    margin-left: 0px;
}

#disclaimer-modal {
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    z-index: 20;
}

#disclaimer {
    color: #ff8;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
}

#disclaimer button {
    background: transparent;
    border-color: #ff8;
    border-radius: 100px;
    color: #ff8;
    cursor: pointer;
    font-size: 1.5em;
    margin-top: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
}

#disclaimer button:hover {
    box-shadow: 0px 0px 10px 1px #ff8;
}

#pageTitle,
#pageTitle select {
    background-color: transparent;
    border-radius: 2px;
    border-width: 1px;
    color: inherit;
    font-size: 24px;
    font-family: 'Open Sans', sans-serif;
}

#pageTitle {
    margin-top: 0px;
}

#infoBtn::before {
    font-family: fontAwesome;
    content: "\f05a\00a0";
}

#disclaimer h2::after {
    font-family: fontAwesome;
    content: "\00a0\f071";
}

#disclaimer h2::before,
#disclaimerBtn::before {
    font-family: fontAwesome;
    content: "\f071\00a0";
}

#tweetBtn::before {
    font-family: fontAwesome;
    content: "\f099\00a0";
}

#tweetBtn {
    color: #0c7abf;
}

.headerBtn {
    cursor: pointer;
    display: block;
    text-decoration: none;
    user-select: none;
}

#hourWindow {
    max-width: 60px;
}
