/* Map/Infobox */

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

.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: 0px;
}

.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: 15px;
  display: block;
  line-height: 18px;
}

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

.infoBox .buttons .btn {
  display: block;
  margin: 10px auto 5px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.infoBox .buttons .btn:last-of-type {
  margin: 0 auto 0;
}

.infoBox .buttons .btn:only-of-type {
  margin: 10px auto 0;
}

.infoBox>img {
  display: none;
}


/* List */

#groupFinder .items {
  margin-bottom: 2em;
  padding-top: .5rem;
}

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

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

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

#groupFinder article .wrap {
  overflow: hidden;
}

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

#groupFinder article .meta {
  margin: 0 0 -.45em;
}

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

#groupFinder article .meta .btn span {
  font-weight: 400;
}

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

.list-view img {
  display: none;
}

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

.list-view article .meta.wrap div span {
  font-weight: 500;
}

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

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

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

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

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

.grid-view {
  display: block;
}

.grid-view article {
  float: none;
  width: 100%;
  margin-right: 0;
  margin-bottom: 1rem;
  border: 0;
  background-color: transparent !important;
  padding: 1em 0 !important;
  border-top: 3px solid #ebebeb;
}

.grid-view article:last-of-type {
  border-bottom: 3px solid #ebebeb;
}

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

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

.grid-view article img {
  float: left;
  margin-right: 30px;
  width: 230px;
}

.grid-view header {
  position: relative;
  padding-left: 8px;
}

.more-info {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-20%);
}

.gf-box>img {
  width: 100%;
}

.gf-box>h5,
.infoBox .gf-box>.wrap {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.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("../svg/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;
}

#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 header img {
  float: none;
  width: 100%;
  margin-bottom: 1.5em;
  margin-right: 0;
}

@media (min-width: 992px) {
  #groupFinder article.detail header img {
    float: left;
    width: 33.33%;
    margin-bottom: 1.5em;
    margin-right: 3%;
  }
}

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

#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 {
  display: block;
  border-top: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

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

#groupFinder article.detail .details aside {
  float: none;
  width: 100%;
  padding: 0;
  margin-right: 0;
  margin-bottom: 2em;
  text-align: left;
}

@media (min-width: 992px) {
  #groupFinder article.detail .details aside {
    float: left;
    width: 25%;
    padding: 0;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
    text-align: center;
  }
}

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

#groupFinder article.detail .details aside img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 1em;
}

@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 .btn-primary {
  display: block;
}

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


/* Filters */

form#gF-filter .childcare {
  float: left;
  margin-left: 0px;
  position: relative;
  width: 200px;
  line-height: 44px;
  font-size: .9375rem;
  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;
}

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

.filters {
  background-color: #0075c9;
  position: relative;
  padding: 1.5rem 0;
}

.filters::before {
  content: '';
  width: 100vw;
  background-color: #0075c9;
  position: absolute;
  left: -100vw;
  height: 100%;
  top: 0;
}

.filters::after {
  content: '';
  width: 100vw;
  background-color: #0075c9;
  position: absolute;
  right: -100vw;
  height: 100%;
  top: 0;
  display: block;
}

#zip-search {
  float: none;
  margin: 0;
  width: auto;
}

#zip-search .zip-inner {
  display: flex;
  border: 0;
  background-color: transparent;
  padding: 0;
}

#zip-search-term {
  float: none;
  display: inline-block;
  max-width: 500px;
  background-color: white;
  width: 100%;
  padding: 0.5rem 1rem;
}

#zip-search-submit {
  position: relative;
  height: 50px;
  padding: 0;
  min-width: 150px;
  display: inline-block;
  background-color: #004d71;
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  left: auto;
  top: auto;
  width: auto;
  padding: 0.78em 1.85em;
}

#zip-search-term {
  line-height: 50px;
  height: 50px;
}

#zip-search-submit:hover {
  color: white;
  background-color: #ebebeb;
  color: #004d71 !important;
}

ul.cftabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  margin-top: -40px;
}

ul.cftabs li {
  padding: 0;
  margin: 0;
  margin-right: 10px;
}

ul.cftabs li a {
  padding: 0.5rem 1rem;
  display: inline-block;
  background-color: #004d71;
  min-width: 150px;
  text-align: center;
}

ul.cftabs li.active a {
  background-color: #0075c9;
}

ul.cftabs li a h3 {
  color: white;
  font-size: 24px;
}

.category {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.zip-inner .monkForm label {
  color: white;
}

.zip-inner .monkForm {
  line-height: 48px;
  margin-bottom: 0;
}

.zip-inner .monkForm>span {
  margin-right: 20px;
}

#zip-search {
  width: 100%;
}

.zip-inner .monkForm {
  line-height: 48px;
  margin-bottom: 0;
  width: calc(100% - 200px);
  display: flex;
  justify-content: space-between;
  margin-right: 50px;
}

.monkForm input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: baseline;
  outline: none;
  border: 0;
  float: left;
  line-height: 48px;
  height: 48px;
}

