html {
    scroll-behavior: smooth;
}

body{
    padding-top: 76px;
}


*::-webkit-scrollbar {
    width: 8px;               /* width of the entire scrollbar */
}

*::-webkit-scrollbar-track {
    background: #eee;        /* color of the tracking area */
}

*::-webkit-scrollbar-thumb {
    background-color: #4caf50;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    /* border: 3px solid orange;  creates padding around scroll thumb */
}
/*--------------all tags are start here -------*/

a {
    text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: #1b5e20;
}


/*--------------all tags are End here -------*/


/*---------predefine tag decision class for paragraph-----------*/

.decision {
    color: #4caf50;
}

.btn-primary-forest {
    background: #1b5e20;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border-radius: 20px;
    box-shadow: 1px 2px 0px rgb(0 0 0 / 20%);
    transition: all 0.3s ease-in-out;
}
.smBtn{
    font-size: 10px;letter-spacing: 0.5px;
}
.btn-primary-forest:hover{
    box-shadow: 3px 3px 2px rgb(0 0 0 / 20%);
    background: #144617;
    color: #65d069;
}




/*---------predefine tag decision class for paragraph-----------*/


/*---------------------code for home page ----------------------*/

.overview{
    position: absolute;
    z-index: 1;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overview h1{
    color: #4caf50;
}
.overview div{
    background:rgb(0 0 0 /70%);
    padding: 15px;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.438);
    color: #fff;
    font-size: 16px;
    max-width: 80%;
    max-height: 80vh;
}
.login p strong{
    font-size: 30px !important;
    text-align: center;
    margin:auto;
    display: table;
}

.login .overview div{
    width: 33%;
    max-width: 100%;
    padding-top: 10px;
    padding-bottom: 0px;

}

.navbar{
    box-shadow: 0px 2px 2px rgb(0 0 0 / 20%);
    position: fixed;
    z-index: 100;
    background: #fff;
    top: 0;
    width: 100%;
}

.navbar-nav .dropdown-item:hover{
    background:#1b5e20;
    color: #fff;
}

.navbar .navbar-brand {
    max-width: 25%;
}

.navbar .navbar-brand img {
    width: auto;
    height: 50px;
    margin-right: 15px;
}
.navbar-light .navbar-nav .nav-link{
    color: #1b5e20;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border-radius: 20px;
    margin-right: 5px;
    padding: 0.42rem .5rem ;
    transition: all 0.3s ease-in-out;
}
.navbar-light .nav-item.active> .nav-link,
.navbar-light .navbar-nav .nav-link:hover{
    background-color: #1b5e20;
    color: #fff;
    box-shadow: inset 1px 1px 1px rgb(0 0 0 / 70%);
}
.navbar-light .nav-item .dropdown-menu{
    border-top: 2px solid #1b5e20;
    box-shadow: 0px 5px 10px rgb(0 0 0 / 0.2);
    padding: 0;
}
.dropdown-item.active, .dropdown-item:active{
    background-color: #1b5e20;
}
#ministry {
    width: 40%;
}

.right-handmenu {
    display: contents;
    padding: 0;
    margin: 0;
}

#simple-vertical {
    width: 100%;
    color: #fff;
}

.blockSample {
    left: 20px;
    top: 20px;
    padding: 6px 8px;
    background: #FFF;
    color: #000;
}

.more-products-nav {
    margin-top: 70px;
}


/*--------------------- code for home page End here ----------------------*/


/*--------------------- code for point page start here ----------------------*/


.redTip {
    background-color: red !important
}
.redTip-arrow::before {
    border-left-color: red !important
}

.nav-pills .nav-link {
    text-align: center;
    width: 100%;
    display: table;
    border-radius: 0;
}

.nav-pills .nav-link.active {
    background-color: #1b5e20;
}

.nav-pills .nav-link:hover {
    color: #fff;
    background-color: #6d4c41;
}


/*--------------------- code for point page End here ----------------------*/

#length {
    overflow-y: scroll;
    height: 90vh;
}


