:root {
    --primary-color: #191919;
    --secondary-color: #333;
    --color-1: #3d3d3d;
    --color-2: #000;
    --color-3: #1c1c1c;
    --color-4: #242424;
    --color-5: #3d3d3d;
    --color-6: #4d4d4d;
    --navigation-width: 185px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    position: relative;
}

body {
    background-color: #e1e1e1;
}

a, 
a:focus,
a:active,
a:hover {
    color: inherit;
}

.login-container {
    max-width: 800px;
    margin: auto;
}

.navigation,
.game-container {
    display: inline-block;
    vertical-align: top;
    height: 100%;
    overflow-y: auto;
}

.navigation {
    width: var(--navigation-width);
    background-color: var(--secondary-color);
}

.game-container {
    width: calc(100% - var(--navigation-width));
}

[data-ajax-element="alerts"],
[data-ajax-element="game"] {
    padding: 5px;
    margin: auto;
    max-width: 800px;
}


.three-columns-container {
    position: relative;
    height: calc(100% - 182px);
    display: block;
}

.three-columns {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
    text-align: center;
    background-color: var(--color-6);
    border-bottom: 5px solid var(--secondary-color);
}

.container .three-columns {
    left: 15px;
    right: 15px;
    border-right: 5px solid var(--secondary-color);
}

.user-status-0 .navigation {
    display: none;
}

