html,body {
  height: 100%;
  margin: 0;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

li {
  list-style-type: none;
}

h7 {
    font-size: 0.9em;
    font-weight: 600;
}

html,body {
  height: 100%;
  margin: 0;
}

.tooltip {
  z-index: 9999 !important; /* or whatever value you prefer */
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

li {
  list-style-type: none;
}

select:focus {
    outline: 0;
    border: 1px solid var(--primaryBlue);
}

select.fa-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: 400;
    color: var(--darkGrey);
    background-image: none;
    position: relative;
}

select.fa-arrow::after {
    content: "\f0dd"; /* Font Awesome down arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--midGrey);
}

textarea:focus {
    outline: 0;
    border: 1px solid var(--primaryBlue);
}

.hide { display: none;}

/*------ Fonts --------*/

@font-face {
    font-family: "themify";
    src: url("https://db.onlinewebfonts.com/t/f93da376ceb535ea82334cf2854fc62f.eot");
    src: url("https://db.onlinewebfonts.com/t/f93da376ceb535ea82334cf2854fc62f.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/f93da376ceb535ea82334cf2854fc62f.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/f93da376ceb535ea82334cf2854fc62f.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/f93da376ceb535ea82334cf2854fc62f.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/f93da376ceb535ea82334cf2854fc62f.svg#themify")format("svg");
}


/*---- Geo Buttons End ----*/

textarea {
    resize: none;
    height:200px; 
    text-align: top; 
    font-family: sans-serif;
}

.bodyMap {
    display: inline-flex;
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 10px 10px;
    border: solid 1px var(--primaryBlue);
    background-color: white !important;
}

.bodyMapMob {
    display: inline-flex;
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0px 0px;
}

.TextBox {
    display: inline-block;
    line-height: inherit;
    width: 100%;
    padding: 5px 10px 5px 10px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 5px;
    border: solid 1px #CCC;
}

.TextBox2 {
    -webkit-appearance: none;
    display: inline-flex;
    line-height: inherit;
    width: 100%;
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 5px;
    border: solid 1px #CCC;
    font-size: 0.9em;
}

.Title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
}

.radio {
    cursor: pointer; 
    height: 40px; 
    margin: 15px;
}

.radioBorder {
    opacity: 8%;
}

::-webkit-scrollbar {
    width: 5px;
    padding: 2px;
}

::-webkit-scrollbar-thumb {
      background: #CCC; 
      border-radius: 0px;
}

.MIcon {
    width: 35px;
    padding: 3px 0px 10px 5px;
}

.LIcon {
    width:50px;
    padding: 5px 0px 0px 5px;
}

.LIcon img {
    width: 35px;
}

.LInfoBox {
    padding-left: 2px;
    font-weight: 600;
}

.Lhide {
    display: none;
}

.MInfoBox {
    padding-left: 5px;
    margin-right: 15px;
}

.MName {
    min-height: 8px;
    padding: 4px 6px 4px 4px;
    margin-left: -4px;
    border-radius: 3px;
}

.LName {
    display: inline-block;
    min-height: 8px;
    line-height: 16px;
    padding: 3px 4px 2px 4px;
    margin-left: -4px;
    margin-right: 3px;
    border-radius: 3px;
    text-transform: capitalize;
}

.LName:hover {
    cursor: text;
    box-shadow: inset 0 0px 3px #416fef;
    background-color: #FFF;
}

.LInfo {
    font-weight: 400;
    margin-bottom: 0px !important;
}

.highlight {
    color:red;
}

.LItem {
    display: flex;
    padding: 5px 5px 5px 5px;
    border-bottom: 1px solid #ebebeb;
    grid-template-columns: 50px auto auto;
}

.LItemT {
    display: flex;
    padding: 5px 5px 5px 5px;
    border-bottom: 1px solid #ebebeb;
    grid-template-columns: 50px auto auto;
}


.LItem:hover {
    background-color: #f7f7f7;
    cursor: pointer;
}

.PItem {
    display: grid;
    grid-template-columns: 40px auto auto;
    margin: 0px;
    padding: 0px;
}

.LDelete {
    margin-left: auto;
    text-align: right;
    width: 20px;
}

.ti-pencil {
    position: relative;
}

.AsCom {
    position: absolute;
    height 50px;
    margin-left: -115px;
    margin-top: -20px;
    padding: 6px 10px 6px 6px;
    border-radius: 5px;
    font-family: 'Helvetica', sans-serif;
    font-size: 10px;
    color: #FFF;
    background-color: var(--primaryBlue);
    animation-name: bounceRight;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
}

.AsComAr {
    position: absolute;
    height: 6px;
    width: 6px;
    transform: rotate(45deg);
    background-color: var(--primaryBlue);
    margin-top: 3px;
    margin-right: -3px;
    right: 0;
}

.AsWat {
    position: absolute;
    height 50px;
    margin-left: -115px;
    margin-top: -20px;
    padding: 6px 10px 6px 6px;
    border-radius: 5px;
    font-family: 'Helvetica', sans-serif;
    font-size: 10px;
    color: #FFF;
    background-color: #1869c7;
    animation-name: bounceRight;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
}

.AsWatAr {
    position: absolute;
    height: 6px;
    width: 6px;
    transform: rotate(45deg);
    background-color: #1869c7;
    margin-top: 3px;
    margin-right: -3px;
    right: 0;
}

#suggestedComs {
    margin-bottom: 15px;
}

