@charset "UTF-8";

/* ========== 공통 ========== */
html {
  min-width: 320px;
  overflow: hidden;
  overflow-y: auto;
  word-break: keep-all;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  word-break: keep-all;
}

.inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

b {
  font-weight: 600;
}
.img_box {
  text-align: center;
}
.img_box img {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}
/* ===== input ===== */

label {
  display: inline-block;
  cursor: pointer;
}

.ipt,
.select,
.btn,
.textarea {
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid #ebebeb;
  padding: 0.3rem 1rem;
  border-radius: 5px;
  vertical-align: middle;
  cursor: pointer;
}

.select,
.textarea {
  /* width: 100%; */
  min-width: 8.5rem; /*  최소너비 */
  max-width: 100%;
}

.select_wrap {
  margin-bottom: 1rem;
}

.select {
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  -webkit-appearance: none; /* for chrome */
  -moz-appearance: none; /*for firefox*/
  appearance: none;
  background: #fff url(/images/sp/farmmap/icon_arrow_down.svg) no-repeat 97% center;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
}
.select::-ms-expand {
  display: none; /*for IE10,11*/
}

.file_wrap span {
  padding-left: 0.5rem;
}
.ipt_file {
  display: none;
}


.ipt_date {
  padding-right: 1.5rem !important;
  background: #fff url(/images/sp/farmmap/icon_date.svg) no-repeat 97% center !important;
}


.file_label {
  display: inline-block;
  padding: 0.5rem 1rem 0.5rem 2rem;
  background: #777 url(/images/sp/farmmap/icon_upload_w.svg) no-repeat 0.7rem 50% / auto 50%;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
}

.file_label:hover {
  background-color: #555;
}

.date_wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
}
.date_wrap .select {
  min-width: auto;
  width: 25%;
}

/* ==== pagination ==== */
.pagination {
  position: relative;
}
.pagination a {
  display: inline-block;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 5px;
  margin: 0 2px;
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  line-height: 1.5rem;
  vertical-align: middle;
  border: 1px solid #ebebeb;
  border-radius: 2px;
  background: #f7f7f7;
}

.pagination a:hover {
  background-color: #ddd;
}

.pagination .end,
.pagination .first {
  font-size: 0;
  background: #f7f7f7 url(/images/sp/farmmap/icon_end.svg) no-repeat center;
}
.pagination .next,
.pagination .prev {
  font-size: 0;
  background: #f7f7f7 url(/images/sp/farmmap/icon_next.svg) no-repeat center;
}

.pagination .first,
.pagination .prev {
  transform: rotate(180deg);
}

/* ===== button ===== */

button {
  cursor: pointer;
  background: transparent;
}

.btn {
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  border-color: transparent;
  transition: 0.2s;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
}

.btn_submit {
  background: #2997ff;
  border-color: #2997ff;
  color: #fff;
}

.btn_more {
  background: #ddd;
  border-color: 1px solid #ddd;
  color: #555;
}
.btn_more:hover {
  background: #4187fd;
  border-color: 1px solid #4187fd;
  color: #fff;
}
.btn:disabled {
  background: #ddd;
  color: #777;
}

.btn_cancel {
  background: #f4f4f4;
}

.btn_search {
  background: #2997ff;
  border-color: #2997ff;
  color: #fff;
}
.btn_icon {
  font-size: 0;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border-color: transparent;
}

.btn_menu {
  width: 100%;
  font-size: 1rem;
  color: #555;
  background: #fff;
}
.btn_menu:hover,
.btn_menu.active {
  background: #4187fd;
  color: #fff;
}
.btn_excel {
  border: 1px solid #4187fd;
  color: #4187fd;
  font-weight: 500;
}
.btn_excel:hover {
  background: #4187fd !important;
  color: #fff;
}

