@font-face{
    font-family: quotemark;
    src: url(../fonts/Handel-Gothic-BT.ttf);
}

.ymca input:-webkit-autofill{
    background-color: rgb(32,32,32); 
}

.ymca .contact{
    margin-top: 7%;
    text-align: right;
    height: auto;
    background: rgb(204,204,204);
}

.ymca .contactus{
    width: 90%;
    margin-left: 5%;
}

.ymca .title p{
    font-family: heading;
    color: white;
    font-size: 8em;
    text-shadow: -10px 0px 20px rgb(32,32,32);
}

.ymca .subtitle {
    margin: 20px 0;
}
.ymca .subtitle p{
    font-family: semibolditalic;
    font-size: 1.25vw;
}

.ymca .red-sub{
    margin-bottom: 40px;
}

.ymca .red-sub p{
    font-family: semibolditalic;
    color: rgb(253,25,33);
    font-size: 1em;
}

.red{
    color: rgb(226,22,26)!important;
}

.ymca .label{
    font-family: semibolditalic;
    margin-top: 10px;
    margin-bottom: 5px;
    color: white;
    width: 98%;
    font-size: 1.25vw;
}
.ymca .contact input:focus{
    color: white;
}
.ymca .contact input{
    outline: none;
    background: rgb(32,32,32);
    color: white;
    width: 100%;
    border: 1px solid white;
    border-radius: 5px;
    height: 2.4em;
    padding: 5px 10px;
    text-align: right;
    font-family: content;
    display: inline;
    font-size: 1.25vw;
}

.ymca .tri_background{
    position: absolute;
    width: 50%;
    left: 0;
    top: 0;
}
.ymca .selected-region p{
    padding: 2px 0;
    font-size: 1.25vw;
}
.ymca .selected-region{
    background: rgb(32,32,32);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: right;
    font-family: content;
    cursor: pointer;
}

.ymca .region-list p{
    cursor: pointer;
}
.ymca .selected-region p img.flip{
    transform: rotate(180deg);
}
.ymca .selected-region p img{
    width: 8px;
    display: inline;
}
.ymca .bottom-div{
    position: relative;
    width: 100%;
}
.ymca .region-dropdown{
    position: relative;
    width: 100%;
    border: 1px solid white;
    border-radius: 5px;
}

.ymca textarea.comment {
    width: 100%;
    background: rgb(32,32,32);
    color: white;
    border-radius: 5px;
    outline: none;
    height: 100px;
    resize: vertical;
    padding: 10px;
    font-family: content;
    display: inline;
    font-size: 1.25vw;
}

.ymca .submit {
    padding-bottom: 10%;
    padding-top: 30px;
    width: 35%;
    display: inline-block;
}
.ymca .mesg p{
    color: rgb(253,25,33);
    font-family: semibolditalic;
}
.ymca .mesg{
    display: inline-block;
}

.ymca .submit p{
    background: rgb(32,32,32);
    color: white;
    width: 70%;
    margin-left: 30%;
    padding: 10px 0px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    background: darkgrey;
    font-size: 1.25vw;
}


.ymca select.dropdown option{
    direction: rtl;
}

input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px rgb(32,32,32) inset; /* Change the color to your own background color */
    -webkit-text-fill-color: white;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: /*your box-shadow*/,0 0 0 50px rgb(32,32,32) inset;
    -webkit-text-fill-color: white;
}

.hide {
    display: none!important;
}
.ymca .region-list{
    position: absolute;
    top: 100%;
    /*width: calc(100% - 20px);*/
    width: 100%;
    background: rgb(32,32,32);
    color: white;
    padding: 5px 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 10;
    outline: 1px solid white;
    font-size: 1vw;
}
.ymca .region-list p:first-child {
    padding-top: 5px;
}

.ymca .tri_background{
    display: block;
}

