/*	Pixeltrains - Main stylesheet
	(c) Antoine Boudon - dev@pixeltrains.io 	*/

/* :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^)	*/

*{
	font-family: Rubik, Roboto, Verdana;
	font-weight: 400;
	font-size: 14px;
}

body{
	margin: 0px;
	display: flex;
	flex-direction: column;
} body:has(#content.narrow){
	background: fixed linear-gradient(0deg, #fff 10%, #ddd 80%);
}
#content{
} #content.standard{
	margin: 12px;
} #content.narrow{
	min-height: calc(100vh - 97px);
}
#contentframe{
	max-width: 900px;
	height: auto;
	position: relative;
	left: 50%;
	padding-top: 15px;
	padding-bottom: 30px;
	padding-left: 30px;
	padding-right: 30px;
	background-color: #fff;
	transform: translate(-50%);
}

button{
	height: 23px;
	margin-bottom: 5px;
	cursor: pointer;
	background-color: #eee;
	border: solid 1px #666;
	border-radius: 2px;
	outline: none;
} button:hover{
	background-color: #ddd;
} button:active{
	background-color: #ccc;
}
input{
	height: 19px;
	border: solid 1px #666;
	border-radius: 2px;
	padding-left: 4px;
	margin-bottom: 5px;
	box-shadow: none;
} input:focus{
	border: solid 1px #000;
	outline: none;
	background-color: #f6f6f6;
}
textarea{
	resize: none;
	border: solid 1px #666;
	border-radius: 2px;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 4px;
	padding-right: 4px;
	margin-bottom: 5px;
	box-shadow: none;
} textarea:focus{
	border: solid 1px #000;
	outline: none;
	background-color: #f6f6f6;
}
.checkbox{
	align-items: center;
	margin-top: 2px;
	margin-bottom: 7px;
	user-select: none;
}
.checkbox input{
	margin: 0px;
	margin-right: 4px;
	height: 14px;
	width: 14px;
}

.text{
	margin-bottom: 6px;
	hyphens: auto;
} .text.title{
	font-size: 17px;
	/* margin-bottom: 10px; */
} .text.notice{
	color: #ed4343;
	height: 16px;
} .text.filename{
	color: #496269;
}
.keywords{
	font-weight: 500;
	color: #496269;
}
.bold{
	font-weight: 500;
}
code{
	font-weight: 500;
	color: #496269;
	background-color: #e6e6e6;
}
a{
	color: #496269;
}a:hover{
	color: #ff7d00;
}
p{
	margin-bottom: 0px;
	text-align: justify;
	hyphens: auto;
} .text strong, p strong{
	font-weight: 500;
}
h1{
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 0px;
}
h4{
	font-weight: 500;
	margin-top: 10px;
	margin-bottom: 10px;
}

.container{
	padding: 6px;
}
.vertical{
	display: flex;
	flex-direction: column;  	
} .vertical.centered{
	align-items: center;
}
.horizontal{
	display: flex;
	flex-direction: row;
} .horizontal.centered{
	align-items: center;
}
.bottom{
	margin-bottom: 0px;
}
.spaceabove{
	margin-top: 6px;
}
.spacebelow{
	margin-bottom: 6px;
}
.spacebefore{
	margin-left: 4px;
}
.spaceafter{
	margin-right: 4px;
}
.nospace{
	margin-top: 0px;
	margin-bottom: 0px;
}
.sectionend{
	margin-bottom: 30px;
}

.clickable{
	cursor: pointer;
	user-select: none;
}
.icon{
} .icon.clickable:hover{
	box-shadow: 0px 0px 0px 1px #000;
} .icon.clickable:active{
	box-shadow: 0px 0px 0px 1px #ff7d00;
}
.minicons img{
	border: solid 1px #666;
	border-radius: 2px;
	background-color: #eee;
	cursor: pointer;
} .minicons img:hover{
	background-color: #ddd;
} .minicons img:active{
	background-color: #ccc;
} .minicons.vertical img{
	height: 9px;
} .minicons.vertical img:first-child{
	margin-bottom: 1px;
} .minicons.horizontal img{
	width: 9px;
} .minicons.horizontal img:first-child{
	margin-right: 1px;
}

.flag{
	display: inline-block;
	height: 24px;
	margin-right: 4px;
} .flag.inline{
	height: 18px;
}

header{
	display: flex;
	place-content: end space-between;
	background-color: #eee;
	box-shadow: 0px 0px 10px #888;
	z-index: 2;
}
header .logo{
	width: 32px;
	height: 32px;
	margin-left: 5px;
	margin-right: 6px;
}
header .title{
	font-weight: 400;
	font-size: 17px;
	color: #000;
	text-decoration: none;
} header .title:hover{
	text-decoration: underline #ccc;
}
header .infos{
	text-align: right;
}
header #connection{
	font-weight: 500;
}
header #person{
	height: 16px;
}
header .infos img{
	width: 30px;
	height: 30px;
	margin: 5px;
	border-radius: 3px;
}
header #avatar{
	margin-left: 7px;
	margin-right: 3px;
}
header #notifs{
	margin-right: 6px;
}
header #notifscount{
	position: absolute;
	right: 6px;
	top: 34px;
	padding-left: 3px;
	padding-right: 3px;
	min-width: 6px;
	height: 12px;
	font-size: 10px;
	font-weight: 500;
	align-items: center;
	justify-content: center;
	user-select: none;
	color: white;
	background-color: #ff0000;
	border-radius: 6px;
}

