/* .page-section-bg-one {
    background-image: linear-gradient(to right, #fed267c4, #fed267c4), url(../img/bg/bg.webp);
}

.page-section-bg-two {
    background-image: linear-gradient(to right, #42a1ffc4, #42a1ffc4), url(../img/bg/bg.webp);
} */

.online-library-btn {
    background-color: var(--ed-tertiary-color);
    padding: 10px 20px;
    font-weight: 500;
    color: #011c1a;
    border-radius: 50px;
    outline-offset: -3px;
    outline: 1px solid #fff;
    transition: all 0.3s ease;
}

.online-library-btn:hover {
    background-color: #011c1a;
    color: #fff;
    outline-offset: -3px;
    outline: 1px solid #fff;
}

.logo-group {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    gap: 10px;
}

/* .logo-group .group-logo-text h1 {
     font-size: 30px;
     font-weight: 400;

 } */
/* .logo-group .group-logo-text h3 {
     font-size: 14.5px;
     font-weight: 400;
     line-height: 0;

 } */

/* .logo-group .group-logo-text {
     background: #24176d;
     transition: all 0.3s ease;
 } */

/*
 .logo-group .group-logo-text:hover {
     background-color: #fed267;
 } */

.logo-group .group-logo-text h1 {
    font-size: 32px;
    font-weight: 600;
    color: #285f7e;
    margin: 0;
    font-family: heading-font-light;
    /* padding: 5px 20px; */
    letter-spacing: 1px;
}

.logo-group .group-logo-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: #285f7e;
    text-align: center;
    font-style: italic;
    font-family: heading-font-light;
}


.logo-group.f-logo .group-logo-text h1 {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: left;

}

.logo-group.f-logo .group-logo-text h3 {
    font-size: 10.5px;
    font-weight: 400;
    line-height: 0;

}

.library-img {
    border: 1px solid #011c1a;
}

.library-container {
    position: relative;
}

.library-container::after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, .8));
    z-index: 9;
    position: absolute;
    inset: 0;
}

.library-container .library-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.library-container .library-content h1 {
    color: #fff;
    line-height: 1.2;
}

.ed-footer {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, .7)), url(../img/bg/6.webp);
}


#smooth-wrapper {
    position: static !important;
}

body.height-100 {
    height: 100vh;
}

.iframe-container {
    height: 1500px;
}

.iframe-container iframe {
    height: 100%;
    width: 100%;
    border: none;
}

.ed-about__content.padding-left-zero {
    padding-left: 0 !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.page-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.ed-section-head p {
    text-align: justify;
}

.border.br_10 {
    border-radius: 10px !important;
}

.socialmedia-section .border {
    padding: 10px !important;
    max-height: 540px;
    text-align: center;
    border: 1px solid rgba(222, 226, 230, 0) !important;
    background-color: #fff;
}

.socialmedia-section .border iframe {
    border-radius: 10px;
    -webkit-border-radius: 11px;
}

.socialmedia-section .section-heading h2 {
    color: #fff !important;
}

.socialmedia-section::before {
    content: "";
    position: absolute;
    bottom: -70px;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
    background-image: url(../images/social_wigdet_bg.jpg);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% 100%;
}

.ed-section-head.pr-50 {
    padding-right: 30px;
}

.ebook-links {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    min-height: 200px;
    background-color: #fff;


}

.ebook-links h4 {
    text-align: center;
    font-size: 20px;
}

.ebook-links .ed-btn {
    height: 20px;
    line-height: 0;
}

.ebook-links .ed-btn i {
    width: 20px;
    height: 20px;
    line-height: 20px;

}

.read-more-btn {
    background-color: #fed267;
    padding: 8px 20px;
    color: #011c1a;
    border-radius: 20px;
    transition: all 0.3s ease;

}

.read-more-btn:hover {
    background-color: #011c1a;
    color: #fff;
}

.ed-testimonial {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/bg/6.webp);
    background-position: center;
    background-size: cover;
    padding: 150px 0;

}

.tag-line {
    font-weight: 500;
    /* color: #fff; */
    font-size: 20px;
    /* animation: blink 3s infinite; */


}



