:root
{
    --blue: #002855;
    --lightBlue: #6bdad4;
    --lightBlueAccent: #79e8e2;
}

*
{
    -webkit-font-smoothing: antialiased;
}

@font-face
{
    font-family: 'Karla';
    src: url('../woff2/karla-regular-webfont-2.woff2') format('woff2'),
         url('../woff/karla-regular-webfont-2.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face
{
    font-family: 'Karla';
    src: url('../woff2/karla-bold-webfont.woff2') format('woff2'),
         url('../woff/karla-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face
{
    font-family: 'Playfair Display';
    src: url('../playfairdisplay-regular-webfont.html') format('woff2'),
         url('../playfairdisplay-regular-webfont-2.html') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face
{
    font-family: 'Playfair Display';
    src: url('../woff2/playfairdisplay-bold-webfont-2.woff2') format('woff2'),
         url('../woff/playfairdisplay-bold-webfont-2.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body
{
    font-size: 16px;
    font-family: Karla,sans-serif;
    margin: 0;
    padding: 0;
}

section.locations_map
{
    width: 100%;
}

.full_screen_loader
{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--blue);
    z-index: 1000;
    background-image: url(../svg/loader.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 10% auto;
}

.locations_map .map
{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh;
    background-color: #eeeeee;
}

.locations_map .locations_list
{
    background-color: white;
    /* background-image:url(/assets-static/images/blurred.png); */
    background-size: cover;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    height: 100vh;
}

.locations_list > li
{
    position: relative;
    margin: 0;
    padding: 1em;
    border-bottom: 1px solid #f6f6f6;
    transition: 0.2s background-color, 0.2s color;
    color: var(--blue);
    cursor: pointer;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#F8F8F8));
    background-image: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
}

.locations_list li.active
{
    background-color: rgba(255,255,255,0.1);
    background-color: var(--lightBlue);
    background-image: none;
    color: var(--darkBlue);
}

.locations_list li.active:before {
    opacity: 0.5;
    display: block;
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    z-index: 2;
    top: 0.5em;
    right: 0.5em;
    background-image: url(../svg/icon-close-dark-blue.svg);
    background-size: 75% 75%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.locations_list h4
{
    font-size: 1.4em;
    font-weight: 700;
    /* font-family: Playfair Display; */
    margin: 0;
    text-transform:uppercase;
    padding-bottom: 0.25em;
}

.locations_list address
{
    font-weight: 400;
    font-style: normal;
}

.locations_list a.email, .locations_list a.telephone, .locations_list address
{
    color: inherit;
    text-decoration: none;
    background-size: 1em 1em;
    background-position: left top;
    background-repeat: no-repeat;
    padding-left: 1.5em;
}

.locations_list address
{
    background-size: 0.9em 0.9em;
    background-position: left top 0.1em;
    background-image:url(../svg/icon-location-blue.svg);
}

.locations_list li.active address
{
    background-image:url(../svg/icon-location-white.svg);
}

.locations_list a.telephone
{
    background-image:url(../svg/icon-telephone-white.svg);
}

.locations_list a.email
{
    background-image:url(../svg/icon-email-white.svg);
}

.details
{
    display: none;
}

.details p:last-child
{
    margin-bottom: 0;
}

.details .facility_list
{
    margin: 0;
    padding: 15px 0;
    border-radius: 15px;
    background-color: rgba(0, 40, 87, 0.3);
}

.details .facility_list h5
{
    margin: 0;
    padding: 0 0 0.5em 0;
    text-align: center;
    text-transform: uppercase;
    color: var(--lightBlue);
    letter-spacing: 0.25em;
    /* opacity: 0.3; */
    font-size: 18px;
}

.details .facility_list ul
{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.details .facility_list ul li
{
    margin: 0;
    padding: 0;
    display: block;
    width: 33.333%;
    flex-grow: 0;
    background-size: 1.5em auto;
    background-repeat: no-repeat;
    background-position: center top;
    padding-top: 1.5em;
    margin-top: 0.25em;
    text-align: center;
    color: white;
}

.details .facility_list ul li span
{
    display: block;
    padding: 0.35em 0.75em 0.25em 0.75em;
    font-size: 14px;
    line-height: 1.2em;
}

@media (min-width: 768px)
{
    section.locations_map
    {
        height: 100vh;
        display: flex;
        flex-direction: row-reverse;
    }
    .locations_map .map
    {
        width: 75%;
        height: 100vh;
        flex-grow: 1;
    }
    .locations_map .locations_list
    {
        flex-grow: 0;
        width: 25%;
        max-width: 600px;
        position: relative;
    }
}

a.button
{
    font-weight: bold;
    display: inline-block;
    background-color: white;
    color: var(--Blue);
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 2em;
    text-transform: uppercase;
    transition: 0.3s color;
}

a.button:hover
{
   color: var(--lightBlue);
}