﻿
:root {
    /* scrollbar-color */
    scrollbar-color: #f1eeea #27211a;
}

@media (max-width:480px) {
    :root {
        scrollbar-width: none;
    }
}
/*s home page*/
.video_width {
    width: fit-content !important;
    max-width: 100% !important;
    height: fit-content;
}

.gbtn-fotar {
    height: fit-content;
}
/*e home page*/
/*s audio*/
audio {
    max-width: 100%;
}
/*e audio*/

/*#header*/
@media (max-width: 481px) {
    #header {
        padding: 0 !important;
    }

        #header.header-scrolled {
            padding: 0 !important;
        }
}
/*#header*/
/* start loader*/
.loaderContainer {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh);
    /* position: fixed; */
    z-index: 11111;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef0e0;
    /* animation: loaderAnimation 2s infinite; */
}

.loaderImage {
    width: 80%;
    height: auto;
    animation: loaderAnimation 2s infinite;
    width: auto;
    height: 100%;
}

@keyframes loaderAnimation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}
/* end loader*/
/*s BottomNavbar nav component*/
.BottomNavbar {
    /* background: #f1eeea;*/
    position: fixed;
    height: 66px;
    width: 80%;
    background: #27211a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    bottom: 8px;
    z-index: 100;
    /* margin-right: auto; */
    margin-right: 10%;
}



    .BottomNavbar ul {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }

        .BottomNavbar ul li {
            position: relative;
            list-style-type: none;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.5;
        }

            .BottomNavbar ul li a {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                text-decoration: none;
            }

                .BottomNavbar ul li a svg {
                    font-size: 25px;
                    /* color: #27211a; */
                    opacity: 0.5;
                    color: #f1eeea;
                }

                .BottomNavbar ul li a i {
                    font-size: 25px;
                    /* color: #27211a; */
                    opacity: 0.5;
                    color: #f1eeea;
                }





            .BottomNavbar ul li.active a svg {
                opacity: 1;
                pointer-events: auto;
                margin-bottom: 15px;
                border-radius: 50%;
                background: #f1eeea;
                color: #27211a;
                padding: 7px 6px;
            }

            .BottomNavbar ul li.active a i {
                opacity: 1;
                pointer-events: auto;
                margin-bottom: 15px;
                border-radius: 50%;
                background: #f1eeea;
                color: #27211a;
                padding: 0px 6px;
                width: auto;
                height: auto;
            }

        .BottomNavbar ul .active .indicator {
            display: block;
        }

        .BottomNavbar ul .indicator {
            display: none;
            position: absolute;
            bottom: -17px;
            left: 50%;
            transform: translatex(-50%);
            height: 33px;
            width: 25px;
            /* background: #27211a; */
            background: #f1eeea;
            border-radius: 50%;
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

            .BottomNavbar ul .indicator::before {
                content: "";
                position: absolute;
                left: -15px;
                bottom: 50%;
                height: 20px;
                width: 20px;
                /* background: #f1eeea; */
                background: #27211a;
                border-bottom-right-radius: 20px;
                /* box-shadow: 0 10px 0 #27211a; */
                box-shadow: 0 10px 0 #f1eeea;
            }

            .BottomNavbar ul .indicator::after {
                content: "";
                position: absolute;
                right: -15px;
                bottom: 50%;
                height: 20px;
                width: 20px;
                /* background: #f1eeea; */
                background: #27211a;
                border-bottom-left-radius: 20px;
                /* box-shadow: 0 10px 0 #27211a; */
                box-shadow: 0 10px 0 #f1eeea;
            }

    .BottomNavbar .basketItemNum {
        background: #ffffff;
        border-radius: 50%;
        padding: 9px 9px;
        position: absolute;
        top: -9px;
        right: -10px;
    }

        .BottomNavbar .basketItemNum span {
            position: absolute;
            top: -3px;
            color: #f1eeea;
            font-weight: 700;
            transform: translateX(-50%);
            font-size: 11px;
        }


/* e BottomNavbar nav component */

/*S rightNav*/

#rightNav {
    display: none;
    height: calc( 100vh - 76px);
    background: #988774;
    position: fixed;
    z-index: 1000;
    width: 250px;
    /* display: none; */
    bottom: 0px;
    right: -250px;
    overflow-y: auto;
    transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
}

    #rightNav.MenuOpen {
        right: 0px !important;
    }

    #rightNav.show {
        right: 0px !important;
    }

.navbar-toggler[aria-expanded="false"] + #rightNav {
    right: 0px !important;
}

#rightNav .headerRightNav {
    background: #27211a;
    padding: 19.8px 10px;
}

#rightNav .searchbar .search_input {
    padding: 0 10px !important;
    width: 70% !important;
    caret-color: #aa8453 !important;
    transition: width 0.4s linear !important;
}

#rightNav .dropdown-menu {
    background: #b6a38c;
    color: #eff3ea;
    color: transparent;
    background: transparent;
    border-color: transparent;
}

    #rightNav .dropdown-menu .dropdown-item {
        color: #f1f1f1;
        margin-bottom: 5px;
    }
/*d rightNav*/
/*s loading*/
.mainSpinnerContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mainSpinnerContainer.fullPage {
        height: calc(100vh - 212px);
    }

