@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500');

/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}
audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden],
template {
    display: none;
}
a {
    background: transparent;
}
a:active,
a:hover {
    outline: 0;
    color: inherit;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b,
strong {
    font-weight: bold;
}
dfn {
    font-style: italic;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
mark {
    background: #ff0;
    color: #000;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    border: 0;
}
svg:not(:root) {
    overflow: hidden;
}
figure {
    margin: 1em 40px;
}
hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}
pre {
    overflow: auto;
}
code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
button {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
button,
html input[type="button"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled],
html input[disabled] {
    cursor: default;
}
button input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
legend {
    border: 0;
    padding: 0;
}
textarea {
    overflow: auto;
}
optgroup {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
td,
th {
    padding: 0;
}
.btn0 {
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #88a80d;
    color: white;
    height: 44px;
    width: auto;
    line-height: 44px;
    padding: 0 9px;
    margin: 3px;
    border: none;
    border-radius: 2px;
    vertical-align: middle;
    overflow: hidden;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
}
.btn0 i {
    font-size: 20px;
    line-height: 44px;
    vertical-align: middle;
    margin-right: 4px;
}
.btn0:hover {
    background-color: #75900b;
    color: inherit;
}
.btn0:active {
    background-color: #75900b;
    -webkit-box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.1);
}
.btn--red {
    background: #c74242;
}
.btn--red:hover {
    background-color: #b93737;
}
.btn--red:active {
    background-color: #b93737;
    -webkit-box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.1);
}
.btn--full {
    width: 100%;
    text-align: left;
    margin: 0;
}
.btn--big {
    height: 60px;
    line-height: 60px;
    border-bottom: 2px solid #627909;
    font-size: 16px;
}
.btn--big i {
    font-size: 30px;
}
.btn--small {
    height: 36px;
    line-height: 36px;
    border-bottom: 2px solid #627909;
    font-size: 14px;
}
.btn--small i {
    font-size: 20px;
}
.btn--invert {
    background-color: white;
    color: #88a80d;
    border-bottom-color: #cccccc;
}
.btn--invert:hover {
    background-color: #f2f2f2;
    color: #88a80d;
}
.btn--invert:active {
    background-color: #f2f2f2;
    -webkit-box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.1);
}
.btn--invert--red {
    color: #c74242;
}
.btn--invert--gray {
    color: #AAA;
}
.btn--square {
    width: 44px;
    padding: 0;
    text-align: center;
}
.btn--square i {
    margin: 0;
}
.btn--w100 {
    width: 100px;
}
.btn--combo--left {
    border-radius: 2px 0 0 2px;
    margin-right: 0;
    border-right: 0.5px solid #4f6108;
}
.btn--combo--right {
    border-radius: 0 2px 2px 0;
    margin-left: 0;
    border-left: 0.5px solid #4f6108;
}
.btn-abs-corner {
    position: absolute;
    z-index: auto;
    right: 5px;
    bottom: 5px;
}
.grid {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 100%;
    padding-left: 5px;
    vertical-align: middle;
}
.grid__el {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    padding-right: 5px;
    width: auto;
    height: auto;
    vertical-align: middle;
}
body {
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1a1a1a;
}
a {
    color: inherit;
    text-decoration: underline;
}

#logo {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto;
}
.home__top h1 {
    margin-top: 0;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    text-shadow: 0px 0px 10px #000;
}
.home__top h2 {
    text-align: center;
    color: #fff;
    text-shadow: 0px 0px 6px #000;
    font-weight: normal;
    margin-top: 20px;
    line-height: 1.5;
    font-size: 21px;
}
.bg {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
    background-color: #000;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    background-image: url(../img/bg/wood.jpg);
    transition: all .5s;
}
._home .bg {
    /*opacity: .5;*/
}
.wrapper {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    max-width: 425px;
}
.wrap {
    box-sizing: border-box;
    width: 90%;
    display: block;
    margin: 0 auto;
    max-width: 400px;
}
.topbar {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background: rgba(0,0,0,.8);
    color: #fff;
    z-index: 5;
    box-shadow: 0px 2px 1px rgba(0,0,0,0.6);
}
.topbar__line--2{
    padding: 0 2px;
}
.textbar {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    height: auto;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    background: rgba(0,0,0,.5);
    box-shadow: 0px -2px 1px rgba(0,0,0,0.6);
}
.textbar__wrapper {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}


