/*20.06.2025*/
/* ========== Default (Desktop First) ========== */


    #logo {
      width: 200px;
      max-width: 100%;
    }


    /* === Tablet: 768px – 1024px === */
    @media (max-width: 1024px) and (min-width: 768px) {
      #logo {
        width: 180px;
            margin-top: 12px !important;
      }
      .header-user-menu {
        margin-right: 5px !important;
        top: 16px !important;
      }
        .location-text-hide{
            display: none !important;
        }

    }

    /* === Fold-style phone (wide + short) === */
    @media (max-width: 767px) and (min-width: 670px) and (max-height: 550px) {
      #logo {
        width: 150px;
      }
      .location-text-hide{
            display: none !important;
        }
    }

    /* === Regular Mobile Phones === */
    @media (max-width: 767px) and (min-height: 551px) {
      #logo {
        width: 150px;
        top: 15px;
      }
      .location-text-hide{
            display: none !important;
        }
    }

    /* === Extra Small Screens === */
    @media (max-width: 480px) {
      #logo {
        width: 135px;
      }

      .hamburger {
        top: 17px !important;
        left: 11px !important;
      }
    }
/*END*/
/*19.06.2025*/
@media (min-width: 1024px) {
    .desktop-hide{
        display: none !important;
    }
}

.right-side{
    width: 96px !important;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1.5px solid #6B4D80; /* Purple border */
    border-radius: 50%;
    color: #6B4D80; /* Icon color */
    font-size: 20px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.icon-circle:hover {
    background-color: #6B4D80;
    color: white;
}

/*HEADER*/
.mmenu-trigger{
  margin: 0 0 0 0 !important;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 23px;
  height: 4px;
}

.mmenu-trigger {
  height: 40px;
  width: 40px;
  top: 20px;
}

.hamburger{
  top: 10px !important;
}


#header {
  padding: 0px 0 68px 0 !important;
}


.header-widget.fa {
  color: #6B4D80;
  font-size: 20px;
}

@media (max-width: 767px) {
    .header-user-menu {
        top: 18px !important;
        margin-right: 7px !important;
    }
    .top15{
        position: relative !important;
        top: 16px !important;
    }
    .curved-text-container a .fa{
        font-size: 25px !important;
        color: #6B4D80 !important;
    }
    section.listing.details {
        padding: 6rem 0 !important;
    }
    .location-text-hide{
        display: none;
    }
    .desktop-hide{
        display: show !important;
    }
}


/*END*/
/*02.06.2025*/
/* ----------------------------- */
/* 📱 Mobile (Max 767px)         */
/* ----------------------------- */
@media (max-width: 767px) {
    .see-all2 a {
        top: 2px !important;
        font-size: 11px !important;
        font-weight: bold !important;
        border: 1px solid !important;
        padding: 0px 5px 5px 5px !important;
    }

    .popular.portfolio .featured-homes {
        margin-bottom: -80px !important;
    }

    .hide-mobile-featured-title h3 {
        display: none;
    }
}

/* -------------------------------------- */
/* 📱 Tablet & Below (Max 991px)          */
/* -------------------------------------- */
@media (max-width: 991px) {
    .featured-rating-wrapper {
        display: none !important;
    }
}

/* ----------------------------- */
/* 💻 Desktop Only (Min 992px)   */
/* ----------------------------- */
@media (min-width: 992px) {
    .hide-desktop-featured-title {
        display: none !important;
    }
}
/*27.05.2025*/
@media screen and (max-width: 576px) {
    .section-title h2 {
        font-size: 22px!important;
    }
    .see-all2 a {
        top: 0px !important;
    }
}
/*End*/
/*22.05.2025*/
.fixed-image {
    width: 100%;
    height: 200px; /* or whatever height you want */
    object-fit: cover;
    border-radius: 8px; /* optional, for rounded corners */
    display: block;
}

.circle-progress {
  transform: rotate(-90deg);
}

.circle-background {
  stroke: #e6e6e6;
}

.circle-progress-bar {
  stroke: #4db8ff;
  transition: stroke-dashoffset 0.35s;
}

.circle-progress-container {
    position: relative;
    width: 70px;
    height: 70px;
    margin: auto;
}

.progress-percentage-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 25px;
    color: #333;
}

.small-category-2{
    padding: 5px 6px !important;
    margin-bottom: 15px !important;
}
.sc-2-detail {
    margin-left: 4px !important;
}