/* Hide scrollbar for Chrome, Safari and Opera */

#length::-webkit-scrollbar {
    display: none;
}


/* Hide scrollbar for IE, Edge and Firefox */

#length {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
    >.col,
    >[class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Point page side nav start */
.leftNav{
    position: absolute;
    top: 76px;
    left: 0;
    bottom: 0;
    width: 80px;
    background: #fff;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
    color: #1b5e20;
    z-index: 2;
    box-shadow: 1px 0px 2px rgb(0 0 0 / 10%);
    overflow-y: auto;
    overflow-x: hidden;
}
.leftNav i.fas, .leftNav i.fab{
    font-size: 24px;
    color: #4caf50;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}
.leftNav div.menuItem{
    padding:10px 5px;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    min-height: 80px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.leftNav div.menuItem:hover, 
.leftNav div.menuItem:hover i.fas{
    background-color: #dee3de;
    color: #1b5e20;
}
.subNav{
    position: absolute;
    top: 76px;
    left: 0;
    bottom: 0;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    background: #dee3de;
    z-index: 1;
    box-shadow: 1px 0px 2px rgb(0 0 0 / 10%);
    transition: all 0.3s ease-in-out;
    padding: 20px 10px;
    font-size: 14px;
    overflow-y: auto;
    overflow-x: hidden;
}
.subNav h6{
    font-size: 14px;
    color: #1b5e20;
    margin-bottom: 20px;
}
.subNav label{
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #515a52;
}
.subNav input[type=checkbox], .subNav input[type=radio]{
    position: relative;
    top: 2px;
}
.subNav.open{
    visibility: visible;
    opacity: 1;
    left: 80px;
}
.form-control,.form-select{
    border: none;
    border-radius: 20px;
    box-shadow: 0px 2px 3px rgb(0 0 0 / 10%);
    transition: all 0.3s ease-in-out;
}
.subNav .form-control:hover{
    box-shadow: 0px 0px 2px rgb(0 0 0 / 10%);
}
.closeSubNav{
    position: absolute;
    right: 5px;
    top: 5px;
    color: #bbb;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.closeSubNav:hover{
    color: rgb(201, 0, 0);
}
.pointRepresentation{
    display: none;
}
.pointRepresentation.on{
    display: block;
}
.pointRepresentation .form-group{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    justify-content: space-between;
}
.pointRepresentation .form-group .form-control {
    max-width: 150px;
}
/* Point page side nav end */

/* E Plantation start */



div#menu-index {
    flex-basis: 230px;
}
#menu-index ul{
    padding: 0;
    position: fixed;
    width: 230px;
    overflow: auto;
    max-height: calc(100vh - 76px);
}
/* Hide scrollbar for Chrome, Safari and Opera */
#menu-index ul::-webkit-scrollbar {
    /* display: none; */
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
#menu-index ul {
    -ms-overflow-style: none;  /* IE and Edge */
    /* scrollbar-width: none;  Firefox */
  }
#menu-index ul li{
    list-style: none;
}
#menu-index ul li a{
    color: #144617;
    background: #dee3de;
    display: block;
    padding: 5px 10px;
    margin-bottom: 4px;
    transition: all 0.3s ease-in-out;
    position: relative;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1;
    line-height: 20px;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 20%);
}
#menu-index ul li a.activeLink {
    background: #144617;
    color: #65d069;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 50%);
}
/* #menu-index ul li a::after{
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid rgba(20, 70, 23, 0);
    transition: all 0.3s ease-in-out;
} */
#menu-index ul li a.activeLink::after{
    border-left: 10px solid #144617;
}
#menu-index ul li a:hover {
    background: #144617;
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
}
.navbar-light .navbar-toggler{
    border: none;
}

.rightSection .btn-primary-forest{
    display: none;
}

.rightSection{
    flex-grow: 2;
    width: min-content;
    padding: 15px;
}

.rightSection .form-group{
    margin-bottom: 15px;
}
.rightSection .scrollSpace{
    height: 100vh;
}

