@import url(/css/fonts.css);

@media(min-width:900px) {
html {
    height: 100.3%;
    }
body {
	margin: 0px;
   padding: 0px;
	font-family: 'Arimo', sans-serif;
	color: #30384d;
	background-color: #FFFFFF;
}

#header {
	position:fixed;
	width:100%;
	background-color:#8F0D29;
    height:100px;
	background-image:url(/gfx/Martinus_weiss_neu_invers.png);
	background-size:auto 100px;
	background-repeat:no-repeat;
	padding-top: 5px;
	padding-bottom: 5px;
	background-position: right center;
	border-bottom:2px solid #000000;
}

#slogan {
	position:absolute;
	top:0px;
	left:0px;
	font-size: 30pt;
	color:#FFFFFF;
	padding:10px;
	padding-left:20px;
	color: #F5F5F5;
	font-family: 'Quicksand', sans-serif;
}

#headerpic {
	background-image:url(/gfx/headerpic.jpg);
	height:300px;
	margin-left:0px;
	margin-right:0px;
	background-size:cover;
	background-position:top;
	border-bottom:2px solid #000000;
}

a {
	color: #848484;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font-family: 'Quicksand', sans-serif;
}

h2 {
	font-family: 'Quicksand', sans-serif;
}

h3 {
	font-family: 'Quicksand', sans-serif;
}

h4 {
	font-family: 'Quicksand', sans-serif;
}

h5 {
	font-family: 'Quicksand', sans-serif;
}

#content {
	margin-left:120px;
	margin-right:120px;
	padding-bottom: 50px;	
}

#footer {
	position:fixed;
	bottom:0px;
	width:100%;
	background-color:#8F0D29;
	color: #F5F5F5;
}

#footer a {
	color: #F5F5F5;
}

#navigation {
	margin: 65px 18px;
	color: #FFFFFF;
	width:500px;
	font-family: 'Quicksand', sans-serif;
	color: #F5F5F5;
}

#navigation ul {
	list-style:none;
	margin: 0px;
	padding: 0px;
	#border:5px solid #000000;
	width:1000px;
}

#navigation ul a {
	text-decoration: none;
	color:#F5F5F5;;
}

#navigation li {
	margin:0px;
	padding: 0px;
	display: inline-block;
	font-size: 16pt;
	margin-left:5px;
	margin-right:5px;
	height:40px;
}

#navigation li:hover {
	border-bottom:2px solid #FFFFFF;
}

#subnavigation {
	position:fixed;
	top:112px;
	background-color:#8F0D29;
	display: block;
	color: #F5F5F5;
	display: none;
	font-family: 'Quicksand', sans-serif;
	box-shadow: 5px 5px rgba(0,0,0,0.5);
}

#subnavigation ul {
	list-style:none;
	margin: 0px;
	padding: 0px;
}

#subnavigation li:hover {
	background-color:#FFFFFF;
	color: #8F0D29;
}


.sidenaviitem {
	margin:0px;
	padding: 0px;
	display: block;
	font-size: 14pt;
	padding-left:15px;
	padding-right:15px;
	padding-bottom:7px;
	padding-top:7px;
}

.sidenaviitem_on {
	margin:0px;
	padding: 0px;
	display: block;
	font-size: 14pt;
	padding-left:15px;
	padding-right:15px;
	padding-bottom:7px;
	padding-top:7px;
	background-color:#FFFFFF;
}

.sidenavilink {
	color: #F5F5F5;
}

.sidenavilink:hover {
	text-decoration: none;
}

#subsubnavigation {
	position:fixed;
	top:112px;
	background-color:#C3002A;
	display: block;
	color: #F5F5F5;
	display: none;
	font-family: 'Quicksand', sans-serif;
    box-shadow: 5px 5px rgba(0,0,0,0.5);
}

#subsubnavigation ul {
	list-style:none;
	margin: 0px;
	padding: 0px;
}

#subsubnavigation li:hover {
	background-color:#FFFFFF;
	color: #8F0D29;
}

.contentnaviitem {
	margin:0px;
	padding: 0px;
	display: block;
	font-size: 14pt;
	padding-left:15px;
	padding-right:15px;
	padding-bottom:7px;
	padding-top:7px;
}

.contentnaviitem_on {
	margin:0px;
	padding: 0px;
	display: block;
	font-size: 14pt;
	padding-left:15px;
	padding-right:15px;
	padding-bottom:7px;
	padding-top:7px;
	background-color:#FFFFFF;
}

.contentnavilink {
	color: #F5F5F5;
}

.contentnavilink:hover {
	text-decoration: none;
}

#martinusbacklay {
position:fixed; width:650px; height:650px; z-index:-10000; bottom:5%; left:5%; background-size:cover; background-image:url(/gfx/Martinus_gross_grau_transparent.png); opacity: 0.2;
}

.modal-box {
  display: none;
  position: fixed;
  z-index: 100000;
  width: 90%;
  background: white;
  border-bottom: 1px solid #aaa;
  border-radius: 4px;
  max-height: 80vh;
  overflow-y:scroll;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;
}

.modal-box header,
.modal-box .modal-header {
  padding: 1.25em 1.5em;
  border-bottom: 1px solid #ddd;
}

.modal-box header h3,
.modal-box header h4,
.modal-box .modal-header h3,
.modal-box .modal-header h4 { margin: 0; }

