/* mike 퍼블리싱 */
header {
  height: auto;
  position: relative;
  /* background-color: #4770ff; */
}

header .container {
  /* transition: 0.5s; */
  width: 1180px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
}

.logo {
  width: 100px;
  margin-top: 5px;
}

.logo a img {
  width: 72px;
  height: 72px;
}

header .gnb {
  display: none;
}

header nav {
  width: calc(100% - 300px);
  /* width: 500px; */
  font-size: 18px;
  /* background-color: turquoise; */
  /* margin-left: 28px; */
  transition: 0.5s;
}
header .menu {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  cursor: default;
}
header > .container > .header_btn {
  margin-top: 20px;
  display: none;
}


header .subMenuWrapper {
  width: 100%;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #fff;
  font-size: 16px;
}
.subMenu {
  width: 1180px;
  margin: 0 auto;

  height: 130px;
  /* display: flex;
  justify-content: space-between;
  align-items: flex-start; */
  /* position: absolute;
  left: 48%;
  transform: translateX(-50%); */
  /* position: relative; */
  padding: 1rem 0;
  z-index: 500;
  display: none;
  background-color: #fff;
}
header .subMenu > div {
  width: 880px;
  margin-left: 100px;
  height: auto;
  /* background-color: #4770ff; */
  /* position: relative;
  left: 48%;
  transform: translateX(-50%); */
  /* margin: 0 auto; */
  /* border: 1px solid black; */
  /* display: flex;
  justify-content: space-between;
  align-items: flex-start; */
}

header .subMenu div div {
  /* background-color: #999; */
  width: calc(100% / 5);
  float: left;
  display: flex;
  flex-direction: column;
}

header .menu li {
  width: calc(100% / 5);
  text-align: center;
  /* border: 1px solid black;
  box-sizing: border-box; */
}

header .subMenu div a {
  display: block;
  width: 100%;
  text-align: center;
  /* border: 1px solid black;
  box-sizing: border-box; */
}

header .subMenu div a:hover {
  font-weight: 600;
  color: #4770ff;
}

header > .subMenuWrapper > .subMenu > div > div > .m_menu_title {
  display: none;
}

header .auth {
  width: 200px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
}

header .auth li {
  width: auto;
  /* background-color: #4770ff; */
}

header .auth li:nth-child(1) {
  margin-right: 10px;
}

header .auth li .login_color {
  color: #4770ff;
  font-weight: 600;
}

header .loginBtn {
  cursor: pointer;
}

.dialog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  z-index: 100;
}

.dialog .loginContainer {
  background-color: #fff;
  width: 520px;
  height: 440px;
}

.loginContainer .header {
  position: relative;
  padding: 50px 60px 0 60px;
}
.loginContainer .header h1 {
  font-weight: 300;
  font-size: 48px;
  line-height: 70px;
  color: #4770ff;
}
.loginContainer .header img {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
}

.loginContainer form {
  padding: 46px 60px 50px 60px;
  display: flex;
  flex-direction: column;
}
.loginContainer form input {
  margin-bottom: 12px;
  padding-left: 10px;
}
.loginContainer form button {
  margin-top: 8px;
  margin-bottom: 28px;
}
.loginContainer form ul {
  display: flex;
  justify-content: space-around;
}
.loginContainer form ul li {
  width: 133px;
  text-align: center;
  font-size: 16px;
  color: #999;
}
.loginContainer form ul li:nth-child(2) {
  /* background-color: #4770ff; */
  border-left: 1px solid #999;
  border-right: 1px solid #999;
}