.comstyle {
    display: inline-flex;
    color: var(--DarkGrey);
    line-height: 10px;
    font-size: 12px;
    font-weight: 400;
    margin: 5px 5px 0px 0px;
    padding: 5px;
    border: 1px solid var(--MidGrey);
    border-radius: 4px;
}

.scomstyle {
    display: inline-block;
    color: #FFF;
    background-color: #d4d4d4;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 5px;
    padding: 2px 6px;
    border-radius: 3px;
}

.planElem {
     display: none;
    position: absolute;
    line-height: 13px;
    margin-left: -108px;
    margin-top: -1px;
    border-radius: 3px;
    font-family: 'Helvetica', sans-serif;
    font-size: 10px;
    outline: 1px solid var(--warn);
    color: var(--warn);
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 5px;
    padding: 2px 6px;
}

.label {
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
    background-color: transparent;
    text-align: center;
    border-radius: 20px;
}

.HomeButton {
    padding: 3px 5px;
    border: 1px solid var(--MidGrey);
    border-radius: 5px;
    color: var(--MidGrey);
    background-color: #fafafa;
    text-align: center;
    width: 40px;
}

.Bcrumb {
    display: inline-block;
    position: relative;
    border: 1px solid var(--MidGrey);
    font-size: 14px;
    padding: 5px 8px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.ActCrumb {
    border: 1px solid var(--primaryBlue);
    color: var(--primaryBlue);
    text-transform: capitalize;
    font-weight: 400;
    background-color: #FFF;
}

.CrumbRow {
    width: 100%;
    padding: 5px 20px 0px 20px;
}

.LDelete .ti-trash:hover {
    cursor: pointer;
    color: #e30000;
}

.LDelete .ti-pencil:hover {
    cursor: pointer;
    color: var(--primaryBlue);
}

.ti-bookmark {
    position: relative;
    color: var(--DarkGrey);
    float: right;
    font-size: 15px;
    padding-bottom: 4px;
    margin-top: 0px;
}

.ti-bookmark:hover {
    color: var(--warn);
    cursor: pointer;
}

.ti-clipboard {
    color: var(--MidGrey);
    float: right;
    font-size: 15px;
}

.ti-clipboard:hover {
    cursor: pointer;
    color: var(--warn);
    cursor: pointer;
}

.ti-info-alt {
    color: var(--MidGrey);
    float: right;
    font-size: 15px;
}

.ti-info-alt:hover {
    cursor: pointer;
    color: var(--primaryBlue);
    cursor: pointer;
}

.PlanSel {
    color: var(--warn);
}

#DownlaodReports {
        position: relative !important;
    }

