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

:root {
    --panel-color: #444;
}

body {
    background-color: #e1e1e1;
}

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

body {
    text-align: center;
}

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

.site-container {
    width: calc(100% - 350px);
    max-width: 1200px;
    display: inline-block;
    position: relative;
    height: 100%;
    vertical-align: top;
    /*background-color: #fff;*/
}

/*.site-container {*/
body {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/*.site-container::before {*/
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/new-bg.jpg);
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  /*opacity: 0.2;*/ /* Adjust for transparency */
  z-index: -1;
}

.shoutbox {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    vertical-align: top;
    height: 100%;
    float: right;
    text-align: left;
}

.shoutbox .panel {
    margin-bottom: 0px;
    height: 100%;
    background-color: var(--panel-color);
    color: #fff;
}

.shoutbox .panel .list-group-item {
    padding: 5px;
}
.shoutbox .panel .list-group-item p {
    margin-bottom: 0px;
}
.shoutbox .panel h5 {
     text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px  1px 0 black, 1px  1px 0 black;
}
.shoutbox .panel h5 small {
    text-shadow: none;
}
.shoutbox .panel [type="text"] {
    margin: 5px;
    width: calc(100% - 10px);

}

.panel .list-group {
    background-color: var(--panel-color);
}

.avatar-container {
    width: 40px;
    height: 40px;
    overflow: hidden;
    float: left;
    border: 1px solid;
    margin-right: 10px;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the box while maintaining aspect ratio */
}


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

.navigation {
    width: 220px;
    background-color: #26323e;
}

.game-container {
    width: calc(100% - 224px);
    padding:15px;
}

.three-columns {
    position: absolute;
    top: 157px;
    left: 0px;
    right: 0px;
    height: calc(100% - 156px);
    /*background-color: rgba(255, 255, 255, 0.9);*/
}

.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: #121c26;
    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;
}
.header .logo-container {
    line-height: 80px;
}

.sub-header {
    background-color: #25313d;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #272727;
}

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


.sub-header .timers a {
    line-height: 25px;
    margin: 5px 0px;
    width: 80px;
    border-radius: 3px;
    display: inline-block;
    background-color: #2e4456;
}

.sub-header .timers .progress-info {
    width: 100px;
    display: inline-block;
    color: #fff;
    padding-top: 4px;
}

.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: #293c4c;
}

.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;
}
.progress.energy .progress-bar {
    background-color: #840606;
    border: 1px solid #b70000;
}
.progress.will .progress-bar {
    background-color: #807a09;
    border: 1px solid #b7af0b;
}
.progress.brave .progress-bar {
    background-color: #065990;
    border: 1px solid #047ac7;
}
.progress.health .progress-bar {
    background-color: #0a5803;
    border: 1px solid #108607;
}
.progress.health {
    margin-bottom: 0px;
}

.menu-progress {
    margin-bottom: 0px;
    float: right;
    height: 10px;
    width: 75px;
    margin-top: 3px;
    margin-right: -3px;
}

.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;
    color: #000 !important;
}

.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: #39556d;
    border-bottom: 3px solid #2b4156;
    color: #fff;
    text-align: left;
    padding: 2px 5px;
}

.navigation .label {
    float: right;
}

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

.navigation .panel .panel-heading {
    background-color: #192632;
    border-radius: 0px;
    padding: 1px 10px;
    text-align: left;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navigation .panel .panel-body {
    background-color: #26323e;
    border-radius: 0px;
    font-weight: bold;
    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 span.pull-right {
    font-weight: 300;
}

.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: #2b4156 !important;
}

.table-striped>thead>tr:nth-child(odd)>td, .table-striped>thead>tr:nth-child(odd)>th {
    background-color: #39556d;
    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: #587a94;
    color: #fff;
}

.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;
}

.well {
    background-color: var(--panel-color);
    color: #fff;
}

.panel-body {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 5px;
    border: 1px solid #373737; 
    color: #fff;
}


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

.panel-heading.text-left {
    text-align: left;
    padding-left: 10px;
}

.btn:hover{
    text-decoration: underline;
    background-color: inherit;
}

.btn-default,
.btn.btn-default:hover,
.panel-default > .panel-heading {
    background-color: #39556d;
    border: none;
    border: #587a94 1px solid;
    color: #fff;
}

.btn-default {
    border-bottom: 4px solid #2b4156 !important;
}

.panel-default {
    border: 1px solid #ccc;
}

.panel-default > .panel-heading {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

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

.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";
}

.login-page {
    overflow: auto !important;
}

@media (max-width: 767px) {
    html, body {
        height: 100%;
        font-size: 12px;
    }
    .site-container {
        width: 100%;
    }
    .three-columns {
        position: absolute;
        top: 180px;
        left: 3px;
        right: 3px;
        height: calc(100% - 180px);
    }

    .navigation {
        display: none;
    }

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

    .mobile-menu {
        background-color: #587a94;
        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: #2b4156;
        color: #fff;
        display: block;
        clear: both;
        font-weight: bold;
    }


    .mobile-bottom-menu {
        text-align: center;
    }

    .mobile-bottom-menu > * {
        background-color: #272727;
        float: none !important;
        height: 40px;
        width: 40px;
        line-height: 40px;
        padding: 0px;
        display: inline-block;
        color: #fff;
        margin: 15px !important;
        border-radius: 4px;
    }

    .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;
    }

    .show-shoutbox {
        display: none !important;
    }

    .shoutbox {
        display: none;
    }

    .chat-open .shoutbox {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .chat-open .three-columns {
        display: none;
    }

    .chat-open .site-container {
        height: auto;
    }

    .navigation, .game-container {
        height: calc(100% - 72px);
    }

}

.shoutbox-messages.list-group .list-group-item {
    color: #fff !important;
}

.show-shoutbox {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background: #39556d;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
  display: none;
  border-radius: 5px 5px 0 0;
}

.show-shoutbox i {
  margin-right: 5px;
}

.cooldown.spacer {
    width: 100px !important;
    margin: 0px !important;
    padding: 0px !important;
    color: #aaa;
    font-size: 10px;
}

.cooldown.pull-left {
    display: inline-block;
    width: 120px;
}

.history .crime-holder .action {
    font-size: 12px;
}

.history .crime-holder {
    margin-bottom: 5px;
}

.history .crime-holder p {
    padding: 5px;
}

.car-name {
  color: #3498db; /* blue */
  font-weight: bold;
}

.car-value {
  color: #27ae60; /* green */
}

.car-danger {
  color: #e74c3c; /* red */
}