.mainSpinner {
    --size: 30px;
    --first-block-clr: #005bba;
    --second-block-clr: #fed500;
    --clr: #111;
    width: 100px;
    height: 100px;
    position: relative;
}

    .mainSpinner::after, .mainSpinner::before {
        box-sizing: border-box;
        position: absolute;
        content: "";
        width: var(--size);
        height: var(--size);
        top: 50%;
        animation: up 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
        left: 50%;
        background: var(--first-block-clr);
        background: #27211a;
    }

    .mainSpinner::after {
        background: var(--second-block-clr);
        top: calc(50% - var(--size));
        left: calc(50% - var(--size));
        animation: down 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
        background: #aa8453;
    }

@keyframes down {
    0%, 100% {
        transform: none;
    }

    25% {
        transform: translateX(100%);
    }

    50% {
        transform: translateX(100%) translateY(100%);
    }

    75% {
        transform: translateY(100%);
    }
}

@keyframes up {
    0%, 100% {
        transform: none;
    }

    25% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-100%) translateY(-100%);
    }

    75% {
        transform: translateY(-100%);
    }
}

/*e loading*/
/*s pagination*/
.mud-button-filled.mud-button-filled-primary {
    background: #aa8453;
}

    .mud-button-filled.mud-button-filled-primary:hover, .mud-button-filled.mud-button-filled-primary:focus-visible {
        background: #27211a;
    }

.mud-pagination .mud-pagination-item .mud-icon-button {
    transform: rotateY(180deg);
}

.mud-icon-button:hover, .mud-icon-button:focus-visible {
    background: #aa8453;
}

.mud-button:hover, .mud-button:focus-visible {
    background: #aa8453;
}

.MudPaginationContiner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}
/*e pagination*/

/* pading الصفحات */
html {
    padding: 0px;
}

body {
    padding-top: 117px;
}

.gmt-bac-branch {
    height: auto;
}

    .gmt-bac-branch .gbtn-c-white {
        margin: 0;
        padding: 20px;
    }

.newsBackground {
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.newsPadding {
    text-align: center;
}

.gbtn-p-y-250 {
    padding: 0;
}

.gmt-bac {
    height: 270px;
}
/* pading الصفحات */

/*الخطاء فل الراوتق*/
p[role="alert"] {
    height: calc(100vh - 228px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/*زر التحميل*/
.DownloadBtn {
    display: flex;
    /*display:none;*/
    width: 35px;
    height: 35px;
    border: 2px solid #aa8453;
    border-radius: 8px;
    background-color: rgb(39 33 26);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition-duration: .3s;
    /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11); */
}

    .DownloadBtn .svgIcon {
        fill: rgb(170 132 83);
    }

    .DownloadBtn .icon2 {
        width: 18px;
        height: 5px;
        border-bottom: 2px solid rgb(170 132 83);
        border-left: 2px solid rgb(170 132 83);
        border-right: 2px solid rgb(170 132 83);
    }

    .DownloadBtn .tooltip {
        position: absolute;
        right: -105px;
        opacity: 0;
        background-color: rgb(12, 12, 12);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition-duration: .2s;
        pointer-events: none;
        letter-spacing: 0.5px;
    }

        .DownloadBtn .tooltip::before {
            position: absolute;
            content: "";
            width: 10px;
            height: 10px;
            background-color: rgb(12, 12, 12);
            background-size: 1000%;
            background-position: center;
            transform: rotate(45deg);
            left: -5%;
            transition-duration: .3s;
            left: 95%;
        }

    .DownloadBtn:hover .tooltip {
        opacity: 1;
        transition-duration: .3s;
    }

    .DownloadBtn:hover {
        background-color: rgb(170 132 83);
        transition-duration: .3s;
    }

        .DownloadBtn:hover .icon2 {
            border-bottom: 2px solid rgb(235, 235, 235);
            border-left: 2px solid rgb(235, 235, 235);
            border-right: 2px solid rgb(235, 235, 235);
        }

        .DownloadBtn:hover .svgIcon {
            fill: rgb(255, 255, 255);
            animation: slide-in-top 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        }


@keyframes slide-in-top {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}


.offline-icon {
    width: 35px;
    height: 35px;
    animation: blink 2s infinite;
    /*display:none;*/
}

@keyframes blink {
    0% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 0.9;
    }
}
/*زر التحميل نهاية*/
.navbar-light .navbar-nav .nav-link {
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
}
/* s mobile responsive ---------------------------------------------------*/
@media (min-width: 481px) {
    .BottomNavbar, .navMobile {
        display: none;
    }

    .btn-for-rightNav {
        display: none;
    }

    .DownloadBtn .tooltip::before {
        left: -5%;
    }

    .DownloadBtn .tooltip {
        right: 41px;
        left: -114px;
    }
}

@media (max-width:480px) {
    .footerForBigDives {
        display: none
    }

    body {
        padding-top: 77px;
        padding-bottom: 80px !important;
        height: fit-content;
    }

    .navbar.navbar-expand-lg.navbar-light.bg-light.px-2 {
        display: flex;
        flex-direction: row-reverse;
    }

    #navbarSupportedContent {
        display: none;
    }

    #rightNav {
        display: block;
    }

    .btn-for-navbarSupportedContent {
        display: none;
    }

    .mainSpinnerContainer.fullPage {
        height: calc(100vh - 77px);
    }
    .newsBackground{
        display:none;
    }
    #navbarToggler::after {
        content: "";
        width: 100%;
        height: 100%;
        /* display: block; */
        /* z-index: 1; */
        left: 0;
        background: transparent;
        position: absolute;
        top: 0;
    }
    /*    .DownloadBtn {
        display: flex;
    }


    .offline-icon{
        display:block;
    }*/
}
/* E mobile responsive*/

#blazor-error-ui {
    display: none !important;
}