#DownlaodReports::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1501;
}

#DownlaodReports:hover::before {
    opacity: 1;
    visibility: visible;
}

#DownlaodReports .dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

#DownlaodReports:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#DownlaodReports .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#DownlaodReports .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* requested styles */
.leaflet-popup-content p {
    margin: 4px 0px !important;
}

/*-- margin: 12px 10px 32px 10px !important; --*/

.leaflet-popup-content {
    margin: 8px 10px 10px 10px !important; 
    max-height: null !important;
    overflow-y: visible !important;
}

.leaflet-popup {
    border: 1px solid var(--primaryBlue);
    border-radius: 13px;
}

.leaflet-popup-content-wrapper {
    width: 300px;
}

.leaflet-control-layers-list {
    font-weight: 400;
}

.leaflet-tooltip {
    font-weight: 500;
}

.leaflet-control-layers {
    font-size: 14px;
}

.leaflet-popup-content-wrapper {
    width: 300px;
}

.leaflet-popup-tip-container {
    margin-top: 0px !important;
}

.leaflet-popup-tip {
    border: 1px solid var(--primaryBlue) !important;
}

.popup-content {
    margin-top: 0px;
}

.popup-content table {
    width: 100%;
    border-collapse: collapse;
}

.popup-header {
    color: var(--primaryBlue);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 3px;
}

.popup-content table td {
    padding: 4px;
}

.popup-content table tr:not(:last-child) td {
    border-bottom: 1px solid var(--uniGrey);
}

.popup-content table td:first-child {
    font-weight: 500;
    width: 40%;
    color: var(--primaryBlue);
}

.popup-content table td:last-child {
    text-align:  right;
    font-weight: 400;
}

.leaflet-popup-close-button {
    padding: 6px;
    width: 42px !important;
    font-size: 1.5em !important;
}

.leaflet-popup-close-button:hover {
    color: var(--secondaryBlue);
}

/* Stand Information Lightbox */

#infoTable table {
    width: 100%;
    font-size: 0.85em
}

#infoTable table td {
    padding: 4px;
}

#infoTable table tr:not(:last-child) td {
    border-bottom: 1px solid var(--uniGrey);
}

#infoTable table td:first-child {
    font-weight: 500;
    width: 12%;
}

#infoTable table td:last-child {
    text-align:  right;
    font-weight: 400;
}

#infoTable table tr:nth-child(2n) {
    background: #f8f8f8;
}

#infoTable th {
    font-size: 1em;
    padding: 4px;
    border: 1px solid #ddd;
    text-align: right;
}

#infoTable th:first-child {
    font-size: 1em;
    padding: 4px;
    border: 1px solid #ddd;
    text-align: center;
}

.PIHeader {
    margin: 15px 0px 10px 0px;
    padding-bottom: 5px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--darkGrey);
    border-bottom: 1px solid var(--uniGrey);
}


/*-----AgroRegions------*/

.info {
    padding: 8px 8px;
    background: white;
    max-width: 280px;
    max-height: 600px;
    background: rgba(255,255,255,1);
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
    border-radius: 5px;
}

.info p {
    font-size: 12px;
    color: #6a6a6a;
}

.info .info_l {
    font-size: 12px;
    color: #8d8d8d;
    line-height: 20px;
}

.RegionName {
    font-size: 18px;
    font-weight: 600;
}

.InfoHd {
    font-size: 13px;
    font-weight: 500;
}

.info_l {
    font-weight: 400;
}

.HoverInfo {
    width: 170px;
    margin: 5px 0px 0px 0px;
    padding: 20px 10px;
    text-align: center;
    color: #b4b4b4;
}

.HoverOut {
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    padding: 0px 10px;
}

.ti-map-alt {
    font-size: 30px;
}

/*--- Ag Zon selected --*/