.page-template-tpl-get_involved .banner{
    background: url(../../images/get-involved/YMCA_youth_banner.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 120vh;
}

.page-template-tpl-get_involved .heading{
    width: 40%;
    left: unset;
    right: 0;
    margin-top: 5%;
}

.get-involved-container {
    position: relative;
}

.get-involved-container p {
    font-size: 1.25vw;
}

img.bottom-right-tri {
    width: 90%;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -2;
    transform: translateX(10%);
}

img.right-tri {
    position: absolute;
    right: 0;
    width: 50%;
    top: 0;
    transform: translateY(-13.5%);
    z-index: -1;
}
.national-ymca .header,
.local-ymca .header,
.raise-up .header{
    font-size: 2.3em;
    font-size: 1.75vw;
    color: rgb(253,25,33);
}
.colorred{
    color: rgb(253,25,33)!important;
}
.local-ymca, .national-ymca, .raise-up {
    padding: 3% 0 0 7.5%;
}
.find-your-local {
    padding: 1% 0 0 7.5%;
    width: 40%;
}
.local-ymca{
    width: 62%;
}
.national-ymca a{
    color: rgb(253,25,33);
}
.national-ymca{
    width: 60%;
}
.raise-up{
    width: 60%
}
.international-ymca{
    width: 100%;
}
.raise-up a, .international-ymca a, .raise-up a:hover, .international-ymca a:hover, .raise-up a:active, .international-ymca a:active{
    text-decoration: underline;
    color: rgb(253,25,33);
}

.find-your-local .header a{
    text-decoration: underline;
    color: rgb(253,25,33);
    font-size: 1em;
}

.more-info a{
    text-decoration: underline;
    color: rgb(253,25,33);
}
.more-info {
    padding: 5% 0 10% 10%;
}

.local-ymca p, 
.national-ymca p {
    font-family: content;
}




/*----- Education -----*/

.education-container .publications .list{
    display: none;
}
.education-container .publications .list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 10% 0;
}
.education-container .publications .list .publication {
    width: 100%;
    position: relative;
    text-align: left;
    color: white;
    background: url(../../images/mobile/education/YMCA_education-publication.png) right center;
    padding: 5px 5px 5px 10px;
    border-radius: 10px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.page-template-tpl-education .banner, .page-template-tpl-education_test .banner {
    background: url(../../images/education/YMCA_education-banner.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 110vh;
    /*background-color: rgb(253,25,33);*/
}

.education-container {
    /*overflow: hidden;*/
}

.education-container .tertiary-education {
    background: rgb(253,25,33);
    width: 100%;
    position: relative;
    padding: 50px 10% 50px 55%;
}

.ymca .education-container h2 {
    margin-bottom: 20px;
    font-size: 1.75vw;
}

.education-container p {
    color: white;
    margin-top: 10px !important;
    font-size: 1.1vw;
}

.education-container .our-philosophy {
    background: rgb(253,25,33);
    background: rgb(32,32,32);
    width: 100%;
    padding: 175px 55% 50px 10%;
    position: relative;
    margin-top: 5%;
}

.education-container .our-philosophy:after {
    content: '';
    position: absolute;
    top: 0;
    left: -35%;
    width: 135%;
    height: 0px;
    border-left: 135vw solid transparent;
    border-right: 0px solid transparent;
    border-top: 200px solid #CBCBCA;
}

.education-container .tertiary-education img {
    position: absolute;
    bottom: 0%;
    left: 1%;
    width: 45%;
    z-index: 1;
}

.education-container .our-philosophy img{
    position: absolute;
    bottom: 0;
    right: 1%;
    width: 45%;
    z-index: 1;
}

.education-container .publications {
    background: #CBCBCA;
    width: 100%;
    padding: 50px 55% 50px 10%;
    position: relative;
}

.education-container .publications h2, .education-container .publications p {
    color: #333;
}

.education-container .publications .list {
    margin: 50px 0 50px 0;
}

.education-container .publications .list p {
    color: rgb(253,25,33);
    cursor: pointer;
    margin-top: 0 !important;
    margin: 0 0 15px 0;
}

.education-container h5.our-people {
    font-family: heading;
    color: white;
    font-size: 4em;
    text-shadow: 2px 2px 8px rgb(32,32,32);
    letter-spacing: 1px;
    padding: 15px 0;
    text-align: center;
}

.education-container .publications img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}

.our-people .row {
    width: 100%;
    display: flex;
}

.our-people .row .profile {
    position: relative;
    width: 50%;
}

.our-people .row .profile img {
    width: 100%;
}

.our-people .row .profile .profile-pic {
    position: absolute;
    top: 50%;
    right: 25%;
    height: 97%;
    width: auto;
    z-index: -1;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.our-people .row:nth-child(2n) .profile .profile-pic {
    right: unset;
    left: 25%;
}

/*.our-people .row .profile div.overflow-scrollable {
    position: absolute;
    top: 50%;
    left: 0;
    width: 38%;
    padding: 0 0 0 2%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    overflow: hidden;
    margin-left: -17px;
}*/

.our-people .row .profile div.scrollable {
    position: absolute;
    top: 50%;
    left: 0;
    width: 36%;
    padding: 0 2%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    overflow: hidden;
    overflow-y: scroll;
    text-align: center;
    /*width: 100%;*/
    /*margin-left: 17px;*/
    
}

/*::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}*/

.our-people .row:nth-child(2n) .profile div {
    left: unset;
    right: 0;
    width: 38%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.our-people .row .profile div h6 {
    font-family: heading;
    color: #333;
    font-size: 1.5em;
    font-size: 1.5vw;
    display: block;
    margin-right: 5px;
    /*margin-bottom: 5px;*/
}

.our-people .row .profile div p.role, .main-members .member div p.role {
    display: inline-block;
}

.our-people .row .profile div p {
    color: #333;
    margin-top: 0px !important;
    font-size: 0.8em;
    font-size: 0.7vw;
}

@media only screen and (max-width: 1350px) {
    .our-people .row .profile div h6, .our-people .row .profile div p {
        font-size: 80%
    }
}

@media only screen and (max-width: 1050px) {
    .our-people .row .profile div h6, .our-people .row .profile div p {
        font-size: 70%
    }
}

@media only screen and (max-width: 900px) {
    .our-people .row .profile div h6, .our-people .row .profile div p {
        font-size: 60%
    }
}

.page-template-tpl-education .copy-div .copy .location .col a,
.page-template-tpl-education_test .copy-div .copy .location .col a{
    font-family: semibold;
    font-size: 1.25vw;
}
.page-template-tpl-education .copy-div .copy .location .col:nth-of-type(2),
.page-template-tpl-education_test .copy-div .copy .location .col:nth-of-type(2){
    flex: 40%;
}
.page-template-tpl-education .copy-div .copy .location .col,
.page-template-tpl-education_test .copy-div .copy .location .col{
    display: flex;
    flex-direction: column;
    flex: 30%;
}
.page-template-tpl-education .copy-div .copy .location,
.page-template-tpl-education_test .copy-div .copy .location{
    width: 80%;
    margin: 40px 10% 30vh 10%;
}
.page-template-tpl-education .copy-div .copy, 
.page-template-tpl-education_test .copy-div .copy{
    width: 80%;
    margin-left: 10%;
}

.page-template-tpl-education .copy-div h2, 
.page-template-tpl-education_test .copy-div h2{
    font-size: 2.5vw;
}

.programmes .medium,
.stakeholders .medium{
    text-shadow: none;
    font-size: 3.5vw;
    padding: 10px 0;
}

.copy .programmes .prog{
    display: flex;
}
.copy .programmes{
    padding-bottom: 30px;
}

.copy .programmes .prog .prog_ace,
.copy .programmes .prog .prog_y_skills{
    flex: 50%;
    text-align: left;
    padding: 0 7.5%;
}
.copy .programmes .prog .sub_title a{
    position: absolute;
    right: 0;
    text-decoration: underline;
}
.copy .programmes .prog p{
    font-size: 1.1vw;
}
.copy .programmes .subtitle{
    margin: 0;
}
.copy .programmes .prog .sub_title{
    text-decoration: underline;
    font-family: semibold;
    position: relative;
    font-size: 1.25vw;
}
.copy .programmes .prog .prog_desc a{
    color: rgb(253,25,33);
}
.copy .programmes .prog .prog_desc{
    font-size: 1.1vw;
}
.copy .programmes .prog .prog_title{
    font-family: heading;
    font-size: 1.5vw;
}
.stakeholder_logos{
    display: flex;
}
.stakeholders{
    padding-bottom: 30px;
}
.stakeholder_logos a{
    flex: 1;
    width: 15%;
    margin: auto 5px;
    margin-bottom: 0;
}


/*----- News -----*/
.page-template-tpl-news_events_test .banner,
.page-template-tpl-news_events .banner{
    background: url(../../images/news_events/YMCA_Events-banner.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
}

.news-events-container .photo-right{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}
.news-events-container .photo-left{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.news-events-container .photo-left,
.news-events-container .photo-right{
    width: 61%;
    height: auto;
}

.news-events-container .background-right {
    position: relative;
    width: 100%;
    z-index: -1;
}

.ymca .news-events-container h1 {
    font-size: 4vw;
    margin-bottom: 20px;
}

.ymca .news-events-container .desc p {
    font-size: 1.25vw;
}

.news-events-container .odds,
.news-events-container .even{
    position: relative;
    width: 100%;
}

.news-events-container .even > div:first-of-type{
    /*overflow-y: scroll;*/
    overflow: hidden;
    position: absolute;
    left: 4%;
    width: 35%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: -17px;
}
.news-events-container .odds > div:first-of-type{
    /*overflow-y: scroll;*/
    overflow: hidden;
    position: absolute;
    right: 4%;
    width: 35%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: -17px;
}

.news-events-container .even div .scroll-overflow, .news-events-container .odds div .scroll-overflow {
    width: 100%;
    overflow-y: scroll;
    margin-left: 17px;
    padding-right: 17px;
    height: 100%;
}

.news-events-container .event-content .desc,
.news-events-container .article-content .desc{
    color: white;
    margin: 10px 0;
    font-family: content;
}
.news-events-container .event-content .desc a,
.news-events-container .article-content .desc a{
    color: white;
}

.news-events-container .event-content .desc p a,
.news-events-container .article-content .desc p a{
    text-decoration: underline;
    color: rgb(253,25,33);
}

.news-events-container .event-content .date,
.news-events-container .event-content .time{
    color: rgb(253,25,33);
    margin-top: 10px;
    font-family: content;
    font-size: 1.25vw;

}

.contactus .map_link{
    width: 45%;
    text-align: center;
    font-size: 1.5em;
    font-family: semibolditalic;
    margin-left: 55%;
    margin-bottom: 20%;
}
.contactus .map_link a{
    text-decoration: underline;
    color: rgb(253,25,33);
    cursor: pointer;
}

.main-members .member img.profile-pic{
    position: absolute;
    width: 26%;
    top: 0;
    left: 19.5%;
    right: unset;
    z-index: -1;
}
.main-members .member:nth-child(2n) img.profile-pic{
    right: 19%;
    left: unset;
}




@media screen and (max-width: 1500px) {
    .event-content .title, .article-content .title {
        font-size: 3em;
    }

    .news-events-container .event-content .date, .news-events-container .event-content .time {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 1200px) {
    .event-content .title, .article-content .title {
        font-size: 5em;
    }

    .news-events-container .event-content .date, .news-events-container .event-content .time {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1000px) {
    .event-content .title, .article-content .title {
        font-size: 4em;
    }

    .news-events-container .event-content .date, .news-events-container .event-content .time {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 801px) {
    .event-content .title, .article-content .title {
        font-size: 3em;
    }

    .news-events-container .event-content .date, .news-events-container .event-content .time {
        font-size: 1em
    }
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

.page-template-tpl-about_us .copy, .page-template-tpl-about_us_test .copy{
    display: block;
    width: 100%;
    padding: 5% 20%;
    position: relative;
}

.page-template-tpl-about_us .copy-background-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.page-template-tpl-about_us .copy-background-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.page-template-tpl-about_us .copy .col, .page-template-tpl-about_us_test .copy .col{
    width: 100%;
    font-size: 1.25vw;
}

.page-template-tpl-advocacy .copy-div{
    padding: 0 12.5% 5% 12.5%;
}
.page-template-tpl-get_involved .copy-div{
    width: 70%;
   padding: 3% 0% 0% 7.5%;
}
.page-template-tpl-services .copy-div p, .page-template-tpl-services-new .copy-div p{
    margin-bottom: 1em;
    font-size: 1.5vw;
}
.page-template-tpl-services .copy-div .col, .page-template-tpl-services-new .copy-div .col{
    width: 45%;
    margin: auto;
}
.page-template-tpl-services .copy-div, .page-template-tpl-services-new .copy-div {
    padding: 5% 15%;
    /*display: flex;*/
}

.advocacy-container .copy-div p.header {
    margin: 15px 0 15px 0;
    font-size: 2em !important;
}
.mobile .advocacy-container .copy-div a{
    font-size: 0.9em;
}
.advocacy-container .copy-div a {
    font-family: content;
    font-size: 1.25vw;
    color: rgb(253,25,33);
}
.advocacy-container .copy-div p {
    margin: 0 0 5px 0;
    font-size: 1.25vw;
}
.advocacy-container .header{
    font-family: heading;
    color: rgb(253,25,33);
    line-height: 1;
}
.international-adv{
    margin-bottom: 30px;
}

.page-template-tpl-contact_us .copy-div{
    margin: 6% 5% 0 25%;
    flex: 50%;
    font-size: 0.9vw;
}
.page-template-tpl-contact_us .contact-form{
    flex: 50%;
    background: rgb(32,32,32);
    padding: 10px 20px;
    margin-bottom: 80px;
}
.copy-div .contact-local .header, .copy-div .contact-national .header{
    font-family: heading;
    font-size: 1.75vw;
    color: rgb(253,25,33);
}
.copy-div .contact-local p, .copy-div .contact-national p{
    font-size: 1.25vw;
}
.copy-div .contact-local{
    margin-bottom: 5%;
    /*margin-left: 20%;*/
}
.flex-box {
    display: flex;
    position: relative;
}
.flex-box .col{
    flex: 50%;
    padding-right: 50px;
}

.page-template-tpl-ymca_history .copy-div{
    width: 60%;
    margin: 40px 20%;
    text-align: center;
}

.tri-text{
   position: absolute;
bottom: -3vh;
right: 21%;
text-align: left;
}

.ymca .tri-text p{
    font-family: heading;
    color: white;
    font-size: 3vw;
}
.ymca .tri-text p.quote-1 {

}
.ymca .tri-text p.quote-2 {
    -webkit-transform: translateX(-11%);
    -ms-transform: translateX(-11%);
    -o-transform: translateX(-11%);
    transform: translateX(-11%);    
}
.ymca .tri-text p.quote-3 {
    -webkit-transform: translateX(-22%);
    -ms-transform: translateX(-22%);
    -o-transform: translateX(-22%);
    transform: translateX(-22%);
}
.ymca .tri-text p.quote-4 {    
    -webkit-transform: translateX(-33%);
    -ms-transform: translateX(-33%);
    -o-transform: translateX(-33%);
    transform: translateX(-33%);
}
.ymca .tri-text p.quote-5 {    
    -webkit-transform: translateX(-44%);
    -ms-transform: translateX(-44%);
    -o-transform: translateX(-44%);
    transform: translateX(-44%);
    
}
.ymca .tri-text .span{
    font-size: 15vw;
    color: rgb(253,25,33);
    text-align: center;
    line-height: 1;
    font-family: quotemark;
    width: 75%;
}
.ymca .tri-text .span.top-speech {
    line-height: 0;
    -webkit-transform: translateY(25%);
    -ms-transform: translateY(25%);
    -o-transform: translateY(25%);
    transform: translateY(25%);
    width: 75%;
}
.main-members .member div.overflow-container{
    overflow-y: scroll;
}
.our-people .row .profile div p.role{
    font-family: heading;
    font-size: 1vw;
    text-align: center;
    margin-bottom: 5px;    
}
.main-members .member div p.role{
    font-family: heading;
    font-size: 1.5vw;
    text-align: right;
    margin-bottom: 5px;
    width: 100%;
}
.our-people .row .profile.empty{
    background-color: #ed1d24;
}
.our-people .row .profile.last{
    width: 100%;
}
.page-template-tpl-about_us .our-people .row .profile.last .profile-pic, .page-template-tpl-about_us_test .our-people .row .profile.last .profile-pic{
    height: 103%;
    left: 12%;
}
.page-template-tpl-education .our-people .row .profile.last .profile-pic, .page-template-tpl-education_test .our-people .row .profile.last .profile-pic{
    left: 19%;
    right: unset;
}
.page-template-tpl-about_us .our-people .row .profile.last div, .page-template-tpl-about_us_test .our-people .row .profile.last div{
    left: 30%;
    width: 20%;
}
.page-template-tpl-education .our-people .row .profile.last div, .page-template-tpl-education_test .our-people .row .profile.last div{
    width: 18%;
    padding: 0 1%;
}
.page-template-tpl-education .copy-div .translation p, .page-template-tpl-education_test .copy-div .translation p{
    font-family: semibold;
    font-size: 1.5vw;
}
.page-template-tpl-education .copy-div .translation, .page-template-tpl-education_test .copy-div .translation{
    text-align: center;
    margin: 40px 0 30px 0;
}
.page-template-tpl-education .copy-div .copy, .page-template-tpl-education_test .copy-div .copy{
    text-align: center;
    width: 60%;
    margin-left: 20%;
}
.page-template-tpl-education .copy-div p, .page-template-tpl-education_test .copy-div p{
    padding-bottom: 10px;
    font-size: 1.25vw;
}
.page-template-tpl-education .copy-div h2, .page-template-tpl-education_test .copy-div h2{
    padding-bottom: 15px;
    font-size: 1.5vw;
    font-family: content;
}
.page-template-tpl-education .copy-div .copy .location, .page-template-tpl-education_test .copy-div .copy .location{
    display: flex;
}
.page-template-tpl-education .copy-div .copy .location .col p, .page-template-tpl-education_test .copy-div .copy .location .col p{
    font-family: semibold;
    font-size: 1.25vw;
}
.page-template-tpl-about_us .heading, .page-template-tpl-about_us_test .heading{
    top: 30%;
}
.menu-options .flex-container div:hover span{
    font-size: 1.3vw;
    transition: .25s;
}
.menu-options .flex-container div span{
    transition: .25s;
}
.main-container .advocacy-container .advocacy-copy h6{
    padding-left: 0;
}
.main-container .advocacy-container h6{
    padding-left: 12.5%;
}
.page-template-tpl-get_involved .youtube_vid{
    width: 50%;
    background-color: #221f1f;
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 5%;
}
.mobile .page-template-tpl-get_involved .youtube_vid{
    width: 100%;
    position: relative;
    background-color: unset;
}
.ymca.mobile .youth-development .overflow-container ul li{
    margin: 25px!important;
    color: #333;
    font-size: 0.9em;
}
.youtube_vid iframe{
    margin-left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5%;
    margin-top: 5%;
}
@font-face {
    font-family: heading;
    src: url(../fonts/ArcherPro-Bold.otf);
}

@font-face {
    font-family: content;
    src: url(../fonts/ArcherPro-Medium.otf);
}

@font-face{
    font-family: semibolditalic;
    src: url(../fonts/Archer-SembdItal-Pro.otf);
}

@font-face{
    font-family: semibold;
    src: url(../fonts/Archer-Semibold-Pro.otf);
}

html.ymca body {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    font-size: 16px;
    min-width: 800px;
    background: #CBCBCA;
}

html.ymca p, html.ymcaa, html.ymca h1, html.ymca h2, html.ymca h3, html.ymca h4, html.ymca h5, html.ymca h6 {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    font-weight: 400;   
    text-transform: unset;
}

html.ymca h1 {
    font-size: 6em;
    font-size: 4.5vw;
    color: white;
    font-family: heading;
    line-height: 1;
    text-shadow: 2px 2px 8px rgb(32,32,32);
}

html.ymca h1.large {
    font-size: 8em;
    font-size: 4.5vw;
}

html.ymca h2 {
    color: white;
    font-size: 2em;
    font-family: heading;
}

html.ymca p {
    font-family: content;
}

html.ymca {
    margin-top: 0px !important;
}

html.ymca #wpadminbar {
    display: none !important;
}

img {
    display: block;
}

.top-menu {
    width: 100%;
    min-width: 800px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(32,32,32);
    z-index: 999;
}

.top-menu .homelink {
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
}

.top-menu img {
    width: 100%;
}

.menu-options {
    position: absolute;
    top: 45%;
    left: 14%;
    width: 75%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    white-space: nowrap;
}

.menu-options .flex-container {
    display: flex;
    width: 100%;
}

.menu-options .flex-container div {
    margin: auto;
}

.menu-options .flex-container div span, .menu-options .flex-container div img {
    display: inline-block;
    vertical-align: middle;
}

.menu-options .flex-container div span {
    color: white;
    font-family: content;
    font-size: 1.1em;
    font-size: 0.9vw;
}

.menu-options .flex-container div span:hover {
    color: rgb(253,25,33)!important;
}

.menu-options .flex-container div:hover img {
    margin: 0 0px 10px 10px;
    transition: .25s;
}
.menu-options .flex-container div img {
    width: 8px;
    margin: 0 0px 8px 10px;
    vertical-align: bottom;
    transition: .25s;
}

@media screen and (max-width: 1050px) {
    .menu-options .flex-container div img {
        width: 6px;
        margin: 0 22px 6px 6px;
        vertical-align: bottom;
    }
}

.menu-options p {
    color: white;
    font-size: 1.1em;
    font-size: 0.9vw;
}

.top-menu .contact {
    position: absolute;
    right: 10%;
    top: 45%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.top-menu .contact a, .top-menu .contact a:hover {
    color: white;
    font-family: content;
    position: relative;
    line-height: 1;
    text-decoration: none;
}

.top-menu .contact a img {
    position: absolute;
    left: 105%;
    top: 50%;
    width: 8px;
}

.banner {
    position: relative;
    height: 130vh;
    width: 100%;
    background: url(../../images/YMCA_Headerimage.png) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.scroll-indicator {
    cursor: pointer;
    position: absolute;
    top: calc(100vh - 180px);
    opacity: 0;
    left: 50%;
    height: 40px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-animation: scroll-animation 2s infinite;
    -moz-animation: scroll-animation 2s infinite;
    -o-animation: scroll-animation 2s infinite;
    animation: scroll-animation 2s infinite;
}

.scroll-indicator img {
    height: 100%;
}

@-webkit-keyframes scroll-animation {
  0%   { top: calc(100vh - 180px);
        opacity: 0; }
  100% { top: calc(100vh - 80px);
        opacity: 1; }
}
@-moz-keyframes scroll-animation {
  0%   { top: calc(100vh - 180px);
        opacity: 0; }
  100% { top: calc(100vh - 80px);
        opacity: 1; }
}
@-o-keyframes scroll-animation {
  0%   { top: calc(100vh - 180px);
        opacity: 0; }
  100% { top: calc(100vh - 80px);
        opacity: 1; }
}
@keyframes scroll-animation {
  0%   { top: calc(100vh - 180px);
        opacity: 0; }
  100% { top: calc(100vh - 80px);
        opacity: 1; }
}

.main-container {
    overflow: hidden;
}

.heading {
    text-align: center;
    position: absolute;
    top: 150px;
    left: 10%;
    width: 80%;
}

.heading.services {
    width: auto;
    top: 25%;
    left: unset;
    right: 9%;
}

.heading.education {
    text-align: center;
    position: absolute;
    top: 15%;
    left: 32%;
    width: 60%;
}

.heading.advocacy {
    text-align: center;
    position: absolute;
    top: 15%;
    left: 10%;
    width: 50%;
}

.banner .heading p {
    color: white;
    margin-top: 25px;
    font-size: 1.75vw;
    text-shadow: 2.5px 3px 2px rgb(32,32,32);
    line-height: 1.35;
}

.banner .heading.advocacy p {
    color: white;
    margin-top: 25px;
    font-size: 1.75vw;
    text-shadow: 2px 2px 4px rgb(32,32,32);
    line-height: 1.35;
    width: 75%;
    margin-left: 12.5%;
}

@media screen and (max-width: 950px) {
    .banner .heading p {
        font-size: 2.5vw;
    }
}

.section {
    position: relative;
}

.section .flex-container .copy div h2 {
    font-family: heading;
    color: rgb(253,25,33);
    font-size: 6em;
    font-size: 7vw;
    line-height: 1;
    text-shadow: 2px 2px 4px rgb(32,32,32);
}

.section .flex-container .copy div p {
    color: #333;
    margin-top: 15px;
    font-size: 1.2em;
    font-size: 1.25vw
}

@media screen and (max-width: 950px) {
    .section .flex-container .copy div p {
        font-size: 0.9em;
    }
}

.section .flex-container {
    display: flex;
    -webkit-flex-flow: row;
    -moz-flex-flow: row;
    -ms-flex-flow: row;
    -o-flex-flow: row;
    flex-flow: row;
}

.section-1 .flex-container .image {
    width: 55%;
    -webkit-transform: translate(0%, -25%);
    -ms-transform: translate(0%, -25%);
    -o-transform: translate(0%, -25%);
    transform: translate(0%, -25%);
}

.section-1 .flex-container .image img {
    width: 60%;
    margin-left: 15%;
    -webkit-transform: translate(-100%, 100%);
    -ms-transform: translate(-100%, 100%);
    -o-transform: translate(-100%, 100%);
    transform: translate(-100%, 100%);
    opacity: 0;
}

.section-1 .flex-container .copy {
    width: 45%;
    position: relative;
    margin-left: -5%;
}

.section-1 .flex-container .copy div {
    position: absolute;
    top: 8%;
    width: 75%;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
}

.section-1 .leftanim {
    position: absolute;
    left: 0;
    bottom: 0%;
    width: 55.5%;
    pointer-events: none;
    -webkit-transform: translate(-100%, 100%);
    -ms-transform: translate(-100%, 100%);
    -o-transform: translate(-100%, 100%);
    transform: translate(-100%, 100%);
    opacity: 0;
}

.section-2 .flex-container {
    -webkit-transform: translateY(-13.5%);
    -ms-transform: translateY(-13.5%);
    -o-transform: translateY(-13.5%);
    transform: translateY(-13.5%);
}

.section-2 .flex-container .copy {
    width: 25%;
    position: relative;
    margin-left: 10.25%;
}

.section-2 .flex-container .image {
    width: 30%;
    -webkit-transform: translate(9.5%, -2%);
    -ms-transform: translate(9.5%, -2%);
    -o-transform: translate(9.5%, -2%);
    transform: translate(9.5%, -2%);
}

.section-2 .flex-container .image img {
    width: 100%;
    opacity: 0;
    -webkit-transform: translate(50%, 100%);
    -ms-transform: translate(50%, 100%);
    -o-transform: translate(50%, 100%);
    transform: translate(50%, 100%);

}

.section-2 .flex-container .copy div {
    position: absolute;
    width: 100%;
    top: 50%;
    -webkit-transform: translate(-100%, -50%);
    -ms-transform: translate(-100%, -50%);
    -o-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
    opacity: 0;
}

.section-2 .leftanim {
    position: absolute;
    left: 0;
    top: 0; 
    pointer-events: none;
    -webkit-transform: translate(-100%, 100%);
    -ms-transform: translate(-100%, 100%);
    -o-transform: translate(-100%, 100%);
    transform: translate(-100%, 100%);
    opacity: 0;
}

.section-2 .rightanim {
    position: absolute;
    right: 0;
    top: 0;
    width: 55.5%;   
    pointer-events: none;
    -webkit-transform: translateY(-12%);
    -ms-transform: translateY(-12%);
    -o-transform: translateY(-12%);
    transform: translateY(-12%);
}

.section-2 .rightanim img {
    -webkit-transform: translate(100%, 100%);
    -ms-transform: translate(100%, 100%);
    -o-transform: translate(100%, 100%);
    transform: translate(100%, 100%);
    opacity: 0;
}

.section-3 .flex-container .image {
    width: 40%;
}

.section-3 .flex-container .image img {
    width: 100%;
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
} 

.section-3 .flex-container .copy {
    width: 30%;
    position: relative; 
}

.section-3 .flex-container .copy div {
    position: absolute;
    top: 12%;
    width: 100%;
    opacity: 0;
    -webkit-transform: translate(100%, 50%);
    -ms-transform: translate(100%, 50%);
    -o-transform: translate(100%, 50%);
    transform: translate(100%, 50%);
}

.section-3 .flex-container .copy div p {
    width: 80%;
    margin-left: 20%;
    position: relative;
}

.section-3 .flex-container .copy div p.margin-left-2 {
    width: 75%;
    margin-left: 30%;
}

.section-3 .flex-container .copy div p.margin-left-3 {
    width: 75%;
    margin-left: 40%;
}

.section-3 .flex-container .copy div p.margin-left-4 {
    width: 75%;
    margin-left: 50%;
}

.section-3 .flex-container .copy div p span {
    height: 6px;
    width: 6px;
    position: absolute;
    right: calc(100% + 10px);
    top: 15px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    background: rgb(253,25,33);
    border-radius: 50px;
}

.ymca .section-4 {
    margin: 100px 0 0 0;
    padding: 0 5%;
    background: rgb(32,32,32);
    padding-bottom: 80px;
}

.ymca .section-4 h2 {
    width: 100%;
    text-align: right;
    font-family: heading;
    font-size: 4.5vw;
    color: rgb(253,25,33);
    padding-top: 40px;
    color: white;
}

.ymca .social-feed {
    margin-top: 80px;
    width: calc(100% + 30px);
    margin-left: -15px;
    display: block;
    position: relative;
}

/*.social-feed-1 {
    margin-top: 40px;
    width: calc(100% + 30px);
    margin-left: -15px;
    display: flex;
    position: relative;
}

.social-feed-1 .item {
    width: calc(25% - 30px);
    margin: 0 15px 30px 15px;
    background: rgb(253,25,33);
}

.social-feed-1 div .image {
    width: 100%;
}

.social-feed-1 div .image img {
    width: 100%;
}

.social-feed-1 div .content {
    padding: 15px;
    background: rgb(253,25,33);
}

.social-feed-1 div .content h6 {
    font-family: heading;
    color: white;
    font-size: 1.2em;
    margin-bottom: 5px;
}

.social-feed-1 div .content p, .social-feed-1 div .content a, .social-feed-1 div .content a:hover {
    color: white;
    text-decoration: none;
}*/


/*----- Facebook Feed -----*/
.social-feed #cff {
    float: unset;   
    width: 100%;
}

.social-feed #cff .cff-author, .social-feed #cff-lightbox-wrapper .cff-author {
    float: unset;
    margin: 15px 0 0 0;
    padding: 0;
}

.social-feed #cff .cff-posts-wrap {
    float: unset;   
    display: flex;
    -webkit-flex-flow: row;
    -moz-flex-flow: row;
    -ms-flex-flow: row;
    -o-flex-flow: row;
    flex-flow: row;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

.social-feed #cff .cff-posts-wrap .cff-item {
    display: flex;
    -webkit-flex-flow: column;
    -moz-flex-flow: column;
    -ms-flex-flow: column;
    -o-flex-flow: column;
    flex-flow: column;
    width: calc(25% - 30px);
    margin: 0 15px 30px 15px;
    background: #CBCBCA;
    float: unset;
    max-height: 65vh;
    height: 65vh;
    overflow: hidden;
    padding: 0;
    position: relative;
    border-bottom: none !important;
}

.social-feed #cff .cff-posts-wrap .cff-item .read-more-facebook img{
    width: 5%;
    margin-left: 5%;
    margin-bottom: 10px;
    margin-top: 10px;
    cursor: pointer;
}
.social-feed #cff .cff-posts-wrap .cff-item .read-more-facebook {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #CBCBCA;
    text-align: right;
    z-index: 99;
}

.social-feed #cff .cff-posts-wrap .cff-item .read-more-facebook p { 
    color: white;
    font-family: heading;
    font-size: 1vw;
    padding: 10px 25px;
    cursor: pointer;
    margin: 0;
}

.social-feed .overflow-scrollbar {
    width: calc(100% - 17px);
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    padding: 15px 15px 15px 0px;
    margin-left: 17px;
    display: flex;
    -webkit-flex-flow: column;
    -moz-flex-flow: column;
    -ms-flex-flow: column;
    -o-flex-flow: column;
    flex-flow: column;
}

.social-feed #cff.cff-half-layout .cff-media-wrap, .social-feed #cff.cff-half-layout .cff-text-wrapper {
    float: unset;
    width: 100%;
}

.social-feed #cff.cff-half-layout .cff-media-wrap {
    order: 1;
}

.social-feed #cff.cff-half-layout .cff-text-wrapper {
    order: 2;
    padding: 0;
}

.social-feed #cff .cff-author .cff-page-name.cff-author-date, .social-feed #cff-lightbox-wrapper .cff-author .cff-page-name.cff-author-date, .social-feed #cff .cff-author .cff-author-text, .social-feed #cff-lightbox-wrapper .cff-author .cff-author-text {
    float: unset;
    padding: 0;
    margin: 0 !important;
    pointer-events: none;
    font-size: 1.2em !important;
    font-weight: 400;
}