.wrapContent{
    height: calc(100vh - 76px);
    overflow-y: scroll;
    scroll-behavior: smooth;
    display: flex;
}
.section{
    padding: 10px;
    background: #e6e6e6;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 1px 2px 2px rgb(0 0 0 / 0.15);
}
.rightSection .section:first-child{
    margin-top: 0;
}
.section h5{
    position: relative;
    margin-bottom: 1.5rem;
    color: #384539;
    font-weight: bold;
}
.section h5::after{
    content: "";
    position: absolute;
    height: 3px;
    width: 30px;
    left: 0;
    bottom: -10px;
    background: #4CAF50;
    border-radius: 3px;
}

.removeEntry {
    padding-top: 2px;
    display: table;
    color: #7e7676;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    margin-left: auto;
    font-size: 12px;
}
.removeEntry:hover {
    color: #d43a3a;
}

.viewMap{
    height: 500px;
    width: 100%;
}

#rotationTableInput .form-control, #plantingOrderInput .form-control, .rotationTable .form-control,.plantingOrderTable .form-control{
    margin-bottom: 15px;
}

/* E Plantation end */

/* Slider start */

#carouselExampleInterval .carousel-inner .carousel-item{
    height: calc(100vh - 76px);
    background-size: cover;
}

/* Slider end  */
#expandMenu{
    display: none;
}
.scrollSpace{
    height: 90vh;
}

#layercontent .active {
    border: solid 2px #1b5e20 !important;
}
.dataTable thead{
    background: #1b5e20;
    color: #fff;
}
.dataTables_wrapper .dataTables_filter{
    margin-bottom: 5px;
}
.dataTable tr {
    border: 0px solid #3db543;
}
.dataTable tr td{
    vertical-align: middle;
}
table.dataTable.no-footer{
    border: none!important;
}
.table-striped>tbody>tr:nth-of-type(odd){
    --bs-table-accent-bg: rgb(238 252 239);
}
.ui-autocomplete.ui-widget-content{
    z-index: 5;
    background: #fff;
    font-size: 14px;
}
.ui-autocomplete.ui-menu{
    padding: 0;
}
.ui-autocomplete.ui-widget-content .ui-state-active{
    color: #fff;
    background: #144617;
    border: none;
}
.ui-autocomplete.ui-widget-content .ui-menu-item-wrapper{
    padding: 2px 10px;
}
@media screen and (max-width: 1024px) {
    body{
        padding-top: 67px;
    }
    .navbar .navbar-brand img{
        height: 40px;
        margin-right: 10px;
    }
    .leftNav,.subNav{
        top: 66px;
    }
    .navbar-light .navbar-nav .nav-link{
        margin-right: 0;
    }
    #carouselExampleInterval .carousel-inner .carousel-item{
        height: calc(100vh - 67px);
        background-size: cover;
    }
    .wrapContent{
        height: calc(100vh - 67px);
    }
}
@media screen and (max-width: 991px) {    
    .navbar-collapse{
        background: #fff;
        border-radius: 15px;
        padding: 10px;
        position: absolute;
        right: 10px;
        top: 45px;
        width: auto;
    }
    .navbar-collapse.show{
        box-shadow: 1px 1px 3px rgb(0 0 0 / 30%);
    }
}
@media screen and (max-width: 767px) {

    .login .overview div{
        width:60%;
    }

    .wrapContent{
        flex-direction: column;
    }
    div#menu-index{
        flex-basis: auto;
    }
    #menu-index ul{
        /* width: 100%; */
        z-index: 1;
        background: #fff;
        visibility: hidden;
        opacity: 0;
        left: -230px;
        border-right: 2px solid #1b5e20;
        transition: all 0.3s ease-in-out;
    }
    #menu-index ul.menu.showMenu{
        visibility: visible;
        opacity: 1;
        left: 0;
        max-height: calc(100vh - 67px);
    }
    .rightSection{
        width: 100%;
    }
    #expandMenu{
        display: block;
        text-align: center;
        background: #1b5e20;
        color: #fff;
        padding: 1px 10px;
        transition: all 0.3s ease-in-out;
        position: fixed;
        z-index: 2;
        transform: rotate(90deg);
        left: -30px;
        top: 130px;
        border-radius: 3px 3px 0 0;
        box-shadow: 2px -2px 8px rgb(0 0 0 / 0.5);
    }
    #expandMenu i{
        transform: rotate(180deg);
        transition: all 0.3s ease-in-out;
    }
    #expandMenu.rotate180 i{
        transform: rotate(0deg);
    }
    #expandMenu.rotate180{
        left: 200px;
    }
    .removeEntry{
        padding:0 0 10px;
    }
}

