/* Login Page CSS Start */

.login-title {
    margin-bottom: 0;
    color: #fff;
    line-height: 35px;
}

.login-subtitle {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
}

.login-secure-url {
    color: rgb(0, 250, 0);
}

.login-url-well {
    display: inline;
    font-size: 14px;
    padding: 5px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    background: rgba(119, 119, 119, 0.4);
    border-color: transparent;
}

.login-page {
    /* background: url('/img/bg.jpg') no-repeat center center fixed; */
    background-image: linear-gradient(to top, #86377b 20%, #27273c 80%);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.login-box-body {
    background: transparent;
}

.sign-in-btn {
    background-color: #ff6100;
    border-color: #ff6100;
}

.sign-in-btn:hover {
    background-color: #EF6000;
}

.sign-in-btn:active {
    background-color: #EF6000;
}

.sign-in-btn:active:hover {
    background-color: #EF6000;
}

.login-box {
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100 !important;
}

.fingerprint-alert {
    padding-top: 15px;
}

/* Login Page CSS End */

/* Forms CSS Start */

.fp_bypass-checkbox #fp_bypass {
    position: relative;
}

.select_all-checkbox #select_all {
    position: relative;
}

.select_by-checkbox #select_by {
    position: relative;
}

.old-new-table th,
.old-new-table td {
    border: 1px solid black !important;
}

.permission-checkboxes {
    vertical-align: top;
}

.select2-selection--multiple {
    border-radius: 0px !important;
    border: 1px solid #d2d6de !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f4f4f4;
    color: black;
}

.form-radio {
    padding-right: 10px;
}

.date-range {
    display: inline;
    width: 150px;
    margin-left: 10px;
    margin-right: 10px;
}

.select2-container .select2-search--inline .select2-search__field {
    padding: 1px;
}

.member-table th {
    border-top: 0px solid #dddddd;
    border-right: 0px solid #dddddd;
}

.member-table th:first-child {
    border-left: 0px solid #dddddd;
}

.member-table td {
    padding-top: 5px;
    text-align: center;
    padding-left: 10px;
}

.product-username-table tr>td>input {
    width: 50%;
    margin: auto;
}

.member-table {
    margin-left: 15px;
    min-width: 600px;
    width: 100%;
    margin: auto;
}

.member-table th {
    text-align: center;
}

.member-bank {
    display: inline;
    width: 200px;
    margin-left: 10px;
}

/* select2 for premium link product */
.pl-link-select2 {
    display: inline-block !important;
}

#bank-account {
    overflow-x: auto;
}

#bank-account-btn {
    margin-left: 10px;
    margin-bottom: 5px;
}

.required {
    color: red;
}

.member-other {
    display: inline;
}

.member-other-label {
    min-width: 110px;
}

.member-action-btn {
    padding: 0px 5px 0px 5px;
    font-size: 13.333px;
    margin: 2px
}

i.member-balance {
    font-size: 14px;
}

.form-horizontal .control-label {
    padding-left: 30px;
    text-align: left;
}

.form-group .col-sm-11 {
    padding-left: 30px;
}

.productusername-group button,
.productusername-group input,
.productusername-group a {
    height: 26px;
    padding: 2px 12px;
}

/* Forms CSS End */

/* Sidebar CSS Start */

.sidebar {
    position: inherit;
    top: 100px;
    bottom: 0;
}

@media (min-width: 768px) {
    .sidebar {
        position: inherit;
        top: 50px;
        bottom: 0;
    }
}

.sidebar-menu>div>li>a {
    padding: 12px 5px 12px 15px;
    display: block;
}

.skin-blue .sidebar-menu>div>li>a {
    border-left: 3px solid transparent;
}

.skin-blue .sidebar-menu>div>li.active>a {
    border-left-color: #3c8dbc;
    color: #d19b3d;
}

.skin-blue .sidebar-menu>div>li>a:hover {
    color: white;
}

.sidebar-menu>div>li>a>.far {
    width: 30px;
}

.sidebar-menu>li>a>.parent-logo {
    width: 30px;
}

.sidebar-menu>li>a:hover {
    color: white;
}

.sidebar-menu>div {
    background: #181c20;
}

.skin-blue .sidebar-menu>li:hover>a,
.skin-blue .sidebar-menu>li.active>a,
.skin-blue .sidebar-menu>li.menu-open>a {
    color: #b8c7ce;
}

.parent-menu {
    width: 230px;
}

.arrow-down {
    padding-right: 5px;
}

.categories p {
    color: white;
    margin-left: 15px;
    font-weight: bold;
    font-size: 15px;
}

