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

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

form#gF-filter {
  background: #999;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666), color-stop(1, #f1f1f1));
  background-image: -webkit-linear-gradient(top, #999 0%, #666 100%);
  background-image: linear-gradient(to bottom, #999 0%, #666 100%);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  float: left;
  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 {
  border-right: 1px solid #666;
  box-shadow: 1px 0 1px -1px rgba(255, 255, 255, 0.4);
  color: #fff;
  float: left;
  font-size: 14px;
  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: left;
  padding: 1em 1% 0;
  position: relative;
  width: 24%;
}

form#gF-filter .zip-inner {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 5px;
  overflow: hidden;
  padding: 2%;
}

form#gF-filter #filter-zip {
  background: none;
  border: 0;
  color: #999;
  float: left;
  font-size: 13px;
  height: 18px;
  line-height: 18px;
  outline: 0;
  padding: 0;
  width: 75%;
}

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 - select plugin */
.ui-selectmenu {
  border-right: 1px solid #666;
  box-shadow: 1px 0 1px -1px rgba(255, 255, 255, 0.4);
  display: block;
  float: left;
  height: 100%;
  margin: 0 !important;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-decoration: none;
  width: 240px;
  z-index:1;
}

#content a.ui-selectmenu:hover {
  text-decoration: none;
}

.ui-selectmenu-icon {
  margin-top: -8px;
  position: absolute;
  right: 6px;
  top: 50%;
}

.ui-selectmenu-menu {
  background: rgb(102, 102, 102);
  background: rgba(102, 102, 102, 0.9);
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  z-index: 1001;
}

.ui-selectmenu-open {
  visibility: visible;
}

.ui-selectmenu-menu-popup {
  margin-top: -1px;
}

.ui-selectmenu-menu-dropdown {
  height: 200px !important;
  margin-bottom: 0;
  overflow: auto;
}

.ui-selectmenu-menu li {
  border-bottom: 1px dotted transparent;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
  border-top: 1px dotted transparent;
  display: block;
  font-weight: 400 !important;
  margin: 0;
  padding: 0;
}

.ui-selectmenu-menu li a,
.ui-selectmenu-status {
  color: #fff;
  display: block;
  font-size: 14px;
  line-height: 1.4em;
  outline: none;
  padding: 0.3em 1.5em 0.3em 1em;
  text-decoration: none;
}

.ui-selectmenu-open li.ui-selectmenu-item-selected {
  display: none;
}

.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
.ui-selectmenu-hasIcon .ui-selectmenu-status {
  margin-left: 5px;
  padding-left: 20px;
  position: relative;
}

.ui-selectmenu-menu li .ui-icon,
.ui-selectmenu-status .ui-icon {
  left: 0;
  margin-top: -8px;
  position: absolute;
  top: 1em;
}

.ui-selectmenu-status {
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  height: auto;
  line-height: 3em;
}

.ui-selectmenu-open li.ui-selectmenu-item-focus a {
  background: rgb(153, 153, 153);
  background: rgba(255, 255, 255, 0.1);
}

.ui-selectmenu-menu li span,
.ui-selectmenu-status span {
  display: block;
  margin-bottom: 0.2em;
}

.ui-selectmenu-menu li .ui-selectmenu-item-footer {
  opacity: 0.8;
}

/* for optgroups */
.ui-selectmenu-menu .ui-selectmenu-group {
  font-size: 1em;
}

.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label {
  display: block;
  line-height: 1.4em;
  padding: 0.6em 0.5em 0;
}

.ui-selectmenu-menu .ui-selectmenu-group ul {
  margin: 0;
  padding: 0;
}

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

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

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

article.even {
  background: #f1f1f1;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f9f9f9), color-stop(1, #f1f1f1));
  background-image: -webkit-linear-gradient(top, #f9f9f9 0%, #f1f1f1 100%);
  background-image: linear-gradient(to bottom, #f9f9f9 0%, #f1f1f1 100%);
}

article header {
  cursor: pointer;
  padding-right: 12.5%; /* don't creep on the arrow */
}

article h3 {
  font-size: 22px;
  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;
  background-image: url(../_img/groupfinder_bg_btn.png);
  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: 95%; /* width padding top and left should expand out to 102% */
  z-index: 100;
}

article.on .details {
  display: block;
}

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

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

#pagination a {
  border-radius: 2px;
  color: #3c3c3c;
  margin: 0 0.15em;
  padding: 0.25em 0.5em;
  text-decoration: none;
}

#pagination a:hover,
#pagination a#current {
  background-color: #666;
  color: #fff;
}