@media screen and (max-height: 450px) {
    .sidenav,
    .sidenav2,
    .sidenav3 {
        padding-top: 15px;
    }
    .sidenav a,
    .sidenav2 a,
    .sidenav3 a {
        font-size: 18px;
    }
}



.floating-btn{
    position: fixed;
    top: 80px;
    right: 0;
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
    border-radius: 20px 0 0 20px;
    border: 1px solid #fff;
    border-right: none;
    z-index: 10;
}


.floating-btn2{
    position: fixed;
    top: 80px;
    left: 0;
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
    border-radius:  0 20px 20px 0 ;
    border: 1px solid #fff;
    border-right: none;
    z-index: 10;
}

.ol-popup {
        position: absolute;
        background-color: white;
        -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
        filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
        padding: 15px;
        border-radius: 10px;
        border: 1px solid #cccccc;
        bottom: 12px;
        left: -50px;
        min-width: 280px;
      }
      .ol-popup:after, .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
      }
      .ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
      }
      .ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
      }
      .ol-popup-closer {
        text-decoration: none;
        position: absolute;
        top: 2px;
        right: 8px;
      }
      .ol-popup-closer:after {
        content: "";
      }









/* style for fire  */
.accordion-item-fire h2{
    font-size: 24px !important;
    font-weight: bold !important;
    background: #36363620 !important;
    margin-bottom: 8px !important;
}
.container-fire{
    margin: 50px 58px 0 58px;
}
.container-report{
    min-height: 80vh;
    margin: 60px 58px 0 58px;
}
#footers {
    position: fixed; /* Change from sticky to fixed */
    bottom: 0; /* Ensure it stays at the bottom */
    background: rgb(255, 255, 255);
    width: 100%;
    z-index: 0;
    font-size: 8px; /* Ensure font size is properly defined */
    text-align: right;
    padding: 2px; /* Add padding if needed for spacing */
}

.menu-link {
    text-decoration: none !important;
    color: inherit; /* Inherit color from parent */
  }
.menu-link:hover {
    color: inherit; /* Ensures hover doesn't change color */
  }

.container-fire-prevention {
    background-color: #36363620;
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
}

.container-fire-p {
    border-radius: 8px;
    margin: 10px;
    min-height: 80vh;
    padding: 0 100px 0 100px;
}

.container-pm {
    background-color: #36363620;
    padding: 20px;
    border-radius: 8px;
    margin: 30px;
}
.container-plant-m {    
    border-radius: 8px;
    margin: 10px;
}
.container-plant-m .pm-h2{    
    text-decoration: underline;
    text-decoration-color: #000000;
}

.container-ssp {
    background-color: #36363620;
    padding: 20px;
    border-radius: 8px;
    margin: 30px;
    margin-left:40px;
    margin-right:40px;
}
.container-ssp-m {    
    border-radius: 8px;
    margin: 5px;
}
.container-ssp-m h3 {    
    color: #000;
    text-decoration: underline;
    text-decoration-color: #1b5e20;
    font-size: 24px;
}
.container-ssp-m h2 {    
    color: #000;
    text-decoration: underline;
    text-decoration-color: #1b5e20;
    font: bold;
    /* font-size: 24px; */
}
.container-ssp-m p {    
    color: #1b5e20;
    font-size: 12px;
}
.container-ssp-m h4 {    
    color: #000000;
    font-size: 20px;
    padding-top: 16px;
}
#plantationtable{
    max-height: 45vh;
    overflow-y: scroll;
}

