/*
    Style template Planned Giving
*/
.BBFormFieldContainer span.BBFormFieldLabel#bboxdonation_billing_lblOptInIntro {
    width: 87% !important;
}

.main-content-bg #breadcrumbs-container.panel {
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

/* .page-title-main-pg {
    padding-right: 85px;
} */

.height-pg-content {
    /* height: 560px; */
    overflow: hidden;
}

.height-pg-content .img-content img {
    transform: translateY(-140px);
}

.main-content-pg {
    margin-bottom: 65px;
}

.featured-image-container-pg {
    height: 500px;
    background-position: 0px -235px;
}
.featured-image-container-pg .vcenter {
    text-align: center;
    margin-top: 25%;
}

.featured-image-container-pg .vcenter .page-title span {
    color: #fff;
    text-shadow: -1px 2px 2px #000;
}

.underline-image {
    margin-left: -180px;
}

.pg-container {
    margin-top: 40px;
}

.pg-container .block-content {
    background: #fff;
    padding: 0;
}

h3.block-title {
    margin: 20px 0 20px 20px;
}

h3.block-title > * {
    vertical-align: middle;
    display: inline-block;
}

h3.block-title span {
    padding-left: 15px;
    font-size: 20px;
}

.pg-container .block-content {
    margin-bottom: 40px;
}

.pg-container .block-content .block-content-text {
    padding: 0 50px;
}

.pg-container .block-content .block-content-text p {
    padding-right: 70px;
    line-height: 1.5;
}

.pg-container .block-content .block-list-content {
    padding-left: 50px;
}

.pg-container .block-content .block-list-content ul {
    list-style-image: url('../images/planned-giving/bullet.png')  ;
}

.pg-container .block-content .block-list-content ul li {
    line-height: 2;
} 

.block-content-how-can .block-list-content ul li {
    line-height: 1.5 !important;
}

/* .pg-container .block-content .block-list-content ul li span {
    margin-left: 10px;
} */

.img-content {
    position: relative;
    padding-right: 0;
}

.img-content .info-img {
    position: absolute;
    top: 25%;
    padding: 0 55px;
}

/* .img-content .info-img .splash-link a, */
.img-content .info-img h4,
.img-content .info-img h2 {
    color: #fff;
    font-weight: 600;
    text-shadow: -1px 2px 2px #000 !important;
}

.img-content .info-img h4 {
    opacity: 0.9;
    margin-bottom: 20px;
}

.img-content img {
    float: right
}

.img-content .info-img .splash-link,
.banner-bottom-story .splash-link {
    height: 35px;
    width: auto;
    margin-bottom: 25px;
    display: inline-block;
    overflow: hidden;
}

.img-content .info-img .splash-link a,
.banner-bottom-story .splash-link a {
    font-size: 16px;
    font-weight: 600;
    text-shadow: none;
    text-transform: uppercase;
    padding: 5px 10px;
    display: block;
    position: relative;
    z-index: 2;
    /*
    color: #fff;
    border-bottom: 1px dotted #fffc00;
    transition-duration: 1s;
    */
    background-color: #fffc00;
    color: #0b3850;
}

.banner-bottom-story .splash-link .menu-link-background {
    margin-top: 2px !important;
}

/* .banner-bottom-story .info-img a, */
.banner-bottom-story .info-img h2,
.banner-bottom-story .info-img h4 {
    text-shadow: -1px 2px 2px #000;
}

.img-content .info-img .splash-link .menu-link-background {
    margin-top: 6px;
}

/*
.img-content .info-img .splash-link a:hover,
.banner-bottom-story .splash-link a:hover  {
    color:#0b3850;
    text-shadow: none !important;
}
.img-content .info-img .splash-link:hover .menu-link-background,
.banner-bottom-story .splash-link:hover .menu-link-background {
    transform: translateX(40%) rotate(60deg);
}
*/

.block-content-2 {
    /* background: url(../images/forwardstripe.png), url(../images/planned-giving/block2-bg.jpg); */
    background-repeat: no-repeat;
    background-position: 50% 0, -220px 0px;
    background-size: contain;
    padding-top: 60px;
    margin-bottom: 40px;
    padding: 45px 0;
    clear: both;
    height: 600px;
}

.block-form-how-can-page {
    /* background: url(../images/forwardstripe.png), url(../images/planned-giving/Grand-Parents.png); */
    background-repeat: no-repeat;
    background-size: contain;
}