.AZ {
    color: var(--MidGrey);
    float: right;
    font-size: 15px;
}

.AZ:hover {
    color: var(--primaryBlue);
    cursor: pointer;
}

.AZsel {
    color: var(--primaryBlue);
}

/*--- District selected --*/

.DistClass {
    padding: 5px;
    border-radius: 5px;
    color: #FFF;
    border: 1px solid #FFF;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    font-weight: 600;
}

/*-------- Feature List --------*/

#MapHeight {
    display: flex;
    flex-direction: row;
    height: 90%;
}

#MapHeightMob {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.MapContainer {
    flex-grow: 1;
    display: flex;
    margin: 0px 20px 40px 20px;
}

.MapContainerMob {
    flex-grow: 1;
    display: flex;
}

#NewFarm {
    width: 350px;
    border-radius: 10px 10px 10px 10px;
    margin-right: 10px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    float: left;
    border: solid 1px var(--primaryBlue);
    
}

.InCont {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

#searchCount {
    margin: 5px;
    font-size: 0.9em;
}

.divLine {
   border-bottom: 1px solid #CCC;
   margin-bottom: 15px;
   margin-top: 15px;
}

.divLine2 {
   border-bottom: 1px solid #CCC;
   margin-bottom: 5px;
    margin-top: 5px;
}

.CrFcont {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/*-- Feature list New --*/

.FeatureList {
    flex: 1;
    background: #FFF;
    overflow-y: scroll;
    border-radius: 5px;
    border: 1px solid #CCC;
}

.FeatureList::-webkit-scrollbar {
    display: show;
    width: 6px;
    border-radius: 100px;
}

.FeatureList::-webkit-scrollbar-thumb {
    border-radius: 100px;
    height: 60px;
    background-color: var(--uniGrey);
}

.FeatureList::-webkit-scrollbar-thumb:hover {
    width: 10px;
    cursor: pointer;
    background-color: var(--primaryBlue);
}


.feature-list {
    width: 100%;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--uniGrey); 
    cursor: pointer;
}

.feature-item:hover {
    background-color: var(--hoverGrey);
    color: var(--primaryBlue);
}

.selected {
    background-color: var(--activeBlue);
    color: var(--primaryBlue);
    border-left: 3px solid var(--secondaryBlue);
}

.StandNo {
    
}

/*-- Status indicators --*/

:root {
    --available: #4ae08a;
    --credit: #fcbd58;
    --sold: #ed6b70;
    --endowment: #6895eb;
    --reserved: #8b68eb;
    --pledged: #dc68eb;
    --expiredContract: #fcce66;
    --eviction: #5d5353;
}


.StandStatHeader {
    font-size: 1.5em;
    font-weight: 500;
    padding: 3px 5px;
    border-radius: 5px 5px 0px 0px;
    background: red;
    color: #FFF;
}

.StandStat {
    font-size: 0.7em;
    font-weight: 500;
    padding: 3px 5px;
    border-radius: 5px;
    background: red;
    color: #FFF;
}

.StandStatLG {
    font-size: 1em;
    font-weight: 500;
    padding: 3px 5px;
    border-radius: 5px;
    background: red;
    color: #FFF;
}

.available {
    background: var(--available);
}

.credit {
    background: var(--credit);
}

.sold {
    background: var(--sold);
}

.endowment {
    background: var(--endowment);
}

.reserved {
    background: var(--reserved);
}

.pledged {
    background: var(--pledged);
}

.expiredContract {
    background: var(--expiredContract);
    position: relative;
    outline: 1px solid #e04545;
    outline-offset: -1px;
    color: #e04545;
}

.expiredContract::before {
    content: "\21"; /* Unicode warning symbol */
    font-family: "Font Awesome 6 Free";
    position: absolute;
    text-align: center;
    margin: 0 auto;
    padding: 2px;
    top: -8px;
    right: -6px;
    width: 20px;
    background: #e04545;
    border: 1.5px solid #FFF;
    border-radius: 50%;
    color: #FFF; /* Orange/red warning color */
    font-size: 8px;
    font-weight: 800;
    z-index: 1;
    transform: scale(0.75);
}

