
body{background-color: #fff;font-family: 'Montserrat', sans-serif;color: #311C07; margin: 0; padding: 0;
    overflow-x:hidden; font-size:18px;font-weight:normal;}
   
   ul{margin: 0;padding: 0;}
   a, a:hover{color:inherit;text-decoration: none;}
   
   
   /*@font-face {
     font-family: Gotham Narrow;
     font-weight:100;
     src: url('../fonts/Gotham-Narrow/Gotham Narrow Thin.otf');
   }*/
   
   /*header*/
   header {position:relative;width: 100%;background:#fff;padding:5px 0px;position: relative;
       overflow: hidden;z-index: 1;}
   header .navbar-brand img{max-width:100%;     max-width: 220px;}
   header .navbar-light .navbar-nav li{position: relative;margin: 0px 0px;}
   header .navbar-light .navbar-nav .nav-link{color:#1a5872;font-weight: 600;font-size: 12px;text-transform: uppercase;}
   header .navbar-light .navbar-nav .nav-link:hover{color:#000;}
   .get-in-touche {background: #1a5872;color: #fff !important;font-weight: 600;padding: 10px 30px;
       display:inline-block;font-size: 16px;margin: 5px 5px; border-radius: 50px;}
   header .get-in-touche{margin: 5px 5px;padding: 3px 10px;}
   .get-in-touche-hd {margin-top: -35px;margin-bottom: 15px;z-index: 1; position: relative;}
   
   .hed-bg-lt{position: absolute;top: 0;left: 0px;max-width: 8%;z-index: -1;
       transform: translate(0px, -0%);}
   .hed-bg-tp{position: absolute;top: 0;left: 32%;max-width: 22%;z-index: -1;transform: translate(0px, -2%);}
   .hed-bg-rt{position: absolute;top: 0;right: 0px;max-width: 15%;z-index: -1;
       transform: translate(0px, -3%);}    
   
   @media (max-width:992px){
       .head-menu-link{align-items: unset;}
   }
   @media (max-width:767px){
       .get-in-touche-hd {margin-top: 0px;margin-bottom: 15px;}
   }
   /*header cl*/
   
   /*index cd*/
   .fs-lg{font-size: 39px;font-weight: bold;color:#1a5872;
   background: linear-gradient(to right, #2b7c9f, #1a5872, #124358, #124053);
     -webkit-background-clip: text;-webkit-text-fill-color: transparent;
       margin-bottom: 51px;position: relative;display: inline-block;}
   
   .fs-lg:after {content: "";position: absolute;width: 100%;bottom: -30px;
       background: url("../images/text-line.png") no-repeat;
       height: 30px;left: 0;right: 0;margin: auto;background-size: 185px;background-position: center;}
   .color_change{
       color: #fff !important;
       /* -webkit-text-fill-color: #fff; */ 
       background: linear-gradient(to right, #ffffff, #ffffff, #ffffff, #ffffff);
       -webkit-background-clip: text;-webkit-text-fill-color: transparent;
   }
   .icon_wd{
       width: 120px;
   }
   .f_icon{
       background-color:#1a5872;
       display: inline-block;
       font-weight: 600;
       padding: 10px 20px;
       display: inline-block;
       font-size: 16px;
       margin: 5px 5px;
   }
   .f_icon i{
       color: #fff;
       font: 16px;
   }
   .abt-lt-bg1 {
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 9%;
    z-index: -1;
    transform: translate(0%, -4%);
}
.abt-rt-bg {
    position: absolute;
    bottom: 0;
    right: 0px;
    width: 18%;
    z-index: -1;
    transform: translate(35%, 0%);
}
   .top-banner{position: relative;}
   .top-banner img.w-100 {min-height:650px;object-fit: cover;    border: 10px solid #1a5872;
}
   .bn-img-tp {position: absolute;top: 0;left: 0;width: 10%;}
   img.bn-img-bt {position: absolute;bottom: 0;right: 0px;width: 10%;}
   /*.banner-txt > .container:first-child .row {flex-direction: row-reverse;}*/
   .banner-txt {position: absolute;top: 0;bottom: 0;left: 0;right: 0;padding: 30px 0px;line-height: normal;display: flex;flex-direction: column;
   justify-content: space-between;}
   
   .bn-logo-tp-rt img{max-width:121px;}
   
   .bnr-bx1 {background: url(../images/vector1.png)no-repeat;background-size: cover;width: 100px;font-size: 10px;text-align: center;padding: 10px 7px 31px;
       line-height: 1;margin-left: auto;margin-right: 0px;}
   .bnr-bx1 span {font-size: 18px;color: #8B3379;}
   
   .bnr-bx2 {background: #8B3379;width: 95px;height: 95px;border-radius: 100%;
       text-align: center;line-height: 52px;box-shadow: 4px -2px 2px 0px #fff;
       padding: 15px;margin-left: auto;margin-right: 110px;margin-top: -61px;}
   .bnr-bx2 img{max-width: 100%;}
   
   .bnr-hd-txt{color: #fff;text-align: right;margin-top: 31px;}
   .bnr-txt-bx .bnr-hd{font-size: 39px; color:#fff;font-weight: bold;line-height: normal;margin-bottom: 30px;}
   
   .bnr-ftr-txt{color: #fff;text-align: right;}
   .bnr-ftr-txt span{font-size:36px;display:block;}
   /*
   .banner-txt > .container:last-child .row{align-items:center}
   .bnr-logo {text-align: right; border-right: 2px solid #fff;
       padding-right: 15px;}
   .bnr-logo img {max-width: 151px;}
   */
   
   .news_content{
       text-align:left;
   }
   
   .btn-article{
       color:#fff;
       background-color:#000;
       padding:8px 15px;
       border-radius:50px;
       font-size:14px;
   }
   .btn-article:hover{
       color:#fff;
   }
   
   .about-mn{background-color:#E4E4E4;padding:40px 0px;text-align: center;position: relative;z-index: 1;
   /* background: url(../images/abt-icon-bg.jpg)no-repeat;background-size: cover;*/} 
   /*.abt-rt-bg{position: absolute;top: 50px;right: 0px;width: 9%;z-index: -1;}*/
   
   .abt-img img {max-width: 70%;margin-top: -17%;background: #fff; border: 2px solid #1a5872;}
   .abt-img img:nth-child(1) {margin: 0px;}
   .abt-img img:nth-child(even) {margin-left: 30%;}
   
   .our-services {
       background: url(../images/dementia-bg.png)no-repeat;
       background-size: contain;
   }
   .our-services .accordion-item{border: 0px;}
   .our-services .accordion-item button {background: #1a5872;margin-bottom: 15px;color:#fff;font-size:20px;}
   .our-services .accordion-button:focus{box-shadow: unset;border: 0px;}
   .our-services .accordion-button:not(.collapsed)::after{content:"\f105";font-family: "Font Awesome 6 Free";font-weight: 900;transform: rotate(90deg);background: unset;color:#ffffff;}
   .accordion-button::after{content:"\f105";font-family: "Font Awesome 6 Free";font-weight: 900;background: unset;color:#ffffff;}
   
   .newnext-steps-bx{
       position:relative;
   }
   .newnext-steps-bx:after {
    content: "";
    position: absolute;
    height: 50px;
    width: 50px;
    background: url('https://eleanorcare.homes/Halden_Heights_Ashford/images/arrow-turn-rt.png') no-repeat;
    top: -5px;
    right: -45px;
    z-index: 99;
    background-size: 40px;
}
   
   .our-amenities-mn{background-color:#29607841;padding:40px 0px;text-align: center;position: relative;
       z-index: 1;overflow: hidden;
       /* background: url(../images/home-features-bg.png)no-repeat;
       background-size: cover; */
   } 
   .our-amenities-mn-bx {text-align: center;}
   .our-lt-bg {    position: absolute;
    top: 0;
    left: 0;
    max-width: 21%;
    z-index: -1;
    bottom: 0;
    transform: translate(-84%, -10%) rotate(130deg);}
   .our-rt-bg{position: absolute;
    top: 0;
    right: 0px;
    max-width: 15%;
    z-index: -1;
    transform: translate(48%, 130%);}
   
   .activities{padding: 40px 0px;text-align: center;background-color:#F1F1F1;text-align: center; background: url(../images/activities-bg.png)no-repeat;background-size: cover;}
   .activities-lt img:nth-child(1) {width: 60%;margin-left: auto;display: block;}
   .activities-lt img:nth-child(2) {width: 60%;margin-right: auto;display: block;margin-top: -70px;
   position: relative;background: #fff;}
   .activities-rt img:nth-child(1) {width: 60%;margin-right: auto;display: block;}
   .activities-rt img:nth-child(2) {width: 60%;margin-left: auto;display: block;margin-top: -70px;
   position: relative;background: #fff;}
   .btn-mgn-tp {margin-top: -80px;position: relative;}
   
   .activities-lt img{
    border: 2px solid #1a5872;
   }
   .activities-rt img{
    border: 2px solid #1a5872;
   }
   .meet-team-mn{background-color: #1a5872;
    padding: 40px 0px;
    text-align: left;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #fff;
}
   .meet-team-img{text-align: center;color:#fff;}
   .meet-team-img img {margin-top:10px;}
   .meet-team-img > b{display: inline-block;}
   .meet-team-bx hr{margin-bottom: 30px;}
   .meet-lt-bg{position: absolute;
    top: 0;
    left: 0;
    max-width: 21%;
    z-index: -1;
    bottom: 0;
    transform: translate(-80%, 2%) rotate(80deg);}

    .meet-rt-bg {
        position: absolute;
        top: auto;
        right: 0;
        max-width: 21%;
        z-index: -1;
        bottom: 0;
        transform: translate(74%, -5%) rotate(0deg);
    }
   
   .next-steps{padding: 40px 0px 30px; text-align: center;background:#F1F1F1; }
   .next-steps-bx {background: #1a5872;padding: 15px 15px 5px;box-shadow: 2px 2px 3px 1px #33333354;height: 100%;
                color: #fff; position:relative;}
   
   
   .get-in{padding: 40px 0px 30px;text-align: center;background: url(../images/get-in-bg.png)no-repeat;background-size: cover;}
   .get-frm {background: #F1F1F1;padding: 15px;}
   .get-rl-tp-bg {background: #F1F1F1;padding: 21px 15px 1px;margin-bottom:21px;}
   
   
   .testimonials-mn{
    background-color: #e1dede;
    padding: 40px 0px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
   }
   .testimonials-bx {background: #1a5872;
    color: #fff;
    padding: 21px;
    height: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0px 2px 4px 0px #ccc;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;}
   .box-design-1{position: absolute;top: 0;left: 0;z-index:-1;}
   .box-design-2{position: absolute;right: 0;bottom: 0;z-index: -1;}
   .testimonial-lt-bg{position: absolute;
    top: 0;
    left: 0;
    max-width: 15%;
    z-index: -1;
    transform: translate(-80%, 40%) rotate(173deg);}
   .testimonial-lt-bg1{position: absolute;top: auto;left: 0;max-width: 10%;z-index: -1;
       bottom: 0;transform: translate(-1%, 80%);}
   .testimonial-rt-bg{position: absolute;
    top: 0;
    right: 0;
    max-width: 15%;
    z-index: -1;
    bottom: 0;
    transform: translate(71%, 75%);}
   
   .privacy-mn{margin:40px 0px;}
   .privacy-mn ul, .privacy-mn ol{list-style: none;}
   .privacy-txt .clr{color: #1a5872;font-weight: 600;}
   .hm-btn{text-align: center;margin: 30px 0px;}
   .hm-btn a {background: #1a5872;color: #fff !important;font-weight: 600;padding: 10px 60px;
       display: inline-block;font-size: 16px;}
   
   footer{background-color:#1a5872;padding:30px 0px;color:#fff;position: relative;
       overflow: hidden;}
   footer .row {justify-content: end;}
   .ftr-link-bx strong {margin-bottom: 15px;display: block;}
   .ftr-link-bx li {list-style: none;margin-bottom: 5px;position: relative;}
   .ftr-link-bx li a{color: #fff;}
   .ftr-ps-tp {position: absolute;top: -40px;left: -30px;width: 17%;}
   img.ftr-ps-bm {position: absolute;bottom: 0;right: 0;max-width: 25%;}
   
   .ftr-lg-bx img {max-width: 87px;}
   .ftr-lg-bx span {background: #fff;display: inline-block;padding: 15px 15px 7px;margin: 5px;
       border-radius: 5px;}
   .ftr-btn{border-bottom: 1px solid #fff;text-align: right;position: relative;}
   .ftr-btn .get-in-touche { background: #fff;color: #1a5872 !important;margin: 0!important;}
   
   
   .mdl-frm .modal-content{background-color:rgb(255 255 255 / 92%);}
   .mdl-frm .modal-body {padding: 40px;text-align: center;position: relative;}
   .mdl-frm .modal-body h3{color:#1a5872;font-weight: 600;}
   .mdl-frm .form-control{background-color:#D9D9D9;}
   .mdl-frm .frm-btn{background-color:#1a5872;color:#fff;}
   .mdl-frm .btn-close {position: absolute;top: 15px;right: 15px;}
   /* .modal-backdrop{z-index:99999999;} */
   
   .bnr-m-logo{display: none;position: absolute;top: 5px;right: 0;}
   @media (max-width:767px){
       .banner-txt{position: relative;background-color:#E4E4E4;}
       .bnr-bx1, .bnr-bx2{display: none;}
       .bnr-txt-bx .bnr-hd{font-size:28px;color: #1a5872;}
       .bnr-ftr-txt{color:#311C07;}
       .bnr-ftr-txt span{font-size: 28px;}
       .banner-txt .bn-logo-tp-rt{display: none;}
       .bnr-hd-txt{color: #1a5872;margin-top: 0px;}
   
       header .navbar-brand img {max-width: 101px;}
       .fs-lg{font-size: 28px;}
       .for-more-mn .navbar > div{font-size:28px;margin-bottom:10px;}
       .top-banner img.w-100{min-height: unset;}
       .bnr-logo {text-align: left;border:0;}
       
       .bnr-m-logo, .bnr-m-logo .bnr-bx1, .bnr-m-logo .bnr-bx2{display:block;}
       .bnr-bx1{margin-right: 15px;width: 80px;font-size: 8px;
       padding: 6px 7px 22px;line-height: 1;}
       .bnr-bx2{margin-right: 107px;width: 65px;height: 65px;line-height: 1;
       padding: 10px;margin-top: -35px;}
   /*nw*/
       .btn-mgn-tp {margin-top: 0px;position: relative;}
   }
   
   .galry{padding: 40px 5px; text-align: center; background: url(../images/gallery-bg.png)no-repeat;background-size: contain; background-color:#e8e8e8;}
   .galry .owl-nav .owl-prev{position: absolute;left: -15px;top: 45%;font-size: 30px !important;}
   .galry .owl-nav .owl-next{position: absolute;right: -15px;top: 45%;font-size: 30px !important;}
   
   .mdl-gl .modal-content{background-color:rgb(255 255 255 / 92%);}
   .mdl-gl .modal-body {padding: 21px;text-align: center;position: relative;}
   .mdl-gl .modal-body h3{color:#1a5872;font-weight: 600;}
   .mdl-gl .form-control{background-color:#D9D9D9;}
   .mdl-gl .frm-btn{background-color:#1a5872;color:#fff;}
   .mdl-gl .carousel.slide button i{font-size:41px;}
   .mdl-gl .btn-close {position: absolute;top: 1px;right: 1px;}
   
   /*index cls*/
   
   
   @media (max-width: 767px){
   
   .bnr-ftr-txt, .bnr-logo{display: none;}
   
   .bnr-m-logo .bnr-ftr-txt, .bnr-m-logo .bnr-logo{display:block;}
   .bnr-m-logo{display: none;position: absolute;top: 5px;right: 0;left: 0; bottom: 0; display: flex;justify-content: space-between;flex-direction: column;}
   .posisn-re{position: relative;}
   .bnr-m-logo	.bn-logo-tp-rt img{width: 70px;}
   
   .bnr-m-logo .d-flex {align-items: center;}
   
   .bnr-ftr-txt {color: #fff;font-size: 14px;line-height: 1.1;padding: 5px 10px;}
   .bnr-ftr-txt span {font-size: 19px;}
   .bnr-logo {text-align: right;border-right: 2px solid #fff;padding: 5px 10px;}
   .bnr-logo img {max-width: 132px;width: 100%;}
   
   }
   
 


   ul {
    list-style: none;
}

   /* Marquee Container */
.marquee_Container {
    overflow: hidden;
    width: 100%;
    position: relative;
    background-color: #f8f8f8;
    padding: 35px 0;
}

.morq_row {
    display: flex;
    position: relative;
    white-space: nowrap;
    align-items: center;
    gap: 15px;
}
.morq_row.row1 {
            animation: marquee-left 120s linear infinite;
        }

        .morq_row.row2 {
            animation: marquee-right 150s linear infinite;
        }

.marq_img {
    width: 300px;
    border-radius: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.marquee_Container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20%;
    height: 100%;
    background-image: linear-gradient(to right, #fff, #ffffff00);
    z-index: 1;
}
.marquee_Container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20%;
    height: 100%;
    background-image: linear-gradient(to right, #ffffff00, #fff);
    z-index: 1;
}

.row2{
    margin-top:15px;
}

@media (max-width:768px){
    .marq_img{
      width: 180px;
    }
    .morq_row {
        gap: 10px;
    }
   .row2{
    margin-top:10px;
}
}


/* Lightbox */
.marqlightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.marqlightbox img {
    max-width: 100%;
    max-height: 100%;
    animation: fadeIn 0.3s ease-in-out;
}

.marqlightbox_close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}


 @keyframes marquee-left {
            from {
                transform: translateX(0);
            }
            to {
                transform: translateX(-100%);
            }
        }

        @keyframes marquee-right {
            from {
                transform: translateX(-100%);
            }
            to {
                transform: translateX(0);
            }
        }
/* Fade-In Effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



.news_column h4{
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.news_row h6{
  text-align: left;
  font-size: 12px;
  font-weight: 500;
}
.news_row p{
    font-size: 11px;
    text-align: left;
    margin: 0;
}
.news_row{
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0px;
}
.news_row a{
    text-decoration: none;
    align-items: center;
    border: 1px solid #000;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 0;
    padding: 4px;
    border-radius: 50%;
}
.news_row a i{
    font-size:14px;
}

.news_image img{
    max-width: 100%;
}
.news_image p{
    text-align: left;
    font-size: 12px;
}
.news_content h6{
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}
.news_content p{
    text-align: left;
    font-size: 12px;
}
.custom-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Wrapper for close button + popup */
.popup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

/* Close button row, flexes to right */
.popup-close-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

/* Close button styling */
.popup-close-btn {
  background: #e60000;
  color: white;
  border: none;
  font-weight: bold;
  padding: 8px 10px 8px 10px;
  border-radius: 8px;
  font-size: 21px;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  margin-bottom: 2px;
  margin-right: 3px;
}

/* Circle inside button */
.popup-close-btn .close-icon {
  background: white;
  color: red;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  margin-right: 6px;
  display: inline-block;
}

/* Main popup box */
.custom-popup-content {
  background: #fff;
  padding: 0;
  width: 100%;
  max-width: 1080px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
  overflow: hidden;
}

.custom-popup-content img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .popup-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the entire block */
  }

  .custom-popup-content {
    width: 85% !important; /* Make the popup box fit smaller screens */
  margin-right: 20px;         /* Center it */

  }
    .popup-close-btn {
    font-size: 12px;
    padding: 5px 12px 5px 12px;
    transform: translateY(10px); /* pull down for visual balance */
  margin-bottom: 12px;
  margin-right: 55px;    
  }

  .popup-close-btn .close-icon {
    width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 18px;
  }
}
