/* full width and heigth html and body */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.layoutcharts {
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  display: flex;
  max-height: 50%;
}

@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    src: url("https://vedas.sac.gov.in/vstatic/krishidss_dashboard/css/custom/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2") format('woff2');
}


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

.layoutcontrols {
  padding: 8px;
  /* color: white; */
  /* color: #1445cd; */
  font-family: Arial;
  /* background: #16702f; */
  /* background: #7c7c7c; */
  background-color: #efcc35;
}

#app>div.layoutcontrols select {

  border-radius: 10px;
  padding: 5px;
  margin-right: 15px;
}

.layoutcontrols,
.layoutcontent {
  display: flex;
  flex-direction: row;
}

#portal-links {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.layoutcontrols {
  /* border-bottom: 4px solid lightblue; */
  border-bottom: 2px solid #b3ade6;

}

.layoutcontent {
  flex: 1;
  position: relative;
}

#app>div.layoutcontent>div.layoutfloating {

  position: absolute;
  padding-top: 10px;
  right: 20px;
  width: 750px;
  z-index: 10;

}

.separator-div {
  border-bottom: 0.5px solid #000000;
  padding: 0.25px;
  margin-bottom: 3px;
  background: white;
  opacity: 0.5;
}

/* Equal width for map and chart container */
.layoutcontent>div:first-child {
  flex: 2
}

.layoutcontent>div:last-child {
  flex: 1
}

#leftchart,
#rightchart {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 1px 1px 6px grey;
  flex: 1;
  margin: 5px;
}

/* classes for counters */
.layoutcounters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  height: 95px;
  margin-bottom: 10px;
}

.counter-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  min-width: 680px;
}

.counter {
  flex: 1;
  cursor: pointer;
  padding: 5px;
  background: white;
  border-radius: 10px;
  margin: 5px;
  box-shadow: 1px 1px 6px;
  /*min-height: 60px;*/

}

.counter>div:first-child {
  font-size: 20px;
  font-weight: bold;
  text-align: center;

  font-size: 22px;
  /* -webkit-text-stroke-width: 1.1px; */
  /* -webkit-text-stroke-color: #545454; */
  -webkit-text-fill-color: #ffffff;
  letter-spacing: 2px;
  font-family: Arial, Helvetica, sans-serif;
  /* text-shadow: 1px 1px 6px black; */
  color: white;
  text-shadow: rgb(0 0 0) 1px 0px 1px,
    rgb(0 0 0) 0.540302px 0.841471px 1px,
    rgb(0 0 0) -0.416147px 0.909297px 1px,
    rgb(0 0 0) -0.989992px 0.14112px 1px,
    rgb(0 0 0) -0.653644px -0.756802px 1px,
    rgb(0 0 0) 1.283662px -0.958924px 1px,
    rgb(0 0 0) 0.96017px -0.279415px 1px;

}



.table-counter>div:last-child,
.counter>div:last-child {
  font-size: 14px;
  text-align: center;
  /* font-weight: bold; */
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: rgb(255 255 255) 1px 0px 1px,
    rgb(255 255 255) 0.540302px 0.841471px 1px,
    rgb(255 255 255) -0.416147px 0.909297px 1px,
    rgb(255 255 255) -0.989992px 0.14112px 1px,
    rgb(255 255 255) -0.653644px -0.756802px 1px,
    rgb(255 255 255) 1.283662px -0.958924px 1px,
    rgb(255 255 255) 0.96017px -0.279415px 1px;
}

.table-counter-container {
  display: flex;
  flex-direction: row;
}

.header {
  /* background-color: #b5e5da; */
  /* background-color: #6a74bd47; */
  /* background-color: #4b57af78; */
  width: 100%;
  padding: 5px;
  z-index: 2;
  border-bottom: 2px solid #b3ade6;
  display: flex;
  align-items: center;
  background-color: #d2e593;
  font-family: arial, sans-serif;
  /* background-image: linear-gradient(45deg, white,#4b4f7c); */
}

.center-text {
  display: flex;

  align-items: center;

  /* You can set the height as needed */

  /* Optional, for visual clarity */
}

.header-select-label {
  margin: 5px 5px 5px 0px;
  font-weight: bold;
  color: black;

}

