#content p.beta-label {
    margin-bottom: 0;
    color: #AAA;
    font-weight: bold;
}
#poi-map-canvas {
    width: 100%; 
    height: 100%; 
    min-height: 500px; 
    background: rgba(228,228,228,0.75) url('/images/loaders/fountain-gray.gif') center center no-repeat;
}
#poi-map-canvas.expanded {
    position: fixed !important;
    top:  0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
    z-index: 2000;
}
#poi-map-canvas.expanded .gm-bundled-control .fullscreen {
    background-position: right top;
}

/* Map Arenas ********************/
.gm-style-iw .arena {
    text-decoration: none;
    color: #222;
    width: 240px;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
    cursor: pointer;
}
.gm-style-iw .arena:after {
    content: none;
    display: none;
}
/* photo sits on top of the card */
.gm-style-iw .arena .img-container {
    order: 1;
    float: none;
    width: 100%;
    position: relative;
}
.gm-style-iw .arena .img-container div {
    padding:0 !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 96px;
    border-radius: 6px 6px 0 0;
}
.gm-style-iw .arena .img-container div img {
    display: none;
}
/* route length shown as a badge over the photo */
.gm-style-iw .arena .route_distances {
    position: absolute;
    left: 7px;
    top: 72px;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.72em;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 3px;
}

.gm-style-iw .arena .arena_content {
    order: 2;
    float: none;
    width: 100%;
    padding: 9px 11px 4px;
    min-height: 0;
    position: relative;
    box-sizing: border-box;
}
.gm-style-iw .arena .rating { display: none; }
.gm-style-iw .arena .name {
    display: block;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    color: #222;
}
.gm-style-iw .arena .near {
    display: inline;
    font-size: 0.78em;
    font-weight: normal;
    color: #888;
    margin: 0;
}
.gm-style-iw .arena .near:after {
    content: " \00b7 ";
    color: #bbb;
}
.gm-style-iw .arena .location,
.gm-style-iw .arena .location.relative_distance {
    display: inline;
    font-size: 0.78em;
    color: #888;
}
.gm-style-iw .arena .activity-icons {
    display: block;
    position: static;
    margin: 7px 0 0;
}
.gm-style-iw .arena .activity-icons .activity:hover .type {
    top: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.gm-style-iw .arena .activity-icons .activity:hover .type:before {
    bottom: -0.8em;
    border-bottom-color: transparent;
    border-top-color: #222;
    top: auto;
}
.gm-style-iw .arena .description,
.gm-style-iw .arena .activities-list {
    display: none;
}
/* WO #22: surface the favorite (the action bar was hidden in the map context) */
.gm-style-iw .arena .save_btns {
    order: 3;
    display: block;
    margin: 0;
    padding: 2px 11px 10px;
}
.gm-style-iw .arena .save_btns .arena_list_add,
.gm-style-iw .arena .save_btns .share,
.gm-style-iw .arena .save_btns .been_there,
.gm-style-iw .arena .save_btns .google-navigate {
    display: none;
}
.gm-style-iw .arena .favorite {
    position: static;
    right: auto;
    bottom: auto;
    display: inline-block;
    cursor: pointer;
}
.gm-style-iw .arena .favorite i svg {
    width: 16px;
    height: 16px;
    fill: #9a9a9a;
    border: 1px solid #e0e0e0;
    box-sizing: content-box;
}
.gm-style-iw .arena .save_btn.active i svg {
    background: #F8993D;
    fill: #fff;
    border-color: #F8993D;
}
.gm-style-iw .arena:hover .favorite {}
/* the Google bubble defaults to overflow:scroll, which forces always-on
   scrollbars (and the phantom horizontal bar); auto only shows them if needed */
.gm-style-iw-d { overflow: auto !important; }

/* End Map Arenas ******************/

/* Map POIs ************************/
.gm-style-iw .poi {
    text-decoration: none;
    color: #000;
    display: block;
    margin-bottom: 6px;
}
.gm-style-iw .poi:after {
    display: block;
    content: ' ';
    clear: both;
}

.gm-style-iw .poi .img-container {
    float: left;
    /* margin: -10px 10px -10px -20px; */
    /* box-sizing: content-box; */
    width: 150px;
    /* padding-right: 10px; */
    /* overflow: hidden; */
}
.gm-style-iw .poi .img-container div {
    padding:0 !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 150px;
    height: 110px;
}
.gm-style-iw .poi .img-container div img {
    min-width: 150px;
    min-height: 100px;
    display: none;
}

.gm-style-iw .poi .poi_content {
    float: right;
    width: 350px;
    padding-bottom: 42px;
    min-height: 110px;
    position: relative;
    padding-left: 10px;
}

.gm-style-iw .poi .rating {float: right; }
.gm-style-iw .poi .name {
    display: block;
    font-size: 1.4em;
    font-weight: normal;
}
.gm-style-iw .poi .activity-icons {
    display: block;
    position: absolute;
    bottom: -6px;
    margin-left: -6px;
}
.gm-style-iw .poi .description,
.gm-style-iw .poi .activities-list {
    display: none;
}
.gm-style-iw .poi .favorite {
    right: 0;
    bottom: 0;
    position: absolute;
    display: none;
}
.gm-style-iw .poi:hover .favorite {}
.iw_content.summary .gps {
    font-size: 0.8em;
}
/* End Map POIs ************************/

/* Map Routes ************************/
.gm-style-iw .route {}    
/* End Map Routes ************************/

.gm-bundled-control .fullscreen {
    width: 28px;
    height: 28px;
    overflow: hidden;
    position: absolute;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    top: -38px;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    background-image: url(/images/sprites/fullscreen.png);
    background-size: 200% 200%;
    border: 6px solid #FFF;
}

.gm-bundled-control .fullscreen {
    width: 28px;
    height: 28px;
    overflow: hidden;
    position: absolute;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
    top: -38px;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    background-image: url(/images/sprites/fullscreen.png);
    background-size: 200% 200%;
    border: 6px solid #FFF;
}
#map-canvas.expanded {
    position: fixed !important;
    top:  0;
    left: 0;
    height: 100% !important;
    width: 100%;
    background: #000;
    z-index: 2000;
}
#map-canvas.expanded .gm-bundled-control .fullscreen {
    background-position: right top;
}