@media (max-width: 768px) {
    .container-pm {       
        margin: 10px;
    }

}

.card-custom {
    height: 120px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.fire_plan {
   padding-left: 60px;
}

/* Custom styles for each card */
#card-f-p:hover {
    background-color: #1b5e20;
    color: white;
}
/* Hover effect for text color */
.card-custom:hover .card-text {
    color: white;
}

.card-body {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    height: 100%;
}

h3.card-text {
    font-size: 24px;
    text-align: center;
}

.card-icon {
    display: none;
}

.card-custom:hover .card-icon {
    display: inline-block;
}

.removeEntry {
    display: inline-block;
    cursor: pointer;
    color: rgb(0, 0, 0); /* or another color that stands out */
    font-size: 12px;
}

.dropdown-reports {
    position: relative;
    display: inline-block;
}

.dropdown-menu-reports {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 175px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    padding-bottom: 10px;
    border-radius: 4px;
    max-height: 200px;   /* Adjust the height based on your preference */
    overflow-y: auto;  
    border: 1px solid #ccc; /* Optional border for styling */
}

.dropdown-reports button {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 175px; /* Set a fixed width */
    height: 40px; /* Set a fixed height */
    box-sizing: border-box; /* Ensures padding doesn’t affect the size */
}

.dropdown-reports button:hover {
    background-color: #198754;
}

.dropdown-reports label {
    display: block;
    margin-bottom: 8px;
}

.dropdown-reports label input {
    margin-right: 8px;
}

#selected-options {
    font-style: italic;
    font-size: 14px;
    color: gray;
}


.chart-container {
    width: 100%;  /* 100% of the parent container's width */
    max-width: 500px;  /* Max width of 600px */
    height: 300px;  /* Fixed height of 300px */
    margin: 0 auto;  /* Center the div horizontally */
}

.entry-radio {
    transform: scale(1.5); /* Adjusts the size of the radio buttons */
    margin-right: 10px; /* Adds space between radio and label */
}
.entry-label {
    font-size: 1.2em; /* Adjusts the size of the text */
}


.ol-control {
    z-index: 1000; /* Ensure it is above other elements */
  }





div#menu-index1  {
    flex-basis: 290px;
    background: #d8d8d8;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrolling if not needed */
    padding: 8px; /* Maintain consistent padding */
    border: 1px solid #ddd;
}
/* #menu-index1  ul{
    padding: 0;
    position: fixed;
    width: 230px;
    overflow: auto;
    max-height: calc(100vh - 76px);
} */
/* Hide scrollbar for Chrome, Safari and Opera */

  
  /* Hide scrollbar for IE, Edge and Firefox */
/* #menu-index1  ul {
    -ms-overflow-style: none; 
   
  }
#menu-index1  ul li{
    list-style: none;
}
#menu-index1  ul li a{
    color: #144617;
    background: #4b4949;
    display: block;
    padding: 5px 10px;
    margin-bottom: 4px;
    transition: all 0.3s ease-in-out;
    position: relative;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1;
    line-height: 20px;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 20%);
}
#menu-index1  ul li a.activeLink {
    background: #144617;
    color: #65d069;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 50%);
} */
/* #menu-index1  ul li a::after{
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid rgba(20, 70, 23, 0);
    transition: all 0.3s ease-in-out;
} */
#menu-index1  ul li a.activeLink::after{
    border-left: 10px solid #144617;
}
#menu-index1  ul li a:hover {
    background: #144617;
    color: rgba(255, 255, 255, 0.842);
    text-decoration: none;
}

.rightSection1{
    flex-grow: 2;
    width: min-content;
    padding: 0px;
}

.rightSection1 .form-group{
    margin-bottom: 0px;
}