/*******************************************************************************/
/* 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;
}

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:auto;
	overflow:visible !important; 
	position:relative;
}

#header {
	height: 90px;
	position:fixed;
	background-color:#fff; 
	width: 100%;
	z-index:22;
	box-shadow: 0 10px 20px -5px rgba(115,115,115,0.25);
}

.home #wrap-header {
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment:fixed;
	height:100%; 
}

.home #wrap-header {
	background-image: url('/fileadmin/user_upload/Dokumente/Headerbilder/gebaeude01_xxl.jpg');
}



/* Safari 10.1+ */
@media not all and (min-resolution:.001dpcm) { @media {
    .home #wrap-header {
		background-attachment:scroll;
	}
}}


#wrap-claim {
	position: fixed;
	width: 84%;
	height: auto;
	left:50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index:0; 
}

#claim {
	width:100%;
	height:auto;
	text-align:center !important; 
}

#claim-line1, #claim-line2 {
	animation-delay: 1.4s;
	display:none;
}

#claim-line3 {
	animation-delay: 1.6s;
	display:none; 
}

#claim-line1.animated, #claim-line2.animated, #claim-line3.animated {
	display:block !important; 
}


#logo {
	z-index:300 !important;
	position:absolute;
	left:15px;
	top:2px;
	width:360px; 
}

#logo a {
  display:block;
  width:100%;
  height:100%;
}

#logo img {
  width:100%;
  height:auto;
}


#wrap-topbild {
	width:100%;
	height: 30vw;
	margin-top:90px; 
	position:relative;
}

#topbild {
	width:100%;
	height:auto;
	overflow:hidden; 
	position:fixed; 
}

#topbild .ce-image 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 #owlslider .item img {
	width: 100% !important;
    height: auto;
}

.home #wrap-topbild {
	display:none !important; 
	height:0 !important; 
}


/* Infobox */
.infobox {
  position: fixed;
  top: 200px;
  right: 0px;
  width: 240px;
  height: auto;
  background: #E8122E;
  color: #fff;
  padding: 15px 20px;
  z-index: 100;
}

.infobox a,
.infobox h1,
.infobox h2,
.infobox h3,
.infobox p {
  color: #fff !important;
  text-align: center;
}

.infobox h2 {
  font-size: 28px !important;
  line-height: 130%;
}

.infobox:hover {
  background: #111;
}



#wrap-inhalt {
	position:relative; 
	background-color:#fff; 
	z-index:10; 
}

main { 
  min-height:400px;
  padding-top:25px;
  height:auto;
  overflow:hidden; 
}

.home main {
/*	padding-top:40px; */
}


#inhalt { 
	height:auto;
}

.more-content {
    display: none;
}

.toggle-more p {
	position:absolute;
	left:50%;
	transform:translateX(-50%);
}


.bgwhite {
	background-color:#fff;
	padding:20px 0px 20px 0px;
	border-top:50px solid #fff;
	border-bottom:50px solid #fff;
}

.bggrey {
	background-color:#EBEBEB;
	padding:50px 0px 50px 0px;
	border-top:50px solid #fff;
	border-bottom:50px solid #fff;
}


.highlightbox {
	background-color:#EBEBEB;
	padding:20px 0px 20px 0px;;
}

.leadbox {
	max-width:980px;
	margin:0 auto; 
	text-align:center !important;
}
.leadbox p {
	text-align:center !important
}


.specialbox {
 overflow:visible;
	position:relative;
}

.specialbox  div {
/*	background-image: url("../bilder/form.png");
	background-attachment: scroll;
	background-size:auto 100%;
	background-repeat:no-repeat; 
	background-position:-100px -30px; */
	z-index:2;
	position:relative;
}

.formimg {
	position:absolute !important;
	top:0;
	left:0;
	z-index:1 !important;
	margin-left: -100px;
	margin-top: -80px;
	height:100%;
	width:100%;
	
	background-image: url("../bilder/form.png");
	background-attachment: scroll;
	background-size:auto 100%;
	background-repeat:no-repeat; 
}


#felogout {
	position:absolute;
	top:0;
	right:0;
}

input[type="submit"] {
	cursor:pointer !important; 
}

.plisten a {
	font-weight:600;
}

.plisten br {
	margin-bottom:8px; 
}

.kadresse {
	margin-top:78px; 
}