@media (min-width: 992px) {
  #module-search,
  #zip-search {
    float: left;
    margin: 0;
  }
}


/*CHECKBOX*/

.b-contain *,
.b-contain *::before,
.b-contain *::after {
  box-sizing: content-box !important;
}

.b-contain input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.b-contain span {
  line-height: 1.54;
  font-size: 1rem;
  font-family: inherit;
}

.b-contain {
  display: table;
  position: relative;
  padding-left: 1.8rem;
  cursor: pointer;
  margin-bottom: .5rem;
}

.b-contain input[type="checkbox"]~.b-input {
  position: absolute;
  top: 15px;
  left: 0;
  height: 1.1rem;
  width: 1.1rem;
  background: rgba(241, 245, 248, 1);
  transition: background 250ms;
  border: 0px solid rgba(184, 194, 204, 1);
  border-radius: 0;
}

.b-contain input[type="radio"]~.b-input {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.25rem;
  width: 1.25rem;
  background: rgba(241, 245, 248, 1);
  transition: background 250ms;
  border: 1px solid rgba(184, 194, 204, 1);
  border-radius: 2.0rem;
}

.b-contain input[type="checkbox"]~.b-input::after {
  content: '';
  position: absolute;
  display: none;
  left: .32rem;
  top: .0rem;
  width: .3rem;
  height: .7rem;
  border: solid #004d71;
  border-width: 0 3px 3px 0;
  transition: background 250ms;
  transform: rotate(45deg);
}

.b-contain input[type="radio"]~.b-input::after {
  content: '';
  position: absolute;
  display: none;
  left: .25rem;
  top: .25rem;
  width: .75rem;
  height: .75rem;
  border-radius: 2.0rem;
  background: rgba(255, 255, 255, 1);
  transition: background 250ms;
}

.b-contain input:disabled~.b-input::after {
  border-color: rgba(135, 149, 161, 1);
}

.b-contain input:checked~.b-input::after {
  display: block;
}

.b-contain:hover input~.b-input,
.b-contain input:focus~.b-input {
  background: rgb(231, 238, 243);
}

.b-contain input:focus~.b-input {
  box-shadow: 0 0 0 2px rgba(52, 144, 220, 0.5);
}

.b-contain input:checked~.b-input {
  background: white;
  border-color: white;
}

.b-contain input[type="checkbox"]:disabled~.b-input {
  background: rgba(241, 245, 248, 1);
  border-color: rgba(184, 194, 204, 1);
  opacity: 0.6;
  cursor: not-allowed;
}

.b-contain input[type="radio"]:disabled~.b-input {
  background: rgba(241, 245, 248, 1);
  border-color: rgba(184, 194, 204, 1);
  opacity: 0.6;
  cursor: not-allowed;
}

.b-contain input[type="radio"]:disabled~.b-input::after {
  background: rgba(135, 149, 161, 1);
}

.b-contain input:checked:focus~.b-input,
.b-contain:hover input:not([disabled]):checked~.b-input {
  background: white;
  border-color: white;
}

.b-contain .b-input::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  margin-left: -0.85rem;
  margin-top: -0.85rem;
  background: rgba(0, 130, 243, 1);
  border-radius: 2rem;
  opacity: 1;
  z-index: 99999;
  transform: scale(0);
}

.b-contain .b-input::before {
  visibility: hidden;
}

.b-contain input:focus+.b-input::before {
  visibility: visible;
}

.b-contain:first-child .b-input::before {
  visibility: hidden;
}


/*END OF CHECKBOX*/

#helptxt {
  display: none;
}

button.reset {
  margin-left: 10px;
  margin-bottom: 0;
  height: 50px;
  display: none;
}


/* Mobile */

@media only screen and (max-width: 992px) {
  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 section .detail-button {
    display: block;
    width: 100%;
    margin: 1em 0;
  }
  #groupFinder article.detail .details section {
    float: none;
    width: 100%;
    padding: 0;
    margin: 2em 0;
  }
  #groupFinder article.detail .details aside {
    width: 100%;
    padding: 0;
    margin: 1em 0;
  }
  #groupFinder article.detail .details aside .button-light {
    max-width: none;
    min-width: 0;
  }
}

@media only screen and (max-width: 768px) {
  #zip-search-term {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  #billboard .text .inner {
    padding: 4rem 0 8rem 0;
  }
  ul.cftabs {
    justify-content: center;
  }
  #zip-search .zip-inner {
    flex-wrap: wrap;
  }
  #zip-search-submit {
    display: block;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
  }
  #zip-search-term {
    margin-left: 10px;
    margin-right: 10px;
  }
  #groupFinder .items article {
    text-align: center;
  }
  .grid-view article img {
    float: none;
    margin-right: 0;
  }
  .more-info {
    transform: translateX(-12px);
    position: relative;
    right: auto;
    top: 0;
    margin-top: 20px;
  }
  .online #zip-search-submit {
    display: none;
  }
  .zip-inner .monkForm {
    width: 100%;
    margin-right: 0;
    flex-wrap: wrap;
    line-height: 30px;
  }
  .zip-inner .monkForm>span {
    margin-right: 0px;
    width: 50%;
  }
  .zip-inner .monkForm {
    padding-bottom: 0;
  }
  .grid-view header {
    padding-left: 0;
  }
  .monkForm input[type="checkbox"] {
    height: 32px;
  }
  .b-contain input[type="checkbox"]~.b-input {
    top: 7px;
  }
  button.reset.btn {
    margin: 0 auto;
    margin-top: 10px;
    margin-right: auto;
  }
}

