﻿/*
    style Stylesheet
*/

/*-- Layout --------------------------------------*/
.l-wrapper {
    width: 1060px;
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
}
.l-main {
    background: #fff;
    margin: 0 0 40px;
}

/*-- Header Module --------------------------------------*/
header {
    background: #333;
    border-bottom: 5px solid #147f70;
    height: 49px;
}
header h1 {
    color: #e6e6e6;
    font-size: 1.1em;
}
.l-h-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.l-h-right-area {
    display: flex;
    align-items: center;
}
.l-h-right-area .user {
    margin-right: 20px;
    color: #fff;
}

/*-- Main Module --------------------------------------*/
main {
    min-height: calc(100% - 49px - 32px);
}
main .l-wrapper {
    padding: 20px 0;
}
main .l-wrapper h2 {
    margin: 0 0 20px;
    font-size: 1.2em;
}

/*-- Fotter Module --------------------------------------*/
footer {
    height: 32px;
    background: #333;
    padding: 8px 0;
    color: #e6e6e6;
}
.copy {
    text-align: center;
    font-size: 0.8em;
}

/*-- Menu --------------------------------------*/
/* menu button */
.menu-btn {
    position: relative;
    width: 28px;
    height: 24px;
}
.menu-btn:hover {
    cursor: pointer;
}
.menu-btn > span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
}
.menu-btn > span:nth-of-type(1) {
    top: -1px;
}
.menu-btn > span:nth-of-type(2) {
    top: 10px;
}
.menu-btn > span:nth-of-type(3) {
    bottom: 0;
}
.menu-btn.is-close > span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-315deg);
    transform: translateY(12px) rotate(-315deg);
}
.menu-btn.is-close > span:nth-of-type(2) {
    opacity: 0;
}
.menu-btn.is-close > span:nth-of-type(3) {
    -webkit-transform: translateY(-11px) rotate(315deg);
    transform: translateY(-11px) rotate(315deg);
}

/* menu */
.menu {
    width: 200px;
    position: absolute;
    top: 29px;
    right: 0;
    background: rgba(0,0,0,0.8);
    box-shadow: rgba(0,0,0,0.2) 0 0 4px;
    z-index: -1;
    opacity: 0;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    display: none;
}
.menu.is-active {
    z-index: 999;
    opacity: 1;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    display: block;
}
.menu li {
    border-bottom: 1px solid #222;
    position: relative;
}
.menu li > a,
.menu li > .submenu-btn {
    display: block;
    padding: 8px;
    color: #f7f7f7;
    cursor: pointer;
}
.menu li > a {
    text-decoration: none;
}
.submenu li > a {
    padding-left: 16px;
}
.menu li > a:hover,
.submenu li > a:hover {
    color: #207ae9;
}

/*-- Setting --------------------------------------*/
.setting .l-sect {
    margin: 0 0 20px;
}
.setting .l-sect:last-child {
    margin: 0;
}
.setting .regist {
    text-align: right;
}

