/* 기본레이아웃 리셋 세팅 */

/* ------------------------------- */
/* reset */
/* ------------------------------- */
html,
body,
div,
p,
h1,
h2,
h4,
table,
ul,
li {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #424242;
}

ul,
li {
  list-style: none;
}

button {
  outline: none;
  background-color: transparent;
  border: none;
}

input {
  padding: 0;
  margin: 0;
  background-color: transparent;
  border-width: 1px;
  box-sizing: border-box;
  border-style: solid;
}

input[type="file"] {
  border: none;
}

/* ------------------------------- */
/* layout */
/* ------------------------------- */
html {
  height: 100%;
  font-size: 16px;
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

div._wsaicon img {
  display: none !important;
}

/* 전체 레이아웃 */

.sectionStyled {
  width: 100%;
  max-width: 940px;
  display: flex;
  flex-direction: column;
  padding: 130px 20px 100px;
  transition: 0.3s ease-in-out;
  margin-bottom: 50px;
  position: relative;
}

@media (max-width: 1080px) {
  .sectionStyled {
    max-width: 900px;
    margin: 20px auto;
    justify-content: center;
    align-items: center;
    padding: 110px 20px 60px;
  }
}

/* 기관관리자 메뉴리스트 */

.BarStyled {
  width: 100%;
  max-width: 97%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f2f6fc;
  border-radius: 12px;
  padding: 12px 16px;
  transition: 0.3s ease-in-out;
  margin: 10px 0 16px;
}

@media screen and (min-width: 501px) and (max-width: 1080px) {
  .BarStyled {
    border-radius: 0;
    max-width: 96%;
    padding: 14px 21px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 8px;
    row-gap: 6px;
    margin: 0 0 16px;
  }
}

@media (max-width: 500px) {
  .BarStyled {
    border-radius: 0;
    max-width: 100%;
    padding: 14px 21px;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 6px;
    margin: 0 0 16px;
  }
}

.BarStyled p {
  display: flex;
  align-items: center;
  color: #797979;
  font-size: 14px;
}

.BarStyled span {
  width: 100%;
  font-weight: 500;
}

.FilterStyled {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 30px;
  transition: 0.3s ease-in-out;
  position: relative;
  flex-direction: column;
  row-gap: 15px;
}

@media (max-width: 768px) {
  .BoxStyled {
    padding: 0 20px;
    flex-direction: column;
    row-gap: 8px;
  }
  .FieldStyled {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .sort {
    width: 100%;
    max-width: 100%;
  }
}
/* code contents */

.titles {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 8px solid #f8f8f8;
  transition: 0.3s ease-in-out;
}
@media (max-width: 600px) {
  .titles {
    padding: 0 20px 30px;
    align-items: flex-start;
  }
}

.titles h2 {
  font-size: 20px;
  font-weight: 500;
}

.titles p {
  font-size: 13px;
  white-space: pre-line;
  color: #797979;
  line-height: 10px;
  margin-top: 10px;
  transition: 0.3s ease-in-out;
}
@media (max-width: 600px) {
  .titles {
    white-space: normal;
    text-align: start;
  }

  .titles p {
    font-size: 13px;
    white-space: pre-line;
    color: #797979;
    line-height: 16px;
    margin-top: 10px;
    transition: 0.3s ease-in-out;
  }
}

.code-layout {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .code-layout {
    box-shadow: none;
    max-width: 390px;
    justify-content: center;
    margin: 0 auto;
    position: relative;
  }

  .titles h2 {
    margin: 0 auto;
  }
}

.code-box {
  width: 100%;
  max-width: 800px;
  margin-right: 30px;
  padding: 25px 20px 40px;
  display: flex;
  align-items: stretch;
  column-gap: 60px;
  row-gap: 30px;
  transition: 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .code-box {
    flex-direction: column;
  }
}

.code {
  width: 100%;
}
.code h3 {
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.code p {
  font-size: 13px;
  margin: 6px 0 16px;
  color: #999;
}

.code_num {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9fcff;
  border-radius: 100px;
  padding: 15px 18px;
  border: 1px solid #f1f7fe;
}
.code_num span {
  font-size: 14px;
  color: #666;
}

.code_num button {
  color: #46ab66;
  font-size: 14px;
}

.info {
  font-size: 13px;
  color: #999;
}

.info span {
  color: #3098ff;
}

.info_desk {
  font-size: 13px;
  color: #797979;
  margin-top: 3px;
  transition: 0.3s ease-in-out;
}
@media (max-width: 600px) {
  .info_desk {
    padding: 0 20px;
  }
}

.btn-layout {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.code-btn {
  width: 360px;
  height: 50px;
  border-radius: 50px;
  color: #fff;
  background-color: #46ab66;
  max-width: 320px;
  margin: 20px 0 24px;
}
.sort-styled {
  width: 100%;
  transition: 0.3s ease-in-out;
}
.selected {
  display: flex;
  align-items: center;
  max-width: 200px;
  column-gap: 20px;
  font-size: 14px;
  white-space: nowrap;
  margin-top: -70px;
}
.selected select {
  font-size: 15px;
  width: 10rem;
  height: 44px;
  border-radius: 4px;
  padding: 0 2px;
}

@media (max-width: 1080px) {
  .sort-styled {
    width: 80%;
    padding: 0 20px;
  }
}

.card-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
  transition: 0.3s ease-in-out;
  position: relative;
}

@media (max-width: 1080px) {
  .card-container {
    overflow: scroll;
  }
}

.scroll {
  width: 100%;
}
.cards {
  width: 100%;
  display: flex;
  align-items: flex-start;
  column-gap: 35px;
  transition: 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .cards {
    column-gap: 16px;
    padding: 0 20px;
  }
}

.wirteStyle {
  position: relative;
}

.UploadStyled form {
  position: relative;
}

.UploadStyled button {
  border: 1px solid #424242;
}

.UploadStyled input {
  display: none;
}

.UploadStyled .uploadLayout {
  width: 100%;
  position: relative;
  top: 33px;
  text-align: left;
}

.UploadStyled label {
  width: 60px;
  font-size: 11px;
  padding: 9px;
  vertical-align: auto;
  text-align: center;
  background-color: #46ab66;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

.UploadStyled .preview {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  column-gap: 20px;
  margin: -85px 20px 0;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 15px 15px 10px 15px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.UploadStyled .preview svg {
  fill: #7e7e7e;
  cursor: pointer;
}

.UploadStyled ul {
  position: absolute;
  left: 0;
  top: 155px;
  font-size: 13px;
  line-height: 20px;
  padding: 0 24px;
}

.upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 10px;
  width: 130px;
  height: 130px;
  border-radius: 1000px;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.arrowIcon svg {
  width: 30px;
  fill: #dbdbdb;
  rotate: 180deg;
  margin: auto -14px;
  position: absolute;
  top: 0;
  bottom: 0;
}

@media (max-width: 768px) {
  .UploadStyled ul {
    font-size: 11px;
  }
  .upload {
    width: 100px;
    height: 100px;
  }
  .arrowIcon svg {
    display: none;
  }
}

.upload img {
  width: 120px;
}

img.counselorImg {
  width: 100%;
}

@media (max-width: 768px) {
  .upload img {
    width: 30px;
  }
}

.card-style {
  width: 100%;
  max-width: 395px;
  min-width: 395px;
  height: 560px;
  padding: 26px 20px 20px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s ease-in-out;
}

.ResultCard div {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.Line {
  border-bottom: 1.5px solid #e6e6e6;
}

@media (max-width: 768px) {
  .ResultCard {
    padding: 0 27px;
  }

  .card-style {
    max-width: 360px;
    min-width: 360px;
  }
}

@media (max-width: 480px) {
  .card-style {
    max-width: 340px;
    min-width: 340px;
  }
}

.card-style h2 {
  width: 100%;
  text-align: start;
  font-size: 18px;
  font-weight: 500;
}

.card-style p {
  width: 100%;
  text-align: start;
  font-size: 14px;
  color: #999;
  margin: 6px 0 20px;
}

.DocStyled {
  white-space: pre-line;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: #fff;
  padding: 12px 14px;
  border-radius: 6px;
  color: #999;
  font-size: 14px;
  margin-top: 80px;
}

.DocStyled span {
  font-size: 20px;
  color: #434343;
  padding: 100px 24px;
  position: absolute;
  top: 180px;
}

.counselorInfomation {
  position: relative;
  width: 23.3rem;
  height: 15rem;
  padding: 10px 10px;
  text-align: left;
  border: 1px solid #eeeeee;
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.02);
}

.counselorInfomation img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto auto;
  width: 120px;
  opacity: 0.15;
}

.textlayout {
  position: relative;
  top: 8.9rem;
}

.DocStyled h2 {
  text-align: left;
  color: #3d3d3d;
  font-size: 20px;
}

.DocStyled p {
  text-align: left;
  color: #7d7d7d;
  margin: 0;
}

.counselSubmitBtn {
  width: 170px;
  height: 40px;
  background-color: #46ab66;
  color: #fff;
  border-radius: 50px;
  position: absolute;
  right: 20px;
  bottom: 0;
}

.counselSubmitBtn:hover {
  background-color: #1d8b61;
  transition: 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
  .counselorInfomation {
    width: 25.3rem;
    height: 19rem;
    padding: 18px 18px;
    text-align: left;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  }
  .textlayout {
    position: relative;
    top: 10.8rem;
  }
  .DocStyled span {
    display: none;
  }
}

.intro-text {
  font-size: 20px;
  font-weight: 500;
  position: absolute;
  left: 0;
  padding: 0 24px;
}

.subTitle {
  width: 100%;
  text-align: start;
  font-size: 14px;
  color: #999;
  margin: 6px 0 20px;
}

/* 사용자목록 내담자관리 공통스타일 */

.search_enter {
  width: 20%;
  border: 1px solid #e5e5e5;
  padding: 12px;
  color: #fff;
  background: #46ab66;
  border-radius: 5px;
  cursor: pointer;
}

.accessLevelBtn {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
  column-gap: 10px;
}

.accessLevelBtn button {
  margin: 15px 0;
  width: 80px;
  height: 40px;
  cursor: pointer;
}

.accessLevelBtn button:hover,
.accessLevelBtn button.active {
  color: #1e9b6b;
  background-color: #effaf6;
  border-radius: 5px;
}

.accessLevelBtn span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 40px 0 20px;
}

@media screen and (max-width: 768px) {
  .search_enter {
    width: 120%;
    max-width: 350px;
  }
}

.FieldStyled {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.FieldStyled_Plus {
  width: 200px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  right: 0;
}

.counselor {
  position: absolute;
  right: 0;
  top: 10px;
  width: 100px;
}

.counselorPage {
  flex-direction: row;
}

.counselorPage h1 {
  width: 50%;
  font-size: 16px;
  font-weight: 400;
}

@media only screen and (max-width: 768px) {
  .FieldStyled {
    width: 30%;
  }
  .counselor {
    position: absolute;
    top: 10px;
    width: 90px;
  }
  .counselorPage h1 {
    display: none;
  }
}

.BoxStyledSelect {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding-right: 5px;
  margin-left: 5px;
}

.BoxStyledPlus {
  width: 120px !important;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #46ab66;
  color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 13px 16px;
}

@media screen and (max-width: 768px) {
  .FieldStyled_Plus {
    padding-right: 20px;
  }

  .BoxStyledPlus {
    padding: 10px 16px;
    font-size: 11px;
    width: 150px !important;
  }
}

.BoxStyledPlus:hover {
  background-color: #505050;
  color: #fff;
}

.BoxStyledSelect select {
  width: 100%;
  height: 100%;
  /* -webkit-appearance: none;
  -moz-appearance: none; */
  /* appearance: none; */
  font-size: 0.938rem;
  padding: 12px 0 12px 10px;
  border: none;
}

.BoxStyledSelect input {
  height: auto;
  width: 100%;
  padding: 12px 0 12px 12px;
  font-size: 0.938rem;
}

.BoxStyledSelect input:focus {
  outline: none;
}

.BoxStyledSelect svg {
  padding-right: 10px;
  width: 14px;
}

.InputBox {
  width: 100%;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
}

@media screen and (max-width: 768px) {
  .InputBox {
    max-width: 94%;
    flex-direction: column;
    row-gap: 10px;
  }
}

.InputBox div {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
  padding: 12px 8px 12px 12px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  border-radius: 8px;
}

.InputBox input {
  border: none;
  width: 100%;
}

@media (max-width: 768px) {
  .InputBox div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    padding: 12px 8px 12px 12px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    margin-left: 0;
    border-radius: 8px;
  }
}

input {
  font-size: 14px;
}

/*게시판 모바일 최적화*/

#search_box_partner .sel_cate_partner {
  width: 45%;
  height: 4.3rem;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 15px;
  float: left;
  cursor: pointer;
  margin: 0 5px;
  border: 1px solid #e5e5e5;
}

#board_area h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

#board_area h4 {
  font-size: 16px;
}

#board_area {
  width: 90%;
}

