

.dot-pic {
    z-index: -1;
    padding: 0px 392px 0 0;
}

.Toolsresources-title {
    color: var(--primary-1);
    text-align: center;
    font-family: "HelveticaNeueLTArabic", sans-serif !important;
    font-size: 50px;
    font-style: normal;
    font-weight: 100;
    line-height: 150%;
}

.gallery2 .img-books2 {
    width: 112%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
}

/* Styles for RTL text direction */
[dir="rtl"] .gallery2 .img-books2 {
    left: 10px;
}

/* Additional adjustment if needed */
[dir="ltr"] .gallery2 .img-books2 {
    right: 10px;
}


.gallery-item2 {
    margin-bottom: 20px;
}

.gallery2 {
    position: relative;
}

.desc2 {
    width: fit-content;
    font-family: "HelveticaNeueLTArabic", sans-serif !important;
    font-size: small;
    font-style: normal;
    font-weight: 100;
    line-height: 150%;
    padding: 10px;
    width: -webkit-fill-available !important;
    text-align: center;
}

.hover-icons-books2 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.1;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 96, 152, 0.5);
    border-radius: 20px;
    width: 100%;
    height: 317px
}

/*.hover-icons-books2 {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    opacity: 0.1;*/
/*    visibility: hidden;*/
/*    transition: opacity 0.3s ease, visibility 0.3s ease;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    background-color: rgba(0, 96, 152, 0.5); */
/*    border-radius: 20px;*/
/*    width: 100%; */
/*    height: 318px*/
/*}*/
.hover-icons-books2 {
    position: absolute;
    top: 0;
    left: 0px;
    opacity: 0.1;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 96, 152, 0.5);
    border-radius: 12px;
    width: 100%;
    height: 223px;
}

    .hover-icons-books2:hover {
        background-color: rgba(0, 96, 152, 0.5);
    }

    .hover-icons-books2 i {
        margin: 0 2px;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }

.gallery2:hover .hover-icons-books2 {
    opacity: 1;
    visibility: visible;
}

.hover-icons-books2 i {
    margin: 0 2px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.viwe-download-books2 {
    color: var(--blue6, #005487);
    text-align: center;
    font-family: "HelveticaNeueLTArabic", sans-serif !important;
    font-size: small;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    border-radius: 47px;
    background: var(--White, #FFF);
    padding: 0.5rem 1rem;
    flex-shrink: 0;
    text-decoration: none;
    display: block;
}

/*الاصدارات*/

.hover-icons-books4 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.1;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 96, 152, 0.5);
    border-radius: 12px;
    width: 85%;
    height: 223px;
}

    .hover-icons-books4:hover {
        background-color: rgba(0, 96, 152, 0.5);
    }

    .hover-icons-books4 i {
        margin: 0 2px;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }

.gallery2:hover .hover-icons-books4 {
    opacity: 1;
    visibility: visible;
}

.hover-icons-books4 i {
    margin: 0 2px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.viwe-download-books4 {
    color: var(--blue6, #005487);
    text-align: center;
    font-family: "HelveticaNeueLTArabic", sans-serif !important;
    font-size: small;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    border-radius: 47px;
    background: var(--White, #FFF);
    width: 44px;
    height: 23px;
    flex-shrink: 0;
    text-decoration: none;
    display: block;
}




/*الاصدارات*/


/*open data*/

.hover-icons-books7 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.1;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 96, 152, 0.5);
    border-radius: 11px;
    width: 100%;
    height: 100%;
}

    .hover-icons-books7:hover {
        background-color: rgba(0, 96, 152, 0.5);
    }

.hover-icons-books-55 i {
    margin: 0 2px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.gallery2:hover .hover-icons-books7 {
    opacity: 1;
    visibility: visible;
}

.hover-icons-books-55 i {
    margin: 0 2px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.viwe-download-books-7 {
    color: var(--blue6, #005487);
    text-align: center;
    font-family: "HelveticaNeueLTArabic", sans-serif !important;
    font-size: small;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    border-radius: 47px;
    background: var(--White, #FFF);
    width: 44px;
    height: 23px;
    flex-shrink: 0;
    text-decoration: none;
    display: block;
}
/*open data*/


.carousel-control-next-icon-Versions, .carousel-control-prev-icon-Versions {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
    background: var(--primary-1);
    border-radius: 50px;
    position: relative;
    right: 20px;
}



/*
    .carousel-control-prev-Versions,
.carousel-control-next-Versions {
    width: min-content !important;
}
*/

.carousel-control-prev-Versions,
.carousel-control-next-Versions {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 0px !important;
}

.carousel-control-prev-Versions {
    left: 11px !important;
}

.carousel-control-next-Versions {
    right: -26px !important;
}

/* logo style */

.gallery-item {
    position: relative;
}

.bg-card-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    padding: 2px 8px;
    transition: transform 0.3s ease;
    border: 1px solid var(--primary-2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

    .bg-card-logo:hover::after {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .bg-card-logo:hover {
        transform: scale(1.1);
    }

.bg-card-logo2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 224px;
    padding: 2px 8px;
    transition: transform 0.3s ease;
    /*border: 1px solid var(--primary-2)70;*/
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

    .bg-card-logo2:hover::after {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .bg-card-logo2:hover {
        transform: scale(1.1);
    }

.bg-card-logo3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 224px;
    padding: 2px 8px;
    transition: transform 0.3s ease;
    border: 1px solid var(--primary-2)70;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

    .bg-card-logo3:hover::after {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .bg-card-logo3:hover {
        transform: scale(1.1);
    }





.hover-icons-books3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65%;
    height: 100%;
    border-radius: 13px;
}



    .hover-icons-books3:hover {
        background-color: rgba(0, 96, 152, 0.5);
    }


.gallery-item:hover .hover-icons-books3 {
    opacity: 1;
    visibility: visible;
}

.viwe-download-books3 {
    color: var(--blue6, #005487);
    text-align: center;
    font-family: "HelveticaNeueLTArabic", sans-serif !important;
    font-size: x-small;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    border-radius: 47px;
    background: var(--White, #FFF);
    width: 44px;
    height: 23px;
    flex-shrink: 0;
    text-decoration: none;
    display: block;
    padding: 3px 0 0 0;
}

@media (min-width: 992px) {
    .gallery-item2 {
        flex: 0 0 auto !important;
        width: 20% !important;
    }
}

@media (max-width: 500px) {
    .carousel-control-next-icon-Versions, .carousel-control-prev-icon-Versions {
        right: 28px;
    }

    .carousel-control-prev-Versions {
        left: 29px !important;
    }

    .hover-icons-books4 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        opacity: 0.1;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 96, 152, 0.5);
        border-radius: 12px;
        width: 110%;
    }

    .hover-icons-books3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.1;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        border-radius: 13px;
    }
}

@media (max-width: 768px) {
    .hover-icons-books3 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.1;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 96%;
        height: 100%;
        border-radius: 13px;
    }
}
