/* Beeinflusst ALLES - bewirkt, dass padding, margin und border nicht zu width und height addiert werden, sondern Teil von width und height sind. width: 100px; padding: 20px; wird zu 100px breit mit 20px Innenabstand, statt 120px breit mit 20px Innenabstand. */
header, header nav, ul.headnav1, ul.headnav2, ul.headnav1 li, ul.headnav2 li, .headwelcome, .header, .header1, .header1 img, .pns, .notifs, .tabs, .tabs li, .tabs label, .tab-content {
box-sizing: border-box;
}

/* Gerüst des Headers */
header {
  position: relative;
  width: 100%;
  max-width: 950px;
  margin: auto auto 40px auto;
  top: 40px;
}

/* fixe Navigation */
header nav {
  width: 100%;
	max-width: 950px;
	display:flex;
  height: 40px;
  position: fixed;
  background: url(https://mitternachtsblau-rpg.de/images/Internes.png);
  top: 0;
	z-index: 9998;
	color: #d7e6fa;
}

ul.headnav1, ul.headnav2 {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Navigationselemente */
ul.headnav1 li, ul.headnav2 li {
  display: inline-block;
  padding: 10px;
}
ul.headnav1 {
	display:flex;
	align-items: center;
	order: 1;
}
ul.headnav1 a:link, ul.headnav1 a:active, ul.headnav1 a:visited {
    color: #faebd6;
	font-size: 20px;
	font-family: 'Rufina', serif;
	font-weight: 400;
    text-transform: uppercase;
	letter-spacing: -0.1em;
}
ul.headnav1 a:hover {
  color: #75919c;
}

.headnav_avatar {
  width: 100px;
  height: 100px;
  background: #1e4154;
  border: 10px solid #1e4154;
	order: 3;
}

/* Registrieren/Login */
ul.headnav2 {
	display: flex;
	padding-top: 3px;
	order: 2;
    margin-left: auto;
}
ul.headnav2 a:link, nav.headnav2 a:active, nav.headnav2 a:visited {
  color: #faebd7;
  font-size: 14px;
  font-family: 'Rufina', serif;
	font-weight: 400;
  text-transform: uppercase;
}
ul.headnav2 a:hover {
  color: #9c622a;
}


/* Headergrafik */
header img {
  width: 100%;
}

/* Headergerüst */

.MBheader {
  max-width: 940px;
  background: #1e4154;
  padding: 5px;
  }

.MBheader_row {
  display: flex;
  justify-content: space-between;
	  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}
.MBheader_column {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  }

.MBheader_box1 {
  box-sizing: border-box;
  width: 320px;
  height: 280px;
  background: url(/images/headerbox_bg.jpg);
  border: 5px solid #2e566c;
}

.MBheader_title {
  background: #2e566c;
  text-align: center;
  padding: 3px 0;
  font-family: 'Rufina', serif;
  text-transform: uppercase;
  font-size: 24px;
  padding: 10px;
}

.MBheader_content {
  padding: 0px 10px 0px 10px;
  text-align: justify;
	margin-top: 5px;
	height: 210px;
}

.MBheader-box1_boxes {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  height: 100%;
  align-content: center;
}

.MBheader_boxes {
  width: 60px;
  height: 60px;
  background: #1e4154;
  box-sizing: border-box;
  font-family: 'Rufina';
  font-size: 30px;
  text-align: center;
  margin: 5px;
  padding-top: 17px;
	border-radius: 100px;
}

.MBheader_boxes:hover {
  background-color: rgba(117, 145, 156, 0.6);
}

.MBheader_content-guest {
  padding: 10px;
}

.MBheader-box1-guest {
  width: 100%;
  height: 210px;
   overflow: auto;
	scrollbar-width: thin;
	scrollbar-color: #75919c #2e566c;  
  text-align: justify;
  box-sizing: border-box;
  padding-right: 5px;
  font-size: 11px;
}

.MBheader_box2 {
  width: 140px;
  height: 280px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
	box-sizing: border-box;
}

.MBheader_box2-block {
  background: #2e566c;
  padding: 5px;
  text-align: center;
  color: #d7e6fb;
  transition: all 0.5s ease-in-out;
   font-family: 'Rufina', serif;
	font-size: 14px;
	text-transform: uppercase;
}

.MBheader_box2-block:hover {
  color: #faebd6;
  background: #75919c;
}

.MBheader_box2right {
  width: 140px;
  height: 280px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.MBheader_box2right-block {
  background: #2e566c;
  padding: 5px;
  text-align: center;
  color: #d7e6fb;
    transition: all 0.5s ease-in-out;
	   font-family: 'Rufina', serif;
	font-size: 14px;
	text-transform: uppercase;
}

.MBheader_box2right-block:hover {
  color: #faebd6;
  background: #75919c;
}

.MBheader_box3 {
  width: 330px;
  height: 280px;
  background: url(/images/headerbox_bg.jpg);
  border: 5px solid #2e566c;
  box-sizing: border-box;

}
.tabs3box input[type=radio] {
	position: absolute;
	display: none;
}

.tabs3box {
	width: 100%;
	list-style: none;
	position: relative;
	height: 210px;
	margin: 0;
	padding: 0;
}

.tabs3box li {
	float: left;
}

.tabs3box label {
	display: block;
	padding: 5px;
	cursor: pointer;
	color: #052739;
	position: relative;
	top: 0;
	transition: all 0.5s ease-in-out;
	margin: 0 5px;
	font-size: 20px;
}

.tabs3box label:hover {
	color: #d7e6fa;
}

.tabs3box [type=radio]:checked ~ label {
	color: #052739;
	top: 0;
}

[type=radio]:checked ~ label ~ .tab3box-content {
	display: block;
}

.tab3box-content {
	z-index: 2;
	display: none;
	text-align: justify;
	font-size: 11px;
	padding-right: 5px;
	width: 100%;
    height: 165px;
    overflow: auto;
	scrollbar-width: thin;
	scrollbar-color: #1e4154 #2e566c;
	position: absolute;
	top: 45px;
	left: 0;
	animation-duration: 0.5s;
}