/* 헤더 */
body > .wrap > .head {
  width: 100%;
  height: 80px;
  background-color: #fff;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

body > .wrap > .head > .head_wrap {
  width: 1178px;
  height: 80px;
  margin: 0 auto;
}

body > .wrap > .head:hover {
  height: 200px;
}

body > .wrap > .head > .head_wrap > div {
  display: inline-block;
  line-height: 80px;
}

body > .wrap > .head > .head_wrap > div > div {
  display: inline-block;
}

body > .wrap > .head > .head_wrap > div.logo_box {
  width: 72px;
  height: 100%;
  float: left;
  margin-right: 70px;
  overflow: hidden;
}

body > .wrap > .head > .head_wrap > div.logo_box > a > img {
  width: 100%;
}

body > .wrap > .head > .head_wrap > div:nth-child(2) {
  width: 740px;
  height: 100%;
}

body > .wrap > .head > .head_wrap > div:nth-child(2) > div {
  width: 120px;
  font-weight: 500;
  text-align: center;
  font-size: 18px;
  margin-right: 30px;
  cursor: pointer;
}

body > .wrap > .head > .head_wrap > div:nth-child(2) > div:last-child {
  margin-right: 0;
}

body > .wrap > .head > .head_wrap > div:nth-child(3) {
  width: auto;
  height: 100%;
  float: right;
}

body > .wrap > .head > .head_wrap > div:nth-child(3) > a {
  font-weight: 400;
  font-size: 12px;
  color: #1d1d1d;
}

body > .wrap > .head > .head_wrap > div:nth-child(3) > a:nth-child(1) {
  margin-right: 16px;
}

body > .wrap > .head > .menu {
  width: 1178px;
  height: 100px;
  margin: 0 auto;
}

body > .wrap > .head > .menu > div {
  width: 130px;
  height: 100%;
  float: left;
  margin-right: 23px;
  text-align: center;
}

body > .wrap > .head > .menu > div:nth-child(1) {
  margin-left: 138px;
}

body > .wrap > .head > .menu > div > a {
  display: block;
  font-size: 14px;
  color: #3c3c3c;
  font-weight: 400;
  margin-bottom: 8px;
}

body > .wrap > .head > .menu > div > a:hover {
  color: #4770ff;
  font-weight: 600;
}

body > .wrap > .head > .menu > div > a:last-child {
  margin-bottom: 0;
}
.logout {
  cursor: pointer;
}

.btn_on {
  height: 100vh !important;
  position: fixed;
  z-index: 5;
}
.overflow_none {
  position: fixed;
  display: none;
}
.display_block {
  display: block !important;
}


@media (max-width: 767px) {
  header .container {
    width: 100%;
    /* background-color: red; */
    position: fixed;
    z-index: 5;
    border-bottom: 3px solid #4770ff;
  }

  header .container > .logo{
    margin-left: 20px;
  }
  header .container > nav {
    display: none;
  }

  /* header .container > .auth {
    background-color: blueviolet;
  } */

  header .container > .auth > li {
    margin-right: 14px;
    width: 66px;
    height: 24px;
    background-color: #4770ff;
    color: #fff;
    text-align: center;
    line-height: 24px;
    border-radius: 5px;
  }
  
  header .container > .auth > .sign_up {
    display: none;
  }
  header .container > .header_btn {
    width: 30px;
    height: 30px;
    display: block;
    margin-right: 20px;
    
  }
  header .container > .header_btn > img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  header > .container > .menu_nav{
    position:absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 150px;
    height: auto;
  }
  header > .container > .menu_nav > .menu {
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  header > .container > .menu_nav > .menu > li {
    width: 100%;
    margin-bottom: 20px;
  }
  header > .subMenuWrapper {
   width: 100%;
   height: 500px;
    position: fixed;
    top: 80px;
   z-index: 6;
   display: none;
   overflow-y: scroll;
  }
  header > .subMenuWrapper > .subMenu {
    display: block;
    width: 300px;
    height: 100%;
    position: relative;
    z-index: 7;
  }
  header > .subMenuWrapper > .subMenu > div {
    width: 100%;
    display: flex;
    margin: 0;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
  }
  header > .subMenuWrapper > .subMenu > div > div {
    width: 100%;
    margin-bottom: 10px;
  }
  header > .subMenuWrapper > .subMenu > div > div:last-child{
    height: 200px;
  }
  header > .subMenuWrapper > .subMenu > div > div > div {
    width: 120px;
    height: 24px;
    margin: 0 auto;
    background-color: #4770ff;
    line-height: 24px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    border-radius: 5px;
  }
  header > .subMenuWrapper > .subMenu > div > div > a {
    margin-bottom: 5px;
    height: 24px;
  }
  header > .subMenuWrapper > .subMenu > div > div > .m_menu_title {
    display: block;
  }
  .dialog {
    width: 100vw;
    height: 100vh;
    position: fixed;
  }
  .dialog .loginContainer {
    width: 90%;
  }
  .loginContainer .header {
    padding: 0;
    padding: 50px 60px 10px 30px;
  }
  .dialog .loginContainer > .header > h1 {
    font-size: 36px;
  }
  .dialog .loginContainer > form {
    padding: 0 30px;
  }
  .dialog .loginContainer > form > button {
    width: 100%;
  }
  .dialog .loginContainer > form >ul {
    /* background-color: blueviolet; */
  }
  .dialog .loginContainer > form >ul >li {
    font-size: 14px;
  }
  .dialog .loginContainer > form >ul >li:first-child{
    border-left: 1px solid #999;
  }
  .dialog .loginContainer > form >ul >li:last-child{
    border-right: 1px solid #999;
  }
}