@charset "UTF-8";
:root {
  --bs-gray: #69707a;
  --bs-gray-dark: #363d47;
  --bs-gray-100: #f2f6fc;
  --bs-gray-200: #e0e5ec;
  --bs-gray-300: #d4dae3;
  --bs-gray-400: #c5ccd6;
  --bs-gray-500: #a7aeb8;
  --bs-gray-600: #69707a;
  --bs-gray-700: #4a515b;
  --bs-gray-800: #363d47;
  --bs-gray-900: #212832;
  --bs-primary: #dc392d;
  --bs-secondary: #e0e5ec;
  --bs-success: #00ac69;
  --bs-info: #00cfd5;
  --bs-warning: #f4a100;
  --bs-danger: #e81500;
  --bs-light: #f2f6fc;
  --bs-dark: #212832;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-red: #dc392d;
  --bs-orange: #f76400;
  --bs-yellow: #f4a100;
  --bs-green: #00ac69;
  --bs-teal: #00ba94;
  --bs-cyan: #00cfd5;
  --bs-blue: #0061f2;
  --bs-indigo: #5800e8;
  --bs-purple: #6900c7;
  --bs-pink: #e30059;
  --bs-red-soft: #f0e3e7;
  --bs-orange-soft: #f3e7e3;
  --bs-yellow-soft: #f2eee3;
  --bs-green-soft: #daefed;
  --bs-teal-soft: #daf0f2;
  --bs-cyan-soft: #daf2f8;
  --bs-blue-soft: #dae7fb;
  --bs-indigo-soft: #e3ddfa;
  --bs-purple-soft: #e4ddf7;
  --bs-pink-soft: #f1ddec;
  --bs-primary-soft: #f0e3e7;
  --bs-secondary-soft: #f0f4fa;
  --bs-success-soft: #daefed;
  --bs-info-soft: #daf2f8;
  --bs-warning-soft: #f2eee3;
  --bs-danger-soft: #f1e0e3;
  --bs-primary-rgb: 220, 57, 45;
  --bs-secondary-rgb: 224, 229, 236;
  --bs-success-rgb: 0, 172, 105;
  --bs-info-rgb: 0, 207, 213;
  --bs-warning-rgb: 244, 161, 0;
  --bs-danger-rgb: 232, 21, 0;
  --bs-light-rgb: 242, 246, 252;
  --bs-dark-rgb: 33, 40, 50;
  --bs-red-rgb: 220, 57, 45;
  --bs-orange-rgb: 247, 100, 0;
  --bs-yellow-rgb: 244, 161, 0;
  --bs-green-rgb: 0, 172, 105;
  --bs-teal-rgb: 0, 186, 148;
  --bs-cyan-rgb: 0, 207, 213;
  --bs-blue-rgb: 0, 97, 242;
  --bs-indigo-rgb: 88, 0, 232;
  --bs-purple-rgb: 105, 0, 199;
  --bs-pink-rgb: 227, 0, 89;
  --bs-red-soft-rgb: 240, 227, 231;
  --bs-orange-soft-rgb: 243, 231, 227;
  --bs-yellow-soft-rgb: 242, 238, 227;
  --bs-green-soft-rgb: 218, 239, 237;
  --bs-teal-soft-rgb: 218, 240, 242;
  --bs-cyan-soft-rgb: 218, 242, 248;
  --bs-blue-soft-rgb: 218, 231, 251;
  --bs-indigo-soft-rgb: 227, 221, 250;
  --bs-purple-soft-rgb: 228, 221, 247;
  --bs-pink-soft-rgb: 241, 221, 236;
  --bs-primary-soft-rgb: 240, 227, 231;
  --bs-secondary-soft-rgb: 240, 244, 250;
  --bs-success-soft-rgb: 218, 239, 237;
  --bs-info-soft-rgb: 218, 242, 248;
  --bs-warning-soft-rgb: 242, 238, 227;
  --bs-danger-soft-rgb: 241, 224, 227;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 105, 112, 122;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: "Metropolis", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0)
  );
  --bs-body-font-family: Metropolis, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji,
    Segoe UI Symbol, Noto Color Emoji;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-bold-font-weight: bold;
  --bs-body-line-height: 1.5;
  --bs-body-color: #69707a;
  --bs-body-bg: #fff;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #e0e5ec;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.35rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #dc392d;
  --bs-link-hover-color: #b02e24;
  --bs-code-color: #e30059;
  --bs-highlight-bg: #fdeccc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