.home-listing-logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.home-listing-logo-wrapper {
    background-color: #f0f0f0; /* light grey */
    height: 200px;             /* fixed height to prevent up/down shifting */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;        /* optional: rounded corners */
    overflow: hidden;
    padding: 10px;             /* optional: padding around the image */
}

.group-listing-logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.group-listing-logo-wrapper {
    background-color: #f0f0f0; /* light grey */
    height: 200px;             /* fixed height to prevent up/down shifting */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;        /* optional: rounded corners */
    overflow: hidden;
    padding: 10px;             /* optional: padding around the image */
}

.single-group-listing-logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.single-group-listing-logo-wrapper {
    background-color: #ffffff57;
    height: 105px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 5px 16px -4px rgb(0 0 0 / 62%);
}

.group-filter{
    background: #dbd8d838;padding: 11px;border: 1px solid #93888870;
}

.profile-subnav-nav {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc
}

.profile-subnav-nav ul {
    display: -webkit-box;
    display: flex;
    display: -ms-flexbox;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -ms-flex-pack: start;
    margin: 0;
    padding: 0 15px;
    list-style: none;
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 50px
}

.profile-subnav-nav li {
    font-size: 14px;
    margin-right: 12px
}

.profile-subnav-nav li:last-child {
    margin-right: 0
}

.profile-subnav-nav button {
    background: 0;
    border: 0;
    outline: 0;
    padding: 0;
    color: #6B4D80;
    border-bottom: 3px solid white;
    cursor: pointer
}

.profile-subnav-nav button:hover {
    border-bottom: 3px solid #6B4D80;
}

.profile-subnav-nav button.active {
    border-bottom: 0.5px solid #6B4D80;
    color: #6B4D80;
    font-size: 15px;
    font-weight: bold;
}

@media(min-width:992px) {
    .profile-subnav-nav ul {
        overflow-x: hidden
    }

    .profile-subnav-nav li {
        margin-right: 18px
    }
}

@media(min-width:1200px) {
    .profile-subnav-nav li {
        font-size: 15px;
        margin-right: 26px
    }
}

.profile-subnav-nav>nav {
    padding: 0
}

@media(min-width:1200px) {

    .profile-subnav-nav {
        margin: 0
    }
}

.profile-subnav-nav {
  overflow-x: auto;
  white-space: nowrap;
  background-color: #fff;
  padding: 5px 0;
  border-bottom: 1px solid #ccc;
}

.nav-list {
  display: flex;
  gap: 10px;
  padding: 0 15px;
  list-style: none;
  margin: 0;
  overflow-x: auto;
}

.nav-link {
  padding: 10px 15px;
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  color: #333;
  border-radius: 0px !important;
  transition: background 0.3s;
}


/*ENd*/
@media only screen and (max-width: 450px) {
    .homepage-3 .parallax-search .welcome-text h1 {
        margin-bottom: 11px !important;
        line-height: 34px !important;
    }
    .homepage-3 .parallax-search .hero-inner {
        padding: 0px 0 !important;
    }
    .small-category-2 {
        padding: 0px 10px !important;
        margin-bottom: 4px !important;
    }
    .small-category-2-thumb {
        top: 0px !important;
        position: relative !important;
        padding: 0px !important;
    }
}
section.counterup {
    padding: 25px 0 !important;
}
section.feature-categories {
    padding: 20px 0 !important;
}
.popular .homes-content{
    height: fit-content !important;
}
.popular .homes-tag.sale {
    margin-top: 8px !important;
}
.popular .homes-content h3 {
    color: #6B4D80 !important;
    font-size: 21px !important;
}
.fr-grid-thumb {
    width: 85px !important;
    height: 80px !important;
    bottom: 65px !important;
}

.btn.btn-yellow {
    padding: 0 18px !important;
}
.fr-grid-thumb{
    border: none !important;
}
.position-relative{
    padding: 4px;
    border-radius: 6px;
    border: 1px solid #f5f5f5;
    background: #fff;
    -webkit-box-shadow: 0 5px 4px -4px rgba(0, 0, 0, 0.25);
    box-shadow: 0 5px 4px -4px rgba(0, 0, 0, 0.25);
    display: inline-block;
}
.fr-grid-thumb img{
    border-radius: 0% !important;
    max-width: 90px !important;
    max-height: 34px !important;
    min-width: 90px !important;
    min-height: 34px !important;
}
.fr-grid-thumb{
    border-radius: 0% !important;
}
.fr-grid-thumb{
    margin-right: 5px !important;
}
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
    z-index: 9998; /* Behind the spinner */
}

#loadingSpinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* In front of the overlay */
}
.loading {
    background: url('spinner.gif') no-repeat right center;
    padding-right: 30px; /* Adjust depending on spinner size */
}
    
input.form-control, select.custom-select {
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
    height: 50px !important; 
}
.rld-main-search .btn {
    width: 100% !important;
    height: 53px !important;
}

/* CUSTOM AUTOCOMPLETE */
.ui-autocomplete-group {
    font-weight: bold;
    padding: 6px 10px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-item .text {
    max-width: 80%;
}

.suggestion-item .tag {
    background: #eee;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 4px;
    color: #333;
}

.highlight {
    color: red;
    font-weight: bold;
}

.ui-widget {
    font-family: 'Roboto', sans-serif !important;
}

.ui-menu .ui-menu-item {
    font-weight: 700;
}

/*.ui-autocomplete {
    
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 1000 !important;
}*/
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
    font-family: 'Roboto', sans-serif;
}

.ui-autocomplete-header {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    background: #f9f9f9;
    color: #333;
    border-top: 1px solid #ddd;
}

.autocomplete-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid #eee;
}

.autocomplete-main {
    flex-grow: 1;
}

.autocomplete-title {
    font-weight: 600;
    font-size: 14px;
}

.autocomplete-sub {
    font-size: 12px;
    color: #888;
}

.autocomplete-tag {
    background: #eee;
    color: #333;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    white-space: nowrap;
}

.ui-autocomplete {
    width: 50% !important;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
}