.social-link-box {
    display: flex;
    gap: 10px;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.ribbon {
    --s: 1.8em;
    /* the ribbon size */
    --d: .8em;
    /* the depth */
    --c: .8em;
    /* the cutout part */

    padding: 0 calc(var(--s) + .5em) var(--d);
    line-height: 1.8;
    background:
        conic-gradient(at left var(--s) bottom var(--d),
            #0000 25%, #0008 0 37.5%, #0004 0) 0 /50% 100% no-repeat,
        conic-gradient(at right var(--s) bottom var(--d),
            #0004 62.5%, #0008 0 75%, #0000 0) 100%/50% 100% no-repeat;
    clip-path: polygon(0 var(--d), var(--s) var(--d), var(--s) 0, calc(100% - var(--s)) 0, calc(100% - var(--s)) var(--d), 100% var(--d), calc(100% - var(--c)) calc(50% + var(--d)/2), 100% 100%, calc(100% - var(--s) - var(--d)) 100%, calc(100% - var(--s) - var(--d)) calc(100% - var(--d)), calc(var(--s) + var(--d)) calc(100% - var(--d)), calc(var(--s) + var(--d)) 100%, 0 100%, var(--c) calc(50% + var(--d)/2));
    /* background-color: #CC333F; */
    /* background-color: #25166c; */
    background-color: #285f7e;
    /* the main color */
    width: fit-content;
}

.social-link-box a {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    box-shadow: rgba(255, 255, 255, 0.35) 0px 5px 15px;

}

a.facebook {
    background-color: #1877F2;
}

a.twitter {
    background-color: #1DA1F2;
}

a.instagram {
    background-color: #E4405F;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}

.contact-card .ed-contact__card-item {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-top: 0;
    min-height: 280px;
    /* background-image: linear-gradient(to right, rgba(254, 211, 103, 0.8), rgba(254, 211, 103, 0.8)), url(../img/bg/6.webp); */
    background-image: linear-gradient(to right, rgba(148, 195, 215, 0.911), rgba(148, 195, 215, 0.911)), url(../img/bg/bg.webp);
    background-position: center;
    background-size: cover;
    outline: 1px solid #fff;
    outline-offset: -10px;
}

.marq {
    background-color: #fed267;
}

.marq a {
    font-weight: 500;
    font-size: 18px;
    color: #011c1a;
    padding: 8px 0px 0px;
}

.gallery-container {
    margin-bottom: 25px;
}

.m-tag-line {
    display: none;
    animation: blink 3s infinite;
}

.owl-carousel.ed-partner__slider .owl-nav,
.owl-carousel.children-library .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);

}

.owl-carousel.ed-partner__slider .owl-nav .owl-prev,
.owl-carousel.children-library .owl-nav .owl-prev {
    margin-left: -25px;
}

.owl-carousel.ed-partner__slider .owl-nav .owl-next,
.owl-carousel.children-library .owl-nav .owl-next {
    margin-right: -25px;
}


.owl-carousel.ed-partner__slider .owl-nav .owl-prev,
.owl-carousel.ed-partner__slider .owl-nav .owl-next,
.owl-carousel.children-library .owl-nav .owl-prev,
.owl-carousel.children-library .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    background-color: #525a59;
    border-radius: 50%;
    display: grid;
    place-content: center;
}


.owl-carousel.ed-partner__slider .owl-nav .owl-prev i,
.owl-carousel.ed-partner__slider .owl-nav .owl-next i {
    color: #fff;
    font-size: 20px;
}

.owl-carousel.children-library .owl-nav .owl-prev i,
.owl-carousel.children-library .owl-nav .owl-next i {
    color: #fff;
    font-size: 20px;
}

.section-bg-one {
    /* background-color: #42a1ff; */
    background-image: linear-gradient(to right, rgba(22, 52, 83, 0.781), rgba(22, 52, 83, 0.781)), url(../img/bg/4.webp);
    background-repeat: no-repeat;
    background-size: cover;

    margin-bottom: 50px;
}

a.link {
    /* color: #285f7e; */
    color: #daab3e;

    font-weight: 600;
}

a.link:hover {
    color: #285f7e;
}

.img-center {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.desktop-slider {
    display: block;
}

.mobile-slider {
    display: none;
}

.contact__card-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact__card-group .ed-contact__card-icon {
    margin-bottom: 0;
}

.contact__card-group p {
    margin: 0;
    color: #222;
    font-size: 20px;
}

.ed-section-head__title.custom-style {
    font-size: 36px;
    line-height: 50px;
    letter-spacing: -0.36px;
    margin-bottom: 24px;
    background: #1b5676;
    padding: 10px 20px;
    color: #fff;

}

.ed-about__main-img1 img {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 2px solid #011c1a;
    transition: all 0.3s ease;
}

.ed-about__main-img1 img:hover {
    scale: 1.011;
}

.ed-topbar__info-buttons {
    display: flex;
    flex-direction: column;
}

.fade-left {
    opacity: 0;
    transform: translateX(-100px);
}

.fade-right {
    opacity: 0;
    transform: translateX(100px);
}

@media(max-width: 1380px) {

    /* .ed-topbar__logo img {
     
     height: 200px;
     object-fit: contain;
 }



 .logo-group .group-logo-text h1 {
     font-size: 22px;
     font-weight: 700;
     color: #fff;
     margin: 0;
     padding: 5px 20px;
     letter-spacing: 1px;
 }

 */
    .logo-group .group-logo-text h1 {
        font-size: 25px;

    }

    .logo-group .group-logo-text h3 {
        font-size: 13px;

    }

    .ed-topbar__logo.f-logo-container img {
        max-width: 140px;
        height: 80px;
        object-fit: contain;
    }
}

@media(max-width:768px) {
    .owl-carousel .owl-stage {
        overflow-x: hidden !important;
    }

    /* .library-container .library-content {
        left: 35% !important;
    } */
    .library-container .library-content {
        left: 60% !important;
        width: 100%;
    }

    .library-container .library-content h3 {
        font-size: 22px;
    }

    .library-container {
        position: relative;
        height: 300px;
    }

    .library-container img {
        height: 300px;
        object-fit: cover;
    }

    .desktop-slider {
        display: none;
    }

    .mobile-slider {
        display: block;
    }

    .owl-carousel.ed-partner__slider .owl-nav .owl-prev,
    .owl-carousel.ed-partner__slider .owl-nav .owl-next {
        width: 25px;
        height: 25px;

    }

    .owl-carousel.ed-partner__slider .owl-nav .owl-prev i,
    .owl-carousel.ed-partner__slider .owl-nav .owl-next i {
        color: #fff;
        font-size: 10px;
    }

    .owl-carousel.ed-partner__slider .owl-nav .owl-prev {
        margin-left: -12px;
    }

    .owl-carousel.ed-partner__slider .owl-nav .owl-next {
        margin-right: -12px;
    }

    .owl-carousel.children-library .owl-nav .owl-prev,
    .owl-carousel.children-library .owl-nav .owl-next {
        width: 25px;
        height: 25px;

    }

    .owl-carousel.children-library .owl-nav .owl-prev i,
    .owl-carousel.children-library .owl-nav .owl-next i {
        color: #fff;
        font-size: 10px;
    }

    .owl-carousel.children-library .owl-nav .owl-prev {
        margin-left: -12px;
    }

    .owl-carousel.children-library .owl-nav .owl-next {
        margin-right: -12px;
    }

    .marq a {
        font-size: 14px;
    }

    .ed-section-head__title.custom-style {
        font-size: 23px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .ed-section-head__title {
        font-size: 23px;
        line-height: 1.3;
    }

    .ed-topbar__inner {
        flex-direction: column;
        margin-top: 10px;
    }

    .logo-group .group-logo-text h1 {
        font-size: 23px;
        font-weight: 400;
        margin-bottom: 10px;

    }

    .logo-group .group-logo-text h3 {
        font-size: 11px;
        font-weight: 400;
        line-height: 1;
    }

    .logo-group {
        display: flex;
        align-items: self-start;

    }

    .ed-header__right {
        display: none;
    }

    .ed-header {
        display: none;
    }

    .ed-hero.ed-hero--style3 {
        height: auto;
        padding-top: 0px;
    }

    /* .section-gap {
        padding: 50px 0px;
    } */


    .library-container .library-content h1 {
        color: #fff;
        line-height: 1.4;
        font-size: 30px;
        margin: 0;
    }

    .library-container .ed-btn {
        height: 20px;
        line-height: 0;
        margin-top: 20px;
    }

    .library-container .ed-btn i {
        width: 20px;
        height: 20px;
        line-height: 20px;

    }

    ul.ed-footer__widget-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .logo-group .group-logo-text h3.m-tag-line {
        display: block;
        font-size: 14px;
        margin-top: 18px;
    }

    .ed-topbar .container.ed-container-expand {
        padding: 0;
    }
}

.book-img {
    padding: 10px;
    background-color: #fff;
}

.book-title {
    background-color: #fed267c4;
    padding: 5px 10px;

}

.book-title p {
    line-height: 1.6;
    text-align: center;
}



/* our books  */
#books-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);

}

#books-slider .owl-nav .owl-prev {
    margin-left: -25px;
}

#books-slider .owl-nav .owl-next {
    margin-right: 0px;
}