/* Bootstrap Modal */
body.modal-open {
    overflow: auto;
}
.modal-backdrop {
   background-color: #666 !important;
}
.modal-backdrop.in {
  opacity: .70 !important;
  filter: alpha(opacity=70) !important;
}
.modal-dialog {
  width: auto !important;
  max-width: 920px !important;
}
.modal-dialog {
 /* height: 100vh !important;
  display: flex; */
}
.modal-content {
  margin: auto !important;
  height: fit-content !important;
}
.modal-body {
	padding: 60px 60px 0px 60px !important;
}
.modal-dialog .csc-default::after {
	height: 0px !important;
}
.modal-footer {
	border-top: none !important;
	padding: 0px 20px 20px;
}
.modal-dialog p {
	line-height:130% !important;
	margin-bottom:18px !important;
}
.modal-dialog h2 {
 /*  color: #FFA602 !important;   */
}
.modal-dialog a {
	color:#000000 !important;
	text-decoration:underline;
}
.modal-dialog a:hover {
	color:#F18300 !important;
}
.modal-dialog button.close {
	position: absolute;
	right: 15px;
	top: 10px;
	z-index: 2000;
}




/* Fuzsszeile */
#wrap-footer {
	flex-shrink: 0;
	width: 100%;
	clear: both;
	background-color:#EBEBEB;
	border-top:80px solid #fff; 
	z-index:20; 
}

footer {	
	position: relative;
	padding-top: 0px;
	padding-bottom:0px;
	margin-right: auto;
	margin-left: auto;
	overflow:hidden !important;
	background-color:#4D4D4D;
}

#frow1 {
	height:auto;
	overflow:hidden;
	padding: 60px 0px 0px 0px;
}

#frow2 {
	margin-top:25px; 
}

#footer-c5 {
	padding-right:30px; 
}

#phone { display:none; }


#meguralink {
	text-align:left; 
	margin:0 auto;
	margin:15px 0px 30px 0px; ; 
}



#social-links a { margin-right:12px; }
#social-links .fa { color:#3A3A3A; }


#social-links .circle-icon {
    background: #ffc0c0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 100%;
    vertical-align: middle;
	position:relative;
	background-color:#fff;
	
	-webkit-animation: all 0.3s both ease !important;
	-moz-animation: all 0.3 ease !important;
	animation: all 0.3s both ease !important;
}

#social-links .fa:before {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

#social-links .circle-icon:hover {
	background-color:#E8122E;
	-webkit-animation: all 0.3s both ease !important;
	-moz-animation: all 0.3 ease !important;
	animation: all 0.3s both ease !important;
	color:#fff !important; 
}








.bodenstudio .ce-gallery .ce-column img {
	max-width:180px !important;
	height:auto;
}



/* Megura Swissness Logo */
#megura-programmierung { position:relative; }

#megura-swissness {
width:100px;
height:100px;
position:absolute;
bottom: 15px;
right: 25%;
}

.ms-svg-inner { fill:#111; }
#megura-swissness a:hover .ms-svg-inner { fill:#E8122E; }





/* Helper classes  */
.container {
	position:relative !important;
	max-width:1300px !important;
	height:100% !important; 
}

.center-text { text-align:center; margin:0 auto !important; }
.center-element { margin:0 auto !important; text-align:center; position:relative;  }

img { outline:none !important; }

main .row  img, footer .row img {
	    /*width:100%;*/
		max-width: 100% !important;
		height: auto; 
}

hr.ce-div {
	margin-top: 60px !important;
	margin-bottom: 60px !important;
	border-top: 1px solid #9E9E9E !important;
}

.empty hr {
	border-top:none !important;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
	height:auto;
	overflow:hidden; 
}

.prel {
	position:relative;
}

.video {
	max-width:680px !important;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.responsive-iframe {
    position: relative;
    padding-bottom: 160%;
    height: 0;
}
.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	border:0px !important; 
}

.frame-ruler-after::after {
	content: '';
	display: block;
	border-bottom: none !important;
	margin-top: 1.5em !important;
}




/* Magnific Popup */
.mfp-zoom-out-cur {
	padding-right:15px !important;
}

.mfp-container {
 cursor:auto;
}

button.mfp-close, button.mfp-arrow {
	cursor:pointer !important;  
	font-size:36px;
}

img.mfp-img {
 cursor:auto !important; 
/* width:1000px !important;
 height:auto; */
}


body.modal-open, .modal-open #header {
	margin-right: 0px !important;
	padding-right:17px; 
}



/* Google Maps */
.gm-style-mtc {}

.gm-style-mtc div {
  font-size:14px !important;
}

.gme-info-window {
	color:#333 !important; 
}

.gm-style .gm-style-iw {
	width:220px !important;
}

.gm-style .gm-style-iw > div {
	width:200px !important;
}



/* Owl Slider */
.owl-carousel {
	display: block !important;
}

.owl-theme .owl-controls {
	margin-top: -20px !important;
	display:none !important;
	height:0px !important; 
}

