*{
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
  }
    
*::selection{
    background-color: rgba(128, 128, 128, 0.349);
}

::-webkit-scrollbar{
    width: 9px !important;
    height: 3px !important;
}

::-webkit-scrollbar-thumb{
    background-color: #8f8f8f78!important;
    border-radius: 0px !important;
}

::-webkit-scrollbar-track{
    background-color: transparent!important;
    border-radius: 0px !important;
}

html{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

/* loading bar  */
.loading_bar{
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(7, 7, 7, 0.60);
    z-index: 9999999;
  }
  
  @keyframes ldio-x6kf0jqti8h {
    0% {
      top: 44px;
      left: 44px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 7px;
      left: 7px;
      width: 74px;
      height: 74px;
      opacity: 0;
    }
  }
  
  .ldio-x6kf0jqti8h div {
    position: absolute;
    border-width: 6px;
    border-style: solid;
    opacity: 1;
    border-radius: 50%;
    animation: ldio-x6kf0jqti8h 1s cubic-bezier(0,0.2,0.8,1) infinite;
  }.ldio-x6kf0jqti8h div:nth-child(1) {
    border-color: #ffffff;
    animation-delay: 0s;
  }
  .ldio-x6kf0jqti8h div:nth-child(2) {
    border-color: #b9b9b9;
    animation-delay: -0.5s;
  }
  .loadingio-spinner-ripple-3965e52tnvr {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-60%);
    width: 90px;
    height: 90px;
    display: inline-block;
    overflow: hidden;
    background: rgba(1, 1, 1, 0);
  }
  .ldio-x6kf0jqti8h {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(0.9);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
  }
  .ldio-x6kf0jqti8h div { box-sizing: content-box; }
  /* generated by https://loading.io/ */

ul{
    margin: 0;
}

button{
    cursor: pointer;
}

.gallery_text a{
    text-decoration: underline;
    text-underline-position: under;
    color: white;
  }

.menu_back_btn{
    color: rgb(0, 0, 0);
    position: absolute;
    top: 27px;
    left: 30px;
    font-size: 26px;
    z-index: 999;
}

.menu_back_btn img{
    width: 33px; 
    filter: invert(100%); 
    cursor: pointer;
}

.edit_btn{
    cursor: pointer;
}

.comment_btn{
    cursor: pointer;
}

.modal{
    width: 100%; margin: auto; 
    background-color: rgb(0, 0, 0); 
    overflow: auto;
    height: 100vh;
    color: white;
}

.deskContent{
    display: flex; 
    justify-content: space-between;
    /* padding-top: 70px; */
    height: 100%;
}

.deskContent .gallery_text_area{
    padding-top: 80px;
    margin: 0; 
    width: 65%; 
    display: inline-block;  
    position: relative;
    overflow-y: hidden;
}

.deskContent .gallery_content{
    height: 95.3%;
    overflow: auto;
    padding-left: 30px;
    padding-top: 0px;
    padding-right: 30px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.234);
    border-top: 1px solid rgba(255, 255, 255, 0.234); */
}

.deskContent .text_title{
    margin-bottom: 20px;
}

.deskContent .text_header{
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin-bottom: 15px; 
    font-size: 16px;
}

.deskContent .host_btns{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    vertical-align: middle;
}

.deskContent .host_btns div{
    cursor: pointer;
    
}

.deskContent .host_btns div i{
    color:rgba(248, 78, 78, 0.8);
}

.deskContent .host_btns .edit_btn{
    padding-right: 10px;
    border-right: 1px solid rgba(248, 78, 78, 0.8);
}

.deskContent .host_btns div:nth-child(2){
    padding-left: 10px;
}

.deskContent .text_date{
    text-align: end; 
    vertical-align: middle; 
}

.deskContent .gallery_text{
   
}

.deskContent .etc_btns{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    position: absolute;
    left: 30px;
    bottom: 0px;
}

.deskContent .text_info{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
    position: absolute;
    right: 20px;
    bottom: 0px;
    font-size: 18px;
    vertical-align: middle;
}



.deskContent .popup_div{
    position: relative;
    /* max-width: 700px;  */
    width: 100%;
    height: 100%;
    /* margin-top: 0px;   */
    font-size: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: rgba(255, 255, 255, 0.03); */
    /* border-left: 1px solid rgba(255, 255, 255, 0.234);
    border-right: 1px solid rgba(255, 255, 255, 0.234); */
    
}

