.main_title{
    color: #532f92;
    font-weight: 400;
    text-align: center;
}

.banner-text-container.grey {
    background-color: #ece9f5;
}

/*styles for signpost page*/
#main-content.sign-post-body{
    background: #f0f0f0;
}
.signpost-row{
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
}
.signpost-col .signpost-ban-content{
    padding: 30px;
}
.signpost-col.col-1 .signpost-ban-content{
    flex: 0 0 380px;
}
.signpost-col.col-1 .signpost-img{
    width: 100%;
}
@media screen and (max-width: 640px){
    .signpost-col.col-1 .signpost-ban-content{
        flex: 1;
    }
    .signpost-col.cs-grid.col-1{
        flex-direction: column;
    }
}
.signpost-ban-content .desc{
    margin-bottom: 30px;
}
.signpost-col.col-1 img{
    width: auto;
    height: 100%;
    max-width: inherit;
}
.cs-grid img{
    width: 100%;
    height: auto;
}
/*end of signpost page*/

/*---------------------styles for custom grid---------------*/
.cs-grid{
    background: #fff;
    display: flex;
    flex-direction: column;
}
@media (max-width: 1023px){
    .cs-grid{
        width: 100%;
    }
}
.cs-grid:hover{
    background: #663399;
    color: #fff;    
}
.cs-grid:hover h3,
.cs-grid:hover p{
    color: #fff;
}
.cs-grid.col-1{
    flex-direction: row;
}
.cs-grid.col-2{
    margin-bottom: 20px;
}
.cs-grid.col-2:nth-child(2n + 2){
    margin-right: 0;
}

.regular-donation .select2-container {
    margin-bottom: 20px;
    flex: 0 0 calc(50% - 10px);
}

.select2-container--open .select2-dropdown {
    border: none;
    box-shadow: 0 1px 1px 0 #aaa;
    overflow: hidden;
}

.terms-text{
    font-size: 12px;
    margin: 0 0 20px;
}

.terms-text p{
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.select2-search--dropdown {
    display: none;
}

.select2-results__option {
    padding: 5px 15px;
    color: #444;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 56px;
    padding-left: 15px;
    color: #444;
}

.regular-donation .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px;
    width: 30px;
    top: 12px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0 8px 8px;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #d72d99;
    color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 8px 8px 0;
    left: 10px;
}

.select2-container .select2-selection--single {
    height: 56px;
    border: none;
}

.signpost-col.col-2 .signpost-img {
    height: 330px;
}

.col-2 .cs-grid-body {
    height: calc(100% - 330px);
}

.more-project-wrapper .cs-block a {
    position: relative;
}


.more-project-wrapper .cs-block a:before {
    position: absolute;
    content: 'read more';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-weight: bold;
    text-align: center;
    color: #fff;
    font-size: 24px;
    padding-top: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    box-sizing: border-box;
    opacity: 0;
}

.more-project-wrapper .cs-block:hover a:before {
    opacity: 1;
}

.more-project-wrapper .slug-name{
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

.more-project-wrapper .slug-name span{
    position: relative;
    z-index: 2;
    left: 10px;
    top: 10px;
}

.more-project-wrapper .slug-name:before{
    content: '';
    width: 0;
    height: 0;
    border-top: 120px solid #cc3399;
    border-right: 120px solid transparent;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.entry-content ul.order-list {
    margin-top: 40px;
}

.entry-content .dn-amount ul.order-list {
    margin-top: 0;
}

#left-area {
    padding-bottom: 0;
}

@media (min-width: 1024px){
    .cs-grid.col-2{
        width: 48%;
        margin-right: 4%;
        margin-bottom: 4%;
    }
}

.cs-grid.col-3{
    margin-bottom: 20px;
}
.cs-grid.col-3:nth-child(3n + 3){
    margin-right: 0;
}


@media (min-width: 1024px){
    .cs-grid.col-3{
        width: 32%;
        margin-right: 2%;
        margin-bottom: 2%;
    }
}

.cs-grid-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
/*------------end of custom grid-------------------*/

/*--------------styles for form elements-----------------------*/
input.text,
input.title,
input[type=email],
input[type=password],
input[type=tel],
input[type=text],
select,textarea{
    display: block;
    width: 100%;
    color: #444;
    background: #fff;
    border-radius: 4px;
    padding: 16px 15px;
    border: 0 none;
    font-size: 18px;
    max-width: 475px;
    margin: 0 auto;
    resize: none;
}
.wpcf7-form{
    max-width: 100%;
    margin: 50px 0 0;
}

.contact-form-btn {
    margin-top: 30px;
}
.single-donation input.text,
.wpcf7-form input.text,
.single-donation input.title,
.wpcf7-form input.title,
.single-donation input[type=email],
.single-donation input[type=password],
.single-donation input[type=tel],
.single-donation input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=password],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=text],
.single-donation select,
.single-donation textarea,
.wpcf7-form select,
.wpcf7-form textarea{
    max-width: 100%;
}

