/*
	Theme Komanda Octa - Designed after the github website
	Author: Christian Vespa
	Used the original Komanda Dark theme as a base
*/

/* @group Main */

html, body{
	color: #333333;
	background: #fff;
	-webkit-font-smoothing: antialiased;
	font: 1.0em 'Lato', Calibri, Arial, sans-serif;
	overflow: hidden;
	font-weight: normal;
}

/* @end */



/* @group Header */

#header{
	/*background-color: #3b3b43;*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(59, 59, 67, 0.80)), to(rgba(38, 39, 44, 0.80)));
	background-image: -webkit-linear-gradient(top, rgba(59, 59, 67, 0.80), rgba(38, 39, 44, 0.80));
	background-image: -moz-linear-gradient(top, rgba(59, 59, 67, 0.80), rgba(38, 39, 44, 0.80));
	background-image: -o-linear-gradient(top, rgba(59, 59, 67, 0.80), rgba(38, 39, 44, 0.80));
	background-image: -ms-linear-gradient(top, rgba(59, 59, 67, 0.80), rgba(38, 39, 44, 0.80));
	background-image: linear-gradient(#f9f9f9, #f3f3f3);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#3b3b43', EndColorStr='#26272c');
	text-shadow: 0 1px 0 #fff;
	border-bottom: 1px solid #e5e5e5;
}
#header .window-controls {
	margin-top: 7px;
}
#header .window-controls .window-button {
	font: normal normal 16px octicons;
	line-height: 1;
	display: inline-block;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	width: 16px;
	height: 16px;
	background-color: transparent;
}

/*#header .window-controls .window-button.close,*/
#header .window-controls .window-button.close:before{
	content: '\f032';
	background-color: transparent;
}
#header .window-controls .window-button.close:hover{
	color: #4183c4;
	background-color: transparent;
}

/*#header .window-controls .window-button.minimize,*/
#header .window-controls .window-button.minimize:before{
	content: '\f067';
	background-color: transparent;
}
#header .window-controls .window-button.minimize:hover{
	color: #4183c4;
	background-color: transparent;
}

/*#header .window-controls .window-button.maximize,*/
#header .window-controls .window-button.maximize:before{
	content: '\f066';
	background-color: transparent;
}
#header .window-controls .window-button.maximize:hover{
	color: #4183c4;
	background-color: transparent;
}

#header .title{
	color: #4183c4;
	text-shadow: rgba(0,0,0,0.5) 0 -1px 0;
	font-size: 0.85em;
	text-transform: capitalize;
	text-align: center;
}

/* @end */


/* @group Content  */

#content{
	background-color: #fff; /*#151a1f;*/
}

/* @end */



/* @group Sidebar */

#sidebar{
	background-color: #fff;
	border-right: 1px solid #eee;
}

#sidebar .session .server,
div.header-box{
	color: #4183c4;
	background-color: #f5f5f5;
	border-bottom: 1px solid #d5d5d5
	font-size: 0.9em;
}

#sidebar .session .server-metadata,
div.break{
	background-color: rgba(213, 213, 213, 0.36);
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #d5d5d5;
	font-size: 0.7em;
}

#sidebar .session .server i.show-hide-icon,
div.header-box i.show-hide-icon{
	opacity: 0.3;
	margin: 0;
	display: block;
	position: absolute;
	top: 1px;
	color: #2c5d8d;
	width: 30px;
	height: 30px;
	right: -10px;
	font-size: 0.6em;
}

#sidebar .session .server:hover i.show-hide-icon,
div.header-box:hover i.show-hide-icon{
	opacity: 1;
}

#sidebar .session .channel-list ul.channels li{
	background-color: #777; /* #40484f; */
	border-top: 1px solid rgba(254,255,255,0.1);
	border-bottom: 1px solid rgba(0,0,0,0.6);
	font-size: 0.8em;
}

#sidebar .session .channel-list ul.channels li span.user-count{
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #4b4b4b;
	font-size: 0.7em;
	text-align: center;
	border-bottom: 1px solid #000;
}

#sidebar .session .channel-list ul.channels li i{
	opacity: 0.4;
	font-size: 0.7em;
}

#sidebar .session .channel-list ul.channels li.selected i,
#sidebar .session .channel-list ul.channels li:hover i{
	opacity: 1;
}

