body{
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
}
#comment-box{
    display: flex;
    margin: 8px;
    padding: 8px;
    justify-content: center;
    flex-direction: column;
    border: 1px dashed gray;
    background-color: rgb(232 232 232);
}
#comment-border{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
#comment-info{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3px 0 8px 0;
}
.limit-count{
    color: #666;
    font-size: 14px;
}
#comment-text{
    background-color: white;
    box-sizing: border-box;
    min-height: 72px;
    box-shadow: inset 1px 1px 2px rgb(219, 219, 219);
    border: 1px solid rgb(175, 175, 175);
    outline: none;
    padding: 5px;
}
.nike-name{
    display: flex;
}
#nikename{
    margin-right: 5px;
}
.bt-box{
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bt-box button{
    width: 58px;
}
.bt-box span{
    text-align: center;
    height: 18px;
    line-height: 10px;
    width: 22px;
    color: rgb(185, 185, 185);
    border: 1px solid rgb(167, 167, 167);
    border-radius: 3px;
    cursor: pointer;
}
.bt-box span:hover{
    background-color: rgb(210, 210, 210);
}
#comment-list{
    color: rgb(66, 66, 66);
    margin: 8px;
}
.comment-item{
    margin: 8px 0;
    padding: 3px;
    border: 1px solid rgb(215, 215, 215);
    border-bottom: 2px solid rgb(215, 215, 215);
}
.item-info{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: bolder;
    margin-bottom: 10px;
    color: rgb(98, 98, 98);
}
.item-content{
    text-align: justify;
    font-size: 14px;
    word-break: break-word;
    line-height: 1.6em;
    white-space: pre-line;
}
.item-date{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: gray;
}
.item-date span:first-child{
    color: green;
}
.comment-gate{
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.nav{
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}
.nav-item{
    font-size: 14px;
    color: #666;
    display: inline-block;
    text-align: center;
    margin: 0 3px;
    padding: 0 2px;
    border: 1px solid rgb(180, 180, 180);
    border-radius: 3px;
    cursor: pointer;
}
.nav input{
    margin: 0 3px;
    padding: 0 2px;
    width: 38px;
}
.c-skyblue{
    background-color: rgb(232 232 232);
}
.check{
    display: flex;
    align-items: center;
    margin-left: 8px;
}
.check span{
    margin-right: 5px;
}
.check input{
    width: 36px;
    text-align: center;
}
.top-title{
    font-weight: bold;
    color: #666;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    margin: 4px 8px 0px 8px;
}
.rsp{
    color: transparent;
}
.comment-item:hover .rsp{
    color: rgb(98, 98, 98);
    cursor: pointer;
}
#board-close{
    cursor: pointer;
}
.item-edit{
    display: flex;
}
.item-edit span{
    margin-left: 3px;
    cursor: pointer;
}
.login-mode{
    display: flex;
}
.count-out{
    color: red;
}
@media screen and (min-width: 650px) {
    body{
        background-color: rgb(249, 229, 169);
    }
    #comment{
        margin: 8px auto;
        padding: 5px;
        max-width: 650px;
        background-color: #fff;
        box-shadow: 0 0 3px gray;
        border-radius: 3px;
    }
    #board-close{
        display: none;
    }
}

@media screen and (max-width: 440px) {
    .limit-count{
        display: inline-block;
        margin-top: 8px;
    }
    #board-close{
        display: none;
    }
}