html {
	overflow-y: scroll;
	height: 100%;
}

body {
	border-top: 6px solid #9f170d;
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	font-size: 1em;
	line-height: 1.5;
	color: #6d747c;
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
}

/* Anpassen Boxmodel */
* {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
	
*:before,
*:after{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

/* Links */
a,
a:visited {
	color: #9f170d;
	text-decoration: underline;
}
a,
a:hover,
a:focus {
	color: #b11623;
}

/* Layout */
#wrapper {
	width: 100%;
}

#header .inside {
	text-align: center;
}

#main .inside {
	padding: 0 2% 0 2%;
}

#left .inside {
	padding-right: 60px;
}

#logo {
	width: 154px;
	height: 66px;
	display: inline-block;
	text-indent: -9999px;
	background: transparent url('/files/demoacademy/system/img/logo.png') 0 0 no-repeat;
}


/* Formatierung Überschriften */
h1 {
  font-size: 2.5em;
  line-height: 1.333333332em;
  margin-top: 0em;
  margin-bottom: 0.44444444em;
  color: #9f170d;
  font-weight: 700;
}

h2 {
  font-size: 2.25em;
  line-height: 1.333333334em;
  margin-top: 1.33333333em;
  margin-bottom: 0.66666667em;
  font-weight: 700;
}

h3 {
  font-size: 1.5em;
  line-height: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  font-weight: 700;
}

h4,
h5,
h6 {
  font-size: 1em;
  line-height: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  font-weight: 700;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/* sonstige Abstände und Elemente */
/*
p, ul, ol, pre, table, blockquote {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
*/
ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

li {
	margin-left: 2em;
}


hr {
  border: 1px solid;
  margin: -1px 0;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
b, strong, em, small, code {
  line-height: 1;
}
sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub {
  top: 0.4em;
}

.headline_start h4 {
	font-size: calc(24px + (36 - 24) * (100vw - 400px) / (1920 - 400) );
}
.font_red {
	color: #9f170d;
}
.animate {
    animation: moveDown 5.6s ease-in-out 5.2s backwards;
}
@keyframes moveDown{
    0% { 
        transform: translateY(-40px); 
        opacity: 0;
    }
    100% { 
        transform: translateY(0px);  
        opacity: 1;
    }
}

/* Haupt-Navigation */

#navmain {
	margin-top: 39px;
	display: none;
}

#navmain ul {
	margin: 0;
	padding: 0;
}

#navmain li {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;	
}

#navmain a,
#navmain span {
	display: block;
	text-decoration: none;
	font-size: 1.125em;
	color: #005168;
	font-weight: 700;
	margin: 0 1em;
}

#navmain a.last {
	margin-right: 0;
}

#navmain a:hover,
#navmain a:focus {
	color: #9f170d;
}

#navmain span.active,
#navmain .trail {
	color: #9f170d;
}

#nav_mobile {
	width: 100%;
	max-width: 214px;
	margin: 10px auto;
}

/* Subnavigation links */
#left h5 {
	color: #9f170d;
	margin-top: 0;
}


#left .mod_navigation {
	margin-top: 60px;
	display: none;
}

#left .mod_navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#left .mod_navigation ul li {
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 0;
}

#left .mod_navigation ul li a,
#left .mod_navigation ul li span {
	color: #005168;
	text-decoration: none;
	line-height: 2.5;
	display: block;
	font-weight: 400;
}

#left .mod_navigation ul li a:hover,
#left .mod_navigation ul li a:focus {
	color: #9f170d;
	text-decoration: underline;	
}


#left .mod_navigation ul li span.active,
#left .mod_navigation ul li .trail {
	color: #9f170d;
	font-weight: 700;
}

/* Breadcrumb */
.mod_breadcrumb ul {
	list-style: none;
	margin: 1.5em 0;
}