#sidebar .session .channel-list ul.channels li:hover{
	background-color: #ddd; /* #4c565e; */
}

#sidebar .session .channel-list ul.channels li.selected,
#sidebar .session .channel-list ul.channels li.selected:hover{
	background-color: #4c90ff;
	/* border-top: 1px solid rgba(254,255,255,0.2); */
}

#sidebar .session .channel-list ul.channels li div.status{
	cursor: pointer;
	background-color: #90a5b5;

-webkit-border-radius: 100px 100px 100px 100px;
-moz-border-radius: 100px 100px 100px 100px;
border-radius: 100px 100px 100px 100px;
	width: 10px;
	height: 10px;
	display: inline-block;
	float: left;
	margin-right: 10px;
	margin-top: 11px;
}

#sidebar .session .channel-list ul.channels li.selected div.status.server-status,
#sidebar .session .channel-list ul.channels li div.status.server-status{
	color: #4183c4;
	background-color: #00f11e;
}

#sidebar .session .channel-list ul.channels li.offline {
	background-color: rgba(189, 44, 0, 0.50) !important; /*#bd2c00 !important;*/
}

#sidebar .session .channel-list ul.channels li.offline.selected {
	background-color: rgba(235, 146, 146, 0.5) !important;
}

#sidebar .session .channel-list ul.channels li.offline div.status{
	background-color: #ff2a1d !important;
}

#sidebar .session .channel-list ul.channels li.selected div.status{
	background-color: #b8d1e5;
}

#sidebar .session .channel-list ul.channels li.new-messages div.status{
	background-color: #ff2a1d;
}

#sidebar .session .channel-list ul.channels li.highlight div.status{
	background-color: #fcd900;
}
/* @end */




/* @group Channel */

.channel button.zen-button{
	background: transparent;
	outline: none;
	text-align: center;
	outline: none;
	color: #2c5d8d;
	font-size: 0.6em;
}
.channel .messages {
	background-color: #fff;
}

.channel .names{
	background-color: #fff;
	border-left: 1px solid #eee
}

