/*
 * Copyright inpleworks, Co.
*/
/* ------------------------------------------------------------------------------------------------------------------ */
/* reset
/* ------------------------------------------------------------------------------------------------------------------ */
html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  word-break: keep-all;
}

body {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Noto Sans KR", Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  background-color: #000;
}

#xet-switcher {
  display: none;
  z-index: 9;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 1rem;
  height: 60px;
  overflow: hidden;
  background: #5A5A5A;
  transition: all 0.1s ease;
}
#xet-switcher.hide {
  margin-top: -61px !important;
}
#xet-switcher svg {
  width: 1rem;
}
#xet-switcher .logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 1rem;
  border-right: 1px solid #2D3439;
}
#xet-switcher .logo a {
  display: inline-flex;
  width: 180px;
}
#xet-switcher .logo a img {
  width: 100%;
}
#xet-switcher .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1rem;
  color: #fff;
}
#xet-switcher .container a {
  color: inherit;
}
#xet-switcher .container .template-name {
  font-size: 1.5rem;
}
#xet-switcher .container .resize {
  display: flex;
  align-items: center;
  gap: 1rem;
}
#xet-switcher .container .resize a {
  display: inline-flex;
}
#xet-switcher .container .resize a svg {
  width: 2rem;
  fill: #fff;
}
#xet-switcher .container .resize a.active svg {
  fill: #E41618;
}
#xet-switcher .container .buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
#xet-switcher .container .buttons a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.btn-open-switcher {
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  position: fixed;
  width: 40px;
  height: 40px;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  z-index: 3;
  transition: all 0.1s ease-in;
  -moz-transition: all 0.1s ease-in;
  -webkit-transition: all 0.1s ease-in;
}
.btn-open-switcher.show {
  opacity: 1;
  visibility: visible;
}
.btn-open-switcher::before {
  z-index: -1;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 45px solid transparent;
  border-bottom: 45px solid transparent;
  border-left: 45px solid #5A5A5A;
  box-shadow: 0 5px 10px rgba(36, 50, 56, 0.25);
  opacity: 1;
  transform: rotate(-45deg);
  left: 12px;
  top: -29px;
}
.btn-open-switcher > svg {
  margin: -3px -7px 0 0;
  width: 1rem;
  fill: #fff;
}

#xet-pannel-container {
  display: flex;
  margin: 0 auto;
  width: 100%;
  overflow: visible;
  position: relative;
  transition: 0.3s ease !important;
}
#xet-pannel-container:not(.desktop-resize) {
  border: 6px solid #f0f0f0;
  border-radius: 24px;
}
#xet-pannel-container iframe {
  height: calc(100vh);
}

.btnArea {
  display: none !important;
}

@media only screen and (min-width: 992px) {
  body {
    font-size: 14px;
  }

  #xet-switcher {
    display: flex;
    align-items: center;
  }
  #xet-switcher .container {
    flex-grow: 1;
  }

  #xet-pannel-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Pad */
    /* Mobile */
  }
  #xet-pannel-container iframe {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
  }
  #xet-pannel-container.desktop-resize {
    top: 60px;
    min-height: calc(100vh);
  }
  #xet-pannel-container.desktop-resize iframe {
    height: calc(100dvh - 60px);
  }
  #xet-pannel-container.desktop-resize.hide {
    top: 0;
  }
  #xet-pannel-container.desktop-resize.hide iframe {
    height: 100%;
  }
  #xet-pannel-container.pad-resize {
    top: 50%;
    transform: translateY(-50%);
    width: 768px;
    height: 1024px;
  }
  #xet-pannel-container.phone-resize {
    top: 50%;
    transform: translateY(-50%);
    width: 430px;
    height: 932px;
  }
}