/* ===== table ===== */
.table_wrap {
  position: relative;
  font-size: 0.875rem;
  text-align: center;
}
.table_wrap table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.table_wrap small {
  display: block;
  color: #555;
  font-size: 0.875rem;
  text-align: left;
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.table_wrap th {
  border: 1px solid #ddd;
  padding: 0.7rem 0.5rem;
}
.table_wrap td {
  border: 1px solid #ddd;
  padding: 0.5rem;
}

.table_wrap thead {
  background: #ecf3ff;
}

.table_wrap thead th {
  font-weight: 600;
}

.table_wrap tbody th {
  font-weight: 600;
}
.tb_scroll {
  overflow: auto;
  max-height: calc(35vh - 8rem);
  border: 1px solid #ddd;
  border-width: 1px 0 0 1px;
}
.tb_scroll table {
  /* min-height: 300px; */
}
.tb_scroll thead {
  position: sticky; /* 상단 th 고정 */
  left: 0;
  top: 0;
}
.tb_scroll table {
  border-collapse: separate;
  border-spacing: 0;
}
.tb_scroll th,
.tb_scroll td {
  border-width: 0 1px 1px 0;
  word-break: break-all;
}

.tb_caption {
  text-align: left;
}
.tb_caption li {
  margin-top: 1rem;
  line-height: 1.5;
}
.tb_caption li p {
  padding-left: 0.7rem;
  color: #333;
}
.tb_caption li b {
  font-weight: 500;
}

/* ===== text color ===== */
.t_blue {
  color: #6fb7ff;
}
.t_red {
  color: #ff5858;
  font-weight: 500;
}

/* ========== header ========== */
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 5rem;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #ddd;
  color: #222;
  z-index: 999;
  transition: 0.2s;
  z-index: 999;
}

.header .inner {
  width: 100%;
  padding: 1rem 2%;
}

/* logo */
.logo {
  font-weight: bold;
  text-align: left;
  font-size: 1.5rem;
}
.logo img {
  max-width: 165px;
  vertical-align: middle;
}
.logo a {
  display: inline-block;
  margin-right: 1.25rem;
}

/* ========== contents ========== */
.cont_wrap {
  position: relative;
  height: 100vh;
}
/* ========== map ========== */
.map_wrap {
  position: fixed;
  left: 0;
  top: 0;
  background: #DDD;
  width: 100%;
  height: 100%;
  /*background: url(/images/sp/farmmap/map.jpg) no-repeat center/ cover;*/
}
.map_wrap a {
  position: absolute;
  left: 50%;
  top: 50%;
}
/* ========== snb ========== */
.snb_wrap {
  position: absolute;
  top: 6rem;
  left: 1rem;
  background: #fff;
  z-index: 99;
  width: 290px;
  height: calc(100vh - 7rem);
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.snb {
  padding: 1.25rem 1rem;
  height: 100%;
}
.hide .snb_wrap {
  left: -290px;
}
.menu_close {
  position: absolute;
  left: 100%;
  top: 10%;
  width: 25px;
  height: 60px;
  background: #4187fd;
  font-size: 0;
  border-radius: 0 10px 10px 0;
}
.menu_close.active svg {
  transform: rotate(-180deg);
}
.menu_box {
  background: #ecf3ff;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid #ecf3ff;
  transition: 0.2s;
}

.menu_box:hover,
.menu_box.active {
  border-color: #4187fd;
}
.menu_box .select {
  width: 100%;
}

.menu_box:last-of-type {
  margin-bottom: 0;
}
.menu_top {
  position: relative;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.menu_box:first-of-type .menu_top {
  border-bottom: 1px solid rgba(65, 135, 253, 0.2);
}

.active.drop_menu .menu_top {
  border-bottom: 1px solid rgba(65, 135, 253, 0.2);
}
.drop_menu .menu_top:after {
  content: url(/images/sp/farmmap/icon_arrow_down_blue.svg);
  position: absolute;
  right: 1rem;
  top: 45%;
  transform: translateY(-50%);
  transition: 0.5s;
}
.active.drop_menu .menu_top:after {
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}
.menu_top h2 {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
}
.menu_top h2 i {
  margin-right: 0.5rem;
}

.menu_bot {
  padding: 1rem;
}
.drop_menu .menu_bot {
  height: 0;
  padding: 0 1rem;
  overflow: hidden;
  transition: 0.3s;
}
.menu_box.active .menu_bot {
  height: auto;
  padding: 1rem;
}

.menu_bot li {
  margin-bottom: 0.3rem;
}
.menu_bot li:last-of-type {
  margin-bottom: 0;
}

.help_box {
  display: inline-block;
  margin-left: 0.5rem;
  width: 15px;
  height: 15px;
}
.help_box .help_icon {
  display: block;
  font-size: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(65, 135, 253, 0.5) url(/images/sp/farmmap/icon_help.svg) center no-repeat;
  text-align: center;
  cursor: pointer;
}
.help_box .help_text {
  display: none;
  position: absolute;
  bottom: 65%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 31, 83, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 5px;
  min-width: 200px;
  z-index: -1;
}
.help_box:hover .help_text {
  display: block;
  z-index: 99;
}
/* ========== info ========== */
.toggle_wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: calc(100vw - 290px - 3rem);
}
.info_wrap {
  background-color: #fff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  display:none;
}
.hide .toggle_wrap {
  width: calc(100% - 2rem);
}
.info_btn {
  text-align: center;
  background: #4187fd;
  cursor: pointer;
  color: #fff;
  padding: 0.8rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height:45px;
}
.info_btn span {
  padding-right: 1.5rem;
  background: url(/images/sp/farmmap/icon_arrow_up_w.svg) no-repeat right center;
}

.info_btn span.close {
  display: none;
  background: url(/images/sp/farmmap/icon_arrow_down_w.svg) no-repeat right center;
}
.info_wrap.active .close {
  display: inline-block;
}
.info_wrap.active .open {
  display: none;
}

.info_con {
  height: 0;
  transition: 0.3s;
}

.info_wrap.active .info_con {
  height: 35vh;
}
.info_box {
  display: none;
  padding: 1rem;
  height: 100%;
}
.info_box.current {
  display: block;
}
.info_box .btn,
.info_box .ipt {
  padding: 0.35rem 0.5rem;
  box-shadow: none;
  background: #fff;
  display: inline-block;
  font-size: 0.875rem;
}
.info_box .select {
  font-size: 0.875rem;
  padding: 0.35rem 1.5rem 0.35rem 0.5rem;
}
.info_title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(65, 135, 253, 0.2);
}
.info_title h4 {
  position: relative;
  font-size: 1.25rem;
  margin-right: 0.3rem;
  padding-left: 0.5rem;
  font-weight: 600;
}
.info_title h4::before {
  content: "";
  width: 3px;
  height: 80%;
  background: #4187fd;
  position: absolute;
  left: 0;
  top: 0.12rem;
}
.info_title span {
  color: #555;
}
.info_title small {
  display: inline-block;
  margin-left: 0.5rem;	
  color: #555;
  font-weight: 300;
  font-size: 0.9rem;
}
.info_top {
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
  background: #f7f7f7;
  border: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}
