/* The newer Update with OurStories Page Logo style */

a.submit_story {
    background: #cf2030;
    padding: 0 10px;
    border-radius: 30px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    min-width: 45%;
    font-size: 18px;
    border: 2px solid transparent;
    letter-spacing: 0.36px;
    margin-top: 20px;
    transition: all 0.3s ease-in;
}
a.submit_story:hover {
    background: #ffffff;
    color: #cf2030;
    border: 2px solid #cf2030;
    text-decoration: none;
}
.testimonial_col_block {
    height: 356px;
    margin-bottom: 30px;
}
.testimonial_list_block {
    height: 100%;
    border-radius: 15px;
    transition: all 0.3s ease-in;
}
.testimonial_list_block:hover {
    box-shadow: 0px 0px 17px #00000054;
}
.testimonial_content_block,
.testimonail_info_titles {
    padding: 15px;
}

.testimonial_content_block{
    border-bottom: 2px solid #fff;
    height: 200px;
}

.testimonial_video_thumbnail {
    position: relative;
    left: -15px;
    top: -15px;
    width: calc(100% + 30px);
    background:#FFFFFF;
    border: 1px solid #f2f2f2;
}
.testimonial_slider_thumb {
    flex-direction: column;
}

div#bni-story-logo img {
    width: 250px;
    margin-bottom: 40px;
}

.testimonial_video_thumbnail img {
    width: 78%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.testimonee_pic.position-relative img {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 5px;
    border-radius: 100%;
}
span.testimonial_quote {
    color: #cf2030;
    font-size: 26px;
}

.testimonial_list_block p {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.32px;
    margin-bottom: 0px;
    color: #000;
}

.youtubevideo .playbutton {
    width: 50px;
    height: 50px;
    font-size: 0px;
    border:1px solid #c8c8c8;
    box-shadow: 0px 0px 3px #00000029;
}

span.playbutton i {
    font-size: 26px;
}

.testimonial_country_read {
    position: absolute;
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 60px);
}

.testimonial_country_read span.testimonee_country {
    color: #64666a !important;
    font-weight: bold;
    font-size: 18px;
}

span.testimonial_rd_btn,
a.testimonial_rd_btn {
    background: #cf2030;
    padding: 5px 10px;
    border-radius: 33px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    border:2px solid transparent;
    transition: all 0.3s ease-in;
}

span.testimonial_rd_btn:hover,
a.testimonial_rd_btn:hover {
    background: #ffffff;
    color: #cf2030;
    border-color:#cf2030;
}

a.testimonial_rd_btn {
    position: relative !important;
    margin-bottom: 10px;
    display: inline-flex;
    width: 100px;
    color:#fff;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.yt_thumb_img {
    width: 100% !important;
}

a.stories_list_btn {
    margin-bottom: 0px !important;
}

.testimonail_info_titles p {
    color:#64666a;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0;
}

#testimonial_slider .carousel-control-next, #testimonial_slider .carousel-control-prev {
    width: 40px;
    opacity: 1;
    border: none;
    box-shadow: none;
    height: 54px;
    top: 48%;
    background: none;
    text-decoration: none;
    cursor: pointer;
}

#testimonial_slider .carousel-control-next i.fa, #testimonial_slider .carousel-control-prev i.fa {
    color: #000;
    font-size: 52px;
    font-weight: 100;
    transition: all 0.3s ease-in-out;
}

#testimonial_slider .carousel-control-next i.fa:hover,
#testimonial_slider .carousel-control-prev i.fa:hover {
    color: #cf2030;
}

#testimonial_slider .carousel-control-prev {
    left:-100px;
}

#testimonial_slider .carousel-control-next {
    right: -100px;
}

.written_slider_content img {
    display: block;
    margin: 0;
}

.written_slider_content i.fas {
    font-size: 42px;
    color: #cf2030;
    margin: 50px 0 20px;
}

.written_slider_content .slider_testimonial_quote {
    font-size: 24px;
    letter-spacing: 0.32px;
    font-weight: bold;
    line-height: 30px;
    margin: 0px 0 30px;
}

