/*******************************************************
 *
 * Charity
 *
 *******************************************************/

 .ft-cont-agent.is-page-communities{
    display: block;
}

.ft-cont-agent.is-default{
    display: none;
}

 .ip-banner canvas {
    background-image: url(../../images/charities/charities-banner.jpg)!important;
}

.ip-banner:before {
    background: rgba(0,0,0,0.35);
}

.ip-ch-lines {
    position: absolute;
    content: '';
    top: 0;
    left: 21.4%;
    width: 100%;
    height: 100%;
    max-width: 47.253%;
    margin: 0 auto;
    z-index: 3;
    pointer-events: none;
}

.ip-ch-lines:before, .ip-ch-lines:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0.063vw;
    height: 37.4%;
    background: rgba(8,48,93,.08);
    z-index: 1;
}

.ip-ch-lines:after {
    height: 9%;
    right: 0;
    left: auto;
}




.ip-ch-elines {
     position: absolute;
     content: '';
     bottom: 0;
     left: 44.9%;
     width: 100%;
     height: 15%;
     max-width: 43.77%;
     margin: 0 auto;
     z-index: 1;
     pointer-events: none;
}

.ip-ch-elines:before, .ip-ch-elines:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0.063vw;
    height: 100%;
    background: rgba(8,48,93,.08);
    z-index: 1;
}

.ip-ch-elines:after {
    height: 46%;
    right: 0;
    left: auto;
    bottom: 0;
    top: auto;
}

#ip-charities .global-title h2 {
    font-size: 7.5vw;
    line-height: 1;
    letter-spacing: 0.020em;
    font-weight: 400;
}


#ip-charities  .parallax-title-accent.is-left .parallax-text-holder:last-of-type {
    left: -3.3%;
    width: 16%;
    top: 0;
    bottom: auto;
    z-index: 2;
}


#ip-charities  .parallax-text-holder:last-of-type .parallax-text h2 {
    -webkit-text-stroke-color: rgba(12,41,74,0.14);
}

 #inner-page-wrapper {
     margin-bottom: 0;
 }

.ip-banner:after {
    position: absolute;
    content: '';
    top: 0;
    left: 39.8%;
    width: 0.063vw;
    height: 100%;
    background: rgba(255,255,255,0.24);
    z-index: 1;
}

#ip-charities {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
    overflow: hidden;
}

.ip-ch-container {
    display: block;
    position: relative;
    padding: 6.25vw 0 13.25vw;
}

.ip-ch-bg-left {
    position: absolute;
    bottom: 7.75vw;
    left: 0;
    height: 38.52%;
    width: 20.784%;
    pointer-events: none;
    background-color: #06274b;
    z-index: 1;
}

.ip-ch-bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 31.965%;
    height: calc(100% - 5.75vw);
    pointer-events: none;
}

.ip-ch-wrapper {
    display: block;
    position: relative;
}

.custom-container {
    padding: 0 5.625vw;
}

.custom-container {
    display: block;
    position: relative;
}

.ip-ch-title {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 2.5vw;
}

.ip-ch-content {
    display: block;
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0 auto 3.125vw;
}

.ip-ch-logos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.ip-ch-logo-item {
    width: calc(100% / 6);
    text-align: center;
    padding: 0.938vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    cursor: pointer;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: transform 500ms, -webkit-transform 500ms;
}


.ip-ch-logo-item:hover {
    -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
            transform: translateY(-10px);
}

.ip-ch-main {
    display: block;
    width: 100%;
    position: relative;
    margin: 0 auto;
    max-width: 73.125vw;
    z-index: 2;
    padding-bottom: 1.875vw;
}

.ip-ch-content p {
    font-size: 1vw;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.020em;
    color: #000;
    font-family: var(--roboto);
}

.ip-ch-bg-left canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.ip-ch-bg-left:before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    width: calc(100% - 10vw);
    height: calc(100% - 5.5vw);
    background: #fff;
}

.ip-ch-bg-right:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: calc(100% - 5.625vw);
    height: calc(100% - 5.625vw);
    background: #fff;
    z-index: 2;
}

.ip-ch-bg-right canvas {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../images/contact-us/contact-us-accent-bg.jpg);
    display: block;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.15;
}


.ip-ch-logo-img {
    display: block;
    position: relative;
}

.ip-ch-logo-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    -o-object-fit: contain;
       object-fit: contain;
}
/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    .ip-banner:after {
        display: none;
    }

    #ip-charities .global-title h2 {
        font-size: 60px;
    }

   #ip-charities .parallax-title-accent.is-left .parallax-text-holder:last-of-type {
        left: -2.2%;
        width: 100%;
        max-width: 115px;
    }

    .ip-ch-main {
        max-width: 1150px;
        padding-bottom: 50px;
    }

    .ip-ch-logo-item {
        width: calc(100% / 3);
        padding: 15px;
    }

    .ip-ch-bg-left {
        bottom: 0;
        height: 30%;
        width: 160px;
    }

    .ip-ch-container {
        padding: 80px 0 50px;
        margin-bottom: 50px;
    }
    
    .ip-ch-bg-right:before,
    .ip-ch-bg-left:before {
        width: calc(100% - 50px);
        height: calc(100% - 50px);
    }

    .ip-ch-bg-right {
        height: 100%;
        width: 160px;
    }



    .ip-ch-elines {
        display: none;
    }

    .ip-ch-content p {
        font-size: 14px;
    }

    .ip-ch-content {
        margin-bottom: 30px;
    }

    .ip-ch-title {
        margin-bottom: 44px;
    }

    .custom-container {
        padding: 0 50px;
    }
    
    .ip-ch-lines {
        left: 0;
        right: 0;
        max-width: 65%;
    }

    .ip-ch-lines:before, .ip-ch-lines:after {
        width: 1px;
        height: 15%;
    }
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .custom-container {
        padding: 0 30px;
    }


    .ip-ch-bg-right:before,
    .ip-ch-bg-left:before {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
    }

    .ip-ch-bg-right, .ip-ch-bg-left {
        width: 100px;
    }

    .ip-ch-logo-item {
        padding: 15px;
    }
}

@media only screen and (max-width: 567px) {
   .ip-ch-logo-item {
        width: calc(100% / 2);
        padding: 10px;
    }

    .custom-container {
        padding: 0 15px;
    }

    .ip-ch-bg-right:before, .ip-ch-bg-left:before {
        width: calc(100% - 15px);
        height: calc(100% - 15px);
    }

    .ip-ch-main {
        padding-bottom: 0;
    }

    #ip-charities .global-title h2 {
        font-size: 45px;
    }

    .ip-ch-container {
        padding: 50px 0 50px;
    } 
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {


}