.mod_breadcrumb li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.mod_breadcrumb li:after {
	font-family: 'FontAwesome';
    display: inline-block;
	content: "\f0da";
    width: 20px;
    text-align: center;
}

.mod_breadcrumb .last:after {
	content: '';
}

/* Buchnavi */
.mod_booknav ul {
	list-style: none;
	margin: 1.5em 0;
}

.mod_booknav ul li {
	display: inline-block;
	margin: 0 2em 0 0;
	padding: 0;
}


/* Formatierung Bilder */
figure.float_left {
	margin-right: 1.5em;
}

figure.float_right {
	margin-left: 1.5em;
}

/*.caption {
	line-height: 1.2;
	font-size: 0.875em;
	background-color: #e1e1e1;
	text-align: center;
	padding: 3px;
	margin-bottom: 0.25em;
}*/
.caption {
	line-height: 1.2;
	font-size: 0.875em;
	font-style: italic;
	padding: 3px;
	margin-bottom: 0.25em;
}


/* Header Image */
.headerimg {
	position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.headerimg h1 {
    font-size: 1.5em;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1em;
    text-align: center;
}

/* Boxen */
.box-left,
.box-middle,
.box-right {
	width: 100%;
	margin-top: 40px;
	min-height: 180px;
	text-align: center;
	padding: 0 2%;
}

.box-left h2,
.box-middle h2,
.box-right h2 {
	font-size: 1.5em;
	font-weight: 700;
	margin: 0 0 1.25em 0;
	padding: 0;	
}

#boxen .box-left h2:before,
#boxen .box-middle h2:before,
#boxen .box-right h2:before {
	font-family: 'FontAwesome';
    display: inline-block;
    width: 40px;
    height: 40px; 
    line-height: 40px;
    margin-right: 10px;
    background: #005168;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    font-weight: 400;
}

#boxen .box-left h2:before {
    content: '\f1d9';	
}

#boxen .box-middle h2:before {
    content: '\f06c';	
}

#boxen .box-right h2:before {
    content: '\f021';	
}

#boxen {
	border-bottom: 1px solid #ccc;
}


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



/* Buttons */
.btn_outline{
    background-color: white;
    border: 1px solid #065168;
    color: #9f170d;
    cursor: pointer;
    justify-content: center;
    padding-bottom: calc(0.375em - 1px);
    padding-left: 0.75em;
    padding-right: 0.75em;
    padding-top: calc(0.375em - 1px);
    text-align: center;
    border-radius: 0px;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-content: stretch;
    align-items: center;
}
.btn_outline:hover a, 
.btn_outline.is-hovered a{
    color: #fff;
    text-decoration: none;
}
.btn_outline:hover, 
.btn_outline.is-hovered {
    border-color: #9f170d;
    color: #fff;
    background-color: #9f170d;
}

.btn_bluered {
    background-color: #005168;
    border: 1px solid #065168;
    color: #fff;
    justify-content: center;
    /*padding-bottom: calc(0.375em - 1px);
    padding-left: 0.75em;
    padding-right: 0.75em;
    padding-top: calc(0.375em - 1px);*/
    padding: 0 !important;
    text-align: center;
    border-radius: 0px;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-content: stretch;
    align-items: center;
}
.btn_bluered a{
	cursor: pointer;
	color: #fff;
	width: 100%;
    justify-content: center;
    height: 100%;
    display: flex;
    align-content: stretch;
    align-items: center;
    padding: 0.75rem;
    min-width: 100px;
}	
.btn_bluered:hover a, 
.btn_bluered.is-hovered a{
    color: #fff;
    text-decoration: none;
}
.btn_bluered:hover, 
.btn_bluered.is-hovered {
    border-color: #9f170d;
    color: #fff;
    background-color: #9f170d;
}


