@charset "utf-8";

:root{
  --color-main:#235FAF;
  --color-bg1: #3F3F3F;
  --color-bg2: #4F7DBB;
}

html, body{
  position: relative;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: #333;
  width:100%;
  height:100%;
}
body * {box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
#header, #aside{
  position: fixed;
}
pre {font-family: "Pretendard"; text-align:left; font-size:14px; line-height:1.4;}
/* header css */
#header{
  height: 80px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 4px 4px rgba(0,0,0,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}
#header h1{
  padding-left: 60px;
  width: 760px;
  margin: 0px auto;
}

#header h1 a img{
  margin: 0px auto;
  width: 160px;
}
.user_menu{
  display: flex;
  justify-content: flex-end;
  padding-right: 60px;
  width: 420px;
}
.user_menu li{
  text-align: right;
  white-space: nowrap;
}
.user_menu li:first-child{
  width: 400px !important;
}
.user_menu li:last-child{
  padding-left: 20px;
}
.user_menu li a{
  font-weight: bold;
  color: var(--color-main);
}
.user_menu li span{
  font-weight: bold;
  cursor: pointer;
}
.user_menu li span a{
  color:#000;
}
#header #menu{
  width: 100%;
}
#header #menu ul{
  display: flex;
  font-size: 20px;
  gap: 80px;
}
#header #menu ul li{
  text-align: left;
  /* width: calc(100% / 7); */
  white-space: nowrap;
}


/* aside css */
#aside{
  top: 80px;
  width: 400px;
  height: calc(100% - 80px);
  z-index: 98;
  background: #fff;
  color: #333;
  font-family: "Pretendard-Regular";
  border-right: 1px solid #D9D9D9;
  overflow-y: auto;
}
#aside .top_area {
  padding:60px;
}
#aside .member_info{
  width: 210px;
  margin: 0 auto;
  margin-bottom: 60px;
}
#aside .member_info .member_pic{
  width: 160px;
  border-radius: 10px;
  background: #fff;
  margin: 0 auto 20px auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}
#aside .member_info .member_pic.no_img {
  height: 160px;
  border-radius: 50%;
  font-size:110px;
  color:#ccc;
}
#aside.admin .member_info .member_pic{
  height: 160px;
  border-radius: 50%;
}
#aside .member_info .member_pic img{
  box-sizing: border-box;
  width:100%;
}
#aside .member_info p{
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  line-height: 32px;
}
#aside p{
  line-height: 30px;
}
#aside p:last-of-type{
  margin-bottom: 22px;
}
#aside form{
  margin-top: 30px;
  position: relative;
  display: flex;
  align-items: center;
}
#aside form .attendance {
  width:calc(100% - 120px);
}
#aside form .attendance .input_block {
  margin-bottom:10px;
}
#aside form .attendance .input_block:last-child {
  margin-bottom:0;
}
#aside form .attendance .input_block p {
  margin-bottom:0;
  line-height:unset;
  letter-spacing: -1px;
}
#aside form button{
  width: 120px;
  height: 60px;
  background: var(--color-main);
  border: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bolder;
  color: #fff;
  padding: 0;
}

#admin_setting {margin-top:40px;}
#admin_setting li p {margin-bottom:0 !important;}
#admin_setting li p:hover {color:#ffb300; cursor:pointer;}
#admin_setting li p .bi {margin-left:5px;}
#admin_setting li ul {padding-left:10px;}
#admin_setting li ul li:last-child {margin-bottom:10px;}
#admin_setting li ul li a {color:#aaa; padding:5px 0; display:inline-block;}
#admin_setting li ul li a:hover {color:#fff;}



/* footer */
#footer{
  width: calc(100% - 1px);
  color: #333;
  bottom:0;
  left:0;
  opacity:0;
}
#footer nav{
  font-size: 12px;
  padding: 60px;
}
#footer nav p{
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 17px;
}
#footer nav ul{
  margin-bottom: 14px;
}
#footer nav ul li{
  line-height: 20px;
}
#footer div{
  width: 100%;
  height: 60px;
}
#footer div p{
  font-size: 14px;
  text-align: center;
  padding-top: 20px;
}
#footer div p span{
  font-weight: bold;
}
#footer div p a{
  color: #333;
}

/* 개인정보 모달창 */
.modal{
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
}
.modalBox{
  position: relative;
  width: 688px;
  height: 310px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  padding: 60px;
  display: flex;
}
.leftBox{
  padding-right: 33px;
}
.rightsBox{
  display: flex;
  width: 100%;
}
.rightsBox p{
  line-height: 42px;
}
.rightsBox p span{
  font-weight: bold;
  padding-right: 25px;
}
.innerleftBox, .innerrightBox{
  width: 50%;
}
.innerleftBox p:first-child span ,.innerleftBox p:nth-child(3) span{
  padding-right: 40px;
}
.innerleftBox p:nth-child(2) span{
  padding-right: 58px;
}
.innerrightBox p:first-child span, .innerrightBox p:nth-child(2) span{
  padding-right: 58px;
}
.closeBtn{
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 119px;
  height: 40px;
  border-radius: 20px;
  border: none;
  background: var(--color-main);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.hidden{
  display: none;
}
.scrollLock{
  overflow: hidden;
}

/* point effect */
.act01{
  color: var(--color-main);
  font-weight: bold;
}

#menu .gnb li a.on {
  color: var(--color-main);
  font-weight: bold;
}

/* user_level에 따른 aside background */
aside.admin, footer.admin{
  background: var(--color-bg1) !important;
  color: #fff !important;
  z-index: 1000 !important;
}
a.admin{
  background: none !important;
  color: #fff !important;
}
button.admin{
  background: #fff !important;
  color: #333 !important;
}






