/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
@media (min-width: 980px) {
    .subnav-fixed {
        position: fixed;
        top: 0px;
        left: 230px;
        right: 0;
        padding: 10px;
        z-index: 1030; /* 10 less than .navbar-fixed to prevent any overlap */
        border-color: #d5d5d5;
        border-width: 0 0 1px; /* drop the border on the fixed edges */
        background-color: white;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
        -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
        box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0, 0, 0, .1);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
    }

    body.mini-navbar .subnav-fixed {
        left: 70px;
    }

    body.mini-navbar .small-menu-logo {
        display: block;
    }
    .subnav-fixed .nav {
        margin: 0 auto;
        padding: 0 1px;
    }

}

@media (max-width: 1480px) {
    td, th {
        font-size: 10px;
    }
}


.small-menu-logo {
    width: 22px;
    height: 22px;
    display: none;
}

#user_commission .btn-success.active {
    color: #ffffff;
    background-color: #295000;
}

.nav-pills > li > a {
    padding: 7px;
}

.nav-pills > li.active {
    background: white;
    border-left: none;
}

.nav-pills > li.active > a {
}

/*Top buttons*/
.action-bar {
    height: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media (max-width: 980px) {
    .action-bar {
        height: auto!important;
    }
}

.action-bar ~ table{
    margin-top: 30px;
}

.action-bar > h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 0;
}

.action-bar.action-bar__high {
    height: 70px;
}

/*End top buttons*/

.btn-main-menu {
    float: left;
    margin-right: 7px;
}

/*Hacks and tricks*/

ul {
    list-style: none;
}

/*suff for extra large tables*/
.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
    padding: 4px;
}

.col-md-12 table, table {
    color: #191919;
}

.btn-group {
    display: inline-flex;
}

.ui-datepicker {
    /* Inspinia has base z-index for popups at 2050 --- hate that stuff */
    z-index: 2051 !important;
}

/*fix overflown checkboxes*/
.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    position: inherit;
    margin-left: inherit;
}

#popup-v2-placeholder {
    z-index: 2031;
}

.modal-medium-40 > .modal-dialog {
    width: 40%; /* respsonsive width */
}

.modal-medium > .modal-dialog {
    width: 60%; /* respsonsive width */
}
.modal-large > .modal-dialog {
    width: 80%; /* respsonsive width */
}

#page-wrapper {
    padding-left: 0;
    overflow-x: auto;
    background: white !important;
}

.wrapper-content {
    padding-top: 10px;
    padding-left: 0px;
}

.page-heading {
    border-top: 0;
    padding: 0 0 5px 0;
}

.pagination > li.disabled {
    font-weight: bold;
}

.alert {
    padding: 10px;
}

.json-highlight pre {
    padding: 5px;
    margin: 5px;
}

.json-highlight .string {
    color: green;
}

.json-highlight .number {
    color: darkorange;
}

.json-highlight .boolean {
    color: blue;
}

.json-highlight .null {
    color: magenta;
}

.json-highlight .key {
    color: red;
}

/* Rebirth of submenu for bs3 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
    overflow-y: scroll;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dropdown-submenu .dropdown-menu {
    max-height: 280px;
    overflow-y: auto;
}

/*End Dropdown*/

.scrollable-container {
    overflow-y: auto;
}

.scrollable-container__70vh {
    height: 70vh;
}