.btn a,
.btn a:visited {
	display: block;
	line-height: 2.5em;
	width: 320px;
	background:	#9f170d;
	font-size: 1.25em;
	margin: 0.5em 0;
	text-align: center;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.btn a:hover,
.btn a:focus {
	background: #b11623;
}

/* Zentrierung für Buttons */
.btn-center a {
	margin: 0.5em auto;
}

/* Footer */
/*#footer {
	margin-top: 40px;
	border-top: 1px solid #ccc;
}
*/
#footer h5 {
	color: #9f170d;
	margin-top: 0;
}

#footer a,
#footer a:visited {
	color: #005168;
	text-decoration: underline;
}

#footer a:hover {
	color: #b11623;
}
.footer-copyright {
	margin-top: 40px;
	border-top: 1px solid #ccc;
	font-size: 0.75em;
	padding: 10px 0;
	text-align: center;
}

/* Social Icons */
.socialicons {
	list-style: none;
	margin: 0;
	padding: 0;
}

.socialicons li {
	font-size: 2.5em;
	line-height: 1;
	display: inline-block;
	vertical-align: top;
	margin-right: 5px;
	margin-left: 0;
}

/** Tabelle **/
table {
	width: 100%;
	overflow: auto;
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ccc;
}

th,td {
	border: 1px solid #ccc;
	padding: 5px 10px;
}

th {
	background: #efefef;
	font-weight: 700;
	text-align: left;
}

/** Akkordeon **/
.ce_accordion {
	margin-bottom: 1px;
}

.ui-accordion-content {
	border: 1px solid #ccc;
	padding: 0 0.5em;
}

.ce_accordion .toggler {
	cursor: pointer;
	color: #fff;
	background: #005168;
	outline: none;
	padding: 0.5em;
	font-weight: bold;
}

.ce_accordion .toggler.active,
.ce_accordion .toggler:hover {
	background: #9f170d;
}


.ui-accordion-header:after {
	content: '\f196';
	color: #fff;
	font-family: 'FontAwesome';
    display: inline-block;
    float: right;
    font-weight: 700;
}

.ui-accordion-header-active:after {
	content: '\f147';
}

/* Gallerie */
.ce_gallery {
	  margin: 1.5em 0;
}

.ce_gallery li {
	margin: 0 20px 20px 0;
}

.ce_gallery li.col_last {
	margin-right: 0;
}

/* Formular */
label{
	display: block;
}

input,
textarea,
select {
	margin-bottom: 1em;
	padding: 0.25em;
	border: 1px solid #005168;
	outline: 0;
	width: 100%;
	border-radius: 0;
}

input:focus,
textarea:focus,
select:focus {
	border: 1px solid #9f170d;
}

input[type=submit],
input[type=text] {
	-webkit-appearance: none;
}

.submit {
	background:	#9f170d;
	text-align: center;
	padding: 0.75em 1em;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border:none;
}

.submit:hover,
.submit:focus {
	background: #b11623;
	border:none;
}

p.error {
	color: red;
	background: #f1f1f1;
	border: 2px solid red;
	padding: 0.5em;
	margin: 0 0 0.25em 0;
}

.radio_container span {
	margin-right: 2em;
}

.radio_container input {
	width: auto;
	margin-left: 2px;
}

.radio_container label {
	display: inline-block;
}

.checkbox_container input {
	width: auto;
}

.checkbox_container label {
	display: inline-block;
}


/* Nachrichten Styling */
/* News */
.mod_newslist{
	align-items: stretch;
}
.mod_newslist.newslist_top1{
	margin-bottom: 0rem;
}
.layout_latest.last {
    margin-bottom: 1.5rem;
}

.newslist_top1 .layout_latest.last{
	margin-bottom: 0rem;
}
.layout_latest_inner{
	border: 1px #005168 solid;
	padding-bottom: 2rem;
	height: 100%;
}
.layout_latest_inner>*:not(.image_container) {
	padding-left: 0.75rem;
	padding-right: 0.75rem;	
}
.layout_latest .more{
	text-align: center;
}