#search_box_partner .search_keyword::after {
  position: absolute;
  right: 15px;
}

#pagingul li a {
  display: block;
  border: solid 1px #46ab66;
  box-sizing: border-box;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  font-size: 1.4rem;
}

.partner-table {
  width: 100%;
  padding: 20px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  overflow: hidden;
}

.partner-table-popup {
  width: 100%;
  height: 300px;
  padding: 20px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  overflow: scroll;
}

.row-checkbox {
  width: 19px;
  height: 19px;
}

@media (max-width: 1080px) {
  .partner-table {
    box-shadow: none;
    border-top: 8px solid #f8f8f8;
    overflow: scroll;
    position: relative;
    margin: 0 auto;
    width: 100%;
  }

  .partner-table-popup {
    box-shadow: none;
    border-top: 8px solid #f8f8f8;
    height: 230px;
  }

  .centerTitle {
    display: flex;
    width: 150%;
    position: relative;
    top: -16px;
  }
}

/* 게시판 table */
table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
}

thead {
  width: 100%;
}

#build_row {
  width: 901px;
  height: 50px;
  font-size: 14px;
  padding: 12px 0;
  display: flex;
  align-items: center;
}

tr {
  width: 940px;
  height: 50px;
  font-size: 14px;
  padding: 12px 0;
  display: flex;
  align-items: center;
}