/* Custom Map Styling */
/* Test Page */
.test-map,
/* Dashboard Map */
.administrative-map,
/* weather pages */
.weather-forecast-map,
.weather-realtime-map,
/* dbt pages */
.dbt-farmer-map,
.dbt-nrm-map,
.dbt-fpo-map,
/* water-budget page */
.water-budget-map,
.ffs-observation-map {
  width: 100%;
  height: 50rem;
  background-color: lightgray;
}

/* 4 div map view */
.soil-moisture-map,
.nbss-soil-map {
  width: 100%;
  height: 25rem;
  background-color: lightgray;
}

/* new styling for the popup table */
.nrm_table-container {
  margin: auto;
  max-width: 1200px;
  min-height: 100vh;
  overflow: scroll;
  width: 100%;
}

.nrm-table {
  border-collapse: collapse;
  width: 100%;
}

.nrm-table-title {
  background-color: #99b3ff;
  text-shadow: 1px 1px #fff;
  font-size: 1.5rem;
}

.logos-w {
  width: 60px;
}

.close-icon {
  cursor: pointer;
}
/* Custom styles */
/* Hide element on extra small devices */
.title-bar {
  width: 100%;
  height: 120%;
  --bs-gutter-x: none;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(255, 149, 0, 1) 15%,
    rgba(255, 255, 255, 1) 40%,
    rgba(255, 255, 255, 1) 60%,
    rgba(52, 144, 88, 1) 80%
  );
}

.pocra-logo {
  width: 100px;
  height: auto;
}

.title-logo {
  height: 55px;
  width: 55px;
}

.logo-div {
  display: flex;
  justify-content: center;
}

.title-grid {
  text-align: center;
}

#title {
  color: blue;
  font-size: 1.8rem;
}

#sub-title {
  color: black;
  font-size: 1.2rem;
}
/* card for PoCRA Jurisdiction count */
.center {
  text-align-last: center;
}

.proca-count {
  display: block;
  clear: both;
  font-size: 2rem;
  text-align-last: center;
  color: blue;
}

.card_pocra_count {
  --bs-card-spacer-y: 1rem;
  /* --bs-card-spacer-x: 1rem; */
  --bs-card-title-spacer-y: 0.5rem;
  --bs-card-border-width: 1px;
  --bs-card-border-color: var(--bs-border-color-translucent);
  --bs-card-border-radius: 0.375rem;
  --bs-card-box-shadow: ;
  --bs-card-inner-border-radius: calc(0.375rem - 1px);
  /* --bs-card-cap-padding-y: 0.5rem; */
  --bs-card-cap-padding-x: 1rem;
  --bs-card-cap-bg: rgba(0, 0, 0, 0.03);
  --bs-card-cap-color: ;
  --bs-card-height: ;
  --bs-card-color: ;
  --bs-card-bg: #fff;
  --bs-card-img-overlay-padding: 1rem;
  --bs-card-group-margin: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: var(--bs-card-height);
  word-wrap: break-word;
  background-color: var(--bs-card-bg);
  background-clip: border-box;
  border: var(--bs-card-border-width) solid var(--bs-card-border-color);
  border-radius: var(--bs-card-border-radius);
}

.card-footer-pocra-count-bg-blue {
  background: #063970;
}
.card-title {
  color: black;
}
#map-title {
  font-weight: bold;
}
.source {
  float: right;
}
.row-eq-height {
  min-height: 31em;
}

/* footer updating date */
#updatedOn {
  color: red;
}

/* Custom Control Styling */
/* Print control error fix */
.ol-ext-print-dialog .ol-print-param {
  padding-left: 4em;
  padding-top: 4em;
}
/* Select all p tags that doesn't have the class "highlighted" */
.ol-control button:not(.ol-layerswitcher button) {
  background-color: #5a7fc9;
  font-size: 1em;
  font-weight: 700;
  color: #fff;
}

.ol-control.ol-select {
  left: 6em;
}

.menu {
  left: 2em;
  top: 0.5em;
}

/* .ol-control.ol-legend {
  bottom: 2.5em;
} */

.ol-scale-bar {
  position: absolute;
  bottom: 0.5em;
  right: 2em;
  left: unset;
}

.ol-legend {
  border: 1px solid black;
}

#card-title,
#existing-structures-card-title,
#proposed-structures-card-title,
#existing-structures-data-table-title,
#proposed-structures-data-table-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #607ccc;
}

/* Custom Cluster Assistant Map Styling */
.cluster-assistant-map {
  width: 100%;
  height: 50rem;
  background-color: lightgray;
}

/* new styling for the popup table */
.cluster-assistant-table {
  border-collapse: collapse;
  width: 100%;
}

.cluster-assistant-table-title {
  background-color: #99b3ff;
  text-shadow: 1px 1px #fff;
  font-size: 1.5rem;
}