.ui-menu-item-wrapper {
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* 🔶 Highlight on keyboard focus or mouse hover */
.ui-menu-item-wrapper:hover,
.ui-menu-item-wrapper.ui-state-focus {
    background-color: #ffebee !important;
    color: #730215 !important;
    font-weight: 700;
}

.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-menu .ui-menu-item-wrapper.ui-state-focus {
    background-color: #ffebee !important;
    color: #730215 !important;
    font-weight: 700 !important;
}

.ui-widget-content {
    background: #fff !important;
}

.ui-menu .ui-state-focus {
    padding: 0px 1em 0px .4em;
}

/* Margin and border adjustments */
.ui-autocomplete .ui-autocomplete-header:first-child,
.ui-autocomplete .ui-menu-item:first-child {
    margin-top: 0px !important;
    position: relative !important;
    right: 20px !important;
}

.ui-autocomplete .ui-autocomplete-header:last-child,
.ui-autocomplete .ui-menu-item:last-child {
    margin-bottom: 0px !important;
    border-bottom: 0px !important;
    position: relative !important;
    right: 20px !important;
}

.ui-autocomplete .ui-autocomplete-header,
.ui-autocomplete .ui-menu-item {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    border-bottom: 1px solid #000;
    position: relative !important;
    right: 20px !important;
}

/* Focus and active item styling (for arrow key navigation) */
.ui-menu .ui-menu-item.ui-state-focus,
.ui-menu .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus,
.ui-autocomplete .ui-menu-item:hover {
    background-color: #ffebee !important;
    color: #730215 !important;
    font-weight: 700 !important;
}

/* Text span style inside menu item */
.ui-widget-content .ui-menu-item a span {
    padding: 0 !important;
    font-size: 11px;
    display: inline-block;
    font-family: arial, sans-serif;
}

/* Loading spinner */
.ui-autocomplete-loading {
    background: url('https://raw.githubusercontent.com/Codelessly/FlutterLoadingGIFs/master/packages/cupertino_activity_indicator.gif') 
                no-repeat right center;
    background-size: 30px 30px !important;
    height: 30px !important;
    width: 30px !important;
}


.ui-widget-content .ui-state-focus {
    border: inherit !important;
    background: #ffebee !important;
}

.ui-state-focus, .ui-widget-content .ui-state-focus, .ui-state-focus a {
    color: #730215 !important;
    font-weight: 700 !important;
}

.ui-menu-item-wrapper {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.autocomplete-item {
    padding: 10px 16px;
    cursor: pointer;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.autocomplete-sub {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}
/* ********************* */

.homepage-3 .parallax-search .hero-inner {
    padding: 236px 0 !important;
    margin: 0px;
}
@keyframes flash {
    0% { background-color: #6b4d809c; }
    50% { background-color: transparent; }
    100% { background-color: #6b4d809c; }
}

.light-border.flash {
    animation: flash 1s infinite; /* Adjust duration and iteration count as needed */
    color: black; /* Text color */
    padding: 5px; /* Padding for better visual effect */
}

.contest-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 220px!important;
    padding: 13px !important;
}

.contest-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 70px !important;
}

.news-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 20px;
}

.news-item-descr {
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-bottom {
    margin-top: auto;
}

@media (max-width: 768px) {
    .news-item-descr {
        height: 50px;
    }
}


.project-single{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 78% !important;
    margin-bottom: 20px;
    background: #fff;
}
.popular .footer {
    height: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: auto;
}

@media (max-width: 768px) {
    .popular .footer {
        height: 25px;
    }
}

.modal-body .close {
    font-size: 1.5rem;
    color: #333;
    opacity: 1;
}

.modal-body .close:hover {
    color: #000;
    text-decoration: none;
}

.top25 {
    position: relative;
    top: 25px;
    z-index: -1 !important;
}

.margin-top20 {
    position: relative;
    margin-top: 20px;
    z-index: -1 !important;
}
.overlay-home-text {
    position: absolute;
    top: -9px;
    left: 95%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 0px;
    color: #00000040;
    border: 0.5px solid #00000040;
}

.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.test-1 {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
    min-height: 300px; /* Ensures consistency in height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-content {
    flex-grow: 1;
}

.review-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.reviewer-info img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
}

.reviewer-info h3 {
    font-size: 18px;
    color: #000;
    margin-bottom: 5px;
}

.reviewer-info h6 {
    font-size: 14px;
    color: #666;
}
.inner-pages .blog-section .news-item-descr.big-news.details{
    height: auto !important;
}
.section-title h2 {
    color: #6B4D80 !important;
    text-transform: uppercase;
}

.section-title:before {
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    content: '';
    border-radius: 3px;
    position: absolute;
    background-color: #6B4D80 !important;
}

.blog-section .news-link {
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    color: #6B4D80 !important;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

#navigation.style-1 ul li:hover {
    background-color: #6B4D80;
    color: #6B4D80;
}
#navigation.style-1 ul li a {
    color: black !important;
}
.black{
    color: black !important;
}
#navigation.style-1 ul li:hover a {
    color: #fff !important;
}
.how-it-works article img{
    width: 100% !important;
    height: 200px !important;
}
.parallax-search{
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url(../assets/upload/slider.png) no-repeat center top;
}
#login .login, #register .login {
    padding: 176px 60px 60px !important;
}
.has-error{
    color: red;
}
.white{
    color: #fff !important;
}
.events-filter-btn{
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    margin-top: 1.5rem;
    font-size: 14px;
    cursor: pointer;
    background: #fa2964;
    color: #ffffff;
    text-transform: uppercase;
    border: none;
    padding: 12px 22px;
    border-radius: 5px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

section.how-it-works {
    background: #f5f6ff !important;
    padding: 0 0 !important;
}
.btn, .homepage-3 .btn:active, .btn.sApp-btn:before, .bg-overlay::after, .benifits-item:after {
    background: linear-gradient(-47deg, #6b4d80 0%, #6b4d80 100%);
    color: #fff !important;
}
.inner-pages .homes-content .homes-list li i{
    color: #6b4d80 !important;
}

.header-widget {
    text-align: right;
    position: relative;
    right: 16px;
}
.modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 1rem);
}
/**/
.news {
  width: 30%;
}

.news-scroll a {
  text-decoration: none;
}

.dot {
  height: 6px;
  width: 6px;
  margin-left: 3px;
  margin-right: 3px;
  margin-top: 2px !important;
  background-color: rgb(207, 23, 23);
  border-radius: 50%;
  display: inline-block;
}

/* Custom */

main {
  background-color: #111;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.container-fluid {
  padding: 0;
}


marquee a {
  color: black;
}

/**/
.right-side{
    margin-left: 55px !important;
}
.header-top{
    background: #6B4D80 !important;
    padding: 0.5rem 0 !important;
}
.top7{
    top: 7px !important;
}

.header-btn{
    background: #6B4D80;
}
.header-btn a{
    color: #fff !important;
    padding: 1px 8px !important;
    border-radius: 0px !important;
}
.left-side {
    float: left;
    width: auto !important;
    display: inline-block;
}
/*STAR RATING*/
.rating {
  width: 25% !important;
}

.rating:not(:checked) > input {
    position:absolute;
    clip:rect(0,0,0,0);
}

.rating:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:150%;
    color:#ddd;
}

.rating:not(:checked) > label:before {
    content: '★ ';
}


.rating > input:checked ~ label {
    color: #e5a54b;
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #e5a54b;
}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
  color: #e5a54b;
}
/*END STAR RATING*/
.listing-button{
    padding: 6px 6px !important;
}
.review-section ul li {
    list-style: disc;
    margin: 0px;
    padding: 0px;
}    
.review-text-count {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.text-count {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}
.help-block{
    color: red !important;
}
.bottom20{
    position: relative;
    bottom: 20px;
}
.top10{
    position: relative;
    top: 10px;
    z-index: -1 !important;
}
.top50{
    position: relative;
    top: 50px;
}
.top90{
    position: relative !important;
    top: 90px !important;
}
.popular-categories-item i:before{
    color: #6B4D80 !important;
}
.popular-categories-item:hover:before {
    background: #fff !important;
}

.homes-content-height{
    padding: 20px 10px !important;
    height: 85px !important;
}
.font-size13{
    font-size: 13px !important;
}
.popular .homes-price{
    bottom: 0px !important;
    color: black !important;
}

.popular .starts .fa {
    color: #6B4D80 !important;
}

.news-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 194px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.news-img-landscape {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 193px !important;
    padding: 0px;
}

#navigation {
    position: relative;
    display: block;
    margin-top: 11px !important;
    margin-left: 0px !important;
}

#header.cloned #logo img {
    transform: translate3d(0, 0, 0);
    max-width: 198px;
    margin-top: 3px;
}

.small-category-2-thumb{
    width: 65px !important;
    height: 65px !important;
}

.home-icon-wrapper {
    position: relative !important;
    top: 0 !important;
}
.home-icon {
    position: relative;
    font-size: 35px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    border: 2px solid #6b4d80;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    margin: auto;
    background: #6b4d80;
    font-weight: 700;
}
.home-icon:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid #6b4d80;
    border-radius: 50%;
    box-sizing: border-box;
}
.fr-grid-thumb{
    width: 0px;
    height: 0px;
}
.header-widget .button, .header-widget .button.border{
    margin-top: 0px;
}
a.button.border, a.button {
    padding: 0px 0px 0px -1px !important;
    text-align: center;
    height: 40px;
    position: relative;
    top: 15px;
}
.top20{
    top: 20px !important;
}