.eviction {
    background: var(--eviction);
}


.subForm {
    border-radius: 10px;
    box-shadow: var(--boxShadow2);
}

.subForm:has(.available) {
    border: 1px solid var(--available);
}

.subForm:has(.credit) {
    border: 1px solid var(--credit)!important;
}

.subForm:has(.sold) {
    border: 1px solid var(--sold);
}

.subForm:has(.endowment) {
    border: 1px solid var(--endowment);
}

.subForm:has(.reserved) {
    border: 1px solid var(--reserved);
}

.subForm:has(.pledged) {
    border: 1px solid var(--pledged);
}

.subForm:has(.expiredContract) {
    border: 1px solid var(--expiredContract);
}

.subForm:has(.eviction) {
    border: 1px solid var(--eviction);
}


.error {
    background: #ffd2d2;
}

.error-pattern {
    background-color: #ffd2d2;
    position: relative;
    overflow: hidden;
}

.error-pattern::before {
    content: '! ! ! ! ! ! ! !' 
}

.default {
    background: #f7724a;
}

/*-- Feature list End --*/

.required-field-error {
    border: 1px solid #e74c3c !important;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3) !important;
}

.required-field-error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.5) !important;
}

.NoScroll{
    overflow-y: hidden; !important
    position: static;
}

#deleteContent {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    border-radius: 5px;
    background: rgba(57, 57, 57, 0.80);
    position: fixed;
    display: none;
    overflow-y: hidden;
    z-index: 100;
}

#SucLight {
    background-color: rgba(20, 20, 89, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    color: #FFF;
    border-radius: 5px;
    width: 300px;
    height: 400px;
}

#SucLight h3 {
    margin-top: 10px;
}

#SucLight i {
    font-size: 2.5em;
}

.MsgBorder {
    position: relative;
    height: auto;
    padding: 15px 20px;
    margin: 10px;
    border: 1px solid #fff;
    border-radius: 5px;
}

#InfoContent {
    vertical-align: middle;
    width: inherit;
    height: 100%;
    border-radius: 5px;
    background: #FFF;
    position: fixed;
    display: none;
    overflow-y: scroll;
    padding: 0px 10px;
    z-index: 1000;
}

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

.ListLight::-webkit-scrollbar {
    display: none;
}

.ContLight {
    position: relative;
    height: 100%; /* Full height of InfoContent */
    display: flex;
    flex-direction: column;
}

#saleStatus {
    margin-top: -4px;
    font-size: 0.6em;
    font-weight: 500;
}

.ListLight {
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: 15px 0px;
}

.ListLight img {
    width: 60px;
    margin-bottom: 5px;
}

#infoTable input[type=text] {
    -webkit-appearance: none;
    display: inline-flex;
    line-height: inherit;
    width: 100%;
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 5px;
    border: solid 1px #CCC;
    font-size: 0.85em
}

#infoTable input[type=text]:disabled {
    background: #f7f7f7;
}

#infoTable input[type=number] {
    -webkit-appearance: none;
    display: inline-flex;
    line-height: inherit;
    width: 100%;
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 5px;
    border: solid 1px #CCC;
    font-size: 0.85em
}

#infoTable select {
    display: inline-flex;
    line-height: inherit;
    width: 100%;
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 5px;
    border: solid 1px #CCC;
    font-size: 0.85em;
    color: var(--darkGrey);
}

#infoTable select:disabled {
    -webkit-appearance: none;
    background: #f7f7f7;
    opacity: 1;
}

.LLInfo {
    width: 100%;
    line-height: 15px;
    margin: 5px 0px 8px 0px;
    font-weight: 200;
    font-size: 16px;
}

.LLVal {
    display: inline-flex;
    max-width: 125px;
    height: 20px;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}

