@font-face {
  font-family: Fixedsys;
  src: url(/fonts/fixedsys.ttf);
}

@font-face {
    font-family: Fixedsys Excelsior;
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/FSEX300.woff');
}

@font-face {
  font-family: DOS;
  src: url(/fonts/dos.ttf);
}

body
{
	background: #f2f4f4;
	font-family: Segoe UI;
	font-size: 16px;
	margin: 0;
	color: #454545;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a,
a:visited {
    color: #1974D2;
    /*color: #007BFF;*/
}

header {
    height: 40px;
    line-height: 40px;
    background: linear-gradient(to top, #f4f4f4 0%, white 100%);
    border-bottom: 1px solid lightgrey;
    box-shadow: 0 0 4px lightgrey;
    position: sticky;
    top: 0;
    z-index: 4;
}

#breadcrumbs {
    margin: 1em 0;
}

nav, main {
    margin: 0 auto;
}

#logo {
    display: inline-block;
    margin-right: 0.5em;
    vertical-align: middle;
}

#logo img {
    display: block;
}

#lang {
    position: absolute;
    right: 5px;
    top: 3px;
}

#lang img {
    margin-left: 0.5em;
}

nav
{
    width: 90%;
    position: relative;
    padding: 0 0.5em;
}

#adminbar {
    background: #454545;
    font-weight: bold;
    color: lightgrey;
    padding: 0;
    margin: 0;
}

#adminbar li {
    display: inline-block;
    border-right: 1px solid grey;
    padding: 5px 0.5em;
}

#adminbar li a {
}

#adminbar a {
    color: lightgrey;
}

nav ul,
#news {
    display: inline;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li
{
    display: inline-block;
    border-right: 1px solid lightgrey;
}

nav ul li a,
.dropbtn
{
    display: block;
    padding: 0 10px;
    text-shadow: 1px 1px 1px white;
    font-weight: bold;
}

nav a,
nav a:visited {
    color: grey;
}

nav ul li:first-child {
    border-left: 1px solid lightgrey;
}

nav a:hover
{
    color: #454545;
    text-decoration: none;
}

#wrapper {
    display: block;
    /*max-width: 1000px;*/
    width: 90%;
    padding: 0 20px;
    margin: 0 auto;
    margin-top: 1em;
}

main {
    background: #fff;
    width: calc(100% - 270px);
    box-sizing: border-box;
    display: inline-block;
    line-height: 1.6;
    box-shadow: 0 0 1px lightgrey;
    /*border: 1px solid lightgrey;*/
    /* border-radius: 0 0 5px 5px; */
    border-radius: 5px;
    
    padding: 0 20px 20px;
}

#sidebar {
    float: right;
    width: 250px;
    
}

main,
#sidebar {
    font-family: Segoe UI;
    font-size: 18px;
}

#news {
    font-size: small;
}

#news li {
    margin-bottom: 0.5em;
}

/*
.btn {
	border: none;
	background: #2ecc71;
	color: white;
	font-size: 14px;
	border-radius: 3px;
	cursor: pointer;
	padding: 6px 12px;
}


.btn:hover {
	background: #58d68d;
}
*/

.panel {
	padding: 1em;
	border-radius: 5px;
	margin-bottom: 1em;
}

.info {
	background: #d1ecf1;;
	border-left: 8px solid #bee5eb;
	color: #0c5460;;
}

.warning {
	background: #fff3cd;
	border-left: 8px solid #ffecb5;
	color: #856404;
}

.success {
        background: #C3FDB8;
        color: green;
        border: 1px solid #90EE90;
        border-left: 8px solid #90EE90;
        /* background: #d4edda;
        color: #155724;
        border-left: 8px solid #c3e6cb;
        */
}

.error {
	background: #f8d7da;
	color: #721c24;
	border-left: 8px solid #f5c6cb;
}

form {
	/*
	border: 1px solid lightgrey;
	padding: 8px;
	*/
	border-radius: 5px;
	/* background: #f8f9f9; */
}

label {
    font-weight: bold;
}

input[type=submit],
button[type="submit"]
{
	display: block;
	margin: 0 auto;
	height: 30px;
	font-weight: bold;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
select,
textarea {
	/*font-family: Segoe UI;*/
	box-sizing: border-box;
	color: #454545;
	font-size: 18px;
	border: 1px solid lightgrey;
	border-radius: 5px;
	padding: 5px;
	outline: none;
	/* background: transparent;
	background: white;
	-webkit-box-shadow: inset 0 0 2px lightgrey;
	-moz-box-shadow: inset 0 0 2px lightgrey;
	box-shadow: inset 0 0 2px lightgrey;
	*/
	
	-webkit-transition: all 0.20s ease-in-out;
	-moz-transition: all 0.20s ease-in-out;
	-ms-transition: all 0.20s ease-in-out;
	-o-transition: all 0.20s ease-in-out;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea,
select,
#form-tags {
    margin: 0 auto;
    width: 100%;
    margin-bottom: 1em;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
select {
    height: 35px
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus,
select:focus {
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	border: 1px solid rgba(81, 203, 238, 1);
}

#form-tags {
    margin-bottom: 0.5em;
}

/*
#form-tags button {
    border: 1px solid lightgrey;
    background: white;
    border-radius: 3px;
    padding: 4px 0;
    width: 30px;
    cursor: pointer;
}
*/

select {
    background-color: inherit;
}

select option {
    background-color: white;
}

.c-tag {
    padding: 2px 4px;
    color: #d14;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    white-space: nowrap;
}

.box {
	/*border: 1px solid lightgrey;*/
	background: #fff;
	border-radius: 5px;
	margin-bottom: 20px;
	box-shadow: 0 0 1px lightgrey;
}

.box-title {
	/*background: #f2f4f4;
	border-top: 1px solid white;*/
	border-bottom: 1px solid lightgrey;
	border-radius: 5px 5px 0 0;
	/*text-shadow: 1px 1px 1px white;*/
	color: grey;
	font-weight: bold;
	padding: 5px 0.5em;
	text-align: center;
}

.box-content {
	border-radius: 0 0 4px 4px;
	/* background: #f8f9f9; */
	padding: 1em;
}

.ctrl {
	float: right;
}


table {
    border-collapse: collapse;
}

.cell-center td {
    text-align: center;
}

.striped tr:nth-child(even) {
    background: #f8f9f9;
}

thead tr:first-child th:first-child {
    border-top-left-radius: 5px;
}

thead tr:first-child th:last-child {
    border-top-right-radius: 5px;
}

th, td {
    border: 0.5px;
    padding: 0.3em 1em;
}

th,
.box-title {
    /*background: #ebedef;*/
    background: #454545; /* Fallback for browsers that do not support gradients */
    background: -webkit-linear-gradient(top, #6B6B6B, #454545); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(top, #6B6B6B, #454545); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(top, #6B6B6B, #454545); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #6B6B6B, #454545); /* Standard syntax */
    /*color: grey;*/
    color: white;
}

td {
    /* border: 1px solid lightgrey; */
    border-bottom: 1px dashed #454545;
    /* background:#EEEEEE; */
    /*text-align: center;*/
}

td .label {
    font-weight: bold;
}

#servers {
    width: 100%;
}

#channels th,
#memos th {
    text-align: left;
}

#channels .topic {
    word-break: break-word;
}

