/*ul.popular-posts {
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit,minmax(202px,1fr));
grid-gap: 1em;
}
*/

/*-- accordion -- */

.accordion {
    display: block;
    height: 100%;
    line-height: 0;
}

.accordion-cell {
    display: inline-block;
    position: relative;
    height: 500px;
    width: 200px;
    transition-property: width;
    transition-duration: 130ms;
    margin-right: 10px;
    cursor: pointer;
}

.accordion-cell:nth-child(1) {
    background-blend-mode: overlay;
    background-image: url("../img/puzzle.jpg"), linear-gradient(rgba(0, 0, 0, 0) 50%, rgb(0 0 0 / 43%) 100%);
    background-size: cover;
    background-position: center;
}

.accordion-cell:nth-child(2) {
    background-blend-mode: overlay;
    background-image: url("../img/booknew.jpg"), linear-gradient(rgba(0, 0, 0, 0) 50%, rgb(0 0 0 / 43%) 100%);
    background-size: cover;
    background-position: center;
}

.accordion-cell:nth-child(3) {
    background-blend-mode: overlay;
    background-image: url("../img/handshake.jpg"), linear-gradient(rgba(0, 0, 0, 0) 50%, rgb(0 0 0 / 43%) 100%);
    background-size: cover;
    background-position: center;
}

.accordion-cell:nth-child(4) {
    background-image: url(../img/arab.png), linear-gradient(rgba(0, 0, 0, 0) 50%, rgb(0 0 0 / 43%) 100%);
    background-size: cover;
    background-blend-mode: overlay;
}

.accordion-cell:nth-child(5) {
    background: #53b847;
}

.accordion-cell.collapsed {
    filter: grayscale(100%);
}

.accordion-cell expanded {
    filter: none;
}

.accordion-cell.expanded h4 {
    display: none !important;
}

.accordion-cell>h4 {
    z-index: 2;
    display: block;
    position: absolute;
    margin: 0;
    padding: 0;
    left: -4rem;
    bottom: 9rem;
    font-size: 20px;
    line-height: 1em;
    text-align: left;
    color: white;
    transform: rotate(-90deg);
    transition-property: left right transform;
    transition-duration: 250ms;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}

.accordion-cell>.accordion-cell-content {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    /* padding: 4rem;*/
    opacity: 0;
    transition-property: opacity;
    transition-duration: 250ms;
    overflow: hidden;
}


/* .accordion-cell>.accordion-cell-content .sub-accordian-content>p {
  display: block;
  margin: 0;
  padding: 0 0 0 0;
  font-size: 1.125em;
  line-height: 1.5em;
  letter-spacing: 1px;
  font-weight: 500;
  color: white;
}

*/
.accordion-cell>.accordion-cell-content .sub-accordian-content>p {
    display: block;
    margin: 0;
    padding: 0 0 0 0;
    line-height: 20px;
    font-weight: 500;
    color: white;
    font-size: 16px;
    width: 93%;
}


.expanded {
    width: 608px;
    cursor: auto !important;
}

.expanded>h4 {
    left: 1rem;
    bottom: 1rem;
    transform: rotate(0deg);
}


.expanded>.accordion-cell-content {
    opacity: 1;
    transition-property: opacity;
    transition-duration: 250ms;
}

.accordion-cell-content .sub-accordian-content h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 0px;
    line-height: 28px;
}

/* .accordion-cell-content .sub-accordian-content h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 15px;
}
*/
.sub-accordian-content {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 16px;
}



.sides-design {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
}

.nmr-strategic-values .sub-accordian-content {
    padding-left: 35px !important;
}

.nmr-strategic-values .accordion-cell:nth-child(4) h4 {
    left: -40px !important;
    width: 400px;
    top: 29%;
}