.the-input {
    display: block;
    float: left;
    width: 85%;
    height: auto;
    box-sizing: border-box;
    background: #EEE;
    font-size: 16px;
    color: #333;
    padding: 10px;
    resize: none;
    /*overflow-y: hidden;*/
    border-radius: 6px 0px 0px 6px;
    border: solid #88a80d; 
    border-width: 2px 1px 2px 2px; 
    -webkit-box-shadow: inset 0px 0px 2px rgba(0,0,0,0.8);
    box-shadow: inset 0px 0px 2px rgba(0,0,0,0.8);
}
.textbar__wrapper.roller .the-input {
    color: #88a80d;
    font-weight: bold;
    text-decoration: underline;
}

.textbar__wrapper.coc .the-input {
    color: #663399;
    font-weight: bold;
    text-decoration: underline;
}

.textbar__wrapper.bd .the-input {
    color: #038cfc;
    font-weight: bold;
    text-decoration: underline;
}

.textbar__wrapper.wd .the-input {
    color: #880808;
    font-weight: bold;
    text-decoration: underline;
}

.textbar__wrapper.clock .the-input {
    font-style:italic;
    font-weight: bold;
}


.the-input-button {
    height: 72px;
    display: block;
    float: left;
    width: 15%;
    background:#88a80d;
    color: #FFF;
    border: none;
    border-radius: 0 6px 6px 0;
    padding-left:2px;
    padding-right: 2px;
    text-align: center;
    font-size: 20px; 
}
        .the-input-button .ico-send { display: inline-block; }
        .the-input-button .ico-roll { display: none; }
        .the-input-button .ico-coc  { display: none; }
        .the-input-button .ico-bd   { display: none; }
        .the-input-button .ico-clock{ display: none; }
        
.roller .the-input-button .ico-send { display: none; }
.roller .the-input-button .ico-roll { display: inline-block; }
.roller .the-input-button .ico-coc  { display: none; }
.roller .the-input-button .ico-bd   { display: none; }
.roller .the-input-button .ico-clock{ display: none; }

   .coc .the-input-button .ico-send { display: none; }
   .coc .the-input-button .ico-roll { display: none }
   .coc .the-input-button .ico-coc  { display: inline-block; }
   .coc .the-input-button .ico-bd   { display: none; }
   .coc .the-input-button .ico-clock{ display: none; }
   
    .bd .the-input-button .ico-send { display: none; }
    .bd .the-input-button .ico-roll { display: none }
    .bd .the-input-button .ico-coc  { display: none; }
    .bd .the-input-button .ico-bd   { display: inline-block; }
    .bd .the-input-button .ico-clock{ display: none; }

 .clock .the-input-button .ico-send { display: none; }
 .clock .the-input-button .ico-roll { display: none; }
 .clock .the-input-button .ico-coc  { display: none; }
 .clock .the-input-button .ico-bd   { display: none; }
 .clock .the-input-button .ico-clock{ display: inline-block; }

.bottombar {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    height: auto;
    top: auto;
    bottom: 0;
    z-index: 2;
    background: transparent;
    padding-bottom: 5px;
    -webkit-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}
.bottombar .grid__el {
    width: 50%;
}
.bottombar .btn0 {
    -webkit-box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.6);
}
.equation-mode,
.classic-mode {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: auto;
    bottom: 0;
    height: auto;
    overflow: hidden;
    background-color: black;
    padding-top: 2px;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}
