/* Define primary colors */
:root {
    --primary-color: #277D82;
    --primary-hover: #13565A;
}

@import url('https://fonts.googleapis.com/css2?family=Mukta+Malar&display=swap');

.login-container {
    background: #FDFDFD;
}
.form-section {
    background: #FFFFFF; 
}
.login-content {
    padding: 0px;
}
.image-container {
    padding: 0px;
}
@media (min-width: 992px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        --bs-gutter-x: 9.5rem !important;
    }
}
.list-group-item {
    background: #F2F3F4;
    border: none;
}
.offcanvas-backdrop{
    background-color: transparent;
}
.offcanvas-body {
    background: #F2F3F4;
}
/* .modal-content {
    top: 69px;
} */
.aboutus-logo {
    width: 310px;
    height: 310px;
}
.aboutus-txt {
    font-weight: 400;
    font-size: 1rem;
    line-height: 28px;
    letter-spacing: 0px;
}
.aboutus-container {
    padding: 25px;
}
.red-asterisk {
    color: #dc3545;
    padding-left: 5px;
}
.form-control::placeholder {
    color: #abb4bd !important;
}
.uploader-info-input-box {
    border: 2px solid #ccc; 
    border-radius: 6px; 
    padding: 10px; 
    box-sizing: border-box; 
    margin-bottom: 10px; 
    cursor: pointer;
}

.uploader-info-select-box {
    border: 2px solid #ccc; 
    border-radius: 6px; 
    padding: 10px; 
    box-sizing: border-box; 
    margin-bottom: 10px; 
    margin-left: 12px;
    cursor: pointer;
}
.btn-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 9px 53px;
    border-radius: 22px;
    cursor: pointer;
    font-size: 1rem;
}
.btn-submit:hover {
    background: var(--primary-hover); 
    color: #fff;
}
h6 {
    margin-top: 0.5rem;
    font-weight: 500;
    font-size: 1.25rem;
}
.read-more-btn {
    background: var(--primary-color);
    color: white !important;
    border: none;
    padding: 9px 77px;
    border-radius: 22px;
    cursor: pointer;
    font-size: 1rem;
}
/* Basic layout */
.data-info-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.data-info-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    width: 22%;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

/* Active state for the image */
.data-info-item.active .data-icon {
    filter: brightness(0) invert(1); /* Make the image white when active */
}

/* Active state for the text */
.data-info-item.active p {
    color: white;
}

/* Active background color */
.data-info-item.active {
    background-color: #7AA352; /* Green background when active */
}
.data-title-text p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 4px;
}

/* Progress line container */
.progress-line-container {
    position: relative;
    width: 100%;
    height: 7px;
    background-color: #727E7F;
    margin-top: 20px;
}

/* Moving progress line */
.progress-line {
    position: absolute;
    height: 7px;
    width: 0%; /* Start with no progress */
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.title-category-data {
    padding: 12px;
    display: flex; /* Use flexbox */
    align-items: center; /* Vertically center the items */
    justify-content: center; /* Horizontally center the items */
}

.title-category-data img {
    margin-right: 10px; /* Space between the image and text */
}

.title-category-data .section-title {
    margin: 0; 
    color: var(--primary-hover);
}
.top-50-card {
    width: 80%;
    border: none;
    border-radius: 16px;
}

.top-50-card-body {
    padding: 20px;
}

.content {
    display: flex; /* Flexbox layout to place image and text side by side */
    align-items: center; /* Vertically center the content */
}

.content-image {
    width: 150px; /* Adjust image size */
    height: auto;
    margin-right: 20px; /* Space between the image and text */
    border-radius: 8px; /* Optional: to give the image rounded corners */
}

.content-text {
    max-width: 500px; /* Optional: limit the width of the text */
}

.content-text h3 {
    margin: 0 0 10px 0; /* Space between the title and text */
}

.content-text p {
    margin: 0;
}

/* map */

.popup-dynamic-data {
    margin-bottom: 15px; 
}

.popup-dynamic-data p {
    margin: 5px 0; 
}

.popup-image {
    width: 350px;
    height: 220px;
    margin-bottom: 15px;
}
.popup-dynamic-data p {
    font-size: 0.75rem;
}
.popup-dynamic-data {
    font-size: 0.75rem;
}

.dynamic-field p {
    margin-bottom: 8px; /* Add space between each label-value pair */
}

.dynamic-field .label {
    margin-right: 10px; /* Add space between label and value */
    font-weight: bold;
}

.dynamic-field .value {
    margin-left: 5px; /* Space between label and value */
}
.breadcrumb-arrow {
    width: 26;
    height: 26;
    margin-left: 5px;
}
.category-info {
    display: inline-flex;      
    align-items: center;       
}

.category-icon {
    width: 30px;               
    height: 30px;              
    margin-right: 10px;        
}

.category-name {
    margin: 0;                 
    font-size: 0.75rem;           
}
.place-title {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--primary-hover);
    margin: 12px 0px 12px 0px !important;
}
.location-name {
    font-weight: 400;
    font-size: 1rem;    
}

