/*tags*/
html {
    direction: rtl;
    height: 100%;
    width: 100%;
    margin: 0;
    display: table;

}

.spinner-btn .spinner-border {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

.table th {
    background-color: var(--bs-dark) !important;
    color: white;
}



@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: none;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: none;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner-grow .75s linear infinite;
    animation: spinner-grow .75s linear infinite;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

body {
    font-family: 'Aria';
    height: 100%;
    width: 100%;
    margin: 0;
    display: table;
    font-size: 1rem;
}

/*push footer to the bottom*/
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    background-color: black;
    color: white;
}

footer {
    margin-top: auto;
}

@media (min-width: 992px) {
    .footer-pwq-desk {
        display: block !important;
    }
}

.fs-1 {
    font-family: 'Aria';
    font-weight: normal;
    font-size: large !important;
}

.fs-2 {
    font-family: 'Aria';
    font-weight: normal;
    font-size: medium !important;
}

.fs-3 {
    font-family: 'Aria';
    font-weight: normal;
    font-size: small !important;
}

.fs-4 {
    font-family: 'Aria';
    font-weight: normal;
    font-size: smaller !important;
}

.fs-5 {
    font-family: 'Aria';
    font-weight: normal;
    font-size: x-small !important;
}

.fs-6 {
    font-family: 'Aria';
    font-weight: normal;
    font-size: xx-small !important;
}

.ts-1 {
    font-family: 'Aria';
    font-weight: 700;
    font-size: large !important;
}

.ts-2 {
    font-family: 'Aria';
    font-weight: 700;
    font-size: medium !important;
}

.ts-3 {
    font-family: 'Aria';
    font-weight: 700;
    font-size: small !important;
}

.ts-4 {
    font-family: 'Aria';
    font-weight: 700;
    font-size: smaller !important;
}

.ts-5 {
    font-family: 'Aria';
    font-weight: 700;
    font-size: x-small !important;
}

.ts-6 {
    font-family: 'Aria';
    font-weight: 700;
    font-size: xx-small !important;
}

h1, .h1 {
    font-family: 'Aria';
    font-weight: 800;
    margin-bottom: 0;
    /*line-height: 20px;*/
    /*text-align: center;*/
    /*color: #353132;*/
}

h2, .h2 {
    font-family: 'Aria';
    font-weight: 700;
    margin-bottom: 0;
    /*line-height: 20px;*/
    /*text-align: center;*/
    /*color: #353132;*/
}

h3, .h3 {
    font-family: 'Aria';
    font-weight: 700;
    margin-bottom: 0;
    /*line-height: 20px;*/
    /*text-align: center;*/
    /*color: #353132;*/
}

h4, .h4 {
    font-family: 'Aria';
    font-weight: 700;
    margin-bottom: 0;
    /*line-height: 20px;*/
    /*text-align: center;*/
    /*color: #353132;*/
}

p {
    font-size: 1rem;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: var(--primary);
    cursor: pointer;
}

jdp-container {
    z-index: 100000 !important;
}

.FAQaccordion .accordion-item {
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color) !important;
    margin-bottom: .5rem;
    border-radius: 10px !important;
}

.FAQaccordion .accordion-body {
    font-size: .85rem;
    line-height: 1.5;
    padding-top: .25rem;
}

.FAQaccordion .accordion-item .accordion-header,
.FAQaccordion .accordion-item .accordion-button {
    border-radius: 10px !important;
}

@media (max-width: 992px) {
    div:has(> div.FAQaccordion) {
        /*padding: 5px;*/
    }
}


input.form-control[wiki-type = text] {
    direction: rtl !important;
}



.form-floating:has(> select option:checked:is([value=""])) > label {
    transform: none;
}

/*header*/
.logo-title {
    font-family: 'Aria';
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 10px;
}

.userLogin-btn {
    width: 35px;
    height: 35px;
    margin-right: 20px;
    border: none;
    color: gray;
}

.userLogin-btn:hover {
    border: 1px solid var(--primary);
    border-radius: 20px;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.nav-item:hover {
    position: relative;
    display: inline-block;
}

.nav-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-40%);
}

.nav-item:hover::before {
    width: 100%;
}

.container-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%
}

.divider .dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.divider .dot {
    background: var(--bs-dark);
    border-radius: 50%;
    box-shadow: 0 2px 0 rgba(13, 110, 253, 0.12);
    display: inline-block;
    width: 5px;
    height: 5px;
}

.divider .line {
    flex: 1;
    height: 0.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bs-dark) 0%, #FFFFFF 100%);
    box-shadow: 0 2px 0 var(--bs-dark);
    min-width: 100px;
    align-self: center;
}