@media screen and (max-width: 1024px) {
    .nmr-strategic-values .accordion-cell:nth-child(4) h4 {
        left: -67px !important;
    }

    .accordion-cell {
        display: inline-block;
        position: relative;
        height: 500px;
        width: 81px;
        transition-property: width;
        transition-duration: 130ms;
        margin-right: 10px;
        cursor: ;
        pointer
    }

    .expanded {
        width: 536px;
    }

    .accordion-cell:nth-child(4) h4 {
        left: -68px !important;
        width: 500px;
        top: 50px;
    }

    .accordion-cell:nth-child(3) h4 {
        left: -66px !important;
        top: 50px;
        width: 500px;
    }

    .accordion-cell:nth-child(2) h4 {
        left: -68px !important;
        width: 500px;
        top: 50px;
    }

    .accordion-cell:nth-child(1) h4 {
        left: -66px !important;
        width: 500px;
        top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .accordion-cell h4 {
        top: 16px !important;
    }

    .sides-design {
        flex-direction: column-reverse;
    }

    .accordion-cell {
        width: 100%;
        height: 35px;
        margin-bottom: 20px;
        margin-right: 0px;
    }

    .accordion-cell p {
        display: none;
    }

    .expanded {
        width: 100%;
        height: 187px;
    }

    .accordion-cell>h4 {
        transform: inherit !important;
    }

    .accordion-cell>h4 {
        right: 0 !important;
        left: 0 !important;
        height: 100%;
        display: flex;
        align-items: end;
        justify-content: flex-end;
        padding-bottom: 20px;
        padding-right: 20px;
        bottom: 0 !important;
    }

    .nmr-strategic-values .accordion-cell:nth-child(1) h4 {
        left: 21px !important;
    }

    .nmr-strategic-values .accordion-cell:nth-child(2) h4 {
        left: 21px !important;
    }

    .nmr-strategic-values .accordion-cell:nth-child(3) h4 {
        left: 21px !important;
    }

    .nmr-strategic-values .accordion-cell:nth-child(4) h4 {
        left: 0px !important;
        top: 0;
        padding-left: 21px;
    }

    .accordion-cell:nth-child(1) h4 {
        left: 0 !important;
    }

    .accordion-cell:nth-child(2) h4 {
        left: 0 !important;
    }

    .sub-accordian-content {
        position: absolute;
        bottom: 15px;
        right: 0 !important;
        padding: 0px 20px;
    }

    .accordion-cell:nth-child(4) h4 {
        left: 0 !important;
        width: auto;
        top: 0;
        justify-content: flex-start;
    }

    .accordion-cell:nth-child(3) h4 {
        left: 0 !important;
        top: 0;
        width: auto;
        justify-content: flex-start;
    }

    .accordion-cell:nth-child(2) h4 {
        left: 0 !important;
        width: auto;
        top: 0;
        justify-content: flex-start;
    }

    .accordion-cell:nth-child(1) h4 {
        left: 0 !important;
        width: auto;
        top: 0;
        justify-content: flex-start;
    }

    .nmr-strategic-values .accordion-cell>.accordion-cell-content .sub-accordian-content>p {
        line-height: 22px !important;
    }

    .nmr-strategic-values .sub-accordian-content {
        padding-left: 25px !important;
    }
}

@media screen and (max-width: 768px) {
    .accordion-cell.collapsed:after {
        content: " ";
        width: 100%;
        height: 100%;
        display: inline-block;
        position: absolute;
        top: 0;
        z-index: 1;
        background-image: linear-gradient(90deg, rgba(51, 51, 51, 0.07) 50%, rgba(51, 51, 51, 1) 100%);
    }

}

.expanded .collapsed.accordion-cell-content {
    background-image: linear-gradient(180deg, rgba(51, 51, 51, 0.07) 50%, rgba(51, 51, 51, 1) 100%);
}

@media screen and (min-width: 768px) {
    .accordion-cell>h4 {
        font-size: 35px;
        min-width: 400px;
    }

    .accordion-cell-content .sub-accordian-content h3 {
        font-size: 35px;
        margin-bottom: 30px;
    }

    .accordion-cell.collapsed:after {
        content: " ";
        width: 100%;
        height: 100%;
        display: inline-block;
        position: absolute;
        top: 0;
        z-index: 1;
        background-image: linear-gradient(180deg, rgba(51, 51, 51, 0.07) 50%, rgba(51, 51, 51, 1) 100%);
    }

    .accordion-cell>.accordion-cell-content .sub-accordian-content>p {
        font-size: 28px;
        line-height: 35px;
    }

    .accordion-cell>h4 {
        bottom: 14rem;
    }

    .accordion-cell:nth-child(1) h4 {
        left: -7rem !important;
    }

    .accordion-cell:nth-child(2) h4 {
        left: -7rem !important;
    }

    .accordion-cell:nth-child(3) h4 {
        left: -7rem !important;
    }

    .accordion-cell:nth-child(4) h4 {
        left: -7rem !important;
    }
}

/*-- accordion -- */

/*-- portfolio  -- */
.brand-img-section {
    background-color: black;
    /*background-image: url(../img/brandbanner.png);*/
    padding-top: 112px;
    padding-bottom: 303px;
    background-size: cover;
}

.brand-img-main {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.brand-img-main img.back-img {
    width: 100%;
}

.img-content {
    position: absolute;
    bottom: -100px;
    left: 0;
    background-color: #82418299;
    width: 100%;
    height: 0;
    transition: 0.5s ease;
    overflow-y: hidden;
}

.img-content h3 {
    color: white;
    font-size: 24px;
}

.img-content p {
    color: white;
    font-size: 21px;
}

.brand-img-main:hover .nora-float-img {
    display: none;
}

.brand-img-main:hover .paplion-float-img {
    display: none;
}

.brand-img-main:hover .img-content {
    bottom: 0;
    height: 100%;
}

.jadeedlaun-img {
    position: absolute;
    top: 32% !important;
    left: 40% !important;
    max-width: 300px !important;

}

.img-content-para {
    position: absolute;
    bottom: 50px;
    right: 50px;
	width:100%;
	overflow:hidden;
    padding: 0px 90px;
}

.nora-float-img {
    position: absolute;
    top: 6%;
    left: 32%;
    max-width: 500px !important;
}

.paplion-float-img {
    position: absolute;
    top: 34%;
    left: 32%;
    max-width: 500px;
}

/*page form*/

/*brand-img-section*/
.brand-img-section-banner8 {
    background-color: black;
    /*background-image: url(../img/lightbg.png);*/
    padding-top: 112px;
    padding-bottom: 303px;
    background-size: cover;
}

/*brand-img-section*/

/*brand-img-section=catagory*/
.brand-img-section-catagory {
    padding-top: 112px;
    padding-bottom: 303px;
    background-color: #EFEFEF;
}

.img-content-three {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #6a2422a1;
    width: 100%;
    height: 100%;
    transition: 0.4s ease;
    overflow-y: hidden;
    opacity: 0;
}

.brand-img-main:hover .img-content-three {
    opacity: 1;
    height: 100%;
}

.img-content-three h3 {
    color: white;
    font-size: 28px;
}

.img-content-three p {
    color: white;
    font-size: 21px;
}

.brand-img-main:hover .choi-float-img {
    display: none;
}

.choi-float-img {
    position: absolute;
    top: 29%;
    left: 41%;
    max-width: 250px;
}

.bg-text {
    font-size: 60px;
    color: white;
    max-width: 100% !important;
    position: absolute;
    top: 44%;
    width: 100%;
    right: 175px;
}

.bg-text-two {
    font-size: 60px !important;
    color: white;
    max-width: 100% !important;
    position: absolute;
    top: 0;
    width: 100%;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.brand-img-main:hover .bg-text-two {
    display: none;
}

/*brand-img-section-catagory*/

/*brand-img-section-two*/
.brand-img-section-two {
    /*background-image: url(../img/subbanner5.png);*/
    padding-top: 112px;
    padding-bottom: 303px;
    background-size: cover;
}

.img-content-two {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    top: 0 !important;
    transition: 0.6s ease;
    overflow-y: hidden;
    opacity: 0;
    /*                text-align: right;*/
}

.brand-img-main:hover .img-content-two {
    opacity: 1;
    height: 100%;
}

.img-content-two h3 {
    color: white;
    font-size: 24px;
}

.img-content-two p {
    color: white;
    font-size: 21px;
}

.brand-img-main .boule-float-img {
    position: absolute;
    top: 31%;
    left: 32%;
    /*                max-width: 550px;*/
    max-height: 220px;
}

.norahsquare-float-img {
    position: absolute;
    top: 30%;
    left: 43%;
    max-width: 170px;
}

.mashro-float-img {
    position: absolute;
    top: 42%;
    left: 26%;
    max-width: 600px;
}

.brand-img-main:hover .boule-float-img {
    display: none;
}

.brand-img-main:hover .norahsquare-float-img {
    display: none;
}

.brand-img-main:hover .mashro-float-img {
    display: none;
}

.brand-img-main:hover .village-float-img {
    display: none;
}

.brand-haeding-design {
    margin-bottom: 30px;
    /*                text-align: right;*/
}

.brand-haeding-design h2 {
    font-size: 43px;
    color: white;
    color: white;
}

.village-float-img {
    position: absolute;
    top: 30%;
    left: 41%;
    max-width: 290px;
}

/*brand-img-section-two*/

/*img-content-five*/
.img-content-five {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #928788c7;
    width: 100%;
    height: 100%;
    transition: 0.4s ease;
    overflow-y: hidden;
    opacity: 0;
    /*                text-align: right;*/
    justify-content: center;
}

.brand-img-main:hover .img-content-five {
    opacity: 1;
    height: 100%;
}

.img-content-para-five h3 {
    color: white;
    font-size: 28px;
}

.img-content-para-five p {
    color: white;
    font-size: 21px;
}

.img-content-para-five {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0px 90px;
    flex-direction: column;
    justify-content: center;
}


.banner-button-design a button {
    background-color: white !important;
    height: 50px;
    width: 156px !important;
    border: 1px solid white;
    border-radius: 0px;
    color: black !important;
    margin: 0 auto !important;
    font-size: 19px;
    text-decoration: none !important;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    padding-top: 5px;
    padding-bottom: 5px;
}

.popup-link {
    display: flex;
    flex-wrap: wrap;
}

.popup-link a {
    background: #333;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 17px;
    cursor: pointer;
    margin: 20px;
    text-decoration: none;
}

.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
}

.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 50px 20px;
    border: 1px solid #888;
    width: 85%;
    position: relative;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 60vh;
}

.popup-content p {
    font-size: 17px;
    padding: 10px;
    line-height: 27px;
    color: #004E80;
}

.popup-content a.close {
    color: #004E80;
    float: right;
    font-size: 35px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    position: absolute;
    left: 20px;
    top: 5px;
}

.popup-content a.close:hover {
    color: #333;
}

.popup-content span:hover,
.popup-content span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-container:target {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.popup-container h3 {
    margin: 10px;
    color: #004E80;
    font-size: 26px;
    font-weight: bold;
}

.mobile-brand-img-main {
    display: none;
}

.brand-img-main-separate {
    display: flex;
}

.rtl .img-content-para {
    text-align: right !important;
}

.rtl .submit-button-main {
    /*    text-align: right;*/
}

@media screen and (max-width: 1024px) {
    .popup-content {
        width: 77.5%;
    }

    .brand-img-main .boule-float-img {
        position: absolute;
        top: 36%;
        left: 36%;
        max-width: 100px;
    }

    .mobile-brand-img-main {
        /*        background-image: url("https://nmr001.seriousducklings.com/wp-content/uploads/2023/07/realbanner.png");*/
        background-size: cover;
    }

    .mb-img-content-para {
        text-align: center;
        padding: 30px 50px;
    }

    .mb-img-content-para .boule-float-img {
        max-width: 40% !important;
    }

    .mb-img-content-para h3 {
        color: white;
    }

    .mb-img-content-para p {
        color: white;
    }

    .banner-button-design a button {
        background-color: white !important;
        height: 45px;
        width: 145px !important;
        color: #004E80 !important;
        font-weight: 600 !important;
    }

    .bg-text-two {
        font-size: 20px !important;
    }

    /*.form-submit-button1 i{
        display: none !important;
    }*/
    .elementor-105 .elementor-element.elementor-element-b43fa69:before {
        top: 45px;
        height: 110px;

    }

    .elementor-105 .elementor-element.elementor-element-b42e1d0:before {
        top: -41px;
        height: 84px;
    }

    .elementor-109 .elementor-element.elementor-element-76165ae:before {
        top: -75px !important;
        height: 150px !important;
    }

    .elementor-107 .elementor-element.elementor-element-ebd179d:before {
        top: -41px;
        height: 84px;
    }

    .banner-button-popup-design a button {
        background-color: #004E80;
        color: white !important;
        border: 1px solid #004E80 !important;
        padding-top: 5px;
        padding-bottom: 5px;
        font-weight: 600;
        border-radius: 0px !important;
    }

    .elementor-search-form__input:focus {
        border-bottom: none !important;
        outline: none !important;
    }

    .mb-img-content-para .banner-button-design {
        text-align: center !important;
    }

    .banner-button-popup-design {
        text-align: right !important;
        margin-top: 0px !important;
    }

    .banner-button-design a button {
        height: 30px !important;
        line-height: 20px !important;
    }

    .real-estate-front-image .boule-float-img {
        display: none;

    }
}

@media screen and (max-width: 1180px) {
    .mobile-brand-img-main {
        display: block;
        margin-bottom: 20px;
    }

    .destop-view-banner-design {
        display: none !important;
    }
}


.rtl.page-id-107 .submit-button-main {
    margin-top: 40px;
}

.form-submit-button1 .fa-external-link {
    /*position: relative;
    top: 4px;
    left: 3px;*/
}

.real-estate-front-image .boule-float-img {
    position: absolute;
    top: 31%;
    left: 29%;
    width: 700px;
}

.boule-float-img1 {
    max-height: 220px;
}

.show-more {
    font-size: 16pt;
    line-height: 15px;
}

.logo-text-heading {
    font-size: 26pt;
    font-weight: 600px;
    padding: 0 36px;
}

.banner-button-design {
    margin-top: 5px;
}


/*-- portfolio  -- */

/*-- advance image  -- */
.take-care-sec {
    padding: 333px 0px;
    background-color: #EFEFEF;
    position: relative;
}

.take-care-sec-heading {
    text-align: center;
    margin-bottom: 130px;
}

.take-care-sec-heading h2 {
    font-size: 68px;
    color: #004E80;
    margin-bottom: 0px;
}

.takecare-box-main-two {
    background-size: cover;
    background-repeat: no-repeat;
}

.takecare-content img {
    width: 100%;
}

.takecare-content {
    position: relative;
}

.takecare-content h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 0px;
    position: absolute;
    bottom: 125px;
    text-align: center;
    width: 100%;
    padding: 10px;
}

@media screen and (max-width: 1024px) {
    .takecare-content img {
        width: 100%;
        height: 300px !important;
        object-fit: cover;
    }

    .takecare-content h3 {
        bottom: 120px;
    }
}

@media screen and (max-width: 576px) {
    .takecare-content img {
        width: 100%;
        height: 200px !important;
        object-fit: cover;
    }

    .takecare-content h3 {
        bottom: 70px;
    }
}

/*-- advance image  -- */

/*-- Timeline  -- */
.timeline {
    width: 100%;
    background-color: #fff;
}

.timeline .swiper-container {
    width: 100%;
    position: relative;
    text-align: center;
}

.timeline .swiper-wrapper {
    transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}

.timeline .swiper-slide {
    position: relative;
    color: #000;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.timeline .swiper-slide .timeline-year {
    display: block;
    font-style: italic;
    font-size: 42px;
    margin-bottom: 50px;
    transform: translate3d(20px, 0, 0);
    color: #d4a024;
    font-weight: 300;
    opacity: 0;
    transition: 0.2s ease 0.4s;
}

.timeline .swiper-slide .timeline-title {
    font-weight: 800;
    font-size: 34px;
    margin: 0 0 30px;
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    transition: 0.2s ease 0.5s;
}

.timeline .swiper-slide .timeline-text {
    line-height: 1.5;
    opacity: 0;
    transform: translate3d(20px, 0, 0);
    transition: 0.2s ease 0.6s;
}

.timeline .swiper-slide-active .timeline-year {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.6s;
}

.timeline .swiper-slide-active .timeline-title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.7s;
}

