/*************************************************************************
 * NOTE
 	- Generic colors used until override
	- An example media query for mobile at the bottom
	
 *************************************************************************/
/*************************************************************************
 * Filters
 *************************************************************************/
form#gF-filter {
  float: left;
  width: 100%;
  position: relative;
  -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;
  background: #999999;
  background-image: -ms-linear-gradient(top, #999999 0%, #666666 100%);
  background-image: -moz-linear-gradient(top, #999999 0%, #666666 100%);
  background-image: -o-linear-gradient(top, #999999 0%, #666666 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, #f1f1f1));
  background-image: -webkit-linear-gradient(top, #999999 0%, #666666 100%);
  background-image: linear-gradient(to bottom, #999999 0%, #666666 100%);
}

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

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

form#gF-filter .childcare {
  float: left;
  width: 16%;
  height: 50px;
  position: relative;
  padding: 0 1.5%;
  color: #ffffff;
  font-size: 14px;
  border-right: 1px solid #666666;
  -moz-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
  box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
}

form#gF-filter .childcare-inner {
  padding-top: 1em;
  overflow: hidden;
}

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

form#gF-filter .zip {
  float: left;
  width: 24%;
  height: 99%;
  /*plus padding for 100% height*/
  position: relative;
  padding: 1% 1% 0 1%;
}

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

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

form#gF-filter #gF-filter-submit {
  float: right;
  width: 12px;
  height: 16px;
  border: 0;
  background: url(../_img/groupfinder_submit.png);
  display: block;
  text-indent: -9999px;
  cursor: pointer;
}