.partner-table-popup tr {
  width: 52rem;
}

th {
  width: 100%;
  font-weight: 400;
  font-size: 20px;
  color: #181818;
  padding: 20px 0;
  border-top: 1px solid #939296;
  border-bottom: 1px solid #939296;
}

td {
  width: 100%;
  max-height: 46px;
  font-weight: 400;
  font-size: 14px;
  color: #555;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.counselormanage {
  top: 6px;
}

.box {
  display: block;
  width: 40%;
  height: 4.25rem;
  border: solid 1px #ffffff;
  padding: 10px 14px;
  box-sizing: border-box;
  background: #fff;
  position: relative;
  right: -120px;
  top: -23px;
}

.centername_pid {
  display: flex;
  width: 60%;
  position: relative;
}

.centername_pid p {
  width: 100%;
}

.logo-symbol {
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 100px;
  padding: 7px;
}

/* 현재 페이지 표시 */

#current {
  width: 100%;
  text-align: left;
  color: #555;
  position: absolute;
  top: 17px;
  left: 210px;
}

#pagingul {
  text-align: center;
  display: inline-block;
  border-right: 0;
  list-style-type: none;
  padding-left: 0;
  width: 100%;
  margin-top: 4.5rem;
}

#pagingul li {
  text-align: center;
  display: inline-block;
}