.info_top ul {
  display: flex;
}
.info_top li {
  margin-right: 0.5rem;
}
.info_top li:last-child {
  margin-right: 0;
}
.info_top .dot {
  position: relative;
  font-size: 1rem;
  padding-left: 0.8rem;
  font-weight: 500;
  margin-left: 1rem;
}
.info_top .dot::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #4187fd;
  position: absolute;
  left: 0;
  top: 0.4rem;
}
.btn_wrap {
  display: flex;
  overflow: hidden;
  margin-right: 0.5rem;
}
.btn_wrap .chart_tab {
  border: 1px solid #ddd;
  min-width: 100px;
  color: #969696;
}
.btn_wrap .chart_tab.active {
  background-color: #4187fd;
  border-color: #4187fd;
  color: #fff;
}
.btn_wrap .chart_tab:first-child {
  border-right: transparent;
  border-radius: 5px 0 0 5px;
}
.btn_wrap .chart_tab:last-child {
  border-left: transparent;
  border-radius: 0 5px 5px 0;
}
.no_info {
  display: none;
  padding: 2rem;
  text-align: center;
}
.info_chart.flex {
  display:flex;
  flex-wrap: wrap;
}
.info_chart.flex > div {
  width:50%;
}
.info_chart .chart_box {
  display: none;
  background: #f7f7f7;
  border: 1px solid #ddd;
  height: calc(35vh - 8rem);
}
.info_chart .chart_box.table_wrap {
  background: #fff;
  border: 0;
}

