.messages-body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #000;
    background-image: url("../images/messages-page-background.png");
    margin: 0;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-attachment: relative;
    background-position: center top;
}

.notice-body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #000;
    background-image: url("../images/notice-page-background.png");
    margin: 0;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-attachment: relative;
    background-position: center top;
}

.messages-container {
    width: 100%;
    max-width: 1050px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Clear floats after the columns */
.row-messages:after {
    content: "";
    display: table;
    clear: both;
}

.column-messages {
    float: left;
    width: 100%;
    padding: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pagemessages-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1050px;
    height: 830px;
    position: relative;
    padding: 5px;
}
.pagemessages-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pagenotice-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1050px;
    height: 895px;
    position: relative;
    padding: 5px;
}
.pagenotice-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.span-service-icon {
    text-align: left;
}

.messages-icon {
    width: 100%;
    max-width: 150px;
}

/* TRANSACTION NAVBAR */
.transaction-navbar {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
}
.bar-item {
    background-color: #efc223;
    float: left;
    height: 100%;
    color: black;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
    padding: 5px 20px 5px 20px;
    border: 1px solid #000;
    transition: 0.3s;
    text-decoration: none;
}

/* Change background color of buttons on hover */
.service-bar button:hover {
    background-color: #afa43f;
}

.deposit-btn {
    border-radius: 4px 0px 0px 4px;
}
.transfer-btn {
    border-radius: 0px 4px 4px 0px;
}

.messages-wrap {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    border: 2px solid #efc223;
}

/* Message and FAQ Body */
/* Messages */
.message_box{
    /*display: none;*/
}
.inbox-table {
    border-collapse: collapse;
    color: white;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    font-size: 16px;
}

.inbox-table td{
    border: 1px solid #efc223;
    text-align: left;
    padding: 8px;
}

.mess-td-width {
    width: 100px;
    padding: 8px;
}

.line {
    border: 1px solid #efc223;
    width: 100%;
    margin-top: 20px;
}

.input-subj {
    text-align: left;
    width: 99%;
    height: 30px;
    padding-left: 5px;
}

.textbox-orig {
    text-align: left;
    color: #5a5a5a;
    width: 99%;
    height: 180px;
}
.noticenum{
    font-size: 20px;
}
.btn-mess {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 15px;
}

.mess_submit {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #efc223;
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 120px;
    height: 40px;
    font-size: 16px;
    border-radius: 3px;
    text-align: center;
}

.cancel {
    background-color: gray;
    font-family: 'Noto Sans KR', sans-serif;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 120px;
    height: 40px;
    font-size: 16px;
    border-radius: 3px;
    text-align: center;
}