#pagingul li a {
  display: block;
  font-size: 14px;
  border: solid 1px #ccc;
  box-sizing: border-box;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  font-size: 0.9rem;
}

#pagingul li:first-child a,
#pagingul li:last-child a {
  border: none;
}

#pagingul li.on {
  border-radius: 5px;
  background: #fff;
}

#pagingul li.on a {
  border-radius: 5px;
  cursor: pointer;
  color: #46ab66;
}

#pagingul li.on.active {
  color: #46ab66;
}

#pagingul li.on.active a {
  border-radius: 5px;
  color: #fff;
  background-color: #46ab66;
  cursor: pointer;
  border: 1px solid #46ab66;
}

.btn_num_container {
  display: flex;
  align-items: center;
}

.btn_num_container button {
  font-size: 40px;
}

#num {
  width: 10px;
  height: 10px;
  margin: 0 40px;
  font-size: 10px;
}

.int {
  pointer-events: none;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border: none;
  background: #f9fcff;
  font-size: 16px;
}

.count_btn {
  font-size: 30px;
  padding: 0 10px;
  cursor: pointer;
}

/* 상담자 내담자관리 */

.partner_select {
  display: flex;
  position: absolute;
  top: 145px;
  right: 0;
  margin-bottom: 10px;
}

.partner_select h2 {
  margin-right: 20px;
  padding: 10px 0;
}

