/* Map/Infobox */

#map-canvas {
    width: 100%;
    height: 475px;
    margin-bottom: 25px;
}

.infoBox {
	position: relative;
    background: #ffffff;
}

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

.infoBox a {
    text-decoration: none;
}


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

.infoBox .title:after { 
	content: ""; 
	display: table; 
	clear: both;
}

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

.infoBox .title.grouped {
    min-height: inherit;
}

.infoBox .title {
    position: relative;
}

.infoBox .title img {
    float: left;
    margin-right: 10px;
}

.infoBox .title h5 {
    font-size: 18px;
    margin-bottom: 0;
}

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

.infoBox ol {
    padding: 15px 15px 15px 10px;
    margin: 0;
    max-height: 200px;
    overflow-y: scroll;
    padding-left: 15px;
}

.infoBox ol li {
    padding: 3px 0;
}

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

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

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

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

.infoBox .buttons a {
    display: inline-block;
    padding: 28px 16px;
    padding-bottom: 0px;
}

.infoBox .buttons .group-icon {
    font-size: 70px;
}

.infoBox .buttons .text {
    display: block;
    max-width: 90px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1em;
    margin: 5px auto;
    text-transform: uppercase;
}

.infoBox .buttons.grouped a {
    padding-top: 20px;
}

.infoBox .buttons.grouped .group-icon {
    font-size: 25px;
    line-height: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.infoBox .buttons.grouped .text {
    display: inline-block;
    max-width: inherit;
    line-height: 25px;
    vertical-align: middle;
	font-size: 14px;
  	font-weight: 400;
  	text-transform: uppercase;
}

#detailmap .gm-style-iw  p {
    margin-bottom: 0px;
}

#detailmap .gm-style-iw a{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
}

/* List */

h2.gF-heading {
    position: relative;
    font-size: 36px;
    padding: 1rem;
    margin: 0;
    font-weight: normal;
}

#groupFinder {
	overflow: hidden;
}

#groupFinder article {
    padding: 1rem;
    position: relative;
    box-sizing: border-box;
    text-align: left;
    border-width: 0px 1px 0px 1px;
    border-style: solid;
}

#groupFinder .items article:last-of-type {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

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

#groupFinder article .wrap {
    overflow: hidden;
}

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

#groupFinder article .meta {
    margin: 0;
	background: none !important;
	border: 0 !important;
}

#groupFinder article .meta div {
	line-height: 1.4;
}

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

.view-toggle {
    display: inline-block;
    overflow: hidden;
    border-radius: 4px;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2U2ZThlYSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==");
    background-size: 100%;
}

.view-toggle a {
    float: left;
    font-size: 23px;
    line-height: 33px;
    padding: 0 18px;
    vertical-align: middle;
}

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

.list-view img {
    display: none;
}

.list-view .meta div {
    float: left;
}

.list-view .time,
.list-view .location {
    margin-right: 1%;
}

.list-view .time {
    width: 29%;
}

.list-view .location {
    width: 36%;
}

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

.grid-view {
    display: block;
}

.grid-view article {
    float: left;
    height: 133px;
    width: 48%;
    margin-right: 4%;
    margin-bottom: 4%;
    border: 0 !important;
	background-color: transparent !important;
}

.grid-view article:nth-child(even) {
    margin-right: 0;
}

.grid-view article h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-view article img {
    float: left;
    margin-right: 10px;
}

.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;
}

#groupFinder .return {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#groupFinder .return a {
    display: inline-block;
    padding: 1em 1em .8em 1em;
    font-size: 1rem;
    border-top-left-radius: 6px;
}

#groupFinder .return a:hover {
	opacity: .8;
}

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

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

#groupFinder article.detail header img {
    float: left;
	max-width: 200px;
    margin-bottom: 20px;
    margin-right: 20px;
}

#groupFinder article.detail header #detailmap {
    margin-top: 20px;
}

#groupFinder article.detail header section {
    padding: 20px;
    padding-top: 0;
    box-sizing: border-box;
	overflow: hidden;
}

#groupFinder article.detail header section .meta div {
    position: relative;
    padding: 4px 0 4px 75px;
}