#books-slider .owl-nav .owl-prev,
#books-slider .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    background-color: #525a59;
    border-radius: 50%;
    display: grid;
    place-content: center;
}


#books-slider .owl-nav .owl-prev i {
    color: #fff;
    font-size: 20px;
}

#books-slider .owl-nav .owl-next i {
    color: #fff;
    font-size: 20px;
}

.ebook-links-table thead th {
    background-color: #1b104f;
    color: #fff;
    font-weight: 600;
}



.ebook-links-table tbody td {
    vertical-align: middle;
}

.mt-100 {
    margin-top: 100px;
}

/* #gallery-one .library-img,
#gallery-third .library-img {
    border: 5px solid #fed267
}

#gallery-second .library-img,
#gallery-forth .library-img {
    border: 5px solid #42a1ff;
} */

.trustee-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.trustee-box .trustee-name-box {
    background-color: #fff;
    padding: 10px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}

.trustee-box .trustee-name-box p {
    margin: 0;
}

.trustee-box .trustee-name-box:hover {
    background-color: #285f7e;

}



.trustee-box .trustee-name-box:hover p {
    color: #fff;

}

.trustee-box .trustee-name-box:hover span {
    color: #fff;

}

.trustee-box .trustee-name-box.box-yellow:hover {
    background-color: #fed267;

}

