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


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

.filters {
    margin-top: 2em;
}

#vol-filter {
    float: left;
    width: 100%;
    position: relative;
}

#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_2/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;
    padding: 0;
    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);
}

#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: rgb(102, 102, 102);
    background: rgba(102, 102, 102, .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;
}

.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-open li.ui-selectmenu-item-selected {
    display: none;
}

.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: rgb(153, 153, 153);
    background: rgba(255, 255, 255, .1);
}

.ui-selectmenu-open li.ui-selectmenu-item-selected {}

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

.ui-selectmenu-menu li .ui-selectmenu-item-header {}

.ui-selectmenu-menu li .ui-selectmenu-item-content {}

.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.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;
    margin-bottom: 2em;
}

article {
    padding: 2.5%;
    position: relative;
}

article.even {}

article header {
    /*background: url(/_assets/img/layouts/volunteer_2/groupfinder_article_more.png) no-repeat 100% 50%;*/
    cursor: pointer;
    padding-right: 12.5%;
    /*don't creep on the arrow*/
}

article h4 {
    font-weight: 800;
    font-size: 1.5em;
    margin-top: 0.75em;
}

article h4.contactH4 {
    margin-top: 0px;
    font-weight: 400;
}

.content article p {
    /*font-size: 1.15em;*/
}

article p.meta {
    margin: 0;
    color: #555555;
    font-weight: 600;
    margin-bottom: 1.25em;
}

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_2/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_2/groupfinder_article_more-on.png) no-repeat 100% 50%;
    ;
}

article.on .details {
    display: block;
}


.items {
    padding: 5em 0;
    padding-bottom: 0px;
}

.serveThird {
    background: #e7eaee;
    padding: 2em;
    text-align: center;
}

.whereText h5 {
    font-size: 1.45em;
    font-weight: 400;
}





/*************************************************************************
 * 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: 5px;
    text-decoration: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin: 0 5px;
}

#pagination a#off {
    display: none;
}

#pagination a#previous,
#pagination a#next {
    line-height: 0;
    font-size: 0;
    color: transparent;
    vertical-align: baseline;
}

#pagination a#previous:before,
#pagination a#next:before {
    content: "\edbe";
    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: "\edc6";
}






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

#volunteerOpps .return {
    background-color: #999999;
}

#volunteerOpps .return a {
    display: inline-block;
    padding: 1.3em 2.4em 1.3em 1.4em;
    font-size: 15px;
    color: #ffffff;
    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);
}

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

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


article.detail .details header p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1.5em;
    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_2/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: 14px;*/
    margin-bottom: 1em;
}

article.detail .details section {
    float: left;
    width: 62%;
    padding: 0 3% 0 0;
    margin-bottom: 2.25em;
}

article.detail .details aside {
    float: right;
    width: 29%;
    background-color: transparent !important;
}

article.detail .details aside .contact-box {
    padding: 30px;
    border-radius: 60px 0px;
}

article.detail .details aside>img {
    padding-bottom: 30px;
    background-color: transparent;
    display: block;
}

article.detail header .header-image {
    margin-bottom: 20px;
    display: none;
}

article.detail .details aside h4 {
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

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

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

article.detail .details #contact-form {
    margin-top: 25px;
    display: block;
    padding: 40px;
    box-sizing: border-box;
}

article.detail .details .contactH4 {
    font-size: 22px;
    margin-bottom: 11px;
}

article.detail .details .contact-field {
    border: 0px;
    border-radius: 0px;
    margin-bottom: 25px;
    padding: 13px 12px;
    width: 90%;
    max-width: 90%;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
}

article.detail .details .options input {
    margin-bottom: 10px;
    vertical-align: text-top;
}

article.detail .details .contact-submit,
.cta-button,
.team-button {
    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_2/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);
}

.cta-button:hover {
    color: white;
}

.team-button {
    background-color: #ededed;
    color: #5D7B9D;
}

.button-container {
    display: inline-block;
}

.iconBox {
    display: inline-block;
    width: 12.5%;
}

.serveThird .iconBox {
    display: block;
    width: 100%;
    margin-bottom: 1.75em;
}

.iconBoxInner {
    width: 70px;
    height: 70px;
    border: 5px solid #506a87;
    border-radius: 50%;
    opacity: .4;
}

.serveThird .iconBoxInner {
    margin: 0 auto;
    position: relative;
    left: -5px;
}

.iconBox .iconServe {
    font-size: 3.25em;
    font-weight: 700;
    color: #506a87;
    display: block;
    text-align: center;
    padding: 10px;
}

.whereText {
    display: inline-block;
    vertical-align: top;
    width: 50%;
}

.serveThird .whereText {
    width: 100%;
}

.serveWide .button-container {
    width: 32%;
}

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

.serveWide {
    display: block;
    clear: both;
    background: #e7eaee;
    padding: 2.5em;
}