.modal-box .modal-body { padding: 2em 1.5em; }


.testlistol {list-style: upper-roman;}

.modal-box footer,
.modal-box .modal-footer {
  padding: 1em;
  border-top: 1px solid #ddd;
  background: rgba(0, 0, 0, 0.02);
  text-align: right;
}

.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9) !important;
}

.js-open-modal {
	cursor: pointer;
	color: rgba(0,0,0,0.5);	
}

a .js-open-modal {
color: rgba(0,0,0,0.5);	
}


header {
	text-align: right;
}

header h1 {
	text-align: center;
}

#footerslogan {
text-align:left; display:inline-block; float:left; width:50%;
}

#footerlinks {
text-align:right; display:inline-block; width:50%;
}

}

@media(max-width:899px) {
	body {
		margin: 0px;
		padding: 0px;
		font-family: 'Arimo', sans-serif;
	}
	
	.videoiframe {
        max-width:100% !important;
    }
	
#martinusbacklay {
position:fixed; width:100%; height:650px; z-index:-10000; top: 50px; bottom:5%; left:5%; background-size:500px auto; background-repeat:no-repeat; background-image:url(/gfx/Martinus_gross_grau_transparent.png); opacity: 0.1;
}
	
	#header {
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	background-color:#8F0D29;
   height:50px;
	background-image:url(/gfx/Martinus_weiss_neu_invers.png);
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-position: right center;
	border-bottom:1px solid #000000;
}

#slogan {
	color: #FFFFFF;
	text-align: center;
	padding-top: 13px;
}

#menubutton {
	position: fixed;
	top:4px;
	left:8px;
	background-image: url(/gfx/menu.png);
	width:40px;
	height:40px;
	background-size: cover;
}

#headerpic {
	background-image:url(/gfx/headerpic.jpg);
	height:200px;
	margin-left:0px;
	margin-right:0px;
	background-size:cover;
	background-position: 40% 0px;
	border-bottom:2px solid #000000;
}

#footer {
	position:fixed;
	bottom:0px;
	width:100%;
	background-color:#8F0D29;
	color: #F5F5F5;
	text-align: center;
}

#footer a {
	color: #F5F5F5;
}

#footerslogan {
	display:none;
}

#navigation {
	position:fixed;
	top:50px;
	left:0px;
	display: none;
	background-color: rgba(143,13,41,1);
	border-right:1px solid #000000;
	border-bottom: 1px solid #000000;
}

#navigation ul {
	list-style:none;
	margin: 0px;
	padding: 0px;
}

#navigation ul a {
	text-decoration: none;
	color:#F5F5F5;
}

#navigation li {
	margin:0px;
	display: block;
	font-size: 12pt;
	padding:5px;
}

#navigation li:hover {
	border-bottom:2px solid #FFFFFF;
}

#subnavigation {
	display: none;
	margin-top: 0px;
	background-color: rgba(143,13,41,1);
	border-right:1px solid #000000;
	border-bottom: 1px solid #000000;
}

#subnavigation ul {
	list-style:none;
	margin: 0px;
	padding: 0px;
}

#subnavigation ul a {
	text-decoration: none;
	color:#F5F5F5;
}

#subnavigation li {
	margin:0px;
	display: inline-block;
	font-size: 10pt;
	padding:5px;
}

#subnavigation li:hover {
	border-bottom:2px solid #FFFFFF;
}

#subsubnavigation {
	display: none;
	background-color: rgba(143,13,41,1);
	border-right:1px solid #000000;
	border-bottom: 1px solid #000000;
}

#subsubnavigation ul {
	list-style:none;
	margin: 0px;
	padding: 0px;
}

#subsubnavigation ul a {
	text-decoration: none;
	color:#F5F5F5;
}

#subsubnavigation li {
	margin:0px;
	display: inline-block;
	font-size: 10pt;
	padding:5px;
}

#subsubnavigation li:hover {
	border-bottom:2px solid #FFFFFF;
}

#content {
	padding-top: 10px;
	margin:0px auto;
	padding: 10px;
	padding-bottom: 50px;
}

h1 {
	font-size: 16pt;
}

.contentitem {
	width:100% !important;
}

.modal-box {
  display: none;
  position: fixed;
  z-index: 100000;
  width: 98%;
  background: white;
  border-bottom: 1px solid #aaa;
  border-radius: 4px;
  max-height: 90vh;
  overflow-y:scroll;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;
}

.modal-box header,
.modal-box .modal-header {
  padding: 1.25em 1.5em;
  border-bottom: 1px solid #ddd;
}

.modal-box header h3,
.modal-box header h4,
.modal-box .modal-header h3,
.modal-box .modal-header h4 { margin: 0; }

.modal-box .modal-body { padding: 2em 1.5em; }}

.testlistol {list-style: upper-roman;}


.modal-box footer,
.modal-box .modal-footer {
  padding: 1em;
  border-top: 1px solid #ddd;
  background: rgba(0, 0, 0, 0.02);
  text-align: right;
}

.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9) !important;
}

.js-open-modal {
	cursor: pointer;
	color: rgba(0,0,0,0.5);	
}

a .js-open-modal {
color: rgba(0,0,0,0.5);	
}

header {
	text-align: right;
}

header h1 {
	text-align: center;
}

img {
	max-width:100% !important;
	height: auto !important;
}

a {
	color: #848484;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

}