label{
    font-size: 20px;
    line-height: 30px;
    color: #532f92;
    font-family: "Nunito";
    font-weight: 300;
    text-align: center;
}

.page-news-events .et_pb_section,
.page-contact-us .et_pb_section{
    background: #f0f0f0;
}
.child-sidebar-menu{
    max-width: 700px;
    margin: 30px auto 0;
}
.sidebar-center {
    max-width: 360px;
    margin: auto;
    padding-right: 0;
    border: 0 none;
}

.more-project-wrapper > div.latest-grid:hover{
    background: #663399;
    color: #fff;
}

.more-project-wrapper > div.latest-grid:hover h3 a{
    color: #fff;
}

.gift-aid-logo{
    text-align: center;
}

.gift-aid-logo img{
    width: 180px;
    height: auto;
    margin-bottom: 30px;
}

.dn-amount .left > div .full-name{
    overflow: hidden;
}

.dn-amount .left > div .full-name input{
    width: 48%;
    margin-left: 0;
    margin-right: 0;
    float: left;
}

.dn-amount .left > div .full-name input:first-child{
    margin-right: 4%;
}

.content-container .more-project-wrapper li{
    float: left;
    margin-right: 17px;
    margin-bottom: 17px;
}

.content-container .more-project-wrapper li:nth-child(5n + 5){
    margin-right: 0;
}

.logo_image {
    display: inline-block;
}

.page-heading .sub-heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.flip-box {
    background-color: transparent;
    width: 220px;
    height: 175px;
    perspective: 1000px;
    cursor: pointer;
    }

    .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    }

    .flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
    }

    .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    }

    .flip-box-back {
    background-color: #cc3399;
    color: white;
    line-height: 175px;
    transform: rotateY(180deg);
    font-size: 24px;
    }

    .additional-content {
        padding: 30px 0 50px;
    }


@media (max-width: 1199px){
    .content-container .more-project-wrapper li:nth-child(5n + 5) {
        margin-right: 17px;
    }

    .content-container .more-project-wrapper li:nth-child(4n + 4) {
        margin-right: 0px;
    }

    .logo-listing {
        max-width: 932px;
        margin: 0 auto;
    }
}


@media (max-width: 1023px){
    .dn-amount .left > div .full-name input {
        width: 100%;
        margin: 0 0 15px;
    }
}

@media (max-width: 991px){
    .content-container .more-project-wrapper li:nth-child(4n + 4) {
        margin-right: 17px;
    }

    .content-container .more-project-wrapper li:nth-child(3n + 3) {
        margin-right: 0px;
    }

    .logo-listing {
        max-width: 696px;
        margin: 0 auto;
    }
}

@media (max-width: 767px){
    .content-container .more-project-wrapper li:nth-child(3n + 3) {
        margin-right: 17px;
    }

    .content-container .more-project-wrapper li:nth-child(2n + 2) {
        margin-right: 0px;
    }

    .logo-listing {
        max-width: 458px;
        margin: 0 auto;
    }
    .et_header_style_left .logo_container{
        width: 65%;
    }
    .signpost-col .signpost-img{
        min-height: max-content;
        overflow: inherit;
    }
    .signpost-col .signpost-img img{
        object-fit: cover;
        height: 100%;
    }
    .signpost-col.col-1 img{
        width: 100%;
        height: auto;
    }
    .main_title{
        font-size: 34px;
    }
}

@media (max-width: 499px){
    .content-container .more-project-wrapper li,
    .content-container .more-project-wrapper li:nth-child(5n + 5),
    .content-container .more-project-wrapper li:nth-child(4n + 4),
    .content-container .more-project-wrapper li:nth-child(2n + 2),
    .content-container .more-project-wrapper li:nth-child(3n + 3) {
        margin: 0 0 15px;
    }

    .logo-listing {
        max-width: 220px;
        margin: 0 auto;
    }
    .btn{
        min-width: inherit;
    }
}



/*-----------------end of form elements--------------------*/

.donation_thank_textarea, .donation_thank_submit{
    margin:10px auto;
}
.donation_thank_textarea{
    border:1px solid #ccc;
    max-width:90%;
}


/* june css 2021 */
.simpay-styled .simpay-form-control .simpay-btn:not(.stripe-button-el) {
    text-decoration: none;
    text-align: center;
    font-family: Roboto,"Open Sans",Segoe UI,sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: #24b47e;
    background-image: none;
    display: block;
    height: 36px !important;
    line-height: 1.5;
    width: 100%;
    margin: 0;
    padding: 6px 10px;
    border: 0;
    border-radius: 4px;
    outline: none;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
}
.simpay-form-control{
    clear: both;
}
.StripeElement{
    width:100% !important;
}
.simpay-checkout-btn-container{
    display: flex;
}
.simpay-card-wrap, .simpay-customer-name-wrap {
    margin-bottom: 20px!important;
}
.simpay-styled .simpay-form-control legend, .simpay-styled .simpay-form-control label{
    margin-bottom: 2px  !important;
}