html,body {
	font: 12px "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	/*background-color: #ddd;*/
	background-color: #18181b;
	color: #efeff1;
	margin: 0;
    padding: 0;
	/*background: #ddd url('https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-279483.jpg') no-repeat;
	background-size: 100%;*/
}
.body2 {
    font: 12px "Myriad Pro", "Lucida Grande", sans-serif; text-align: left; padding-top: 5%;
}
.container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
img {
    image-orientation: from-image;
}
.msg {
	width: 100%;
	height: 50px;
}
.chatarea {
    /*height: 80%;*/
    position: absolute;
    top: 0;
    bottom: 102;
    right: 0;
    min-height: 150px;
    width: 340px;
}
.chatarea_big {
    /*height: 80%;*/
    position: absolute;
    top: 0;
    bottom: 102;
    right: 0;
    min-height: 150px;
    width: 100%;
}
.chatOnly {
    font-size: 16px;
}
.chatLine {
    padding: 0 5px;
}
.livestream {
    /*background-color: #000;*/
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 340px;
}
.statusbar {
    background: #000;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 340px;
    height: 20px;
    color: #fff;
    overflow: hidden;
}
.statusbar_text {
    height: 100%;
    vertical-align: middle;
}
#input {
    height: 100px;
}
#chat {
    width: 100%;
    height: 100%;
    /*border: 1px solid #ff0000;*/
    /*background: #23241f;*/
    background: #18181b;
    color: #75715e;
    overflow: auto;
    word-wrap: break-word;
}
#notification {
    display: none;
}

.timestamp {
    /*color: #3333cc;*/
    color: #5aa9d6;
    /*padding-right: 4px;*/
    font-size: 12px;
}

/*.timestamp:after {
    content: ' - ';
}*/

.usercolor1 {
    /*color: #75715e;*/
    color: #8A8EA1;
}
.usercolor2 {
    color: #e6db74;
}
.usercolor3 {
    color: #ae81ff;
}
.usercolor4 {
    color: #f92672;
}
.usercolor5 {
    color: pink;
}
.usercolor6 {
    color: #66d9ef;
}
.usercolor7 {
    color: #a6e22e;
}
.usercolor8 {
    color: #fd971f;
}
.usercolor9 {
    color: #f8f8f2;
}
.usercolor0 {
    /*color: #a8a8a2;*/
    /*color: #a6e22e; + 10% - https://www.hexcolortool.com/#591dd3*/
    color: #7337EB;
}

.username {
    /*color: #f92672;*/
    font-weight: bold;
}

.usertext {
    /*color: #eee;*/
    color: #efeff1;
    white-space: pre-wrap;
}

.userlist {
    color: #a6e22e;
}

.userimage {
    text-align: center;
    padding: 5px 0;
}

.uservideo {
    text-align: center;
    padding: 5px 0;
}

.motd {
    color: #f0f;
}
.help {
    color: #00a5ff;
}
.usercommand {
    /*color: #f00;*/
    color: #f92672;
}

.roomlist {
    /*color: #0f0;*/
    color: #a6e22e;
    /*color: #00a5ff;*/
}

.private {
    /*background: #49483E;*/
    /*background: #2672F9;*/
    border-radius: 5px;
    /*border: 2px solid #A6E22E;*/
    border: 2px solid #111;
    padding: 5px;
}

.pmcolor1 {
    /*color: #75715e;*/
    /* Darkened 25% - 4*/
    background: #35311E;
}
.pmcolor2 {
    /* Opposite and Lightened 10% - 6.2*/
    background: #333Ea5;
}
.pmcolor3 {
    /* Opposite and Darkened 15% - 3*/
    background: #2b5800;
}
.pmcolor4 {
    /* Compliment - 2 */
    background: #4023fa;
}
.pmcolor5 {
    /* Opposite - 7.8 */
    background: #003f34;
}
.pmcolor6 {
    /* Opposite - 4.8 */
    background: #992610;
}
.pmcolor7 {
    /* Opposite and Darkened 20% - 8.6 */
    background: #26009e;
}
.pmcolor8 {
    /* Opposite and Darkened 20% - 4.6 */
    /*background: #0035ad;*/
}
.pmcolor9 {
    /* Opposite - 18.8*/
    background: #07070d;
}
.pmcolor0 {
    /*background: #a8a8a2;*/
    /*background: #a6e22e; + 10% - https://www.hexcolortool.com/#591dd3*/
    /* Opposite - 3*/
    /*background: #8CC814;*/
    /* http://colorsafe.co/ #c8f7c5 5.05 - Reversed - 2.8 */
    background: #37083A;
}