/*filters - select plugin*/
.ui-selectmenu {
  display: block;
  float: left;
  position: relative;
  height: 100%;
  width: 240px;
  text-decoration: none;
  overflow: hidden;
  margin: 0 !important;
  background: url(../_img/groupfinder_arrow_filter.png) no-repeat 95% 50%;
  padding: 0;
  border-right: 1px solid #666666;
  -moz-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
  box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

article.even {
  background: #f1f1f1;
  background-image: -ms-linear-gradient(top, #f9f9f9 0%, #f1f1f1 100%);
  background-image: -moz-linear-gradient(top, #f9f9f9 0%, #f1f1f1 100%);
  background-image: -o-linear-gradient(top, #f9f9f9 0%, #f1f1f1 100%);
  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 {
  background: url(../_img/groupfinder_article_more.png) no-repeat 100% 50%;
  cursor: pointer;
  padding-right: 12.5%;
  /*don't creep on the arrow*/
}

article h3 {
  font-size: 22px;
  margin-bottom: .5em;
}

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

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

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

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

article .details .more {
  display: inline-block;
  padding: 1em 2.4em;
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  line-height: 1;
  background-color: #666666;
  background-image: url(../_img/groupfinder_bg_btn.png);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

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

article.on {
  width: 95%;
  /*width padding top and left should expand out to 102%*/
  left: -.5%;
  padding-left: 3%;
  padding-right: 3%;
  background: #eaeaea;
  border-color: #d1d1d1;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  z-index: 100;
  -moz-user-select: none;
  -webkit-user-select: none;
}

article.on header {
  background: url(../_img/groupfinder_article_more-on.png) no-repeat 100% 50%;
}

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: .25em .5em;
  text-decoration: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  color: #3c3c3c;
  margin: 0 .15em;
}

#pagination a:hover {
  color: #ffffff;
  background-color: #666666;
}

#pagination a#current {
  color: #ffffff;
  background-color: #666666;
}

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

/*************************************************************************
 * Detail
 *************************************************************************/
#groupFinder .return {
  background-color: #999999;
  -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 2.4em .8em 3.4em;
  font-size: 15px;
  color: #ffffff;
  background: url(../_img/groupfinder_arrow_return.png) no-repeat 10% 50%;
  border-right: 1px solid #666666;
  -moz-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
  box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, 0.4);
  -webkit-border-top-left-radius: 6px;
  -moz-border-radius-topleft: 6px;
  border-top-left-radius: 6px;
}

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

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

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

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

article.detail h3 {
  font-size: 28px;
  margin-bottom: .25em;
}

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

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

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

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

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

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

article.detail header aside .map-directions {
  display: block;
  padding: 1em .5em;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
  line-height: 1;
  background-color: #666666;
  background-image: url(../_img/groupfinder_bg_btn.png);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

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

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

article.detail .details p {
  font-size: 14px;
  margin-bottom: 1em;
}

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

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

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

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

article.detail .details aside .buttons a {
  display: block;
  text-align: center;
  padding: 1em .5em;
  margin-bottom: .5em;
  color: #999999;
  font-size: 14px;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.25);
  line-height: 1;
  background-color: #ebebeb;
  background-image: url(../_img/groupfinder_bg_btn.png);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

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

/*************************************************************************
 * Override
*************************************************************************/
/*link and bg color $accent1*/
article h3,
article.detail .details aside .buttons a {
  color: #681f21;
}

article .details .more,
#groupFinder .return,
article.detail header aside .map-directions {
  background-color: #681f21;
  text-decoration: none;
}

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

form#gF-filter .childcare,
.ui-selectmenu,
#groupFinder .return a {
  border-color: #fbf1f1;
  text-decoration: none;
}

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

/*gradient color link color to hover color*/
#pagination a:hover,
#pagination a#current,
form#gF-filter {
  background: #681f21;
  background-image: -ms-linear-gradient(top, #681f21 0%, #411315 100%);
  background-image: -moz-linear-gradient(top, #681f21 0%, #411315 100%);
  background-image: -o-linear-gradient(top, #681f21 0%, #411315 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #681f21), color-stop(1, #411315));
  background-image: -webkit-linear-gradient(top, #681f21 0%, #411315 100%);
  background-image: linear-gradient(to bottom, #681f21 0%, #411315 100%);
}

/*transparent hover color*/
.ui-selectmenu-menu {
  background: #681f21;
  background: rgba(104, 31, 33, 0.9);
}

/*************************************************************************
 * Example responsive settings....this is just some base
   examples...remove or delete as needed. 
 *************************************************************************/
@media only screen and (max-width: 768px) {
  /*
  .filters {
  	margin-bottom: 2em;
  	padding-bottom: 2em;
  	border-bottom: 1px solid #eaeaea;
  }
  
  form#gF-filter {
  	float: none;
  	height: auto;
  	position: relative;
  	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	border-radius: 5px;
  	background: none
  }
  
  form#gF-filter #filter-categories {
  	float: none;
  	margin-bottom: 1em;
  }
  
  form#gF-filter #filter-day {
  	float: none;
  	margin-bottom: 1em;
  }
  
  form#gF-filter .childcare {
  	float: none;
  	width: 97%;
  	padding: 0 1.5%;
  	border-right: none;
  	-moz-box-shadow: none;
  	-webkit-box-shadow: none;
  	box-shadow: none;
  	margin-bottom: 1em;
  	color: #3c3c3c;
  }
  
  form#gF-filter .childcare-inner {
  	padding-top: 0;
  }
  
  form#gF-filter #filter-childcare {
  	float: none;
  }
  
  form#gF-filter .zip {
  	float: none;
  	width: 97%;
  	height: auto;
  	position: relative;
  	padding: 0 1.5%;
  	margin-bottom: 1em;
  }
  
  .ui-selectmenu {
  	float:none;
  	margin: 0 0 1em 0 !important;
  	border-right: none;
  	-moz-box-shadow: none;
  	-webkit-box-shadow: none;
  	box-shadow: none;
  	background-color: $accent1;
  }
  
  .ui-selectmenu-menu {
  	background-color: $accent1;
  }
  
  .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 {
  	width: 90%;
  	padding: 5%;
  	left: 0;
  }
   
  #groupFinder .return a {
  	display: block;
  	border-right: none;
  	-moz-box-shadow: none;
  	-webkit-box-shadow: none;
  	box-shadow: none;
  }
  
  article.detail header {
  	padding: 0;
  }
  
  article.detail header section {
  	float: none;
  	width: 90%;
  	padding: 5%;
  }
  
  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;
  	width: 90%;
  	padding: 5%;
  }
  
  	
  article.detail header aside .map-directions {
  	font-size: 12px;
  }
  
  article.detail .details section {
  	float: none;
  	width: 90%;
  	padding: 5%;
  }
  
  article.detail .details aside {
  	float: none;
  	width: 90%;
  	padding: 5%;
  }
  
  article.detail .details aside h4 {
  	font-size: 14px;
  }
  
  	
  article.detail .details aside .buttons a {
  	font-size: 12px;
  }
  */
}
/**************************************************************************
 * 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;
}

/* 
 * Responsive Styles 
 *
@media (max-width: 56em) {

  form#gF-filter{
	padding-bottom:20px;
  }

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

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