@import url('https://fonts.googleapis.com/css2?family=Afacad&display=swap');

/****** GLOBAL STYLES ******/
html, body {
    min-height: 100%;
    background-position: top center !important;
    background-color: #000000 !important;
    color: #ffffff;
    background-image: url(../images/bg.png);
    font-family: 'Afacad', sans-serif;
}

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

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

.has-top-nav {
    padding-top: 50px;
}

.has-bottom-nav {
    padding-bottom: 50px;
}

.greyscale {
    filter: grayscale(0.6);
}

/****** BUTTONS ******/
.btn-link {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #AAA !important;
    background-color: #1a1a1a !important;
    opacity: 0.6;
}

.btn-link:hover {
    opacity: 1;
}
    
.btn.has-icon {
    position: relative;
    padding-left: 61px;
}

.btn.has-icon i {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 43px;
    line-height: 43px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #111;
}
    
.btn.has-icon-right {
    position: relative;
    padding-right: 61px;
}

.btn.has-icon-right i {
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 43px;
    line-height: 43px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #111;
}

/****** LOGIN ******/
.login-feature {
    background-image: url(../images/bar.jpg);
    background-position: center;
    background-size: cover;
    height: 75%;
    -webkit-mask-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 50%);
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 0;
}

.login-page {
    position: relative;
    z-index: 1;
}

/****** LAYOUT ******/

.main-game-container {
    margin: auto;
    padding-bottom: 100px;
}

.side-bar,
.game-container {
    display: inline-block;
    vertical-align: top;
}

.game-container {
    width: calc(100% - 265px);
    margin: 0px 15px;
}

.game-container > * {
    position: relative;
}

.game-content-container {
    max-width: 1024px;
    margin: auto;
}

/****** USER STAT BAR ******/

.user-stat-bar {
    height: 80px;
}

.user-info-data {
    margin-top: -10px;
}

.user-profile-picture-container {
    width: 60px;
    display: inline-block;
}

.user-stat-bar.navbar-default .navbar-nav,
.user-stat-bar.navbar-default .navbar-nav>li {
    height: 80px;
}
.user-stat-bar.navbar-default .navbar-nav>li>a {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    margin: 5px;
    margin-right: 0px;
    height: 70px;
    line-height: 20px;
    display: inline-block;
    text-align: center;
    width: calc(100% - 10px);
}
.user-stat-bar.navbar-default .navbar-nav>li>a.no-timer {
    line-height: 40px;
    box-shadow: inset 0 0 20px #000000;
    border: 1px solid #000;
}
.user-stat-bar.navbar-default .navbar-nav>li>a:has(.timer-done) {
    border: 1px solid #000;
    box-shadow: inset 0 0 20px #002200;
}
.user-stat-bar.navbar-default .navbar-nav>li>a:has(.timer-active) {
    border: 1px solid #000;
    box-shadow: inset 0 0 20px #220000;
}

.user-stat-bar.navbar-default .navbar-nav {
    display: flex;
    width: calc(100% - 100px);
}
.user-stat-bar.navbar-default .navbar-nav>li {
    flex-grow: 1;
    flex: 1 1 0px;
}
.user-stat-bar.navbar-default .navbar-nav>li.user-info {
    flex: 1 1 150px;
}
.user-stat-bar.navbar-default .navbar-nav>li.user-info a {
    border: 1px solid #000;
    box-shadow: inset 0 0 6px #000000;
}

.user-stat-bar.navbar-default .navbar-nav>li.user-info .health {
    height: 20px;
    margin-top: 8px;
    margin-bottom: 0px;
    position: relative;
}

.user-profile-picture {
    position: absolute;
    height: 100px;
    width: 100px;
    left: 5px;
    background-color: #000;
    bottom: 5px;
    border-radius: 50%;
    border: 1px solid #333;
    overflow: hidden;
}