.top-fifty-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.media-item {
    flex: 0 0 auto; /* Prevent the image from growing or shrinking */
    margin-right: 20px; /* Space between image and content */
}

.content-text {
    flex: 1; /* The center content will take up the remaining space */
    /* display: flex; */
    flex-direction: column;
}

.read-more-item {
    flex: 0 0 auto; /* Prevent the button from growing or shrinking */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Optional: Styling for the content and image */
.media-item img {
    width: 190px;
    height: 130px;
    border-radius: 10px;
    object-fit: cover;
}

.category-info {
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.category-icon {
    margin-right: 10px;
}

.place-title {
    margin-top: 10px;
    font-size: 1.2em;
}

.additional-details {
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." if the text is truncated */
}

.content-top-fifty {
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
}

.search-box{
    background: #FFFFFF;
    padding: 0 16px;
    border: 1px solid #727E7F;
    font-size: 0.875rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    width: fit-content;
    height: fit-content;
    position: relative;
    margin-top: 9px;
}

.search-bar {
    border-style: none;
    padding: .375rem .75rem;
    outline: none;
    background-color: transparent;
    color: #1E1E1E;
}
.category-modal {
    top: 114px !important;
    right: 43px !important;
}
/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .card-body {
        padding: 10px;
    }

    .top-fifty-item {
        display: block;
        text-align: center;
    }

    .media-item img {
        max-height: 200px;
        object-fit: cover;
    }

    .place-title {
        font-size: 1rem;
    }

    .additional-details {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }

    .location-name {
        font-size: 0.75rem;
        margin-left: 5px;
    }

    .category-info {
        display: block;
        margin-bottom: 8px;
        text-align: center;
    }
}

/* Tablet Responsiveness */
@media (min-width: 768px) and (max-width: 991px) {
    .card-body {
        padding: 20px;
    }

    .top-fifty-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .place-title {
        font-size: 1.125rem;
    }

    .additional-details {
        font-size: 0.875rem;
    }

    .media-item img {
        max-height: 250px;
    }
}

.media-item-content img{
    width: 324px;
    height: 316px;
    border-radius: 16px;

}
.content-text-details {
    gap: 16px;
    padding-top: 24px;
    padding-right: 36px;
    padding-bottom: 24px;
    padding-left: 36px;
    border-bottom-width: 1px;
}
.nav-pills .nav-link {
    color: #000000 !important; /* Default text color */
}

.nav-pills .nav-link.active {
    background-color: #7AA352 !important; /* Active button background */
    color: #fff !important; /* Active text color */
}

.nav-pills .nav-item{
    width: 25%;
}
.info-coordinates {
    text-align: center;
    padding: 10px;
    background-color: #d6a6a6;
    padding: 20px 29px 20px 29px;
    border-radius: 0px 0px 10px 10px;
}

.coordinates-text p {
    font-size: 1rem; /* Adjust font size */
    margin: 0;       /* Remove any default margin from <p> */
}

.coordinates-text strong {
    font-weight: bold;
}
.details-p p{
    font-weight: 400;
    font-size: 1rem;
    line-height: 24.98px;
    margin-top: 10px;
}
@media (max-width: 992px) {
    .nav-pills .nav-item{
    width: 50%;
}
}
.text-info {
    --bs-text-opacity: 1;
    color: var(--primary-color) !important;
}
.text-danger {
color: #dc3545 !important;
}

.custom-upload-btn {
    background: #ACC2C8;
    color: #000000;
    border: none;
    height: 40px;
    padding: 0 16px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
  }

  /* media file upload popup */
  .add-image-file {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    background-clip: padding-box;
    border-radius: 16px;
    outline: 0;
  }

  .add-video-file {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    background-clip: padding-box;
    border-radius: 16px;
    outline: 0;
  }

  .add-audio-file {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    background-clip: padding-box;
    border-radius: 16px;
    outline: 0;
  }

  /* Optional close button styles */
.avgrund-close {
    color: #fff;
    background: #001737;
    font-size: 1.6875rem;
    line-height: 27px;
    border-radius: 50%; 
    width: 27px;
    height: 27px;
    text-align: center; 
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .avgrund-close:hover {
    color: #fff;
    text-decoration: none;
  }
  .modal-header {
    padding: 1.5rem;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .modal-dialog {
    top: 81px;
  }
  .media-file-modal {
    background: rgba(0, 0, 0, 0.5); 
  }
  .share-comment {
    width: 669;
    height: 446;
  }    

/* header language active text coor */
.language-change.active {
    background-color: white;
    border-radius: 34px;
}

.language-change.active .nav-link {
    color: #455931 !important; 
}

.nav-link {
    /* color: #E9EBF2; */
    color: #fff;
}

.nav-link.active {
    color: #E9EBF2 !important;
}

/* home */
.body-style {
    overflow: initial !important;
    padding-right: 0 !important;
}

/* loader */
#loader {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;  
    display: none;  
}

#loader .spinner {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    border: 4px solid #f3f3f3;  
    border-top: 4px solid var(--primary-color);  
    border-radius: 50%;  
    width: 50px;  
    height: 50px;  
    animation: spin 1s linear infinite;  
}

/* Animation for spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.district-name-label {
    font-size: 0.875rem;
    color: #fff !important;  /* White text */
    background-color: var(--primary-color) !important;  /* Set background color */
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    margin-top: -25px;
}