.homepage-3 a.button.border, a.button {
    background: #d13737 !important;
    padding: 10px !important;
}

.head-tr.bottom{
    background: #fff;
}


.header-widget.sign-in a{
    color: #fff !important;
}

.homepage-3 .header-user-name, .homepage-3 .header-user-name:before {
    color: #000 !important;
}

.right-side.sign{
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
}

#logo {
    display: inline-block;
    margin-top: 7px !important;
}

#logo img{
    width: 207px;
}

.homepage-3 .rld-banner-tab .nav-item a.active, .homepage-3 .rld-banner-tab .nav-item a.active:before, .homepage-3 .rld-banner-tab .nav-item a:hover {
    background: #6B4D80 !important;
}

.btn.btn-yellow {
    height: 48px;
    line-height: 48px;
    padding: 0 30px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #6B4D80 !important;
    font-size: 14px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-weight: 600;
}

.btn.btn-yellow {
    border: 0px;
    border-radius: 25px;
    font-size: 15px;
    background-color: #6B4D80 !important;
    box-shadow: 0px 1px 4px 0px rgba(255, 90, 95, 0.3);
    color: #ffffff;
    height: 50px;
    width: 170px;
    transition: all .3s ease;
}

.resources-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 300px !important;
    padding: 15px
}

.resources-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 350px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.resources-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.resources-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 300px!important;
}

.blog-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 130px !important;
    padding: 15px
}

.blog-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 195px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.blog-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.blog-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 175px!important;
}

/**/
.blog-detail-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 360px !important;
}

.blog-detail-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 385px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.blog-detail-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.blog-detail-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 175px!important;
}
.events-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 140px !important;
}

.events-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 212px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.events-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.events-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 190px!important;
}
/**/
.news-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 70px !important;
}

.news-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 215px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.news-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.news-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 180px!important;
}
/**/
/**/
.listing-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 70px !important;
}

.listing-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 286px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.listing-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.listing-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 70px!important;
}
/**/
.listing-std-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 70px !important;
}

.listing-std-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 180px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.listing-std-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.listing-std-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 130px!important;
    padding: 15px !important;
}
/**/
.img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 130px !important;
    padding: 15px
}

.portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 195px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 175px!important;
}
/**/
.home-img-landscape {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 130px !important;
    padding: 15px
}