.user-profile-picture:hover:after {
    background-color: rgba(0, 0, 0, 0.8);
    content: "Edit";
    color: #fff;
    line-height: 100px;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.user-profile-picture img {
    margin: 5px;
    height: 88px;
    width: 88px;
    border-radius: 50%;
}

/****** MISC STYLES ******/
.no-scroll {
    overflow: hidden;    
}

.padding {
    padding: 0 10%;
}

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

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

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

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

/****** BBCODE STYLES ******/
.bb_image {
    max-width: 100%;
}

/****** LOGIN STYLES ******/
.login-logo {
    padding-top: 60px;
    padding-bottom:60px;
    text-align: center;
}

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

/****** USER STATUS STYLES ******/
.user-status-0 .side-bar {
    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;
}

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

/****** HEADER STYLES ******/
.header {
    background-color: #131313;
    border-bottom: 1px solid #272727;
    line-height: 40px;
    margin-bottom: 10px;
    position: relative;
}

.header .logo-container {
    line-height: 80px;
}

.header .header-link {
	color: rgba(255, 255, 255, 0.5);
}

.header .header-link i {
	font-size: 24px;
	margin-top: 15px;
	vertical-align: middle;
	display: block;
}

/****** SIDEBAR STYLES ******/
.side-bar {
    width: 220px;
}

.side-bar.left-side-bar {
	margin-left: 10px;
}

.side-bar.chat-sidebar {
    width: 300px;
}

.side-bar.right-side-bar {
	margin-right: 10px;
}

.side-bar .label {
    float: right;
}

.side-bar .panel > .list-group {
    border: 1px solid #000 !important;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-radius: 0px;
}

.side-bar .panel-heading {
    margin-bottom: 2px;
}

.side-bar .list-group .list-group-item {
    position: relative;
    line-height: 22px;
    background-color: #111 !important;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: 14px;
    padding: 0px;
}
.side-bar .list-group .list-group-item > span {
    display: block;
    padding: 0px 5px;
    border-left: 5px solid rgba(255, 255, 255, 0.1);
    border-right: 5px solid rgba(255, 255, 255, 0.1);
}

.side-bar .list-group .list-group-item > span span {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    padding: 1px 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.side-bar .list-group .list-group-item > span span.timer-done {
    background-color: #001a00;
}

.side-bar .list-group .list-group-item > span span.timer-active {
    background-color: #1a0000;
}

.side-bar .list-group .list-group-item:hover {
    background-color: #191919 !important;
    color: #fff;
}

.side-bar .list-group .list-group-item small {
    position: relative;
    font-size: 11px;
    z-index: 200;
}

.side-bar .list-group .progress {
    position: absolute;
    top: 3px;
    right: 3px;
    bottom: 3px;
    width: 100px;
    height: 16px;
    z-index: 100;
}


.character-stats .progress {
    border: 1px solid #353535;
    background-color: #1f1f1f;
    padding: 1px;
    margin-bottom: 5px;
    height: 10px;
}
.character-stats .progress .progress-bar {
    border-radius: 2px;
}

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

/****** CRIME HOLDER ******/
.crime-holder {
    border:1px solid #555;
    background: #010101;
    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 .commit {
    background-color: #222;
    border: 1px solid #555;
    padding: 5px 6px;
    border-radius: 3px;
}

.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: #272727;
    border-bottom: 1px solid #474747;
    padding: 0px 5px;
}

/****** BOOTSTRAP OVERRIDES ******/
.alert {
    border: 1px solid rgba(0, 0, 0, 0.75);
    color: #fff;
}

.well {
    background-color: #151515;
    border: 1px solid #474747;
    text-align: left;
}

.well h3 {
    margin-top: 0px;
}

/*** Panel ***/
.panel{
    background-color: transparent;
    border: none;
    position: relative;
}
.panel [data-menu-id] {
    cursor: pointer;
}

.panel.closed .list-group,
.panel.closed .panel-body {
    display: none;
}

.panel-heading{
    color: #fff !important;
    background-color: #111 !important;
    border: 1px solid #222 !important;
    text-align: center;    
    box-shadow: inset 0 0 20px #000000;
    margin-bottom: 5px;
    border-radius: 4px;
}

.panel > .list-group,
.panel-body {
    background: #090909;
    border: none;
    border: 1px solid #222 !important;
    border-radius: 4px;
    overflow: hidden;
}

/*** Forms ***/
.form-control {
    background-color: rgba(0, 0, 0, 0.67);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

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

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

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

/*** Drop Down Menu ***/
.dropdown-menu {
    background-color: transparent;
    padding: 0px;
    margin-top: 5px;
}

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

.dropdown-menu>li>a {
    background-color: #111;
    color: #979797;
    border: 1px solid #474747;
    border-top: none;
    padding: 0px 5px;
    line-height: 22px;
    font-size: 12px;
    color: #fff;
}
.dropdown-menu .divider {
    background-color: #979797;
}

.dropdown-menu>li:nth-child(1)>a {
    border-top: 1px solid #474747;
}

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

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

.table-bordered,
.table-bordered th,
.table-bordered td {
    border-color: #272727 !important;
}

.table-striped>thead>tr:nth-child(odd)>td, .table-striped>thead>tr:nth-child(odd)>th {
    background-color: #171717;
}
.table-striped>tbody>tr:nth-child(odd)>td, .table-striped>tbody>tr:nth-child(odd)>th {
    background-color: #272727;
}

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

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

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

/****** Progress Bars ******/
.progress {
    background-color: #050505;
    border: 1px solid #000;
    position: relative;
}

.progress-bar-success {
    background-color: #040;
}

.progress-bar-info {
    background-color: #044;
}

.progress-bar-prefix {
    position: absolute;
    left: 5px;
    top: -1px;
}

.progress-bar-center {
    position: absolute;
    text-align: center;
    left: 5px;
    right: 5px;
    top: -1px;
}
.progress-bar-postfix {
    position: absolute;
    right: 5px;
    top: -1px;
}

/****** Navs ******/

.navbar .navbar-header .navbar-brand {
    padding: 5px 10px;
}

.navbar ul.nav.navbar-nav > li.dropdown {
    padding: 5px;
}
.navbar ul.nav.navbar-nav > li.dropdown > a {
    background-color: #111;
    border-radius: 5px;
    padding: 10px;
}

.navbar .navbar-header .navbar-brand img {
    height: 40px;
}

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

/****** Lists ******/
.list-group, .list-group .list-group-item {
    border-color: #222;
    color: #fff;
}

.list-group .list-group-item:nth-child(odd) {
    background-color: #171717;
}    

.list-group .list-group-item:nth-child(even) {
    background-color: #252525;
}

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

/****** Pagnation ******/
.pagination li a {
    background-color: #252524;
    color: #fff;
    border-color: #474747;
}

.pagination li:hover a {
    background-color: inherit !important;
    color: inherit !important;
    border-color: #474747;
}

.pagination li.active a {
    background-color: #676767 !important;
    color: #fff;
    border-color: #ccc;
}

.pagination li:nth-child(odd) a {
    background-color: #161616;
}



/****** MOBILE STYLES ******/
@media (max-width: 1367px) {
    .chat-sidebar {
        width: 220px !important;
    }

    .game-container {
        width: calc(100% - 265px);
    }
}

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

    .side-bar {
        display: none;
    }

    .show-sidebar .side-bar {
        display: block;
        width: calc(100% - 20px);
    }

    .show-sidebar .game-container {
        display: none;
    }

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

    .mobile-menu {
        background-color: #272727;
        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: #171717;
        display: block;
        clear: both;
        font-weight: bold;
    }

    .padding {
        padding: 0 2%;
    }

    .game-container {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        padding: 0px;
    }

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

    .user-stat-bar.navbar-default .navbar-nav {
        display: flex;
        width: calc(100% - 100px);
        float: right;
        margin: -1px;
    }

}