.grid-view article img:nth-of-type(2) {
  display: none;
}


/* NEW RULES FOR V2 */

#zip-search.online {
  overflow: visible;
}

.online-filler-bar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.online-filler-bar #search-term {
  float: none;
  display: inline-block;
  max-width: 280px;
  background-color: white;
  width: 280px;
  padding: 0.5rem 1rem;
  line-height: 50px;
  height: 50px;
  font-family: 'proxima-nova', sans-serif;
  border: 0;
  outline: none !important;
}

.online-filler-bar .search-group {
  display: flex;
}

.zip-inner .monkForm {
  width: 100%;
  margin-right: 0;
  margin-left: 20px;
}

.online-filter-item {
  display: flex;
  color: white;
  position: relative;
}

.online-filter-item a {
  display: flex;
  gap: 12px;
  background-color: #004d71;
  align-items: center;
  padding: 0.78em 1em;
}

.online-filter-item a span {
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.online-filter-item a i {
  color: white;
}

.online-filter-item.online-lang .lang-list,
.online-filter-item.online-days .day-list {
  display: none;
  position: absolute;
  width: 100%;
  height: auto;
  flex-direction: column;
  background: #ebebeb;
  margin-left: 0;
  left: 0;
  height: auto;
  top: 50px;
  z-index: 9;
  padding-bottom: 10px;
}

.online-filter-item.online-lang.show .lang-list,
.online-filter-item.online-days.show .day-list {
  display: flex;
}

#gF-filter #reset-filters {
  position: relative;
  height: 50px;
  padding: 0;
  min-width: 150px;
  display: inline-block;
  background-color: #004d71;
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  left: auto;
  top: auto;
  width: auto;
  padding: 0.78em 1.85em;
  border-style: none;
}

#gF-filter #reset-filters:hover {
  color: white;
  background-color: #ebebeb;
  color: #004d71 !important;
  cursor: pointer;
}

#zip-search .zip-inner.online {
  overflow: visible;
}

.zip-inner .monkForm>span {
  margin-right: 0;
  margin-left: 20px;
  line-height: 40px;
}

.monkForm input[type="checkbox"] {
  line-height: 40px;
  height: 40px;
}

.b-contain {
  display: flex;
  position: relative;
  padding-left: 1.8rem;
  cursor: pointer;
  margin-bottom: 0rem;
  line-height: 40px;
  height: 40px;
}

.b-contain span {
  color: #004d71;
  line-height: 48px;
}

.b-contain input:focus~.b-input {
  box-shadow: 0 0 0 2px rgba(52, 144, 220, 0.5);
}

.b-contain input:checked~.b-input {
  background: white;
  border-color: #d3d3d3;
}

.b-contain input[type="checkbox"]:disabled~.b-input {
  background: rgba(241, 245, 248, 1);
  border-color: rgba(184, 194, 204, 1);
  opacity: 1;
  cursor: not-allowed;
}

.b-contain input[type="radio"]:disabled~.b-input {
  background: rgba(241, 245, 248, 1);
  border-color: rgba(184, 194, 204, 1);
  opacity: 1;
  cursor: not-allowed;
}

.b-contain input[type="checkbox"]~.b-input {
  background: white;
  opacity: 1;
  border: 1px solid #d3d3d3;
}

.b-contain input:checked~span {
  color: #0075c9;
}

.b-contain input[type="checkbox"]~.b-input::after {
  border-color: #0075c9;
}

.online-lang .b-contain {
  padding-left: 0;
}

.online-lang .b-contain input[type="checkbox"]~.b-input {
  opacity: 0;
}

.b-contain:hover span {
  color: #0075c9;
}

.online-filter-item.show a i.icon-arrow-down2::before {
  content: "\edb8";
}

@media only screen and (max-width: 1199px) {
  .online-filler-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  .online-filter-item a {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
  }
  .online-filler-bar #search-term {
    max-width: 100%;
    width: 100%;
  }
  .online-filler-bar .search-group {
    width: 100%;
  }
  .online-filter-item {
    flex-direction: column;
  }
  .online-filter-item.show {
    margin-bottom: 15px;
  }
  .online-filter-item.online-lang .lang-list,
  .online-filter-item.online-days .day-list {
    top: 15px;
    position: relative;
  }
}