.social-feed #cff .cff-author .cff-page-name.cff-author-date a, .social-feed #cff-lightbox-wrapper .cff-author .cff-page-name.cff-author-date a, .social-feed #cff .cff-author .cff-author-text a, .social-feed #cff-lightbox-wrapper .cff-author .cff-author-text a {
    color: black;
}

.social-feed .cff-page-name.cff-author-date a{
    color: rgb(253,25,33)!important;
}
.social-feed .cff-page-name.cff-author-date {
    font-family: heading;
    color: rgb(253,25,33);
    font-weight: 400;
}

.social-feed #cff .cff-author .cff-date, .social-feed #cff-lightbox-wrapper .cff-author .cff-date {
    float: right;
    color: black;
    font-family: heading;
    font-size: 0.75em;
}

.social-feed #cff .cff-post-text {
    color: black;
    font-family: content;
    margin-top: 20px !important;
}

.social-feed #cff .cff-post-text a {
    color: black;
}

.social-feed #cff .cff-post-text .cff-post-desc {
    display: none;
}

.social-feed #cff .cff-shared-link {
    padding: 0;
    margin: 20px 0;
    background: transparent;
    border: none;
}

.social-feed #cff.cff-half-layout .cff-full-size .cff-link {
    margin: 0 10px 10px 0;
    max-width: 30%;
    float: left;
}

