/*******************************************************************************/
/* BASIS LAYOUT   */
/******************************************************************************/

html {
/*overflow-x:hidden;*/
}

html, body {
	height: 100.1%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	background-color:#000 !important;
}

header, nav, section, article, aside, footer {
  display: block;
}

#page {
	margin-right:20em;
	width:calc(100% - 20em);
}

#mobile-header {
	display:none; 
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	color: white;
	height: 64px;
	overflow: auto;
	background-color:#ffffff; 
	z-index:999;
	border-bottom: solid #999 1px;
}

#wrap-header {
    background: #000;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    width: 20em;
    right: 0;
	padding-right:25px; 
}

.tx-bwrk-onepage-menu.sticky {
  left:initial !important;
  position: relative !important;
  top: initial !important;
  width: 100%;
  z-index: 2 ;
}

#logo {
  z-index:300 !important;
  position: fixed;
  right:25px;
  top: 25px;
  height:480px;
  width:auto; 
}

#logo a {
  display:block;
  width:100%;
  height:100%;
}

#logo img {
   width:auto; 
  height:100%;
}

#mobile-logo {
	display:none; 
}

#company {
	position: absolute;
	right:25px;
	top: 50%;
	transform: translateY(-50%);
}

#company img {
	height: 54px; 
	width: auto; 
	margin-top: 3px;
}

.section-content {
	padding-top:70px; 
	padding-bottom:70px;
	position:relative;
}

#section-id-8, #section-id-47  {
	width:100%;
	height:100%;
	background-color:#000; 
}

#section-id-8 .section-content,  #section-id-47 .section-content {
	width:100%;
	height:100%;
	padding:0px !important; 
}

.topbild {
	 background-image: url("/fileadmin/user_upload/Dokumente/Bilder/Musterbilder/headerbild_peterhuber_1800px.jpg");
	background-repeat:no-repeat;
	background-size:contain;   
}

.addgrid {
	margin-top:30px; 
	padding-bottom:40px; 
}

.section-state2 .section-content {
	padding-top:0px !important;
}

.section-state3  {
	/* display:none;  */
	/*background-color: #E8E8E8;*/
}

.hidden-content {
  display: none;
}

.zitat {
	position:absolute;
	right:0;
	top:44%;
	margin-right:0%; 
	max-width:500px;
	height:180px; 
}

#section-id-22  {
/*  background-color:#272727 !important; */
} 

#section-id-22 .section-content, #section-id-41 .section-content {
	padding-top:150px; 
	padding-bottom:150px;
	position:relative;
}


#language, #mobile-language {
	position:absolute;
	top:15px;
	left:15px;
	width:auto;
	height:18px;
	color:#fff; 
	z-index:250;
}

#language span, #mobile-language span {
	width:30px; 
	display:inline-block;
	text-align:center;
}

#language span.divider, #mobile-language span.divider {
	width: 20px;
	height: 25px;
	padding-top: 4px;
	display: inline-block;
	overflow: hidden;
}




/* Fuzsszeile */
#footer {
	position:fixed;
	bottom:12px;
	right:25px; 
	text-align:right;
	width:95%; 
	max-width:250px; 
}


#phone { display:none; }

.footer-openings {
	position:absolute;
	left:0;
	bottom:0;
}

a.backtotop {
	background-color: #EDECEC; 
	border-radius: 200px 200px 200px 200px;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
	color: #FFFFFF;
	display: none;
	height: 40px;
	width: 40px;
	padding: 5px;
	padding-top: 2px;
	position: fixed;
	right: 20px;
	bottom: 95px;
	z-index:100;
}

a.backtotop:hover {
    background-color: #E1DFDF;
}

a.backtotop img {
	padding:0px 1px 0px 0px !important;
	margin-top:5px !important;
	height: auto;
	max-width: 100%;
	width: 100%;
}

#nav-adress {
	position:absolute;
	bottom:5px;
	right:0px;
	/*padding-right:30px;*/ 
	width:100%;
	height:auto; 
}

#nav-adress p {
	color:#fff !important;
	text-align:center;
	font-size:18px !important; 
}


@media screen and (max-height: 580px) { 
	#nav-adress { display: none;}	
}


#meguralink {
width: 100%;
height:auto;
text-align: left;
margin-top:50px; 
}



/* Megura Swissness Logo */
#megura-swissness {
width:100px;
height:100px;
position:absolute;
bottom: 110px;
right: 22%;
}

.ms-svg-inner {
	fill:#111;
}




/* Helper classes  */
.container {
	position:relative !important;
	max-width:1010px !important;
	padding-right: 15px;
	padding-left: 15px;
}

.center-text { text-align:center; margin-bottom:25px;}
.center-element { margin:0 auto; margin-bottom:25px; }


#page .row img {
	height: auto;
    max-width: 100% !important;
}


/* Magnific Popup */
.mfp-bg {
	opacity: 0.9 !important;
}

.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; 
}

.white-popup-block {
	max-width: 1000px !important;
}

.mfp-close {
	position: fixed !important;
	right: 30px !important;
	top: 30px !important;
	font-size: 54px !important;
    opacity: 0.75 !important;
	z-index:99999; 
}


.mfp-content h1,
.mfp-content h2,
.mfp-content h3,
.mfp-content p {
	color:#000 !important; 
}





/* google maps */
#page .row .js-map img {
	height: initial !important;
    max-width: initial !important; 
}


/* Tabelle */
.linktable {
	max-width:680px;
	width:100%;
}

.linktable th:first-child, .linktable td:first-child {
	width:265px; 
}



/* Bildergalerie */
.gallery  .csc-textpic-imagerow {
	display:none;
}

.gallery .csc-textpic-imagerow:first-child {
	display:block;
}








/*******************************************************************************/
/* NAVIGTION   Desktop */  
/*******************************************************************************/

#dmenu { 
	position:fixed;
	float:right; 
	padding-left:0px !important; 
	max-width:285px;  
	background-color:none; 
	z-index:500; 
	height:auto;
	bottom:25px;
	right:25px; 
}

#dmenu li {
	background:transparent;
	position:relative;
	display:block;
	white-space:nowrap;
	margin-bottom:18px; 
/*	border-bottom:1px solid #333; */
}

#dmenu li:first-child {
	/*border-top:1px solid #333;*/
}

#dmenu a {
	background:transparent;
	line-height:38px;
	padding:0px 0px 0px 0px;
	text-decoration:none !important;
	display:block;
	height:auto;
	width:auto;
	font-family: azo-sans-web,sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size:40px; 
	/*letter-spacing:.05px; */
	color:#fff;
	text-align:right;
	text-transform:normal;
	line-height:100%;
}

#dmenu a:hover { /*color:#CC9900 !important;*/ font-weight: 600; }
#dmenu a.active { /*color:#CC9900 !important; */ font-weight: 600; }


#dmenu li.act > a { /*color:#CC9900 !important;*/ font-weight: 600; }
#dmenu li.act li a { /*color:#CC9900;*/ font-weight: 600; } 


/*fertig nav*/

/* ############################################################################################*/