.serveWide p {
    margin-bottom: 0;
}

.highlight {
    display: block;
    clear: both;
    background: #f6f8fa;
    padding: 3.5em 2.5em;
}





/*************************************************************************
 * GRID STYLES - remove this if site has existing styling
*************************************************************************/

.div-row {
    width: 100%;
    position: relative;
    margin-bottom: 0;
}

.div-row::after {
    content: '';
    display: block;
    clear: both;
}

@media (min-width: 47.9375em) {
    .div-row {
        margin-bottom: 2em;
    }
}

.div-row .div-col {
    float: none;
    width: 100%;
    margin: 0 0 2em 0;
    padding: 0;
}

@media (min-width: 47.9375em) {
    .div-row .div-col {
        float: left;
        margin: 0 0 0 4%;
    }
}

@media (min-width: 47.9375em) {
    .div-row .div-col:first-child {
        margin-left: 0 !important;
    }
}

.div-row .div-col p:last-child {
    margin: 0;
}

.div-row .div-col p img,
.div-row .div-col div img,
.div-row .div-col p iframe,
.div-row .div-col div iframe,
.div-row .div-col p object,
.div-row .div-col div object,
.div-row .div-col p video,
.div-row .div-col div video {
    margin-bottom: 1em;
}

@media (min-width: 47.9375em) {
    .div-row.one-half .div-col {
        width: 48%;
    }
}

@media (min-width: 47.9375em) {
    .div-row.one-third .div-col {
        width: 30.66666666666667%;
    }
}

@media (min-width: 47.9375em) {
    .div-row.one-fourth .div-col {
        width: 22%;
    }
}

@media (min-width: 47.9375em) {
    .div-row.two-third .div-col {
        width: 72%;
    }
}

@media (min-width: 47.9375em) {
    .div-row.two-third .div-col:first-child {
        width: 24%;
    }
}

@media (min-width: 47.9375em) {
    .div-row.two-third.right .div-col {
        width: 24%;
    }
}

@media (min-width: 47.9375em) {
    .div-row.two-third.right .div-col:first-child {
        width: 72%;
    }
}



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





/*fix css*/

#volunteerOpps .items article {
    background-color: transparent;
}

#volunteerOpps .button-container {
    margin: 0px;
    margin-top: 10px;
    padding: 0px;
}

#volunteer-opportunity .ui-selectmenu-menu .ui-menu {
    max-width: 300px;
}

#volunteer-opportunity .highlight>.div-row {
    margin-bottom: 0px;
}

#volunteer-opportunity .items {
    padding-top: 0px;
}

#volunteer-opportunity article.detail .details .contact-submit {
    display: block;
    font-size: 20px;
    font-weight: 700;
    padding: .8em 1em;
    margin: .5em 0 0 0;
    line-height: 1.125em;
    text-decoration: none !important;
    text-align: center;
    outline: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    cursor: pointer;
    transition: .3s;
    font-weight: 400;
    text-transform: none;
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0);
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0);
    margin-top: 30px;
}

#volunteer-opportunity article.detail .details .contact-submit:hover {
    border-radius: 1em 0 1em 0;
}

@media (max-width: 991px) {
    #volunteer-opportunity .ui-selectmenu-button {
        border-right: 0px;
    }
}

article.detail .details aside h4 {
    margin-top: 0px;
}





/*end fixing*/

#volunteerOpps .return a:before {
    content: "\edca";
    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: 20px;
    vertical-align: middle;
    line-height: 1;
    margin-right: 10px;
}

.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;
    pointer-events: none;
}

@media (min-width: 47.9375em) {
    .div-row {
        margin-bottom: 3em;
    }
}

#volunteer-opportunity article h3 {
    font-weight: 700;
}

@media (max-width: 480px) {
    #volunteer-opportunity article h3 {
        margin-top: 15px;
    }
}

@media (max-width: 56em) {
    #volunteer-opportunity .items {
        padding-top: 0em;
    }
    #volunteer-opportunity .ui-selectmenu-button {
        margin-bottom: 0px;
    }
    #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%;
    }
    article.detail .details aside,
    article.detail .details section {
        float: none;
        width: 100%;
        box-sizing: border-box;
        padding-right: 0px;
    }
    #volunteer-opportunity .serveWide .iconBoxInner {
        display: block;
        margin: 0 auto;
    }
    #volunteer-opportunity .serveWide .whereText {
        width: 100%;
        text-align: center;
    }
    #volunteer-opportunity .serveWide .iconBox {
        width: 100%;
        margin-bottom: 20px;
    }
    #volunteer-opportunity .serveWide .button-container {
        margin: 10px auto;
        text-align: center;
        width: 100%;
    }
    article.detail .details aside>img {
        display: none;
    }

    article.detail header  .header-image {
        display: block;
    }

    article.detail .details aside .contact-box {
        margin-bottom: 25px;
    }
}