.categories hr {
    border-top: 1px solid #747474;
    /* margin-left: 15px; */
    margin-top: 0px;
    margin-bottom: 5px;
}

.sidebar-menu>li>a {
    padding: 8px 5px 8px 15px;
}

.sidebar-menu>div>li>a {
    padding: 8px 5px 8px 15px;
}

/* Sidebar CSS End */

/* Datatable CSS Start*/
th {
    border-top: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
}

th:first-child {
    border-left: 1px solid #dddddd;
}

#dataTableBuilder_length:before,
#dataTableBuilder_length:after {
    clear: both;
}

div.dataTables_wrapper div.dataTables_length {
    float: none;
}

.table>caption+thead>tr:first-child>td,
.table>caption+thead>tr:first-child>th,
.table>colgroup+thead>tr:first-child>td,
.table>colgroup+thead>tr:first-child>th,
.table>thead:first-child>tr:first-child>td,
.table>thead:first-child>tr:first-child>th {
    border-top: 1px solid #dddddd;
}

#dataTableBuilder tfoot>tr>td {
    padding: 10px 10px 10px 10px;
}

table.dataTable tbody tr.withdraw-ticket {
    background-color: #FF9999;
    color: black;
}

table.dataTable tbody tr.withdraw-ticket:hover {
    background-color: rgb(253, 116, 116);
}

table.dataTable tbody tr.token-ticket {
    background-color: #94efff;
    color: black;
}

table.dataTable tbody tr.token-ticket:hover {
    background-color: #5be6ff;
}

table.member-transaction.dataTable tbody tr td:nth-child(16),
table.live-ticket.dataTable tbody tr td:nth-child(16),
table.ticket-history.dataTable tbody tr td:nth-child(16),
table.rebate-report-detail.dataTable tbody tr td:nth-child(7) {
    background-color: #fff;
}

table.member-transaction.dataTable tbody tr.status-new td:nth-child(14),
table.live-ticket.dataTable tbody tr.status-new td:nth-child(14),
table.ticket-history.dataTable tbody tr.status-new td:nth-child(14),
table.rebate-report-detail.dataTable tbody tr.status-new td:nth-child(7) {
    background-color: #ffb1b1;
}

table.member-transaction.dataTable tbody tr.status-processing td:nth-child(14),
table.live-ticket.dataTable tbody tr.status-processing td:nth-child(14),
table.ticket-history.dataTable tbody tr.status-processing td:nth-child(14),
table.rebate-report-detail.dataTable tbody tr.status-processing td:nth-child(7) {
    background-color: #81BEF7;
}

table.member-transaction.dataTable tbody tr.status-verified td:nth-child(14),
table.live-ticket.dataTable tbody tr.status-verified td:nth-child(14),
table.ticket-history.dataTable tbody tr.status-verified td:nth-child(14),
table.rebate-report-detail.dataTable tbody tr.status-verified td:nth-child(7) {
    background-color: #ddff00;
}

table.member-transaction.dataTable tbody tr.status-approved td:nth-child(14),
table.ticket-history.dataTable tbody tr.status-approved td:nth-child(14),
table.rebate-report-detail.dataTable tbody tr.status-approved td:nth-child(7) {
    background-color: #C6FFD9;
}

table.member-transaction.dataTable tbody tr.status-reject td:nth-child(14),
table.ticket-history.dataTable tbody tr.status-reject td:nth-child(14),
table.rebate-report-detail.dataTable tbody tr.status-reject td:nth-child(7) {
    background-color: #f583ff;
}

table.dataTable tbody tr:first-child th,
table.dataTable tbody tr:first-child td {
    border-top: none;
}

table.dataTable tbody th,
table.dataTable tbody td {
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

table.dataTable tbody tr th:first-child,
table.dataTable tbody tr td:first-child {
    border-left: 1px solid #ddd;
}

#dataTableBuilder {
    margin-top: 10px;
}

#dataTableBuilder .btn-group .btn {
    margin-left: 5px;
}

/* Datatable CSS End*/

/* Breadcrumb CSS Start */

.breadcrumb {
    margin-bottom: 0px;
    font-size: 14px;
    box-shadow: 1px 1px 1px #9a9a9a1c;
    border-radius: 0px !important;
}

.announcement-icon {
    padding: 0 7px;
    background: #262626;
    height: 100%;
    display: flex;
    align-self: center;
    color: #ffc000;
    align-items: center;
}