.timeline .swiper-slide-active .timeline-text {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: 0.4s ease 1.8s;
}

.timeline .swiper-pagination {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.timeline .swiper-pagination::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.timeline .swiper-pagination-bullet {
    width: 84px;
    line-height: 73px;
    text-align: center;
    display: block;
    opacity: 1;
    background: transparent;
    padding: 10px;
    margin: 15px 0 !important;
    position: relative;
    border-radius: 0px;
}

.timeline .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 40%;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    background-color: #ccc;
    transform: rotate(45deg);
    transition: 0.2s;
}

.timeline .swiper-pagination-bullet-active {
    background: transparent;
    color: #fff;
}

.timeline .swiper-pagination-bullet-active span {
    font-size: 22px;
    width: 95px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    height: 31px;
    background-color: #333;
    color: #fff;

}

.timeline .swiper-pagination-bullet span {
    font-size: 22px;
    width: 72px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    height: 31px;
    line-height: 24px;
    display: inline-block;
}

.rtl .timeline .swiper-pagination-bullet span {
    font-size: 22px;
    width: 72px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    height: 31px;
    line-height: 37px;
    display: inline-block;
}


.timeline .swiper-pagination-bullet-active::before {
    background-color: #333;
}

.timeline .swiper-button-next,
.timeline .swiper-button-prev {
    background-size: 20px 20px;
    top: 15%;
    width: 20px;
    height: 20px;
    margin-top: 0;
    z-index: 2;
    transition: 0.2s;
}