.layout_latest h1,
.layout_latest h2,
.layout_latest h3,
.layout_latest h4,
.layout_latest h5,
.layout_latest h6
{
	text-align:center;
	font-size: calc(16px + (22 - 16) * (100vw - 400px) / (1920 - 400) );
	padding-top:2rem;
}


.hr-layout_latest {
  display: flex;
  width: 50%;
  margin: 1rem auto;
}  
.hr-line {
	width: 100%;
	position: relative;
	margin: 15px;
	border-bottom: 2px solid #005168;
}
.hr-icon {
	position: relative;
	top: -6px;
    color: #fff;
    line-height: 12px;
}
/* .hr-icon:after {
    content: url(/images/icn_mountain.svg);
    position: relative;
} */
.mountain-icon {
    font-size: 1.5rem;
    position: relative;
	width:1.5rem;
}



.layout_short,
.layout_latest {
	margin-bottom: 3em;
}

.layout_latest {
	padding-bottom: 1rem;
}

.layout_short h2 {
	border-bottom: 2px solid #9f170d;
	margin:	0;
}


.layout_short h2 a,
.layout_latest h2 a {
	color: #005168;
	text-decoration: none;
}

.layout_short .info,
.layout_latest .info,
.layout_full .info {
	margin: 0;
	font-size: 0.875em;
}

.layout_short .info:before,
.layout_latest .info:before,
.layout_full .info:before {
	font-family: 'FontAwesome';
    display: inline-block;
	content: "\f073";
    width: 20px;
    text-align: center;
}

#footer .layout_simple {
	border-bottom: 1px solid #ccc;
	padding: 0.75em 0;
}

#footer .layout_simple a {
	font-weight: 700;
	text-decoration: none;
}






/* News-Menü */
.mod_newsmenu {
	margin-top: 60px;
}

.mod_newsmenu ul {
	list-style: none;
	margin: 0;
}

.mod_newsmenu .year {
	margin: 0;
}

.mod_newsmenu a {
	text-decoration: none;
	color: #005168;
}

.mod_newsmenu a:hover,
.mod_newsmenu a:focus,
.mod_newsmenu span.active
 {
	color: #9f170d;
	text-decoration: underline;
}

.mod_newsmenu .year > a {
	font-weight: 700;
}

/* Kommentar */
.ce_comments input {
	width: auto;
}

.ce_comments label {
	display: inline-block;
}

.ce_comments form {
	margin-top: 3em;
}

.comment_default {
    padding: 0.75em 0;
    margin-bottom: 1.5em;
}

.comment_default .info {
	font-weight: 700;
	border-bottom: 1px solid #005168;
}

.comment_default .reply {
	font-style: italic;
	padding-left: 2em;
}

.comment_default .reply .info {
	border-bottom: none;
}

/* Events */
.calendar td {
	padding: 5px;
	height: 120px;
}

.calendar .head {
	text-align: center;
} 

.calendar .label {
	width: 14.25%;
	font-size: 0.75em;
}

.calendar .header {
	font-size: 0.75em;
	background-color: #efefef;
	padding-left: 3px;
}	

.calendar .empty .header {
	background-color: #fff;
}
	
.calendar .today .header{
	background-color: #9f170d;
	color: #fff;
	font-weight: 700;
}

.calendar .event {
	margin: 3px 0;
	line-height: 1.1;
}

.calendar .event a {
	font-size: 0.75em;
}


.minicalendar .head,
.minicalendar .label,
.minicalendar td {
	text-align: center;
}


.minicalendar .active {
	background: #9f170d;
}

.minicalendar .active a,
.minicalendar .active a:visited {
	color: #fff;
}

.layout_upcoming {
	padding: 1em 0.25em;
	border-bottom: 1px solid #ccc;
}

.layout_upcoming.odd {
	background: #efefef;
}

/* Suche */
#header .mod_form {
	position: relative;
	margin: 10px auto;
	width: 214px;
}