/* get additional infor sirst 2 line */
.popup-dynamic-data .dynamic-field .value {
    display: -webkit-box;   
    -webkit-line-clamp: 2;     
    -webkit-box-orient: vertical; 
    overflow: hidden;           
    text-overflow: ellipsis;   
}

.form-control {
    line-height: 2;
}

/* map popup */
.place-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 9999999; /* SUPER high to be safe */
    background-color: rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    height: 100vh;
}

.place-modal-content {
    max-height: 84vh;  /* Limit the max height of the modal */
    overflow: auto;    /* Allow scrolling if content overflows */
    padding: 20px;     /* Add some padding */
    box-sizing: border-box;
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 99999999;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
 
/* mobile view header */
@media (max-width: 699px) {
    .header-title {
        color: white;
    }
    .navbar-title p {
        font-size: 0.875rem;
        color: #fff;
        margin: 0;
    }
    .navbar-title h2 {
        font-size: 1rem;
        color: #fff;
        margin: 0;
        line-height: 1.2;
    }
}

@media (max-width: 450px) {
    .header-title {
        font-size: 1.25rem;
        color: white;
    }

    .navbar-title h2 {
        font-size: 0.75rem;
        color: #fff;
        margin: 0;
        line-height: 1.2;
    }

   .navbar-title p {
        font-size: 0.65rem;
        color: #fff;
        margin-top: 5px;
    }

    .navbar-nav .nav-link{
        padding: 0.5rem 0.5rem;
    }

    .header-top {
        font-size: 0.56rem !important;
        padding: 3px !important;
    }

    .home-txt {
        font-size: 0.75rem !important;
    } 

    .navbar-toggler {
        margin-top: -35px;
    }
}

@media (max-width: 350px) {
    .header-title {
        font-size: 1rem;
        color: white;
    }
   .navbar-title p {
        font-size: 0.75rem;
        color: #fff;
        margin: 0;
    }

    .navbar-title h2 {
        font-size: 0.75rem;
        color: #fff;
        margin: 0;
        line-height: 1.2;
    }

    .navbar-nav .nav-link{
        padding: 0.5rem 0.5rem;
    }
}

.approve-btn {
    text-decoration: none;
    width: 40%;
    background: #ACC2C8;
    color:  var(--primary-color);
    padding: 4px;
    border: none;
    border-radius: 25px;
    font-size: 0.875rem;
    cursor: pointer;
}
.edit-request-btn {
    text-decoration: none;
    width: 135%;
    background: #ACC2C8;
    color:  var(--primary-color);
    padding: 4px;
    border: none;
    border-radius: 25px;
    font-size: 0.875rem;
    cursor: pointer;
}

/* Image drag and drop container */
.drop-zone {
    width: 100%;
    height: 135px;
    border: 0.81px dashed var(--primary-color);
    text-align: center;
    position: relative;
    border-radius: 10px;
    background-color: #f8f9fa;
    overflow: hidden;
    cursor: pointer;
}

.drop-zone img {
    margin-top: 14px;
}

.drop-zone--over {
    border-style: solid;
    background-color: rgba(39, 125, 130, 0.1);
}

.drop-zone__input {
    display: none;
}
/* External container for uploaded files */
.uploaded-files-container {
    margin-top: 20px;
}

.uploaded-files-columns {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.uploaded-files-column {
    width: 30%; 
    box-sizing: border-box;
}

.uploaded-file {
    position: relative;
    margin-top: 10px;
    border-radius: 4px;
}

.uploaded-img,
.uploaded-video,
.uploaded-audio {
    max-width: 100%;
    max-height: 150px;
    display: block;
    margin: 0 auto;
}
/* Style for the close button (×) */
.close-button {
    position: relative;
    top: 5px;
    right: 5px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background: #FF3B30;
    border-radius: 50%;
    width: 30px;
    height: 30px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer;
}

.close-button:hover {
    background: #FF3B30;
}
/* Buttons for Courtesy and Alt */
.courtesy-button, .alt-button {
    font-size: 0.75rem;
    margin-top: 5px;
    padding: 5px 10px;
    border: none;
    background-color: white;
    color: #000;
    cursor: pointer;
    position: absolute;
    bottom: 1px;
    z-index: 100;
    border-radius: 15px;
}


/* Responsive (Mobile) layout */
@media (max-width: 768px) {
    .courtesy-button {
        top: 57px;
        left: -3px;
        bottom: auto;
    }

    .alt-button {
        bottom: -23px;
        right: 4px !important;
    }
}

.alt-button {
    right: 42px;  
}
.courtesy-button::before,
.alt-button::before {
  content: "+";  
  font-weight: bold;
  margin-right: 5px; 
}

.courtesy-button:hover,
.alt-button:hover {
  background-color: #f8f9fa;
}
.blue-link {
    color: blue;
}

.btn-cancel {
    border: 1px solid #000000;
    line-height: 34px;
    padding: 0 16px;
    font-size: 0.875rem;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
/* media file end */

.leaflet-popup-content {
    width: 600px !important;
}

/* media files */
.glightbox-desc {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.875rem;
    color: #ccc;
}
.glightbox-clean .gslide-description {
    background: none !important;
    color: #fff !important;
}
.glightbox-clean .gslide-title {
    color: #fff !important;
}
.image-box {
    width: 100%;
    aspect-ratio: 3 / 3;
    background-color: #f8f9fa;
    position: relative;
}

.object-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.back-to-districts-btn {
    display: none;               /* Hidden by default */
    position: absolute;
    top: 20px;
    left: 54px;
    z-index: 999;
    background-color: var(--primary-color);  /* Primary color */
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.back-to-taluks-btn {
    display: none;               /* Hidden by default */
    position: absolute;
    top: 20px;
    left: 54px;
    z-index: 999;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.back-to-districts-btn.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.back-to-districts-btn:hover {
    background-color: #1f6267; /* Darker shade for hover */
    box-shadow: 0 6px 12px rgba(31, 98, 103, 0.6);
}

.small-label .form-check-label {
    font-size: 0.875rem; /* or try 12px or smaller */
}

.justify-label {
    font-size: 0.875rem;
    text-align: justify;
    display: block;
}
#infoMessage {
    padding: 6px;
    font-size: 0.875rem;
}

p.small {
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .pt-3 {
        padding-top: 4rem !important;
    }
    /* .pt-4 {
        padding-top: 4.5rem !important;
    } */
}

@media (max-width: 576px) {
  #bodyOffcanvasMenu.offcanvas {
    width: 100% !important; /* full width on mobile */
  }

  #bodyDistrictMenu.offcanvas {
    width: 100% !important; /* full width on mobile */
  }
}

.txt-justify {
    text-align: justify;
}

@media (max-width: 425px) {
    .language-change.active {
        margin-top: -4px !important;
    }

    /* #searchContainer {
        margin-top: 147px;
    } */

    .navbar-nav .nav-item {
        margin-top: -4px;
    }

    /* #filterOptionsRow {
        display: none;
    } */
}

@media (max-width: 767px) {
    #searchContainer {
        margin-top: 40px;
        margin-bottom: -12px;
    }
    /* #filterOptionsRow {
        display: none;
    } */
}

@media (max-width: 337px) {
    #searchContainer {
        margin-top: 43px;
    }
    /* #filterOptionsRow {
        display: none;
    } */
}


#searchContainer.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#searchContainer.visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}
.mobile-bottom-bar {
  position: fixed;
  bottom: 77px;
  left: 0;
  right: 0;
  background-color: #006d7e;
  z-index: 1055;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Pagination */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.pagination-wrapper > div {
    display: flex;
    justify-content: center;
    width: 100%;
}
ul.pagination {
    justify-content: center !important;
}

.active>.page-link, .page-link.active {
    z-index: 3;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.page-link {
    color: var(--primary-color);
}