/*about*/
.hr {
    display: block;
    height: 2px;
    border: 0;
    border-top: 2px solid #ccc;
    margin: 1em 0;
    padding: 0;
    /*width: 20%;*/
}

.accordion-button:focus {
    outline: unset;
    box-shadow: unset;
}

.accordion-button:not(.collapsed) {
    background-color: unset;
    box-shadow: unset;
}


/*cards*/
.span-number {
    background-color: var(--primary);
    /*height: 20px;*/
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    border-radius: 7px;
    padding: 3px;
}

.close-btn {
    background-color: var(--cool-red);
    /*height: 20px;*/
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    border-radius: 7px;
    padding: 3px;
}

.icon-delete {
    fill: #707070;
    background: none;
    border: none;
}

.icon-delete:hover {
    fill: #D61717;
}

.mobile-show {
    display: none !important;
}
.mobile-show-flex {
    display: none !important;
}

@media screen and (max-width: 600px) {
    .mobile-hidden {
        display: none !important;
    }
    .mobile-show {
        display: block !important;
    }
    .mobile-show-flex {
        display: flex !important;
    }
}

.img-box {
    overflow: hidden;
    border-radius: 12px;
}

.img-box img {
    border-radius: 12px;
    width: 100%;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.img-box:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.img-box-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0) 80%
    );
}

.img-box-overlay-top {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.7) 80%
    );
}

.card-gradiant {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 80%);
}

.card-gradiant-red {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 80%) brown;
}

.card {
    color: #d2d2d5 !important;
}

.banner-box {
    max-height: 1000px;
    overflow: hidden;
}

.carousel-item-car {
    height: 400px;
}

.carousel-item-car img,
.carousel-item-car video {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}

.banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.span-card-title {
    position: absolute;
    margin-top: 20px;
    margin-right: 20px;
    border-bottom: 3px Solid;
    padding-bottom: 5px;
}

.spc-img-item {
    max-width: 80%;
    margin: auto;
}

.car-slider-text {
    position: absolute;
    top: 0px;
    font-family: peYda;
}

.car-slider-text-l {
    position: absolute;
    top: 10px;
    left: 100px;
    min-width: 200px;
    text-align: center;
}

.car-slider-text-l-div {
    border-right: 2px Solid gray;
}

.car-slider-btn-text {
    width: 50px !important;
    text-align: center;
}

.car-slider-btn-span {
    margin-right: 1000px !important;
    margin-top: -20px !important;
    font-size: 12px;
    position: absolute;
    margin-left: 10px;
}

.car-slider-btn {
    margin-right: 30px !important;
    width: 50px !important;
}

.img-slider-title {
    font-family: Peyda;
    text-align: center;
    position: absolute;
    top: 50px;
    font-size: 26px;
    width: 100%;
}

.img-slider-text-down {
    text-align: center;
    font-size: 16px;
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 100px;
}

.img-slider-text {
    text-align: center;
    font-size: 16px;
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 100px;
}

.carousel-wiki-l {
    border: 2px Solid var(--light-gray);
    height: 70px;
    width: 70px;
    margin-top: 40%;
    margin-right: 10px;
    right: 10px;
}

.carousel-wiki-r {
    border: 2px Solid var(--light-gray);
    height: 70px;
    width: 70px;
    margin-right: 10px;
    margin-top: 40%;
    right: 108px;
}

.thumb {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
}

.thumb:hover {
    opacity: 1;
}

.active-thumb {
    opacity: 1;
    border-color: var(--primary);
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-overlay h5 {
    font-family: Peyda;
}

.grid-item:hover .image-overlay {
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media screen and (max-width: 600px) {
    .car-slider-btn {
        margin: 2px !important;
    }

    .car-slider-text-l {
        position: initial !important;
    }

    .banner-box {
        height: auto;
    }

    .img-slider-title {
        font-size: 14px;
        top: 20px;
    }

    .img-slider-text-down {
        font-size: 12px;
        padding: 10px;
        position: initial;
        margin-top: 0px;
        text-align: justify;
    }
    .img-slider-text {
        font-size: 12px;
        top: 40px;
        padding: 10px;
        text-align: justify;
    }

    .car-slider-text {
        font-size: 12px;
        width: 60px;
        height: auto;
        left: 10px;
    }

    .carousel-item-car {
        height: 300px;
    }

    .carousel-item-car img {
        height: 300px !important;
    }

    .image-overlay {
        transform: none;
    }

    .img-box {
        margin-bottom: 10px;
        padding: 0px;
    }

    .mobile-row {
        padding: 0px;
        margin-right: 1px;
    }
}