#searchbox input[type=text] {
	width: 100%;
	height: 30px;
	padding: 6px 30px 6px 15px;
	border: 1px solid #ccc;
	
}

#searchbox input[type=text]:focus {
	border: 1px solid #005168;
}


#searchbox input.lupe {
	width: auto;
	position: absolute;
	background: none; 
	right: 0;
	top: 0;
	padding: 6px;
	z-index: 100;
}

.mod_search form {
	border: 1px solid #ccc;
	padding: 25px;
}

.mod_search .header {
	margin-top: 2em;
	padding: 0.5em;
	text-align: center;
	background: #005168;
	color: #fff;
}

.mod_search > div {
	padding: 0.75em 0.5em;
}

.mod_search .odd {
	background: #efefef;
}




.page-header{
	margin-left: 0;
	margin-right: 0;
}
.logo {
	width: 28%;
	padding-top: 1em;
	padding-bottom: 1em;
	justify-content: flex-start;
	
}
.logo img {
	height: 70px;
}




/* =============================================================================
 * Typography
 * ========================================================================== */

p, h1, h2, h3, h4, h5, h6 {
padding:0 0 0 0;
font-weight: normal;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0.5em;
}
p {
font-family : 'Open Sans', 'Helvetica Bold', Arial, sans-serif;
font-size: calc(16px + (16 - 16) * (100vw - 400px) / (1920 - 400) );
line-height : 138%;
}

h1 {
font-family : 'Open Sans', 'Helvetica Bold', Arial, sans-serif;
font-size: calc(36px + (48 - 36) * (100vw - 400px) / (1920 - 400) );
font-weight: 700;
color: #065168
}

h2 {
font-family : 'Open Sans', 'Helvetica Bold', Arial, sans-serif;
font-size: calc(36px + (48 - 36) * (100vw - 400px) / (1920 - 400) );
font-weight: 700;
color: #065168
}
h3 {
font-family : 'Open Sans', 'Helvetica Bold', Arial, sans-serif;
font-size: calc(20px + (30 - 20) * (100vw - 400px) / (1920 - 400) );
font-weight: 700;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
color: #065168
}

h4 {
font-family : 'Open Sans', 'Helvetica Bold', Arial, sans-serif;
font-size: calc(16px + (24 - 16) * (100vw - 400px) / (1920 - 400) );
color: #065168
}

h5 {
font-family : 'Open Sans', 'Helvetica Bold', Arial, sans-serif;
font-size: calc(18px + (20 - 18) * (100vw - 400px) / (1920 - 400) );
font-weight: 700;
color: #065168
}

h6 {
font-family : 'Open Sans', 'Helvetica Bold', Arial, sans-serif;
font-size: calc(16px + (18 - 16) * (100vw - 400px) / (1920 - 400) );
color: #065168;
line-height: 138%;
}



/* #### Quotations ### */
.quotation {
	padding-left: 30%;
	padding-right: 30%;
}




.is-red{
	color: #9f170d;
}
.is-white{
	color: #fff;
}
.is-blue{
	color: #005168;
}
.is-grey{
	color: #6d747c;
}
.is-48{
	font-size: 48px;
}
.is-24{
	font-size: 24px;
}
.is-16{
	font-size: 16px;
}
/*.is-centered {
	text-align: center;
}*/
.bg-blue {
    background-color: #005168;
    color: #fff;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.bg-blue a{
    color: #fff;
    text-decoration: underline;
}
.bg-lightgrey {
    background-color: rgba(109, 116, 124, 0.2);
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.padding-top-1{
	padding-top:1rem !important;
}
.padding-bottom-1{
	padding-bottom:1rem !important;
}
.padding-top-2{
	padding-top:2rem !important;
}
.padding-bottom-2{
	padding-bottom:2rem !important;
}
.padding-top-3{
	padding-top:3rem !important;
}
.padding-bottom-3{
	padding-bottom:3rem !important;
}


#footer{
	margin-top: 5rem;
}
/* #footer:before {
	content: '';
	background-image: url('/images/footer-mountain.svg');
	display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    width: 70px;
	height: 38px;
	margin-top: -32px;
    margin-left: calc(100% - 16.66% - 54px);
    margin-right: calc(100% - 16.66% - 54px);
    position: absolute;
    z-index: 5;
    display: block;
} */

