/*******************************************************************************/
/* BASIS LAYOUT   */
/******************************************************************************/
html {
  height: 100.1%;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  height: 100.1%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #fff !important;
  position: relative;
}

header,
nav,
section,
article,
aside,
footer {
  display: block;
}

#wrapper {
  flex: 1 0 auto;
  position: relative;
  width: 100%;
  margin: 0 auto 0 auto;
  height: auto !important;
}

#wrap-header {
  width: 100%;
  height: 100px;
  position: fixed;
  background-color: #fff !important;
  z-index: 90;
  box-shadow: 0 10px 20px -5px rgba(115, 115, 115, 0.251);
}

#header,
#header.container {
  height: 100%;
}

#logo {
  z-index: 150 !important;
  width: 83px;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

#logo a,
#logo img {
  display: block;
  width: 100%;
  height: auto;
}

/*
.home #logo {
   display:none; 
}

.showlogo {
  display:block !important;
}
.hidelogo {
  display:none; 
}
*/


#wrap-topbild {
  width: 100%;
  height: auto;
  overflow: hidden !important;
  position: relative;
  height: 30vw;
  margin-top: 100px;
}

.home #wrap-topbild {
  height:70vh;
}

#topbild {
  width: 100%;
  height: 100%;
  position: relative;
}

/*
#topbild .ce-image img,
#topbild img,
.bg-fullscreen .ce-image img,
.bg-fullscreen img {
  width: 100% !important;
  height: auto;
}

#topbild .ce-gallery {
  float: none !important;
}

#topbild .ce-image img,
#topbild img {
  width: 100% !important;
  height: auto;
}

#topbild .ce-center .ce-outer,
#topbild .ce-center .ce-inner {
  position: relative;
  float: none !important;
  right: 0% !important;
}

#topbild .ce-column,
#topbild .ce-gallery figure {
  width: 100% !important;
}

#topbild .ce-gallery {
  margin-right: 0px !important;
  margin-bottom: 0px !important;
}

#topbild .ce-gallery .ce-column {
  margin-right: 0px !important;
  margin-bottom: 0px !important;
}
*/

.home #topbild,
.home #topbild > div {
  height:100%;
}

#wrap-inhalt.notb {
  margin-top: 100px;
}

main,
#inhalt {
  min-height: 400px;
  padding-top: 0px;
  height: auto;
  overflow: hidden;
  padding: 0px 0px 90px 0px;
}



/* Section Background */
.bg-1 {
  background-color:#002033
}

.bg-2 {
	background-color:#C34F5A;
}

.bg-3 {
	background-color:#fff; 
}



/* Fuzsszeile */
#map {
  width: 100%;
}

#wrap-footer {
  flex-shrink: 0;
  width: 100%;
  clear: both;
  background-color: #002033;
  position: relative;
  z-index: 5;
}

#footer-map {
  height: 460px;
  width: 100%;

  height:0px; 
}

.kontakt #footer-map {
  display: block;
}

footer {
  position: relative;
  padding-top: 40px;
  padding-bottom: 30px;
  margin-right: auto;
  margin-left: auto;
  min-height: 180px;
}

footer p {
  margin-bottom: 0px;
}

footer ul {
  list-style-type: none;
  margin-left: -30px;
}

#frow1 div[class^="col-"]:nth-child(2) {
  display:flex
}

#footer-c2 {
  display:flex;
  flex-direction: column;
  justify-content: flex-end;
}

#frow1::after {
  content: "";
  background: #fff;
  left: 15px;
  height: 1px;
  width: calc(100% - 30px);
  margin-top: 15px;
  margin-bottom: 15px;
}

#meguralink {
  text-align: right;
  margin: 0 auto;
  margin-top: 10px;
}

#wrap-footer span.oeffnungszeiten {
  font-size: 14px;
}


/* Instalink */
svg.instaFooter {
  width: 50px;
  fill: #fff;
}


/* Megura Swissness Logo */
#megura-programmierung {
  position: relative;
}

#megura-swissness {
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 15px;
  right: 15%;
  /*transform: translateY(-70%);*/
}

