/* CSS Document */

::-moz-selection {
	background-color: rgba(0,0,0,0.7);
	color: #ffffff;
}

::selection {
	background-color: rgba(0,0,0,0.7);
	color: #ffffff;
}

body
{
	background-color: #18253f;
}
body, td, textarea, input, option, select
{
	color: rgba(255,255,255,0.7);
	font-family: Tahoma;
	font-size: 11px;
}
table, td
{
	margin:0px;
	padding:0px;
	border:0px;
	vertical-align: text-top;
}

img.user_avatar
{
	border:0px;
	width:16px;
	height:16px;
	vertical-align: middle;
	border-radius: 3px;
	filter: brightness( 150% );
}

table.param_table
{
	width:100%;
	border-collapse:collapse;
}
table.param_table td
{
	font-size: 13px;
	padding:3px;
	vertical-align:top;
	line-height:25px;
	text-align:right;
	border:1px solid rgba(0,0,0,0.2);
}


table.param_table tr:nth-child(odd)
{
	background-color: rgba(255,255,255,0.01);
}
table.param_table tr:nth-child(even)
{
	background-color: rgba(0,0,0,0.05);
}

.toptitle
{
	color: rgba(255,255,255,0.5);
	font-weight: bold;
}
#channellist_title
{
	position: fixed;
	left: 10px;
	top: 10px;
}
#channellist
{
	position: fixed;
	width: 200px;
	left: 10px;
	top: 30px;
	height: calc(100% - 40px - 150px);
	display: block;
	overflow-y: auto;
}
#channeltools
{
	position: fixed;
	width: 200px;
	left: 10px;
	bottom: 10px;
	height: 140px;
	display: block;
	overflow-y: auto;
}
.room
{
	border: 1px solid rgba(0,0,0,0.6);
	border-radius: 5px;
	
	color: rgba( 255, 255, 255, 0.7 );
	background-color: rgba(0,0,0,0.4);
	
	text-align: center;
	line-height: 26px;
	height: 26px;
	font-weight: bold;
	cursor: pointer;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	margin-bottom: 2px;
	
	opacity: 0.5;
}
.room:hover
{
	opacity: 0.9;
}
.room:active
{
	opacity: 1;
}
div.room_active, div.room_active:hover, div.room_active:active
{
	background-color: rgba(255,255,255,0.1);
	opacity: 1;
}
div.myroom
{
	background-color: rgba(50,170,0,0.4);
}
div.myroom_active, div.myroom_active:hover, div.myroom_active:active
{
	background-color: rgba(50,170,0,0.4);
	opacity: 1;
}

#channellist_container
{
	margin-bottom:10px;
}
.roomtool
{
	text-align: left;
	padding-left: 6px;
	background-color: rgba(50,170,0,0.4);
}
.roomtool2
{
	text-align: left;
	padding-left: 6px;
	background-color: rgba(180,50,0,0.4);
}