.partner_select_box {
  width: 7rem;
  height: 3.525rem;
  border-radius: 4px;
  margin: -7px 2px;
  border: 1px solid #e5e5e5;
}

@media screen and (max-width: 768px) {
  .partner_select h2 {
    display: none;
  }

  .partner_select {
    top: 196px;
    left: 240px;
  }

  .partner_select_box {
    width: 100px;
    height: 52px;
    border-radius: 4px;
    margin: 6px 2px;
    border: 1px solid #e5e5e5;
  }

  .counselor_partner {
    position: relative;
    top: 31px;
  }
}

.datepicker {
  width: 110px;
  letter-spacing: -1.5px;
  margin: 0 1px;
  font-size: 15px;
  text-align: center;
  color: #3d3d3d;
  border: 1px solid #505050;
}

/* Add padding and center-align text to the container */
.modal-container {
  padding: 16px;
  margin: 4%;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 21; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #00000080;
  padding-top: 50px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #ffffff;
  margin: 6% auto 5% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  border-radius: 4px;
  width: 60rem; /* Could be more or less, depending on screen size */
  height: 58rem;
  z-index: -2;
  text-align: center;
}

.modal-code {
  height: 22rem;
}

.modal-layout {
  position: relative;
}

.memo {
  height: auto;
  position: absolute;
  left: 0;
  right: 0;
}

.modal_title {
  position: relative;
  background-color: #d4c4a8;
  width: 100%;
  height: 15%;
  padding: 30px 0;
}

.memotitle {
  height: 10%;
}

.modal_title h1 {
  color: #555;
  padding: 20px 0;
}

.modal_title h2 {
  color: #555;
  padding: 20px 0;
  font-size: 36px;
}

.modal_title p {
  color: #555;
  padding: 10px 0;
}

.close {
  float: right;
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 30px;
  cursor: pointer;
}

.codeX {
  top: -38px;
  left: 880px;
}

@media screen and (max-width: 768px) {
  .codeX {
    top: -38px;
    left: 800px;
  }
}

.counselsearch {
  width: 380px;
  height: 40px;
  padding: 5px;
}

.counselsearch_btn {
  color: #fff;
  width: 55px;
  height: 40px;
  background-color: #46ab66;
  position: absolute;
  cursor: pointer;
}

.search_btn {
  padding: 30px 0;
}

@media screen and (max-width: 768px) {
  .counselsearch {
    width: 18rem;
    height: 40px;
    padding: 5px;
  }
  .search_btn {
    margin-right: 40px;
  }
  .modal_title p {
    max-width: 260px;
    margin: -10px auto;
  }
}

/* Change styles for cancel button and delete button on extra small screens */
@media screen and (max-width: 300px) {
  .plusbtn {
    width: 100%;
  }
}

@media only screen and (max-width: 1354px) {
  .modal-content {
    margin: 0% auto 25% auto;
    width: 80%;
  }

  .modal-code {
    height: 22rem;
  }

  .memo {
    height: 40rem;
  }

  .modal {
    z-index: 200;
  }

  .modal-container {
    padding: 7px;
    margin: 4%;
  }

  .plusbtn {
    margin-top: 0px;
  }

  .modal-container > h1 {
    font-size: 25px;
    letter-spacing: 4px;
  }
}