.label {
    display: inline-block;
    border-right: 1px dashed #454545;
    margin-right: 1em;
    font-weight: bold;
    width: 100px;
}

.row {
    border-bottom: 1px dashed #454545;
}

.label,
.row {
    padding: 2px 0;
}

.on {
    /* color: #5CB85C; */
    color: green;
    font-weight: bold;
}

.off {
    /* color: #FF6666; */
    color: red;
    font-weight: bold;
}

footer {
	display: inline-block;
	font-weight: bold;
	width: 100%;
	text-align: center;
	line-height: 2;
	padding: 1em 0;
	color: grey;
}


#icon-block {
    float: right;
    display: inline-block;
}

 /* Dropdown Button */
.dropbtn {
	background-color: inherit;
	border: none;
	cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
	background-color: inherit;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
	position: relative;
	display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
	border: 1px solid lightgrey;
	border-bottom: none;
	background: white;
	/* box-shadow: 0 0 4px lightgrey; */
	display: none;
	position: absolute;
	left: -20px;
	min-width: 150px;
	z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
	text-decoration: none;
	font-size: 13px;
	display: block;
	padding: 0 1em;
	color: grey;
	border-bottom: 1px solid lightgrey;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f5f5f5;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display: block;} 

.tab-info {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    border: 1px solid lightgrey;
    border-radius: 5px;
}

.code {
    /* background: black; */
    /* color: #228B22; */
    border: 1px dashed black;
    white-space: pre-wrap; /* Preserve whitespace and allow wrapping */
    word-wrap: break-word; /* Ensure long words wrap */
    background: #f4f6f6;
    font-size: 18px;
    padding: 0.5em;
}

.code pre {
    margin: 0;
}

.badge {
    padding: 0 2px;
    font-size: small;
    font-weight: bold;
    text-align: center;
    border-radius: 3px;
}

.red {
    background: #F44336;
    color: white
}

.indicator {
    font-family: Arial;
    font-size: 12px;
    float: right;
    padding: 0 5px;
    margin-left: 2px;
    border: 1px solid lightgrey;
    border-radius: 2px;
    background: white;
}

#memoicon {
    position: relative;
}

.badge-container {
    border: 1px solid black;
    display: inline-block;
    position: relative;
}

.badge-notify{
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    padding: 0 4px;
    background: red;
    border-radius: 50%;
    display: inline-block;
    color: white;
}

.tabBox .tabs {
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
    margin-bottom: -1px;
    height: 2.25em;
}

.tabBox .tabs li {
    float: left;
    list-style: none;
    margin: 0;
    padding: .25em .25em 0;
    height: 2em;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #FFF;
}

.tabBox .tabs li.selected {
    z-index: 3;
}

.tabBox .tabs a {
    float: left;
    height: 2em;
    color: grey;
    font-weight: bold;
    line-height: 2em;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    background: #EEE;
    border: 1px solid #CCC;
    border-bottom: 0;
    padding: 0 10px;
    color: #000;
    text-decoration: none;
}

.tabBox .tabs .selected a {
    background: #FFF;
    /*
    -webkit-box-shadow: #CCC 0 0 .25em;
    -moz-box-shadow: #CCC 0 0 .25em;
    box-shadow: #CCC 0 0 .25em;
    */
}

.tabBox .tabs a:hover {
    background: -webkit-gradient(linear, 0 0, 0 70%, from(#EEF), to(#FFF));
    background: -webkit-linear-gradient(#EEF, #FFF 70%);
    background: -moz-linear-gradient(#EEF, #FFF 70%);
    background: -ms-linear-gradient(#EEF, #FFF 70%);
    background: -o-linear-gradient(#EEF, #FFF 70%);
    background: linear-gradient(#EEF, #FFF 70%);
    -pie-background: linear-gradient(#EEF, #FFF 70%);
}

.tabBox .content {
    clear: left;
    position: relative;
    z-index: 2;
    padding: 2em 1em;
    border: 1px solid #CCC;
    background: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    /*
    -webkit-box-shadow: #CCC 0 0 .25em;
    -moz-box-shadow: #CCC 0 0 .25em;
    box-shadow: #CCC 0 0 .25em;
    */
}