* {
	padding:0;
	margin:0;
	
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	color: #FFF;
	font: 14px Sans-Serif;
	/*padding: 50px;*/
	padding: 0px;
	margin: 0px;
	overflow: hidden;
	
	font-family: Helvetica;
	
	background: #404044;
}

.bodyWrapper {
	overflow-y: auto;
	height: calc(100vh - 48px);
	width: 100vw;
}


.clear {
	clear: both;
}

.titlebar {
	position: fixed;
	top: 0px;
	
	width: 100%;
	height: 32px;
	
	font-size: 24px;
	/*font-weight: bold;*/
	
	color: #FFF;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
	
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none; 
	
	cursor: pointer;
	
	
	padding: 6px;
	padding-left: 32px;
	box-shadow: -10px 8px 10px -5px rgba(0,0,0,0.6);
	
	text-align: left;
	vertical-align: middle;
	
	background: #4C0;
	
	background: -webkit-linear-gradient(to bottom right, #9E0, #041);
	background: -o-linear-gradient(to bottom right, #9E0, #041);
	background: -moz-linear-gradient(to bottom right, #9E0, #041);
	background: linear-gradient(to bottom right, #9E0, #041);
	background: linear-gradient(to bottom right, #9E0, #041);
	
	z-index: 3;
}

.titlebar-wrapper {
	height: 44px;
}

.titlebarTitle {
	float: left;
}


.titlebarProfileBlock {
	width: 240px;
	height: 44px;
	
	position: fixed;
	right: 0px;
	/*width: calc(100% - 16px);*/
	
	/*padding: 6px;*/
	
	font-size: 16px;
	font-style: italic;
	
	cursor: pointer;
	
	color: #FFF;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
	
	/*border-left: 1px solid black;*/
	
	background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0), rgba(100,255,100,.5));
	background-position: 0px;
	transition: background-position .5s;
	background-size: 200%;
	
	text-align: right;
	vertical-align: middle;
	
	z-index: 4;
}

.titlebarProfileBlock:hover {
	background-position: -240px;
	transition: background-position .3s;
}

.titlebarAvatar {
	position: relative;
	float: right;
	
	vertical-align: middle;
	
	width: 28px;
	height: 28px;
	margin: 6px;
	
	border: 1px solid #FFF;
	box-shadow: 4px 8px 10px -5px rgba(0,0,0,0.6);
	
	background: #555;
	
	background: -webkit-linear-gradient(left top, #AAA, #555);
	background: -o-linear-gradient(bottom right, #AAA, #555);
	background: -moz-linear-gradient(bottom right, #AAA, #555);
	background: linear-gradient(to bottom right, #AAA, #555);
}

.titlebarProfile {
	position: relative;
	float: right;
	
	padding: 6px;
	
	vertical-align: top;
}


.button {
	padding: 8px;
	text-align: center;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;    
	
	font-size: 16px;
	color: #FFF;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
	
	width: 114px;
	margin: 4px;
	box-shadow: 4px 8px 10px -5px rgba(0,0,0,0.6);
	
	position: relative;
	display: inline-block;
	/*float: left;*/
	cursor: pointer;
	
	border: 1px solid #AAA;
	border-radius: 0px;
	
	/*font-weight: bold;
	font-style: italic;*/
	
	
	background: #058;
	
	background: -webkit-linear-gradient(left top, #058, #222);
	background: -o-linear-gradient(bottom right, #058, #222);
	background: -moz-linear-gradient(bottom right, #058, #222);
	background: linear-gradient(to bottom right, #EEE, #444, #222);
	
	background-position: 100% 0px;
	background-size: 200%;
	transition: background-position .3s;
}

.button-green {
	background: #058;
	
	background: -webkit-linear-gradient(left top, #E53, #700, #222);
	background: -o-linear-gradient(bottom right, #E53, #700, #222);
	background: -moz-linear-gradient(bottom right, #E53, #700, #222);
	background: linear-gradient(to bottom right, #5A0, #070, #222);
	
	background-size: 200%;
	background-position: 100%;
}

.button-red {
	background: #058;
	
	background: -webkit-linear-gradient(left top, #E53, #700, #222);
	background: -o-linear-gradient(bottom right, #E53, #700, #222);
	background: -moz-linear-gradient(bottom right, #E53, #700, #222);
	background: linear-gradient(to bottom right, #E53, #700, #222);
	
	background-size: 200%;
	background-position: 100%;
}


.button:hover {
	background-position: 0px 0px;
	transition: background-position .3s;
}


.errorPanel {
	position: fixed;
	top: 46px;
	left: calc(50% - 150px);
	
	text-align: center;
	
	width: 300px;
	display: block;
	
	box-shadow: 4px 8px 10px -5px rgba(0,0,0,0.6);
	background: linear-gradient(to bottom right, #900, #400);
	border: 1px solid white;
	
	z-index: 50;
}

.errorBody {
	width: calc(100% - 12px);
	
	padding: 10px 6px 12px 6px;
}

.errorButton {
	width: calc(100% - 6px);
	
	padding: 3px;
	margin: -1px;
	
	border: 1px solid white;
	
	position: relative;
	/*display: block;*/
	
	
	background: linear-gradient(to bottom right, #E53, #700, #222);
	background-position: 100% 0px;
	background-size: 200% 100%;
}


.debugPanel {
	position: fixed;
	top: 48px;
	left: 0px;
	
	width: 160px;
	padding: 8px;
	
	background: linear-gradient(to bottom right, #5A0, #240);
	border: 1px solid white;
	
	box-shadow: 4px 8px 10px -5px rgba(0,0,0,0.6);
	
	z-index: 99;
}


.headerIcon {
	width: 18px;
	height: 18px;
	float: right;
	
	cursor: pointer;
	alt: 
}

.tooltip {
	position: relative;
	display: inline-block;
	/*border-bottom: 1px dotted black;*/
}

.tooltip .tooltiptext {
	/*visibility: hidden;*/
	width: 40px;
	background-color: #333;
	color: #BBB;
	text-align: center;
	padding: 4px 0;
	margin: 2px;
	
	border-radius: 4px;
	
	position: absolute;
	z-index: 1;
	
	top: -5px;
    right: 150%;
    
    font-size: 12px;
    
	opacity: 0;
	transition: opacity .3s ease-in;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

.tooltip .tooltiptext::after {
	content: " ";
	position: absolute;
	top: 50%;
	left: 100%; /* To the right of the tooltip */
	margin-top: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent transparent #333;
}


.groupsListPanel {
	position: relative;
	
	width: 80%;
	height: calc(100% - 96px);
	
	left: 10%;
	top: 40px;
	
	z-index: 0;
}

.groupsListContainer {
	/*position: relative;
	
	width: 80%;
	height: calc(100% - 100px);
	
	left: 10%;
	top: 40px;*/
	
	height: calc(100% - 56px);
	
	border: 1px solid #222;
	
	padding: 10px;
	
	z-index: 0;
	
	background: linear-gradient(to bottom right, #047, #024);
}

.groupsList {
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    
	background: #2C2C2C;
	
	border: 1px solid #000;
	border-right: 1px solid #049;
	border-bottom: 1px solid #049;
	
	display: inline;
	float: left;
	
	width: calc(40% - 5px);
	height: 100%;
	
	/*border: 0px;
	border-right: 1px solid #222;*/
	
	overflow-x: hidden;
	overflow-y: auto;
}

.groupsListTab {
	width: calc(100% - 32px);
	height: 40px;
	
	padding: 12px;
	
	text-indent: 8px;
	font-size: 18px;
	
	border-left: 8px solid transparent;
	border-bottom: 1px solid black;
	background: #002A4C;
	
	cursor: pointer;
	
	transition: all .3s;
}

.groupsListTab:hover {
	background: #058;
	text-indent: 20px;
}

.groupsListTab.active {
	background: #046;
	text-indent: 24px;
	
	border-left: 8px solid white;
}

.glt-special {
	height: 20px;
	background: #403;
}

.glt-special:hover {
	background: #705;
}

.glt-special.active {
	background: #604;
}


.groupDetails {
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    
    background: #2C2C2C;
    
	border: 1px solid #000;
	border-right: 1px solid #049;
	border-bottom: 1px solid #049;
	
	
	float: right;
	
	width: calc(60% - 5px);
	height: 100%;
	
	text-align: left;
	
	overflow-x: hidden;
	overflow-y: auto;
}

.groupDetailHeader {
	width: calc(100% - 48px);
	padding: 12px 24px;
	
	text-align: center;
	
	color: #FFF;
	font-size: 28px;
	
	text-shadow: -1px -2px 1px rgba(0,0,0,1);
}




.sidebar {
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    
	position: fixed;
	
	width: 220px;
	height: calc(100% - 44px);
	
	border-right: 8px solid #7D0;
	
	background: #2c2c2c;/*linear-gradient(to bottom, #222, #333);*/
	
	white-space: nowrap;
	
	overflow: visible;
/*	overflow-y: auto;*/
}

.sidebar-button {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	
    position: relative;
    left: 0px;
    
    width: 212px;
    padding: 16px 8px;
    padding-left: 32px;
    
    font-size: 18px;
    color: #CDD;
    text-shadow: 0px -1px 2px rgba(0,0,0,.7);
    
    border-left: 0px solid #AF0;
    border-bottom: 1px solid #040;
    
    background: #777;
    background: linear-gradient(to bottom right, #5A0, #061);
    
    cursor: pointer;
    
    transition: all .25s;
}

.sidebar-button:hover {
	color: #FFF;
	border-left: 24px solid #7F0;
	width: 236px;
	/*border-radius: 0px 32px 32px 0px;
	padding-left: 48px;*/
}


.mainpage {
	position: fixed;
	
	left: 220px;
	
	width: calc(100% - 232px);
	height: calc(100% - 56px);
	
	padding: 6px;
	
	overflow-x: hidden;
	overflow-y: auto;
}




input {
	padding: 8px;
	text-align: left;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;    
	
	font-size: 16px;
	color: #FFF;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
	
	width: 114px;
	margin: 4px;
	box-shadow: 4px 8px 10px -5px rgba(0,0,0,0.6);
	
	position: relative;
	display: inline-block;
	/*float: left;*/
	/*cursor: pointer;*/
	
	border: 1px solid #AAA;
	border-radius: 0px;
	
	/*font-weight: bold;
	font-style: italic;*/
	
	
	background: #058;
	
	background: -webkit-linear-gradient(left top, #058, #222);
	background: -o-linear-gradient(bottom right, #058, #222);
	background: -moz-linear-gradient(bottom right, #058, #222);
	background: linear-gradient(to bottom right, #058, #222);
	
	background: linear-gradient(to bottom right, #0064BB, #222);
	background: linear-gradient(to bottom right, #09E, #047, #222);
	
	background-position: 100% 0px;
	background-size: 200%;
	transition: background-position .3s;
}

input:hover {
	background-position: 0px 0px;
	transition: background-position .3s;
}



.profile-popup
{
	position: absolute;
	display: inline-block;
	
	width: 240px;
	height: 64px;
	
	background: #222;
	border-radius: 32px 0 0 32px;
	
	/*background: -webkit-linear-gradient(left top, #444, #111);
	background: -o-linear-gradient(bottom right, #444, #111);
	background: -moz-linear-gradient(bottom right, #444, #111);
	background: linear-gradient(to bottom right, #444, #111);*/
	
	
	overflow: hidden;
	white-space: nowrap;
	
	
	border: 3px solid #FFF;
	
	padding: 0px;
	
	opacity: 0;
	transition: opacity .4s ease-in;
	
	box-shadow: 1px 2px 10px 2px rgba(0,0,0,0.6);
	
	z-index: 9;
	pointer-events: none;
}

.profile-popup-show
{
	/*display: inline-block;*/
	
	cursor: pointer;
	opacity: 1;
}

.profile-popup-banner
{
	position: absolute;
	
	width: calc(100% - 32px);
	height: 30px;
	
	left: 32px;
	
	text-indent: 40px;
	
	font-size: 20px;
	font-weight: bold;
	font-style: italic;
	
	/*background: -webkit-linear-gradient(left top, #058, #222);
	background: -o-linear-gradient(bottom right, #058, #222);
	background: -moz-linear-gradient(bottom right, #058, #222);
	background: linear-gradient(to right, #058, #111);*/
	
	background: linear-gradient(to right, #EEE, #111);
	
	
	line-height: 30px;
	
	text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
	
	border: 0px;
	border-bottom: 3px solid #FFF;
}

.profile-popup-icon
{
	position: absolute;
	
	/*top: 5px;
	left: 5px;
	
	width: 48px;
	height: 48px;*/
	
	top: -3px; 
	left: -3px;
	
	width: 64px;
	height: 64px;
	
	background: #000;
	
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	
	border: 3px solid #FFF;
	
	z-index: 10;
}

.profile-popup-img
{
	width: 100%;
	height: 100%;
	
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}