.swiper-pagination-bullet:hover:before {
    background-color: white !important;
}

.swiper-pagination-bullet-active:hover:before {
    background-color: #333 !important;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets:last-child {
    opacity: .5 !important;
}

@media screen and (max-width: 768px) {
    .timeline .swiper-pagination-bullet {
        width: 80px;
        line-height: 73px;
        text-align: center;
        display: block;
        opacity: 1;
        background: transparent;
        padding: 10px;
        margin: 15px 0 !important;
        position: relative;
        border-radius: 0px;
    }

    .timeline .swiper-pagination-bullet::before {

        left: 28%;

    }

    .swiper-pagination {
        position: relative;
    }

    .swiper-pagination:beforfe {
        content: "";
        height: 50px;
        width: 50px;
        position: absolute;
        top: 0;
        left: 0;
        background-color: red;
        display: block;
    }

    .timeline .swiper-pagination::before {
        display: none;
    }

    .timeline .swiper-pagination {
        width: 100%;
        height: 120px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        font-size: 18px;
        position: relative;
        z-index: 1;
        overflow-y: scroll;
    }

    /*.timeline .swiper-pagination::-webkit-scrollbar { 
                  width: 0 !important;
                  display: none;
                }*/
    /*.timeline .swiper-pagination::before{
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0;
                    height: 90px;
                    width: 60px;
                    background-color: rgba(0, 0, 0, 0.2);
                    box-shadow: 8px 0 10px -6px lightgray;
                    opacity: 0.3s;
                    background-image: url(pic_trulli.jpg);
                    }*/
}