.info_chart .chart_box.current {
  display: block;
}
.toggle_wrap .reset {
  position: absolute;
  right: 0;
  bottom: calc(100% + 1rem);
  font-size: 0.85rem;
  color: #fff;
  background: #3578eb;
  padding: 0.5rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  transition: 0.2s;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  display:none;
}
.toggle_wrap .reset:hover {
  background: #2066dd;
}
.toggle_wrap .reset i {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.toggle_wrap .reset i img {
  width: 100%;
}
.toggle_wrap .legend {
  display: none;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: calc(100% + 1rem);
  padding: 0.9rem;
  font-size: 0.75rem;
  border-radius: 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
.toggle_wrap .legend_fldn {
  position: absolute !important;
  left: auto;
  right: 0 !important;
}

.toggle_wrap .legend.current {
  display: block;
}
.toggle_wrap .legend li {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.toggle_wrap .legend li:last-child {
  margin-bottom: 0;
}
.toggle_wrap .legend span {
  width: 15px;
  height: 15px;
  display: inline-block;
  border: 1px solid #ccc;
  margin-right: 5px;
}
.legend_color01 {
  background: #028f02;
}
.legend_color02 {
  background: #20bf48;
}
.legend_color03 {
  background: #d1f440;
}
.legend_color04 {
  background: #ececb0;
}
.legend_color05 {
  background: #f0f0f0;
}
.legend_color06 {
  background: #1abf1a;
}
.legend_color07 {
  background: #137c37;
}
.legend_color08 {
  background: #faff76;
}
.legend_color09 {
  background: #eda910;
}
.legend_color10 {
  background: #aa0000;
}
.legend_color11 {
  background: #F28A00;
}
.legend_color12 {
  background: #7A1ABF;
}
.legend_color13 {
  background: #BF1A8E;
}
.legend_color14 {
  background: #220088;
}
.legend_color15 {
  background: #105CED;
}
.legend_color16 {
  background: #00AAAA;
}





/* 더보기 버튼 */
.more_btn {
  margin: 0.5rem auto 0;
  width: 80%;
  height: 42px;
  max-width: 300px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 0.9rem;
  line-height: 40px;
  color: #fff;
  background: #4187fd;
  transition: 0.2s;
}
.more_btn:hover {
  background: #2066dd;
}
.more_btn:disabled {
  background: #888;
  cursor: wait;
}
.more_btn .text {
  padding-left:10px;
}
.spinner {
  display: none;
}
.more_btn:disabled .spinner {
  display: block;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 100%;

  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}


/* ========== 반응형 ========== */
@media (min-width: 1921px) {
  html {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .snb_wrap {
    top: 5rem;
    width: 230px;
    height: calc(100vh - 6rem);
  }
  .hide .snb_wrap {
    left: -230px;
  }
  .snb {
    overflow-y: auto;
  }
  .toggle_wrap {
    width: calc(100vw - 230px - 3rem);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .header {
    height: 4rem;
  }
  .header .inner {
    padding: 0.8rem 2%;
  }
  .logo {
    font-size: 1rem;
  }
  .logo a {
    margin-right: 0.5rem;
  }
  .logo img {
    max-width: 130px;
  }
  
  .menu_top {
  padding:0.3rem 0.5rem;
  }
  .menu_bot {
  padding:0.5rem;
  }
  .menu_box.active .menu_bot {
  padding:0.5rem;
  }
  .info_btn span {
    font-size: 0;
    height: 1rem;
    background-position: center !important;
  }

  .cont_wrap .toggle_wrap {
    display: none;
  }
  .cont_wrap.hide .toggle_wrap {
    display: block;
  }
  .info_wrap.active .info_con {
    height: 60vh;
  }
  .info_top ul {
    width: 100%;
  }
  .info_top .left {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
  }
  .left li {
    margin-bottom: 0.5rem;
  }
  .info_top .dot {
    width: 100%;
    margin-left: 0;
  }
  .info_box .select {
    min-width: 6.5rem;
  }

  .help_box {
    position: initial;
  }
  .help_box .help_text {
    min-width: 180px;
  }
  .btn_wrap .chart_tab {
    min-width: 70px;
  }
  .tb_scroll table {
    min-width: 700px;
  }
  .info_chart.flex > div {
  width:100%;
  height: calc(60vh - 22rem) !important;
  }
   .info_chart.flex .tb_scroll {max-height: 100%;}
  .info_chart .chart_box {
    height: calc(60vh - 12rem);
  }
  .tb_scroll {
    max-height: calc(60vh - 12rem);
  }

  #tab05 .info_chart .chart_box {
    height: calc(60vh - 16rem);
  }
  #tab05 .tb_scroll {
    max-height: calc(60vh - 16rem);
  }
}
@media (max-width: 640px) {
  .info_top .left {
    flex-wrap: wrap;
  }
  .info_top .ipt {
    width: 35%;
  }
}

.searchBtn {
  width: 100%;
  font-size: 1rem;
  background: #4187fd !important;
  color: #fff;
}

.map-tools-zoom-control{position:absolute;top:95px;right:15px;}
div.map-tooltip{position:absolute;background:#FFFFFF;border: 1px solid #333333;padding:5px 10px;font-size:12px;white-space:nowrap;pointer-events:none;z-index:100;display:none;}

.noData {
	display: flex !important;
	justify-content: center;
	align-items: center;
}