.equation-mode__wrapper,
.classic-mode__wrapper {
    position: relative;
    z-index: auto;
    bottom: 0;
    height: auto;
    overflow: hidden;
}
.equation-mode__display {
    margin: 0 2px 2px 2px;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #1a1a1a;
    color: #FFF;
    font-size: 25px;
    font-weight: 200;
    border-radius: 2px;
    border: 1.5px solid #88a80d;
    position: relative;
}
.equation-mode__backspace {
    position: absolute;
    z-index: auto;
    top: 0;
    right: 0;
    height: 46px;
    width: 46px;
    line-height: 46px;
    text-align: center;
    color: #fff;
    border: none;
    background: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 20px;
    border: 0;
    padding: 0;
}
.equation-mode__backspace:hover,
.equation-mode__backspace:active {
    color: rgba(255, 255, 255, 0.9);
}
.equation-mode .grid {
    padding-left: 2px;
}
.equation-mode .grid__el {
    padding-right: 2px;
    width: 25%;
}
.equation-mode .btn0 {
    margin-bottom: 2px;
    text-align: center;
    font-weight: 400;
}
.classic-mode .grid {
    padding-left: 2px;
}
.classic-mode .grid__el {
    padding-right: 2px;
    width: 25%;
}
.classic-mode .btn0 {
    margin-bottom: 2px;
    text-align: center;
    font-weight: 400;
    height: 80px;
    font-size: 20px;
}
.equation-mode-active .equation-mode {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.equation-mode-active .bottombar {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}
.equation-mode-active .switch-mode .btn--combo--right {
    text-shadow: 0px 0px 10px #fff;
    background-color: #aed711;
}
.equation-mode-active .stream {
    padding-bottom: 240px;
}
.classic-mode-active .classic-mode {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.classic-mode-active .bottombar {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}
.classic-mode-active .switch-mode .btn--combo--left {
    text-shadow: 0px 0px 10px #fff;
    background-color: #aed711;
}
.classic-mode-active .stream {
    padding-bottom: 180px;
}
.stream {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 540px;
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: auto;
    padding: 60px 20px 80px 20px;
}

.stream-item {
    position: relative;
    margin: 10px auto;
    display: block;
    height: auto;
    max-width:100%;
    width: 500px;
    padding: 0;
    border-radius: 10px;
    background-color: #EEE;
    border-bottom: 2px solid rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.stream-item__result-box {
    display: inline-block;
    background: #627909;
    border-radius: 4px;
}
.stream-item__btn0 {
    display: inline-block;
    font-size: 16px;
    color: #FFF;
    background: #88a80d;
    padding: 0 10px;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    font-weight: 400;
    line-height: 40px;
    margin: 0;
    text-decoration: underline;
}

.stream-item__result {
    display: inline-block;
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
    line-height: 40px;
    margin: 0;
}
.stream-item__line {
    position: relative;
    height: auto;
    margin: 10px;
    font-weight: 400;
}
/*.stream-item__line.preview{
    text-align: center;
}*/
.stream-item__line.stream-item__line--no-margin{
    margin: 0;
}
.stream-item.starred .star i{
    color:#dc3545;
}
.stream-item__user {
    font-weight: 500;
    color: #aed711;
    line-height: 16px;
    text-align: left;
}
.stream-item__time {
    font-weight: 300;
    color: #666;
    font-size: 12px;
    line-height: 16px;
    float: right;
    text-align: right;
}
.stream-item__action {
    float: right;
    font-weight: 300;
    color: #333;
    font-size: 14px;
    line-height: 16px;
    text-align: right;
}
.stream-item__action a {
    margin-left: 5px;
    color: #88a80d;
}
.stream-item__action a:hover{
    color: #666;
}
.stream-item__link-preview {
    display: block;
    height: 120px;
    overflow: hidden;
    border-top: 1px solid #ddd;
    text-decoration: none;
    text-align: left;
}
.stream-item .stream-item__action { display:none;}
.stream-item.stream-item-type-0 .stream-item__action { display:inline-block;}

.stream-item__link-preview__img {
    display: block;
    width: 120px;
    height: 120px;
    float: left;
    margin-right: 10px;
    background-size: cover;
    background-position: center center;
}
.stream-item__yt-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
}
.stream-item__yt-video > iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
.stream-item__link-preview__title,
.stream-item__link-preview__description{
    margin:10px;
}
.stream-item__link-preview__title {  
    font-weight: 400;
}
.stream-item__link-preview__description {
    font-size: 12px; 
}

.stream-item__link-img{
    position: relative;
}
.stream-item__link-img img{
    display: block;
    width: 100%;
    height: auto;
}

.stream-item__el {
    display: inline-block;
    font-size: 20px;
    font-weight: 400;
    position:relative;
    margin: 0 5px 12px 5px;
    min-width: 30px;
    text-align: center;
}


.stream-item__el__dice {
    position: absolute;
    z-index: auto;
    font-size: 9px;
    background: #88a80d;
    color: #fff;
    padding: 0 4px;
    border-radius: 3px;
    left: 0px;
    bottom: -8px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    line-height: 10px;
    height: 10px;
}


.profile__picture {
    /*background: #88a80d url(../img/diamond.svg) no-repeat 50% 50%;
    background-size: cover;*/
    background:gray;
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
}
.result {
    position: relative;
    margin: 10px;
    display: block;
    height: 56px;
    padding: 2px;
    border-radius: 30px;
    background-color: #FFF;
    border-bottom: 2px solid rgba(0, 0, 0, 0.5);
    display: none;
    overflow: hidden;
}

.result--image {
    border-radius: 30px 30px 5px 5px;
    height: auto;
}

.result__img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    background: #FFF url(https://cdn.lowgif.com/full/f6139f871571c3ef-spinner-loading-ui-movement.gif) center center;
    background-size: contain;
}

.result__icon {
    height: 56px;
    width: 56px;
    text-align: center;
    line-height: 56px;
    border-radius: 50%;
    float: left;
    background: #88a80d url(../img/diamond.svg) no-repeat 50% 50%;
    background-size: cover;
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
}
.result__data {
    margin: 10px 5px;
    float: left;
    min-width: 90px;
    max-width: 100px;
}
.result__data__line1 {
    font-weight: 500;
    line-height: 14px;
    height: 28px;
}
.result__data__line2 {
    font-weight: 400;
    font-size: 11px;
    line-height: 14px;
    color: #666;
}
.result__roll {
    margin: 5px 0;
    float: left;
    position: relative;
    z-index: 1;
}
.result__roll .btn0 {
    margin: 0;
    font-size: 14px;
    height: 46px;
    line-height: 46px;
    min-width: 75px;
    overflow: hidden;
}
.result__total {
    float: right;
    font-size: 35px;
    line-height: 56px;
    width: 40px;
    text-align: center;
    margin-right: 10px;
    font-weight: 500;
    color: #333;
    position: relative;
}
.result__total:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: -25px;
    top: 50%;
    margin-top: -6px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #333;
}
.result__link {
    margin: 0 10px 0 0;
    float: left;
    position: relative;
    z-index: 1;
    max-width:100px;
}
.result__link a {
    vertical-align: middle;
    display:inline-block;
    line-height:56px;
}
.editpanel {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}
.editpanel__wrapper {
    display: block;
    text-align: center;
    height: auto;
    overflow: hidden;
    z-index: auto;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0 20px;
}
.editpanel__name {
    display: block;
    background: transparent;
    border: none;
    border-bottom: 2px solid #88a80d;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 25px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 5px;
    outline: none;
    margin: 10px auto 20px auto;
    text-align: center;
    border-radius: 0px;
}
.editpanel__namelabel {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

/* Send url */
.sendurl {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}
.sendurl__wrapper {
    display: block;
    text-align: center;
    height: auto;
    overflow: hidden;
    z-index: auto;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0 20px;
}
.sendurl__name {
    display: block;
    background: transparent;
    border: none;
    border-bottom: 2px solid #88a80d;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 25px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 5px;
    outline: none;
    margin: 10px auto 20px auto;
    text-align: center;
    border-radius: 0px;
}
.sendurl__namelabel {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.howto__ie {
    cursor: pointer;
    text-decoration:none;
    display:inline-block;
    border:1px solid #88a80d;
    border-radius:4px;
    background: rgba(136,168,13,0.1);
    padding:0 0.25em;
    margin-right:.5px;
    color: #88a80d;
    font-weight:bold;
}
.compress-text {
    font-size: 80%;
    letter-spacing: 0;
}

/* stat panel */

.statpanel {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    position: absolute;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);  
    padding: 10px;
    box-sizing: border-box; 
    display: none;
}
.statpanel__box {
    position: relative;
    width: auto;
    background: #FFF;
    border-radius: 2px;
    padding: 10px 15px 20px 15px;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.statpanel__title {
    margin: 14px 20px 20px 20px;
    text-align: left;
}
.statpanel__title > * {
    margin: 10px auto;
}
.statpanel__title h1 {
    color: #627909;
}
.stat {
    margin: 0 0 30px 0;
    height: auto;
    overflow: hidden;
}

.stat__user {
    font-weight: bold;
    width: 50%;
}
.stat__rolls, .stat__luck {
    width: 25%;
    text-align:center;
}
.stat__data {
    font-weight: bold;
    font-size: 1.4em;
}

.stat__barbox {
    margin-top: 10px;
}
.stat__bar {
    background:#EEE;
    height: 16px;
    position: relative;
    border-radius: 8px;
    overflow:hidden;
}

.stat__bar > span {
    display:block;
    position: absolute;
    background: #999;
    height: 100%;
    left: -1px;
    top: 0;
    position: relative;
    border-radius: 8px 0 0 8px;
    z-index: auto;
    border-right: 2px #FFF solid;

    text-align: right;
    font-size: 12px;
    font-weight: bold;
    padding-right: 5px;
    box-sizing: border-box;
    color: #FFF;
    line-height: 16px;
    text-shadow: 0px 0px 3px #000;
}

/*MENU*/
.btn--menu .ico--close{ display: inline-block; }
.btn--menu .ico--open { display: none; }
.btn--menu.open .ico--close{ display: none; }
.btn--menu.open .ico--open { display: inline-block; }

.menu {
    position: absolute;
    z-index: 1000;
    left:0;
    top:50px;
    width:100%;
    height:auto;
    background:rgba(0,0,0,0.9);
    color:#fff;
    border-radius: 0px 0px 2px 2px;
    box-shadow:0px 1px 1px black;
    display: none;
}

.menu__wrapper {
    margin:10px;
}
.menu__line {
    margin: 5px 0;
    text-decoration: none;
}

body {
    background:black;
}

.item {
    width:500px;
    margin:0 auto;
    background:white;
    border-radius:4px;
    padding:20px;
    text-align:center;
}

.coc-bar-result{
    position: relative;
    width:100%;
    height: 30px;
}
.coc-bar {
    overflow:hidden;
    position: relative;
    width:100%;
    background:#1b2203;
    height: 10px;
    border-radius:3px;
}
.coc-bar > * {
    position:absolute;
    z-index:auto;
    box-sizing:border-box;
    width:100%;
    height:100%;
    left:0;
    top:0;
    /*box-shadow: 0px 0px 5px rgba(0,0,0,.5);*/
}
.coc-bar > .coc-bar__fumble {
    left:auto;
    right:0;
    background: red;
}
.coc-bar-result__cursor {
    position:absolute;
    z-index:auto;
    top:0;
    left:0;
    height:30px;
    line-height:14px;
    text-align:center;
    font-size:10px;
    transform: translateX(-50%);
    color: #88a80d;
}
.coc-bar-result__cursor > span {
    font-size: 14px;
    display: inline-block;
    background: #88a80d;
    padding: 2px 4px;
    border-radius: 6px;
    color: #FFF;
}

.coc-bar__regular {
    background:#88a80d;
    border-right: 1px solid #b8cb6e;
}
.coc-bar__hard {
    background:#a0b93d;
}
.coc-bar__extreme {
    background:#b8cb6e;
}
.coc-bar__critical {
    width: 1%;
    background: #D966FE;
}
.landing {
    background-color: #FFF;
    height: auto;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    padding: 20px 0;
}

.clock__bar {
    display: flex;
    width: auto;
}
.clock__bar .clock__bar__segment {
    flex-grow: 1;
    background-color: #d4dcb5;
    border-radius: 2px;
    margin-left: 4px;
    height: 20px;
    text-align: center;
    color: #EEE;
    text-decoration: none;
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
}
.clock__bar .clock__bar__segment.js-update-clock:hover, .clock__bar .clock__bar__segment.js-update-clock.filled:hover {
    background-color: #dc3545;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25);
    cursor:pointer;
}
.clock__bar .clock__bar__segment:first-child {
    margin-left: 0;
}
.clock__bar .clock__bar__segment.filled {
    background-color: #88a80d;
}
.clock__title {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

/*STATUS*/

.topbar,
.textbar,
.stream,
#home {
    display: none;
}
._room .topbar,
._room .textbar,
._room .stream {
    display: block;
}
._home #home {
    display: block; 
}

.debug-mrg {
    display: block;
    height: 0.01px;
    width: 100%;
}
.rel {
    position: relative;
}
.nobr {
    white-space: nowrap;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.left {
    float: left;
}
.right {
    float: right;
}
.text--center {
    text-align: center;
}
.text--right {
    text-align: right;
}
.text--left {
    text-align: left;
}
.text--UC {
    text-transform: uppercase;
}
.text--lc {
    text-transform: lowercase;
}
.hidden {
    display: none;
}
.adapt {
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}
.underline {
    text-decoration: underline;
}
.spread {
    position: absolute;
    z-index: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.background-cover {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}
.hl {
    text-shadow: 0px 0px 10px #fff;
}
.transition {
    -webkit-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}

/* The markdown modal stuff */

._home .markdown-panel.d-none.d-md-block {
    /*display: none; !important; this doesn't work */
    left: -200%;
}

input.markdown-number {
    height: 1.4em;
    width: 45px;
    background: #dbdbdb;
    border: none;
    border-radius: 4px;
}

.markdown-panel {
    max-width: 100%;
    position: fixed;
    top: 70px;
    right: 10px;
    left: 550px;
    bottom: 10px;
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 900;
    padding: 15px;
    border-radius: 10px;
}

.textarea-full-height {
    /* Adjust height based on other elements within panel */
    resize: none;
}

.markdown-preview-full-height {
    /* Adjust height based on other elements within panel */
    overflow-y: auto;
    overflow-x: none;
}
.textarea-full-height, .markdown-preview-full-height{
    height: calc(100vh - 186px);
}
.markdown-panel a.js-fast-roll {
    color: #88a80d;
    font-weight: 500;
}
#markdownPreview {
    font-weight: normal;
    /*columns: 2;*/
}
#markdownInput {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}