.header-presentations {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-pdf {
  height: 40px;
  margin-left: 40%;
  ;
}

.download-button {
  padding: 5px 10px;
  border-radius: 10px;
  background-color: #6d74f7;
  color: white;
  border: 1px solid #313ae9;
  letter-spacing: 1.1;
  cursor: pointer;
}

.download-button-left {
  padding: 5px 50px;
  border-radius: 10px;
  background-color: #6d74f7; /* different color for distinction */
  color: white;
  border: 1px solid #313ae9;
  letter-spacing: 1.1px;
  font-weight: bold;
  cursor: pointer;
}


.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

.presentations-label {
  margin: 5px 5px 5px 0px;
  font-weight: bold;
  color: black;
  font-size: 18px;
}

.footer {
  background-color: #d2e593;
  display: flex;
  justify-content: center;
  padding: 8px;
  font-family: arial, sans-serif;
  /* background-image: linear-gradient(45deg, white,#4b4f7c); */
}

.highcharts-credits {
  display: none;
}

/*modal css*/
.modal {
  position: fixed;
  /* Stay in place */
  z-index: 999;
  /* Sit on top */
  padding-top: 50px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.select-source {
  padding: 10px;
  border-radius: 15px;
  font-size: 18px;
  margin-right: 10px;

}

.li-source {
  padding: 10px;
  font-size: 18px;
}

/* Modal Content */
.modal-content {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 900px;
  max-height: 85%;
  overflow: scroll;
  border-radius: 15px;
}

.modal-content-presentations {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  max-width: 900px;
  max-height: 85%;
  overflow: auto;
  border-radius: 15px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/*modal css end*/


/* table and table-striped */
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
  cursor: pointer;
}

tr:nth-child(even) {
  background-color: #dddddd;
}



/* table and table-striped end */

/* modal-search css */

.modal-search {


  padding-left: 0px;
  font-size: 18px;
  width: 100%;
}

.modal-search input {
  width: 100%;
  padding: 5px;
  font-size: 18px;
}

.no-data {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ff0000;
  margin-top: 10px;
}

.modal-export {
  display: flex;
  justify-content: end;
  align-items: stretch;
  margin-top: 10px;
}


/* param description css */
.param-description {
  max-height: 90px;
  cursor: pointer;
  padding: 5px;
  background: white;
  border-radius: 10px;
  margin: 5px;
  box-shadow: 1px 1px 6px;
  text-align: justify;
  overflow-y: auto;
}

.param-description-container {
  padding: 10px;
  padding-top: 5px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(51, 51, 51);
}

.param-description-header-text {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 3px;
}

.modal-header h2 {
  font-size: 18px;
}

.header img {
  max-height: 70px;
}


#dsslink {
  display: flex;
  margin-right: 10px;
  justify-content: center;
  align-content: center;
  align-items: center;
  background-color: #ff5722;
  border-radius: 10px;
  border: 1px solid grey;
  padding: 8px;
  font-size: 14px;
  width: 150px;
  margin: 4px;
}

#madplink {
  display: flex;
  margin-right: 10px;
  justify-content: center;
  align-content: center;
  align-items: center;
  background-color: #ff5722;
  border-radius: 10px;
  padding: 8px;
  font-size: 14px;
}


#flalink {
  display: flex;
  margin-right: 10px;
  justify-content: center;
  align-content: center;
  align-items: center;
  background-color: #ff5722;
  border-radius: 10px;
  padding: 8px;
  font-size: 14px;
}

.mobile-toggle-buttons {
  display: none;
}

.ol-zoom-out {
  background-color: #ffc107 !important;
  color: #685a5a !important;

}

.ol-zoom-in {
  background-color: #ffc107 !important;
  color: #685a5a !important;

}

option.highlighted {

  background: #ffc107;
  color: black;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;

}

select option {
  color: black;

}

select option:disabled {
  color: #aaa;

}

.ol-overlay-container {
  background-color: white;
  padding: 5px;
  color: black;
  font-size: 14px;
  border-radius: 15px;
  padding: 10px;
  border: 2px solid #b3ade6;
}


#chart-modal {
  overflow: hidden;
  position: absolute;
  width: 100%;
  margin: 0px auto;
  bottom: 0;
  /* translate: -50%;
  left: 50%; */
  z-index: 999;
  background-color: white;
  border: 1px solid black;
}

xyz {
  background-color: #ffb1b1;
  /* -0.005 - 0.0 */
  background-color: #a5cc95;
  /* 0.0 - 0.005 */
  background-color: #649e63;
  /* 0.005 - 0.01 */
  background-color: #187817;
  /* 0.01 - 0.03 */

}

/* The Close Button */
.chart-close {
  color: #3687d3;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding-right: 2px;

}

.chart-close:hover,
.chart-close:focus {
  color: #031255;
  text-decoration: none;
  cursor: pointer;
}

#loading-chart{
  width: 50%;
  margin:0 auto;
  padding:10px;
  text-align: center;
}
@media (max-width:1150px) {
  .modal-content-presentations {
    width: 90%;
  }
}

.loading-text {
    position: absolute;
    right: 20px;
    padding: 10px;
    padding-top: 250px;
    width: 750px;
    z-index: 10;
    
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    display: flex;
    justify-content: center;   /* Center horizontally */
    align-items: center;       /* Center vertically */
    
    max-height: 50%;
    font-size: 24px;
    font-weight: bold;
    font-family: sans-serif;
}


.dot {
  animation: blink 1.5s infinite;
  opacity: 0;
}

.dot.one { animation-delay: 0s; }
.dot.two { animation-delay: 0.3s; }
.dot.three { animation-delay: 0.6s; }

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
