/* 레이아웃 */
/* 헤더 */
header {
  max-width: 100%;
  grid-area: header;
  background: #f9f9f9;
  padding: 20px 30px;
  box-shadow: 0px 3px 10px #eee;
}

header p.admin-bar {
  padding: 0 15px;
  font-size: 1.5rem;
  font-weight: 500;
}

.logout-bnt{
  background: transparent;
  border: none;
  border-left: 2px solid #333;
  padding: 0 15px;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Pretendard-Regular";
}
/* 메뉴 */
.amain-menu {
  height: 100%;
  grid-area: nav;
  background-color: #3f87f7;
  overflow-y: auto;
  box-shadow: 3px 0 10px #eee;
  z-index: 10000;
  font-family: "SBaggroM";
}

.amain-menu::-webkit-scrollbar {
  width: 10px;
}

.amain-menu::-webkit-scrollbar-thumb {
  background-color: #2f3542;
  border-radius: 10px;
  background-clip: padding-box;
  border: 2px solid transparent;
}

.amain-menu::-webkit-scrollbar-track {
  background-color: grey;
  border-radius: 10px;
  box-shadow: inset 0px 0px 5px white;
}
.logo-wrap .adm-logo{
  padding: 30px;
}
.logo-wrap .adm-logo a {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 160%;
  font-family: "Pretendard-Regular";
}
.logo-wrap .adm-logo i{
  font-size: 3rem;
  color: #fff;
  display: none;
}
.menu-text {
  padding: 0 10px;
}

.amain-menu>ul {
  padding: 30px 0 30px 30px;
}

.amain-menu>ul>li>a,
.aSub-menu>li>a {
  display: block;
  color: #fff;
  padding: 10px 15px;
}

.amain-menu>ul>li>a {
  font-size: 1.6rem;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px 15px 15px;
}

.amain-menu>ul>li.active {
  background: #fff;
  border-radius: 10px 0 0 10px;
}

.amain-menu>ul>li.active>a {
  color: #3f87f7;
}

.amain-menu>ul>li.active .aSub-menu a {
  color: #aaa;
}

.aSub-menu {
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.aSub-menu>li>a {
  font-size: 1.3rem;
  padding: 10px 50px;
  color: #fff;
}

.amain-menu>ul>li.active .aSub-menu a.router-link-active {
  color: #333;
}

/* 페이지 */

.top-bar {
  margin-bottom: 30px;
}

.category-bar label.category,
.category-bar label.category {
  border: 1px solid #007aff;
  color: #007aff;
  background-color: #fff;
  padding: 10px;
  border-radius: 3px;
  margin-right: 10px;
}

.sort-wrap {
  padding: 10px 0;
}

.sort-wrap ul li {
  cursor: pointer;
  padding: 0 10px;
  font-size: 1.4rem;
  color: #888;
}

.category-bar input:checked+label.category,
.category-bar input:checked+label.category {
  background: #c8e3ff;
  color: #007aff;
  border: 0;
}

/* 메인 */
.admin-wrap,
.content-box {
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
}

.dashboard .content-box{
  padding: 50px;
}

.dashboard .content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* grid-template-rows: repeat(4,1fr); */
  gap: 30px;
}

.dashboard .combine {
  grid-column: 1/3;
}

.content {
  padding: 20px 35px;
  background-color: rgb(198, 238, 255);
}

.dashboard .main-content-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #417dff;
  color: #417dff;
  font-size: 2rem;
  font-family: "Pretendard-Regular";
  margin-bottom: 10px;
}

.today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
}

.today-grid li,
.menu-grid > li > div {
  padding: 20px;
  border: 2px solid #007aff;
  border-radius: 10px;
  background: #fff;
}

.menu-grid li div.pink {
  border: 2px solid #f693bc;
}

.menu-grid li div.green {
  border: 2px solid #6eb484;
}

.menu-grid li div.yellow {
  border: 2px solid #bece1e;
}

.menu-grid li div.orange {
  border: 2px solid #e9a43d;
}

.main-sub-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #aaa;
  color: #aaa;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.menu-grid .main-sub-title {
  padding-bottom: 0px;
  color: #aaa;
  margin-bottom: 10px;
  font-size: 1.5rem;
  border: 0;
}