.input-group-xs > .form-control,
.input-group-xs > .input-group-addon,
.input-group-xs > .input-group-btn > .btn {
    height: 22px;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

.input-xs {
    height: 22px;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

/* to wide navtabs */
.nav-tabs > li > a {
    padding-left: 7px;
    padding-right: 7px;
}

.nav-pills > li > a {

}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #1ab394;
}

.thc {
    text-align: center !important;
    vertical-align: middle !important;
}

.clicked-link {
    color: #19aa8d!important;
}


.dropdown-menu li a {
    line-height: 12px;
}

.ui-datepicker .ui-state-active {
    background-color: #f7a54a;
}

.navbar-static-side {
    position: fixed;
}

#usr-navbar {
    border-bottom: 0 solid #e7eaec !important;
    margin-bottom: 0;
}
.sw_notification {
    line-height: 100%;
}
.sw_notification:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}
.sw_notification i{
    background: url("/sa/static/img/tantd.png") no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 77px;
    height: 77px;
    border: 3px solid #8a6d3b;
    border-radius: 5px;
}
.sw_notification b{
    padding-left: 15px;
    display: inline-block;
    vertical-align: middle;
}
.custom_clock {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin: 6px 0;
}
.action-bar.action-bar__promo {margin: 15px 0;}
.action-bar__promo .form-control {
    padding-top: 4px;
    padding-bottom: 4px;
}
.action-bar__promo .form-group {
    margin-right: 15px;
}
.ibox-content.ibox-content__payout_comments_small {
    padding: 0;
}
.payout_comments__date {
    max-width: 80px;
}
.payout_danger_content, .tooltip_comment_content {
    display: none;
}
.popover .payout_danger_content, .popover .tooltip_comment_content {
    display: block;
}
.popover .payout_danger_content.alert, .popover .tooltip_comment_content.alert {
    margin: 0;
}
.popover p {
    font-size: 12px;
}
.header__main {
    display: inline-block;
}
.header__icons {
    display: inline-block;
    vertical-align: top;
    margin-left: 15px;
}
.header__icon {
    float: left;
    width: 50px;
    height: 50px;
    margin: 0 5px 5px;
}
.header__icon a {
    display: block;
}
@media (max-width: 990px) {
    .header__main {
        display: block;
    }
    .header__icons {
        width: 100%;
        margin: 0;
    }
}
.select_freespins_offer .chosen-container .chosen-results {
    max-height: 360px;
}
.select_freespins_offer .chosen-container.chosen-with-drop .chosen-drop {
    margin: 0 -120px 0 -120px;
}
@media (max-width: 1200px) and (min-width: 990px) {
    .select_freespins_offer .chosen-container.chosen-with-drop .chosen-drop {
        margin-right: 0;
    }
}
@media (max-width: 990px) {
    .select_freespins_offer .chosen-container.chosen-with-drop .chosen-drop {
        margin: 0;
    }
}
.table.table-centered-td td,
.table.table-centered-td th {
    text-align: center;
    vertical-align: middle;
}
.semi-total-td {
    font-size: 14px;
}
.total-td {
    font-size: 14px;
    font-weight: 600;
}
.table.table-centered-td,
.table.table-centered-td > thead > tr > th,
.table.table-centered-td > tbody > tr > th,
.table.table-centered-td > tfoot > tr > th,
.table.table-centered-td > thead > tr > td,
.table.table-centered-td > tbody > tr > td,
.table.table-centered-td > tfoot > tr > td {
    border: 1px solid #c5c5c5;
}
.platform_holder {
    clear: both;
    width: 15%;
    float: left;
}
i[rel="tooltip"] {
    display: block;
    font-style: normal;
}
.mg-bottom-20 {
    margin-bottom: 20px;
}
.mg-bottom-10 {
    margin-bottom: 10px;
}
.mg-bottom-0 {
    margin-bottom: 0;
}
.mg-bottom-3 {
    margin-bottom: 3px;
}
.mg-top-20 {
    margin-top: 20px;
}
.mg-top-10 {
    margin-top: 10px;
}
.pd-top-10 {
    padding-top: 10px!important;
}
.form-control-sm {
    width: 15%;
}
.ibox-content.inline-block {
    display: inline-block;
    width: 100%;
}
.is_active_label_0 {
    color: #ff0000;
    font-weight: 600;
}
.is_active_label_1 {
    color: green;
    font-weight: 600;
}
.table_shop_products .glyphicon-ok {
    color: green;
}
.table_shop_products .glyphicon-remove {
    color: #ff0000;
}
.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
.glyphicon-left {
    margin-right: 7px;
}
.tr_mirrors.hidden {
    display: none;
}
.table_pagination_nav {
    display: none;
}
.table_pagination_nav.show {
    display: block;
}
.table_pagination_nav .current,
.table_pagination_nav .count {
    font-style: normal;
}
.table_pagination_nav_tr {background: none!important;}
.dns_status_0 {color: red;}
.dns_status_1 {color: green;}

.dns_status_-1 {color: orange;}

.pseudo-icon-fix {
    background-color: #db524b;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    color: #fff;
    text-align: center;
    font-size: 21px;
    line-height: 49px;
    text-transform: uppercase;
    font-weight: 700;
}
.dns_status_-1 {color: orange;}

