@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);
@import "./fonts.css";

html,
body {
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: "Roboto", "Noto Sans KR", sans-serif;
  background-color: #111111;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* canvas {
  width: 100%;
  height: 100%;
} */

li {
  list-style: none;
}
ul {
  padding: 0;
}

table {
  width: 100%;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  border: 0;
  border-bottom: 1px solid #e8eaeb;
  background-image: none;
}

.bold {
  font-weight: bold;
}

.red {
  color: red;
}
.blue {
  color: blue;
}
.green {
  color: green;
}

.main-title {
  font-size: 16px;
  line-height: 1.3125;
  font-weight: 500;
  font-family: "Roboto";
}

#txt1 {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 32px;
}
#loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: #111111;
}

#loading.on {
  display: block;
}

#loading span {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  color: white;
  font-size: 40px;
}
/* #information {
  position: absolute;
  top: 100px;
  right: 100px;
  width: 100px;
  height: 100px;
  display: none;
  background-color: #111111;
}
#information.on {
  display: block;
} */

.container {
  display: none;
  z-index: 980;
  cursor: move;
  position: absolute;
  /* transform: translateY(-50%); */
  left: 50%;
  top: 2.625rem;
  min-width: 26.4375rem;
  width: 26.4375rem;
  /* height: 80rem; */
  padding: 0.875rem 1.25rem 1.5rem 0.875rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: solid 1px rgba(255, 255, 255, 0.4);
  background-image: linear-gradient(
    to bottom,
    #b5b5b5 -1%,
    rgba(46, 49, 51, 0.5) 1%,
    rgba(46, 49, 51, 0.5) 100%
  );
  color: #fff;
}

.container.on {
  display: block;
}

.con1-0 {
  display: none;
  top: 25%;
  /* left: 80%; */
  left: auto;
  right: 2%;
}
.con1-0.on {
  display: block;
}
.con1-1 {
  /* height: 42rem; */
  /* transform: translate(50%, 50%); */
  top: 30%;
  /* left: 80%; */
  left: auto;
  right: 2%;
}

.con1-1 .inspect-box {
  display: flex;
  justify-content: space-between;
  padding-bottom: 19px;
}

.con1-1 .inspect-box > div {
  color: #111111;
  border: 1px solid #111;
  padding: 30px 38px;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
  background-color: #fff;
}

.con1-1 .inner-wrapper {
}

.con1-1 .table-list {
  width: 100%;
  color: #fff;
  text-align: center;
  border: 1px solid #eceffc;
  border-radius: 5px;
}

.con1-1 .table-list tr {
  border-bottom: 1px solid #eceffc;
}
.con1-1 .table-list thead {
  background-color: #2f3555;
}

.con1-1 .table-list tr .th-name {
  padding: 15px 0;
}

.con1-1 .table-list td {
  padding: 11px 16px;
  text-align: center;
}

.con1-1 .table-list td + td {
  border-left: 1px solid #eceffc;
}

.con1-2 {
  /* width: 30rem;
  height: 15rem; */
  /* transform: translate(50%, 50%); */
  top: 30%;
  /* left: 80%; */
  left: auto;
  right: 2%;
}

.con1-2 .status-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.con1-2 .status-box .main-status {
  font-size: 50px;
}

.con1-2 .status-box .density {
  font-size: 30px;
}
.con1-2 .status-box .inspection-date {
  font-size: 24px;
}

.attribute-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #525252;
}

.attribute-flex2 {
  display: flex;
  column-gap: 30px;
  padding-bottom: 19px;
}

.attribute-flex img {
  width: 0.5625rem;
  height: 0.5625rem;
}

.attribute-flex button {
  height: 0.75rem;
  padding: 0;
  border: 0;
  outline: none;
  background-image: none;
  background-color: transparent;
  cursor: pointer;
}

.ref-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.59375;
}

.ref-content {
  margin: 0;
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.607142;
}