h5.slider_testimonial_name {
    margin: 20px 0;
    font-size: 24px;
}

h5.slider_testimonial_name span {
    color: #64666A;
}

h5.slider_testimonial_name {
     margin: 20px 0 10px;
 }

p.slider_testimonial_profession {
    font-weight: bold;
    letter-spacing: 0.36px;
}

#testimonial_slider{
    width: 100%;
    margin: 0 auto;
}

.slider_thumb {
    width: 55%;
    margin: 0 auto;
    text-align: center;
    background: url("https://www.bni.com/wp-content/uploads/2023/02/bg-circle.png") no-repeat center center /100%;
    background-size: 100%;
    height: 100%;
    display: flex;
    padding: 10px 0;
    align-items: center;
    justify-content: center;
}

.slider_thumb img {
    width: 94.5%;
    border-radius: 100%;
}

.carousel-item.active {
    display: flex !important;
}

#ourstoryCarousel .playbutton {
    width: 75px;
    height: 75px;
    font-size: 0;
}

#ourstoryCarousel span.playbutton i {
    font-size: 42px;
}

.youtubevideo.slider_video_thumb {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#FFFFFF;
    border: 1px solid #f2f2f2;
}

.container.single_story_block {
    margin: 80px auto !important;
    border-radius: 11px !important;
}

.single_story_columns {
    display: flex;
    align-items: center;
}

.col-12.story_content_block {
    padding: 40px;
}

.ourstories_close_icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #cf2030;
    font-size: 48px;
    margin-top: -10px;
}

.storyImgThumb img{
    border-radius: 11px;
}
.top_icons {
    color: #cf2030;
    font-size: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.top_icons.video_close {
    justify-content: flex-end;
}

span.text_quote {
    margin-top: 40px;
}

a.close_icon {
    margin-top: -10px;
}

p.summary_testimonial {
    font-weight: bold;
    font-size: 24px;
    line-height: 30px;
    margin: 20px 0 30px;
}
/*
.single_video .testimonial_video_thumbnail{
    left:0;
    top:0;
    width: 100%;
}

.single_video .youtubevideo .playbutton {
    width: 100px;
    height: 100px;
}

.single_video .youtubevideo span.playbutton i {
    font-size: 52px;
}
*/
.single_video {
    margin-bottom: 30px;
}

.single_video .ourStoriesVideoBlock {
    padding: 25%;
    position: relative;
    background-size: cover;
    background-position: center center;
    border: 1px solid #f2f2f2;
}

.single_video .youtubevideo .playbutton{
    width: 100px;
    height: 100px;
    font-size: 0;
    border:1px solid #c8c8c8;
}

.single_video span.playbutton i{
    font-size: 52px;
}

.ourStoriesVideoBlock iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    box-shadow: 0 0 1px #c8c8c8
}

.our-story-single-footer {
    position: relative;
}

.our-story-single-footer::before {
    content: "";
    background: #f2f2f2;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100% - 75px);
    z-index: -1;
}

.cta-content-section {
    height: calc(100% - 75px);
    position: relative;
    top: 75px;
    display: flex;
    flex-direction: column;
    width: 75%;
    justify-content: center;
}

.cta-content-section h2,
.cta-content-section h4 {
    letter-spacing: 0.48px;
}

.cta-content-section img {
    margin: 10px 0 20px;
}

.cta-content-section a {
    font-size: 18px;
    width: 200px;
    margin-top: 20px;
    text-align: center;
    background: #cf2030;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    padding: 5px 20px;
    transition: background-color .5s, color .3s, border-width .3s;
}

.cta-content-section a:hover {
    color: #cf2030;
    border-color: #cf2030;
    background: #ffffff;
}

@media only screen and (min-width: 1650px) {
    .bigContainer.container {
        margin: 0 auto;
        max-width: 100%;
        width: 85%;
    }
}

@media only screen and (max-width: 1400px) {
    #ourstoryCarousel .carousel-inner {
        width: 80%;
        margin:0 auto;
    }
    #testimonial_slider .carousel-control-prev {
        left:0px;
    }

    #testimonial_slider .carousel-control-next {
        right: 0px;
    }
}