.announcement-icon .shake {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 4s;

    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-10deg);
    }

    20% {
        transform: rotate(8deg);
    }

    30% {
        transform: rotate(0deg);
    }

    70% {
        transform: rotate(0deg);
    }

    80% {
        transform: rotate(8deg);
    }

    90% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.announcement-marquee {
    position: relative;
    color: #dadada;
    width: 100%;
    height: 36px;
    background: #383838;
    border: 2px inset rgba(56, 145, 120, 0.1);
    border-left: none;
    border-right: none;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Breadcrumb CSS End */

/* Custom Filters CSS Start */

.status-filter {
    width: auto;
}

.horizontal-filter-label {
    padding-left: 35px;
}

.form-horizontal hr,
.form-inline hr {
    margin-bottom: 0px;
    margin-top: 0px;
}

.form-filter .form-group {
    margin-bottom: 2px;
}

/* Custom Filters CSS End */

/* Fieldset Legends CSS Start */
fieldset.ticket,
fieldset.member,
fieldset.edit {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 0.5em 1.4em !important;
    margin: 0 0 0.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

fieldset.ticket .form-group,
fieldset.member .form-group,
fieldset.edit .form-group {
    margin-bottom: 10px;
}

legend.ticket,
legend.member,
legend.edit {
    font-size: 1em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
    margin-bottom: 5px;
}

/* Fieldset Legends End */

/* Glyphicon CSS Start */

/* .glyphicon {
    font-size: 20px;
} */

.product-username-edit {
    font-size: 14px;
}

.arrow-down {
    font-size: 14px;
    text-align: center;
}

/* Glyphicon CSS End */

/* Ticket Checkbox Start */
div.ks-cboxtags {
    list-style: none;
}

.inline-grid {
    display: inline-grid;
}

.inline-block {
    display: inline-block;
}

div.ks-cboxtags li label {
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(139, 139, 139, .3);
    color: #adadad;
    border-radius: 25px;
    white-space: nowrap;
    margin: 0px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
}

div.ks-cboxtags li label {
    padding: 0px 10px;
    cursor: pointer;
    width: 95px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
}

div.ks-cboxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 6px 2px 2px;
    transition: transform .3s ease-in-out;
}

div.ks-cboxtags li input[type="radio"]:checked+label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

div.ks-cboxtags li input[type="radio"]:checked+label {
    border: 2px solid #55c1ff;
    background-color: #3c8dbc;
    color: #fff;
    transition: all .2s;
}

div.ks-cboxtags li input[type="radio"] {
    display: absolute;
}

div.ks-cboxtags li input[type="radio"] {
    position: absolute;
    opacity: 0;
}

div.ks-cboxtags li input[type="radio"]:focus+label {
    border: 2px solid #4400ff;
}

/**
 * list group styling
 */
div.ks-cboxtags li.list-group-item {
    border: 0;
    padding: 0 2px;
    margin: 0;
}

div.ks-cboxtags div.list-group {
    margin-bottom: 0px;
}

.pretty.p-default:focus-within {
    /* border-color: #3c8dbc; */
    outline: 1px solid #66afe9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    /* margin: 1px; */
    position: relative;
    padding: 2px;
}

.pretty.p-default:focus-within .state label:before,
.pretty.p-default:focus-within .state label:after {
    top: 1px;
}

/* Ticket Checkbox End */

/* Modal CSS Start */

div#productUsernameForm.show {
    opacity: 1;
}

/* Modal CSS End */

/* Live Ticket Table CSS Start*/

.live-ticket thead>tr>th,
.live-ticket tbody>tr>td {
    vertical-align: middle;
}

[v-cloak] {
    display: none;
}

.live-ticket a.live-status:link,
a.live-status:visited,
.ticket-history a.ticket-status:link,
a.ticket-status:visited {
    color: #0055ff
}

/* Live Ticket Table CSS End*/

/**
 * Home page dashboard
 */
.col-dashboard-panel {
    padding-left: 5px;
    padding-right: 5px;
}

.col-dashboard-well {
    margin: 5px;
}