.chatarea .chatimage {
    max-height: 200px;
    max-width: 100%;
    border-radius: 3px;
}

.chatarea_big .chatimage {
    max-height: 200px;
    max-width: 100%;
    border-radius: 3px;
}

.chatlink {
    color: #66d9ef;
}

.button{
    border: 0;
    height: 30px;
}

.secondary{
    /*background: #6441a5;*/
    background: #772ce8;
    color: #fff;
    font-size: 12px;
    display: none;
}

.primary{
    /*background: #6441a5;*/
    background: #772ce8;
    color: #fff;
/*    padding: 0 10px;*/
    font-size: 12px;
    float: right;
    margin: 10px;
    min-width: 60px;
    border-radius: 5px;
}
.primary:hover{
    background: #6718dc;
}

textarea {
    font: inherit;
    vertical-align: top;
    word-wrap: break-word;
    white-space: pre-wrap;
    background: #000;
    color: #efeff1;
}
input{
    /*display: block;*/
}

.settings{
    /*display: inline;*/
    vertical-align: bottom;
}

code {
    white-space: pre-wrap;
}

blockquote {
    border-left: 4px solid #4f545c;
    margin: 0;
    padding: 0 0 0 10px;
}

.spoiler {
    background-color: #202225;
    color: #202225;
    cursor: pointer;
    display: inline-block;
}

.spoiler:hover {
    background-color: #000;
    color: #333;
}

.spoiler.revealed {
    background-color: #4a4d53;
    color: #efeff1;
}

.droptext {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    background-color: #000000aa;
    display: none;
    transition: display 0.2s;
    z-index: 1;
}

#file-upload-label {
    position: absolute;
    bottom: -100px;
    right: 70px;
}
#file-upload-label:hover {
/*    color: #772ce8;*/
}
.fa-upload {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
/*  font-size: 20px;*/
}

#lightbox {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.75);
}

#lightbox-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 100%;
    cursor: zoom-out;
    z-index: 3;
}

.lightbox-button {
    position: fixed;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: rgba(119, 44, 232, 0.75);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;
    z-index: 4;
}

.lightbox-button:hover,
.lightbox-button:focus {
    background-color: rgba(103, 24, 220, 1.0);
}

#lightbox-close {
    top: 10px;
    right: 25px;
}

#lightbox-download {
    bottom: 110px;
    right: 25px;
    font-size: 12px;
    min-width: 60px;
}

.modalSettings {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 400ms ease-in;
    pointer-events: none;
    font-size: 14px;
}
.modalSettings:target {
    opacity: 1;
    pointer-events: auto;
}
.modalSettings > div {
    width: 300px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
}
.modalSettings > div > span {
    display: block;
    padding-bottom: 8px;
    font-weight: bold;
}
.modalSettingsSelect{
    font-size: 14px;
    padding: 2px;
}
.modalClose {
    background: #606061;
    color: #fff;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 1px 1px 3px #000;
}

@media screen and (max-width: 640px) and (orientation:portrait) {
    .livestream {
        /*background-color: #000;*/
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 60%;
        background: #000;
    }
    .jwplayer {
        background-color: #000;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }
    .chatarea {
        position: absolute;
        top: 40%;
        bottom: 102;
        min-height: 150px;
        width: 100%; 
    }
    .statusbar {
        display: none;
    }
    .chatOnly{
        font-size: 12px;
        /* fixing the line below */
    }
    .msg/*, #chat*/ {
        font-size: 16px;
    }
    .chatLine {
        /*padding: 0;*/
    }
}

/*iPad?*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1) {
    .livestream {
        /*background-color: #000;*/
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 60%;
        background: #000;
    }
    .jwplayer {
        background-color: #000;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }
    .chatarea {
        position: absolute;
        top: 40%;
        bottom: 102;
        min-height: 150px;
        width: 100%; 
    }
    .statusbar {
        display: none;
    }
    .chatOnly {
        font-size: 14px;
        /* fixing the line below */
    }
    .msg/*, #chat*/ {
        font-size: 16px;
    }
    .chatLine {
        /*padding: 0;*/
    }
}

@media screen and (max-height: 415px) and (orientation:landscape){
    .livestream {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
   .chatarea {
        /*display: none;*/
        z-index: -1;
    }
    .statusbar{
        display: none;
    }
    .chatOnly {
        font-size: 12px;
    }
}

.androidfont {
    font-size: 24px;
}