.social-feed #cff.cff-half-layout .cff-full-size .cff-link img {
    max-width: 100%;
    float: unset;
}

.social-feed #cff.cff-half-layout .cff-full-size .cff-text-link {
    width: calc(65% - 10px);
}

.social-feed #cff.cff-half-layout .cff-full-size .cff-text-link .cff-link-title a {
    color: black;
    font-family: heading;
    font-size: 1em;
    font-weight: 400;
}

.social-feed #cff.cff-half-layout .cff-full-size .cff-text-link span, .social-feed #cff.cff-half-layout .cff-full-size .cff-text-link a {
    font-family: content;
    font-size: 1em;
    color: black;
}

.social-feed #cff.cff-half-layout .cff-meta-wrap {
    order: 3;
    float: unset;
    margin: 0;
}

.social-feed #cff.cff-half-layout .cff-meta-wrap .cff-post-links a {
    color: black;
    font-family: content;
}

.social-feed #cff.cff-half-layout .cff-photo, .social-feed #cff.cff-half-layout .cff-iframe-wrap, .social-feed #cff.cff-half-layout .cff-html5-video, .social-feed #cff.cff-half-layout .cff-vidLink {
    width: 100%;
}

.social-feed .cff-author-img {
    display: none;
}

.social-feed #cff .cff-load-more, .social-feed #cff .cff-load-more:hover, .social-feed #cff .cff-load-more:focus, .social-feed #cff .cff-load-more:active {
    width: 100%;
    float: unset;
    clear: unset;
    background: transparent;
    text-decoration: none;
    pointer-events: none;
}