/* Float save button and add an equal width */

.plusbtn {
  width: 150px;
  height: 50px;
  margin: 0 auto;
  margin-top: 20px;
  border: 1px solid rgb(51, 51, 51);
  background-color: #fff;
  color: rgb(51, 51, 51);
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
}

.plusbtn:hover {
  background-color: rgb(51, 51, 51);
  color: #fff;
  cursor: pointer;
}

.savebtnCode {
  float: left;
  width: calc(50% - 10px);
  height: 55px;
  margin: 0 auto;
  margin-top: 20px;
}

/* Add a color to the save button */
.savebtnCode {
  background-color: rgb(51, 51, 51);
  color: white;
  font-size: 15px;
}

.cancelCode {
  background-color: rgb(143, 143, 143);
  color: white;
  font-size: 15px;
}

#datepicker_start {
  width: 90%;
  text-align: center;
}

#datepicker_end {
  width: 90%;
  text-align: center;
}

.memo_img {
  cursor: pointer;
}

.ui-datepicker tr,
.ui-datepicker td {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 600px) {
  .ui-datepicker tr,
  .ui-datepicker td {
    width: 22%;
    height: 100%;
  }
}

.ui-datepicker td {
  display: block;
}
.ui-datepicker th {
  background-color: #678379;
}

.ui-datepicker tr {
  padding: 4px 0;
}

.ui-datepicker th:nth-child(1) {
  width: 100%;
}

.ui-datepicker-div {
  height: auto;
}

#table2 input {
  width: 90%;
  text-align: center;
}

/* 설문관리 */

.surveyInfo {
  margin: 5px 15px;
  position: relative;
  display: flex;
  align-items: center;
}

.surveyLink {
  width: 50%;
  height: 30px;
  border-radius: 2px;
  position: absolute;
  right: 300px;
  padding: 10px;
}

.surveyLink::placeholder {
  font-size: 12px;
}

#LinkWriteTitle,
#LinkWriteTitleClient {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
}

.surveyBtn {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
  top: 30px;
}

.surveySaveBtn {
  width: 100px;
  height: 40px;
  background-color: #46ab66;
  color: #fff;
  border-radius: 50px;
}

.saveCancelbtn {
  background-color: #666;
  color: #fff;
}

.datepicker__container {
  display: flex;
  width: 50%;
  height: 30px;
  border-radius: 2px;
  position: absolute;
  right: 290px;
  padding: 10px;
  gap: 10px;
  z-index: 9999;
}

@media (max-width: 768px) {
  .surveyLink {
    width: 76%;
    right: 0px;
  }
  .datepicker__container {
    width: 76%;
    right: 0px;
    padding: 0;
    z-index: 0;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .surveyLink {
    width: 76%;
    right: 0px;
  }
  .datepicker__container {
    width: 76%;
    right: 0px;
    padding: 0;
  }
}

/* 바이트수 표시 */

#byteDisplay {
  position: absolute;
  right: 20px;
  bottom: 9px;
  font-size: 11px;
}

#Emoticon {
  position: absolute;
  bottom: 9px;
  font-size: 11px;
  color: rgb(160 160 160);
}

@media screen and (max-width: 768px) {
  #byteDisplay {
    font-size: 15px;
  }

  #Emoticon {
    bottom: 11px;
  }
}

/* 뉴레이아웃 */

.widgets {
  width: 100%;
  max-width: 1554px;
  display: flex;
  flex-direction: column;
  row-gap: 14px;
}

.widgetsLayout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: 140px;
  align-items: center;
}

.BoxStyled {
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 32px;
  width: 100%;
  padding: 20px 40px;
}

.BoxStyled li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.BoxStyled li span {
  font-size: 15px;
  color: #797979;
}

.BoxTitle {
  color: var(--Text-Title-Color, #27262e);
  font-family: "Spoqa Han Sans Neo";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.searchBoxContainer {
  position: relative;
}

.searchBox {
  display: flex;
  width: 415px;
  height: 44px;
  padding: 12px;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--Gray20, #d4d4d5);
}

.searchIcon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
}