.user-status-0 .game-container {
    max-width: 800px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

.user-status-0 .logo-container {
    text-align: center !important;
    width: 100%;
}

.user-status-0 .sub-header,
.user-status-0 .header .col-md-2,
.user-status-0 .header .col-md-3 {
    display: none;
}

.no-scroll {
    overflow: hidden;    
}

.alert {
    border: 1px solid;
}

.padding {
    padding: 0 10%;
}

.status {
    background-color: var(--color-3);
    border-bottom: 1px solid #2a333b;
    text-align: right;
    color: #fff;
}

.status a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.status a {
    padding: 0px 10px;
    line-height: 34px;
    display: inline-block;
    border-left: 1px solid #2a333b;
}

.status a .game-icon {
    vertical-align: middle;
    font-size: 20px;
}

.status a img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header {
    background-color: #16222f;
    border-bottom: 1px solid #272727;
    line-height: 40px;
    background-image: url(../images/banner.png);
    background-position: center;
    background-size: cover;
    height: 140px;
}
.header .logo-container {
    line-height: 80px;
}

.sub-header {
    background-color: var(--color-4);
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #272727;
}

.sub-header .timers {
    text-align: left;
    padding: 0px 5px;
}


.sub-header .timers .pull-right {
    height: 35px;
}

.sub-header .timers .label {
    line-height: 25px;
    margin: 5px 0px;
    min-width: 80px;
    border-radius: 3px;
    display: inline-block;
    background-color: var(--color-5);
}
.sub-header .timers .sub-header-item {
    line-height: 35px;
    padding: 0px 5px;
    display: inline-block;
}

.sub-header .timers .progress-info {
    width: 80px;
    display: inline-block;
    color: #fff;
}

.sub-header .timers .progress-info .progress {
    margin-bottom: 0px;
    height: 6px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
}

.sub-header .timers a:hover {
    background-color: var(--color-6);
}

.sub-header .timers a .game-icon {
    font-size: 20px;
    line-height: 20px;
    vertical-align: middle;
}

.sub-header .timers a [data-timer-type] {
    line-height: 20px;
}

.sub-header .stats {
    line-height: 25px;
}
.character-stats .progress {
    border: 1px solid #353535;
    background-color: #1f1f1f;
    padding: 1px;
    margin-bottom: 5px;
    height: 10px;
}
.character-stats .progress .progress-bar {
    border-radius: 5px;
}
.character-stats .progress.energy .progress-bar {
    background-color: #840606;
    border: 1px solid #b70000;
}
.character-stats .progress.will .progress-bar {
    background-color: #807a09;
    border: 1px solid #b7af0b;
}
.character-stats .progress.brave .progress-bar {
    background-color: #065990;
    border: 1px solid #047ac7;
}
.character-stats .progress.health .progress-bar {
    background-color: #0a5803;
    border: 1px solid #108607;
}
.character-stats .progress.health {
    margin-bottom: 0px;
}

.timers {
    background-color: transparent;
}

.well {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    text-align: left;
}
.well h3 {
    margin-top: 0px;
}

.tiny {
    font-size: 12px;
    line-height: 20px;
}

hr {
    border-top: 1px solid #474747 !important;
}

.form-control-inline {
    display: inline-block;
    width: 200px;
}

.input-group-inline {
    width: 200px;
    margin: auto;
}

.input-group-addon {
    background-color: #101010;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.dropdown-menu {
    background-color: #272727;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    background-color: #474747;
    color: #b7b7b7;
}

.dropdown-menu>li>a {
    color: #979797;
}
.dropdown-menu .divider {
    background-color: #979797;
}

.crime-holder {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #e6e6e6;
    margin-bottom:10px;
}

.crime-holder p {
    padding:10px;
    margin:0px;
    text-align: right;
}

.crime-holder .cooldown {
    color: #777;
    padding-right: 20px;
}

.crime-holder .action {
    float: left;
}

.crime-holder .crime-perc {
    width:100%;
    height:2px;
    background-color:#900;
}

.crime-holder .crime-perc .perc {
    height:2px;
    background-color:#090;
    width: 0px;
}

.crime-holder .crime-header {
    background-color: var(--color-1);
    border-bottom: 3px solid var(--color-2);
    color: #fff;
    text-align: left;
    padding: 2px 5px;
}

.navigation {
    float: left;
}

.navigation .label {
    float: right;
}

.navigation .panel {
    margin: 0px;
    border-radius: 0px;
    border: none;
}

.navigation .panel .panel-heading {
    background-color: var(--primary-color);
    background-image: url(../images/menu-header.png), linear-gradient(0deg,var(--primary-color) 0%, var(--color-5) 100%);
    border-radius: 0px;
    padding: 1px 10px;
    color: #fff;
    font-weight: 900;
    text-align: left;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navigation .panel .panel-body {
    background-color: var(--secondary-color);
    border-radius: 0px;
    font-weight: 300;
    font-size: 12px;
    padding: 0px;
    border: none;
}

.navigation .panel .panel-body a {
    padding: 2px 10px;
    display: block;
    color: #fff;
    text-align: left;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navigation .panel .panel-body a:hover {
    text-decoration: none;
}

.navigation .panel .panel-body a[href]:hover {
    border-left: 3px solid #246096;
    background-color: #364759;
}

.panel-heading {
    text-transform:capitalize;
}

.form-control {
    background-color: #e9e9e9;
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.form-control:focus {
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.form-group .form-control {
    color: #aaa;
}

table tr td, table tr th {
    text-align: left;
}

.login-logo {
    padding-top: 150px;
    padding-bottom:50px;
    text-align: center;
}

.timer-active {
    color: #a94442 !important;
}

.timer-done {
    color: #3c763d !important;
}

.img-thumbnail {
    background-color: transparent;
    border-color: #555;
}

.table-borderless tr, .table-borderless tr td, .table-borderless tr th {
    border: none !important;
}

.table-bordered,
.table-bordered th,
.table-bordered td {
    border-color: var(--color-2) !important;
}

.table-striped>thead>tr:nth-child(odd)>td, .table-striped>thead>tr:nth-child(odd)>th {
    background-color: var(--color-1);
    color: #fff;
}
.table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-striped>tbody>tr:nth-child(even)>td, .table-striped>tbody>tr:nth-child(even)>th {
    background-color: rgba(0, 0, 0, 0.15);
}

.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: 2px 5px;
}
.mobile-menu {
        display: none;
}

.user-level-0:before {
    content: "[BANNED]";
}
.user-level-0,
.user-level-0:hover {
    color: #777;
}

.user-level-2,
.user-level-2:hover {
    color: #ff0;
    font-weight: bold;
}

.new {
    color: #3c763d ;
    font-weight: bold;
}

.login-form {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.nav-pills>li>a {
    padding: 5px;
    margin-bottom: 10px;
}

.nav-pills>li>a:hover {
    background-color: #474747;
}

.nav-tabs {
    border-bottom: 1px solid #474747 !important;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.nav-tabs li a {
    border-bottom-color: transparent !important;
}

.nav-tabs li a:hover {
    background-color: #474747;
    border-radius: 5px;
    border-color: transparent;
}

.list-group, .list-group .list-group-item {
    border-color: var(--color-6);
    color: #39556d;
}

.list-group .list-group-item:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}    

.list-group .list-group-item:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.15);
}

.list-group .list-group-item .badge {
    background-color: transparent;
}


.btn {
    color:#fff;
    position: relative;
    border: none;
}

.panel {
    background-color: transparent;
    border: none;
}

.panel-body {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 5px;
}


.panel-heading{
    position: relative;
    height: auto;
    padding: 0px;
    text-align: center;
    line-height: 28px;
    border-radius: 3px;
}


.panel-default {
    --border: 1px solid var(--color-1);
}

.panel-default > .panel-heading {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: var(--secondary-color);
    color: #fff;
}

.panel-default > .panel-body {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top: 4px solid var(--color-2);
    background-color: #fff;
}

.text-success {
    color: #00c300;
}


.panel-closed .panel-body {
    display: none;
}

.navigation .panel-heading:after {
  position: absolute;
  top: 8px;
  right: 5px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e114";
  color: rgba(255, 255, 255, 0.2);
}

.navigation .panel-closed .panel-heading:after {
  content: "\e080";
}

.btn-default {
    background-color: #222;
}
.btn-default:hover {
    background-color: #252525;
    color: #fff;
}

.form-control {
    padding: 0px 5px !important; 
}

[data-ajax-element="game"] .panel {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

textarea:focus, textarea.form-control:focus, input.form-control:focus, input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=number]:focus, [type=text].form-control:focus, [type=password].form-control:focus, [type=email].form-control:focus, [type=tel].form-control:focus, [contenteditable].form-control:focus
 {
    box-shadow: inset 0 -2px 0 #222;
}

@media (max-width: 767px) {
    html, body {
        height: 100%;
        font-size: 12px;
    }

    body > .container {
        padding: 0px;
    }

    .navbar-toggle {
        margin: 15px !important;
    }

    .three-columns-container {
        position: relative;
        height: calc(100% - 213px);
        display: block;
    }

    .sub-header .timers .pull-right,
    .sub-header .timers .label {
        float: left;
    }

    .sub-header .timers .label {
        width: calc(25% - 4px);
        margin: 2px;
    }
    .sub-header .timers .progress-info {
        padding-top: 0px;
    }

    .sub-header .timers .pull-right {
        width: 25%;
    }

    .sub-header .timers .progress-info {
        width: calc(50% - 2px);
        padding-left: 4px;
    }

    .three-columns {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        padding: 15px;
        height: 100%;
        border: none;
    }

    .navigation {
        display: none;
    }

    .login-logo {
        padding-top: 25px;
        padding-bottom: 25px;
        text-align: center;
    }

    .mobile-menu {
        background-color: var(--color-6);
        color: #fff;
        height: 100%;
        overflow: auto;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        display: none;
        z-index: 1000;
    }

    .mobile-menu ul.nav {
        position: absolute;
        top: 0px;
        bottom: 30px;
        left: 0px;
        right: 0px;
        overflow: auto;
    }

    .mobile-menu .close-mobile-menu {
        position: absolute;
        text-align: center;
        bottom: 0px;
        left: 0px;
        right: 0px;
        line-height: 30px;
        color: #fff;
        z-index: 1100;
        background-color: #474747;
    }
    
    .mobile-menu li {
        float: left;
        text-align: center;
    }

    .mobile-menu li a {
        padding: 7px 15px;
        margin-bottom: 0px;
    }

    .mobile-menu .title {
        background-color: var(--color-2);
        color: #fff;
        display: block;
        clear: both;
        font-weight: bold;
    }

    .padding {
        padding: 0 2%;
    }

    .game-container {
        padding: 0px;
        margin: 0px;
        width: 100%;
    }

    .navbar-toggle {
        background-color: #272727;
        border: 1px solid #474747;
        margin-left: -5px;
        margin-right: 0px;
        float: left;
    }
    .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    .header,
    .sub-header {
        line-height: 25px;
    }

    .header .logo-container {
        text-align: center !important;
    }
    .header .col-xs-6 {
        padding: 0px; 
    }
    .header .logo-container {
        line-height: 60px;
    }
    .logo-container img {
        height: 40px;
    }

    .crime-holder p {
        text-align: center;
    }
    .crime-holder .action {
        display: block;
        float: none;
    }
    .crime-holder .cooldown,
    .crime-holder .commit {
        width: 49%;
        float: none;
        display: inline-block !important;
        text-align: center;
        font-size: 12px;
        margin-top: 8px;
    }
    .crime-holder .commit:after {
        content: "";
        clear: both;
        display: block;
    }

}