#pagination a#off {
  background: none !important;
  color: #ccc !important;
  cursor: default;
}


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

#groupFinder .return {
  background-color: #999;
  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;
}

#groupFinder .return a:hover {
  background-color: #666;
}

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 h3 {
  font-size: 28px;
  margin-bottom: 0.25em;
}

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 #map-display {
  background: #fff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  height: 160px;
  margin-bottom: 1em;
  padding: 2%;
  width: 96%;
}

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

article.detail header aside .map-directions {
  background-color: #666;
  background-image: url(../_img/groupfinder_bg_btn.png);
  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 p {
  font-size: 14px;
  margin-bottom: 1em;
}

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

article.detail .details aside {
  background: #fcfcfc;
  border: 1px solid #ebebeb;
  float: right;
  padding: 2.5%;
  width: 29%; /* 1% less accounts for border */
}

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 {
  background-color: #ebebeb;
  background-image: url(../_img/groupfinder_bg_btn.png);
  border-radius: 5px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  color: #999;
  display: block;
  font-size: 14px;
  line-height: 1;
  margin-bottom: 0.5em;
  padding: 1em 0.5em;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}

article.detail .details aside .buttons a:hover {
  background-color: #e1e1e1;
}

/*************************************************************************
 * Override
*************************************************************************/

/* link and bg color #5d7b9d */
article h3,
article.detail .details aside .buttons a {
  color: #5d7b9d;
}

article .details .more,
#groupFinder .return,
article.detail header aside .map-directions {
  background-color: #5d7b9d;
}

/* hover #526c8a */
article .details .more:hover,
#groupFinder .return a:hover,
article.detail header aside .map-directions:hover {
  background-color: #526c8a;
}

form#gF-filter .childcare,
.ui-selectmenu,
#groupFinder .return a {
  border-color: #526c8a;
}

/* highlight color #eaeff4 */
article.on,
article.detail header {
  background-color: #eaeff4;
}

/* gradient color link color to hover color */
#pagination a:hover,
#pagination a#current,
form#gF-filter {
  background: #5d7b9d;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5d7b9d), color-stop(1, #526c8a));
  background-image: -webkit-linear-gradient(top, #5d7b9d 0%, #526c8a 100%);
  background-image: linear-gradient(to bottom, #5d7b9d 0%, #526c8a 100%);
}

/* transparent hover color */
.ui-selectmenu-menu {
  background: rgb(82, 108, 138);
  background: rgba(82, 108, 138, 0.9);
}

/* fonts - the base layouts site has no core styling to inherit */
#groupFinder,
.gF-list h2.gF-heading,
article h3,
article p,
article.detail .details aside h4, {
  font-family: 'proxima-nova-1', 'proxima-nova-2', sans-serif;
}

.gF-list h2.gF-heading,
article.detail .details aside h4,
article.detail p.category {
  font-weight: light;
}

/*************************************************************************
 * 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 {
    background-color: #5d7b9d;
    border-right: none;
    box-shadow: none;
    float: none;
    margin: 0 0 1em !important;
  }

  .ui-selectmenu-menu {
    background-color: #5d7b9d;
  }

  .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: 90%;
  }

  #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%;
  }

  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: 50%;
  }

  form#gF-filter .input.childcare {
    width: 30%;
  }

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

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

  article.detail header aside {
    clear: both;
    width: 95%;
  }
}

/* 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;
}


/*update font icon*/
#groupFinder .return a:before {
  content: "\e3b7"; 
  font-family: 'icomoon' !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: 20px;
    vertical-align: middle;
    line-height: 1;
    margin-right: 10px;
}
form#gF-filter .zip-inner:before,
.ui-selectmenu:after {
  content: "\e3b6"; 
  font-family: 'icomoon' !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: 20px;
  color: white;
  z-index: -1;
}
form#gF-filter .zip-inner {
  position: relative;
}
form#gF-filter .zip-inner:before {
  content: "\e1ba";
  font-size: 14px; 
  color: grey;
}