#megura-swissness svg {
  width: 100%;
  height: 100%;
}

.ms-svg-inner {
  fill: #474747;
}

#megura-swissness svg:hover .ms-svg-inner {
  fill: #8d1d25;
}

/* Helper classes  */
.container {
  position: relative !important;
  max-width: 1260px !important;
}

#inhalt.subpage .sec .container {
  padding-left: 300px;
}

.center-text {
  text-align: center;
  margin: 0 auto !important;
}
.center-element {
  margin: 0 auto !important;
}

img {
  outline: none !important;
}

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

/* IE 10+ only */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  main .row img {
    width: 100% !important;
    height: auto;
  }
}


/* Google Maps */
.tx-go-maps-ext {
  height: 45vh;
  width: 100%;
}

.js-gme-container {
  height: 100%;
  width: 100%;
}

.gm-style {
  font-family: "Jost", sans-serif;
  font-size: 14px !important;
  line-height: 120%;
}

.gme-info-window,
.gme-info-window p,
.gme-info-window a {
  color: #000 !important;
  line-height: 140%;
  font-family: "Jost", sans-serif;
  font-size: 14px !important;
}

.gme-info-window p strong {
  font-weight: 700 !important;
}

.gme-info-window p {
  margin-bottom: 5px !important;
}

.gm-style .gm-style-iw-c {
  border-radius: 20px !important;
  padding: 20px !important;
  color: #000;
  background-color: #fff;
  border: 2px solid #8d1d25;
}

.gm-style-iw-d {
  overflow: auto !important;
}

.gm-ui-hover-effect {
  color: #000 !important;
  top: 0px !important;
  right: 2px !important;
}

main .row .js-gme-container img {
  max-width: initial !important;
  width: auto !important;
  height: auto;
}

.js-map p {
  margin-bottom: 0px;
}

.gm-style .gm-style-iw-t::after {
  border-left: 2px solid #8d1d25;
  border-bottom: 2px solid #8d1d25;
}

.gme-info-window a:hover {
  color: #8d1d25 !important;
}

/* Slick Slider */
.slick-slider {
  width: 100%;
}

.slick-prev::before,
.slick-next::before {
  color: #000 !important;
}



.bg-over {
  background-color:rgba(207, 56, 24, 0.72);
  min-height:600px; 
}

.bg-over p {
  margin:0 !important; 
}
.bg-over > div {
  padding:40px 0px 40px 40px;
  max-width:520px; 
}

.bg-over p, .bg-over h1 {
  color:#fff !important;
}



/*******************/
/** Masonry 3 Columns  **/
/*******************/
.grid-sizer,
.grid .testimonial {
  width: 32%;
  margin-bottom: 2%;
}

.gutter-sizer {
  width: 2%;
}


/*******************/
/** Testimonial   **/
/*******************/
.testimonial figure {
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	color: #111;
	display: inline-block;
	font-size: 18px;
	margin: 35px 7px 10px;
	/* max-width: 98%;  */
	min-width: 250px;
	position: relative;
	text-align: center;
	width: 100%;
	background-color: #fff;
	border-radius: 5px;
	border-top: 5px solid #002033;
}

.testimonial figure figcaption::before {
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
	color: #e3000b;
	content: ' ';
	font-family: 'FontAwesome';
	font-size: 32px;
	font-style: normal;
	left: 50%;
	line-height: 60px;
	position: absolute;
	top: -30px;
	width: 60px;
	
	background: url("/typo3conf/ext/t3master/Resources/Public/Images/quote-right-solid.svg");
  background-size: 50px 50px !important;
	width: 60px;
	height: 60px;
	background-color: #fff;
	background-position: center;
	background-repeat: no-repeat;
}

.testimonial div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
	margin-bottom: 0px !important;
}

.testimonial .csc-textpic-text {
	position:absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	padding-left:62px !important; 
	background: url('../bilder/Gruppe 260.png') 15px 50% no-repeat;
	margin-left: 280px !important; 
}

.testimonial .csc-textpic-text p {
	margin-bottom:0px !important;
	color:#111;
	font-size:18px !important; 
	line-height:120% !important;
}