/*-- Grid --------------------------------------*/
.grid-scroll {
    height: 440px;
    overflow-y: scroll;
    position: relative;
}
.grid {
    width: 100%;
    border-collapse: collapse;
}
.grid tr {
    background: #fff;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}
.grid > tbody > tr:not(.pager):hover td {
    /*background: rgba(164, 234, 191, 0.4) !important;*/
    background: rgba(219, 247, 229, 1) !important;
}
.grid th, .grid td {
    border: 1px solid #5a5a5a;
}
.grid th {
    background: #808080;
    font-weight: normal;
    color: #f7f7f7;
}
.grid th,
.grid td {
    padding: 5px;
    word-break: break-all;
    vertical-align: middle;
    line-height: 1.4;
    font-size: 0.9em;
}
.grid td {
    height: 38px;
}
.grid .empty td {
    vertical-align: middle;
    height: 230px;
}
.grid .empty td span {
    display: block;
    text-align: center;
}
.grid tr.empty:hover {
    background: #fff !important;
}
.grid .sticky-h th {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 1;
}
.grid input[type="color"] {
    border: none;
    background: none;
    display: block;
    width: 100%;
}
.grid .chk {
    text-align: center;
}
.grid .no {
    text-align: center;
    width: 60px;
}
.grid .editing {
    text-align: center;
    width: 100px;
}
.grid .editing input {
    min-width: 60px;
    padding: 5px;
}

.grid .pager,
.grid .pager tr {
    background: #f0f0f0 !important;
}
.grid .pager:hover,
.grid .pager tr:hover {
    background: none !important;
}
.grid .pager td {
    border: none;
    height: auto;
    padding: 10px;
}
.grid .pager tr td {
    padding: 0 3px;
}
.grid .pager span,
.grid .pager a {
    display: inline-block;
    box-sizing: border-box;
    background: #dadada;
    color: #9f9e9e;
    padding: 8px 2px;
    width: 30px;
    height: 28px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.0;
}
.grid .pager span,
.grid .pager a:hover {
    background: #565656;
    color: #fff;
}


/*-- Modal Style for bootstrap --------------------------------------*/
.modal-close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: .2;
}
.modal-close:hover,
.modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  filter: alpha(opacity=50);
  opacity: .5;
}
button.modal-close {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.modal-open, .modal {
    padding: 0 !important;
}
.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
       -o-transition:      -o-transform .3s ease-out;
          transition:         transform .3s ease-out;
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
       -o-transform: translate(0, -25%);
          transform: translate(0, -25%);
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
       -o-transform: translate(0, 0);
          transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

/* custom */
.modal-dialog {
    width: 500px;
    margin: 5% auto;
}
.modal-header {
    background: #333;
    color: #e6e6e6;
}
.modal-close {
  color: #ccc;
  text-shadow: 0 1px 0 #fff;
}
.modal-close:hover,
.modal-close:focus {
  color: #e6e6e6;
}
.modal-close span {
    display: block;
}
.modal-body {
    padding: 30px 15px;
}
.modal-body dl {
    display: flex;
    align-items: center;
    margin: 0 0 15px;
}
.modal-body dl:last-child {
    margin: 0;
}
.modal-body dt {
    width: 180px;
    margin-right: 10px;
    flex-shrink: 0;
}
.modal-body dd {
    flex-grow: 1;
}
.modal-body dd input[type="text"],
.modal-body dd input[type="password"],
.modal-body dd input[type="file"],
.modal-body dd input[type="number"],
.modal-body dd select,
.modal-body dd textarea {
    width: 100%;
}
.modal-body dd textarea {
    resize: none;
    height: 80px;
    font-size: 12px;
}
.modal-body dd input[type="checkbox"] {
    margin: 3px;
}
.modal-footer .btn {
    min-width: 100px;
    line-height: 1;
    background: #333;
    color: #e6e6e6;
}
.modal-body table.chk-list {
    width: 100%;
}
.modal-body table.chk-list tbody {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-height: 100px;
    overflow-y: scroll;
}
.modal-body table.chk-list tr {
    width: 48%;
    margin: 0 0 5px;
}
.modal-body .dg-note {
    color: #e3324a;
    display: block;
}
.modal-body .grp {
    margin: 0 0 15px;
}
.modal-body .grp dl {
    margin: 0 0 5px;
}
.modal-body .grp:last-child {
    margin: 0;
}
.modal-body .grp dt {
    padding-left: 10px;
}


/*-- Send Command --------------------------------------*/
.l-sendcmd-sect {
    border: 1px solid #c2c2c2;
    margin: 0 0 40px;
}
.l-sendcmd-sect:last-child {
    margin: 0;
}
.l-sendcmd-sect .ttl-area {
    border-top: 3px solid #3f998d;
    border-bottom: 1px solid #d4d4d4;
    background: #f8f8f8;
    padding: 10px;
}
.l-sendcmd-sect .content-area {
    background: #f8f8f8;
    padding: 20px 10px;
}
.l-sendcmd-sect .btn-area {
    background: #e1e1e1;
    padding: 10px 40px;
    text-align: right;
}


/*-- Print ---------------------------------------------*/
@media print {
    .notprint {
        display: none;
    }
}