#footer .inside{
	background-color: #6d747c;
	color: #fff;
	border-top: #9f170d solid 6px; 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	padding-left: 16.66%;
	padding-right: 16.66%;
	padding-bottom: 2em;
}
/*
.footer_contact {
	width: 30%;
}
.footer_nav {
	width: 30%;
}*/
#footer .inside h2 {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 2rem;
	margin-top: 2rem;
}
.icn_linkedin:before{
	content: '';
	background-image: url(../../content/design/In-White-128px-TM.png);
	width: 28px;
	height: 28px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.icn_linkedin{
	margin-top: 0;
}
.footer_contact p{
	margin-bottom: 0;
}
#footer .inside a {
	color: #fff;
	text-decoration: none;
}
#footer .inside a:hover,
#footer nav .active {
	color: #9f170d;
}
#footer nav strong {
	font-weight: normal;
}
#footer nav ul,
#footer nav li {
	margin:0;
	padding:0;
}


/* Video responsive */
.ce_player video {
    width:100%;
    height:auto;
}
/* Video responsive */
.mx-1 {
	margin: 0 1rem;
}
.mx-2 {
	margin: 0 2rem;
}
.mx-3 {
	margin: 0 3rem;
}
.mx-4 {
	margin: 0 4rem;
}

/* =============================================================================
 * Cards for Graphic
 * ========================================================================== */


