body {
    padding-top: 60px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1310px;
        width: 1310px;
    }

    ul.nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (max-width: 767px) {
    .navbar-fixed-top {
        position: static;
    }

    ul.nav {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .content {
        position: relative;
        top: 0;
    }

    #partnerSelect, #partnerInput {
        margin-bottom: 5px;
    }

    #err-code {
        width: 100% !important;
    }

    .nav-currency {
        float: none !important;
    }

    .navbar-nav {
        margin: 0 -15px;
    }
}

@media screen and (max-width: 713px) {
    .tab-list-wrapper {
        margin-top: 5px;
    }
}

#navbar .navbar-form {
    width: 200px;
}

#navbar .navbar-form div.form-group,
#navbar .navbar-form span {
    width: 170px;
}

.navbar-toggle .icon-bar {
    background-color: #5FB0E4;
}

.navbar-border {
    border-bottom: 1px solid #00b3ee;
}

.form-signin {
    margin: 0 auto;
    max-width: 330px;
    padding: 15px;
    background-color: #eee;
}

.form-signin .form-signin-heading, .form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    box-sizing: border-box;
    font-size: 16px;
    height: auto;
    padding: 10px;
    position: relative;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: -1px;
}

.form-signin input[type="password"] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 10px;
}

.panel-top-buttons {
    margin-bottom: 20px;
    text-align: right;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

.cash-popup {
    display: none;
}

.navbar-brand li a {
    text-shadow: none;
}

/* Home button*/
.glyphicon-home {
    margin-right: 10px;
}

/*modal vertical alignment*/
.modal {
    text-align: center;
    padding: 0 !important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#search-game {
    position: relative;
    top: 2px;
    width: 340px;
    height: 32px;
    padding-bottom: 0;
}

.popover {
    max-width: 500px;
}

.iframe-autoresize-wrapper label {
    font-weight: normal;
}

#above-iframe {
    display: inline;
}

#above-iframe .dir-link {
    display: inline;
    margin-left: 15px;
}

.username-limit {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: bottom;
    white-space: nowrap;
}

.wlid-limit {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: bottom;
    white-space: nowrap;
}

.select-global-top-menu-item {
    margin-right: 5px;
}

/* game environment data section*/
#env-text {
    padding: 20px;
}

#environment {
    clear: both;
}

#msg {
    color: #999;
    margin-left: 10px;
}

#game-frame-wrapper .container {
    padding-left: 0;
    clear: both;
}

.env-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 0 0 70px;
}

.env-content .tab-pane pre {
    border-radius: 0;
    margin: 0;
    border: 0;
    background-color: white;
}

#game-data-copy {
    margin: 20px 0 0 20px;
}

#buttons, #emulation, #console {
    padding: 20px;
}

.buttons-link {
    margin-right: 15px;
}

.buttons-link a.btn-default {
    margin-bottom: 15px;
}

#ajax-env-url {
    color: #c80000;
}

#emulation, #apicommand-response {
    color: #777;
}

#emulation a {
    margin: 0 20px 10px 0;
    width: 200px;
}

#api .container {
    padding: 20px;
}

#ajax-apicommand-fields .control-label:first-letter {
    text-transform: capitalize;
}

/* Links above iframe section*/
#above-iframe {
    height: 45px;
}

#above-iframe p {
    margin-top: 5px;
}

#roundhistory-link {
    margin-left: 30px;
}

#game-frame-wrapper a.text-muted {
    color: #337ab7;
    text-decoration: underline;
}

#shifter-form, #ajax-shifter-message {
    display: inline;
}

#shifter-form label, #ajax-shifter-message {
    color: #777;
    margin: 0 10px;
}

#shifter-form .form-group {
    margin-left: 10px;
}

.tab-pane form {
    width: fit-content;
    float: left;
}

.tab-pane .save-branch input {
    margin: 10px 0 10px 20px;
}

.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.top-label {
    vertical-align: top;
    font-weight: normal;
}

.top-label-bold {
    vertical-align: top;
    font-weight: bold !important;
}

.default-cash-in-label {
    float: left;
    line-height: 34px;
    margin-right: 11px;
}

.content {
    margin-bottom: 20px;
}

.tab-list-wrapper {
    display: inline-block;
    visibility: hidden;
}

