/*************************************************************************
 * NOTE
  - Generic colors used until override
  - An example media query for mobile at the bottom
 *************************************************************************/

/*************************************************************************
 * Filters
 *************************************************************************/

form#gF-filter {
  position: relative;
  width: 100%;
}

form#gF-filter #filter-categories {
  float: left;
  position: relative;
  width: 240px;
}

form#gF-filter #filter-day {
  float: left;
  position: relative;
  width: 240px;
}

form#gF-filter .childcare {
  float: left;
  font-size: 16px;
  height: 100%;
  line-height: 50px;
  padding: 0 1.5%;
  position: relative;
  width: 16%;
}

form#gF-filter .childcare-inner {
  overflow: hidden;
}

form#gF-filter #filter-childcare {
  float: right;
  margin-top: 18px;
}

form#gF-filter .zip {
  float: right;
  padding: 0;
  position: relative;
  width: 200px;
}

form#gF-filter .zip-inner {
  border-radius: 0px;
  overflow: hidden;
  padding: 2%;
}

form#gF-filter #filter-zip {
  background: none;
  border: 0;
  color: #999;
  float: left;
  font-size: 16px;
  height: 34.25px;
  line-height: 34.25px;
  outline: 0;
  padding: 0px 12px ;
  width: 75%;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
}

form#gF-filter #gF-filter-submit {
    border: 0;
    cursor: pointer;
    display: block;
    height: 16px;
    text-indent: -9999px;
    width: 14px;
    background-color: transparent;
    margin-right: 5px;
    position: absolute;
    right: 5px;
}

.filters .ui-selectmenu-button {
  width: 200px !important;
  float: left;
}

/*************************************************************************
 * List
 *************************************************************************/

h2.gF-heading {
  border: 1px solid #f1f1f1;
  border-bottom-color: #dadada;
  font-size: 36px;
  font-weight: normal;
  margin: 0;
  padding: 2.5%; /* match article padding */
  position: relative;
}

article {
  border-bottom: 1px solid transparent;
  border-top: 1px solid transparent;
  padding: 2.5%;
  position: relative;
}

article.even {
}

article header {
  cursor: pointer;
}

article h5 {
  margin-bottom: 0.5em;
}

article p.meta {
  color: #555;
  margin: 0;
}

article p.meta span.sep {
  color: #bbb;
}

article .details {
  border-top: 1px solid #fff;
  display: none;
  margin-top: 2.5%;
  padding-top: 2.5%;
  text-align: center;
}

article .details p {
  font-size: 16px;
  margin-bottom: 1em;
  text-align: left;
}

article .details .more {
  background-color: #666;
  border-radius: 5px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  padding: 1em 2.4em;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

article .details .more:hover {
  background-color: #999;
}

article.on {
  background: #eaeaea;
  border-color: #d1d1d1;
  border-radius: 5px;
  left: -0.5%;
  padding-left: 3%;
  padding-right: 3%;
  width: 101%;
  z-index: 100;
  box-sizing: border-box;
}

article.on .details {
  display: block;
}

/*************************************************************************
 * Pagination - you may want to put this in your css
 *************************************************************************/

#pagination {
  padding:1em;
  line-height: 1.1;
  margin: 0;
  text-align: center;
}

#pagination a {
  padding: 2px;
  text-decoration:none;
  -webkit-border-radius:0px;
  -moz-border-radius:0px;
  border-radius:0px;
  margin: 0 4px;
}


#pagination a#off {
  display: none;
}
#pagination a#previous,
#pagination a#next{
  line-height: 0; 
    font-size: 0;
    color: transparent;
    vertical-align: text-bottom;
}
#pagination a#previous:before,
#pagination a#next:before{
  content: "\e3b1";
  font-family: 'icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1;
}
#pagination a#previous:before {
  content: "\e3b3";
}


/*************************************************************************
 * Detail
 *************************************************************************/

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

#groupFinder .return a {
  border-right: 1px solid #666;
  border-top-left-radius: 6px;
  box-shadow: 1px 0 1px -1px rgba(255, 255, 255, .4);
  color: #fff;
  display: inline-block;
  font-size: 15px;
  padding: 1em 2.4em .8em 1.4em;
}

article.detail {
  background: none;
  border: none;
  padding: 0;
}

article.detail header {
  background: #f1f1f1;
  cursor: default;
  overflow: hidden;
  padding: 0;
}

article.detail header section {
  float: left;
  padding: 2.5%;
  width: 61%;
}

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

article.detail p.category {
  font-size: 18px;
  margin-bottom: 2em;
}

article.detail p.meta {
  font-size: 16px;
  margin: 0;
}

article.detail p.meta span.sep {
  color: #3c3c3c;
  font-weight: 700;
}

article.detail header aside {
  float: right;
  padding: 2.5%;
  width: 29%;
}

article.detail header aside .direction {
  width: 100%;
  box-sizing: border-box;
  margin: 0px;
  max-width: 100%;
}

article.detail header aside #map-display {
  background: #fff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  height: 160px;
  margin-bottom: 1em;
  padding: 2%;
  width: 100%;
  box-sizing: border-box;
}

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