.LBbuts {
    background: #FFFFFF;
    text-align: center;
    position: relative;
    bottom: auto;
    width: calc(100% - 0px);
    padding: 10px 0px;
    border-top: 1px solid var(--uniGrey);
    margin-top: auto;
    flex-shrink: 0;
}

/*---- CSS STYLES FOR LEGEND (Add to your CSS file) ------*/

.map-legend {
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 8px;
    font-weight: 400;
    font-size: 10px;
    line-height: 1;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    min-width: 150px;
    max-width: 200px;
}

.legend-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
    color: #333;
    text-align: center;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 1px 0;
}

.legend-color {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    margin-right: 8px;
    flex-shrink: 0;
    display: inline-block;
}

.legend-label {
    color: #333;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*----ToolTip -----*/

.tooltipCopy {
    display: none;
    position: absolute;
    z-index: 2000;
    font-size: 10px;
    padding: 5px 6px;
    margin-left: -65px;
    margin-top: -1px;
    color: #FFF;
    font-family: 'Helvetica', sans-serif !important; 
    line-height: 8px;
    border-radius: 3px;
    background-color: var(--DarkGrey);
}

.ftStat {
    text-align: center;
}

.ComodityInfo {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 100;
    height: 50px;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 6px;
    background: rgb(53,198,119);
    background: linear-gradient(90deg, rgba(53,198,119,1) 38%, rgba(8,130,128,1) 100%);
    color: #FFF;
}

.topAr {
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: var(--primaryBlue);
    transform: rotate(45deg);
    margin-top:-5px;
    margin-left: 40px;
}

.botAr {
    display: none;
    position: absolute;
    height: 10px;
    width: 10px;
    background-color: var(--primaryBlue);
    transform: rotate(45deg);
    margin-top: -5px;
    margin-left: 40px;
}

#WaterCalc {
    color: #FFF;
    background-color: #1869c7;
    border-radius: 5px;
    padding: 10px;
}

.DelList {
    display: table-cell;
    vertical-align: middle;
    height: inherit;
    text-align: center;
    color: #FFF;
    font-size: 12px;
}

.DelBut {
    border: 1px solid #FFF;
    display: inline-flex;
    text-align: center;
    border-radius: 5px;
    margin: 20px 5px;
    padding: 5px;
    cursor: pointer;
}

.DelBut:hover {
    background: #FFF;
    color: #000;
}

/*-------- Info Box Farm Features --------*/

#showInfo {
    
}

#closeInfo {
    display: none;
}



#CreateFeatures {
    display: table-cell;
    vertical-align: middle;
}

.InformationBox {
    width: 100%;
    text-align: center;
    padding: 30px;
    color:#a5a5a5;
}

.InformationBox img{
    margin-bottom: 30px
}

.ListBut {
    border: 1px solid #a5a5a5;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    padding: 5px 10px;
    margin: 15px;
    color: #a5a5a5;
}

.ListBut:hover {
    background-color: #a5a5a5;
    color: #FFF;
    cursor: pointer;
}

/*-------- Radius Control --------*/

.strd {
    height:40px;
    width:100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px 0px 15px 0px;
}

.RadiusEntry {
    border-radius: 5px;
    background-color: #FFF;
    padding: 12px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
}

.RadiusEntry input{
    width: 80px;
}

#radiusInput {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #CCC;
    line-height: 25px;
}

.RadiusEntry button{
    background: var(--primaryBlue);
    width: 100%;
    border: none;
    border-radius: 4px;
    color: #FFF;
    line-height: 23px;
    margin: 10px 0px 0px 0px;
}

button:focus {
    outline: none;
}

button:active {
    outline: none;
}

.RadStyle {
    background-color: #375f09;
    border: 1px solid White;
    border-radius: 5px;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 1px;
    white-space: nowrap;
    text-align: center;
}

#EntRadius {
    display: none;
    position: absolute;
    width: 100%;
}