.page-slides {
    text-align: center;

}

.page-slides span {
    font-size: 22px;
    width: 72px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    height: 31px;
    line-height: 24px;
    display: inline-block;
}

.swiper-container1.swiper-container-horizontal:before {
    content: " ";
    height: 130px;
    width: 100px;
    display: inline-block;
    position: absolute;
    top: 0px;
    background-position: left center;
    right: -10px;
    background-image: url(/wp-content/uploads/2023/07/right-shadow.png);
    z-index: 23;
}

.swiper-container1.swiper-container-horizontal:after {
    content: " ";
    height: 130px;
    width: 100px;
    display: inline-block;
    position: absolute;
    top: 0px;
    background-position: right center;
    left: -10px;
    background-image: url(/wp-content/uploads/2023/07/left-shadow.png);
    z-index: 23;
}

.page-slides span {
    margin-top: 40px;
    font-size: 18px;
    width: 72px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    height: 20px;
    line-height: 17px;
    display: inline-block;
}

.rtl .page-slides span {
    margin-top: 40px;
    font-size: 18px;
    width: 72px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    height: 20px;
    line-height: 24px;
    display: inline-block;
}

.page-slides span::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 40%;
    width: 13px;
    height: 13px;
    border: 2px solid #333;
    background-color: #ccc;
    transform: rotate(45deg);
    transition: 0.2s;
}

.swiper-slide-active span {
    background-color: #333;
    color: #fff;
}

.swiper-slide-active span::before {
    background-color: #333;
}

@media screen and (max-width: 1180px) {
    .swiper-container .swiper-pagination {
        display: none;
    }

    .page-slides span {
        margin-top: 40px;
        font-size: 18px;
        width: 72px;
        font-family: 'Tajawal', sans-serif;
        font-weight: 500;
        height: 25px;
        line-height: 17px;
        display: inline-block;
    }

    .rtl .page-slides span {
        margin-top: 40px;
        font-size: 25px;
        width: 72px;
        font-family: 'Tajawal', sans-serif;
        font-weight: 500;
        height: 25px;
        line-height: 32px;
        display: inline-block;
    }

    .page-slides span::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 43%;
        width: 18px;
        height: 18px;
        border: 2px solid #333;
        background-color: #ccc;
        transform: rotate(45deg);
        transition: 0.2s;
    }
}

@media screen and (min-width: 1180px) {
    .swiper-container1 {
        display: none;
    }
}

.swiper-container1 .swiper-pagination {
    display: none;
}

.swiper-container1 {
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*-- Timeline  -- */