.dashboard-panel-row {
    padding: 10px 10px;
    padding-bottom: 0px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.dashboard-panel-row>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.dashboard-well-row {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

.dashboard-panel-table {
    width: 100%;
}

@media (min-width: 768px) {
    .modal-dialog-announcement {
        width: 980px;
    }
}

@media (min-width: 768px) {
    .modal-dialog-create-ticket {
        width: 700px;
    }
}

/* Home page dashboard End*/

/* Global fix, unsure why Grid.less use fix width */
.container {
    width: auto !important;
}

/* Content ease in animation */
.content-wrapper>.content>* {
    transition: contentIn 0.3s ease-in-out;
    -webkit-transition: contentIn 0.3s ease-in-out;
    animation: contentIn 0.3s ease-in-out;
}

.content-wrapper>.content {
    padding-bottom: 0;
}

.content-wrapper {
    min-height: 100vh !important;
}

.main-footer {
    max-height: 26px;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    background: #f4f4f4
}

body {
    background: #ecf0f5;
}

@keyframes contentIn {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes contentIn {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* Navbar color override */
.skin-blue .main-header .navbar {
    background: #f1f1f1;
    /* fallback for old browsers */
    color: #000 !important;
    box-shadow: 1px 1px 1px #0000001c;
}

/* prevent black screen flicker during navigation */
.skin-blue .wrapper {
    background: #f1f1f1;
}

.skin-blue .main-header .navbar .nav>li>a {
    color: #000000;
}

.skin-blue .main-header .navbar .nav>li>a {
    background: rgba(161, 161, 161, 0.1);
    color: #000000 !important;
    font-weight: 500;
}

.skin-blue .main-header .navbar .sidebar-toggle {
    background: rgba(161, 161, 161, 0.1);
    color: #000000;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.skin-blue .main-header .logo {
    background: #474747;
    /* fallback for old browsers */
}

.skin-blue .main-header .logo:hover {
    background-color: #272727;
}

.skin-blue .main-sidebar,
.skin-blue .left-side {
    background: #232526;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #414345, #232526);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #414345, #232526);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.skin-blue .sidebar-menu>li.active>a {
    border-left-color: #00B4DB;
}

#ui-datepicker-div {
    z-index: 2 !important;
}

.deleted {
    color: rgb(150, 0, 0);
    text-decoration: line-through;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: 0px !important;
}

#dataTableBuilder tbody tr td .side-indicator {
    position: absolute;
    width: 10px;
    left: 0;
    top: 0;
    bottom: 0;
}

table.table-sidebar tbody tr td:first-child {
    position: relative !important;
    padding-left: 0px !important;
    padding-right: 8px !important;
}

.dataTables_wrapper .dataTables_processing {
    padding-top: 8px;
}


/*====================================================
=            Member Edit Fieldset Styling            =
====================================================*/

/* Fieldset container */
.container-member-edit fieldset,
.container-ticket-edit fieldset {
    border: none !important;
    border-top: 1px solid #e3eaff !important;
    box-shadow: 1px 1px 1px 2px #f2f2f2;
    background: #ffffff;
}

/* Fieldset label */
.container-member-edit legend,
.container-ticket-edit legend {
    box-shadow: 2px 2px 2px #e1daff;
    /* background: #e4f8ff; */
    background: #f0ffeb;
    color: #2f4f4f;
}

/* legend title */
legend.ticket-legend {
    font-size: 1em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
    margin-bottom: 5px;
    background: #f0ffeb;
    /* Light green background */
    color: #2f4f4f;
    /* Dark slate color for text */
    box-shadow: 2px 2px 5px rgba(225, 218, 255, 0.6);
    /* Soft box-shadow */
    border-radius: 5px;
    /* Optional: Adds a bit of rounding to the corners */
}

.container-member-new-ticket {
    padding: 0;
}

.container-member-new-ticket .nav-pills>li>a,
.container-member-edit .nav-pills>li>a {
    text-decoration: solid underline #d9d9d9;
}

.container-member-new-ticket .nav-pills>li.active>a,
.container-member-edit .nav-pills>li.active>a {
    text-decoration: none;
    background: #3aa3fe;
    border-radius: 5px;
}

.btn-status {
    background: #8ca58c;
}

.btn-logout {
    background: #a58c8c;
}

.ticket-autofill-container {
    margin-bottom: 10px;
    margin-top: -5px;
    margin-right: -15px;
}

.ticket-autofill-field {
    display: inline;
    padding: 5px;
    background: #e8e8e8;
}

.product-quicksearch-group {
    width: 180px;
    margin: 0 auto;
}

.product-quicksearch-group .input-group-addon {
    padding-left: 5px;
    padding-right: 5px;
}

/*=====  End of Member Edit Fieldset Styling  ======*/


/*=============================================
=            Affiliate Color Label            =
=============================================*/

.affiliate-label-column {
    display: flex;
    flex: 1;
}

.affiliate-label-column>span,
.affiliate-label-column>a {
    flex: 1;
    margin-left: 15px;
}

/*=====  End of Affiliate Color Label  ======*/

/*=======================================================================================
=                                    Custom Bootstrap                                   =
=======================================================================================*/

.d-flex {
    display: flex !important;
}

.h-auto {
    height: auto;
}

/*=============================================
=            Sidebar Search                   =
=============================================*/

.sidebar-search {
    margin: 10px 10px;
    background: transparent !important;
}

.btn-sidebar-search {
    width: 50%;
    background: none;
    color: #fff;
    border-style: solid;
    border-radius: 0px;
    outline: none !important;
    padding: 5px 5px;
}

.btn-sidebar-search:active,
.btn-sidebar-search:focus {
    color: #fff;
    outline: none;
}

.btn-sidebar-search:first-child {
    border-bottom-left-radius: 4px !important;
    border-right: 1px solid #4e4e4e;
    background: #746188
}

.btn-sidebar-search:nth-child(2) {
    background: #5c69af;
}

.btn-sidebar-search:last-child {
    border-bottom-right-radius: 4px !important;
    border-left: 1px solid #4e4e4e;
    background: #7e94bb;
}


.btn-sidebar-search:hover {
    color: #fff;
}

.sidebar-search-icon {
    width: fit-content;
    border-right: 0 !important;
    border-radius: 0px !important;
    border-top-left-radius: 4px !important;
}

.sidebar-search-input {
    border-left: 0;
    border-radius: 0px !important;
    border-top-right-radius: 4px !important;
}

.sidebar-search-input:focus {
    outline-width: 0 !important;
    outline-offset: 0 !important;
    border-color: #d2d6de;
    ;
}

.div-sidebar-search {
    margin: 0;
    display: flex;
    border-radius: 4px;
}

/*=========  End of Sidebar Search ==========*/


/*=============================================
=            Pop Up Tel No           =
=============================================*/
#btn-tel_no {
    margin-bottom: 10px;
}

/*=========  End of Pop Up Tel No ==========*/



/*=========================================
=            Autofill Backdrop            =
===========================================*/
.autofill-animation {
    position: absolute;
    min-width: 100% !important;
    min-height: 100% !important;
    background: rgba(161, 161, 161, 0.25);
    top: 0;
    left: 0;
    z-index: 10;
}

.autofill-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, .9);
    border-radius: 1px;
    ;
}