.filter_widget label.btn {
    background-color: rgb(239, 239, 239);
}
.filter_widget label.btn.active,
.docs_btn label.btn.active {
    background-color: #1ab394;
    border-color: #1ab394;
    color: #FFFFFF;
}
.filter_widget .ui-multiselect {height: 31px;}
.filter_widget .form-extra {
    display: none;
    margin-top: 10px;
}
.ui-multiselect {
    padding: 2px 0 2px 4px;
    text-align: left;
}
.ui-multiselect span.ui-icon {
    float: right
}
.ui-multiselect-single .ui-multiselect-checkboxes input {
    position: absolute !important;
    top: auto !important;
    left: -9999px;
}
.ui-multiselect-single .ui-multiselect-checkboxes label {
    padding: 5px !important
}
.ui-multiselect-header {
    margin-bottom: 3px;
    padding: 3px 0 3px 4px;
    min-height: 25px;
}
.ui-multiselect-header ul {
    font-size: 0.9em;
    position: relative;
}
.ui-multiselect-header ul li {
    margin-bottom: 10px;
}
.ui-multiselect-header ul li:last-child {
    position: absolute;
    top: 0;
    right: 4px;
}
.ui-multiselect-header a {
    text-decoration: none
}
.ui-multiselect-header a:hover {
    text-decoration: underline
}
.ui-multiselect-header span.ui-icon {
    float: left
}
.ui-multiselect-header li.ui-multiselect-close {
    float: right;
    text-align: right;
    padding-right: 0
}
.ui-widget-header,
.ui-widget-header a {
    text-transform: none!important;
}
.ui-multiselect-menu {
    display: none;
    padding: 3px;
    position: absolute;
    z-index: 10000;
    text-align: left;
}
.ui-multiselect-checkboxes {
    position: relative /* fixes bug in IE6/7 */;
    overflow-y: auto;
}
.ui-multiselect-checkboxes label {
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    padding: 4px;
    transition: all .3s ease-in-out;
}
.ui-multiselect-checkboxes label input {
    margin-top: 0;
    margin-right: 10px;
}
.ui-multiselect-checkboxes label > span, .ui-multiselect > span {
    font-weight: normal;
}
.ui-multiselect-checkboxes li {
    clear: both;
    font-size: 0.9em;
    padding-right: 3px
}
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid
}
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a {
    display: block;
    padding: 3px;
    margin: 1px 0;
    text-decoration: none
}
.filter_widget .currency_info {
    text-align: center;
    margin: 10px 0;
}
.filter_widget.filter_serious {
    margin-bottom: 10px;
}
.col-sm-4 > .form-control-sm {
    width: 100%;
}
.debug_panel {
    background: white;
    width: 100%;
    position: relative;
    left: 0;
}

@media (min-width: 768px) {
    .debug_panel {
        left: 220px;
    }
}

.mini-navbar .debug_panel {
    left: 70px;
    width: calc(100% - 70px);
}

#lead {
    font-size: 1.2em;
    margin: 0;
    padding-right: 10px;
}

.filters {
    margin: 10px 0 20px 15px;
}
.sbtech_event_types {
    display: none;
}
.sbtech_event_types.show {
    display: table-row;
}
.qr-holder {
    display: block;
    background-color: #fff;
    border: 1px solid #ddd;
}
.qr-holder.qr-holder-200 {
    width: 200px;
    height: 200px;
}
.qr-holder.qr-holder-200 > img {
    max-height: 200px;
    max-width: 200px;
}
pre.font-size-11 {
    font-size: 11px;
}
.query-progress {
    width: 152px!important;
}
.query-progress .query-stage {
    padding: 5px 0;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

tr.td-brown > td {
    background-color: #ffebba;
}

a.btn > span.badge-danger {
    background-color: #ed5565 !important;
    color: #FFFFFF !important;
}

.ibox-label-legend {
    width: 60px;
    display:inline-block;
}

.table-striped2 tr:nth-child(4n+1), .table-striped2 tr:nth-child(4n+2) {
    background: #f9f9f9;
}

thead .header, thead .tablesorter-header {
    background: url(/sa/static/img/tablesorter_arrows.gif) no-repeat 2px 2px;
    cursor: pointer;
}

thead .headerSortUp,thead .tablesorter-headerAsc {
    background-image: url(/sa/static/img/tablesorter_arrow_up.gif);
}

thead .headerSortDown,thead .tablesorter-headerDesc {
    background-image: url(/sa/static/img/tablesorter_arrow_down.gif);
}

body.mini-navbar .navbar-default .nav > li > a {
    font-size: 14px;
}

body.mini-navbar .navbar-default .nav > li > .nav-second-level li a {
    padding: 6px 2px 6px 2px;
}

.close.icon-xs {
    font-size: 12px;
}

.editable-cell {
    border-bottom: 1px dotted #000;
    cursor: pointer;
}

.editable-input {
    width: 95%;
    max-width: 100px;
}

.table-info, .table-info>td, .table-info>th {
    background-color: #bee5eb !important;
}

tr.rg_excluded td {
    background: #ff00000a;
}

#bet_per_spin_popup .modal-dialog {
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
}

