@font-face {
    font-family: 'Electrolize';
    src: url('../fonts/Electrolize-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Sharetech';
    src: url('../fonts/ShareTechMono-Regular.ttf') format('truetype');
}

body {
    background-image: url("../images/main-background.jpg") !important;
    background-position: top center !important;
    background-repeat: repeat-y !important;
    background-color: #000000 !important;
    background-attachment: fixed;
    color: #ffffff;
    -ms-overflow-style: none;
    overflow: auto;
    overflow-x: hidden;
}

#squiffy strong {
    color: white !important;
    background: #FFFFFF40;
    padding: 0 0.75em 0 0.25em;
    margin-right: 0.5em;
    border-right: 4px solid #FF8000;
}

#squiffy strong + * {
    font-style: italic;
}

a.highlightable-nav {
    color: #E0E0E0;
}

@-webkit-keyframes redtowhitetext {
    0% { color: #FFFFFF; }
    100% { color: #808080; }
}
@-moz-keyframes redtowhitetext {
    0% { color: #FFFFFF; }
    100% { color: #808080; }
}
@-ms-keyframes redtowhitetext {
    0% { color: #FFFFFF; }
    100% { color: #808080; }
}
@-o-keyframes redtowhitetext {
    0% { color: #FFFFFF; }
    100% { color: #808080; }
}
@keyframes redtowhitetext {
    0% { color: #FFFFFF; }
    100% { color: #808080; }
}


.form-control option {
    color: white;
    font-family: Electrolize !important;
}

input.form-control {
    font-family: Electrolize !important;
}

body::-webkit-scrollbar, body *::-webkit-scrollbar {
    width: 4px;
}

body::-webkit-scrollbar-track, body *::-webkit-scrollbar-track {
    background-color: #404040;
}

body::-webkit-scrollbar-thumb, body *::-webkit-scrollbar-thumb {
    background-color: #808080;
    outline: none;
}

button.close {
    color: white;
}

div.alert {
    border-radius: 0px;
    border: none;
}

div.alert.alert-danger {
    background: rgba(255, 0, 0, 0.13);
    color: #FFE64D;
    text-shadow: 0px 0px 16px #DF740C;
    border-top: 3.33333px solid rgb(255, 230, 77);
}

div.alert.alert-warning, div.alert.alert-info {
    background: rgba(99, 165, 255, 0.12);
    color: #E6FFFF;
    text-shadow: 0px 0px 16px #6FC3EF;
    border-top: 3.33333px solid #6FC3EF;
}

div.alert.alert-success {
    background: rgba(0, 255, 34, 0.06);
    color: #DFEFE2;
    text-shadow: 0px 0px 16px #0CCD58;
    border-top: 3.33333px solid rgb(12, 205, 88);
}

#cursor {
    pointer-events: none;
    position: absolute;
    z-index: 100000;
    display: block;
}

#cursor.hidden-cursor {
    opacity: 0;
}

#cursor img {
    margin: 0;
    pointer-events: none;
}

#cursor-text {
    pointer-events: none;
    font-family: Electrolize;
    font-size: 12px;
    color: hsl(190, 0%, 90%);
    text-shadow: #000 0px 1px;
    border: none;
    border-left: 1px solid hsl(190, 0%, 90%);
    margin-left: 16px;
    padding: 2px 8px 0 16px;
    position: relative;
    top: -1px;
    background: linear-gradient(to right, hsla(190, 0%, 25%, 0.75), hsla(190, 0%, 0%, 0));
}

#cursor-text.readable-mouse-tip {
    background: linear-gradient(to right, hsla(190, 0%, 25%, 0.75), hsla(190, 0%, 0%, 0.75));
}

body *:not(.glyphicon):not(.cypher-guess):not(.cypher-colors):not(.cypher-correct):not(.img):not(.terminal-command):not(pre#terminal span) {
    font-family: Electrolize !important;
}

/*#story, #story *,*/ #terminal, .terminal-command, .terminal-output *, .cmd.enabled, .cmd, .cmd-cursor-line, .cmd-cursor.cmd-blink, .cmd-wrapper {
    font-family: Sharetech !important;
    background: none !important;
    color: white;
    font-size: 16px !important;
    white-space: pre-wrap;
}

.cmd-cursor-line *, .cmd-wrapper *, pre#terminal span {
    font-family: Sharetech !important;
    font-size: 16px !important;
}

pre {
    border: none;
}

#story #output {
    background-color: #00000080;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    padding: 1em;
}

.cypher-guess {
    font-family: Sharetech !important;
    letter-spacing: 0.5em;
    font-size: 1.5em;
    padding: 0.5em;
    text-shadow: #0000FF 0 0 8px, #8080FF 0 0 8px, #8080FF 0 0 8px, #8080FF 0 0 8px, #8080FF 0 0 8px;
}

.cypher-colors {
    color: #DF740C;
    font-family: Sharetech !important;
    margin-left: 2em;
}

.cypher-correct {
    color: #0CCD58;
    font-family: Sharetech !important;
    margin-left: 2em;
}

.login-logo, img[src="themes/default/images/logo.png"] {
    animation: rothue 20s infinite;
}

div.sub-header {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4375);
}

div.col-md-12.sub-header>div.row {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1170px;
}

div.header {
    background-image: url("../images/top-background.png") !important;
    background-position: bottom center !important;
    background-color: #000000 !important;
    background-size: cover !important;
}

div.header {
    text-shadow: black 0px 1px;
}

@keyframes rothue {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

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

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

.header {
    background-color: #131313;
    border-bottom: 1px solid #272727;
    line-height: 40px;
}

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

.sub-header {
    background-color: #000000;
    line-height: 60px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    border-bottom: 1px solid #272727;
}

.timers {
    background-color: transparent;
}

.well {
    background-color: #000;
    border: 1px solid #474747;
    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;
}

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

.panel-body {
    background: rgba(0, 0, 0, 0.4375);
    border: none;
    border-radius: 5px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border: 1px solid #373737;
    border-top: none;
}

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

.panel-heading {
    position: relative;
    color: #fff !important;
    border-bottom: none;
    height: 34px;
    background-color: rgba(0, 0, 0, 0.6) !important;
    padding: 0px;
    text-align: center;
    line-height: 34px;
}

.crime-holder {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000000;
    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: #272727;
    border-bottom: 1px solid #474747;
}

.navigation .label {
    float: right;
}

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

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

.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 {
    max-width: 480px;
    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: #474747;
    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;
}

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

.btn {
    color: #fff;
    position: relative;
    border: none;
    background-color: transparent !important;
}

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

.btn-default, .btn.btn-default:hover, .panel-default>.panel-heading {
    background: rgb(48, 48, 48);
    background: linear-gradient(180deg, rgba(86, 86, 86, 1) 0%, rgba(48, 48, 48, 1) 5%, rgba(48, 48, 48, 1) 35%, rgba(36, 36, 36, 1) 50%);
    border: #2c2c2c 1px solid;
    color: #fff;
}

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

.btn-success, .btn.btn-success:hover, .panel-success>.panel-heading {
    background: rgb(00, 75, 00);
    background: linear-gradient(180deg, rgba(00, 125, 00, 1) 0%, rgba(00, 75, 00, 1) 5%, rgba(00, 75, 00, 1) 35%, rgba(00, 45, 00, 1) 50%);
    border: #0c560c 1px solid;
    color: #fff;
}

.text-danger {
    color: #c30000;
}

.btn-danger, .btn.btn-danger:hover, .panel-danger>.panel-heading {
    background: rgb(90, 00, 00);
    background: linear-gradient(180deg, rgba(150, 00, 00, 1) 0%, rgba(90, 00, 00, 1) 5%, rgba(90, 00, 00, 1) 35%, rgba(60, 00, 00, 1) 50%);
    border: #650c0c 1px solid;
    color: #fff;
}

.text-info {
    color: #00f3ff;
}

.btn-info, .btn.btn-info:hover, .panel-info>.panel-heading {
    background: rgb(00, 90, 90);
    background: linear-gradient(180deg, rgba(0, 150, 150, 1) 0%, rgba(00, 90, 90, 1) 5%, rgba(00, 90, 90, 1) 35%, rgba(00, 70, 70, 1) 50%);
    border: #0c6365 1px solid;
    color: #fff;
}

.text-warning {
    color: #ffd400;
}

.btn-warning, .btn.btn-warning:hover, .panel-warning>.panel-heading {
    background: rgb(90, 75, 00);
    background: linear-gradient(180deg, rgba(150, 110, 00, 1) 0%, rgba(90, 75, 00, 1) 5%, rgba(90, 75, 00, 1) 35%, rgba(60, 45, 00, 1) 50%);
    border: #65500c 1px solid;
    color: #fff;
}

@media (max-width: 767px) {
    #cursor {
        display: none !important;
    }
    html, body {
        height: 100%;
        font-size: 12px;
    }
    .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 {
        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, .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;
    }
}

