:root {
  --bg-color-modifier: 0.06;
  
  --main-accent-dark-color: 148, 10, 86;
}

@font-face {
  font-family: "Encode";
  src: url("/theme/assets/fonts/EncodeSansCondensed-Medium.ttf");
  font-display: swap;
  font-weight: normal;
}
@font-face {
  font-family: "Encode";
  src: url("/theme/assets/fonts/EncodeSansCondensed-Bold.ttf");
  font-display: swap;
  font-weight: bold;
}
@font-face {
  font-family: "OpenSans";
  src: url("/theme/assets/fonts/OpenSans-Medium.ttf");
  font-display: swap;
  font-weight: 500;
}
@font-face {
  font-family: "OpenSans_Condensed";
  src: url("/theme/assets/fonts/OpenSans_SemiCondensed-Medium.ttf");
  font-display: swap;
  font-weight: 300;
}
@font-face {
  font-family: "DMSans";
  src: url("/theme/assets/fonts/DMSans-Bold.ttf");
  font-display: swap;
  font-weight: bold;
}
@font-face {
  font-family: "Lato";
  src: url("/theme/assets/fonts/Lato-Regular.ttf");
  font-display: swap;
  font-weight: normal;
}
@font-face {
  font-family: "Lato";
  src: url("/theme/assets/fonts/Lato-Bold.ttf");
  font-display: swap;
  font-weight: bold;
}


body
{
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-family: OpenSans_Condensed, sans-serif;
	font-weight: 300;
	color: rgba(40, 20, 40, 1);
}
#header
{
	height: 50px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	background-color: rgba(var(--main-accent-dark-color), 1);
}
#content
{
	display: flex;
	width: 100%;
	min-height: calc(100vh - 50px);
	background-color: rgba(250, 250, 250, 0.5);
	background-color: #ff0099;
}
#content_chat_left_bar
{
	float: left;
	display: inline-block;
	width: 70px;
	height: 100%;
	background-color: rgba(240, 239, 240, 1);
}
#content_chat_channels
{
	float: left;
	display: inline-block;
	width: 430px;
	height: 100%;
	background-color: rgba(250, 249, 250, 1);
}
#content_chat_chat
{
	float: left;
	display: inline-block;
	width: calc(100vw - 500px);
	height: 100%;
	background-color: rgba(255, 255, 255, 1);
}
.chat_channel_header
{
	position: relative;
	font-family: "Encode";
	font-weight: bold;
	color: rgba(120, 115, 120, 1);
	font-size: 16px;
	height: 50px;
	line-height: 50px;
	text-indent: 5px;
	cursor: default;
}
.chat_channel_header span
{
	cursor: pointer;
	background-color: transparent;
	padding: 2px;
	padding-left: 30px;
	padding-right: 10px;
	position: relative;
	border-radius: 5px;
}
.chat_channel_header span:hover
{
	background-color: rgba(200, 200, 200, 0.25);
}
.chat_channel_header::after
{
	content: "";
	background-image: url('/theme/assets/images/white-down.svg');
	background-size: 10px 6px;
	background-position: center center;
	background-repeat: no-repeat;
	height: 100%;
	width: 10px;
	position: absolute;
	left: 15px;
	transition-duration: 0.2s;
}
.chat_channel_header.closed::after
{
	transition-duration: 0.2s;
	transform: rotate(-180deg);
}
.add_channel
{
	display: inline-block;
	position: absolute;
	right: 10px;
	top: 13px;
	height: 24px;
	background-color: transparent;
	border-radius: 5px;
	width: 36px;
	text-indent: 0px;
	line-height: 24px;
	text-align: center;
	text-decoration: none;
	font-size: 23px;
	color: rgba(120, 115, 120, 1);
	font-weight: normal;
}
.add_channel:hover
{
	background-color: rgba(200, 200, 200, 0.25);
}
.add_channel::before
{
	content: "+";
}
.channel_holder
{
	display: block;
	overflow: hidden;
}
.chat_channel
{
	box-sizing: border-box;
	position: relative;
	color: rgba(50, 45, 50, 1);
	font-size: 16px;
	height: 50px;
	line-height: 50px;
	text-indent: 56px;
	border-radius: 8px;
	width: 90%;
	margin: 0 5%;
	background-color: rgba(200, 200, 200, 0);
	cursor: pointer;
	margin-bottom: 10px;
}
.chat_channel.selected
{
	background-color: rgba(200, 200, 200, 0.3);
	border: rgba(200, 200, 200, 0.1) solid 1px;
}
.chat_channel:hover
{
	background-color: rgba(200, 200, 200, 0.25);
}
.chat_channel.selected:hover
{
	background-color: rgba(200, 200, 200, 0.4);
}
.chat_channel::before
{
	content: "";
	height: 34px;
	line-height: 34px;
	text-indent: 0px;
	width: 34px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 1);
	color: rgba(248, 133, 5, 1);
	position: absolute;
	left: 8px;
	top: 8px;
}
.chat_channel::after
{
	content: attr(rel);
	
	height: 34px;
	line-height: 34px;
	text-indent: 0px;
	text-align: center;
	font-weight: bold;
	width: 34px;
	border-radius: 50%;
	background-color: rgba(248, 133, 5, var(--bg-color-modifier));
	color: rgba(248, 133, 5, 1);
	font-size: 21px;
	text-transform: uppercase;
	position: absolute;
	left: 8px;
	top: 8px;
}
.chat_channel_no_channels
{
	box-sizing: border-box;
	position: relative;
	height: 40px;
	line-height: 40px;
	font-family: "Encode";
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	color: rgba(170, 165, 170, 1);
}
.chat_channel_no_channels::before
{
	content: "Geen Kanalen";
}
.no_chat_selected
{
	box-sizing: border-box;
	position: relative;
	height: 100%;
	font-family: "Encode";
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	color: rgba(170, 165, 170, 1);
	line-height: 100vh;
}
.no_chat_selected::before
{
	display: inline-block;
	height: 100%;
	content: "Geen Kanaal Geselecteerd";
	vertical-align: middle;
}
.noselect
{
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.chat_channel[rel="a"]::after, .chat_channel[rel="A"]::after
{
	background-color: rgba(248, 133, 5, var(--bg-color-modifier));
	color: rgba(248, 133, 5, 1);
}
.chat_channel[rel="k"]::after, .chat_channel[rel="K"]::after
{
	background-color: rgba(13, 202, 41, var(--bg-color-modifier));
	color: rgba(13, 202, 41, 1);
}
.chat_channel[rel="w"]::after, .chat_channel[rel="W"]::after
{
	background-color: rgba(215, 22, 231, var(--bg-color-modifier));
	color: rgba(215, 22, 231, 1);
}