@import url(https://fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url(https://cdn.rawgit.com/kattergil/NotoSerifKR-Web/76eb9ebf/stylesheet/NotoSerif-Web.css);
@import url('https://fonts.googleapis.com/css?family=family=Material+Icons|Nanum+Gothic+Coding');

::selection {
  background: rgba(.5, .5, .5, .25);
}

::-webkit-scrollbar-track {
  background-color: inherit;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: inherit;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .225);
  -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

input::selection, textarea::selection {
  background: rgba(0, 0, 0, .2);
}

body {
  /* max-width: calc(800px - 2em); */
  padding: 1em 5em 1em calc(300px + 5em);
  margin: 104px auto auto;
  background: #eee;
  font-family: 'Noto Sans KR', sans-serif;
  color: rgba(0, 0, 0, .87);
  cursor: default;
  overflow-x: hidden;
  transition: .3s;
}

header {
  position: fixed;
  /* color: rgba(255, 255, 255, .98); */
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .12), 0 1px 8px 0 rgba(0, 0, 0, .2);
  width: 100%;
  height: 48px;
  left: 0;
  top: 0;
  z-index: 5;
  background: #fff;
  text-align: center
}

section#operation_plan, section#field_manual {
  position: fixed;
  width: calc(50% - 3em);
  height: calc(100% - 20em);
  top: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 10em 1em 10em 2em;
}

section#operation_plan {
  left: 0;
}

section#field_manual {
  right: 0;
}

footer {
  text-align: right;
  position: fixed;
  bottom: 0;
  z-index: -1;
  position: fixed;
  bottom: 0;
  width: 100%;
  margin: 0;
  left: 0;
}

.copyright {
  background: none;
  color: rgba(0, 0, 0, .54);
  /*font-size: .8em;*/
  padding: 1.5em 3em;
}

.copyright a {
  color: inherit !important;
  font-weight: inherit;
}

.disabled {
  color: rgba(255, 255, 255, 0.3);
}

.hide {
  display: none !important;
  margin: 0 !important;
}

section.sub {
  width: 100%;
  text-align: center
}

a {
  cursor: pointer;
  text-decoration: none;
  /* font-weight: 700; */
  color: inherit;
  transition: .25s;
  padding: .5em .75em;
  margin: -.75em
}

a:hover {
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, .25); */
  /* background: #fff; */
  position: relative;
}

li a {
  padding: 0;
  margin: 0;
}

li a:hover {
  position: inherit;
  box-shadow: none;
  background: rgba(0, 0, 0, .05);
}

#nav_on {
  padding: .5em;
  display: none;
  border-radius: 50%;
  width: 1em;
  top: 0;
  position: absolute
}

#nav_bg, #setting_bg {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  transition: .3s;
  width: 100%;
  height: 100%;
  display: block;
  visibility: hidden;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  filter: alpha(opacity=0)
}

#setting_bg {
  background: rgba(0, 0, 0, 0);
}

#setting_bg.on {
  visibility: visible;
  opacity: 1;
  filter: alpha(opacity=100)
}

nav {
  /*display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;*/
  display: none;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  width: 300px;
  background: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, .25);
  padding-top: 48px;
  height: calc(100% - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  transition: .3s
}

nav #nav {
  width: 100%;
  height: calc(100% - 46px);
  overflow-y: auto;
  overflow-x: hidden;
  transition: .3s
}

nav a {
  margin: -.5em 0;
  font-size: 16px;
  display: block;
  /*text-overflow: ellipsis;*/
  overflow: hidden;
  white-space: nowrap;
  color: rgba(0, 0, 0, .54);
  position: relative;
}

nav:not(.fold) a {
  text-overflow: ellipsis;
}

nav a:hover {
  background: rgba(158, 158, 158, .2);
  box-shadow: none;
  z-index: 1
}

nav h2 a {
  color: rgba(0, 0, 0, .38)
}

nav h2:first-of-type {
  margin-top: 1em
}

nav h3 {
  margin: .25em 0;
  padding: 0;
}

nav h4 {
  margin: .25em 0
}

nav h2 a, nav h3 a {
  padding-left: 22px;
}

nav h3 a {
  padding-left: 2.5em;
}

nav h4 a {
  padding-left: 3em
}

nav #nav_header {
  display: flex;
  justify-content: space-between;
  background: #fafafa;
  -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12) inset !important;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12) inset !important;
  position: relative;
  padding: 10px 0;
  color: rgba(0, 0, 0, .54);
  white-space: nowrap;
  transition: .3s;
}

nav.fold #nav_header {
  padding: 10px 0 46px;
}

/* ------------------------------------------------------------------- */
/* ***** nav ***** */
/* ------------------------------------------------------------------- */
nav #nav_footer {
  cursor: pointer;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  height: 44px;
  padding: 0;
  margin: 0;
  width: inherit;
  left: 0;
  background: #fafafa;
  border: 0;
  bottom: 0;
  position: fixed;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, .1)
}

nav #nav_footer:hover {
  background-color: rgba(158, 158, 158, 0.2);
}

nav #nav_footer i {
  margin: 10px 22px;
  float: right;
  transition: .3s
}

nav.fold #nav_footer i {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg)
}

nav.fold {
  width: 68px;
}

nav.fold #nav::-webkit-scrollbar {
  display: none
}

nav #nav a>* {
  transition: .3s;
}

nav.fold #nav a span {
  color: transparent;
}

nav #nav h2, nav #nav h3 {
  transition: .3s;
}

nav #nav h2 {
  height: 40px;
  margin: 16px 0 0;
  position: relative
}

nav.fold #nav h2 {
  margin: 16px 0 14px;
  height: 3px
}