h1 {
    margin-bottom: 0;
}
#content {
    padding-left: 0;
    margin-left: 0;
}
#sub-content {
    display: none;
}
#content.loading-more #map-canvas:after {
    background-image: url(/images/loaders/fountain-gray.gif);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 7px;
    z-index: 9000;
    height: 25px;
    width: 160px;
    visibility: visible;
}
.info_window .save_btns {display: none; }

.info_window.paid_info_window > div:first-child > div,
.info_window.closed_info_window > div:first-child > div,
.info_window.closed_info_window a.arena.closed,
.info_window.paid_info_window a.arena.paid_arena,
.info_window.closed_info_window a.arena.closed:hover,
.info_window.paid_info_window a.arena.paid_arena:hover {
    background: transparent !important;
}
.info_window.paid_info_window,
.info_window.paid_info_window > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) > div,
.info_window.paid_info_window > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > div {
    background: #444 !important;
    color: #EEE;
}
.info_window.paid_info_window:hover,
.info_window.paid_info_window:hover > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) > div,
.info_window.paid_info_window:hover > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > div {
    background: #222 !important;
}
.info_window.closed_info_window,
.info_window.closed_info_window > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) > div,
.info_window.closed_info_window > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > div {
    background: #CCC !important;
    color: #888;
}
.info_window.closed_info_window:hover,
.info_window.closed_info_window:hover > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) > div,
.info_window.closed_info_window:hover > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > div {
    background: #C6C6C6 !important;
}
.info_window.paid_info_window .gm-style-iw .arena .img-container div {
    width: 134px;
}

.gm-style-iw .arena.paid_arena {
    background: none;
    color: inherit;
}
.gm-style-iw a.arena.paid_arena:hover {
    background: none;
}

/* The compact arena info-window card is defined once, above (WO #22).
   A stale max-width:561px media query used to live here with its @media
   wrapper commented out, so its rules applied unconditionally and fought
   the block above (re-hiding .save_btns, forcing width:auto, adding a
   3.5em padding-bottom + overflow:auto). Removed so the block above is the
   single source of truth for the popup card. */