@import url(//fonts.googleapis.com/css?family=Open+Sans:300,700,400,600);
@import url(//fonts.googleapis.com/icon?family=Material+Icons);
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #EFEFEF;
    color: #515151;
    margin: 0;
    font-size: 14px;
    line-height: 1.42857143;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

a.colored {
    color: #ce422b;
}

a, button, textarea, input {
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="text"], input[type="password"] {
    display: block;
    width: 100%;
    height: 36px;
    padding: 0 11px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: #515151;
    border-radius: 3px;
    border: 1px solid #CDCDCD;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

input[type="text"].inline, input[type="password"].inline, button.inline {
    display: inline-block;
}

section.section {
    padding: 10px 25px;
}

/* Login */
section.login {
    width: 450px;
    margin: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    background: #fff;
    padding: 50px;
    box-shadow: -1px 0 10px #000;
}

.login-poster {
    background: url(../../public/img/login_poster.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

/* Header */
header {
    background-color: #ce422b;
    color: #fff;
    padding: 5px 25px;
    height: 50px;
    overflow: hidden;
}

header .logo {
    float: left;
    margin: 6px 0;
}

header ul {
    margin: 0;
    list-style: none;
    float: right;
}

header ul li {
    display: inline-block;
    background-color: #A13422;
    font-weight: 600;
}

header ul li a {
    display: block;
    padding: 15px 30px;
}

#servername {
    font-weight: 500;
}

/* Console */
.console-frame {
    border: 7px solid #4D4D4D;
    margin: 10px 0;
}

.console {
    background: #222;
    color: #fff;
    padding: 15px 20px;
    height: calc(100vh - 200px);
    overflow: auto;
    font-size: 14px;
    line-height: 19px;
}

.console p.console-line {
    margin: 5px 0;
    white-space: pre-wrap;
}

.console p.console-line.user-command {
    color: #2ECC71;
}

.console p.console-line.Warning {
    color: #f2f249;
}

.console p.console-line.Error {
    color: #ef4836;
}

/* Chat */
#chat-box {
    overflow: auto;
    height: calc(100vh - 192px);
}

#chat-box > div {
    margin-bottom: 13px;
}

.chat-name {
    font-weight: 600;
}

/* Players Table */
table {
    width: 100%;
}

table td {
    padding: 5px 25px;
}

table button {
    margin-right: 6px;
}

table .progress {
    height: 7px;
    margin: 0;
}

table thead {
    font-weight: 700;
}

table tr:nth-child(even) {
    background: #DCDCDC;
}

table .country-cell {
    width: 1%;
    text-align: center;
}

table #bans-table-row-template, table #players-table-row-template {
    display: none;
}

/* Panels */
.panel {
    background-color: #fff;
    margin-bottom: 30px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.panel > .header {
    background-color: #FCFCFC;
    border-bottom: #eee 1px solid;
    padding: 15px 20px;
    border-radius: 2px 2px 0 0;
    overflow: hidden;
}

.panel > .header h5 {
    margin: 0;
    text-transform: uppercase;
    float: left;
    font-size: 15px;
    font-weight: 600;
}

.panel > .header p {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 13px;
    clear: left;
}

.panel > .header button {
    float: right;
}

.panel > .container {
    padding: 30px 20px;
    overflow: hidden;
}

/* Buttons */
.btn {
    text-align: center;
    vertical-align: top;
    display: inline-block;
    cursor: pointer;
    touch-action: manipulation;
    white-space: nowrap;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    padding: 6px 25px;
    border: 1px solid;
    border-radius: 3px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-default {
    color: #515151;
    background-color: #fff;
    border-color: #dddddd;
}

.btn-default:hover,
.btn-default:active:hover,
.btn-default:focus {
    background-color: #efefef;
}

.btn-default:active {
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary {
    color: #fff;
    background-color: #323741;
    border-color: #2C2D3A;
}

.btn-primary:hover,
.btn-primary:active:hover,
.btn-primary:focus {
    background-color: #2C2D3A;
}

.btn-primary:active {
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-success {
    color: #fff;
    background-color: #61B861;
    border-color: #4cae4c;
}

.btn-success:hover,
.btn-success:active:hover,
.btn-success:focus {
    background-color: #4cae4c;
}

.btn-success:active {
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-info:hover,
.btn-info:active:hover,
.btn-info:focus {
    background-color: #46b8da;
}

.btn-info:active {
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-warning {
    color: #fff;
    background-color: #f2a654;
    border-color: #E99E4C;
}

.btn-warning:hover,
.btn-warning:active:hover,
.btn-warning:focus {
    background-color: #E99E4C;
}

.btn-warning:active {
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-danger {
    color: #fff;
    background-color: #E84441;
    border-color: #DF3F3D;
}

.btn-danger:hover,
.btn-danger:active:hover,
.btn-danger:focus {
    background-color: #DF3F3D;
}

.btn-danger:active {
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-disabled, .btn:disabled {
    opacity: 0.6;
    cursor: no-drop;
}

.btn-disabled.btn-default, .btn:disabled.btn-default {
    background-color: #efefef;
}

.btn-lg {
    padding: 8px 30px;
    font-size: 18px;
}

.btn-sm {
    font-size: 13px;
    line-height: 22px;
    font-weight: 600;
    padding: 3px 22px;
}

.btn > i {
    margin-right: 6px;
    text-align: center;
    line-height: inherit;
}

.btn-icon {
    padding: 6px 9px;
}

.btn-icon > i {
    margin: 0;
    width: 1.28571429em;
    font-size: 24px;
    vertical-align: middle;
    line-height: 1;
}

.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.btn-group > .btn {
    float: left;
}

.btn-group .btn + .btn {
    margin-left: -1px;
}

.btn-group > .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group > .btn:not(:last-child):not(:first-child) {
    border-radius: 0;
}

.btn-group > .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Form Group */
.form-group {
    margin-bottom: 15px;
}

form span {
    line-height: 36px;
}

/* Helper classes */
.text-center {
    text-align: center;
}

.m-none {
    margin: 0;
}