.autofill-logo img {
    width: 100px;
    height: 100px;
}

.png-glow {
    animation: pngpulse 1s infinite;
    -webkit-animation: pngpulse 1s infinite;
    -o-animation: pngpulse 1s infinite;
    -moz-animation: pngpulse 1s infinite;
}

.v-glow {
    animation: glow .8s infinite alternate;
    /* border-radius: 5px; */
    border: 0 solid transparent;
}

@keyframes pngpulse {
    0% {
        -webkit-filter: drop-shadow(1px 1px 3px rgba(34, 34, 34, 0.35));
        filter: drop-shadow(1px 1px 3px rgba(34, 34, 34, 0.35));
    }

    50% {
        -webkit-filter: drop-shadow(1px 1px 3px #222);
        filter: drop-shadow(1px 1px 3px #222);
    }

    100% {
        -webkit-filter: drop-shadow(1px 1px 3px rgba(34, 34, 34, 0.35));
        filter: drop-shadow(1px 1px 3px rgba(34, 34, 34, 0.35));
    }
}

@keyframes glow {
    to {
        transform: scale(0.99);
        -webkit-filter: drop-shadow(0px 1px 5px rgb(253, 253, 255, 0.7));
        filter: drop-shadow(0px 1px 5px rgb(253, 253, 255. 0.7));
    }
}

/*=====  End of Autofill Backdrop  ======*/

/*=====  Start Margin  ======*/

.mt-1 {
    margin-top: 0.5em !important;
}

/*=====  End Margin  ======*/

/*=====  Start Button  ======*/

.btn-sm.live-status,
.btn-sm.ticket-status {
    padding: 0px 10px !important;
}

/*=====  End Button  ======*/

/*=====  Start API response column in Ticket table  ======*/

td.api-info {
    vertical-align: top !important;
    padding: 0 !important;
    width: 70px;
    height: 80px;
    position: relative;
}

div.api-info {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    cursor: pointer;
}

/* scroll bar only working on chrome*/
div.api-info::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

/* scroll bar only working on chrome*/
div.api-info::-webkit-scrollbar {
    width: 2px;
    background-color: #F5F5F5;
}

/* scroll bar only working on chrome*/
div.api-info::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, .3);
    background-color: #555;
}

.copy-label {
    position: absolute;
    background: #9e9e9e36;
    font-size: 8px;
    bottom: 0;
    left: 0;
    padding: 0px 2px;
    z-index: 0;
}

.ticket-form-copy-label {
    margin-left: 15px;
}

.ticket-form-api-response {
    cursor: pointer;
}

/*=====  End API response column in Ticket table  ======*/

