.game-category-body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #000;
    background-image: url("../images/gdpage-background.png");
    margin: 0;
    width: 100%;
    padding-top: 150px;
    height: auto;
    background-repeat: no-repeat;
    background-attachment: relative;
    background-position: center top;
}
.referral-container {
    font-family: 'Noto Sans KR', sans-serif;
    border-collapse: collapse;
    overflow-x: auto;
    width: 100%;
    max-width: 1050px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, 0.0);
    font-size: 16px;
}

/* Clear floats after the columns */
.row-referral:after {
    content: "";
    display: table;
    clear: both;
}

.column-referral {
    float: left;
    width: 100%;
    padding: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pagereferral-container{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1050px;
    height: 900px;
    position: relative;
    padding: 5px;
}
.pagereferral-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.referral-table{
    margin: 10px;
    border: 1px solid #efc223;
    border-radius: 5px 5px 5px 5px;
}
.referral-header-img{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px 5px 0px 0px;
}
.ref-linkgen{
    text-align: left;
    padding: 8px;
    background-color: white;
    color: black;
    position: relative;
}

.ref-linkgen-wrapper {
  position: relative;
}
 
.ref-link-input {
  width: 100%;
  background-color: #370303;
  color: white;
    border-radius: 5px 5px 5px 5px;
    display: inline-block;
    border: 2px solid #efc223;
}

.ref-link-btn {
  position: absolute;
  background-color: #efc223;
  display: inline-block;
  right: 8px;
  top: 32px;
  width: 100%;
    max-width: 80px;
  color: #000000;
  cursor: pointer;
  text-align: center;
    border-radius: 0px 5px 5px 0px;
    border: none;
    padding: 3px;
}

.ref-buttons-div{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.ref-btntable{
    width: 100%;
    max-width: 700px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ref-btntable td{
    width: 50%;
    padding: 10px;
}
.ref-number, .ref-bonus{
    width: 100%;
    max-width: 350px;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    font-weight: bold;
    font-size: 40px;
    border-radius: 5px 5px 0px 0px;
    text-align: center;
    border: none;
}
.ref-reco, .ref-totalbonus{
    width: 100%;
    max-width: 350px;
    height: 100%;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    background-color: #efc223;
    border: none;
    border-radius: 0px 0px 5px 5px;
    text-align: center;
}
.ref-bonus, .ref-totalbonus{
    cursor: initial !important;
}

.ref-tables-div{
    display: none;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
    padding-left:10px;
    padding-right:10px;
}

.ref-tables{
    width: 100%;
    max-width: 900px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.ref-table-rules{
    width: 97%;
    height: 100%;
}
.ref-table-rules th{
    background-color: #efc223;
    font-weight: bold;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
    padding: 8px;
}
.ref-table-rules td{
    background-color: #ffffff;
    text-align: left;
    padding: 5px 10px 5px 15px;
}
.referral-click-img{
    position: absolute;
    width: 100%;
    max-width: 50px;
    top: 75px;
    right: 75px;
    cursor: pointer;
}
.ref-table-amount{
    width: 100%;
    height: 100%;
}

.ref-table-amount th{
    background-color: #efc223;
    font-weight: bold;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
    padding: 9px;
}
.ref-table-amount td{
    background-color: #ffffff;
    text-align: center;
    padding: 10.1px 20px 10.1px 20px;
}

.ref-bonuslist-div{
    display: block;
    width: 100%;
    max-width: 920px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    border-radius: 5px;
    padding-left:10px;
    padding-right:10px;
}
.ref-bonuslist-title{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}
.referral-bonuslistheader-img{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px 5px 0px 0px;
}
.ref-filter-div{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-top: 10px;
    background-color: white;
}
.ref-backtorules-btn{
    width: 100%;
    max-width: 160px;
    background-color: #FFF9B6;
    border: 2px solid #efc223;
    border-radius: 3px;
    white-space: nowrap;
}
/*.ref-filter-div{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 10px;
    background-color: white;
}
.ref-filter-table{
    width: auto;
    margin-right: 25px;
    margin-left: auto;
}
.ref-filter-table tr{
    width: 50%;
    display: inline-block;
}
.ref-filter-table td{
    padding-right: 15px;
    color: black;
    text-align: center;
}
.ref-backtorules-btn{
    width: 100%;
    max-width: 130px;
    background-color: #FFF9B6;
    border: 2px solid #efc223;
    border-radius: 3px;
    white-space: nowrap;
}
.dropdown-filter-sites{
    width: 140px;
    white-space: nowrap;
}
.ref-receive-btn{
    width: 100%;
    max-width: 130px;
    background-color: #efc223;
    border: none;
    border-radius: 3px;
    white-space: nowrap;
}
*/
.ref-bonuslist-tablediv{
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    background-color: white;
    border-radius: 0px 0px 5px 5px;
    padding-bottom: 25px;
}
.ref-bonuslist-table{
    width: 100%;
    max-width: 800px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #efc223;
    background-color: white;
}
.ref-bonuslist-table tr:nth-child(odd) {
    background-color: #FFF9B6;
}
.ref-bonuslist-table th{
    width: 16.66%;
    background-color: #F4E185;
    border: 1px solid #efc223;
}
.ref-bonuslist-table td{
    border: 1px solid #F4E185;
    padding: 5px;
}
.dropdown-table-sites{
    max-width: 120px;
}
.request-btn{
    width: 100%;
    background-color: #FEE440;
    border: none;
    border-radius: 3px;
    border: 1px solid #efc223;
}
#completedRequest{
    background-color: #C8C6C6;
}

/* 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;
}