#bet_per_spin_popup .table{
    color: #676a6c;
    margin-bottom: 0;
}

#bet_per_spin_popup .thc{
    font-weight: bold;
}

#bet_per_spin_popup th, #bet_per_spin_popup td {
    border: 0;
    max-width: 80px;
}

#bet_per_spin_popup th.prepaid, #bet_per_spin_popup td.prepaid {
    max-width: unset;
    width: 300px;
}
#bet_per_spin_popup td.prepaid > input {
    width: 300px;
}

.font-weight-bold {
    font-weight: bold;
}
.white-space-normal {
    white-space: normal!important;
}
body.mini-navbar .navbar-default .nav > li > .nav-second-level.oveflow-menu li a {
    padding: 2px;
}
.wl_user_icon {
    display: block;
    background-size: contain;
    width: 23px;
    height: 23px;
}
.wl_user_icon.wl_user_icon__miki {
    background-color: #000;
}
.wl_user_icon.wl_user_icon__s {
    margin: 0 auto;
    width: 18px;
    height: 18px;
}
.wl_user_icon.wl_user_icon__inline {
    display: inline-block;
    width: 20px;
    height: 20px;
}

body:not(.fixed-sidebar):not(.canvas-menu).mini-navbar .nav li:hover > .nav-second-level, .mini-navbar .nav li:focus > .nav-second-level {
    z-index: 1000;
}

.nav-pills .dropdown-menu > .active > a {
    background-color: #1ab394;
}

.submenu-wrapper,
.panel-wrapper {
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.panel-wrapper .nav {
    display: flex;
}

.panel-wrapper .nav > li {
    white-space: nowrap;
}

.panel-wrapper__scrollable {
    overflow-x: auto;
    padding: 0 15px 10px;
    margin: 0 -15px -10px;
}

.panel-wrapper__hr {
    box-sizing: border-box;
    display: block;
    font-size: 0;
    height: 1px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #E7EAEC;
}

.user-balance-buttons {
    display: flex;
    flex-wrap: wrap;
}

.user-balance-buttons .page-heading__info-element {
    margin-bottom: 5px;
}

.user-balance-buttons .page-heading__info-element:not(:last-child) {
    margin-right: 4px;
}

.registration-info-buttons {
    display: flex;
    flex-wrap: wrap;
}

.registration-info-buttons-td {
    padding-left: 0!important;
    padding-right: 0!important;
}

.registration-info-buttons .btn:not(:last-child) {
    margin-right: 4px;
}

.registration-info-buttons button.btn {
    margin-bottom: 4px;
}

.ibox-title-balance {
    border-color: #1AB394;
}

.ibox-title-reg-data {
    border-color: #1C84C6;
}

.ibox-title-reg-info {
    border-color: #F8AC59;
}

.table-balance-full {
    border-top: 1px solid #e7eaec;
}

.feature-flags-wrapper {
    max-height: 696px;
    overflow-y: auto;
}

.user-info-block thead th {
    white-space: nowrap;
}

.registration-info-buttons .label {
    display: inline-block;
    margin-bottom: 4px;
    line-height: 1.5;
    margin-right: 4px;
}

.flush-user-flags-wrapper {
    display: flex;
    justify-content: center;
}

/* custom popover */
.custom-popover {
    position: absolute;
    width: content-box;
    z-index: 4000;
    transform: translateX(-50%);
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    margin-bottom: 6px;
    transition: opacity 0.125s ease, visibility 0.125s ease;
    transition-delay: 0.125s;
    background: white;

    visibility: hidden;
    opacity: 0;
}

.custom-popover__title {
    font-size: 12px;
    font-weight: 700;
    line-height: 13px;
    margin: 0 0 16px;
}

.custom-popover__details p {
    font-size: 12px;
    line-height: 13px;
    margin: 0;
}

.custom-popover__details p + p {
    margin-top: 2px;
}

.custom-popover_size_2 {
    padding: 20px;
}

.custom-popover_size_2 .custom-popover__details p + p {
    margin-top: 10px;
}

.custom-popover.-open {
    transition-delay: 0s;
    opacity: 1;
    visibility: visible;
}

.custom-popover_left {
    left: 0;
    transform: translateX(0);
}


/* tags label list */
.tags-label-list-wrap {
    position: relative;
    margin: 0 -2.5px;
}

.tags-label-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 -10px;
}