/*=====  Start badge  ======*/
.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

/*=====  End badge  ======*/

/*=====  Start Status Stamp  ======*/

.status-stamp {
    position: absolute;
    width: 140px;
    right: 0;
    top: 40px;
    margin-right: -30px;
    margin-top: -15px;
    transform: rotate(45deg);
    z-index: 99;
}

/*=====  End Status Stamp  ======*/


a.disabled {
    pointer-events: none;
    cursor: default;
}

.box {
    background: #fdfdfd;
}


/*=============================================
=            Ticket Field            =
=============================================*/

.container-ticket-edit .form-control[disabled],
.container-ticket-edit .form-control[readonly],
.container-ticket-edit fieldset[disabled] .form-control {
    background-color: #f5f5f5 !important;
}

.container-ticket-edit fieldset.ticket .form-group,
.container-ticket-edit fieldset.member .form-group {
    margin-bottom: 1px !important;
}

.container-ticket-edit .form-control {
    border-color: #f5f5f5 !important;
}

.ticket-essential {
    padding-top: 5px;
    padding-bottom: 5px;
    background: #fdfde3;
    position: relative;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .container-ticket-edit .form-horizontal .form-group-sm {
        display: flex;
    }

    .container-ticket-edit .form-horizontal .form-group-sm .control-label {
        padding-top: 0px;
    }

    .container-ticket-edit .form-horizontal .control-label {
        padding-left: 5px !important;
        padding-right: 0px !important;
        display: flex !important;
        flex-flow: column !important;
        justify-content: center !important;
    }

    .ticket-essential {
        margin-left: -15px;
        margin-right: -5px;
    }

    .ticket-essential .form-group.form-group-sm {
        margin-left: 0px !important;
        margin-right: -10px !important;
    }
}

@media (max-width: 767px) {
    .ticket-essential {
        margin-left: -5px;
        margin-right: -5px;
        margin-top: 5px;
        margin-bottom: 2px;
    }

    .ticket-essential .form-group.form-group-sm {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
}

#ticket-remark #remark {
    border-color: #616161 !important;
}

/*=====  End of Ticket Field  ======*/

/*=====  Start of API Spinner in Product Datatables  ======*/
.loader-api {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #000;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*=====  End of API Spinner in Product Datatables  ======*/


.minigame-loading-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0, 0, 0, 0.2);
    z-index: 10;
}


/* https://stackoverflow.com/questions/48985966/adding-class-to-sweet-alert */
/* global swal custom class */

.swal2-content .success {
    color: rgb(56, 153, 0);
}

.swal2-content .error {
    /* color: #fff; */
}

/* Resolve multiple main player  */
.main-word {
    color: red;
}

.resolve-multiple-main-player-table td {
    width: 1%;
    text-align: left;
}

/*=====  Resolve multiple main player  ======*/

/*=====  Rebate Report  ======*/
.view-rebate-jobs-logs {
    text-align: left;
}

/*screen-sm*/
@media (min-width: 280px) and (max-width: 653px) {

    .view-rebate-jobs-logs {
        height: 400px;
        width: 241px;
    }
}

@media (min-width: 320px) and (max-width: 568px) {

    .view-rebate-jobs-logs {
        height: 400px;
        width: 275px;
    }
}

@media (min-width: 360px) and (max-width: 640px) {

    .view-rebate-jobs-logs {
        height: 400px;
        width: 315px;
    }
}

@media (min-width: 375px) and (max-width: 667px) {

    .view-rebate-jobs-logs {
        height: 400px;
        width: 330px;
    }
}

@media (min-width: 411px) and (max-width: 731px) {

    .view-rebate-jobs-logs {
        height: 400px;
        width: 370px;
    }
}

@media (min-width: 540px) and (max-width: 720px) {

    .view-rebate-jobs-logs {
        height: 400px;
        width: 495px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .view-rebate-jobs-logs {
        height: 555px;
        width: 725px;
    }
}

@media (min-width: 985px) and (max-width: 713px) {

    .view-rebate-jobs-logs {
        height: 555px;
        width: 945px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    .view-rebate-jobs-logs {
        height: 555px;
        width: 950px;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {

    .view-rebate-jobs-logs {
        height: 555px;
        width: 970px;
    }
}

@media (min-width: 1200px) {

    .view-rebate-jobs-logs {
        height: 600px;
        width: 980px;
    }
}

/*=====  Rebate Report  ======*/

/*=====  Performance Summary Report Graph  ======*/

.highcharts-data-table table {
    border: 1px solid #EBEBEB;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.custome-select {
    font-size: 13px;
    color: #565656;
    font-weight: 500;
    letter-spacing: 0;
}

@media (max-width: 667px) {

    #heatmap_date_title,
    #line_date_title {
        display: none;
    }

    #heatmap_date_icon,
    #line_date_icon {
        display: inline;
    }
}

@media (min-width: 540px) and (max-width: 720px) {

    #heatmap_date_title,
    #line_date_title {
        display: inline;
    }

    #heatmap_date_icon,
    #line_date_icon {
        display: none;
    }
}