.graphic_container{
	display: grid;
	/*max-width: calc(100% - 0.75rem - 0.75rem - 10%);*/
	max-width: 100%;
	grid-template-columns: 4fr 7fr;
	grid-template-rows: repeat(6, 1fr);
	justify-items: stretch;
	justify-content: center;
	column-gap: 2rem;
	row-gap: 2rem;
	margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
        padding-inline: 1rem;
}	
.graphic_container:last-child {
	margin-bottom: 1.5rem !important;
}
.card-blue{
	background-color: #fff;
	color: #005168;
	box-sizing: border-box;
	border: 10px solid #fff;
	box-shadow: 0 0 0 2px #fff, inset 0 0 0 2px #005168, 4px 4px 8px #9aa4ad;
	padding: 0.75rem 1.5rem 2rem 1.5rem;
	margin-bottom: 0 !important;
	display: grid;
	align-items: center;
    align-self: stretch;
    align-content: center;
	position: relative;
}
.card-blue:after{
	content: '';
    background-image: url(/images/footer-mountain_blue2.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 47px;
    height: 28px;
    position: absolute;
    bottom: 0;
    right: 20px;
    z-index: 5;
}
.card-blue figure{
    height: 150px;
    display: grid;
    justify-content: center;
    justify-self: center;
    width: 150px;
    align-items: center;
    margin-bottom: 1rem;
}
.card_center{
	background-color: #9f170d;
	color: #fff;
	box-sizing: border-box;
	border: 10px solid #9f170d;
	box-shadow: 0 0 0 2px #9f170d, inset 0 0 0 2px #fff, -4px -4px 8px #9aa4ad;
	padding: 0.75rem 0.75rem 1.5rem 0.75rem;
	grid-column: 1 / 2;
	grid-row: 1 / 7;
	margin-bottom: 0 !important;
	writing-mode: vertical-lr;
    text-align: right;
    transform: rotate(180deg);
    display: grid;
    align-items: flex-start;
    align-self: stretch;
    align-content: flex-start;
    position: relative;
}
.card_center:after {
    content: '';
    background-image: url(/images/footer-mountain_red.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 47px;
    height: 28px;
    position: absolute;
    bottom: 0;
    right: 10px;
    z-index: 5;
    transform: rotate(180deg);
}

.card_center p{
	font-size: calc(24px + (28 - 24) * (100vw - 400px) / (1088 - 400) );
}
.card_1{
	grid-column: 2 / 3;
	grid-row: 1 / span 1;
}
.card_2{
	grid-column: 2 / 3;
	grid-row: 2 / span 1;
}
.card_3{
	grid-column: 2 / 3;
	grid-row: 3 / span 1;
}
.card_4{
	grid-column: 2 / 3;
	grid-row: 4 / span 1;
}
.card_5{
	grid-column: 2 / 3;
	grid-row: 5 / span 1;
}
.card_6{
	grid-column: 2 / 3;
	grid-row: 6 / span 1;
}
@media only screen and (min-width: 1088px) {
	.graphic_container{
		grid-template-columns: repeat(9, 1fr);
		grid-template-rows: repeat(3, 1fr);
	}
	.card-blue{
	padding: 3rem 3rem 4.5rem 3rem;
	}
	.card_center{
	box-shadow: 0 0 0 2px #9f170d, inset 0 0 0 2px #fff, 4px 4px 8px #6d747c;
	padding: 3rem 3rem 4.5rem 3rem;	
	grid-column: 4 / 7;
	grid-row: 2 / 3;
	writing-mode: inherit;
    text-align: inherit;
    transform: inherit;
    display: grid;
	align-items: center;
    align-self: stretch;
    align-content: center;
	}
	.card_center:after{
	content: '';
    background-image: url(/images/footer-mountain_red.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 47px;
    height: 28px;
    position: absolute;
    bottom: 0;
    right: 20px;
    z-index: 5;
    transform: rotate(0deg);
	}
    .card_center p{
	font-size: calc(18px + (24 - 18) * (100vw - 400px) / (1920 - 400) );
	text-align: center;
	}
	.card_1{
	grid-column: 2 / 5;
	grid-row: 1 / 2;
	}
	.card_2{
		grid-column: 5 / 8;
		grid-row: 1 / 2;
	}
	.card_3{
		grid-column: 1 / 4;
		grid-row: 2 / 3;
	}
	.card_4{
		grid-column: 7 / 10;
		grid-row: 2 / 3;
	}
	.card_5{
		grid-column: 2 / 5;
		grid-row: 3 / 4;
	}
	.card_6{
		grid-column: 5 / 8;
		grid-row: 3 / 4;
	}
}


/* Divider */
.divider { 
	display: block;
	border-top: 1px solid #6d747c; 
	height: 1px;
}
.divider img {
  display: block;
  margin: auto;
  margin-top: -32px; /*img-height /-2 + height / 2 */ 
  /* adjustments for 'margin' to border */
  padding: 0 20px; 
  background: #fff;
  width: 70px;
  height: 30px;
}

/* Testimonial Portfolio-Boxes */
.portfolio-boxes {
	zoom: 1;
	margin: 2.66667em 0;
}
/*
.portfolio-boxes:before {
	content: "";
	display: table
}

.portfolio-boxes:after {
	content: "";
	display: table;
	clear: both
}
*/
.portfolio-boxes>h1,
.portfolio-boxes>h2,
.portfolio-boxes>h3,
.portfolio-boxes>h4,
.portfolio-boxes>h5,
.portfolio-boxes>h6 {
	margin-top: 0;
	margin-bottom: 1.06667em
}
.portfolio-boxes-item {
	position: relative;
	/*padding-bottom: 10.33333em;*/
	padding-bottom: 4em;
	background: #fff;
	display: flex;
	align-items: stretch;
	cursor: pointer;
}

.portfolio-boxes-item-image {
	position: absolute;
	top: 0;
	right: 0;
	/*bottom: 10.33333em;*/
	bottom: 4em;
	left: 0;
	background: 50% 50% no-repeat;
	background-size: cover;
	background-color: #005168;
	padding: 1rem;
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */
    flex-direction: column;
}
.portfolio-boxes-item-image p{
	font-size: calc(22px + (28 - 22) * (100vw - 400px) / (1920 - 400) );
	text-align: center;
	color: #fff;
}


.portfolio-boxes-item-image img {
	display: none
}

/*.portfolio-boxes-item-image:before {
	content: attr(data-headline);
	position: absolute;
	right: 0;
	bottom: -10.33333em;
	left: 0;
	display: block;
	padding: 2em .66667em;
	font-size: 1em;
	font-weight: 400;
	letter-spacing: .1em;
	color: inherit;
	text-align: center;
	text-transform: uppercase
}*/

.portfolio-boxes-item-text {
	position: relative;
	display: block;
	min-height: 20em;
	padding: 2em 1.33333em;
	color: #fff;
	text-align: center;
	font-style: italic;
	background: #000;
	background: rgba(177, 22, 35, 1);
	opacity: 0;
	-webkit-transition: opacity 0.3s linear;
	-moz-transition: opacity 0.3s linear;
	-o-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}

.portfolio-boxes-item-text:hover,
.portfolio-boxes-item-text:focus,
.portfolio-boxes-item-text.is-hovered {
	text-decoration: none;
	opacity: 1;
	-webkit-transition: opacity 0.1s linear;
	-moz-transition: opacity 0.1s linear;
	-o-transition: opacity 0.1s linear;
	transition: opacity 0.1s linear;
	-ms-transform: scale(1.05); /* IE 9 */
	-webkit-transform: scale(1.05); /* Safari 3-8 */
	transform: scale(1.05);
		-webkit-transition:  box-shadow 0.9s, transform 1.3s, opacity 0.4s linear;
	-moz-transition:  box-shadow 0.9s, transform 1.3s, opacity 0.4s linear;
	transition: box-shadow 0.9s, transform 1.3s, opacity 0.4s linear;
	box-shadow: 0 2em 1em -0.7em #6d747c;
}
.portfolio-boxes-item-text p {
	margin: 1em 0 0
}
.touch_only {
	display: none;
}
p.touch_only {
	font-size: 12px;
	margin-top: 1rem;
}
@media (hover:none) {
	.touch_only {
		display: block;
	}
}

/* Retina Displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 21), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {

  #logo {
    background: transparent url('/files/demoacademy/system/img/logo@2x.png') 0 0 no-repeat;
    background-size: 154px 66px;
  }
}

/* Screens ab 768px */
@media screen and (min-width: 768px) {

	#header .inside {
		text-align: left;
	}

	#main .inside {
		padding: 0 0 0 0;
	}

	h1 {
		font-size: 3.375em;
	}

	#navmain {
		display: block;
		float: right;
	}
	
	#nav_mobile {
		display: none;
	}
	
	#left .mod_navigation {
		display: block;
	}
	
	/* Suche */
	#header .mod_form {
		position: absolute;
		margin: 0;
		top: -30px;
		right: 0;
	}
	

	.headerimg h1 {
		position: absolute;
	    bottom: 40px;
	    left: 20px;
	    color: #fff;
	    font-size: 3.375em;
	    line-height: 1;
	    margin-bottom: 0;
	    text-align: left;
	}

	.headerimg h1 span {
		background: #9f170d;
	    margin-top: 5px;
	    float: left;
	    padding: 10px;
	}

	/* Boxen */
	.box-left,
	.box-middle,
	.box-right {
		width: 33.32%;
		margin-top: 40px;
		float: left;
		min-height: 180px;
		text-align: left;
		padding: 0;
	}
	
	.box-left {
		padding-right: 20px;
	}
	
	.box-middle {
		padding: 0 10px;
	}
	
	.box-right {
		padding-left: 20px;
	}

	.footer-copyright {
	text-align: left;
	}


}