.deskContent .popup_div img{
    max-width: 100%;
    max-height: 100%;
    z-index: 2;
}

/* .deskContent .popup_div div{
    position: absolute;
    transform: translate(-50%,-50%);
    left    : 50%;
    top     : 50%;
    height  : 200px;
    width   : 90%;
    border-right: 1px solid rgba(248, 78, 78, 0.8);
    border-left: 1px solid rgba(248, 78, 78, 0.8);
    z-index: 1;
} */

.deskContent .gallery_comment_area{
    display: inline-block;
    padding-top: 80px;
    margin: 0px 0px 0px 0; 
    width: 65%;
    position: relative;
    overflow-y: hidden;
}

.deskContent .comment_list_div{
    height: 95.3%;
    overflow: auto;
    padding-left: 30px;
    padding-top: 0px;
    padding-right: 10px;
    width: 100%;
}

.deskContent .comment_write{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 40px;
}

.deskContent .comment_write form{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    background-color: rgb(64 64 65);
}

.deskContent .secret,
.mobileContent .secret{
    display: flex;
    align-items: center;
    padding-right: 5px;
    margin-left: 5px;
    white-space: nowrap;
}

.deskContent .comment_write textarea{
    min-height: 18px;
    max-height: 120px;
    font-size: 14px;
    width: 100%;
    background-color: transparent;
    border: none;
    color: white;
    padding: 0 10px;
    margin-right: 80px;
    resize: none;
    outline: 0;
    overflow: auto;
    border-right: 1px solid rgb(255, 255, 255);
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

.deskContent .comment_write textarea::placeholder{
    color: white;
}

.deskContent .comment_write button{
    position: absolute;
    right: 0px;
    width: 80px;
    height: 40px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    background-color: transparent;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgb(34, 34, 34); 
    
}

.deskContent .commentor{
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.deskContent .re_commentor{
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.deskContent .commentor_left{
    display: flex; 
    justify-content: flex-start; 
    align-items: center;
}

.deskContent .re_commentor_left{
    display: flex; 
    justify-content: flex-start; 
    align-items: center;
}

.deskContent .commentor_right{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 15px 0 10px;
}

.deskContent .commentor_right{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 15px 0 10px;
}

.deskContent .commentor_btns{
    font-size: 13px;
    white-space: nowrap;
    width: 100%;
    color:rgba(248, 78, 78, 0.8);
}

.deskContent .re_commentor_btns{
    font-size: 13px;
    white-space: nowrap;
    width: 100%;
    color:rgba(248, 78, 78, 0.8);
}

.deskContent .commentor_btns .fa-edit{
    padding-right: 7px;
    border-right: 1px solid rgba(248, 78, 78, 0.8);
    cursor: pointer;
}

.deskContent .re_commentor_btns .fa-edit{
    padding-right: 7px;
    border-right: 1px solid rgba(248, 78, 78, 0.8);
    cursor: pointer;
}


.deskContent .commentor_btns i:nth-child(2){
    padding-left: 5px;
    cursor: pointer;
}

.deskContent .re_commentor_btns i:nth-child(2){
    padding-left: 5px;
    cursor: pointer;
}

.deskContent .commentor_img{
    min-width: 40px; 
    min-height: 40px;
    width: 40px; height: 40px; 
    border-radius: 70%; 
    /* border: 1px solid rgba(128, 128, 128, 0.124); */
    background-color: gray; 
    /* background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center center; */
    overflow: hidden;
}

.deskContent .re_commentor_img{
    min-width: 40px; 
    min-height: 40px;
    width: 40px; height: 40px; 
    border-radius: 70%; 
    /* border: 1px solid rgba(128, 128, 128, 0.124); */
    background-color: gray; 
    /* background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center center; */
    overflow: hidden;
}

.desk_commentor_img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.desk_re_commentor_img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.deskContent .commentor_name{
    margin-left: 7px;
    /* max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis; */
    white-space: nowrap;
}

.deskContent .re_commentor_name{
    margin-left: 7px;
    /* max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis; */
    white-space: nowrap;
}

.deskContent .comment_date{
    font-size: 12px;
    color: rgba(255, 255, 255, 0.522);
}

.deskContent .re_comment_date{
    font-size: 12px;
    color: rgba(255, 255, 255, 0.522);
}

.mobileContent{
    display: none;
}

/* 대댓글 */
.deskContent .recomment{
    margin: 5px 0 0px 10px;
}

/* .deskContent .comment_commentbox{
    display: flex;
} */

.deskContent .comment_commentbox p{
    white-space: pre-line; 
    word-break: break-all; 
    line-height: 25px; 
    font-size: 16px;
}

.deskContent .recommentBtn{
    cursor: pointer; 
    color: rgb(195, 195, 195); 
    font-size: 12px; 
    margin: 5px 0 0px 10px;
    white-space: nowrap;
}

.deskContent .recomment_div{
    border: none; 
    background-color: transparent; 
    width: 100%; 
    align-items: center;
}

.recomment_input{
    -ms-overflow-style: none;
    resize: none; 
    outline: none; 
    width: 100%; 
    height: 20px; 
    max-height: 100px; 
    color: white; 
    background-color: transparent; 
    border: none; 
    border-bottom:1px solid white;
    margin-right: 5px;
}

.recomment_input::-webkit-scrollbar{
    display:none;
}

.recomment_confirm{
    background-color: rgb(26, 109, 255); 
    border: 1px solid rgb(26, 109, 255); 
    color: white; font-size: 12px; 
    width: 45px; padding: 3px; 
    margin-right: 3px;
  }

  .recomment_confirm:disabled{
    background-color: transparent; 
    border: 1px solid rgb(146,146,146); 
    color: rgb(200, 200, 200);
    font-size: 12px; 
    width: 45px; padding: 3px; 
    margin-right: 3px;
  }

  .recomment_cancel{
    background-color: transparent; 
    border: 1px solid rgb(146,146,146); 
    color: rgb(200, 200, 200); 
    font-size: 12px; 
    width: 45px; 
    padding: 3px;  
  }

  .deskContent .open_recomment{
    color: rgba(109, 109, 241, 0.8); 
    padding: 7px 0; 
    display: flex; 
    align-items: center;
    margin-left: 10px;
    margin-bottom: 5px;
  }

  .mobileContent .open_recomment{
    color: rgba(109, 109, 241, 0.8); 
    padding: 7px 0; 
    display: flex; 
    align-items: center;
    margin-left: 10px;
    margin-bottom: 15px;
  }

  .close_recomment{
    color: rgba(109, 109, 241, 0.8); 
    display: none; 
    padding: 7px 0 0 0;
    margin-left: 10px;
    margin-bottom: 10px;
  }

  .recomment_list{
    list-style: none;
    align-items: center; 
    width: 100%; 
    margin-top: 0px;
    margin-bottom: 25px;
  }

  .re_comment_list{
      list-style: none;
  }

@media screen and (max-width: 1023px) {
    .deskContent{
        display: none;
    }

    .mobileContent{
        display: block;
        padding-top: 0px;
        width: 100%;
        margin: auto; 
        max-width: 800px;
        text-align: center;
    }

    .mobileContent .popup_div{
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: black;
        margin: auto;
    }

    .mobileContent .popup_div img{
        width: 100%;
        
    }

    .mobileContent .gallery_text_area{
        margin: 0 auto 15px auto; 
        width: 95%; 
        
    }

    .mobileContent .gallery_text{
        width: 100%;
        margin: 10px auto;
        text-align: start;
        
    }

    .mobileContent .comment_write{
        width: 100%;
        margin-bottom: 0px;
    }
    
    .mobileContent .comment_write form{
        display: flex;
        align-items: center;
        width: 100%;
        padding: 12px 0;
        background-color: rgb(64 64 65);
    }
    
    
    .mobileContent .comment_write textarea{
        min-height: 18px;
        max-height: 120px;
        font-size: 14px;
        width: 100%;
        background-color: transparent;
        border: none;
        color: white;
        padding: 0 10px;
        margin-right: 80px;
        resize: none;
        outline: 0;
        overflow: auto;
        border-right: 1px solid rgb(255, 255, 255);
        -webkit-appearance: none;
        -webkit-border-radius: 0;
    }
    
    .mobileContent .comment_write textarea::placeholder{
        color: white;
    }
    
    .mobileContent .comment_write button{
        position: absolute;
        right: 0px;
        width: 80px;
        height: 40px;
        border: none;
        font-size: 16px;
        font-weight: 600;
        background-color: transparent;
        color: #ffffff;
        text-shadow: 1px 1px 2px rgb(34, 34, 34); 
        
    }

    .mobileContent .gallery_comment_area{
        margin: auto; width: 95%; 
        display: none; 
        overflow: auto; max-height: 350px;
        text-align: start;
        display: flex;
    }

    .mobileContent .comment_list_div{
        width: 100%;
    }

    .mobileContent .commentor{
        display: flex; 
        justify-content: space-between; 
        align-items: center;
    }
    .mobileContent .re_commentor{
        display: flex; 
        justify-content: space-between; 
        align-items: center;
    }

    .mobileContent .commentor_left{
        display: flex; 
        justify-content: flex-start; 
        align-items: center;
    }
    .mobileContent .re_commentor_left{
        display: flex; 
        justify-content: flex-start; 
        align-items: center;
    }

    .mobileContent .commentor_img{
        width: 40px; height: 40px;
        min-width: 40px; min-height: 40px;  
        border-radius: 70%; 
        /* border: 1px solid rgba(128, 128, 128, 0.124); */
        background-color: gray; 
        /* background-size: cover; 
        background-repeat: no-repeat; 
        background-position: center center; */
        overflow: hidden;
    }
    .mobileContent .re_commentor_img{
        width: 40px; height: 40px;
        min-width: 40px; min-height: 40px;  
        border-radius: 70%; 
        /* border: 1px solid rgba(128, 128, 128, 0.124); */
        background-color: gray; 
        /* background-size: cover; 
        background-repeat: no-repeat; 
        background-position: center center; */
        overflow: hidden;
    }

    .mobile_commentor_img{
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
    .mobile_re_commentor_img{
        object-fit: cover;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .mobileContent .commentor_right{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 15px 0 10px;
    }
    .mobileContent .re_commentor_right{
        width: unset;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 15px 0 10px;
    }

    .mobileContent .commentor_btns{
        margin: 0 15px 0px 10px;
        font-size: 13px;
        color: rgba(248, 78, 78, 0.8);
        padding-bottom: 15px;
    }
    .mobileContent .re_commentor_btns{
        margin: 0 15px 0px 10px;
        font-size: 13px;
        color: rgba(248, 78, 78, 0.8);
        padding-bottom: unset;
    }

    .mobileContent .commentor_name{
        margin-left: 7px;
        /* max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis; */
        white-space: nowrap;
    }
    .mobileContent .re_commentor_name{
        margin-left: 7px;
        /* max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis; */
        white-space: nowrap;
    }
     
    .mobileContent .re_comment_date{
        font-size: 12px;
        color: rgba(255, 255, 255, 0.522);
    }

    /* 대댓글 */
    .mobileContent .recomment{
        margin: 5px 0 0px 10px;
    }

    /* .mobileContent .comment_commentbox{
        display: flex;
    } */

    .mobileContent .recomment p{
        white-space: pre-line; 
        word-break: break-all; 
        line-height: 25px; 
        font-size: 16px;
    }

    .mobileContent .recommentBtn{
        cursor: pointer; 
        color: rgb(195, 195, 195); 
        font-size: 12px; 
        line-height: 25px; 
        vertical-align: bottom;
        margin: 5px 0 0px 10px;
        white-space: nowrap;
    }

    .mobileContent .recomment_div{
        border: none; 
        background-color: transparent; 
        width: 100%; 
        align-items: center;
    }

}

@media screen and (max-width: 500px) {
    .menu_back_btn{
        color: white; 
        position: absolute; 
        top: 15px; 
        left: 20px; 
        font-size: 24px;
      }
      
    .menu_back_btn img{
        width: 26px; 
        filter: invert(100%); 
        cursor: pointer;
      }

    .modal{
        width: 100%;
    }

    .deskContent{
        display: none;
    }

    .mobileContent{
        display: block;
        /* padding-top: 55px; */
    }

    .mobileContent .popup_div{
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: black;
        max-width: unset;
        margin: auto;
        position: relative;
    }

    .mobileContent .popup_div img{
        width: 100%;
        max-width: 100%;
    }

    .mobileContent .comment p{
        line-height: 20px;
        font-size: 14px;
    }
}