.block-content-2 .form-content {
    background: #fff;
    padding: 35px 60px 35px 20px;
    margin-bottom: 40px;
}

.block-content-2 .form-to-fill {
    padding: 0 60px 0 80px;
}

.block-content-2 .form-to-fill form .form-group input {
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: none;
    border-radius: 0;
    border-width: 3px;
    border-color: #6c947b;
}

.block-content-2 .form-to-fill form .form-group input::-webkit-input-placeholder {
    color: #6c947b;
} 

.btn-submit-gift {
    background: #6c947b; 
    padding: 7px 40px;
    margin-top: 20px;
}

.btn-submit-gift:hover {
    background-color: #363737;
    border-color: #363737;
    box-shadow: 4px 4px 0px 0px rgba(116, 160, 136, 0.7) !important;
    transform: translate3d(-4px, -4px, 0);
}
.cta-buttons {
    padding: 31px 0 31px;
}
.bouton, 
.cta-buttons a {
    display: inline-block;
    background-color: #6e917c;
    color: #fff;
    font-weight: bold;
    border: 0;
    padding: 6px 12px 5px;
    margin-bottom: 8px;
}
.cta-buttons a {
    min-width: 240px;
}
.bouton:hover, 
.cta-buttons a:hover {
    color: #fff;
    border: 0;
}
.modal-backdrop.in {
    display: none;
}
.modal.in {
    background-color: rgba(0, 0, 0, .75);
}
.modal-dialog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 540px;
    height: 100vh;
}
.modal-content {
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    border: 0;
    padding-bottom: 49px;
}
.modal-header {
    padding: 0;
}
.modal-header .close {
    color: #fff;
    font-size: 48px;
    line-height: 1;
    font-weight: normal;
    text-shadow: none;
    opacity: 1;
}
.modal-body {
    background-color: #fff;
    padding: 16px 32px 32px;
}
.modal-body h4 {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 18px;
}
.modal-body img {
    width: 100%;
    height: auto;
}
.modal-body .contenu {
    padding-left: 24px;
}
.modal-body .contenu a:not(.bouton) {
    color: #6e917c;
}

/* radio */

.form-to-fill form .radio label:focus > input {
    background: url(../images/planned-giving/radio-bg.png);
    background-position: -15px -5px;
    background-repeat: no-repeat;
    background-size: 40px 40px;
}



/* End radio */

.block-content-3 .story-carousel {
    margin-top: 30px;
    margin-bottom: 100px;
}

.block-content-3 .story-carousel .cover-image {
    width: 370px;
    height: 350px;
    overflow: hidden;
}

.info-overlay {
    position: absolute;
    bottom: 20%;
    left: 0px;
    background: #E8E8E8;
    padding: 10px 15px;
    display: none;
    width: 210px;
}

.story-carousel-img-container {
    display: flex;
    justify-content: center;
}

.story-image {
    padding-right: 10px;
    position: relative;
}

.story-image:last-child {
    padding-right: 0;
}

/* .story-image:hover .info-overlay { */
.story-image .info-overlay {
    display: block;
}

.story-carousel .story-image .info-overlay::before {
    content: "";
    display: inline-block;
    position: absolute;
    background-image: url(../images/forwardstripe.png);
    background-repeat: no-repeat;
    background-size: cover;
    top: -15px;
    left: -22px;
    width: 65px;
    height: 110px;
    z-index: 0;
}

.info-overlay .name {
    font-weight:700;
    position:relative;
    z-index:1;
}

.info-overlay .name a {
    color:#0b3850;
    font-size: 20px;
    line-height: 1;
    border: none !important;
}

.strong-text {
    font-weight: bold;
}


/* How can leave a gift */

.height-block {
    height: auto;
    overflow: hidden;
}

.height-block .block-title span {
    width: 95%;
}

.height-block .text-content {
    padding-right: 50px;
}

.legal-name-how {
    text-align: center;
}

.legal-name-how img {
    float: none;
}

.infor-legal-name {
    top: 45% !important;
    padding: 0 25px !important;
}

.infor-legal-name p {
    font-size: 18px;
    color: #fff;
    text-shadow: -1px 2px 2px #000;
}

.how-can-leave-title {
    font-size: 22px;
}

.list-how-can-page li {
    line-height: 1.5 !important;
    margin-bottom: 5px;
}

