@font-face {
  font-family: "nbg";
  src: url(../../font/NanumBarunGothic.eot);
  src: local(※), url(../../font/NanumBarunGothic.woff) format("woff");
}

@font-face {
  font-family: "nbgl";
  src: url(../../font/NanumBarunGothicLight.eot);
  src: local(※), url(../../font/NanumBarunGothicLight.woff) format("woff");
}

* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}
ul,
ol,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  border: none;
}
a {
  text-decoration: none;
  border: none;
  position: absolute;
  top: 0px;
  font-size: 0px;
}
a,
a:visited,
a:hover,
a:active {
  color: inherit;
}
html {
  -webkit-text-size-adjust: none;
}

/*HTML 5 specific*/
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
body {
  overflow: hidden;
  -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
  -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
  -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* font-family: nbgl; */
  font-family: Malgun Gothic, NanumSquare;
  font-size: 12px;
  background-color: white;
  margin: 0px;
  padding: 0px;
  /* padding-top: constant(safe-area-inset-top);
    padding-top: env(safe-area-inset-top); */
}

input:focus,
select:focus {
  outline: none;
}
body.modal-open {
  overflow: hidden;
  height: 100%;
}

.scene {
  display: none;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  top: 40px;
  bottom: 0px;
  -webkit-overflow-scrolling: touch;
  background: white;
}

#dim {
  visibility: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  top: 0px;
  left: 0px;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

#dim.open {
  opacity: 0.7;
  visibility: visible;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

/* common */
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.marquee {
  overflow: auto;
  white-space: nowrap;
  overflow-x: -webkit-marquee;
  -webkit-marquee: backwards 1px infinite scroll 23;
}
.shadow {
  moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4); /* -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.4); */ /* box-shadow: 0px 0px 3px rgba(0,0,0,0.4); */
}

/*공통 Toast UI*/
#toast {
  max-width: 320px;
  min-width: 200px;
  min-height: 14px;
  border-radius: 10px;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 48px;
  margin: 0 auto;
  background: #2d2f30;
  color: #d9b273;
  font-family: nbg;
  font-size: 14px;
  padding: 15px 6px;
  text-align: center;
  -webkit-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 0.62);
  -moz-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 0.62);
  box-shadow: 0px 0px 8px 0px rgba(56, 56, 56, 0.62);
  display: none;
  z-index: 9999;
  line-height: 1.5;
}

.modal {
  display: none;
  background: white;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  overflow-x: hidden;
  overflow-y: auto;
}
/* .modal .header{
    position: absolute;
    top: 0;
    height: 40px;
    width: 100%;
    color: white;
    background: white;
    z-index: 100;
    font-weight: 800;
    box-shadow: 0 0px 5px rgba(0,0,0,0.2);
}
.modal .header .title{
    display: inline-block;
    width: 100%;
    line-height: 40px;
    text-align: center;
    color: black;
    font-size: 18px;
}
.modal .header .back{
    position: absolute;
    left:0;
    top:0;
    width: 50px;
    line-height: 40px;
    font-size: 20px;
    text-align: center;
    margin-left: 5px;
    color: black;
} */
.modal .content {
  top: 40px;
  bottom: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: absolute;
}

/*******************************/
/* 반응형 */
/*******************************/

/* 모바일 */
@media screen and (max-width: 470px) {
  html {
    font-size: 6px;
  }
}
/* 테블릿 */
@media screen and (min-width: 400px) and (max-width: 1023px) {
  html {
    font-size: 8px;
  }
}

/* PC */
@media screen and (min-width: 1024px) {
  html {
    font-size: 10px;
  }
}