@media only screen and (max-width: 1200px) {
    .cta-content-section {
        width: 85%;
    }
    div#bni-story-logo img {
        width: 200px;
        margin-bottom: 0;
    }
    .written_slider_content .slider_testimonial_quote {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    .written_slider_content p{
        font-size: 16px;
    }
    h5.slider_testimonial_name {
        font-size: 20px;
    }
    p.slider_testimonial_profession {
        font-size: 14px;
    }
    .written_slider_content i.fas {
        margin: 0;
    }
}

@media only screen and (max-width: 992px) {
    #ourstoryCarousel .row {
        flex-direction: column-reverse;
    }
    .written_slider_content {
        text-align: center;
    }
    .written_slider_content img {
        display: block;
        margin: 20px auto 0;
    }
    .single_video .youtubevideo .playbutton{
        width: 75px;
        height: 75px;
    }
    div#bni-story-logo {
        margin-bottom: 20px;
    }
    .slider_thumb {
        width: 200px;
    }

    .single_video span.playbutton i{
        font-size: 39px;
    }
    .our-story-single-footer::before {
        top: 50px;
        height: calc(100% - 50px);
    }
    .cta-content-section {
        width: 95%;
        height: calc(100% - 50px);
        top: 50px;
    }
    .cta-content-section img {
        margin: 5px 0;
    }
    .cta-content-section a {
        font-size: 16px;
        width: 180px;
        margin-top: 15px;
    }

}

@media only screen and (max-width: 767px) {
    .written_slider_content img {
        width: 60%;
        margin: 20px auto;
    }
    .written_slider_content i.fas {
        font-size: 32px !important;
    }
    .single_video .youtubevideo .playbutton{
        width: 50px;
        height: 50px;
        font-size: 0;
    }
    .single_video span.playbutton i{
        font-size: 26px;
    }
    .cta-content-section {
        width: 100%;
    }
    .cta-content-section h2 {
        font-size: 24px;
    }
    .cta-content-section h4 {
        font-size: 16px;
        margin-bottom: 0px;
    }
    .cta-content-section h4.lineLeft::after {
        margin: 10px 0 !important;
    }
    .cta-content-section a {
        font-size: 12px;
        width: 150px;
        margin-top: 5px;
    }
}

@media only screen and (max-width: 576px) {
    .testimonial_video_thumbnail img {
        width: 100%;
        height: auto;
    }
    .testimonial_col_block {
        height: auto;
    }
    .testimonial_content_block {
        height: auto;
        padding: 0 15px;
    }
    .testimonail_info_titles {
        height: 150px;
    }
    .testimonial_video_thumbnail {
        position: relative;
        left: -15px;
        top: 0;
        width: calc(100% + 30px);
    }
    .testimonial_list_block p:last-child {
        margin-bottom: 15px;
    }

    a.submit_story {
        height: auto;
        padding: 10px;
        font-size: 18px;
    }
    .col-12.story_content_block {
        padding: 30px;
    }
    span.text_quote {
        margin-top: 20px;
    }
    a.close_icon {
        margin-top: -15px;
    }
    p.summary_testimonial,
    .story_content_block h4 {
        font-size: 20px;
    }
    .cta-big-image img {
        margin: 0 auto;
        display: block;
    }
    .cta-content-section {
        height: calc(100% - 20px);
        top: 20px;
        width: 100%;
        align-items: center;
    }
    .cta-content-section h2 {
        margin-top: 20px;
    }
    .cta-content-section h4.lineLeft::after {
        content:none;
    }
    .cta-content-section a {
        font-size: 14px;
        width: 200px;
        margin:10px auto 20px;
    }
    .cta-content-section img {
        margin: 15px 0;
    }
    .cta-content-section a {
        font-size: 16px;
        margin: 10px auto 50px;
    }

}

@media only screen and (max-width: 450px) {
    a.submit_story {
        height: auto;
        padding: 10px;
        font-size: 18px;
        line-height: 22px;
        width: 235px;
    }
    p.slider_testimonial_profession {
        font-size: 12px;
    }
}