@media (min-width: 667px) and (max-width: 992px) {

    #heatmap_date_title,
    #line_date_title {
        display: inline;
    }

    #heatmap_date_icon,
    #line_date_icon {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    #heatmap_date_title,
    #line_date_title {
        display: inline;
    }

    #heatmap_date_icon,
    #line_date_icon {
        display: none;
    }
}

@media (min-width: 1200px) {
    #heatmap_date_title {
        display: inline;
    }

    #heatmap_date_icon,
    #line_date_icon {
        display: none;
    }
}

/*=====  Performance Summary Report Graph ======*/

/*fpg button*/
.btn-fpg-wrapper {
    background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000);
    background-size: 800%;
    padding: 2px;
    border-radius: 8px;
    animation: border-animation 50s linear infinite;
}

.btn-fpg-wrapper>.btn:hover,
.btn-fpg-wrapper>.btn:focus {
    border: 1px solid #232A54;
    ;
    text-decoration: none;
    outline: none;
}

.btn-fpg-wrapper:hover {
    background: none;
    padding: 2px;
    text-decoration: none;
}

.btn-fpg {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 6px;
}

.btn-fpg:hover {
    filter: contrast(0.7);
}

.btn-fpg:focus {
    filter: contrast(0.7);
}

/*third party button*/
.btn-thirdparty-wrapper {
    background: linear-gradient(45deg, #FFD700, #FF8C00, #FFD700, #FF8C00, #FFD700, #FF8C00, #FFD700, #FF8C00, #FFD700, #FF8C00);
    background-size: 800%;
    padding: 2px;
    border-radius: 8px;
    animation: border-animation 50s linear infinite;
}

.btn-thirdparty-wrapper>.btn:hover,
.btn-thirdparty-wrapper>.btn:focus {
    border: 1px solid #232A54;
    ;
    text-decoration: none;
    outline: none;
}

.btn-thirdparty-wrapper:hover {
    background: none;
    padding: 2px;
    text-decoration: none;
}

.btn-thirdparty {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 6px;
}

.btn-thirdparty:hover {
    filter: contrast(0.7);
}

.btn-thirdparty:focus {
    filter: contrast(0.7);
}

@keyframes border-animation {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* notification button */
.notify-wrapper {
    float: right;
}

.notify-button {
    padding: 12px 15px 5px;
    float: right;
    color: #000000;
    font-size: 20px;
    border: none;
}

.notify-button-live {
    color: #000000;
    font-size: 20px;
    border: none;
    background: none;
}

.notify-button:hover,
.notify-button-live:hover {
    color: #959191;
}

.notify-button:focus-visible {
    border: none;
    outline: none;
}

.notify-wrapper>.badge {
    position: relative;
    top: 4px;
    right: -43px;
    padding: 3px 5px;
    font-size: 10px;
}

.notify-container-live {
    display: inline-block;
    position: relative;
    top: 2px;
}

.notify-container-live>.badge {
    position: relative;
    top: -10px;
    right: 15px;
    padding: 3px 5px;
    font-size: 10px;
}

.all-notifications {
    margin: 5px 10px;
    padding: 0px 6px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.all-notifications-left-wrapper {
    display: flex;
    align-items: center;
}

.all-notifications-icon {
    background: #808080;
    color: #fff;
    padding: 8px;
    font-size: 12px;
    border-radius: 10px;
}

.all-notifications-left {
    padding: 10px;
    text-align: left;
}

.all-notifications-right {
    padding: 10px;
    text-align: right;
}

.noti-swal {
    width: 400px !important;
    max-width: 600px !important;
}

/* live notification*/
.live-noti {
    text-decoration: none !important;
}

.live-noti-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-size: 11px;
}

.live-noti-icon {
    background: #ffffff;
    color: #3a3a3a;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    margin-right: 10px;
}

.live-noti-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 5px;
}

.live-noti-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.live-noti-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.live-inner-left {
    font-size: 12px;
}

.live-noti-left>.status {
    font-size: 10px;
    margin-left: 5px;
    margin-top: 2px;
}

/* === card component ====== 
 * Variation of the panel component
 * version 2018.10.30
 * https://codepen.io/jstneg/pen/EVKYZj
 */
.card {
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 6px;
}

.card>.card-link {
    color: #333;
}

.card>.card-link:hover {
    text-decoration: none;
}

.card>.card-link .card-img img {
    border-radius: 6px 6px 0 0;
}

.card .card-img {
    position: relative;
    padding: 0;
    display: table;
}

.card .card-img .card-caption {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
}

.card .card-body {
    display: table;
    width: 100%;
    padding: 12px;
}

.card .card-header {
    border-radius: 6px 6px 0 0;
    padding: 8px;
}

.card .card-footer {
    border-radius: 0 0 6px 6px;
    padding: 8px;
}

.card .card-left {
    position: relative;
    float: left;
    padding: 0 0 8px 0;
}

.card .card-right {
    position: relative;
    float: left;
    padding: 8px 0 0 0;
}

.card .card-body h1:first-child,
.card .card-body h2:first-child,
.card .card-body h3:first-child,
.card .card-body h4:first-child,
.card .card-body .h1,
.card .card-body .h2,
.card .card-body .h3,
.card .card-body .h4 {
    margin-top: 0;
}

.card .card-body .heading {
    display: block;
}

.card .card-body .heading:last-child {
    margin-bottom: 0;
}

.card .card-body .lead {
    text-align: center;
}

@media(min-width: 768px) {
    .card .card-left {
        float: left;
        padding: 0 8px 0 0;
    }

    .card .card-right {
        float: left;
        padding: 0 0 0 8px;
    }

    .card .card-4-8 .card-left {
        width: 33.33333333%;
    }

    .card .card-4-8 .card-right {
        width: 66.66666667%;
    }

    .card .card-5-7 .card-left {
        width: 41.66666667%;
    }

    .card .card-5-7 .card-right {
        width: 58.33333333%;
    }

    .card .card-6-6 .card-left {
        width: 50%;
    }

    .card .card-6-6 .card-right {
        width: 50%;
    }

    .card .card-7-5 .card-left {
        width: 58.33333333%;
    }

    .card .card-7-5 .card-right {
        width: 41.66666667%;
    }

    .card .card-8-4 .card-left {
        width: 66.66666667%;
    }

    .card .card-8-4 .card-right {
        width: 33.33333333%;
    }
}

/* -- default theme ------ */
.card-default {
    border-color: #ddd;
    background-color: #fff;
    margin-bottom: 24px;
}

.card-default>.card-header,
.card-default>.card-footer {
    color: #333;
    background-color: #ddd;
}

.card-default>.card-header {
    border-bottom: 1px solid #ddd;
    padding: 8px;
}

.card-default>.card-footer {
    border-top: 1px solid #ddd;
    padding: 8px;
}

.card-default>.card-body {}

.card-default>.card-img:first-child img {
    border-radius: 6px 6px 0 0;
}

.card-default>.card-left {
    padding-right: 4px;
}

.card-default>.card-right {
    padding-left: 4px;
}

.card-default p:last-child {
    margin-bottom: 0;
}

.card-default .card-caption {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}


/* -- price theme ------ */
.card-price {
    border-color: #999;
    background-color: #ededed;
    margin-bottom: 24px;
}

.card-price>.card-heading,
.card-price>.card-footer {
    color: #333;
    background-color: #fdfdfd;
}

.card-price>.card-heading {
    border-bottom: 1px solid #ddd;
    padding: 8px;
}

.card-price>.card-footer {
    border-top: 1px solid #ddd;
    padding: 8px;
}

.card-price>.card-img:first-child img {
    border-radius: 6px 6px 0 0;
}

.card-price>.card-left {
    padding-right: 4px;
}

.card-price>.card-right {
    padding-left: 4px;
}

.card-price .card-caption {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

.card-price p:last-child {
    margin-bottom: 0;
}

.card-price .price {
    text-align: center;
    color: #337ab7;
    font-size: 3em;
    text-transform: uppercase;
    line-height: 0.7em;
    margin: 24px 0 16px;
}

.card-price .price small {
    font-size: 0.4em;
    color: #66a5da;
}

.card-price .details {
    list-style: none;
    margin-bottom: 24px;
    padding: 0 18px;
}

.card-price .details li {
    text-align: center;
    margin-bottom: 8px;
}

.card-price .buy-now {
    text-transform: uppercase;
}

.card-price table .price {
    font-size: 1.2em;
    font-weight: 700;
    text-align: left;
}

.card-price table .note {
    color: #666;
    font-size: 0.8em;
}

.radio {
    margin-bottom: 0px !important;
}