/* SELECT2 styles*/
.select2-container .select2-selection--single,
.select2-container .select2-selection--focus,
.select2-container .select2-selection--multiple {
    height: 32px !important;
}

#search-game {
    max-width: 340px;
    display: inline-block;
    visibility: hidden;
}

.navbar-inputs {
    text-align: center;
    margin: 8px 0;
}

.version-block {
    font-size: 12px;
    margin: 18px 6px 0 0;
}

.currency-block {
    font-size: 13px;
}

.currency-submit {
    margin-left: 5px;
    height: 32px;
}

.label-red-round {
    z-index: 1;
    position: absolute;
    width: 15px;
    height: 15px;
    background: #d23535;
    top: -7px;
    right: -7px;
    color: white;
    border-radius: 11px;
    font-size: 11px;
    line-height: 1.5;
    text-shadow: none;
}

#err-code {
    width: 200px;
}

#err-skip {
    margin-bottom: 5px;
    width: 70px;
    border-radius: 4px;
}

.buttons-wrapper {
    margin-top: 3px;
}

#set-fun {
    margin-top: 0;
}

.text-danger-wl {
    color: #d23535;
}

.text-success-wl {
    color: #468847;
}

.content-wrapper {
    margin-top: 15px;
}

.indicat-text {
    margin: 0 5px;
}

a.disabled {
    color: gray;
    pointer-events: none;
    text-decoration: none !important;
}

.curr-sleep {
    text-decoration: underline;
    background-color: #d0d0d0;
}

.curr-sleep:hover {
    text-decoration: underline;
}

.sleep-under-iframe {
    text-align: center;
    margin-top: 5px;
}

.sleep-shortcut {
    font-size: 12px;
}

nav a.sandwich-toggler {
    display: block;
}

/* Wrapper Styles */

body {
    overflow-x: hidden;
}

#wrapper.toggled {
    padding-right: 350px;
}

#wrapper.toggled #sidebar-wrapper {
    width: 350px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: 0;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 350px;
    margin: 0;
    padding: 0 0 50px 0;
    list-style: none;
}

.sidebar-nav li {
    margin: 15px;
}

.sidebar-nav li .side-block {
    margin-left: 15px;
}

.sidebar-nav li .side-title a {
    font-size: 18px;
    margin: 5px 0 10px;
}

.sidebar-nav li a:active, .sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#error-emulator-buttons #err-command {
    margin-bottom: 5px;
}

#players-list-select {
    width: 300px;
    margin-bottom: 5px;
}

.user-player-info {
    margin-left: 5px;
}

.create-player-fun .checkbox {
    margin-top: 30px;
    margin-left: 35px;
}

#switch-theme:hover {
    cursor: pointer;
}

#switch-theme span.glyphicon {
    line-height: 1.2;
    margin-left: 3px;
}

#generate-key-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.generate-key button {
    margin-top: 15px;
}

@media (min-width: 768px) {
    #wrapper {
        padding-left: 0;
    }

    #wrapper.toggled {
        padding-right: 350px;
    }

    #sidebar-wrapper {
        width: 0;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 350px;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

#qr-popup-overlay {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow-y: hidden;
    overflow-x: hidden;
}

.qr-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -400px;
    margin-top: -375px;
}

.qr-background {
    height: 750px;
    width: 750px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid #4ddb4d;
}

#qrcode {
    width: 700px;
    height: 700px;
}

#qr-btn {
    font-size: 20px;
    margin: 0 10px;
    cursor: pointer;
    padding: 1px;
    border-radius: 2px;
}

#err-code-custom {
    width: 200px;
}

.sidebar-btn {
    font-size: larger;
    margin: 0 5px;
    padding: 10px;
    border: 0;
}


.wl-header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    z-index: 100;
}

.left-section {
    width: 200px;
    margin-left: 15px;
}

