#modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 9101;
}

.async_comment_box {
    border-radius: 4px;
    position: relative;
    background-color: rgb(85, 85, 85);
    background-color: rgba(85, 85, 85, 0.75);
    position: fixed;
    z-index: 9994;
    bottom: 3%;
    right: 2%;
    padding: 15px 5%;
    bottom: 10px;
}

.async_comment_box:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    z-index: 9994;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: rgba(85, 85, 85, 0.75);
    border-width: 10px;
    margin-left: -20px;
}

#comment_wrap_head {
    height: 100%;
}

#comment_wrap {
    border: solid 1px #E6E6E6;
    border-radius: 25px;
    width: 60%;
    min-width: 260px;
    min-height: 300px;
    max-height: 580px;
    margin: 0;
    padding: 0;
    background-color: rgb(249, 249, 249);
    background-color: rgba(249, 249, 249, 0.9);
    display: none;
    font-size: 62.5%;
    z-index: 9997;
    display: none;
    z-index: 9997;
    top: 50px;
    left: 100px;
    right: 0;
    left: 0;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
}

#comment_header {
    background-color: rgb(170, 170, 170);
    background-color: rgba(170, 170, 170, 0.9);
    font-weight: bold;
    color: #fff;
    padding: 10px 0;
    font-size: 20px;
    line-height: 20px;
    border-radius: 25px 25px 0 0;
    text-align: center;
}

#comment_list {
    height: 280px;
    background-color: rgb(249, 249, 249);
    background-color: rgba(249, 249, 249, 0.9);
    color: #444;
    overflow-y: scroll;
    text-align: left;
    margin-bottom: 0;
}

#comment_ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#comment_ul li {
    margin-top: 20px;
    clear: both;
}

.comment_data {
    border: solid 2px #EDEDED;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 5px 10px 5px 60px;
    padding: 10px 7px;
    line-height: 16px;
    font-size: 15px;
}

.comment_data_left {
    border: solid 2px #EDEDED;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 5px 10px;
    padding: 10px 7px;
    line-height: 16px;
    font-size: 15px;
    float: left;
    width: 70%;
}

@media screen and (min-width:350px) {
    .comment_data_left {
        border: solid 2px #EDEDED;
        background-color: #ffffff;
        border-radius: 10px;
        margin: 5px 10px;
        padding: 10px 7px;
        line-height: 16px;
        font-size: 15px;
        float: left;
        width: 75%;
    }
}

@media screen and (min-width: 600px) {
    .comment_data_left {
        border: solid 2px #EDEDED;
        background-color: #ffffff;
        border-radius: 10px;
        margin: 5px 10px;
        padding: 10px 7px;
        line-height: 16px;
        font-size: 15px;
        float: left;
        width: 85%;
    }
}

@media screen and (min-width: 1400px) {
    .comment_data_left {
        border: solid 2px #EDEDED;
        background-color: #ffffff;
        border-radius: 10px;
        margin: 5px 10px;
        padding: 10px 7px;
        line-height: 16px;
        font-size: 15px;
        float: left;
        width: 90%;
    }
}

.c_profile_img_left {
    float: left;
    margin-left: 10px;
}

.c_profile_img_right {
    margin-left: 10px;
}

.c_profile_img {
    margin-top: 10px;
    max-width: 45px;
}

.small {
    font-size: 12px;
}

.comment_form {
    color: #444444;
    margin-bottom: 0;
    width: 100%;
    position: absolute;
    left: 0;
}

.comment_input {
    border-radius: 2px;
    border: solid 2px #EDEDED;
    padding: 5px 0;
    width: 98%;
    margin: 2px 5px;
    font-size: 14px;
    font-weight: 400;
    display: inline;
}

#comment_nickname {
    width: 58%;
    padding: 10px 5px;
    display: inline;
    margin-top: 5px;
    margin-bottom: 15px;
}

#img_filtering_wrapp {
    float: left;
    margin: 0;
    margin: 2px 5px 0 2px;
    height: 36px;
    border: solid 2px #EDEDED;
    line-height: 0;
}

#comment_keystring {
    padding: 10px 5px;
    display: inline;
    width: 83%;
    margin: 2px 5px;
}

.inline {
    width: 80%;
    text-align: left;
    margin: 0;
    display: inline;
}

.right {
    text-align: right;
    margin-right: 1%;
}

.left {
    text-align: left;
}

.pallet {
    width: 15%;
    border-radius: 2px;
    border: solid 1px #DDDDDD;
    background-color: rgb(7, 35, 80);
    background-color: rgba(7, 35, 80, 0.9);
    color: #FFFFFF;
    padding: 10px 0;
    width: 10%;
    margin: 0 5px;
}

.comment_content {
    background-color: rgb(249, 249, 249);
    background-color: rgba(249, 249, 249, 0.9);
    text-align: left;
    width: 100%;
    border-radius: 0 0 25px 25px;
    margin-bottom: 10px;
}

#comment_submit {
    -webkit-appearance: none;
    background-color: #56c2e1;
    border: 1px solid #46b3d3;
    background-color: rgb(86, 194, 225, 0.9);
    background-color: rgba(86, 194, 225, 0.9);
    border-radius: 5px;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.75) inset;
    color: #ffffff;
    border-radius: 2px;
    padding: 10px 5px;
    width: 33%;
    margin: 2px 5px 2px 5px;
    display: inline;
    font-size: 15px;
}

#comment_submit:hover {
    background-color: #3f9db8;
    border: 1px solid rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) inset;
}

#stamp_body {
    display: none;
    z-index: 9998;
    background-color: rgb(230, 230, 230);
    background-color: rgba(230, 230, 230, 0.9);
    width: 100%;
    top: 40px;
    position: absolute;
    text-align: center;
}

#stamp_list {
    height: 150px;
    overflow-y: scroll;
    margin-bottom: 10px;
}

.close_button {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    border-radius: 4px;
    background-color: rgb(204, 0, 0);
    background-color: rgba(204, 0, 0, 0.9);
    width: 20%;
    padding: 10px 0 10px 0;
    bottom: 0;
    right: 0;
}

.img_box {
    position: relative;
}

.comment_close {
    position: absolute;
    right: -7px;
    top: -7px;
    z-index: 9997;
    opacity: 0.8;
}

#img_filtering {
    height: 36px;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    #comment_wrap {
        width: 98%;
    }
    #img_filtering_wrapp {
        width: 98%;
        margin: 2px 5px 2px 5px;
        text-align: center;
        background-color: #fff;
    }
    #comment_list {
        max-height: 300px;
    }
    .comment_close {
        right: 0;
        top: 0;
    }
    #comment_keystring {
        width: 97%;
    }
    #img_filtering {
        width: 120px;
    }
}

@media screen and (max-width: 480px) {
    #comment_wrap {
        max-height: 450px;
    }
    #comment_list {
        height: 250px;
    }
    #comment_nickname {
        width: 48%;
        font-size: 12px;
    }
}

@media screen and (max-height: 768px) {
    #comment_wrap {
        max-height: 400px;
    }
    #comment_list {
        height: 200px;
    }
}