.list-how-can-page li span {
    margin-left: 0 !important;
}

.form-to-fill h4 {
    margin-left: -35px;
    padding-top: 10px;
}

.block-form-how-can-page {
    height: 650px;
    background-position: 70% 0, -245px -30px;
}

/* Story gift page */
.details-content-stories p {
    line-height: 1.5;
}

.page-title-story-gift {
    font-weight: 700;
    font-size: 35px;
    position: relative;
    z-index: 1;
}

.entry-content-story {
    clear: both;
    overflow: auto;
    margin-top: -65px;
}

.cover-content-story {
    background: #fff;
    padding: 0 0 35px 0;
}

.cover-content-story header {
    margin-bottom: 25px;
}

.entry-content-story .wp-caption {
    border: none;
}

.cover-img-story-person {
    width: 260px;
}

.img-person-story {
    margin: 0 auto;
    width: 250px;
    height: 250px;
}

.banner-bottom-story {
    height: 100%;
    background-color: #0b3850;
    margin-top: 35px;
}
.banner-bottom-story .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: strech;
    -ms-flex-align: strech;
    align-items: strech;
    margin-left: 0;
    margin-right: 0;
}
.banner-bottom-story .visuel {
    background-size: cover;
    background-position: center center; 
}
.banner-bottom-story .contenu {
    display: table-cell;
    padding: 12px 32px 32px;
}
.banner-bottom-story h2 {
    color: #fff;
}
.banner-bottom-story .retour {
    display: block;
    color: #fff;
    text-align: right;
}

.no-padding {
    padding-right: 0 !important;
}

/* Responsive */

