/* LAYOUT */
body {
  background:#FFFDF2;
}

body.gray {
  background: #F0F0F0;
}

body.white {
  background: #fff;
}

body.user {
  background:url(/img/layout/bg_signin.png) no-repeat top center / cover;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
  body.user {
    background-image:url(/img/layout/bg_signin@2x.png);
  }
}

.container.sm {
  max-width: 600px;
}

.container.md {
  max-width: 720px;
}

header {
  background: #4feab5;
  height: 90px;
  z-index: 1001;
  position: relative;
}

header.transparent {
  background:none;
}

header .header-bg {
  content: "";
  visibility: hidden;
  opacity: 0;
  transition: opacity 150ms, visibility 1s;
}
header.view-full-menu .header-bg {
  content: "";
  visibility: visible;
  position: fixed;
  opacity: 1;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 100ms, visibility 0s;
}

header .header-data {
  position: relative;
  height: 90px;
}
header .header-data .left-header {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

header .header-data .right-header {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
header .logo-wrap {
  padding-top: 22px;
  font-size:0;
  line-height:0;
  text-align: center;
}
header .logo {
  display: inline-block;
  width: 154px;
  height: 48px;
  background: url(/img/layout/logo.svg) no-repeat;
  text-indent: -1000px;
  overflow: hidden;
}

header.darkbase .logo {
  background-image:url(/img/layout/logo_white.svg);
}

header .header-data .hamburg {
  display: none;
}

header .header-data .navbar-nav {
  transition: opacity 150ms, visibility 1s;
}
/* 
header .header-data .navbar-nav > li + li {
  margin-left: 32px;
} */

header .header-data .left-header .navbar-nav > li + li {
  margin-left: 30px;
}

header .header-data .right-header .navbar-nav > li + li {
  margin-left:16px;
}

header .header-data .navbar-nav > li > a.menu {
  font-size: 14px;
  color: #000;
  background: transparent;
  font-weight: 700;
  transition: all ease-in-out 0.1s;
  padding-top: 0;
  margin-top: 15px;
  padding-bottom: 0;
  margin-bottom: 15px;
  background: none;
}
header .header-data .navbar-nav > li > a.menu:hover {
  text-decoration: none;
}

header .header-data .navbar-nav > li > a.button {
  background: #000;
  color: #fff;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 30px;
  min-width: 65px;
  line-height: 32px;
  text-align: center;
}

header .header-data .navbar-nav > li.menu-notification {
  position:relative;
  width:30px; height:30px;
  background:url(/img/layout/icon_notification.svg) no-repeat center;
}

header .header-data .navbar-nav > li.menu-notification span {
  display:none;
}

header .header-data .navbar-nav > li.menu-notification a {
  display:block;
  width:30px; height:30px;
  margin:0; padding:0;
}

header .header-data .navbar-nav > li.menu-notification.have-new-notification:before {
  content:'';
  position:absolute;
  width:5px; height:5px;
  background:#936DFE;
  left:0; top:0; border-radius: 100%;
}

header .header-data .navbar-nav .sub-menus {
  display: none;
  position: absolute;
  left: 50%;
  top: 45px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  width: 130px;
  padding: 8px 0;
  border: 1px solid #666;
  border-radius: 4px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-left: -65px;
}
header .header-data .navbar-nav .sub-menus li a {
  line-height: 25px;
}

header .header-data .navbar-nav > li:hover .sub-menus {
  display: block;
}

header .header-data .navbar-nav .menu-admin {
  height: 30px;
  line-height: 32px;
}
/* header .header-data .navbar-nav .menu-mypage:before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 15px;
  background: url(/img/layout/icon_user.svg);
  vertical-align: middle;
  margin-right: 8px;
  margin-top: -2px;
} */

#mobile-menu {
  display:none;
}

footer {
  background: url(/img/layout/bg_footer.png) repeat-x center;
  min-height: 296px;
  padding: 68px 0;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.05em;
}

footer a,
footer a:hover {
  color: #fff !important;
  text-decoration: none;
}

footer .main-logo {
  display: block;
  text-indent: -1000px;
  overflow: hidden;
  width: 125px;
  height: 21px;
  background: url(/img/layout/logo_footer.svg) no-repeat center / contain;
  margin-bottom: 18px;
}

footer .footer-menu a {
  display: inline-block;
}
footer .footer-menu a + a {
  margin-left: 20px;
}

footer .footer-info > div {
  margin-top: 7px;
}

footer .footer-info > div span {
  display: inline-block;
}

footer .footer-info > div span + span {
  margin-left: 26px;
}

main,
.full-main-height {
  position:relative;
  height:100%;
  min-height: calc(100vh - 90px - 296px);
}

.table-wrap .table > thead > tr > th {
  font-size: 14px;
  color: #000;
}

header .header-data .right-header .search-wrap:after {
  display: inline-block;
  content: "";
  height: 20px;
  position: absolute;
  right: 6px;
  top: 15px;
}
header .header-data .right-header.logged .search-wrap:after {
  right: 16px;
}

.search-header-form {
  /* transform: translateY(-3px); */
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition:0.3s;
}
.search-header-form:hover {
  border-color:#000;
}

.search-header-form input[type="text"] {
  border: 0;
  background: transparent;
  width: 110px;
  padding-left: 10px;
}
.search-header-form input[type="text"]:active,
.search-header-form input[type="text"]:focus {
  box-shadow: none;
  outline: none;
}
.search-header-form input[type="button"] {
  display: none;
}
.search-header-form input[type="submit"] {
  outline:none;
  display: inline-block;
  border: 0;
  background: url(/img/layout/icon_search.svg) no-repeat center;
  text-indent: -1000px;
  overflow: hidden;
  width: 40px;
  height: 30px;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {

}

@media (max-width: 991px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  main, 
  .full-main-height { height: auto; min-height: calc(100vh - 90px - 230px); }
  
  header {
    height: auto;
    box-shadow: none;
    border-bottom: 0;
  }
  
  header .header-data {
    height: 80px;
  }

  header .header-data .hamburg {
    width:28px; height:22px;
    display:block;
    background:url(/img/layout/icon_hamburg.svg) no-repeat center;
    position: absolute;
    left: 0px;
    top: 28px;
  }

  header .header-data .left-header .navbar-nav {
    display: none;
  }
  header .header-data .left-header {
    padding-top: 10px;
  }

  header .header-data .right-header {
    padding-top: 0px;
  }
  header .header-data .right-header .navbar-nav {
    margin:0;
  }

  header .header-data .navbar-nav .menu-mypage:before {
    width:19px;
    height:22px;
    background-size:contain;
    margin-right:0;
  }

  header .header-data .navbar-nav .menu-mypage {
    display:none !important;
  }

  header .logo-wrap {
    padding-top: 20px;
  }

  header .logo {
    width: 126px;
    height: 40px;
    background-size: contain;
  }

  footer {
    min-height: auto;
    padding:45px 20px;
  }

  #mobile-menu {
    position:fixed;
    background:#4FEAB5;
    left:0; top:0; 
    width:100%; height:100%;
    z-index:10000;
  }

  body.show-mobile-menu #mobile-menu {
    display:block;
  }

  #mobile-menu .close-wrap {
    height: 80px;
    position:relative;
  }

  #mobile-menu .close-wrap .close {
    width:28px;
    height:29px;
    background:url(/img/layout/icon_close_for_mobile_menu.svg) no-repeat center;
    position:absolute;
    right:20px;
    top:25px;
    opacity:1;
  }

  #mobile-menu .menu-wrap {
    padding-left: 40px;
    padding-top: 15px;
  }

  #mobile-menu ul.menu li {
    display:block;
  }

  #mobile-menu ul.menu li + li {
    margin-top:35px;
  }

  #mobile-menu ul.menu li a {
    display:block;
    font-weight: 700;
    font-size: 28px;
    line-height: 24px;
  }

  #mobile-menu .footer-wrap {
    position:absolute;
    left:0; width:100%;
    bottom: 130px;
  }

  #mobile-menu .footer-wrap ul.menu {
    padding-left:40px; 
  }

  #mobile-menu .footer-wrap .search-wrap {
    padding-left:20px; padding-right:20px;
    padding-top:50px;
  }

  #mobile-menu .footer-wrap .search-wrap .search-header-form {
    border-radius: 30px;    
    display: flex;
    align-items: center;
  }

  #mobile-menu .footer-wrap .search-wrap .search-header-form input[type="text"] {
    width: calc(100% - 50px);
    height: 52px;
    font-size: 23px;
    padding-left: 16px;
    padding-right: 16px;
  }

  #mobile-menu .footer-wrap .search-wrap .search-header-form input[type="submit"] {
    background-size: 23px 23px;
    width: 44px;
    background-position: left center;
  }

  body.noscroll #content {
    position: absolute;
    overflow: hidden;
    top: 50px;
    bottom: 0;
    width: 100%;
    height: 100%;
  }
  body.noscroll #footer {
    display: none;
  }

  .table-wrap hr {
    display: none;
  }
  .table-wrap .table > thead > tr > th {
    display: none;
  }
  .table-wrap .table > tbody > tr > th {
    float: left;
    display: block;
    clear: both;
    width: 40% !important;
    border-top: 1px solid #eee;
  }
  .table-wrap .table > tbody > tr > td {
    float: left;
    display: block;
    width: 60%;
    border-top: 1px solid #eee;
  }

  .table-wrap .table > tbody > tr:first-child > th:first-child,
  .table-wrap .table > tbody > tr:first-child > td:nth-child(2) {
    border-top: 0;
  }

  .table-wrap .table:last-child {
    margin-bottom: 0;
  }
}