.testimonial h3 {
	font-weight:500 !important;
	font-size:20px !important;
	color:#E3000B !important; 
	line-height:130% !important; 
	margin-bottom:18px !important; 
}


.testimonial figure h4 {
	font-weight: 400 !important;
  font-style: normal !important;
	margin: 0;
	opacity: 0.5;
	color: rgb(27, 27, 27) !important;
	line-height: 110% !important;
	font-size: 16px !important;
	text-transform: none !important;
  margin-bottom:15px; 
}

.testimonial figure img  {
	position:absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.testimonial figure blockquote {
	font-style: italic;
	font-weight: 300;
	margin: 0 0 20px;
}

.testimonial blockquote {
	padding: 35px 35px 20px 35px !important;
	margin: 0px !important;
	border-left: none !important;
}


.testimonial.te-img  figure {
	box-shadow: none;
	display: block;
	margin: 0px;
	/* max-width: 98%;  */
	min-width: auto;
	position: relative;
	width: 100%;
	border-radius: 0px;
	border-top: none
}

.testimonial.te-img figure figcaption::before {
	-webkit-transform: none;
	transform:none;
	border-radius:0;
	box-shadow:none;
	content:none;
display:none; 
}

.testimonial.te-img figure img {
	position: relative !important;
	top: 0 !important;
	transform: none !important; 
}



/*******************************************************************************/
/* INHALTSSEITEN   */
/******************************************************************************/

/* Home */
.logocombo {
  margin-top:220px; 
}

.logocombo .container {
  max-width:860px !important; 
}

.logocombo figure {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logocombo img {
  max-width:240px !important;
  height:auto;
}


/* News Item */
.news-item {
  border-top:1px solid #111;
  padding:12px 0px 8px 0px;
}

.news-item h3 {
  font-size: 24px;
	font-weight:700;
	font-style:italic;
	color:#D0160D;
	margin-bottom:8px;
	line-height: 120%;
	text-transform:uppercase;
}

.news-item h3 a {
  text-decoration:none !important;
  color:#D0160D !important;
}

.news-item h3 a:hover {
  text-decoration:underline !important;
  color:#D0160D !important;
}


.news-item h5 {
  color:#002033;
	font-weight:700;
  margin-bottom:0px !important;
  font-size:18px; 
}


/* Medien Item */
.medien-item {
  display:flex;
  flex-direction: row;
}

.medien-datum {
  width:100px;
}
.medien-titel {
  width:200px;

}
.medien-artikel {
  width:400px;
  hyphens:auto; 
}

.medien-weblink {
  width:110px;
}

.medien.pdflink {
  width:85px;
}

.medien-datum,
.medien-titel,
.medien-artikel,
.medien-weblink,
.medien-pdflink {
  border-top:0.6px solid rgb(182, 182, 182);
  padding:12px 0px;
}



/* Unterlagen der der Gesellschaften */
.unterlagen .font-red {
  font-weight:500;
}

.unterlagen a,
.unterlagen a:hover, 
.unterlagen a p,
.unterlagen a:hover p {
  color:initial !important;
  text-decoration:none !important;
  transition: all .2s ease;
}

.download-pdf {
  display: inline-block;
  position: relative;
  color: #002033
}

.download-pdf::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #002033;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.unterlagen a:hover .download-pdf::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.download-pdf::before  {
	position: absolute;
	top: 4px;
  right: -26px;
	display: inline-block;
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 464a208 208 0 1 1 0-416 208 208 0 1 1 0 416zM256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM368 288V256H304V128l-96 0 0 128H144v32l112 96 112-96z' fill='%23CCCCCC'   /%3E%3C/svg%3E");
  background-repeat: no-repeat;
	width: 20px;
	height: 20px;
  transition: all .2s ease;
}

.unterlagen a:hover .download-pdf::before  {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 464a208 208 0 1 1 0-416 208 208 0 1 1 0 416zM256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM368 288V256H304V128l-96 0 0 128H144v32l112 96 112-96z' fill='%23002033'   /%3E%3C/svg%3E");
}