/* Map/Infobox */
#map-canvas { width: 100%; height: 475px; margin-bottom: 2rem; }

.infoBox { position: relative; box-shadow: 0 0 6px rgba(0, 0, 0, 0.1); }

/* Tooltip "Arrow" */
/* .infoBox:after { content: ""; position: absolute; top: 5px; left: 100%; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 12px solid #ededed; height: 0; width: 0; pointer-events: none; } */

.infoBox .wrap, .infoBox .title { padding: 10px; }

.infoBox > img { z-index: 1; }

.infoBox .title { min-height: 30px; position: relative; }

.infoBox .title.grouped { min-height: inherit; margin-bottom: 16px; padding: 15px 10px; }

.infoBox .title img { margin-right: 10px; margin-top: 3px; width: 53px; float: left;}

.infoBox .title h5 { line-height: 1.2; margin: 3px 0 0; min-height: none; }

.infoBox .title img + h5 { min-height: 53px; }

.infoBox p { margin-bottom: 5px; }

.infoBox ol { padding: 4px 16px 16px 32px; margin: 0; height: auto; max-height: 200px; overflow-y: scroll; }

.infoBox ol li { padding: 0; font-size: 16px; line-height: 1.3; }

.infoBox ol li:last-child { border-bottom: none; }

.infoBox ol .group a { font-size: 16px; display: block; }

.infoBox ol .time { display: block; font-size: 14px; }

.infoBox .time, .infoBox .location, .infoBox .group { font-size: 14px; margin-bottom: 5px; display: block; }

.infoBox .buttons { text-align: center; }

.infoBox .buttons.grouped { margin: 0 10px; }

.infoBox .group-list { margin-bottom: 0; }

.infoBox .group-list li { margin-bottom: .5em; }

.infoBox .group-list li:last-child { margin-bottom: 0; }

/* List and Grid Views */
#groupFinder .items { margin-bottom: 0; padding-top: .5rem; }

#groupFinder .items.grid-view { margin-bottom: -2rem; }

#groupfinder2 .items .gF-heading { padding: 1rem 1rem .75rem; line-height: 1.5; position: relative; margin: 0; border-width: 1px; border-style: solid; }

#groupfinder2 .items.grid-view .gF-heading { margin-bottom: 2rem; }

#groupfinder2 .items .gF-heading span { border: none; }

#groupFinder .items article { padding: 1.5rem 1rem 1rem; position: relative; box-sizing: border-box; text-align: left; overflow: hidden; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; }

#groupFinder .items article:not(:first-of-type) { border-top: none !important; }

#groupFinder .list-view article:nth-child(odd) { background-color: transparent !important; }

