.text-bold {
    font-weight: bolder;
}

.text-nowrap {
    white-space: nowrap;
}

.text-red {
    color: red;
    font-size: 12px;
}

.text-primary {
    color: #5179d6;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.scrollable {
    overflow: auto;
}

.btn-full {
    width: 100%;
}

.btn-min-width {
    min-width: 100px;
}

#loading {
    z-index: 2;
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    background-color: #000;
    display: none;
    opacity: .6;
}

@media only screen and (max-width: 600px) {
    .btn-date{
        max-width: 110px !important;
    }
}

/*-------------------------------------------/
/             Reports                        /
/-------------------------------------------*/
.filter table {
    width: 100%;
}

.filter table td:last-child {
    width: 100%;
    padding: 5px 0;
}

.filter table td {
    width: 1%;
    padding: 5px 5px 5px 0;
    /*        white-space: nowrzap;*/
}

.filter .advanced-toggle i {
    margin-left: 5px;
}

.btn-date {
    border: 1px solid #d5dce1;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out;
    background-color: .15s ease-in-out;
    border-color: .15s ease-in-out;
    box-shadow: .15s ease-in-out;
}

.btn-display {
    padding: 5px 15px;
}

.report-scroll-hidden {
    overflow: hidden;
}

.report-table {
    text-align: right;
    width: 100%;
    margin-top: 10px;
    white-space: nowrap;
    line-height: 0.5 !important;
}

.report-table tr:hover {
    background-color: #87ceeb;
    color: white; 
}

.report-table thead th {
    text-transform: uppercase;
}

.report-table thead th:first-child {
    text-align: left;
}

.report-table tbody td:first-child {
    text-align: left;
}

.report-table thead tr {
    font-weight: bold;
    color: #fff;
    background-color: #5179d6;
}

.report-table tbody td:last-child {
    text-align: right;
    font-weight: bold;
}

.report-table tfoot {
    font-weight: bold;
    color: #fff;
    background-color: #5179d6;
    text-transform: uppercase;
}

.report-table tfoot td:first-child {
    text-align: left;
}

.report-table th,
.report-table td {
    border: 1px solid #999;
    padding: 0.5rem;
}

.report-title {
    color: #5179d6;
    font-size: 20px;
    font-weight: bolder;
}

#report-users table tbody td:nth-child(1),
#report-users table tbody td:nth-child(2),
#report-users table tbody td:nth-child(3),
#report-users table tbody td:nth-child(4),
#report-users table tbody td:nth-child(16),
#report-users table tbody td:nth-child(17){
    text-align: left;
}

#report-users table tbody td:nth-child(5),
#report-users table tbody td:nth-child(6) {
    color: #3F51B5;
}

#report-users table tbody td:nth-child(7),
#report-users table tbody td:nth-child(8) {
    color: #F44336;
}

#report-users table tbody td:nth-child(9) {
    color: #388E3C;
}

#report-users table tbody td:nth-child(10),
#report-users table tbody td:nth-child(11) {
    color: #F57C00;
}

#report-users table tbody td:nth-child(12),
#report-users table tbody td:nth-child(13) {
    color: #0097A7;
}

#report-users table tbody td:nth-child(14),
#report-users table tbody td:nth-child(15) {
    color: #9C27B0;
}

.report-users tr:hover { 
    cursor: pointer;
}

.report-users table {
    margin: 0 auto;
    width: 100%;
    clear: both;
    border-collapse: collapse;
    table-layout: fixed; 
    word-wrap: break-word; 
    font-size: 12px;
}

.report-users table th{ 
    font-size: 10px;
} 

.report-users table thead tr:nth-child(1) th:nth-child(1){ 
    width: 60px;
}

.report-users table thead tr:nth-child(1) th:nth-child(2){ 
    width: 150px;
}

.report-users table thead tr:nth-child(1) th:nth-child(3){ 
    width: 80px;
}

.report-users table thead tr:nth-child(1) th:nth-child(4){ 
    width: 10px;
}

.report-users table thead tr:nth-child(1) th:nth-child(11), .report-users table thead tr:nth-child(1) th:nth-child(12){ 
    width: 60px;
}


.report-users table thead tr:nth-child(2) th.col-count{
    /* color: red; */
    width: 10px !important;
} 

/*transaction report*/
#transactions-list table thead th {
    font-weight: bold;
    color: #fff;
    background-color: #5179d6;
}

#promo_list_table.history{
    width: 100% !important;
    margin-top: 10px;
    font-size: 13px; 
    white-space: nowrap;
    display: block;
}

/* #### iPhone 5 Portrait or Landscape #### */
@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2){
    /* some CSS here */
  }
  
/* #### iPhone 6 and 6 plus Portrait or Landscape #### */
@media (min-device-height: 667px) and (min-device-width: 375px) and (-webkit-min-device-pixel-ratio: 3){
/* some CSS here */
}