.channel .names div.user{
	color: #333333;
	border-bottom: 1px solid #d5d5d5;
	font-size: 0.8em;
	background-image: linear-gradient(#f9f9f9, #f3f3f3);
	border-top: 1px solid #eee;
}

.channel .names div.user i {
	opacity: 0.5;
	font-size: 0.8em;
}

.channel .names div.user[data-value="@"] i{
}

.channel .names div.user[data-value="+"] i{
}

.channel .names div.user:hover,
.channel .names div.user.selected:hover{
	background-color: #525a6a;
}

.full{
	right: 0 !important;
}

.channel .topic{
	z-index: 999;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	background-image: linear-gradient(#f9f9f9, #f3f3f3);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#30353f', EndColorStr='#212b30');
	border-bottom: 1px solid #d5d5d5;
	font-size: 0.9em;
	-webkit-box-shadow: 0px 6px 8px -4px #eee;
	box-shadow: 0px 6px 8px -4px #eee;
}

.channel .input{
	background-image: linear-gradient(#f9f9f9, #f3f3f3);

	-webkit-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-moz-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-o-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-ms-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
}

.channel .input input{
	border: 1px solid #e5e5e5;
	font-size: 0.9em;
	color: #21252a;
}

.channel .github-plugin-bar{
	background-color: #ddd;

	-webkit-box-shadow: 0px 0px 0px 1px rgba(204, 204, 204, 1), 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-moz-box-shadow: 0px 0px 0px 1px rgba(204, 204, 204, 1), 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-o-box-shadow: 0px 0px 0px 1px rgba(204, 204, 204, 1), 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-ms-box-shadow: 0px 0px 0px 1px rgba(204, 204, 204, 1), 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	box-shadow: 0px 0px 0px 1px rgba(204, 204, 204, 1), 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
}

.plugin .title span.name{
	color: #4183c4;
}

/* @end */



/* @group Message */

div.message{
	font-size: 14px;
}

div.message.highlight{
	background-color: rgba(254,255,255,0.03);
}

div.message .body .timestamp{
	color: #39474c;
}

div.message .body .nickname.highlight{
	color: #C !important;
	font-weight: bold !important;
}

div.message .body .text{
	color: #776D6D; /* #e8e8e8; */
}

div.message .body .nickname.system-message,
div.message .body .text.system-message{
	color: #717171;
}

div.message .body .text a{
	color: #96b5c4;
}

div.message .body .text a:hover{
	color: #abcddf;
}

div.message .body .text .embed-items .show-more{
	border-radius: 5px;
	border: 1px solid rgba(0,0,0,0.51);
	box-shadow: 0px 1px 0px rgba( 255,255,255,0.05 ), inset 0px 1px 0px rgba( 255,255,255,0.12);
	background: #2f2f2f;
	background: -moz-linear-gradient(top, rgba( 255,255,255,0.06) 0%, rgba( 255,255,255,0 ) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba( 255,255,255,0.06)), color-stop(100%,rgba( 255,255,255,0)));
	background: -webkit-linear-gradient(top, rgba( 255,255,255,0.06) 0%, rgba( 255,255,255,0.0) 100%);
	background: -o-linear-gradient(top, rgba( 255,255,255,0.06) 0%,rgba( 255,255,255,0) 100%);
	background: -ms-linear-gradient(top, rgba( 255,255,255,0.06) 0%,rgba( 255,255,255,0) 100%);
	background: linear-gradient(top, rgba( 255,255,255,0.06) 0%,rgba( 255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#434343', endColorstr='#2d2e34',GradientType=0 );
	color: #fff;
	font-size: 0.9em;
}

/* @end */



/* @group Master Control */

#master-control-wrapper{
  /*-webkit-box-shadow: 0px -6px 15px 0px rgba(0,0,0,0.3);
  box-shadow: 0px -6px 15px 0px rgba(0,0,0,0.3);*/
}

#master-control-wrapper div.break{
	border-top: 1px solid #000;
	z-index: 99999;
}

#master-control{
	font: normal normal 24px octicons;
	/*font-size: 0.9em; */
	/* border: 1px solid #e5e5e5; */
	-webkit-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-moz-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-o-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	-ms-box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);
	box-shadow: 0px 0px 0px 1px #eee, 0px 2px 0px rgba( 255,255,255,0.03 ), inset 0px 1px 0px rgba( 255,255,255,0.14);

	background-image: linear-gradient(#f9f9f9, #f3f3f3);
}

#master-control .master-control-button{
	cursor: pointer;
	vertical-align: middle;
	text-align: center;

	font-size: 0.8em;


	border-radius: 5px;
	border: 1px solid #e5e5e5;
	box-shadow: 0px 1px 0px rgba( 255,255,255,0.05 ), inset 0px 1px 0px rgba( 255,255,255,0.12);
	background: #fff;
	top: 9.5px;
}

#master-control .master-control-button i{
	opacity: 0.5;
	display: none;
	vertical-align: middle;
	color: #2c5d8d;
	text-shadow: rgba(0,0,0,0.7) 0 1px 0;
}

#master-control .master-control-button:hover i{
	opacity: 1;
}

#master-control .add-server{
	background-image: linear-gradient(#8add6d, #60b044);
}
#master-control .add-server:hover{
	background-image: linear-gradient(#79d858, #569e3d);
}
#master-control .add-server:before{
	content: '\f05d';
}

#master-control .settings:hover{
	color:#4183c4;
}
#master-control .settings:before{
	content: '\f031';
}

#master-control .about:hover{
	color:#4183c4;
}
#master-control .about:before{
	content: '\f059';
}

/* @end */

/* @group GitHub */

div.github-wrapper a{
	color: #4183c4;
}

div.github-wrapper .github-body ul.commits li{
	color: #2C2C2C;
}

/* @end*/

/* @group Box */