.tabs{
	margin-top: -6px;
}
.tab{
	background-color: #eee;
	padding: 6px;
	padding-left: 10px;
	padding-right: 10px;
	margin-right: 6px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
} .tab.active{
	background-color: #000;
	color: #eee;
} .tab.inactive:hover{
	background-color: #ddd;
} .tab.inactive:active{
	background-color: #ccc;
}
.tabcontent{
	margin-top: 16px;
	flex-direction: column;
}

#options{
	position: absolute;
	top: 10px;
	left: 50%;
	padding-top: 4px;
	padding-bottom: 4px;
	transform: translate(-50%);
	z-index: 2;
	background-color: #fff;
	border-radius: 3px;
	display: flex;
}
.options{
	display: flex;
	margin-left: 8px;
	padding-right: 4px;
	border-right: solid 1px #666;
} .options:first-child{
	margin-left: 4px;
} .options:last-child{
	border: unset;
	padding-right: 0px;
}
.option{
	display: flex;
	height: 23px;
	margin-right: 4px;
	border-radius: 2px;
} .option.selected{
	opacity: 0.4;	
} .option:not(.selected){
	cursor: pointer;
} .option:not(.selected):hover{
	box-shadow: 0px 0px 0px 1px #000;
} .option:not(.selected):active{
	box-shadow: 0px 0px 0px 1px #ff7d00;
}
.optionslabel{
	margin-left: 5px;
	margin-right: -2px;
	margin-top: 3px;
}


#notifs{
	position: absolute;
	right: 11px;
	top: 52px;
	width: 280px;
	padding: 10px;
	background-color: #eee;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	box-shadow: 0px 0px 10px #888;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
#notifs .foreground{
	position: absolute;
	right: 0px;
	top: -0px;
	z-index: 3;
	width: 100%;
	height: 12px;
	background-color: #eee;
}
#notifs .title{
	margin: 0px;
}
#notifs .notif{
	background-color: #eee;
	display: flex;
	flex-direction: column;
	height: 40px;
	margin-top: 6px;
	padding-left: 6px;
	text-align: left;
	justify-content: center;
	line-height: 8px;
	border: solid 1px #666;
	border-radius: 3px;
} #notifs .notif:hover{
	background-color: #ddd;
} #notifs .notif:active{
	background-color: #ccc;
} #notifs .notif.unread{
	background-color: #496269;
	border: solid 1px #496269;
	color: #eee;
} #notifs .notif.unread:hover{
	background-color: #3f545a;
	border: solid 1px #3f545a;
	color: #fff;
} #notifs .notif.unread:active{
	background-color: #34464b;
	border: solid 1px #34464b;
	color: #fff;
}
#notifs .notif strong{
	font-weight: 500;
}
#notifsdefault{
	border-top: solid 1px #666;
	margin-top: 6px;
	padding-top: 6px;
}

#disconnected{
	position: absolute;
	left: 50%;
	top: 100px;
	transform: translate(-50%);
}
#contentframe #disconnected{
	top: 48px;
}
#disconnected{
	text-align: center;
}
#disconnected span strong{
	color: #000;
	font-weight: 500;
}
#disconnected span{
	color: #496269;
}
#disconnected button{
	margin-top: 6px;
}

.window{
	z-index: 8;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border: solid 12px #fff;
	border-radius: 10px;
	box-shadow: 0px 10px 40px #888;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.closebutton{
	position: absolute;
	right: 0px;
	margin-top: -12px;
	height: 20px;
	width: 40px;
	display: flex;
	justify-content: center;
	line-height: 19px;
	font-size: 18px;
	color: white;
	background-color: #999;
	user-select: none;
	cursor: pointer;
	transition: background 0.2s;
} .closebutton:hover{
	background-color: #ed4343;
}
.window.login{
	z-index: 10;
}
.window.login #w1main button{
	width: 150px;
}
.window.login #w1send{
	margin-right: 4px;
}
.window.login #w1signup{
	margin-top: 5px;
}
.window.login h4{
	margin-top: 0px;
}
.window.login #w1mail{
	width: 296px;
}
.window.login #w1status{
	margin-left: 5px;
} .window.login #w1status.notice{
	color: #ed4343;
}
.window.login #w1line{
	margin-bottom: 9px;
}
.window.login #w1back{
	margin-top: 2px;
}

.WEbanner{
	position: absolute;
	transition: 0.5s;
	bottom: -30px;
	right: 10px;
	background-color: #fff;
	padding: 11px;
	box-shadow: 0px 2px 10px #888;
	border-radius: 3px;
	color: #ed4343;
	font-weight: 500;
	cursor: default;
	user-select: none;
	border-left: solid 15px #ed4343;
	z-index: 10;
}

.scrollable::-webkit-scrollbar{
	width: 12px;
	height: 12px;
}
.scrollable::-webkit-scrollbar-track{
	background: none;
}
.scrollable::-webkit-scrollbar-corner{
	background: none;
}
.scrollable::-webkit-scrollbar-thumb{
	background-color: #aaa;
	border: solid 2px #fff;
	border-radius: 3px;
} .scrollable::-webkit-scrollbar-thumb:hover{
	background: #999;
} .scrollable::-webkit-scrollbar-thumb:active{
	background: #888;
}