.logos-w {
  width: 60px;
}

.close-icon {
  cursor: pointer;
}

minx*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Custom Map Styling */
.mlp-map {
  width: 100%;
  height: 50rem;
  background-color: lightgray;
}

/* new styling for the popup table */
.nrm-act-table {
  border-collapse: collapse;
  width: 100%;
}

.popup-table-title {
  background-color: #99b3ff;
  text-shadow: 1px 1px #fff;
  font-size: 1.5rem;
}

/* For 640 Resolution */
@media only screen and (min-device-width: 360px) and (max-device-width: 740px) {
  /* STYLES GO HERE */
  .sb-topnav .navbar-brand {
    width: auto;
    margin: 0;
  }
  .logo-div {
    display: none;
  }
  .pocra-logo {
    height: 60px;
    width: 60px;
  }
  .brand-title {
    font-size: 1rem;
  }
  .title-grid #title {
    font-size: 1rem;
  }
  .title-grid #sub-title {
    font-size: 0.8rem;
  }
  .cat {
    display: block;
    width: 100%;
  }
  .ol-control button:not(.ol-layerswitcher button) {
    background-color: #5a7fc9;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
  }

  .ol-touch .ol-control button {
    font-size: 1em;
  }

  .test-map,
  .administrative-map,
  .weather-forecast-map,
  .weather-realtime-map,
  .soil-health-card-map,
  .dbt-farmer-map,
  .dbt-nrm-map,
  .dbt-fpo-map,
  .water-budget-map {
    width: 100%;
    height: 25rem;
    background-color: lightgray;
  }

  .mlp-map {
    width: 100%;
    height: 25rem;
    background-color: lightgray;
  }
  /* .weather-forecast-map {
    width: 50%;
    height: 25rem;
    background-color: lightgray;
  } */
}

/* For 1024 Resolution */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* STYLES GO HERE */
  .sb-topnav .navbar-brand {
    width: auto;
    margin: 0;
  }
  .title-grid #title {
    font-size: 1rem;
  }
  .title-grid #sub-title {
    font-size: 0.5rem;
  }
  .title-logo {
    height: 40px;
    width: 40px;
  }
  .logo-div .title-logo {
    display: none;
  }
  .pocra-logo {
    height: 60px;
    width: 60px;
  }
  .ol-touch .ol-layerswitcher-image > button,
  .ol-touch .ol-layerswitcher > button {
    font-size: 1.5em;
  }
}

/* For 1366 Resolution */
@media only screen and (min-width: 1030px) and (max-width: 1366px) {
  /* STYLES GO HERE */
  .sb-topnav .navbar-brand {
    width: auto;
    margin: 0;
  }
  .title-grid #title {
    font-size: 1.2rem;
  }
  .title-grid #sub-title {
    font-size: 0.7rem;
  }
  .title-logo {
    height: 40px;
    width: 40px;
  }
  .pocra-logo {
    width: 4rem;
    height: auto;
  }
  h5,
  .h5 {
    font-size: 0.9rem;
  }

  .accordion-button {
    font-size: small;
  }
  .row-eq-height {
    min-height: 31em;
  }
  .card-title {
    font-size: 0.9rem;
    font-weight: 700;
  }
  .card-description {
    font-size: 0.8rem;
  }
  #forecast-data-table {
    font-size: 0.9rem;
  }
  .ol-touch .ol-layerswitcher-image > button,
  .ol-touch .ol-layerswitcher > button {
    font-size: 1.5em;
  }
}

/* iframe */
#bannerContainer {
  background: #b7d6b7;
  padding: auto;
}
.banner {
  /*text-align: center;*/
  background-color: transparent;
}
.tabs .nav-link {
  color: black !important;
  font-size: 20px;
}
.tabs .nav-link.active,
.fnt-bold {
  font-weight: bold;
}

/* Check box for status selection */

.cat {
  background-color: #104068;
  border-radius: 1em;
  border: 1px solid #fff;
  overflow: hidden;
  float: left;
  padding: 0;
}

.cat label {
  float: left;
  line-height: 3em;
  width: 100%;
  height: 3em;
}

.cat label span {
  text-align: center;
  /* padding: 3px 0; */
  display: block;
}

.cat label input {
  position: absolute;
  display: none;
  color: #fff !important;
}
/* selects all of the text within the input element and changes the color of the text */
.cat label input + span {
  color: #fff;
}