.limp-box-close{
	font: normal normal 24px octicons;
	background: linear-gradient(#f9f9f9, #f3f3f3);
}
.limp-box-close i{
	display: none !important;
}
.limp-box-close .limp-box-close-icon:hover{
	color: #4183c4;
}
.limp-box-close .limp-box-close-icon:before{
	content: '\f081';
}


.komanda-box-title{
	color: #000;
	text-shadow: #000 0 0px 0;
	border-bottom: 1px solid #eee;
	background: linear-gradient(#f9f9f9, #f3f3f3);
}

.komanda-box-content{
	border-bottom: 1px solid #eee;
	background: linear-gradient(#f9f9f9, #f3f3f3);
}

.komanda-box-content ul.komanda-box-menu{
	background-color: #eee;
}

.komanda-box-content ul.komanda-box-menu li{
	color: #000;
}

.komanda-box-footer{
	background: linear-gradient(#f9f9f9, #f3f3f3);
}

.komanda-information{
	color: #000;
}

.komanda-information span.komanda-information-name{
	color: #000;
}

/* @end */

/* @group Forms */

div.form-box.inline{
	display: inline-block;
}

div.form-box label{
	text-align: right;
	color: #777; /* #a3a3a3; */
}

div.form-box input[type='text'],
div.form-box input[type='password'],
div.form-box textarea {
	width: 300px;
	resize: none;
	outline: none;
	background-color: #fff; /* #21252a; */
	border: 1px solid #eee; /* 1px solid #4d5967; */
	font-size: 0.9em;
	color: #000; /* #fff; */
}

/* @end */

/* @group Buttons */

.button{
	outline: none;
	color: #aeb2b7;
	font-size: 13px;
	background: #1d1e21;
	border: none;
	-webkit-box-shadow: 0px 1px 0px rgba( 255,255,255,0.05 ), inset 1px 1px 2px rgba( 0,0,0,0.3 );
	padding: 8px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-webkit-transition: background 0.3s ease;
	-moz-transition: background 0.3s ease;
	-o-transition: background 0.3s ease;
	transition: background 0.3s ease;


	font-size: 13px;
	color: #2e2e2e;
	font-weight: bold;
	background-image: -moz-linear-gradient( top, #d5d6d9 0%, #afb0b7);
	background-image: -webkit-gradient( linear, left top, left bottom, from(#d5d6d9), to(#afb0b7));
	-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.4),inset 0px 1px 0px rgba(255,255,255,0.6);
	-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.4),inset 0px 1px 0px rgba(255,255,255,0.6);
	-o-box-shadow: 0px 1px 3px rgba(0,0,0,0.4),inset 0px 1px 0px rgba(255,255,255,0.6);
	box-shadow: 0px 1px 3px rgba(0,0,0,0.4),inset 0px 1px 0px rgba(255,255,255,0.6);
	text-shadow: 0px 1px 0px rgba(255,255,255,0.5), 0px 1px 0px rgba(255,255,255,1);
	text-align: center;
}

.button.warning{
	background-color: #ff2600;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(255, 38, 0)), to(rgb(217, 30, 14)));
	background-image: -webkit-linear-gradient(top, rgb(255, 38, 0), rgb(217, 30, 14));
	background-image: -moz-linear-gradient(top, rgb(255, 38, 0), rgb(217, 30, 14));
	background-image: -o-linear-gradient(top, rgb(255, 38, 0), rgb(217, 30, 14));
	background-image: -ms-linear-gradient(top, rgb(255, 38, 0), rgb(217, 30, 14));
	background-image: linear-gradient(top, rgb(255, 38, 0), rgb(217, 30, 14));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#ff2600', EndColorStr='#d91e0e');
	text-shadow: rgba(0,0,0,0.5) 0 1px 0;
	color: #fff;
}

button.button:hover{
	background-image: linear-gradient(#aeb2b7, #d5d6d9);
}
button.button.limp-action.save-new-session{
	background-image: linear-gradient(#8add6d, #60b044);
}
button.button.limp-action.save-new-session:hover{
	background-image: linear-gradient(#79d858, #569e3d);
}

button.button.limp-action.edit-session{
	background-image: linear-gradient(#8add6d, #60b044);
}
button.button.limp-action.edit-session:hover{
	background-image: linear-gradient(#79d858, #569e3d);
}

button.button.limp-action.update-komanda-settings{
	background-image: linear-gradient(#8add6d, #60b044);
}
button.button.limp-action.update-komanda-settings:hover{
	background-image: linear-gradient(#79d858, #569e3d);
}

/* @end */

/* @group Zenmode */

body.zenmode #content{
	left:  0 !important;
}

body.zenmode .channel .channel-names-holder,
body.zenmode #sidebar{
	left: -200px !important;
}

body.zenmode #sidebar,
body.zenmode .channel button.zen-button,
body.zenmode .channel .input,
body.zenmode .channel .messages,
body.zenmode .channel .topic{
	right: 0 !important;
}

/* @end */