.entRad {
    background-color: #ff4e00;
    color: #FFF;
    border: 1px solid #FFF;
    margin: -5px 5px 5px 5px;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.arRad {
    margin: 0 auto;
    margin-top: -40px;
    height: 10px;
    width: 10px;
    background-color: #ff4e00;
    transform: rotate(45deg);
    border-top: 1px solid #FFF;
    border-Left: 1px solid #FFF;
}

/*----- Add Cursor Map -----*/

.curs {
    cursor: crosshair !important;
}
.cursor-tooltip {
    top:50;
    cursor: crosshair !important;
}

/*---- Leaflet Layers ----*/

.leaflet-control-layers-base label {
    margin: 0px -4px 5px 0px;
    border: 1.5px solid #CCC;
    padding: 2px 5px;
    border-radius: 3px;
    color: #5d5d5d; !important
}

.leaflet-control-layers-base label:hover {
    background-color: var(--UniGrey);
    cursor: pointer;
}

.leaflet-control-layers-overlays label {
    margin: 0px -4px 4px 0px;
    border: 1.5px solid #CCC;
    padding: 2px 8px 2px 5px;
    border-radius: 3px;
    color: #5d5d5d; !important
}

.leaflet-control-layers-overlays label:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}

.leaflet-control-layers-base label:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}

.leaflet-control-layers-selector:focus {
    outline: none !important;
    border: none !important;
}

/* Style the label when its checkbox is checked */
.leaflet-control-layers-overlays label:has(input[type="checkbox"]:checked) {
    background-color: var(--secondaryBlue);
    color: #FFF;
}

.leaflet-control-layers-base label:has(input[type="radio"]:checked) {
    background-color: var(--primaryBlue);
    background-color: var(--primaryBlue);
    color: #FFF;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 16px;
    width: 16px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23CCCCCC'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

/* Layer Icons */

.leaflet-control-layers-base label:nth-child(1) span span::before {
    content: "\f7bf"; /* Satellite icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 4px;
    margin-left: 2px;
}

.leaflet-control-layers-base label:nth-child(2) span span::before {
    content: "\f6fc"; /* Mountain icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 4px;
    margin-left: 2px;
}

.leaflet-control-layers-base label:nth-child(3) span span::before {
    content: "\f042"; /* Mountain icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 4px;
    margin-left: 2px;
}

/*---- controls order ----*/

.leaflet-left {
    display: flex;
    flex-direction: column;
}

.leaflet-pm-custom {
    order: 1; !important
}

.leaflet-pm-draw {
    order: 2;
}

.leaflet-pm-edit {
    order: 3;
}

/*--- radius marker---*/

.radius-marker {
    background-color: white;
    border: 1px solid #3388ff;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 12px;
    white-space: nowrap;
}

/*---- Modals -----*/

#SellStand1 {
    display: block;
}

/*---- Map Lightboxes -----*/

#StandData1 {
    display: none;
}

#InfoHelp {
    display: none;
}

.LBData {
    text-align: center;
    font-size: 1.7em;
    font-weight: 600;
    padding: 0px 15px 20px 15px;
}

.LBData p {
    font-size: 0.7em;
    font-weight: 600;
    width: 600px;
    margin-bottom: 0px;
}

.SellBut {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;  
    text-align: center;     
    height: 100px;
    margin: 10px;
    border-radius: 8px;
    color: #FFF;
}

.SellBut:hover {
    cursor: pointer;
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.1);
}

.LBcontent {
    text-align: left;
    padding: 10px;
}

.LBcontent input {
    font-size: 13px;
}

#ComBoxPlace {
    padding: 70px;
}

.DataHeads {
    text-align: left;
    font-weight: 600;
    color: var(--DarkGrey);
}

.Fover {
    position: absolute;
    margin-left: 15px;
    margin-top: -45px;
}