/* Mimic Bootstrap grid here, although we can't use those actual classes because, when switching to grid-view, more flexibility is required. */
#groupFinder .list-view article .meta { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
/* col-12 | col-12 */
#groupFinder .list-view article .meta .time, #groupFinder .list-view article .meta .location { width: 100%; padding-left: 15px; padding-right: 15px; }
/* col-6 | col-6 */
@media (min-width:768px) {#groupFinder .list-view article .meta .time, #groupFinder .list-view article .meta .location { width: 50%; } }
/* col-5 | col-6 */
@media (min-width:992px) {#groupFinder .list-view article .meta .time { width: 41.67%; } #groupFinder .list-view article .meta .location { width: 58.33%; } }
/* col-4 | col-8 */
@media (min-width:1380px) {#groupFinder .list-view article .meta .time { width: 33.33%; } #groupFinder .list-view article .meta .location { width: 66.67%; } }

@media (min-width:992px) {
  #groupFinder .grid-view article .info { max-width: none; }
  #groupFinder .grid-view article .image-container + .info { max-width: calc(100% - 33.33%); }
}

#groupFinder .grid-view article .meta { display: flex; flex-wrap: wrap; }

#groupFinder .grid-view article .time, #groupFinder .grid-view .location { width: 100%; }

#groupFinder article .wrap { overflow: hidden; }

#groupFinder article.hide-time .time-of-day { display: none; }

#groupFinder article .title { margin-bottom: -.3em; }

#groupFinder article .meta span.label { font-weight: bold; }

#groupFinder article .meta .btn span.icon { vertical-align: -1px; }

.toggle-wrap { text-align: right; margin: 20px 0; }

.view-toggle { display: inline-block; overflow: hidden; padding: 10px 0; }

.view-toggle a { float: left; font-size: 20px; line-height: 1; padding: 8px 16px; vertical-align: middle; transition: opacity .25s ease-in-out; -moz-transition: opacity .25s ease-in-out; -webkit-transition: opacity .25s ease-in-out; }

.view-toggle a.active:hover { cursor: default; }

.view-toggle a:last-child { border-right: 0 !important; }

#groupfinder2 .list-view .image-container { display: none !important; }

#groupfinder2 .image-container img { width: 100%; height: auto;  }

#groupfinder2 .grid-view .image-container img { max-width: 185px;}

@media (min-width:768px) {#groupfinder2 .grid-view .image-container img { max-width: none; } }

.list-view article .meta.wrap:empty { display: none; }

.list-view .group { width: 32%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.grid-view { display: block; }

#groupfinder2 .grid-view article { padding: 0; display: block; vertical-align: top; width: 100%; margin-bottom: 2rem; border: 0 !important; background-color: transparent !important; }

@media (min-width:992px) {#groupfinder2 .grid-view article {width: 48%; margin-right: 4%; display: inline-block; } #groupfinder2 .grid-view article:nth-of-type(even) { margin-right: 0; } }

.items { position: relative; }

.items .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.8) url("/_assets/img/loaders/preloader.svg") center center no-repeat; }

/* Detail */
#detailmap { width: 100%; height: 240px; margin: 1rem 0 2rem; }

#groupFinder article.detail #map-display { width: 100%; height: 240px; padding: 0; }

#groupFinder article.detail #map-display #gmap { width: 100%; height: 100%; }

#groupFinder article.detail #map-display #gmap img {max-width: none;background-color: transparent;}

#groupFinder article.detail { padding: 0; border: 0 !important; background: none !important; overflow: hidden; margin-bottom: 2rem; }

#groupFinder article.detail header { cursor: default; overflow: hidden; padding: 0; margin: 0; background: none !important; }

#detailmap .mapmarker-text ~ p { margin-bottom: 0px; }

#groupFinder article.detail .details section > *:last-child { margin-bottom: 0; }

#groupFinder article.detail header section .detail-button { margin-top: 20px; margin-right: 20px; }

#groupFinder article.detail .title { font-size: 42px; margin-bottom: 0.30em; }

#groupFinder article.detail h4 { margin-bottom: .25em; }

#groupFinder article.detail .details { border-top: none; padding: 0; text-align: left; }

#groupFinder article.detail .details p { margin-bottom: 1em; }

#groupFinder article.detail .details aside { margin-bottom: 2rem; text-align: left; }

#groupFinder article.detail .details aside .btn-default { margin: 0 auto; }

#groupFinder article.detail .details aside img { display: block; width: 100%; height: auto; margin-bottom: .75rem; }

@media (min-width: 992px) { #groupFinder article.detail .details aside img { max-width: none; } }

#groupFinder article.detail .details aside h4 { font-weight: normal; text-align: center; }

#groupFinder article.detail .details aside .purchase-link { margin: 0 auto; text-align: center; display: block; max-width: 160px; }

#groupFinder article.detail .details > section > h3 { margin-bottom: .25rem; line-height: 1.35; }

/* Filters */
#groupfinder2 .filters { border-width: 1px; border-style: solid; }

form#gF-filter .childcare { float: left; margin-left: 0px; position: relative; width: 200px; line-height: 44px; font-size: 1.125rem; font-weight: 300; padding: 0 1.5%; }

@media (min-width: 992px) { form#gF-filter .childcare { width: 120px; } }

form#gF-filter .childcare input[type='checkbox'] { border: none; outline: none; margin-left: 5px; right: 2rem; top: 50%; transform: translateY(-50%); position: absolute; }

@media (min-width:992px) {form#gF-filter .childcare input[type='checkbox'] { right: 0; } }

form#gF-filter .childcare input[type='checkbox']:hover { cursor: pointer; }

/* Mobile */
@media only screen and (max-width: 991.9px) {
  form#gF-filter .childcare { float: none; margin: 0 auto .5rem; text-align: center; }
  .gF-list h2.gF-heading { font-size: 1rem; }
  #groupFinder article { padding: 5%; }
}

.groupfinder-info-status {
    position: relative;
    text-align: left;
    margin-bottom: .75rem;
}

.groupfinder-info-status.Open,
.groupfinder-info-status.Closed {
    display: none !important;
}

.list-view article header {
    position: relative;
    padding-right: 4rem;
}

.list-view article .groupfinder-info-status {
    position: absolute;
    right: 0;
    top: 50%;
	transform: translateY(-50%);
    margin: 0;
}

.grid-view article .groupfinder-info-status {
    margin-top: .25rem;
}

.groupfinder-info-status .status {
    display: inline-block;
    line-height: 1.1;
    border-radius: 0px;
    padding: 5px 10px 4px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background-color: #f4f4f4;
}

.groupfinder-info-status.detail .status {
	padding: 5px 25px 4px 25px;
}

.groupfinder-info-status .status i {
	display: none;
}

/*open and closed are hard coded colors.  full is tied to link*/
.groupfinder-info-status.Open .status {
    background-color: #d8fad8;
}

.groupfinder-info-status.Closed .status {
    background-color: #fbf2c4;
}

.groupfinder-info-status.Full .status {
}

#groupFinder .filters .ui-selectmenu-button {
    width: 301px;
}

#content #map-canvas img {
    background-color: transparent !important;
}