@media only screen and (min-width: 768px) {
    
    .planned-dots-carousel {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {

    .BBFormFieldContainer span.BBFormFieldLabel#bboxdonation_billing_lblOptInIntro {
        width: 100% !important;
    }

    .story-carousel-img-container .story-image .cover-image {
        width: 310px;
        height: auto;
    }

    .pg-container .block-content {
        height: auto;
    }

    /* .block-content-how-can {
        background: #0b3850 !important;
    } */

    .text-content-how-can {
        background: #fff;
        padding-bottom: 20px;
    }

    h3.block-title span {
        width: 400px;
    }

    .height-pg-content .img-content img {
        height: auto;
    }

    .legal-name-how img {
        padding-top: 150px
    }

    /* Story */
    .banner-bottom-story .info-img {
        top: 20%;
    }

}

@media only screen and (max-width: 992px) {
    .banner-bottom-story .visuel {
        display: none;
    }
}


@media only screen and (max-width: 768px) {
    /* banner */
    .featured-image-container-pg {
        background-position: 0px 0;
    }

    /* content */

    .story-carousel-img-container .story-image .cover-image {
        width: 230px;
        height: auto;
    }

    h3.block-title span {
        width: 300px;
    }

    .height-pg-content .text-content {
        margin-bottom: 20px;
    }

    .pg-container .block-content .text-content {
        width: 100%;
    }

    .pg-container .block-content .img-content {
        width: 100%;
        overflow: hidden;
    }

    .pg-container .block-content .img-content img {
        transform: translateY(0px);
    }

    .height-pg-content {
        height: auto;
    }

    .height-pg-content .img-content img {
        height: auto;
        width: 100%;;
    }

    .img-content .info-img h4 {
        padding-top: 10px;
    }

    section.form-content h3.block-title span {
        width: 350px;
    }

    .block-content-3 h3.block-title span {
        width: auto;
    }
    
    .block-content-2 .form-content {
        float: right;
        clear: both;
        width: 455px;
        padding: 20px;
    }

    .block-content-2 .form-to-fill {
        padding: 0 20px;
    }

    /* how can */
    .height-block {
        height: auto;
    }

    .legal-name-how {
        height: auto;
    }

    .legal-name-how img {
        padding-top: 25px;
    }

    .infor-legal-name {
        width: 100%;;
        margin-bottom: 25px;
    }

    .form-to-fill h4 {
        margin-left: 0;
    }

    .btn-submit-gift {
        width: 100%;
    }

    .pg-container .block-content {
        margin-bottom: 80px;
    }

    .block-form-how-can-page {
        background-position: 150px 0, -172px 0px;
    }

    .banner-bottom-story .info-img {
        top: 25%;
    }

    .entry-content-story .single-entry-content {
        padding: 0 25px;
    }
}
  
@media only screen and (max-width: 480px) {
    /* banner */
    .featured-image-container-pg .vcenter {
        margin-top: 50%;
    } 
    
    .underline-image {
        margin-left: 0;
    }

    /* Content */
    .pg-container {
        margin-top: 0;
    }

    .height-pg-content .text-content {
        padding-top: 30px;
    }

    h3.block-title {
        margin-top: 0;
    }

    h3.block-title span,
    section.form-content h3.block-title span,
    .block-content-3 h3.block-title span {
        width: 300px;
    }

    .pg-container .block-content .block-content-text {
        padding: 0 20px;
    }

    .pg-container .block-content .block-content-text p {
        padding-right: 0;
    }

    .pg-container .block-content .block-list-content {
        padding-left: 20px;
        padding-bottom: 20px;
    }

    .pg-container .block-content .block-list-content ul {
        -webkit-padding-start: 25px;
    }

    .height-pg-content,
    .height-pg-content .img-content img {
        height: auto;
    }

    .height-pg-content .img-content {
        overflow: auto
    }

    .img-content .info-img {
        top: 28%
    }

    .page-title-main-pg {
        padding-right: 0;
    }

    .block-content-2 {
        background: none;
        height: auto;
        padding: 0;
    }

    .block-content-2 .form-content {
        padding: 30px 0;
        float: none;
        width: auto;
    }

    .block-content-2 .form-to-fill {
        padding: 0 25px;
    }

    section.form-content .form-to-fill form .form-group:last-child {
        text-align: center;
    }

    .planned-dots-carousel li:first-child {
        margin-right: 10px;
    }

    .planned-dots-carousel li:last-child {
        margin-left: 10px;
    }
    
    .planned-dots-carousel li {
        border: 2px solid #474745;
        padding: 4px;
        background: #fff;
    }

    .planned-dots-carousel li:hover,
    .planned-dots-carousel li:focus,
    .planned-dots-carousel .active{
        background: #474745;
    }

    .story-carousel-img-container {
        display: block;
    }

    .planned-dots-carousel {
        position: relative;
        margin-left: 0;
        width: auto;
        left: 0;
        bottom: 0;
        margin-top: 10px;
    }

    .story-image {
        padding-right: 0;
    }

    .story-image .cover-image {
        margin: 0 auto;
    }

    .block-content-3 .story-carousel .cover-image {
        width: 370px;
        height: 350px;
    }

    /* How can page */
    .height-block .text-content {
        padding-top: 30px;
        padding-right: 0;
    }

    .how-can-list {
        padding-right: 20px;
    }

    .height-block {
        height: auto;
    }

    .legal-name-how {
        height: auto;
    }

    .legal-name-how img {
        padding-top: 20px;
    }

    .infor-legal-name {
        padding: 20px 25px !important;
    }

    .form-to-fill h4 {
        margin-left: 0;
    }

    /* story  */

    .cover-img-story-person {
        width: 100%;
    }

    .single-entry-content img {
        width: 100%;
        height: auto;;
    }
    
    .cover-content-story {
        overflow: hidden;
    }

    .cover-content-story .single-entry-content {
        padding: 0 15px;
    }

    .banner-bottom-story .info-img h2 {
        font-size: 14px;
    }

    .banner-bottom-story .info-img h4 {
        font-size: 12px;
    }

    .banner-bottom-story .info-img .splash-link a {
        font-size: 12px;
    }

    .banner-bottom-story .info-img .splash-link .menu-link-background {
        margin-top: 8px !important;
    }

    .banner-bottom-story .info-img {
        top: 3%;
        left: 50px;
    }

    .entry-content-story {
        margin-bottom: 30px;
    }
}
  
@media only screen and (max-width: 320px) {

    h3.block-title span,
    section.form-content h3.block-title span,
    .block-content-3 h3.block-title span {
        width: 250px;
    }

    .pg-container .block-content .block-content-text {
        padding: 0 20px !important;
    }

    .pg-container .block-content .block-list-content ul {
        padding-right: 10px;
    }

    .info-img .page-title-main-pg {
        font-size: 24px;
    }

    .img-content .info-img {
        top: 20%;
        padding: 0 20px;
    }

    .img-content .info-img .splash-link a {
        font-size: 14px;
    }
    
    .banner-bottom-story .info-img {
        top: 0;
    }

    .banner-bottom-story .info-img h2 {
        margin-top: 7px;
    }
}