article.detail header aside .map-directions {
  background-color: #666;
  border-radius: 5px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  color: #fff;
  display: block;
  font-size: 14px;
  line-height: 1;
  padding: 1em 0.5em;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

article.detail header aside .map-directions:hover {
  background-color: #999;
}

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

article.detail .details:after {
  content:'';
  display: block;
  clear: both;
}

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

article.detail .details section {
  float: left;
  padding: 2.5%;
  width: 60%;
}

article.detail .details section.fullwidth{
  width: 100%;
  float: none;
}

article.detail .details aside {
  border-width: 1px;
  border-style: solid;
  float: right;
  padding: 2.5%;
  width: 29%; 
  margin-top: 28px;
}

article.detail .details aside h4 {
  font-size: 18px;
  font-weight: normal;
  text-align: center;
}

article.detail .details aside .buttons p {
  line-height: 1;
  margin: 0;
}

article.detail .details aside .buttons > a {
  width: 100%;
  box-sizing: border-box;
}


/*************************************************************************
 * Example responsive settings....this is just some base
   examples...remove or delete as needed.
 *************************************************************************/
@media only screen and (max-width: 768px) {
  .filters {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 2em;
    padding-bottom: 2em;
  }

  form#gF-filter {
    background: none;
    border-radius: 5px;
    float: none;
    height: auto;
    position: relative;
  }

  form#gF-filter #filter-categories {
    float: none;
    margin-bottom: 1em;
  }

  form#gF-filter #filter-day {
    float: none;
    margin-bottom: 1em;
  }

  form#gF-filter .childcare {
    border-right: none;
    box-shadow: none;
    color: #3c3c3c;
    float: none;
    margin-bottom: 1em;
    padding: 0 1.5%;
    width: 97%;
  }

  form#gF-filter .childcare-inner {
    padding-top: 0;
  }

  form#gF-filter #filter-childcare {
    float: none;
  }

  form#gF-filter .zip {
    float: none;
    height: auto;
    margin-bottom: 1em;
    padding: 0 1.5%;
    position: relative;
    width: 97%;
  }

  .ui-selectmenu {
    border-right: none;
    box-shadow: none;
    float: none;
    margin: 0 0 1em !important;
  }

  .ui-selectmenu-menu {
  }

  .gF-list h2.gF-heading {
    font-size: 16px;
    padding: 5%;
  }

  article {
    padding: 5%;
  }

  article h3 {
    font-size: 16px;
  }

  article .details p {
    font-size: 13px;
  }

  article .details .more {
    font-size: 12px;
  }

  article.on {
    left: 0;
    padding: 5%;
    width: 100%;
  }

  #groupFinder .return a {
    border-right: none;
    box-shadow: none;
    display: block;
  }

  article.detail header {
    padding: 0;
  }

  article.detail header section {
    float: none;
    padding: 5%;
    width: 90%;
  }

  article.detail h3 {
    font-size: 16px;
  }

  article.detail p.detail {
    font-size: 16px;
  }

  article.detail p.meta {
    font-size: 13px;
  }

  article.detail header aside {
    float: none;
    padding: 5%;
    width: 90%;
  }

  article.detail header aside .map-directions {
    font-size: 12px;
  }

  article.detail .details section {
    float: none;
    padding: 5%;
    width: 90%;
  }

  article.detail .details aside {
    float: none;
    padding: 5%;
    width: 90%;
    margin: 0 auto;
  }

  article.detail .details aside h4 {
    font-size: 14px;
  }

  article.detail .details aside .buttons a {
    font-size: 12px;
  }
}

/*
 * Responsive Styles
 */
@media (max-width: 56em) {
  form#gF-filter {
    padding-bottom: 20px;
  }

  form#gF-filter .input,
  form#gF-filter select {
    border: 0;
    box-shadow: none;
    clear: both;
    display: block;
    float: none !important;
    margin: 15px auto;
    width: 200px;
  }

  form#gF-filter .input.childcare {
    width: 200px;
    text-align: center;
  }

  form#gF-filter .input {
    margin: 0 auto;
  }

  article.detail header section {
    width: 95%;
  }

  article.detail header aside {
    clear: both;
    width: 100%;
    box-sizing: border-box;
  }
  .filters .ui-selectmenu-button {
    float: none;
    margin : 0 auto;
    display: block;
    margin-bottom: 10px;
  }
  .filters .ui-selectmenu-button#filter-day-button {
    margin-bottom: 0px;
  }
}

/* End Responsive Styles */

/**************************************************************************
 * HTML 5 considerations
 *************************************************************************/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }

/**************************************************************************
 * Helper Functions - From HTML 5 Boilerplate
 *************************************************************************/

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


.push{
  clear:both;
}

.floatleft{
  float:left;
}


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

/*update font icon*/
#groupFinder .return a:before {
  content: "\e3b3";
  font-family: 'icons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  vertical-align: middle;
  line-height: 1;
  margin-right: 10px;
}
form#gF-filter .zip-inner:before {
  content: "\e902";
  font-family: 'icons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}
form#gF-filter .zip-inner {
  position: relative;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}