.menu-grid .blue-sub-title {
  color: #007aff;
}

.menu-grid .green-sub-title {
  color: #6eb484;
}

.menu-grid .yellow-sub-title {
  color: #bece1e;
}

.menu-grid .orange-sub-title {
  color: #e9a43d;
}

.menu-grid .pink-sub-title {
  color: #f693bc;
}

.content-zone .number {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: right;
}

.content-zone .number span {
  font-size: 1.3rem;
  font-weight: 500;
}

/* dataselectone */
.DataSelectOne .insert-table,
.NewsSelectOne .insert-table {
  border-top: 2px solid #007aff;
  border-bottom: 2px solid #007aff;
}

textarea {
  width: 100%;
  height: 450px;
}

/* .dark-gray-btn,
.red-btn {
  margin-right: 5px;
} */

/* dataUpdate */
.dataUpdate .insert-table,
.dataInsert .insert-table,
.news-wrap .insert-table,
.NetworkingSelectOne .insert-table,
.NetWorkingUpdate .insert-table,
.NewsInsert .insert-table,
.noticeInsert .insert-table,
.noticeUpdate .insert-table,
.tech-wrap .insert-table {
  border-top: 3px solid #ddd;
  border-bottom: 3px solid #ddd;
}

.insert-table td,
.selectone-table td{
  cursor: default;
}

.dataUpdate textarea,
.dataInsert textarea,
.NetworkingSelectOne textarea,
.NetWorkingUpdate textarea,
.NewsInsert textarea,
.NewsSelectOne textarea,
.noticeInsert textarea,
.noticeUpdate textarea,
.news-wrap textarea,
.tech-wrap textarea {
  width: 100%;
  height: 450px;
}

.selectone-table,
.select-table,
.statistics-table {
  table-layout: fixed;
  word-break : break-all 
}

label.category,
label.category {
  border: 1px solid #535353;
  color: #535353;
  background-color: #fff;
  padding: 10px;
  border-radius: 3px;
  margin-right: 10px;
}

input:checked+label.category,
input:checked+label.category {
  background: #535353;
  color: #fff;
}

/* login */
.login-box {
  width: 30%;
  padding: 40px;
  border: 1px solid #eee;
  border-radius: 30px;
  max-width: 460px;
}

.login-box .logo {
  text-align: center;
  margin-bottom: 50px;
}

.login-box .logo h1 {
  font-family: "Pretendard-Regular";
  font-weight: bold;
  font-size: 3rem;
}

.login-box .logo p {
  font-size: 2rem;
}

.id-zone,
.pw-zone {
  margin-bottom: 10px;
}

.login-box .blue-btn {
  width: 100%;
}

/* maillsert */

.mail-write input {
  flex: 0 0 79%;
}

.mail-write button {
  flex: 0 0 20%;
}

.search-zone {
  padding: 10px 0;
}

.search-zone .user-search {
  flex: 0 0 79%;
}

.search-zone button {
  flex: 0 0 20%;
}

.list-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.list-zone>div>p {
  padding: 10px 0;
  font-size: 1.4rem;
  color: #aaa;
}

.list-zone ul {
  padding: 10px;
  border: 1px solid #eee;
  height: 300px;
  overflow-y: auto;
}

.list-zone ul li {
  padding: 5px 0;
}
.list-zone .select-list ul li p{
  flex: 0 0 80%;
}
/* mailinsert */
.news-wrap {
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
}


/* mailselectone */
.mail-table {
  border-top: 3px solid #ddd;
  border-bottom: 3px solid #ddd;
}


.mail-table tr:nth-last-of-type(1) {
  border-top: 1px solid #eee;
}

.mail-sender{
  text-align: left;
  height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
}

/* NetworkingSelectList */

.news-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.news-list li {
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 10px;
}

.news-list li a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-list li a .thumbnail {
  width: 100%;
  height: 120px;
  margin-bottom: 15px;
}

.news-list li a .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #aaa;
}

.text-zone p {
  margin-bottom: 8px;
}

