/* Header dropdown */
.dropdown {
  list-style: none;
  display: inline-block;
  position: relative;
  margin: 0 5px;
}

.dropdown > a {
  color: var(--font-color);
  text-decoration: none;
  padding: 8px 12px;
  display: inline-block;
}

.dropdown .submenu {
  position: absolute;
  display: none;
  background: var(--main-accent);
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  min-width: 160px;
  z-index: 99;
  border-radius: 4px;
}

.dropdown .submenu li a {
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  display: block;
}

.dropdown:hover .submenu {
  display: block;
  margin: 0 auto;
  text-align: left;
}

#header ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul.menu li {
	margin: 0 7px;
	display: inline;
}

#header ul.menu li a {
	padding-left: 20px;
	background-repeat: no-repeat;
	display: inline-block;
	line-height: 16px;
}

#head_menu {
  font-size: 10px;
  color: var(--font-color);
  background: var(--main-accent);
  height: 50px;
  display: flex;
  z-index: 9998;
  position: fixed;
  width: 100%;
	flex-direction: row;
}

#head_menu a {
	font-weight: normal;
}

.menu_avatar,
.menu_avatar-guests {
	width: 150px;
	height: 125px;
	box-sizing: border-box;
	border: 7px solid var(--accent-two);
	z-index: 9999;
	text-align: right;
	margin: 10px 50px 0 0;
}

.menu_avatar-guests {
	margin: 100px 50px 0 0;
}

/* Tablet */
@media (max-width: 768px) {
  .menu_avatar,
	.menu_avatar-guests {
    display: none;
  }
}

/* Handy */
@media (max-width: 480px) {
  .menu_avatar,
	.menu_avatar-guests {
    display: none;
  }
}

.menu_avatar a img {
	width: 100%;
	height: 100%; 
	object-fit: cover;
}

.menu_avatar-guests img {
	width: 100%;
	height: 100%; 
	object-fit: cover;
}

.menu_buttons {
  margin-left: 20px;
  margin-top: 5px;
  display: flex;
  flex-grow: 1;
  align-items: center;
}

.menu_button {
  padding: 10px;
  font-size: 10pt;
  text-transform: uppercase;
  color: var(--font-color);
}

.discord {
	margin-right: auto;
}

.discord-guest {
	margin-right: 70%;
}

.header-table-container {
	width: 1000px;
	text-align: center;
	padding: 10px 10px 30px 10px;
	box-sizing: border-box;
}

.header-table {
	width: 100%;
	margin: auto;
	color: var(--font-color);
}

.header-table td {
	width: 33%;
}

.header-table-header {
	background: var(--main-accent);
	text-transform: uppercase;
	padding: 2px;
	font-weight: bold;
	border-radius: 2px;
	box-sizing: border-box;
	letter-spacing: 2px;
}

.header-table-content,
.header-table-forum-info,
.header-table-content-searchings{
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid var(--main-accent);
	border-radius: 2px;
}

.header-table-content {
	height: 175px;
	overflow: auto;
	text-align: justify;
}

.header-table-content-searchings {
	height: 175px;
}

.header-table-content-searching {
	height: 70px;
	overflow: auto;
	margin-bottom: 3px;
	font-size: 8pt;
}

.header-table-content-searching h3 {
	font-size: 10pt;
}

.header-team-images {
	text-align: center;
}

.plot {
	text-align: justify;
}

.header-table-forum-info{
	height: 80px;
	overflow: auto;
	text-align: justify;
}


/** ACCOUNT SWITCHER **/
#accountswitcher_header {
    position: relative;
	cursor: pointer;
}

#accountswitcher_header_popup {
   padding: 0 30px 0 15px;
   position: absolute;
   top:0;
   display: none;
   opacity: 1;
}

#accountswitcher_header_popup ul {
   position: absolute;
   left: 0;
   padding-left: 10px;
   padding-right: 20px;
   min-width: 220px;
   margin-top:17px;
   line-height: 2.5;
	background: var(--background);
}

[id^="profile_link_"] {
   display: inline-block;
   vertical-align: top;
}