nav.fold #nav h2:first-of-type {
  margin: 16px 0 6px;
}

nav #nav h2:not(:first-of-type):before {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%
}

nav.fold #nav h2:not(:first-of-type):before {
  box-shadow: 0 1px 0 rgba(0, 0, 0, .12) inset
}

nav.fold #nav h2 a {
  opacity: 0;
  filter: alpha(opacity=0);
  width: 0
}

section>h2, section>h3 {
  color: rgba(0, 0, 0, .54);
  transition: .25s;
  max-width: calc(800px + 1.5em);
  margin: 2em auto 1em;
}

h1 {
  /* text-transform: uppercase; */
  font-size: 22px;
  margin: 8px 0
}

h1 .percentage:before {
  content: "달성률: "
}

.percentage {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: .25s;
  transition: .25s;
  position: absolute;
  margin-left: .5em
}

nav .percentage {
  margin-right: 1em;
  right: 0;
}

h1:hover .percentage, h2:hover .percentage, h3:hover .percentage {
  opacity: .75;
}

h3 .material-icons {
  vertical-align: bottom;
  font-size: 1.25em !important;
  margin-right: 1em
}

#img_wrap, #movie_wrap {
  display: none;
  /*opacity: 0;*/
  transition: .25s;
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  text-align: center
}

#movie_wrap>iframe {
  width: 90%;
  position: relative
}

.shadow {
  box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
  border-radius: 3px;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
  cursor: pointer;
  margin: auto;
}

#img_wrap>img {
  /* 클릭했을 때 크게 보이는 것 */
  max-width: 90%;
  max-height: 90%;
  position: relative
}

.material-icons {
  vertical-align: text-bottom;
  margin-right: .5em;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

a:not(nav a)>.material-icons {
  margin: 0;
}

input[type="checkbox"] {
  display: none;
}

/* ------------------------------------------------------------------- */
/* ***** tooltip ***** */
/* ------------------------------------------------------------------- */
#tooltip, #tooltip_nav {
  color: #fff;
  position: absolute;
  top: 0;
  visibility: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  background: #212121;
  -webkit-transition: .5s opacity;
  transition: .5s opacity;
  padding: 1ex;
  border-radius: 3px;
  max-width: 400px;
  z-index: 3;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
}

#tooltip_nav {
  position: fixed;
  z-index: 4;
}

#tooltip_before, #tooltip_nav_before {
  border-color: #212121 transparent transparent;
  border-width: 1ex 1ex 0;
  border-style: solid;
  content: " ";
  position: absolute;
  left: calc(50% - .5em);
  bottom: -.9ex
}

#tooltip_text {
  white-space: pre-line;
}

/* ------------------------------------------------------------------- */
/* ***** toast ***** */
/* ------------------------------------------------------------------- */
#toast {
  position: fixed;
  background-color: #424242;
  color: rgba(255, 255, 255, .9);
  padding: 1em 1.5em 1em .75em;
  min-width: 350px;
  max-width: calc(100% - 2em);
  bottom: 1em;
  z-index: 5;
}

@keyframes snackbar_on {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#toast.on {
  animation-name: snackbar_on;
  animation-duration: .3s;
}

@keyframes snackbar_off {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

#toast.off {
  opacity: 0;
  visibility: none;
  animation-name: snackbar_off;
  animation-duration: .3s;
  z-index: 0;
}

/* ------------------------------------------------------------------- */
/* ***** context-menu ***** */
/* ------------------------------------------------------------------- */
#contextmenu {
  z-index: 1000;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  cursor: default;
  color: rgba(0, 0, 0, .5);
  background-color: #fff;
  border: 1px solid #bbb;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
  transition: .25s;
  transition-property: opacity, transform, margin;
  top: 50%;
  font-size: 14px;
}

#contextmenu {
  top: 2em;
  left: -302px;
  transform: perspective(500px) rotateX(15deg);
  margin-top: -2em;
}

#contextmenu.on {
  transform: none;
  transform-origin: 50% 100%;
  margin-top: 0;
  visibility: visible;
  opacity: 1;
}

#contextmenu>.output {
  overflow: hidden;
  width: 300px;
  height: 100px;
  border: none;
  padding: .5em;
}

#contextmenu>.output:focus {
  outline: none;
}

#contextmenu>.output::selection {
  background: rgba(0, 0, 0, 0.1);
}

#contextmenu i {
  font-size: 1.25em;
}

#contextmenu>div {
  padding: 1ex 2ex;
  color: #212121;
}

#contextmenu>div:hover {
  background: rgba(158, 158, 158, .2);
  box-shadow: none;
  z-index: 1
}

.logo_inline {
  display: inline-block !important;
  margin: -16px -12px -18px 0 !important;
  width: 53px;
}

.logo_inline.black {
  opacity: .54;
}

.for_dev {
  display: none;
}

.for_dev:not(.on):not(h3), nav .for_dev {
  background: #fea;
}

.loading {
  text-align: center;
}

.spin {
  animation-name: spin;
  animation-duration: 2500ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*#contextmenu > #for_copy { position: absolute; top: 0; margin: 0; }*/
/* ------------------------------------------------------------------- */
/* ***** target IE or other brower ***** */
/* ------------------------------------------------------------------- */
#browser_alert {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1em;
  z-index: 9;
  background: #fff;
  background: rgba(255, 255, 255, .95);
}

#browser_alert.on {
  display: block;
}

#browser_alert div {
  max-width: 600px;
  margin: auto;
}

/* account img */
#account_img {
  width: 40px;
  height: 40px;
  display: inline-block;
  overflow: hidden;
  margin: -14px 0;
  border-radius: 50%;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .2);
  background-size: 40px;
  background-position: center top;
}