.msg-delete {
    background-color: #d4d7dd;
    font-family: 'Noto Sans KR', sans-serif;
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 120px;
    height: 30px;
    font-size: 16px;
    border-radius: 3px;
    text-align: center;
    float: right;
    margin-top: 5px;
    margin-bottom: 15px;
    margin-right: 10px;
}
/* Messages */
.hide{
    display: none;
}
.reply-table {
    border-collapse: collapse;
    color: white;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

.reply-table td{
    border: 1px solid gray;
    text-align: left;
    padding: 8px;
}

.reply-table tr {
    background-color: black;
}

.mess-td-width {
    width: 100px;
}
.reply-div {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow-y: hidden;
}

.inbox-reply {
    border-collapse: collapse;
    color: black;
    font-weight: bold;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.inbox-reply td{
    border: 1px solid #efc223;
    text-align: left;
    padding: 8px;
    font-size: 16px;
}
.textbox-customer-reply{
    background-color: white;
    font-weight: bold;
    text-align: left;
    float: left;
    width: 100%;
    height: 100px;
    border-left: 1px solid gray;
}
.reply-td{
    width: 100px;
}

.mess-sender {
    background-color: #efc223;
    font-weight: bold;
    text-align: left;
    float: left;
    width: 100px;
    padding: 10px;
    white-space: nowrap;
}

.mess-reply {
    background-color: #efc223;
    text-align: left;
    float: left;
    width: 100%;
    max-width: 840px;
    height: 100px;
    border-left: 1px solid gray;
}
.textbox-reply {
    background-color: #efc223;
    font-weight: bold;
    text-align: left;
    float: left;
    width: 100%;
    height: 100px;
    border-left: 1px solid gray;
    padding: 10px;
}
@media screen and (min-width: 421px) and (max-width: 600px){
    .mess-reply {
        height: 135px;
    }
    .textbox-reply {
        height: 160px;
    }
    .mess-datesent{
        display: none;
    }
}
@media screen and (min-width: 52px) and (max-width: 420px){
    .mess-reply {
        height: 135px;
    }
    .textbox-reply {
        width: 300px;
        height: 160px;
    }
    .mess-datesent{
        display: none;
    }
}
.mess-datesent {
    background-color: #efc223;
    font-weight: bold;
    text-align: center;
    float: left;
    width: 180px;
    border-left: 1px solid gray;
    padding: 10px;
    white-space: nowrap;
}
.confirm_btn {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #efc223;
    color: black;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 120px;
    height: 40px;
    font-size: 16px;
    border-radius: 3px;
    text-align: center;
}
.inbox {
    border-collapse: collapse;
    color: #000;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.inbox th {
    padding: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #efc223;
    color: black;
}

.inbox td {
    cursor: pointer;
    padding: 8px;
    text-align: center;
}

.inbox tr {
    padding: 8px;
    border-bottom: 1px solid #efc223;
    background-color: white;
}

.inbox tr:hover {
    color: #efdf4e;
    font-weight: bold;
    background-color: #950011;
}

.checkbox-td{
    width: 60px;
}

.check_del{
    outline: 1px solid gray;
}

/* Pagination */
.colpagination {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pagination {
    display: inline-block;
    background-color: white;
    border: 2px solid #efc223;
    border-radius: 5px;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    font-size: 12px;
}

.pagination a.active {
    background-color: #950011;
    color: white;
    border: 1px solid #efc223;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

/* EVENTS */

.events-wrap {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    border: 2px solid #efc223;
}

.events-table {
    border-collapse: collapse;
    color: black;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #efc223;
}

.events-table th {
    font-size: 18px;
    text-align: center;
    background-color: #efc223;
    color: black;
    padding: 10px;
    font-weight: bold;
}

.events-table td {
    padding: 10px;
    text-align: center;
    font-size: 17px;
}

.events-table tr {
    padding: 8px;
    border-bottom: 1px solid #efc223;
    background-color: white;
}

/*.events-table tr:nth-child(even) {
    background-color: #eae9e9;
}

.events-table tr:nth-child(odd) {
    background-color: #fffdf9;
}*/

.note {
    cursor: pointer;
}

.events-table tr:hover {
    color: #efdf4e;
    font-weight: bold;
    background-color: #950011;
}
/* Sample Notice */
.note-let-table {
    border-collapse: collapse;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: black;
}

.note-let-table th {
    font-size: 20px;
    text-align: center;
    background-color: #efc223;
    color: black;
    font-weight: bold;
    padding: 8px;
}

.note-let-table td {
    padding: 20px;
    text-align: justify;
    text-justify: inter-word;
    background: white;
}

.noticedate {
    text-align: right;
    font-size: 20px;
    margin: 0;
}
.bonus-rule-img{
    width: 100%;
    max-width: 700px;
    display:block;
    margin: auto;
    background-color: white;
}
.back {
    float: right;
    background-color: gray;
    cursor: pointer;
    width: 100%;
    max-width: 100px;
    height: 100%;
    padding: 7px;
    border-radius: 3px;
    border: none;
    color: white;
    text-align: center;
}

.notice-content {
    margin-top: 0;
    font-size: 22px;
    font-weight: normal;
    height: auto;
    margin-bottom: 0;
}
@media screen and (min-width: 0px) and (max-width: 726px) {
    h4{
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/* Evaluation */
.evaluation-div{
    background-color: #000000;
    color: white;
    text-align: center;
    border-bottom: 1px solid #efc223;
    padding: 8px;
}
.evaluation-text{
    color: white;
    text-align: center;
}
.thumbsup-icon, .thumbsdown-icon{
    width: 100%;
    max-width: 100px;
    cursor: pointer;
    padding-right: 10px;
    padding-top: 10px;
}
#up_icon, #down_icon{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}