.home-portrait-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 195px;
    background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
    background-position: top left;
    background-size: 80%;
    border-radius: 0px;
}

.home-landscrap-container {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    height: 105px
}

.home-img-portrait {
    max-width: 100%!important;
    max-height: 100%!important;
    height: 175px!important;
}

.counterup .countr .fa {
    font-size: 3rem;
    color: #6B4D80;
    border-radius: 5px;
    margin-right: 1.5rem;
}

@media only screen and (max-width: 575px) {
    .review-section ul li {
        list-style: disc;
        margin: 0px;
        padding: 0px;
    }
}

@media screen and (min-width: 1200px){
    .right-side {
        margin-left: 0px !important; 
    }
}
@media screen and (max-width: 1280px) and (max-height: 720px) {
    .rating {
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) and (max-height: 1024px) {
    .rating {
        width: 100% !important;
    }
}

@media only screen and (max-width: 450px) {
    .listing-std-img-landscape {
        height: auto !important;
        padding: 10px !important;
    }

    .listing-std-portrait-container {
        height: auto !important;
        background-size: 70% !important;
        padding: 10px;
    }

    .listing-std-landscrap-container {
        height: auto !important;
        padding: 10px !important;
    }

    .listing-std-img-portrait {
        height: auto !important;
        padding: 10px !important;
    }

    
    .modal-dialog {
        max-width: 100%;
        margin: 0 10px; /* Margin to prevent touching screen edges */
    }

    .modal-content {
        border-radius: 5px; /* Slight border radius for better aesthetics */
    }

    .modal-body img {
        width: 100%;
        height: auto; /* Ensure images are responsive */
    }
    .modal{
        top: 100px !important;
    }
    .overlay-home-text {
        position: absolute !important;
        top: -9px !important;
        left: 85% !important;
        transform: translate(-50%, -50%) !important;
        color: white !important;
        font-size: 8px !important;
        font-weight: bold !important;
        padding: 3px 12px !important;
        border-radius: 0px !important;
        color: #00000040 !important;
        border: 0.5px solid #00000040 !important;
    }
    h4.sc-jb-title a{
        font-size: 11px !important;
    }
    .the-search .rld-main-search{
        height: 290px !important;
    }

    .rld-banner-tab .nav-item a{
        padding: 0 10px !important; 
    }

    .homepage-3 .welcome-area {
        height: 490px !important;
    }

    .homepage-3 .parallax-search .hero-inner{
        position: relative !important;
        padding-top: 180px !important;
    }
    .the-search .tab-content > .active {
        margin-top: -9px;
    }
    .the-search .rld-main-search .rld-single-input, .the-search .rld-main-search .rld-single-select .single-select {
        width: 100% !important;
    }
    .the-search .rld-single-input input {
        width: 100% !important;
    }
    .news {
        width: 37% !important;
        font-size: 10px !important;
    }

    section.counterup{
        padding: 2rem 0 !important;
    }

    .blog-img-landscape {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 216px !important;
        padding: 15px;
    }
}

/*TABLET*/
@media screen and (max-width: 992px) {
    .blog-img-landscape {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto !important; /* Change height to auto for dynamic content */
        padding: 15px;
    }

    .blog-portrait-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto; /* Change height to auto for dynamic content */
        background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
        background-position: top left;
        background-size: cover; /* Ensure background image covers the container */
        border-radius: 0px;
        padding: 15px; /* Optional padding to accommodate content */
    }

    .blog-landscrap-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto; /* Change height to auto for dynamic content */
        padding: 15px; /* Optional padding to accommodate content */
    }

    .blog-img-portrait {
        max-width: 100% !important;
        max-height: 100% !important;
        height: auto !important; /* Change height to auto for responsive scaling */
    }

    .home-img-landscape {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto !important; /* Change height to auto for dynamic content */
        padding: 15px;
    }

    .home-portrait-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto; /* Change height to auto for dynamic content */
        background-image: url(https://www.nurseriesandschools.org/img/background-img.png);
        background-position: top left;
        background-size: cover; /* Ensure background image covers the container */
        border-radius: 0px;
        padding: 15px; /* Optional padding to accommodate content */
    }

    .home-landscrap-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto; /* Change height to auto for dynamic content */
        padding: 15px; /* Optional padding to accommodate content */
    }

    .home-img-portrait {
        max-width: 100% !important;
        max-height: 100% !important;
        height: auto !important; /* Change height to auto for responsive scaling */
    }
}