.content-title {
  width: 145px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 1.6rem;
  font-weight: 800;
}

.content-detail {
  height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.content-info {
  display: flex;
  justify-content: space-between;
}

.content-date {
  color: #aaa;
}


/* NewsSelectOne */
/* .dark-gray-btn,
.red-btn,
.red-btn {
  margin-right: 5px;
} */

/* 기술문서 */
.tech-wrap {
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
}

/* 사용자관리 */
.user-wrap {
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
}

.tab-menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.tab-menu li a {
  padding: 10px 15px;
  display: block;
  font-size: 2rem;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  border: 1px solid #eee;
  border-bottom: 0;
}

.tab-menu li a.active {
  background-color: #2b7cff;
  color: #fff;
  font-weight: 800;
  border: 0;
}

.tab-content {
  width: 100%;
  height: 100%;
  padding: 15px 0;
}



.modal-content-monthly>div {
  margin-bottom: 10px;
}

.admin-id input[type="text"].id-input {
  flex:0 0 75%;
}
.admin-id button.idchk{
  flex: 0 0 24%;
  margin-left: 0;
} 
.at {
  padding: 0 10px;
  font-size: 1.4rem;
}

.mail-input {
  margin-right: 10px;
}

.warning {
  padding: 5px;
  display: none;
}

.approve {
  padding: 10px;
  color: rgb(1, 176, 77);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.label-title {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 10px 0;
  color: #417dff;
}

.company-zone,.user-zone{
  padding: 10px 0;
}

.introduce-content{
  border: 1px solid #aaa;
  border-radius: 0 0 5px 5px;
}
.company-grid,.user-grid{
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}
.company-grid table p{
  text-align: left;
}
.company-grid table td{
  border: 1px solid #eee;
}
.company-grid table p.company-label{
  color: #aaa;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.logo-img,.business-card{
  width: 100%;
  height: 200px;
}

.logo-img > img,.business-card>img{
  display: block;
  max-width: 100%;
  height: 100%;
}
.keyword-grid{
  display: grid;
  grid-template-columns: 1fr 1fr  1fr;
  gap: 10px;
}

.idcheck{
  width: 20%;
}

/* 팝업 */
.period {
  display: grid;
  grid-template-columns: 200px 30px 200px;
  align-items: center;
}

.period span {
  text-align: center;
}

.file-list {
  padding: 10px;
}

.file-list li {
  margin-bottom: 5px;
}

.preview {
  width: 375px;
  height: 251px;
}

.preview img {
  width: 100%;
}

.aclose-btn {
  width: 25px;
  height: 25px;
  border-radius: 50px;
  border: 1px solid;
  background: transparent;
}

.file-item {
  margin-bottom: 5px;
}

.file-zone {
  border-top: 1px solid #eee;
}

.atech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.board-title {
  width: 492px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: left;
}
/* .select-table td:nth-child(2){
  text-align: center 
} */
.select-table td:nth-child(2),
.select-category-table td:nth-child(3),
.statistics-view-table td:nth-child(1),
.statistics-down-table td:nth-child(1),
.statistics-down-table td:nth-child(2){
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: left;
}


.popup-title {
  width: 337px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: left;
}


.size-zone .half-input {
  width: 80%;
}

.size-zone span {
  display: inline-block;
  font-size: 1.4rem;
  padding: 0 10px;
}

/* 통계 */

#chartdiv {
  width: 100%;
  height: 400px;
  /* background-color: #fff; */
}

.chart-page{
  padding: 50px;
}

.top-wrap{
  padding: 30px;
  background-color: #f9f9f9;
}

.table-zone table thead th {
  border: 1px solid #eee;
}

.date-zone ,.month-zone{
  width: 80%;
}

.year-zone{
  padding: 2rem 0;
}
.date-check {
  width: 20%;
}

.date-zone>input[type="date"],.month-zone>input[type="month"] {
  width: 20%;
}

.date-zone>span,.month-zone>span {
  padding: 0 10px;
}

.date-check>div>label {
  padding: 8px 10px;
  border: 1px solid #333;

}

.date-check>div:nth-child(2)>label,
.date-check>div:nth-child(3)>label {
  border-left: 0;
}

.date-check input[type="radio"]:checked+label {
  background-color: #333;
  color: #fff;
}

.insert-select{
  margin-left: 0;
}

.middle-zone{
  padding: 10px 0;
}

.middle-zone select{
  margin-left: 0;
}

.sum-table{
  border-top: 0;
}
.sum-table td{
  border-top: 0;
}

/* 팝업 */
.popup-preview{
  width: 100%;
  height: 300px;
}

.popup-preview img{
  height: 100%;
}

/* 태그 */
.tag-search{
  margin-bottom: 30px;
}
.tag-search input{
  flex: 0 0 79%
}

.tag-search button{
  flex: 0 0 20%;
}

.tag-title{
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.tag-list{
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 10px;
  height: 300px;
  overflow-y: auto;
}

.tag{
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 1.4rem;
  margin-left: 5px;
  display: inline-block;
  margin-bottom: 5px;
}
.tag:nth-of-type(1){
  margin-left: 0px;
}

.old-tag{
  background-color: #eee;
}

.new-tag{
 background-color: #ff5f5f;
 color: #fff;
}

.tag-remove{
  cursor: pointer;
  margin-left: 5px;
}
.file-list-zone{
  text-align: left;
}


/* 관리자 반응형 */
.layout-wrap-small,.layout-wrap-medium{
  width: 100%;
  height: 100%;
}

.layout-wrap-small .login-box,
.layout-wrap-medium .login-box{
  width: 50%;
}

.layout-wrap-small .login-box .logo,
.layout-wrap-medium .login-box .logo{
  margin-bottom: 30px;
}

.layout-wrap-small .login-box .logo h1,
.layout-wrap-medium .login-box .logo h1{
  font-size: 2rem;
}

.layout-wrap-small .login-box .logo p,
.layout-wrap-medium .login-box .logo p{
  font-size: 1.6rem;
}

.layout-wrap-small .logo-wrap .adm-logo i,
.layout-wrap-medium .logo-wrap .adm-logo i{
  display: block;
}

.layout-wrap-small .amain-menu,
.layout-wrap-medium .amain-menu{
  height: auto;
}
.layout-wrap-small  .amain-menu>ul,
.layout-wrap-medium .amain-menu>ul{ 
  max-height: 0;
  overflow: hidden;
  padding: 0px 0 0px 30px;
  transition:all 0.3s ease-in-out;
}

.layout-wrap-small  .amain-menu>ul.active,
.layout-wrap-medium .amain-menu>ul.active{
  max-height: fit-content;
  overflow: visible;
  padding: 30px 0 30px 30px
}
.layout-wrap-small .content-box,
.layout-wrap-medium .content-box{
  padding: 30px;
}
.layout-wrap-small .content-wrap{
  grid-template-columns: 1fr;
}

.layout-wrap-small .dashboard .combine{
  grid-column: auto;
}
.layout-wrap-small .menu-grid{
  grid-template-columns: repeat(2,1fr);
}

.layout-wrap-medium .menu-grid{
  grid-template-columns: repeat(4,1fr);
}


.layout-wrap-small  .news-list{
  grid-template-columns: repeat(2,1fr);
  gap: 30px;
}

.layout-wrap-small .top-bar > div{
  flex-direction:column-reverse;
}

.layout-wrap-small .top-bar .category-bar{
  flex-direction: initial;
  padding: 30px 0;
}

.layout-wrap-small .user-grid,
.layout-wrap-small .company-grid{
  grid-template-columns:1fr
}

.layout-wrap-small .modal-container{
  width: 65%;
}
.layout-wrap-small .title-zone .detail-title,
.layout-wrap-small .title-zone .write-info{
  flex-direction: initial;
}

.layout-wrap-small  .date-zone,
.layout-wrap-medium .date-zone{
  width:75%;
  flex-direction:initial
}

.layout-wrap-small  .date-check,
.layout-wrap-medium .date-check{
width: 25%;
}

/* 김하영 수정 */
.data-select-list{
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
}
.data-select-list p{
  padding: 1rem 0 0;
  color: rgb(255, 87, 87);
}
.user-list-padding td{
  padding:25px;
}