.owl-fade-out {
  -webkit-animation: fadeOut 1.0s both ease !important;
  -moz-animation: fadeOut 1.0s both ease !important;
  animation: fadeOut 1.0s both ease !important;
}
.owl-fade-in {
  -webkit-animation: fadeIn 2.0s both ease !important;
  -moz-animation: fadeIn 2.0s both ease !important;
  animation: fadeIn 2.0s both ease !important;
}

.owl-inner {
	position:absolute;
	top:50%;
    right:250px;
	width:650px;
	transform:translateY(-50%);
	
}
.owlbutton {
	margin-top:50px; 
}







/*## Bootstrap 4 Accordion   ###########################################*/
.accordion .card {
  border-radius: 0px !important;
  border: 0px !important;
  border-top: 2px solid #E8122E !important; }

.accordion h5 {
  position: relative; }

.accordion h5 .btn {
  display: block !important;
  width: 100% !important;
  text-align: left;
  white-space: normal !important;
  padding: 8px 8px 8px 0px;
  color: #000 !important;
  font-size: 20px !important; }

.accordion h5 .btn .fa {
  position: absolute;
  right: 12px;
  top: 15%;
  transform: rotate(0d);
  transition: .3s;
  color: #E8122E;
  font-size: 1.6em; }

.rotate {
  transform: rotate(-180deg);
  transition: .3s; }

.accordion .card-header {
  padding: 5px 0px;
  margin-bottom: 0;
  background-color: transparent !important;
  border-bottom: 0px !important; }

.accordion .card-header:first-child {
  border-radius: 0px !important; }

.accordion .card-body {
  padding: 12px 25px 12px 0px !important; }

.accordion .card-body header {
  display: none; }

.accordion .card .collapse {
  border: 0px !important; }

.accordion .card-header h5,
.accordion .card-header h5 button,
.accordion .card-header:hover h5,
.accordion .card-header:hover h5 button {
  text-decoration: none !important; }

.accordion button.collapsed .fa {
  color: #000; }

.accordion .card:last-child {
  border-bottom: 2px solid #E8122E !important; }


/*## Accordion end ################################################*/




/* TYPO 3 SETTING */ 
/* siehe Sass t3.scss   */
	





/*******************************************************************************/
/* ANTIQUE BROWSER FIX */  
/*******************************************************************************/

/* IE 9 + IE 10 + 11 */
@media screen and (min-width:0\0) { 
main .row  img {
	/*	width:100% !important;
		height:auto; */
	}
}

div.pf-icons img {width: auto !important;}






/*******************************************************************************/
/* INHALTSSEITEN   */
/******************************************************************************/


/* Home Arrow Down */
#downarrow { display:none; }
.home #downarrow {  display:block !important; }

#downarrow a {
  position: fixed;
  bottom: 75px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font : normal 400 20px/1 'Barlow', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
#downarrow a:hover {
  opacity: .5;
}

#downarrow a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}
#downarrow a span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
#downarrow a span::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: '';
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.1);
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: sdb03 3s infinite;
  animation: sdb03 3s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes sdb03 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255,255,255,.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb03 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255,255,255,.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}





/* Kundenbereich FE Login */
.tx-felogin-pi1 h3 {
	font-size: 30px;
}

.tx-felogin-pi1 div {
	/*margin-bottom:12px !important; */
}

.tx-felogin-pi1 fieldset legend {
	display:none;
}

.tx-felogin-pi1 fieldset label {
	width:140px; 
}

.tx-felogin-pi1 input[type="submit"] {
	margin-top:10px;
	margin-left:145px; 
		background-color:transparent !important;
	color:#E8122E !important; 
	display: inline-block;
	padding: 8px 16px;
	margin-bottom: 0;
    line-height: 100%;
	text-align: center;
	text-transform:uppercase;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 2px solid #E8122E !important;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	text-decoration:none !important;
	transition: all 0.2s ease;
	font-weight:500;
	-moz-border-radius: 0em !important;
	-webkit-border-radius: 0em!important;
	border-radius: 0rem;
	box-sizing: border-box !important;
}
.tx-felogin-pi1 input[type="submit"]:hover {
	border: 2px solid #E8122E !important;
	color:#fff !important; 
	background-color:#E8122E !important;
}
	
.btn {
/*	border: none !important;
	font-size:18px !important;
	-moz-border-radius: 0x !important;
	-webkit-border-radius: 0px !important;
	border-radius: 0px !important;*/
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
	background-color:#E8122E !important;
}





/*Bei Türen und Boden oben Bild Bodenstudio*/

#bodenstudiooben .ce-gallery .ce-column {

    margin-right: 0px !important;
    margin-bottom: 20px !important;

}