.events-body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #000;
    background-image: url("../images/events-page-background.png");
    margin: 0;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-attachment: relative;
    background-position: center top;
}

.bonus-body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #000;
    background-image: url("../images/bonus-page-background.png");
    margin: 0;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-attachment: relative;
    background-position: center top;
}

.events-container {
    width: 100%;
    max-width: 1050px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 35px;
}

/* Clear floats after the columns */
.row-events:after {
    content: "";
    display: table;
    clear: both;
}

.column-events {
    float: left;
    width: 100%;
    padding: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pageevents-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1050px;
    height: 855px;
    position: relative;
    padding: 5px;
}
.pageevents-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pagebonusform-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1050px;
    height: 400px;
    position: relative;
    padding: 5px;
}
.pagebonusform-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.span-service-icon {
    text-align: left;
}

.events-icon {
    width: 100%;
    max-width: 120px;
}

/* 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;
}

.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%;
    height: 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;
}

/* 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;
}

/* Bonus APPLICATION */
.precautions {
    color: white;
    margin-top: 0;
    margin-bottom: 0;
}

.precautions-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.precautions-list {
    color: white;
    font-size: 14px;
    width: 100%;
    text-align: justify;
    text-justify: inter-word;
}
.bonus-table {
    border-collapse: collapse;
    width: 100%;
    height: 100%;
    color: black;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, 0.0);
    text-align: left;
    color: white;
    font-size: 16px;
}

.bonus-table td {
    border: 1px solid #efc223;
    text-align: left;
    padding: 8px;
    padding-left: 10px;
}

.bonus-td-width {
    width: 130px;
}

.dropdown_bonus {
    width: 100%;
    max-width: 345px;
    height: 100%;
    padding: 7px;
    font-size: 16px;
    border-radius: 3px;
    border: none;
}

.dropdown_bonus_sites {
    width: 100%;
    max-width: 345px;
    height: 100%;
    padding: 7px;
    font-size: 16px;
    border-radius: 3px;
    border: none;
}

.input-mess {
    width: 100%;
    max-width: 330px;
    height: 100%;
    padding: 7px;
    font-size: 16px;
    border-radius: 3px;
    border: none;
}

/**************************************/
.btn-bonus {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

.bonus-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;
}

/* 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: 700px;
    margin-bottom: 0;
}
@media screen and (min-width: 0px) and (max-width: 726px) {
    h4{
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.bonus-rule-img-text{
    max-width: 700px;
    display:block;
    margin: auto;
}
@media screen and (min-width: 355px) and (max-width: 435px) {
    .bonus-rule-img-text{
        max-width: 300px;
    }
}
@media screen and (min-width: 0px) and (max-width: 354px) {
    .bonus-rule-img-text{
        max-width: 250px;
    }
}