html,
body {
    height: 100%;
    overflow: overlay;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
    background: linear-gradient(#333, #555);
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background: #222;
    color: white;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.btn.btn-info.modalButton {
    width: 36px;
    height: 34px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.h1plus {
    color: #555;
    margin: 0px;
    padding: 20px;
}

.modal-body {
    position: relative;
    padding: 15px;
    overflow: hidden;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.activefields {
    font-style: italic;
}

.grey {
    background: #dfe3ea;
    border-bottom: 2px solid #ccd;
    color: black;
    margin: 0px;
    margin-top: 2px;
    margin-bottom: 40px;
    padding: 0;
}

.small {
    margin-bottom: 20px;
    padding: 0px;
}

.badge {
    white-space: normal;
    margin: 0px 2px;
    background-color: #38a;
    cursor: pointer;
}

blockquote {
    font-size: 14px;
    font-style: italic;
    border-color: #ccc;
    border-width: 5px;
}

/* new design */
.panel.panel-default.bootcards-summary {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.language-picker.button-list.small {
    float: left;
    margin: 0;
    padding-top: 5px;
}

.table {
    background: white;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

form {
    background: white;
    overflow: hidden;
    padding: 10px;
}

.spin-noti-index td {
    white-space: initial;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .numof, .activefields, .listhead, .serial, .efilter, .cfilter,
    .email, .created, .status, .role, .parent, .route, .order {
        display: none;
    }

    .h1plus {
        font-size: 20px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

a.image-wrap img {
    width: 100px;
}

/*new*/

.loginContent {
    /*width: 30%;*/
    margin: 0 auto;
    padding: 20px;
    /* background: rgba(0,0,0,0.3);*/
}

/* progress screen */
@keyframes back {
    from {
        background-color: transparent;
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@keyframes gif {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.myprogressdiv {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) url('http://i.stack.imgur.com/FhHRx.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .myprogressdiv {
    display: block;
}

#modalContent {
    margin-top: -17px;
}

.modal-header {
    color: white;
    background: #3c8dbc;
    font-weight: bold;
}

.loginscreen {
    background-image: url('../images/sme.png');
    background-repeat: no-repeat;
    background-size: 500px;
    background-position: 60% 30%;
    background-color: rgba(150, 150, 150, 0.1);
}

.loginboard {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.switch input {
    display: none;
}

.switch {
    display: inline-block;
    width: 54px;
    height: 24px;
    position: relative;
}

.slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 30px;
    box-shadow: 0 0 0 2px #777, 0 0 4px #777;
    cursor: pointer;
    border: 4px solid transparent;
    overflow: hidden;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #777;
    border-radius: 30px;
    transform: translateX(-30px);
    transition: .4s;
}

input:checked + .slider:before {
    transform: translateX(30px);
    background: limeGreen;
}

input:checked + .slider {
    box-shadow: 0 0 0 2px limeGreen, 0 0 2px limeGreen;
}

.info-box:hover {
    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.2);
}

.chart-legend.clearfix li {
    font-size: 11px;
}

.dropdown-toggle {
    margin: 0 8px;
}

.dropdown-toggle.noti {
    margin: 0 8px;
    width: 48px;
    float: right;
}

.open > .dropdown-menu {
    margin: 0 7px;
}

.loadingModal {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    top: 0;
    left: 0
}

.grid-view {
    overflow: auto;
}

#usersSearchDiv {
    overflow: auto;
    max-height: 144px;
}

#usersSearchList {
    background-color: white;
    padding-left: 0;
}

#usersSearchList li {
    padding: 8px 10px;
    list-style: none;
}

#usersSearchList li:hover {
    background-color: #38a;
    color: white;
    cursor: pointer;
}

#usersSearchList a {
    color: black !important;
}

#usersSearchList li.selected {
    background-color: #38a;
    color: white;
}

.small-box {
    min-height: 130px;
}

ul#w1 {
    list-style-type: none;
    padding: 0;
}

li.ui-sortable-handle {
    cursor: grab;
    border: 1px solid gray;
    padding: 1px 5px;
    margin: 2px;
    max-width: 200px;
}

.form-group.selecttag .select2-container--krajee-bs3 .select2-selection--multiple .select2-search--inline .select2-search__field {
    min-width: 200px;
}

.multiselect-container.dropdown-menu {
    box-shadow: 0 0 10px gray;
}

.multiselectBlock {
    display: inline-table;
    width: 100%;
}

.loyalty-status {
    font-size: 11px;
}

.loyalty-status .modalButton {
    width: 25px;
    height: 22px;
    padding: 0px;
}

.loyalty-status .glyphicon {
    font-size: 11px;
}

.loyalty-status .col-md-9 {
    padding: 0;
}

.loyalty-status td {
    padding: 8px 4px 8px 4px !important;
}

.box-body {
    padding: 0
}

.box-list-item:before {
    content: ' \25B8';
    padding-right: 10px;
}

.box-list-item {
    color: #333;
    padding: 15px;
    display: block;
    width: 100%;
    border-top: 1px solid #eee;
    float: left;
}

.payment-box-list .toggle {
    float: left;
    width: 20%;
    margin-top: 10px;
}

.payment-box-list .box-list-item {
    width: 80%;
}

.box-list-item:hover {
    color: white;
    background: darkcyan;
    cursor: pointer;
}

.blur {
    filter: opacity(0.3) blur(2px);
    pointer-events: none;
}

.loaderContainer {
    display: none;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.loader {
    border: 10px solid transparent;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    border-bottom: 10px solid #3498db;
    width: 70px;
    height: 70px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin-left: 39vw;
    margin-top: 29vh;
}

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

.gameinfo {
    color: #777;
}

.datepicker {
    z-index: 1090 !important;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.gameImage {
    padding-right: 10px;
}

.incomeReportSelector, .payoutReportSelector {
    list-style: none;
    display: flex;
    padding: 0;
}

.byCurrency, .byProcessorTotal, .byPayoutCurrency, .byProcessorPayoutTotal {
    margin-right: 10px;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
}

body .navbar-nav {
    float: right;
}

body .dropdown-menu {
    left: auto;
    right: 0;
   min-width: 60px;
    cursor: pointer;
}

#languageForm {
    cursor: pointer;
    background:transparent;
    padding: 15px 15px 0 0;
}

#languageForm span {
    color: #fff;
}

.langMenu li {
    text-align: center;
}

.langMenu li:hover {
    background: #3c8dbc;
    color: #fff;
}

.dropdown .noti {
    padding: 18px 16px;margin: 0;
}

.datepicker.datepicker-dropdown.dropdown-menu {
    right: initial !important;
}

.more_info {
    /* border-bottom: 1px dotted; */
    position: relative;
}

.more_info .title {
    position: absolute;
    top: 20px;
    background: silver;
    padding: 4px;
    left: 0;
    white-space: nowrap;
}