.tags-label-list > li {
    position: relative;
    z-index: 1;
    padding: 0 2.5px;
    margin: 0 0 10px;
}

.tag-label {
    cursor: pointer;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 22px;
    padding: 4px;
    border-radius: 2px;
}

.tag-label i {
    width: 1em;
    height: 1em;
    max-width: 1em;
    font-size: 12px;
    margin-right: 4px;
}

.tag-label span {
    font-size: 10px;
    font-weight: 700;
}

.tag-label_done {
    color: #7EBD50;
    background: rgba(126, 189, 80, 0.1);
}

.tag-label_pending {
    color: #A2ACBD;
    background: rgba(162, 172, 189, 0.1);
}

.tag-label_error {
    color: #FF3C2D;
    background: rgba(255, 60, 45, 0.1);
}

.tag-label_info {
    color: #1C84C6;
    background: #E2E9EE;
    margin: 0 8px;
}

.tag-label-hint {
    width: 219px;
}

.tag-label-hint_done {
    color: #7EBD50;
    background: #edfae8;
    border: 1px solid;
}

.tag-label-hint_error {
    color: #E81C0D;
    background: #FBE8E6;
    border: 1px solid;
}

.tag-label-hint {
    transition: opacity 0.125s ease 0.2s, visibility 0.125s ease 0.2s;
}

.tag-label-hint.-open {
    transition-delay: 0.5s;
}

.page-heading .online-presence {
    margin-left: 0!important;
}

.page-heading__info-element .label:first-child {
    margin-right: 4px;
}

.online-presence-star {
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    background: url(/sa/static/img/star-icon.png) no-repeat;
    background-size: contain;
}

.online-chat-new {
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    margin-right: 4px;
    background: url(/sa/static/img/active-chat-icon.png) no-repeat;
    background-size: contain;
}

.online-chat-new[disabled] {
    background: url(/sa/static/img/chat-icon.png) no-repeat;
    background-size: contain;
}

.page-heading .online-presence.online-presence-new {
    margin-top: 0;
    top: inherit;
    width: 15px;
    height: 15px;
}

.page-heading .online-presence.online-presence-new .online-presence-indicator{
    top: inherit;
    left: inherit;
}

.template-image {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 0 20px 20px 0;
}