.trustee-box .trustee-name-box.box-yellow:hover p {
    color: #222;

}

.img-gallery-box {
    margin-bottom: 25px;
}

.gallery-box {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.gallery-slider-box {
    border: 20px solid #285f7e;
    border-bottom: 0;
    border-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    max-height: 400px;
    overflow: hidden;
}

.gallery-slider-box.no-border {
    border-color: transparent;
    border-width: 0;
    overflow: hidden;
}

.gallery-slider-box .gallery-img {
    width: 100%;
}

.gallery-content {
    padding: 20px;
}

.gallery-content h1 {
    font-size: 18px;
    margin: 0;
}

.gallery-content p {
    font-size: 16px;
}

.owl-carousel.gallery-slider .owl-nav button.owl-prev {
    display: none;
}

.owl-carousel.gallery-slider .owl-nav {
    position: absolute;
    top: 45%;
    right: 10px;

}

.owl-carousel.gallery-slider .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1b5676ce;
    display: grid;
    place-content: center;
    color: #fff;
}

.owl-carousel.gallery-slider .owl-nav button.owl-next i {
    line-height: 0;
    margin: 0;
}

.newsletter-section {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/bg/1.webp);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 50px;
    padding: 200px 0;
}


.newsletter-section .ed-section-head__btn {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.newsletter-section .ed-section-head__btn h1 {
    color: #fff;
    font-size: 60px;
    text-align: center;
}

.donate-note {
    color: #facf66;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.ed-footer__about-social a {

    width: 40px;
    height: 40px;
    display: grid;
    place-content: center;
    border-radius: 50%;
}

.ed-footer__about-social a.facebook {
    background-color: #1877F2;

}

.ed-footer__about-social a.twitter {
    background-color: #1DA1F2;

}

.ed-footer__about-social a.instagram {
    background-color: #E4405F;

}

.gallery-box {
    margin-bottom: 50px;
}

.section-gap-tb {
    margin: 50px 0;
}

.section-gap-top-bottom {
    margin: 50px 0;
}

.section-gap-top {
    margin-top: 50px;
}

.section-gap-bottom {
    margin-bottom: 50px;
}

.section-padding-bottom {
    padding-bottom: 50px;
}

@media(max-width:768px) {

    .section-padding-bottom {
        padding-bottom: 30px;
    }

    .fade-left {
        opacity: 1;
        transform: translateX(0);
    }

    .fade-right {
        opacity: 1;
        transform: translateX(0);
    }

    .newsletter-section .ed-section-head__btn h1 {

        font-size: 30px;
        text-align: center;
    }

    .page-title {

        margin-bottom: 0px;
    }

    .page-section-bg-two {
        margin-bottom: 50px;
    }

    .page-section-bg-one {
        margin-bottom: 50px;
    }

    .ed-section-head__btn {
        margin-top: 0px;
    }

    .section-gap-mobile-bottom {
        margin-bottom: 30px;
    }

    .ed-testimonial {
        padding: 50px 0;
    }

    .newsletter-section {

        padding: 100px 0;
    }

    .social-box.instagram iframe {
        height: 380px;
    }


    .section-gap-tb {
        margin: 30px 0;
    }

    .section-gap-top-bottom {
        margin: 30px 0;
    }

    .section-gap-top {
        margin-top: 30px;
    }

    .section-gap-bottom {
        margin-bottom: 30px;
    }

    .ed-section-head__title {

        margin-bottom: 30px;
    }

    .ed-section-head.pr-50 {
        padding-right: 0px;
    }

    #books-slider .owl-nav .owl-prev,
    #books-slider .owl-nav .owl-next {
        width: 25px;
        height: 25px;

    }

    #books-slider .owl-nav .owl-prev i,
    #books-slider .owl-nav .owl-next i {
        color: #fff;
        font-size: 10px;
    }

    #books-slider .owl-nav .owl-prev {
        margin-left: 0px;
    }

    #books-slider .owl-nav .owl-next {
        margin-right: 25px;
    }

    .contact-card .ed-contact__card-item {
        margin-bottom: 30px;
    }

    .contact__card-group p {
        margin: 0;
        color: #222;
        font-size: 20px !important;
    }

    .contact-card .ed-contact__card-item {
        min-height: auto;
    }

    .iframe-container {
        margin-bottom: 30px;
    }
}