/*-------------------------------------------/
/             Popup window                   /
/-------------------------------------------*/

#users-betHistory, #users-commission, #users-credit, #users-setting, #users-problem, #users-details, #users-game, #users-log, #users-forfeit {
    display: none;
} 

#popupwindow {
    position: fixed;
    top: 55px;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    opacity: 0;
    -webkit-transition: opacity .3s;
}

#popupwindow > .wrapper {
    position: relative;
    overflow: hidden;
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 50%);
}

#popupwindow > .wrapper > .head {
    font-weight: 700;
    color: #5179d6;
    /*    color: #F44336;*/
    border-bottom: 2px solid;
    padding-bottom: 10px;
}

#users-profile > .link {
    color: #3F51B5;
    text-decoration: underline;
    padding: 5px 5px 5px 0;
    display: inline-block;
    cursor: pointer;
}

#users-transaction .filter {
    width: 100%;
    margin-bottom: 10px;
} 

#users-betHistory .filter {
    width: 100%;
} 

#users-betHistory .stats {
    margin-top: 10px;
    font-weight: 700;
}

#users-betHistory .link {
    color: #3F51B5;
    font-weight: 700;
    cursor: pointer;
    margin: 5px 10px 0 0;
    display: inline-block;
}

#users-commission .filter {
    width: 100%;
    margin-bottom: 10px;
}

#users-commission .btn {
    width: 100px;
} 

#users-credit .filter {
    width: 100%;
}

#users-credit .btn {
    margin-top: 10px;
}

#users-profile > .btn {
    width: 110px;
    margin: 10px auto 0;
}

#users-problem .filter {
    width: 100%;
} 

#users-details {
    overflow: hidden;
    margin-top: -5px;
} 

.site-credit {
    background-color: #5179d6;
    color: white;
}

.display-table{
    display: table !important;
}

@media only screen and (max-width: 600px) {
    .display-table{
        display: block !important;
    }
}

@media only screen and (max-width: 400px) {
    .display-table{
        display: block !important;
    }
}

#users-transaction-table.history, #users-betHistory-table.history, #users-commission-table.history, #users-problem-table.history, #users-log-table.history, #users-game-table.history, #users-forfeit-table.history{
    width: 100% !important;
    
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5 !important;
}

#users-problem-info-table tbody td:nth-child(1),
#users-problem-info-table tbody td:nth-child(2),
#users-problem-info-table tbody td:nth-child(3),
#users-problem-info-table tbody td:nth-child(4),
#users-problem-info-table tbody td:nth-child(5),
#users-problem-info-table tbody td:nth-child(6){
    text-align: right;
}

/* ----------- modal confirm ------------------*/
.modal-confirm {
    color: #434e65;
    width: 525px;
}

.modal-confirm .modal-content {
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
}

.modal-confirm .modal-header {
    background: #47c9a2;
    border-bottom: none;
    position: relative;
    text-align: center;
    margin: -20px -20px 0;
    border-radius: 5px 5px 0 0;
    padding: 35px;
}

.modal-success .modal-header {
    background: #47c9a2;
    border-bottom: none;
    position: relative;
    text-align: center;
    margin: -20px -20px 0;
    border-radius: 5px 5px 0 0;
    padding: 35px;
}

.modal-failed .modal-header {
    background: #e85e6c;
    border-bottom: none;
    position: relative;
    text-align: center;
    margin: -20px -20px 0;
    border-radius: 5px 5px 0 0;
    padding: 35px;
}


.modal-confirm h4 {
    text-align: center;
    font-size: 36px;
    margin: 10px 0;
}

.modal-confirm .form-control,
.modal-confirm .btn {
    min-height: 40px;
    border-radius: 3px;
}

.modal-confirm .close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    text-shadow: none;
    opacity: 0.5;
}

.modal-confirm .close:hover {
    opacity: 0.8;
}

.modal-confirm .icon-box {
    color: #fff;
    width: 95px;
    height: 95px;
    display: inline-block;
    border-radius: 50%;
    z-index: 9;
    border: 5px solid #fff;
    padding: 15px;
    text-align: center;
}

.modal-confirm .icon-box i {
    font-size: 64px;
    margin: -4px 0 0 -4px;
}

.modal-confirm.modal-dialog {
    margin-top: 80px;
}

.modal-confirm .btn,
.modal-confirm .btn:active {
    color: #fff;
    border-radius: 4px;
    background: #eeb711 !important;
    text-decoration: none;
    transition: all 0.4s;
    line-height: normal;
    border-radius: 30px;
    margin-top: 10px;
    padding: 6px 20px;
    border: none;
}

.modal-confirm .btn:hover,
.modal-confirm .btn:focus {
    background: #eda645 !important;
    outline: none;
}

.modal-confirm .btn span {
    margin: 1px 3px 0;
    float: left;
}

.modal-confirm .btn i {
    margin-left: 1px;
    font-size: 20px;
    float: right;
}