.PieCont {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.InfoCont {
    display: none;
    position: absolute;
    background-color: rgba(20, 20, 89, 0.7);
    height: 100%;
    width: 100%;
    z-index: 1001;
    overflow-y: scroll;
}

.InfoBox {
    position: absolute;
    background-color: #FFF;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    max-width: 750px;
}

.InfoData {
    display: flex;
    height: 100%;
    flex-direction: column;
    text-align: center;
}

.closecss {
    padding: 20px 0px;
    font-size: 16px;
    text-align: right;
    cursor: pointer;
}

.imgCont {
    padding: 0px 20px 0px 20px;
}

.imgCont img{
    width: 90%;
    max-width: 650px;
}

.Infotxt {
    width: 100%;
    padding: 30px 30px 0px 30px;
    color: #5d5d5d;
}

.Infotxt p {
    font-size: 16px;
}

.InfoButs {
    display: flex;
    margin-top: auto;
}

#NextBT {
    margin-left: auto;
    order: 2;
}

.inactiveBT {
    display: none;
}

/*----- Demo Buttons ----*/

.demCont {
    display: none;
    position: relative;
    text-align: center;
    padding: 8px;
    background-color: var(--warn);
    color: #FFF;
    font-size: 14px;
}

.demCont:hover {
    cursor: pointer;
}

/*---- Horizontal Info Scroller -----*/


.horizontal-media-scroller {
    grid-auto-columns: 100%;
    left: 0;
    display: grid;
    grid-auto-flow: column;
    overflow-x: hidden;
    overscroll-behaviour-inline: contain;
    ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0;
}

.snaps-inline {
    /*scroll-snap-type: x mandatory;*/
}

.snaps-inline .left {
    /*scroll-snap-align: start;*/
}

.snaps-inline .middle {
    /*scroll-snap-align: center;*/
}


/*--- Function Changes---*/


span input[type="radio"] {
    appearance: none;
}

span input[type="checkbox"] {
    appearance: none;
}

.RadioCheck {
     box-shadow: inset 0 0 10px #d6d6d6;
}

.CheckboxCheck {
     box-shadow: inset 0 0 10px #d6d6d6;
}

.marker-icon, .marker-icon:focus {
    border: 1px solid var(--primaryBlue) !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    width: 5px !important;
    height: 5px !important;
}

/*-------- Mobile Mapping Page --------*/

.HcontMob {
    width: 100%;
    margin: 10px 10px 15px 10px;
}

/*----- Responsive Design -------*/

@media (max-width: 1600px) {
    /*#NewFarm {
        zoom: 80%;
    }
    
    .leaflet-top {
        zoom: 80% !important;
    }
    
    .shepherd-content {
        zoom: 80% !important;
    }*/

}

@media (max-width: 1366px) {
    
}

@media (max-width: 1200px) {
    .Hstyle {
        font-size: 35px; 
        font-weight: 600; 
        color:#193B83;
    }
}

@media (max-height: 700px) {
    
    #FarmInf {
        display: none;
    }
    
    #ComHide {
        display: none;
    }
    
    .InfoBox {
        top: 0%;
        left: 50%;
        transform: translate(-50%, 0%);
        border-radius: 10px;
        margin-top: 20px;
        margin-bottom: 50px;
    }
    
    .LBData {
        width: 400px;
    }
    
}

/*--- Animations -----*/

.fade-in {
    animation-name: bounceTop;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 2s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes bounceTop {
        0% {
        margin-top: 0px;
    }
        25% {
        margin-top: 10px;
    }
        50% {
        margin-top: -5px;
    }
        75% {
        margin-top: 10px;
    }
        100% {
        margin-top: 0px;
    }
}

@keyframes bounceRight {
        0% {
        opacity: 0;
    }
        10% {
        margin-left: -115px;
    }
        20% {
        margin-left: -130px;
    }
        30% {
        margin-left: -115px;
    }
        40% {
        margin-left: -125px;
            opacity: 1;
    }
        50% {
        margin-left: -115px;
    }
        60% {
        margin-left: -120px;
    }
        70% {
        margin-left: -115px;
    }
        80% {
        margin-left: -117px;
    }
        100% {
        margin-left: -115px;
    }
}