.social-feed #cff .cff-load-more span, .social-feed #cff .cff-load-more span:hover {
    color: white;
    font-family: content;
    background: rgb(253,25,33);
    padding: 7px 25px;
    border-radius: 5px;
    font-size: 1.25em;
    pointer-events: all;
}

.cff-link-caption {
    color: black;
}
/*----- Facebook feed end -----*/



.section-5 {
    padding-bottom: 150px;
}

.section-5 .heading {
    position: static;
    margin-left: 25%;
}

.section-5 .heading h2 {
    font-size: 8em;
    font-size: 6.5vw;
    color: white;
    font-family: heading;
    line-height: 1;
    text-shadow: 2px 2px 8px rgb(32,32,32);
}

.section-5 .heading p {
    color: white;
    margin-top: 25px;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgb(32,32,32);
    line-height: 1.35;
}

.section-5 .topleft {
    z-index: -1;
    top: unset;
    bottom: 0;
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

.section-5 .ymca-locations {
    position: absolute;
    left: 75%;
    width: 20%;
    top: 0;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
}

.section-5 .map-location {
    min-height: 50vh;
}


/*----- All pages -----*/
.topleft {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
}

.bottomright {
    top: unset !important;
    bottom: 0;
    width: 40%;
}



/*----- Advocacy -----*/

.page-template-tpl-advocacy .banner {   
    position: relative;
    height: 120vh;
    width: 100%;
    background: url(../../images/advocacy/advocacy-banner.png) no-repeat center bottom; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.advocacy-container {
    width: 80%;
    margin: 50px 0 0 10%;
}

.advocacy-container h6 {
    font-family: heading;
    color: rgb(253,25,33);
    font-size: 2em;
    line-height: 1;
    margin-bottom: 100px !important;
}

.advocacy-container .flex-container {
    width: 100%;
    display: flex;
}

.advocacy-container .flex-container .advocacy-category {
    width: 20%;
    height: 16vw;
    margin: auto;
    /*cursor: pointer;*/
    position: relative;
}

.advocacy-container .flex-container .advocacy-category .advocacy-title {
    font-family: heading;
    color: rgb(253,25,33);
    font-size: 1.5em;
    opacity: 1;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.advocacy-container .flex-container .advocacy-category img {
    height: 50%;
    margin: auto;   
    margin-top: 12.5%;
    opacity: 1;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.civic,
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.environment,
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.employment,
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.health {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.health {
    z-index: 10;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.employment {
    /*transform: translateX(-25%);
    -ms-transform: translateX(-25%);
    -webkit-transform: translateX(-25%);*/
    left: -20vw;
    z-index: 9;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.environment {
    /*transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);*/
    left: -40vw;
    z-index: 8;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore.civic {
    /*transform: translateX(-75%);
    -ms-transform: translateX(-75%);
    -webkit-transform: translateX(-75%);*/
    left: -60vw;
    z-index: 7;
}
.advocacy-container .flex-container .advocacy-category .hoverstate {
    background: url(../../images/advocacy/YMCA_hoverstate.png);
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    text-align: center;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all .5s;
    z-index: -1;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore {
    width: 80vw;
    z-index: 1;
    opacity: 1;
    overflow: hidden;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore .readmore{
    display: none;
}
.advocacy-container .flex-container .advocacy-category .hoverstate img {
    width: 100%;
    height: 100%;
    display: none;
}

.advocacy-container .flex-container .advocacy-category .hoverstate .advocacy-copy {
/*    background: url(../../images/advocacy/YMCA_hoverstate.png);
    background-size: cover;*/
    position: absolute;
    width: 90%;
    left: 5%;
    top: 0%;
    max-height: 70%;
/*  -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);*/
}
.advocacy-container .flex-container .advocacy-category .hoverstate .readmore p{
    text-align: center;
    color: white;
    font-family: content;
    position: relative;
    z-index: 5;
    line-height: 2;
}
.advocacy-container .flex-container .advocacy-category .hoverstate .readmore img{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    margin-top: 0;
}
.advocacy-container .flex-container .advocacy-category .hoverstate .readmore {
    cursor: pointer;
    position: absolute;
    width: 60%;
    bottom: 0%;
    left: 20%;
    height: 25%;
}

.advocacy-container .flex-container .advocacy-category .hoverstate.readmore .advocacy-copy h6 {
    text-align: left;
    margin-top: 20px;
    font-size: 2.5vw;
}
.advocacy-container .flex-container .advocacy-category .hoverstate .close-hover{
    display: none;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore .close-hover{
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-family: heading;
    font-size: 2vw;
    display: block;
    cursor: pointer;
}
.advocacy-container .flex-container .advocacy-category .hoverstate .advocacy-copy h6 {
    color: white;
    font-size: 1.5em;   
    font-size: 1.25vw;
    margin-bottom: 10px !important;
    margin-top: 10px;
}

.advocacy-container .flex-container .advocacy-category .hoverstate.readmore .advocacy-copy p {
    text-align: left;
    padding-left: 0;
}
.advocacy-container .flex-container .advocacy-category .hoverstate .advocacy-copy p {
    color: white;
    font-size: 0.85vw;
    padding: 0 10px;
}
.advocacy-container .flex-container .advocacy-category .hoverstate .advocacy-copy .showless,
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore .advocacy-copy .showmore {
    display: block;
}
.advocacy-container .flex-container .advocacy-category .hoverstate.readmore .advocacy-copy .showless,
.advocacy-container .flex-container .advocacy-category .hoverstate .advocacy-copy .showmore {
    display: none;
}
.desktop .advocacy-container .flex-container .advocacy-category:hover img, 
.desktop .advocacy-container .flex-container .advocacy-category:hover .advocacy-title {
    opacity: 0;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.desktop .advocacy-container .flex-container .advocacy-category:hover .hoverstate, 
.desktop .advocacy-container .flex-container .advocacy-category:hover .hoverstate img {
    opacity: 1;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    z-index: 4;
}



/*----- History -----*/

.page-template-tpl-ymca_history .main-container {
    margin: 125px 0 0px 0;
}

.page-template-tpl-ymca_history .topleft {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    /*z-index: 2;*/
}

.ymca .page-template-tpl-ymca_history h1 {
    text-align: center;
    /*margin-bottom: 75px;*/
    position: relative;
}

.history-slider .swiper-slide .top-section h2 {
    color: #333;
    font-family: heading;
    text-align: left;
    margin-right: 15%;
    margin-left: 20px;
}

.history-slider .swiper-slide .top-section h2 span {
    color: rgb(253,25,33);
    margin-right: 5%;
}

.history-slider .swiper-slide .top-section div {
    height: 300px;
    width: 100%;
}

.history-slider .swiper-slide .top-section p {
    color: #333;
    height: 100%;
    width: calc(100% - 20px);
    padding: 0 0 0 20px;
}

.history-slider .swiper-slide .top-section img.year175 {
    height: auto;
    width: 50%;
}
.history-slider .swiper-slide .top-section img {
    height: 100%;
    float: right;
    margin-left: 20px;
}

.history-slider .swiper-slide .top-section p span {
    display: block;
    margin-top: 20px;
}

.history-slider .swiper-slide .bottom-section {
    background: rgb(253,25,33);
    position: relative;
}

.history-slider .swiper-slide .bottom-section img {
    width: 100%;
}

.history-slider .swiper-slide .bottom-section .year {
    position: absolute;
    top: 50%;
    left: 54%;
    color: white;
    font-family: heading;
    font-size: 2.5vw;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1;
}

.history-slider .swiper-slide .bottom-section .year span {
    font-size: 1.5vw;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background: none;
    position: absolute;
    top: unset;
    /*bottom: 10%;*/
    right: 20px;
    height: auto;
    width: 40px;
    -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background: none;
    position: absolute;
    top: unset;
    /*bottom: 10%;*/
    right: 20px;
    height: auto;
    width: 40px;
    -webkit-transform: translateY(50%) rotate(180deg);
    -ms-transform: translateY(50%) rotate(180deg);
    -o-transform: translateY(50%) rotate(180deg);
    transform: translateY(50%) rotate(180deg);
}

.history-slider.mobile {
    display: none;
}

.page-template-tpl-ymca_history .copy-div p {
    font-size: 1.25vw;
}

.history-slider .swiper-slide .top-section h2 {
    color: black;
    font-family: heading;
    text-align: center;
    margin-right: 0;
    margin-left: 0;
    line-height: 1.2;
    font-size: 1.65vw;
}

.history-slider .swiper-slide .top-section p {
   color: black;
    height: 100%;
    width: 70%;
    padding: 0;
    min-height: 12.5vw;
    max-height: 12.5vw;
    margin-left: 15%;
    margin-top: 10px;
    text-align: center;
    font-size: 0.95vw;
    line-height: 1.4;
}

.history-slider .swiper-slide .top-section h2 span {
    margin-right: 0;
}

.history-slider .swiper-slide .top-section div {
    width: 100%;
    height: auto;
    text-align: center;
}

.history-slider .swiper-slide .top-section div img {
    height: 250px !important;
    width: auto !important;
    float: none;
    margin: auto;
}

@media screen and (max-width: 1650px) {
    .history-slider .swiper-slide .top-section div img {
        height: 175px !important;
    }
}

@media screen and (max-width: 1350px) {
    .history-slider .swiper-slide .top-section div img {
        height: 125px !important;
    }
}


.mobile .page-template-tpl-ymca_history .copy-div {
    width: 80%;
    margin: 40px 10%;
}

.mobile .history-slider .swiper-slide .top-section h2 {
    color: black;
    font-family: heading;
    text-align: center;
    margin-right: 0;
    margin-left: 0;
    line-height: 1.2;
    font-size: 1.5em;
}

.mobile .history-slider .swiper-slide .top-section img {
    position: static;
    height: 175px !important;
    margin: 0;
    width: auto !important;
    margin: auto;
}



/*----- About Us -----*/

.page-template-tpl-about_us .banner, .page-template-tpl-about_us_test .banner { 
    position: relative;
    height: 100vh;
    width: 100%;
    background: url(../../images/about_us/YMCA_aboutus_banner.png) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.banner .heading p span {
    font-family: heading;
    color: rgb(253,25,33);
    font-size: 2.5em;
    font-size: 4vw
}

.main-members {
    width: 100%;
    display: none;
}

.management_about_us {
    display: block;
    width: 100%;
}

.main-members .member {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.main-members .member img {
    width: 100%;
}

.main-members .member .flex-box div{
    text-align: center;
}
.main-members .member .flex-box {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50%;
    padding: 0 2.5% 0 2.5%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    align-items: center;
}

.main-members .member:nth-child(2n) div {
    right: 45%;
    left: unset;
}

.main-members .member div h6 {
    font-family: heading;
    font-size: 2.5em;
    font-size: 2.5vw;
    text-align: right;
}

.main-members .member:nth-child(2n) div h6 {
    text-align: left;
}

.main-members .member div p {
    font-size: 0.9vw;
    text-align: right;
}

.main-members .member.alt div p {
    text-align: left;
}

.board-members {
    text-shadow: 2px 2px 8px rgb(32,32,32);
    text-align: center;
    padding: 25px 0 !important;
    font-size: 3.5em !important;
}

/*@media screen and (max-width: 1200px) {
    .main-members .member div h6 {
        font-size: 2em;
    }
}*/



/*----- Services -----*/

.page-template-tpl-services .banner, .page-template-tpl-services-new .banner {  
    position: relative;
    height: 100vh;
    width: 100%;
    background: unset;
    /*background: url(../../images/services/YMCA_serivces_banner.png) no-repeat center bottom; */
    /*-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
    /*background-color: rgb(253,25,33);*/
}

.page-template-tpl-services .swiper-slider, .page-template-tpl-services-new .swiper-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden
}

.page-template-tpl-services .swiper-slider .swiper-slide, .page-template-tpl-services-new .swiper-slider .swiper-slide {
    height: 100vh;
    width: 100vw;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
/*.page-template-tpl-services .swiper-slider .swiper-slide.slide-1, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-1 {
    background: url(../../images/services/NZYMCA01.png) no-repeat center center;
    background: url(../../images/services/Image1-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-2, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-2 {
    background: url(../../images/services/Image2-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-3, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-3 {
    background: url(../../images/services/Image3-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-4, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-4 {
    background: url(../../images/services/Image4-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-5, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-5 {
    background: url(../../images/services/Image5-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-6, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-6 {
    background: url(../../images/services/Image6-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-7, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-7 {
    background: url(../../images/services/Image7-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-8, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-8 {
    background: url(../../images/services/Image8-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-9, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-9 {
    background: url(../../images/services/Image9-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-10, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-10 {
    background: url(../../images/services/Image10-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-11, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-11 {
    background: url(../../images/services/Image11-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-12, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-12 {
    background: url(../../images/services/Image12-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-13, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-13 {
    background: url(../../images/services/Image13-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-14, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-14 {
    background: url(../../images/services/Image14-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-15, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-15 {
    background: url(../../images/services/Image15-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-16, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-16 {
    background: url(../../images/services/Image16-16x9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}*/
.page-template-tpl-services .swiper-slider .swiper-slide.slide-1, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-1 {
    background: url(../../images/services/1.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-2, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-2 {
    background: url(../../images/services/2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-3, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-3 {
    background: url(../../images/services/3.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-4, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-4 {
    background: url(../../images/services/4.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-5, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-5 {
    background: url(../../images/services/5.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-6, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-6 {
    background: url(../../images/services/6.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-7, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-7 {
    background: url(../../images/services/7.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-8, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-8 {
    background: url(../../images/services/8.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-9, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-9 {
    background: url(../../images/services/9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.page-template-tpl-services .swiper-slider .swiper-slide.slide-10, .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-10 {
    background: url(../../images/services/10.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
/*----------mobile---------*/
/*.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-1, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-1 {
    background: url(../../images/services/mobile/Image1v3.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-2, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-2 {
    background: url(../../images/services/mobile/Image2v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-3, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-3 {
    background: url(../../images/services/mobile/Image3v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-4, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-4 {
    background: url(../../images/services/mobile/Image4v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-5, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-5 {
    background: url(../../images/services/mobile/Image5v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-6, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-6 {
    background: url(../../images/services/mobile/Image6v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-7, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-7 {
    background: url(../../images/services/mobile/Image7v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-8, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-8 {
    background: url(../../images/services/mobile/Image8v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-9, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-9 {
    background: url(../../images/services/mobile/Image9v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-10, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-10 {
    background: url(../../images/services/mobile/Image10v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-11, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-11 {
    background: url(../../images/services/mobile/Image11v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-12, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-12 {
    background: url(../../images/services/mobile/Image12v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-13, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-13 {
    background: url(../../images/services/mobile/Image13v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-14, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-14 {
    background: url(../../images/services/mobile/Image14v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-15, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-15 {
    background: url(../../images/services/mobile/Image15v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-16, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-16 {
    background: url(../../images/services/mobile/Image16v2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}*/
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-1, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-1 {
    background: url(../../images/services/mobile/1.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-2, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-2 {
    background: url(../../images/services/mobile/2.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-3, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-3 {
    background: url(../../images/services/mobile/3.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-4, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-4 {
    background: url(../../images/services/mobile/4.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-5, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-5 {
    background: url(../../images/services/mobile/5.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-6, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-6 {
    background: url(../../images/services/mobile/6.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-7, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-7 {
    background: url(../../images/services/mobile/7.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-8, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-8 {
    background: url(../../images/services/mobile/8.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-9, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-9 {
    background: url(../../images/services/mobile/9.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.mobile .page-template-tpl-services .swiper-slider .swiper-slide.slide-10, .mobile .page-template-tpl-services-new .swiper-slider .swiper-slide.slide-10 {
    background: url(../../images/services/mobile/10.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


.page-template-tpl-services .main-container .overflow-container p a, .page-template-tpl-services-new .main-container .overflow-container p a{
    color: white;
}

.page-template-tpl-services .main-container .overflow-container ul, .page-template-tpl-services-new .main-container .overflow-container ul{
    list-style: disc outside none;
    margin-left: 1em;
    color: white;
    font-family: semibold;
}
.page-template-tpl-services .main-container .overflow-container, .page-template-tpl-services-new .main-container .overflow-container {
/*  overflow-y: scroll;
    height: 150px;*/
}
.page-template-tpl-services .main-container, .page-template-tpl-services-new .main-container {
    overflow-x: hidden;
}

.ymca .ymca-aquatics h2, .ymca .youth-development h2, .ymca .health-and-fitness h2, .ymca .outdoor-recreation h2, .ymca .afterschool-care h2, .ymca .early-childhood-education h2, .ymca .early-childhood-education h2, .ymca .community-recreation h2 {
    margin-bottom: 20px;
    font-size: 1.5vw;
}

.ymca .ymca-aquatics p, .ymca .youth-development p, .ymca .health-and-fitness p, .ymca .outdoor-recreation p, .ymca .afterschool-care p, .ymca .early-childhood-education p, .ymca .early-childhood-education p, .ymca .community-recreation p {
    color: white;
    margin-top: 10px !important;
    font-size: 1.25vw;
}
.ymca .youth-development .overflow-container ul li a{
    text-decoration: underline;
    color: rgb(253,25,33);
}
.ymca .youth-development .overflow-container ul li{
    color: white;
    font-size: 1.25vw;
    font-family: content;
}

.early-childhood-education ul li {
    font-size: 1.25vw;
    margin-left: 20px;
}

.ymca-aquatics {
    position: relative;
    background: rgb(253,25,33);
    width: 100%;
    padding: 0px 10% 50px 55%;
    z-index: 2;
}

/*.ymca .ymca-aquatics img {
    position: absolute;
    left: 5%;
    width: 40%;
    bottom: 0%;
    z-index: 1;
}*/

.youth-development, .outdoor-recreation, .early-childhood-education, .ymca-aquatics {
    background: rgb(32,32,32);
    width: 100%;
    padding: 175px 55% 50px 10%;
    position: relative;
}

.ymca-aquatics::after {
    content: '';
    position: absolute;
    top: 0;
    left: -35%;
    width: 135%;
    height: 0px;
    border-left: 135vw solid transparent;
    border-right: 0px solid transparent;
    border-top: 200px solid #CBCBCA;
}

.youth-development::after, .outdoor-recreation::after, .early-childhood-education::after {
    content: '';
    position: absolute;
    top: 0;
    left: -35%;
    width: 135%;
    height: 0px;
    border-left: 135vw solid transparent;
    border-right: 0px solid transparent;
    border-top: 200px solid #CBCBCA;
}

.outdoor-recreation img, .early-childhood-education img, .ymca .ymca-aquatics img {
    position: absolute;
    bottom: 0;
    right: 1%;
    width: 40%;
    z-index: 1;
}

.youth-development {
    overflow: hidden;
}

.youth-development img {
    position: absolute;
    bottom: -2px;
    right: 1%;
    width: 45%;
    z-index: 1; 
}

.health-and-fitness, 
.afterschool-care, 
.community-recreation { 
    background: rgb(253,25,33);
    width: 100%;
    padding: 175px 10% 50px 55%;
    position: relative;
}

.afterschool-care {
    overflow: hidden;
}

.health-and-fitness::after, 
.afterschool-care::after, 
.community-recreation::after {
    content: '';
    position: absolute;
    top: 0;
    right: -35%;
    width: 135%;
    height: 0px;
    border-right: 135vw solid transparent;
    border-left: 0px solid transparent;
    border-top: 200px solid #CBCBCA;    
}

.ymca .health-and-fitness img, .community-recreation img {  
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 40%;
    z-index: 1;
}

.ymca .afterschool-care img {
    position: absolute;
    bottom: -2px;
    left: 5%;
    width: 45%;
    z-index: 1;
}

.local-ymcas {
    padding: 75px 10%;
}

.local-ymcas h6 a{
    color: rgb(253,25,33);
}
.local-ymcas h6 {
    font-family: heading;
    color: #333;
    font-size: 1.6em;
    margin-bottom: 10px !important;
}

.local-ymcas .flex-container {
    display: flex;
    flex-flow: row;
}

.local-ymcas .flex-container .column:not(:first-child) {
    margin-left: 7.5%;
}

.local-ymcas .flex-container .column p {
    margin-bottom: 10px;    
    font-size: 1.2em;
}

.local-ymcas .flex-container.mobile {
    display: none;
}



/*----- Map -----*/

.page-template-tpl-map .heading {
    position: static;
    margin-left: 20%;
    margin-top: 125px;
    width: 60%;
}

.page-template-tpl-map .heading p {
    color: white;
    margin-top: 25px;
    font-size: 1.75vw;
    text-shadow: 2px 2px 4px rgb(32,32,32);
    line-height: 1.35;
}

.ymca-locations {
    position: absolute;
    left: 75%;
    width: 20%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ymca-locations .new-zealand-map {
    width: 100%;
}

.location-details {
    position: absolute;
    background: white;
    padding: 20px 15px 15px 15px;
    border-radius: 15px;
    -webkit-transform: translate(-50%, -100%);
    -ms-transform: translate(-50%, -100%);
    -o-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
    display: none;
}

.location-details.current {
    /*display: block;*/
}

.location-details p {
    font-size: 0.7em;
    white-space: nowrap;
}

.location-details .location-name {
    font-family: heading;
    color: #333;
}

.location-details .phone {
    margin-top: 5px;
}

.location-details .close {
    position:absolute;
    top: 0px;
    right: 15px;
    cursor: pointer;
}

.location-indicator {
    cursor: pointer;
    position: absolute;
    width: 15px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.location-indicator.auckland {
    top: 20%;
    left: 65%;
}

.location-indicator.tauranga {
    top: 25%;
    left: 76%;
}

.location-indicator.hamilton {
    top: 28%;
    left: 70%;
}

.location-indicator.gisborne {
    top: 31%;
    left: 92%;
}

.location-indicator.southwaikato {
    top: 32%;
    left: 78%;
}

.location-indicator.newplymouth {
    top: 34%;
    left: 60%;
}

.location-indicator.hawkesbay {
    top: 36%;
    left: 81%;
}

.location-indicator.wanganui {
    top: 38%;
    left: 66%;
}

.location-indicator.palmerstonnorth {
    top: 42%;
    left: 72%;
}

.location-indicator.wellington {
    top: 48%;
    left: 68%;
}

.location-indicator.nelson {
    top: 58%;
    left: 54%;
}

.location-indicator.christchurch {
    top: 73%;
    left: 48%;
}

.location-indicator.canterbury {
    top: 80%;
    left: 35%;
}

.location-indicator.invercargill {
    top: 92%;
    left: 18%;
}
.location-indicator img{
    position: absolute;
}
.location-indicator.current .black,
.location-indicator:hover .black{
    transform: scale(1.8);
}
.location-indicator.current .black,
.location-indicator:hover .black,
.location-indicator .white{
    display: block;
}
.location-indicator .black,
.location-indicator.current .white,
.location-indicator:hover .white{
    display: none;
}
.map-location .location.active{
    display: block;
}

.map-location {
    width: 50%;
    margin-left: 25%;
    margin-top: 75px;
    min-height: 400px;
    position: relative;
}

.map-location .location {
    display: none;
}

.map-location .location.current {
    display: block;
}

.map-location h6 {
    font-family: heading;
    font-size: 1.5em;
    font-size: 1.25vw;
    margin-bottom: 20px !important;
    color: #333;
}

.map-location p {
    font-size: 1vw;
}

.map-location p a {
    text-decoration: underline;
    /*color: blue;*/
}

.map-location p.phone a, .map-location p.address a, .map-location p.location-name a, .map-location p.email a {
    text-decoration: none;
    /*color: rgb(32,32,32) !important;*/
}

.map-location .flex-container {
    display: flex;
    flex-wrap: wrap;
}

.map-location .flex-container div {
    width: 40%;
    margin-bottom: 40px;
    margin-top: 0;
    margin-right: auto;
}

.map-location .flex-container div .location-name {
    font-family: heading;
    color: rgb(253,25,33);
}

.map-location .flex-container div .phone {
    margin-top: 20px;
}

.map-location .flex-container div p span {
    font-family: heading;
    color: #333;
}

.map-location .flex-container div p a {
    margin-right: 5px;
}



/*----- Footer -----*/

footer {
    position: relative;
    width: 100%;
}

footer .footer-background {
    width: 100%;
}

footer .contact-details {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 55%;
}

footer .contact-details .flex-container {
    display: flex;
    -webkit-flex-flow: row;
    -moz-flex-flow: row;
    -ms-flex-flow: row;
    -o-flex-flow: row;
    flex-flow: row;
}

footer .contact-details .flex-container div {
    flex: 1;
    margin: auto;
    margin-top: 0;
}

footer .contact-details .flex-container div h6 {
    font-family: heading;
    font-size: 1.25vw;
    color: rgb(253,25,33);
    margin-bottom: 5px; 
}

footer .contact-details .flex-container div p, footer .contact-details .flex-container div a, footer .contact-details .flex-container div a:hover {
    color: white;
    font-size: 1.1vw;
    text-decoration: none;
    margin-bottom: 3px;
}

footer .enquiries {
    position: absolute;
    bottom: 10%;
    left: 15%;
    color: white;
    font-size: 1.1vw;
}

footer .enquiries a, footer .enquiries a:hover {
    color: white;
    font-size: 1.1vw;
    text-decoration: none;
}

footer .social-links {
    position: absolute;
    right: 1.5%;
    bottom: 0;
    width: 10%;
    padding: 0 0 1% 0;
}

footer .social-links div {
    margin-bottom: 5px;
    white-space: nowrap;
}

footer .social-links img, footer .social-links p {
    display: inline-block;
    vertical-align: middle;
    color: white;
    font-size: 0.75vw;
}

footer .social-links img {
    width: 15%;
    margin-right: 10px;
}

footer .logo {
    position: absolute;
    width: 10%;
    right: 3.5%;
    top: 10%;
}

footer .my-hub, footer .my-hub:hover, footer .my-hub:active, footer .my-hub:focus {
    position: absolute;
    bottom: 10%;
    left: 51.67%;
}

footer .my-hub a {
    font-size: 1.25vw;
    color: rgb(253,25,33);
    font-family: heading;
    text-decoration: underline;

}




@media screen and (max-width: 1500px) {
    footer .contact-details .flex-container div h6, footer .contact-details .flex-container div p, footer .enquiries {
        font-size: 90%;
    }
}

@media screen and (max-width: 1200px) {
    footer .contact-details .flex-container div h6, footer .contact-details .flex-container div p, footer .enquiries  {
        font-size: 80%;
    }
}

@media screen and (max-width: 1000px) {
    footer .contact-details .flex-container div h6, footer .contact-details .flex-container div p, footer .enquiries {
        font-size: 70%;
    }
}

@media screen and (max-width: 801px) {
    footer .contact-details .flex-container div h6, footer .contact-details .flex-container div p, footer .enquiries {
        font-size: 60%;
    }
}

.mobile {
    display: none;
}

/*div.our-people {
    display: none;
}*/

.our-people-placeholder-desktop {
    display: block;
    width: 100%;
}


/*----- Education and About us -----*/

.our-people .row {
    flex-wrap: wrap;    
}

.our-people .row .profile {
    width: 100%;
    overflow: hidden;
}

.our-people .row .profile .profile-pic {
    right: 10%;
    height: 130%;
}

.our-people .row:nth-child(2n) .profile .profile-pic {
    right: 10%;
    left: unset;
}

.our-people .row .profile:nth-child(2n) .profile-pic {
    right: unset;
    left: 10%;
}

.our-people .row .profile div.scrollable {
    position: absolute;
    top: 50%;
    left: 2.5%;
    width: 66%;
    padding: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    overflow-y: visible;
    text-align: center;
    display: flex;
    align-items: center;
}

.our-people .row .profile:nth-child(2n) div.scrollable { 
    left: unset;
    right: 2.5%;
    width: 66%;
}

.our-people .row .profile div.scrollable .nametitle {
    width: 30%;
}

.our-people .row:nth-child(2n) .profile div .nametitle {
    left: unset;
    right: unset;
    width: 30%;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
}

.our-people .row .profile div.scrollable .nametitle h6 {
    font-size: 2.2vw;
    margin: 0;
}

.our-people .row .profile div.scrollable .nametitle .role {
    font-size: 1.25vw;
    margin: 0;
}

.our-people .row .profile div.scrollable .profilecopy {
    width: 65%;
    margin-left: 5%;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
}

.our-people .row .profile:nth-child(2n) div.scrollable .profilecopy {
    margin-left: 0%;
    margin-right: 5%;
}

.our-people .row .profile div.scrollable .profilecopy p {
    font-size: 1vw;
    text-align: left;
}

.our-people .row .profile:nth-child(2n) div.scrollable .profilecopy p {
    text-align: right;
}

.main-members {
    display: block
}

.main-members .member img.profile-pic {
    position: absolute;
    width: 32%;
    top: 50%;
    left: 16%;
    right: unset;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
}

.main-members .member:nth-child(2n) img.profile-pic {
    right: 16%;
    left: unset;
}

.main-members .member .flex-box {
    position: absolute;
    left: 45%;
    top: 50%;
    width: 53%;
    padding: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    align-items: center;
}

.main-members .member div p {
    text-align: right;
    font-size: 1.15vw;
    line-height: 1.25;
}

.board-members-title h6 {
    text-align: center;
    font-family: heading;
    font-size: 3vw;
    padding: 40px 0 !important;
}
/*======= Publications ========*/
.publications_div{
    min-height: 70vh;
}

.publications-container{
    padding-top: calc(15% + 150px);
    margin-left: 35%;
    width: 30%;
    padding-bottom: 5%;
}

.publications_div .heading h1.large{
    font-size: 7.5vw;
}
.publications_div .heading .subtitle{
    font-size: 1.2vw;
    color: white;
    font-family: heading;
    text-shadow: 2px 2px 8px rgb(32,32,32);
}

.publications-container .pdf_div.active{
    display: block;
}
.publications-container .pdf_div{
    display: none;
    padding: 5px 15px;
}
.publications-container .tab_title{
    position: relative;
    padding: 10px 15px;
    font-family: heading;
}

.publications-container .tab_title span.active img.open,
.publications-container .tab_title span img.close{
    display: none;
}
.publications-container .tab_title span.active img.close,
.publications-container .tab_title span img.open{
    display: block;
}
.publications-container .tab_title span img{
    position: absolute;
}
.publications-container .tab_title span{
    position: absolute;
    right: 15px;
    width: 20px;
    cursor: pointer;
}
.publications-container .cate{
    margin-bottom: 30px;
    border: 1px solid rgb(253,25,33);
}

