.close_btn{
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 26px;
  color: gray;
}

.close_btn:hover,
.close_btn:focus {
  color: #000;
  text-decoration: none;
}

/* accordion css */
#myModal{
    font-family: 'Noto Sans KR', sans-serif !important;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    padding-bottom: 100px;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  #myModal::placeholder{
    font-family: 'Noto Sans KR', sans-serif !important;
    font-size: 14px;
  }
  
  #myModal>*{
    font-family: 'Noto Sans KR', sans-serif !important;
  }
  
  #myModal label{
    font-family: 'Noto Sans KR', sans-serif !important;
  }
  
  #myModal p{
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  .regi_modal_content{
    max-width: 400px;
    width: 100%;
    position: relative;
    background-color:#fefefe;
    margin: auto;
    padding: 50px 20px 50px 20px;
    border: 1px solid #888;
  }

  .regi_agree_title{
    width: 100%;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', sans-serif !important;
  }


  .regi_input_modal input{
    width: 100%;
    height: 45px;
    margin: 0 0 10px 0;
    border: 1px solid gray;
    outline: none;
    font-family: 'Noto Sans KR', sans-serif !important;
    -webkit-appearance: none;
    -moz-appearance: none;
  }


  .all_agree_box,
  .input_check{
    margin-top: 14px;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  .image_upload{
    width: 100%;
    text-align: center;
  }

  .profile_up div{
   width: 120px;
   height: 120px;
   border-radius: 70%;
   overflow: hidden;
   margin: auto;
   display: flex;
   background-color: rgb(220, 220, 220);
   margin-bottom: 20px;
  }

  .profile_up{
    text-align: center;
    align-items: center;
  }

  .profile_up div img{
   width: 100%; object-fit: cover;
  }

  .profile_up input{
    border: none; width: unset;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  .email_input_box,
  .name_pw_input_box{
    width: 100%;
    align-items: center;
    margin: auto;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  .email_input_text,
  .pw_input_text,
  .nick_input_text{
    margin-top: 10px;
    text-align: start;
    font-size: 14px;
    color: rgb(56, 56, 56);
    height: 30px;
    line-height: 30px;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  .submit_box{
    margin-top: 50px;
    margin-bottom: 20px;
  }

  .submit_btn{
   width: 100%;
   height: 45px;
   background-color: gray;
   cursor: pointer;
   border: 1px solid gray;
   color: white;
   font-family: 'Noto Sans KR', sans-serif !important;
  }

  .submit_btn:hover{
    background-color: black;
    color: white;
    transition: 0.5s;
  }


  #myModal .accordion {
      background-color: #eee;
      color: #444;
      cursor: pointer;
      height: 45px;
      width: 100%;
      border: none;
      text-align: left;
      outline: none;
      font-size: 15px;
      transition: 0.4s;
      margin-top: 5px;
      transition: 0.5s;
      font-family: 'Noto Sans KR', sans-serif !important;
    }

  #myModal .active, #myModal .accordion:hover {
    background-color:black;
    color: white;
    font-weight: bold;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  #myModal .accordion:after {
    content: '내용보기';
    color: #777;
    font-size: 10px;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    margin-top: 5px;
    white-space: nowrap;
    padding-right: 5px;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  #myModal .active:after {
    content: "접기";
    color: white;
    white-space: nowrap;
    padding-right: 5px;
  }

  #myModal .accordion_panel {
    padding: 0 12px;
    background-color: white;
    max-height: 0;
    transition: 0.2s ease-out;
    overflow:auto;
    height:400px;
    list-style: none;
    line-height: 25px;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  .all_agree_box{
    align-items: center;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  /* ETC css */
  #myModal .marketing_contents{
  font-weight: normal; font-size: 14px;
  text-align: center;
  line-height: 25px;
  font-family: 'Noto Sans KR', sans-serif !important;
  }

  #myModal .agree_complete{
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif !important;
  }

  #myModal .complete_btn{
    color: white;
    font-weight: bold;
    width: 233px;
    line-height: 40px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.16);
    border: none;
    outline: none;
    background-color: black;
    display: block;
    margin: auto;
    margin-top: 5%;
    cursor: pointer;
  }

  #myModal .complete_btn:disabled{
    background: rgb(179, 176, 176);
    cursor: unset;
  }

  #myModal .complete_btn:focus{
    cursor: pointer;
    background: rgb(49, 49, 49);
  }

  @media screen and (max-width: 500px){
    .regi_modal_content{
      width: 90%;
      position: relative;
      background-color:#fefefe;
      margin: auto;
      padding: 50px 20px 50px 20px;
      border: 1px solid #888;
    }

      #myModal .allAgreeChk_label{
      font-size: 16px;
    }

    /* accordion css */
    #myModal .accordion {
        background-color: #eee;
        color: #444;
        cursor: pointer;
        padding: 10px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 15px;
        transition: 0.4s;
      }

    #myModal .active, #myModal .accordion:hover {
      background-color:black;
      color: white;
      font-weight: bold;
    }

    #myModal .accordion:after {
      content: '내용보기';
      color: #777;
      font-size: 10px;
      font-weight: bold;
      float: right;
      margin-left: 5px;
      margin-top: 5px;
    }

    #myModal .active:after {
      content: "접기";
    }

    #myModal .accordion_panel {
      padding: 0 12px;
      background-color: white;
      max-height: 0;
      transition: 0.2s ease-out;
      overflow:auto; height:300px;
      list-style: none;
    }
  }

  @media screen and (max-width: 900px) {

  }

  @media screen and  (max-width: 700px) {

  }

  @media screen and  (max-width: 320px) {

  }