#channel_title
{
	position: fixed;
	left: 220px;
	top: 10px;
}
#channel
{
	position: fixed;
	width: calc(100% - 230px - 210px);
	left: 220px;
	top: 30px;
	height: calc(100% - 110px - 18px);
	
	display: block;
	overflow-y: scroll;
}
.chatimage
{
	max-height: calc(100% - 110px - 26px);
}
#bbcodes
{
	display: block;
	position: fixed;
	width: calc(100% - 230px - 210px);
	left: 220px;
	
	bottom: 70px;
	/*
	height: 26px;
	*/
	line-height:20px;
}
a.bbcode_smile
{
	vertical-align: middle;
}
img.bbcode_smile
{
	vertical-align: bottom;
}
.bbcode_smile
{
	border: 0px;
	padding: 0px;
	margin: 0px;
	cursor: pointer;
	opacity: 0.5; /* 0.25 */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.bbcode_smile:hover
{
	opacity: 1;
}

.bbcolorblock
{
	display:inline-block;
	width:20px;
	height:20px;
	border:1px solid black;
	opacity: 0.7;
	vertical-align: bottom;
}

@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
div.msg /* same as div.service_msg */
{
	padding: 5px;
	word-wrap: normal;
	white-space: normal;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	
	-webkit-animation: fadeIn 0.5s linear;
    animation: fadeIn 0.5s linear;
	
	/*-webkit-transition: background-color 0.1s linear, border-bottom 0.1s linear;
	transition: background-color 0.1s linear, border-bottom 0.1s linear;*/
	transition: box-shadow 0.1s ease-out;
}
div.msg:nth-child(odd)
{
	background-color: rgba(255,255,255,0.05);
}
div.msg:nth-child(even)
{
	background-color: rgba(255,255,255,0.07);
}
div.msg:hover
{
	/*background-color: rgba(150,255,150,0.2);
	border-bottom: 1px solid rgba(0,0,0,0.4);*/
	box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
/*
div.msg:hover td:hover
{
	color: #ffffff !important;
}
*/
div.service_msg /* same as div.msg */
{
	padding: 5px;
	word-wrap: normal;
	white-space: normal;
	
	background-color: rgba(0,0,0,0.0);
	border-bottom: 1px solid rgba(0,0,0,0.2);
	
	-webkit-animation: fadeIn 0.5s linear;
    animation: fadeIn 0.5s linear;
	
	-webkit-transition: background-color 0.1s linear, border-bottom 0.1s linear;
	transition: background-color 0.1s linear, border-bottom 0.1s linear;
}

.msgtime
{
	color: rgba(255,255,255,0.25);
	text-decoration:none;
}
.msgtime:hover
{
	color: rgba(255,255,255,1);
	text-decoration:none;
}
.privmsg
{

}
#channel_input
{
	position: fixed;
	width: calc(100% - 430px - 60px - 10px);
	left: 220px;
	bottom: 10px;
	height: 50px;
	display: block;
	overflow-y: auto;
	resize: none;
}
#channel_send
{
	position: fixed;
	width: 60px;
	left: calc(100% - 430px - 60px + 220px - 10px);
	bottom: 10px;
	height: 50px;
	display: block;
	overflow-y: auto;
	resize: none;
}





#onlineuserslist_title
{
	position: fixed;
	right: 10px;
	width: 200px;
	top: 10px;
}
#onlineuserslist
{
	position: fixed;
	width: 200px;
	right: 10px;
	top: 30px;
	height: calc(100% - 40px);
	display: block;
	overflow-y: auto;
}
/*
@-webkit-keyframes UserfadeIn {
    0% { opacity: 0; height: 0px; }
    50% { opacity: 0; height: 20px; }
    100% { opacity: 1; height: 20px; }
}
@keyframes UserfadeIn {
    0% { opacity: 0; height: 0px; }
    50% { opacity: 0; height: 20px; }
    100% { opacity: 1; height: 20px; }
}
*/
.user
{
	text-align: left;
	/*
	line-height: 20px;
	
	height: 20px;
	min-height: 20px;
	*/
	padding-left: 5px;
	padding-top: 4px;
	padding-bottom: 4px;
	
	border-bottom: 1px solid rgba(0,0,0,0.2);
	
	overflow-y:visible;
	overflow-x:hidden;
	/*
	-webkit-animation: UserfadeIn 0.5s linear;
    animation: UserfadeIn 0.5s linear;
	*/
}
div.user:nth-child(odd)
{
	background-color: rgba(255,255,255,0.05);
}
div.user:nth-child(even)
{
	background-color: rgba(255,255,255,0.07);
}

div.user_context_fact
{
	font-size: 11px;
	padding-left:5px;
	padding-top:5px;
	color:rgba(255,255,255,0.5);
}
span.user_context_fact2
{
	color:#ffffff;
}

span.server_red
{
	color: rgb(255, 68, 51);
}
span.server_green
{
	color: rgb(156, 255, 0);
}


span.server_red span.user_context_fact2
{
	color: rgb(255, 168, 151);
}
span.server_green span.user_context_fact2
{
	color: rgb(255, 255, 100);
}


a.lnka, a.lnka:link, a.lnka:visited
{
	color: #FFCC00;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
}
a.lnka:hover
{
	color: #FFE375;
	text-decoration: none;
}
a.lnka:active
{
	color: #FFFFFF;
	text-decoration: none;
}



a.lnka2, a.lnka2:link, a.lnka2:visited
{
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
}
a.lnka2:hover
{
	color: #CCCCCC;
	text-decoration: none;
}
a.lnka2:active
{
	color: #AAAAAA;
	text-decoration: none;
}



a.karma
{
	color: rgba(102,255,119,0.5);
	font-weight: bold;
	font-size: 8px;
	position: relative;
	top: -5px;
}
a.karma2
{
	color: rgba(255,255,255,0.5);
	font-weight: bold;
	font-size: 8px;
	position: relative;
	top: -5px;
}

.nokarma
{
	display: none;
}




.framedrect
{
	border-radius: 5px;
	border: 1px solid #171b26;
	background-color: #2c3955;
	padding: 5px;
	margin: 0px;
	box-sizing: border-box;
	overflow-x: hidden;
}
div.framedrect
{
	white-space: nowrap;
}

input.framedbutton
{
	cursor:pointer;
}
input.framedbutton:hover
{
	background-color: #3c4965;
}
input.framedbutton:active
{
	background-color: #2c3955;
}

select.framedrect
{
	padding:0px;
	padding-left:5px;
	height:25px;
}
select.framedrect option
{
	padding:5px;
	border:none;
}

input.framedbutton_red
{
	background-color: #992222;
	cursor:pointer;
}
input.framedbutton_red:hover
{
	background-color: #aa3333;
}
input.framedbutton_red:active
{
	background-color: #881111;
}

input.framedbutton_green
{
	background-color: #337733;
	cursor:pointer;
}
input.framedbutton_green:hover
{
	background-color: #448844;
}
input.framedbutton_green:active
{
	background-color: #226622;
}


input.framedbutton_yellow
{
	background-color: #777733;
	cursor:pointer;
}
input.framedbutton_yellow:hover
{
	background-color: #888844;
}
input.framedbutton_yellow:active
{
	background-color: #666622;
}

.wide
{
	width: 100%;
}



div.modal_bg
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	display:block;

	background-color: transparent;
	
	z-index: 10;
	
	visibility: hidden;
}
div.modal_window
{
	border-radius: 5px;
	border: 1px solid #171b26;
	background-color: #1c2945;
	padding: 20px;
	margin: 0px;
	box-sizing: border-box;
	
	position:fixed;
	
	box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
	
	font-size: 14px;
}
.small_modal
{
	width: 600px;
	
	left:calc(50% - 300px);
	top:calc(50% - 75px);
}
.alert_modal
{
	width: 500px;
	
	left:calc(50% - 250px);
	top:calc(50% - 60px);
}
.medium_modal
{
	width: 600px;

	left:calc(50% - 300px);
	top:calc(50% - 110px);
}
.large_modal
{
	width: 600px;

	left:calc(50% - 300px);
	top:calc(50% - 350px); /* 250 */
}

.dialogbutton
{
	min-width:100px;
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    border-radius: 4px;
	background-color: rgba(0,0,0,0.2);
}
::-webkit-scrollbar-track:disabled {
	background-color: transparent;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
	background-color: #7088ac;
}









input[type=range] {
    /*removes default webkit styles*/
    -webkit-appearance: none;
    
    /*fix for FF unable to apply focus style bug */
    border: transparent;
    
    /*required for proper track sizing in FF*/
    width: 300px;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    margin-top: -4px;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type=range]::-moz-range-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
input[type=range]::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #FFFFFF;
}

/*hide the outline behind the border*/
input[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}

input[type=range]::-ms-track {
    width: 300px;
    height: 5px;
    
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;

    /*remove default tick marks*/
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #FFFFFF;
}
input[type=range]:focus::-ms-fill-lower {
    background: #888;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

#colorbar
{
	position: fixed;
	left: 0px;
	top: 0px;
	width: auto;
	height: auto;
	display: block;
	z-index: 1000;
	border: 1px solid black;
	background-color: rgba(0,0,0,0.5);
}