/* This will declare how a selected input will look giving generic properties */
.cat input:checked + span {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

/*
This following statements selects each category individually that contains an input element that is a checkbox and is checked (or selected) and chabges the background color of the span element.
*/

.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.checkbox-checked input:checked + span {
  background-color: #82d44e;
}

.btn-grad {
  text-align: center;
  background: linear-gradient(to right, #1a2980 0%, #26d0ce 100%);
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
}

.btn-grad:hover {
  background: linear-gradient(to left, #1a2980 0%, #26d0ce 100%);
}

/* Modal Carasoul Caption */
.carasoul-modal-img {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.caption-title,
.popover-text-hover {
  color: white;
  text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
}

/* PopUp Carasoul */
.carasoul-popup-img {
  width: 100%;
  height: 200px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.tr-box {
  inline-size: 150px;
  overflow-wrap: break-word;
}
.tbl-bold {
  font-weight: bold;
}

/* Loader animation gif */
.loader {
  content: "";
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #003a14;
  border-bottom: 16px solid #003a14;
  width: 100px;
  height: 100px;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

.card-title-center {
  text-align: center;
  /* color: red; */
  /* background-color: rgb(255, 248, 180); */
  font-size: 1em;
  font-weight: bold;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 5px solid rgba(138, 218, 255, 0.6);
  border-top-color: rgba(2, 48, 255, 0.6);
  animation: spinner 0.6s linear infinite;
}

.highcharts-data-table table {
  font-family: Verdana, sans-serif;
  border-collapse: collapse;
  border: 1px solid #ebebeb;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  max-width: 80%;
}

.highcharts-data-table caption {
  padding: 1em 0;
  font-size: 1.2em;
  color: #555;
}

.highcharts-data-table th {
  font-weight: 600;
  padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
  padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
  background: #f8f8f8;
}

.highcharts-data-table tr:hover {
  background: #f1f7ff;
}

.tooltip_popup {
  max-height: 400px;
  overflow-y: auto;
  position: relative;
}

.popup-th {
  width: 100%;
  border-collapse: collapse;
}

.popup-th th {
  background-color: #eeffbf;
  padding: 12px;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 1;
  border: solid 2.5px #003a14;
}

.popup-th td {
  padding: 10px;
  border: 1px solid #3f2d2d;
}

/*  Table print button style */
.button-container {
  display: flex;
  justify-content: flex-end;
  margin: 0 22px 5px 0;
}

#table-print-btn {
  font-size: 17px;
  background: #eeffbf;
  padding: 0.3em 1.2em;
  color: #1b4a58;
  transition: 0.5s ease;
  cursor: pointer;
  font-weight: 700;
  border: solid 3px #1b4a58;
}

#table-print-btn:hover {
  color: #ffffff;
  transition-delay: 0.1s;
  background: #3ec2ff;
  border: solid 3px #156bec;
}

#forecast-animation:hover,
#soil-moisture-animation:hover {
  background-color: initial;
  background-position: 0 0;
  color: #ff9500;
}
#forecast-animation,
#soil-moisture-animation {
  background: #ff9500;
  border: 1px solid #ff9500;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  /* font-family: nunito, roboto, proxima-nova, "proxima nova", sans-serif; */
  font-size: 16px;
  font-weight: 800;
  line-height: 16px;
  min-height: 42px;
  outline: 0;
  padding: 15px 40px;
  text-align: center;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.weather_animation,
.soil_moisture_animation {
  display: flex;
  justify-content: center; /* Horizontally center the button */
  align-items: center; /* Vertically center the button */
  height: 100%;
}

#weather-container > p {
  color: #0c64e8;
}

.date_value {
  text-align: center;
  margin: 0.5% 1%;
  background-color: #5b80c9;
  color: #ffffff;
  font-weight: 700;
  padding: 0.3% 0%;
}
/*Weather forecast animation style*/
#idw_map {
  height: 85%;
  width: 98%;
  margin: 0 auto;
  border: 6px double black;
}

/* Setting up the slider styling */
.slidecontainer {
  width: 30%;
  margin: -30px auto;
  z-index: 100px;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #5a5858;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #00008b;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #4caf50;
  cursor: pointer;
}

.button_controls {
  text-align: center;
}

/*Weather forecast hover popup style*/
.ol-popover {
  position: absolute;
  z-index: 1000;
  padding: 6px 10px;
  background: rgba(33, 37, 41, 0.92);
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 120ms ease, transform 120ms ease;
  opacity: 0;
}

/* Open layer toggles display when position is undefined; we also use opacity transition */
.ol-overlay-container .ol-popover {
  opacity: 1;
}

/* Arrow pointing to the coordinate */
.ol-popover::after {
  top: -6px;
  bottom: auto;
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent rgba(33, 37, 41, 0.92) transparent;
}

/* Make text slightly larger on very high-DPI displays */
@media (min-resolution: 2dppx) {
  .ol-popover {
    font-size: 13px;
  }
}