#groupFinder article.detail header section .meta div strong {
    position: absolute;
    left: 0;
}

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

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

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

#groupFinder article.detail .button-small {
	margin: .5rem .5rem 0 0;
}

#groupFinder article.detail .details {
    display: block;
    border-top: none;
    padding: 2.5% 0;
    margin: 0;
    text-align: left;
}

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

#groupFinder article.detail .details aside {
    float: left;
    width: 25%;
    padding: 20px;
    margin-right: 2%;
}

#groupFinder article.detail .details aside .button-small {
    display: block;
    margin: 0;
}

#groupFinder article.detail .details aside img {
	display: block;
    width: 100%;
    height: auto;
}

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

#groupFinder article.detail .details aside img {
    margin-bottom: 15px;
}

#groupFinder article.detail .details aside .button-small {
    display: block;
}


/* Filters */


.filters {
	text-align: left;
}

.filters .ui-selectmenu-button {
	float: left; 
}
 
form#gF-filter .childcare {
    float: left;
    margin-left: 10px;
    position: relative;
    width: 200px;
    line-height: 44px;
	font-size: 18px;
  	font-weight: 400;
}
form#gF-filter .childcare input {
    margin-left: 10px;
}

#zip-search-term {
    opacity: 0.5;
}

/* Mobile */

@media only screen and (max-width: 1028px) {
	.filters {
		text-align: center;
	}
	.filters .ui-selectmenu-button {
		float: none;
	}
    form#gF-filter .zip {
        float: none;
        width: 180px;
        height: auto;
        position: relative;
        padding: 0 1.5%;
        margin: 1em auto;
    }
    form#gF-filter .childcare {
        float: none;
        margin: 0 auto;
        text-align: center;
    }
    .gF-list h2.gF-heading {
        font-size: 16px;
    }
    #groupFinder article {
        padding: 5%;
    }
    .grid-view article,
    .list-view .meta div {
        float: none;
        width: 100%;
        height: auto;
    }
    .grid-view article {
        margin-right: 0;
    }
    .grid-view article h4 {
        text-overflow: visible;
    }
    #groupFinder article.detail header img {
        height: auto;
        width: 150px;
        max-width: 100%;
        float: none;
        display: block;
    }
    #groupFinder article.detail header section .detail-button {
        display: block;
        width: 100%;
        margin: 1em 0;
    }
    #groupFinder article.detail .details section {
        float: none;
        width: 90%;
        padding: 5%;
    }
    #groupFinder article.detail .details aside {
        width: 90%;
        padding: 20px 5%;
        margin: 1em 0;
    }
    #groupFinder article.detail .details aside .button-light {
        max-width: none;
        min-width: 0;
    }
}


/*GROUPFINDER #2

.view-toggle,
h2.gF-heading,
#groupFinder article,
#groupFinder article.detail .details aside {
    border: 1px solid;
}

.view-toggle a,
#groupFinder .return a {
    border-right: 1px solid;
}

.view-toggle a {
  	color: #000000;
}

.infoBox:after {
  	border-left-color: #000000;
}

.view-toggle a {
  	border-right-color: #000000;
}

.infoBox .title,
.view-toggle .active,
#groupFinder .return {
  	background-color: #000000;
}

.infoBox .title h5,
.view-toggle .active,
#groupFinder .return a {
   color: #fafafa;
}

#groupFinder .return a {
  	border-right-color: rgba(250, 250, 250, 0.2);
}

.view-toggle,
h2.gF-heading,
#groupFinder article,
#groupFinder article.detail .details aside {
  	border-color: #e2dacb;
}

.view-toggle a {
  	border-right-color: #e2dacb;
}

.view-toggle,
#groupFinder article,
#groupFinder article.detail header {
  	background-color: rgba(226, 218, 203, 0.2);
}

*/

.ui-selectmenu-menu .ui-menu {
  max-height: 360px !important;
}

.ui-selectmenu-menu .ui-menu li:first-child {
	display: none !important;
}

#pagination {
	margin-bottom: 0;
}

#pagination #off {
	display: none;
}

#pagination a {
}

#pagination span {
	font-size: 1rem;
}

.button-medium.return-btn:after{
	display: none;
}