.template-button {
    display: inline-block;
    margin: 0 20px 20px 0;
    position: relative;
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.template-icon-delete {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.template-image-row {
    display: flex;
    flex-wrap: wrap;
}

.promo-content textarea {
    resize: none;
}

.promo-content .chosen-container {
    width: 100%!important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.comments-border-info .ibox-title {
    border-color: #1C84C6;
}

.comments-border-success .ibox-title {
    border-color: #1AB394;
}

.comments-border-warning .ibox-title {
    border-color: #F8AC59;
}

.comments-wrapper .table > tbody > tr:last-child > td {
    border-bottom: 1px solid #e7eaec;
}

.comments-wrapper .ibox-content  .table > tbody > tr > td {
   vertical-align: top;
}
.tooltip_inner_left {
    text-align: left;
}

.modal-dialog-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px 10px;
}

.modal-dialog-centered .modal-content{
    width: 100%;
    max-width: 450px;
}

/* gambling-solvency */
.gambling-solvency-content {
    display: flex;
}

.gambling-solvency-stats {
    flex: 1 0;
}

.input-group > .custom-file {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex: 1 1 auto;
    margin-bottom: 0;
    position: relative;
    margin-top: -10px;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    padding: 6px 12px;
    line-height: 1.5;
    color: inherit;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 1px;
    font-weight: normal;
    cursor: pointer;
}

.tab-pane-form-image {
    display: flex;
    align-items: center;
}

.svg-icon-preview {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 200px
}

.svg-icon-preview img {
    width: 200px;
}

.flex-center {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.permissions-widget {
    flex-direction: column;
    width: 240px;
}

.permissions-widget .bold {
    font-weight: bold;
}

.permissions-widget .readonly {
    background-color: white; 
    border-bottom: 1px white !important;
    cursor: default;
    margin-top: -3px;
}

.accordion {
    width: 100%;
    display: flex;
    height: 34px;
}

.accordion > span {
    cursor: pointer;
}

.accordion > span:last-child {
    text-align: right;
    padding-right: 15px;
}

.accordion > span:last-child:hover {
    color: #ec4758;
}
.btn-primary {
    background-color: #1ab394;
}

.toggler {
    border: 0;
}

.toggler > input:last-child {
    border-width: 1px 1px 1px 0;
    border-radius: 0 3px 3px 0;
    margin-left: -2px;
}

.toggle-button {
    margin-left: 1px;
    font-weight: 400;
    width: 35px;
    height: 22px;
    border-width: 1px 0 1px 1px;
    border-radius: 3px 0 0 3px;
    transition: all 0.2s ease-in-out;
}

.toggle-button:focus {
    outline: none !important;
    font-weight: 500;
    border-color: silver;
    box-shadow: 0 0 1px #1ab394;
}

.toggle-button:active {
    border: 1px solid #1ab394;
    transform: scale(0.98);
}

.toggle-button.red {
    background-color: #ed5565;
    color: white;
}
td > .toggle-td {
    position: relative;
    overflow: hidden;
}
td > .toggle-td > .table {
    margin-bottom: 0px;
}
td > .toggle-td__doit {
    transition: height 0.2s ease-in;
}
td > .toggle-td__shadow:after {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 15px;
    width: 100%;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(24, 26, 31, 0) 0%, #fff 100%);
}

.expandable-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    cursor: pointer;
}

.expandable-text.expanded {
    -webkit-line-clamp: initial;
}

.tournament-content {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#tournaments-table tr td {
    position: relative;
}

.skip-overlay {
    position: relative;
    z-index: 2;
}

.accordion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5px 0;
    cursor: pointer;
    opacity: 0.2;
    z-index: 1;
}

.accordion-overlay::before,
.accordion-overlay::after {
    content: '';
    display: block;
    width: 7px;
    height: 2px;
    background-color: black;
}

.accordion-overlay::before {
    transform: rotate(45deg) translateX(2.5px);
}

.accordion-overlay::after {
    transform: rotate(-45deg) translateX(-2.5px);
}
.rotate-x {
    transform: rotateX(180deg);
}

.vertical-resize{
    height: 70px;
    max-width: 100%;
    min-height: 75px;
    resize: vertical;
}

.sa-flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.sa-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sa-category {
    background: linear-gradient(to bottom right, #f5f5f5, #ffffff);
    color: #2f4050;
    border: none;
    padding: 10px 20px;
    border-radius: 7px;
    position: relative;
}
.sa-category:hover {
    background: linear-gradient(to bottom right, #ffffff, #f5f5f5);
    color: dodgerblue;
}
.sa-search {
    position: relative;
    color: black;
    display: flex;
    align-items: center;
    padding-left: 10px;
    height: 35px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.sa-search input {
    border: none;
    outline: none;
    padding-left: 25px;
    border: 1px solid silver;
    border-radius: 3px;
    width: 250px;
}

.sa-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.sa-highlight {
    background-color: gold;
}

.sa-filter-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.sa-emojiContainer {
    display: inline-block;
    position: relative;
}

.sa-emojiDropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    padding-top: 1px;
    white-space: nowrap;
}

.sa-emoji {
    display: inline-block;
    cursor: pointer;
    font-size: 17px;
    margin: 3px;
}

.sa-toggleEmoji {
    margin-left: -1px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 1px;
    padding-bottom: 1px;
    border-radius: 5px;
    background-color: #f0f0f0;
}

.image-empty-thumbnail {
    min-width: 400px;
    min-height: 200px;
}

.text-green {
    color: green;
}

.banner-v3 .col-md-5.h-px-0,
.banner-v3 .col-md-1,
.banner-v4 .col-md-5.h-px-0,
.banner-v4 .col-md-1 {
    display: none;
}

.banner-v3 .col-md-5.flex-center,
.banner-v4 .col-md-5.flex-center {
    flex-direction: column;
}

.banner-v3 .banner-v3-label,
.banner-v4 .banner-v4-label {
    font-weight: bold;
    margin-bottom: 5px;
}

/*Disable checkbox by permissions*/
.checkbox-disabled {
    pointer-events: none;
    opacity: 0.6;
}