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

/*************************************************************************
 * Filters
 *************************************************************************/
.filters {
	padding: 8px;
    border: 1px solid #18426b;
    margin-bottom: 25px;
}

#filter-categories-button{
	margin-right: 15px;
}

#vol-filter, #vol-filter1 {
	float: left;
	width: auto;
	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%);*/
}

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

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

#vol-filter .childcare {
	float: left;
	width: 16%;
	height: 100%;
	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, .4);
	-webkit-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, .4);
	box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, .4);
}

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

#vol-filter #filter-childcare {
	float: right;
}

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

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

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

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

/*************************************************************************
 * List
 *************************************************************************/
 
h2.vol-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: #f3f2f1;
}

article header {
	/*background: url(/_assets/img/layouts/volunteer/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: .20em;
	font-weight: 600;	
}

article p.meta {
	margin: 0;
	font-weight: 600;
	margin-bottom: 0;
}

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

article .previewText{
	font-size: 13px;	
}

article .previewText p{
	margin-bottom: 0;
}

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, .25);
	line-height: 1;
	background-color: #666666;
	background-image: url(/_assets/img/layouts/volunteer/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, .15);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
	box-shadow: 1px 1px 1px rgba(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(/_assets/img/layouts/volunteer/groupfinder_article_more-on.png) no-repeat 100% 50%;;
}

article.on .details {
	display: block;
}

/*************************************************************************
 * Detail
 *************************************************************************/
 
#volunteerOpps .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;
}
 
#volunteerOpps .return a {
	display: inline-block;
	padding: 1em 2.4em .8em 3.4em;
	font-size: 15px;
	color: #292929;
	background: url(/_assets/img/layouts/volunteer/groupfinder_arrow_return.png) no-repeat 10% 50%;
	border-right: 1px solid #666666;
	-moz-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, .4);
	-webkit-box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, .4);
	box-shadow: 1px 0px 1px -1px rgba(255, 255, 255, .4);
	 -webkit-border-top-left-radius: 6px;
	 -moz-border-radius-topleft: 6px;
	 border-top-left-radius: 6px;
}
 
#volunteerOpps .return a:hover {
	background-color: #666666;
	color: #fff;
}

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

article.detail header {
	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;	
	font-weight: 700;
}

article.detail header section p {
	font-size: 1em;
	margin-bottom: 0;
	text-transform: none;
}

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, .15);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
	box-shadow: 1px 1px 1px rgba(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, .25);
	line-height: 1;
	background-color: #666666;
	background-image: url(/_assets/img/layouts/volunteer/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, .15);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
	box-shadow: 1px 1px 1px rgba(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: 16px;
	margin-bottom: 1em;
}

article.detail .details section {
	float: left;
	width: 60%;
	padding: 0 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: 16px;
	font-weight: 700;
	text-align: left;
}

article.detail .details aside #contact-info{
	font-size: 15px;	
}

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

article.detail .details #contact-form{
	margin-top: 25px;
	display: block;	
}

article.detail .details .contactH4{
	margin-bottom: 5px;
}

article.detail .details .contact-field{
	font-size: 18px;
	padding: 10px;
	width: 100%;
	max-width: 450px;
	border: 1px solid #CCC;
	margin-bottom: 15px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
}
	
article.detail .details .contact-submit {
	display: block;
	text-align: center;
	cursor: pointer;
	border: 0;
	margin-top: 20px;
	padding: 1.1em 2em;
	margin-bottom: .5em;
	color: #fff;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 600;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, .25);
	line-height: 1;
	background-color: #5D7B9D;
	background-image: url(/_assets/img/layouts/volunteer/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, .15);
	-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
	box-shadow: 1px 1px 1px rgba(0, 0, 0, .15);
}

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: #599db0;
}

article.detail h3{

}

article .details .more,
 #volunteerOpps .return,
 article.detail header aside .map-directions {
	background-color: #f3f2f1;
}

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

#vol-filter .childcare,
.ui-selectmenu,
#volunteerOpps .return a {
}

/*transparent hover color*/
.ui-selectmenu-menu {
	/*background: rgb(82, 108, 138);
	background: rgba(82, 108, 138, .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;
}

#vol-filter {
	float: none;
	height: auto;
	position: relative;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: none
}

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

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

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

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

#vol-filter #filter-childcare {
	float: none;
}

#vol-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: #5d7b9d;
}

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

.vol-list h2.vol-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;
}
 
#volunteerOpps .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;
}

/*CUSTOM STYLES*/
#content{ margin: 3em 0 7em; }

.items{
	border-bottom: 1px solid #f3f2f1;
}


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

  #vol-filter{
	padding-bottom:20px;
  }

  #vol-filter .input,
  #vol-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;
  }

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

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


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

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

}
/* End Responsive Styles */