.middle-section {
    width: 790px;
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.right-section {
    width: 398px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.wl-site-name a, .wl-site-name a:hover {
    font-size: 18px;
    text-shadow: none;
    text-decoration: none;
}

.wl-back-to-main {
    display: none;
}

.wl-back-to-main a {
    display: block;
    width: 26px;
    height: 26px;
}

.wl-version {
    font-size: 12px;
}

.wl-header .btn-gen-key {
    display: flex;
    border: 1px solid #AAAAAA;
    border-radius: 3px;
    padding: 0 5px;
}

.wl-header #switch-theme {
    display: flex;
    border: 1px solid #AAAAAA;
    border-radius: 3px;
    padding: 3px 5px;
}

.wl-balance {
    display: flex;
}

.wl-balance-underline {
    border-bottom: 1px solid #00b3ee;
}

.real-bal-block, .fun-bal-block {
    margin: 0 5px;
}

.user-block, .player-block, .wlid-block {
    margin: 3px;
}

.logout-link {
    margin: 0 5px;
    padding: 10px;
}

.btn-gen-key a {
    width: 24px;
    height: 24px;
}

.wl-iframe input, .wl-negative input, .wl-demo input {
    vertical-align: -1px;
}

#top-real-balance {
    font-size: 18px;
}

#top-fun-balance {
    font-size: 18px;
}

.hidden-list {
    display: none;
    position: relative;
}

.hidden-list .dots-icon {
    display: block;
    font-size: 16px;
    padding: 6px 8px 0 8px;
    cursor: pointer;
    border: 1px solid #AAAAAA;
    border-radius: 3px;
    height: 27px;
}

#menu-list {
    display: none;
    position: absolute;
    top: 59px;
    left: 15px;
    width: 155px;
    list-style: none;
    margin: 0;
    padding: 8px;
    border: 0;
    flex-direction: column;
    align-items: baseline;
    border-radius: 5px;
}

.player-block {
    cursor: pointer;
}

#players-list {
    display: none;
    position: absolute;
    top: 59px;
    width: 291px;
    list-style: none;
    margin: 0;
    padding: 5px;
    border: 0;
    flex-direction: column;
    align-items: baseline;
    border-radius: 5px;
    overflow: auto;
    max-height: 450px;
}

#menu-list li, #players-list li {
    margin: 4px;
}

#players-list li.selected {
    color: #1E92BE;
    font-weight: bold;
    border-bottom: 1px solid;
}

.triangle-style {
    top: 2px;
    width: 13px;
}

.player-row {
    display: flex;
    align-items: inherit;
    justify-content: space-between;
    width: 100%;
}

.clone-player.span {
    top: 2px;
}

#create-tags {
    padding-top: 12px;
    padding-right: 12px;
}

.tag {
    position: relative;
    margin: 0 0 10px;
    padding: 5px 10px;
    border-radius: 5px;
}

.tag-field {
    display: flex;
    flex-direction: row;
    margin: 5px 0;
}

.tag-field label {
    display: flex;
    align-items: center;
    margin-right: 5px;
    margin-bottom: 0;
}

.remove-tag {
    position: absolute;
    top: -7px;
    right: -6px;
    width: 25px;
    height: 25px;
    display: flex;
    border-radius: 15px;
    margin: 0;
}

.remove-tag span {
    margin-left: 4px;
    margin-top: 3px;
}

.remove-tag:hover {
    cursor: pointer;
}

.add-tag {
    width: 25px;
    height: 25px;
    display: flex;
    border-radius: 15px;
    margin-top: 1px;

}

.add-tag span {
    margin-left: 5px;
    margin-top: 3px;
}

.add-tag:hover {
    cursor: pointer;
}

.tags-actions {
    display: flex;
    justify-content: space-between;
}

.no-tags-row {
    margin: 0 0 15px 0;
}

.tags-errors {
    margin: 12px 0;
    display: flex;
    border: 1px solid #707070;
    padding: 5px 10px;
    border-radius: 5px;
}

.tags-errors .glyphicon {
    font-size: 20px;
}

.tags-err-msg {
    font-size: 15px;
    margin-left: 7px;
}

.clone-player:hover {
    color: #1E92BE;
    cursor: pointer;
}

@media (max-width: 1401px) {
    .left-section {
        width: 26px;
    }
    .wl-site-name {
        display: none;
    }
    .wl-back-to-main {
        display: block;
    }
}

@media (max-width: 1217px) {
    .hidden-list {
        display: block;
    }
}

@media (max-width: 1185px) {
    #players-list {
        right: 15px;
    }
}

@media (max-width: 1131px) {
    .right-section {
        width: 505px;
    }
}

@media (max-width: 985px) {
    .right-section {
        width: 688px;
    }
}

@media (max-width: 839px) {
    .right-section {
        width: 750px;
    }
}

@media (max-width: 805px) {
    .right-section {
        width: 398px;
    }
}