.coating-type {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.8214;
}
.type {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid #525252;
}
.type-header {
  font-size: 0.875rem;
  font-weight: 500;
}
.type-box {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  font-size: 0.875rem;
}
.type-box .type-color {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}
.type-box .type-color.green {
  background-color: #20b14a;
}
.type-box .type-color.blue {
  background-color: #0067b2;
}
.type-box .type-color.black {
  background-color: #4b4b4b;
}
.type-box + .type-box {
  position: relative;
  margin-left: 12px;
  padding-left: 12px;
}
.type-box + .type-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  margin-left: -1px;
  background-color: #fff;
}
.ref img {
  display: block;
  width: 12.25rem;
  height: 12.25rem;
  margin: 0 auto;
  margin-top: 2rem;
}

.scroll-media {
  height: 19.2rem;
  width: 16rem;
  /* overflow-y: scroll; */
  margin: 0 auto;
}

.scroll-media::-webkit-scrollbar {
  width: 8px;
}

.scroll-media::-webkit-scrollbar-thumb {
  background-color: #2f3542;
  border-radius: 10px;
  background-clip: padding-box;
  border: 2px solid transparent;
}

.scroll-media::-webkit-scrollbar-track {
  background-color: grey;
  border-radius: 10px;
  box-shadow: inset 0px 0px 5px white;
}

.img-box {
  /* width: 15rem; */
  /* height: 10rem; */
  border-radius: 8px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: solid 1px rgba(255, 255, 255, 0.4);
  background-image: linear-gradient(
    to bottom,
    #b5b5b5,
    #1b1b1b 2%,
    #1b1b1b 98%,
    #b5b5b5 101%
  );
  padding: 10px;
  box-sizing: border-box;
}

.content-gauge {
  display: flex;
  justify-content: center;
}

.category-box {
  padding: 0.625rem 0;
  box-sizing: border-box;
  margin: 0 auto;
  width: 100%;
  max-width: 13.4375rem;
  height: 10rem;
  display: flex;
  justify-content: center;
}

.pipe-img {
  /* background-size: 120% 120%; */
}

.category1-img {
  margin: 0 auto;
  padding-top: 0.9375rem;
  width: 80%;
  height: 80%;
}

.tags {
  /* width: 15rem; */
  padding: 5px 10px;
  box-sizing: border-box;
}

.tags li {
  padding: 11px 0;
  border-bottom: 1px solid #525252;
}

.tags span {
  width: 50%;
}

button {
  display: block;
  margin-left: auto;
  background-image: linear-gradient(
    to bottom,
    rgba(245, 245, 245, 0.31),
    rgba(181, 181, 181, 0.14) 9%,
    rgba(27, 27, 27, 0) 51%,
    rgba(151, 151, 151, 0.45) 89%,
    #9c9c9c
  );
}

.asset-btn {
  position: absolute;
  right: 2.3rem;
  bottom: 1.5rem;
}

.pressure-gauge {
  width: 100px;
  height: 100px;
  border: 10px solid #ccc;
  box-sizing: border-box;
  border-radius: 50%;
  position: relative;
  background-color: white;
}

.needle {
  width: 2px;
  height: 45px;
  background-color: red;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 0.5s ease-in-out;
}

.pressure-value {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.ui-draggable-dragging {
  z-index: 981;
}

/* @media screen and (max-width: 1536px) {
  .container {
    height: 28.3125rem;
    top: 4rem;
    right: 2.625rem;
  }
  .scroll-media {
    height: 19.2rem;
    width: 16rem;
    position: absolute;
    right: 0.68rem;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    height: 28.3125rem;
    top: 5rem;
    right: 2.625rem;
  }
} */

/* @media screen and (max-width: 500px) {
  body {
    font-size: 6px;
  }
  .container {
    width: 20rem;
    height: 25rem;
    padding: 4px 5px 6px 5px;
    transform: translate(50%);
    bottom: 5rem;
    right: 50%;
  }

  .con1-1 .inspect-box > div {
    padding: 5px 15px;
  }

  .con1-1 .table-list {
    font-size: 8px;
  }

  .con1-1 .table-list td {
    padding: 4px 5px;
  }
  .con1-1 .table-list tr .th-name {
    padding: 5px 0;
  }

  .con1-2 {
    height: auto;
  }

  .con1-3 {
    height: auto;
  }

  .con1-4 {
    height: auto;
  }

  .con1-4 .chart-wrapper {
    width: 29%;
  }

  .con1-4 .data-wrapper {
    width: 100%;
    justify-content: space-around;
    margin-left: 0px;
  }

  .con1-4 .weight-wrapper {
    display: none;
  }
} */
