/*******************************************************************************/
/* M O D U L E  */
/******************************************************************************/


/*******************************************************************************/
/* GLOBAL CLASSES */  
/*******************************************************************************/

.gridcontainer:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.gridrow div[class*="col-md"] { margin-bottom:30px; }
.gridrow div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
	margin-bottom: 0px !important;
}

.gridrow  .ce-gallery .ce-column { 
	margin-right:20px !important; 
	margin-bottom:0px !important; 
}

.gridrow .ce-gallery[data-ce-columns="1"] .ce-column { 
	margin-right:0px !important;
}



/*******************************************************************************/
/* MEDIA QUERIES GLOBAL CLASSES*/  
/*******************************************************************************/

@media screen and (max-width: 767px) {
	.gridrow div[class*="col-md-2"] {  width:25% !important; float:left !important; }
	.gridrow div[class*="col-md-3"] {  width:33.333% !important; float:left !important; }
	.gridrow div[class*="col-md-4"] {  width:50% !important; float:left !important; }
	.gridrow div[class*="col-md-6"] {  width:50% !important; float:left !important; }
	.gridrow h2 {font-size:16px !important;}
}

@media screen and (max-width: 680px) {
	.gridrow.row {
		margin-right: -7.5px;
		margin-left: -7.5px;
	}
		
	.gridrow div[class*="col-md"] {  
		width:50% !important; 
		float:left !important;
		padding-right: 7.5px;
		padding-left: 7.5px;
	}
}

@media screen and (max-width: 480px) {

	.gridrow div[class*="col-md"] {  
		width:100% !important; 
		float:left !important;
		padding-right: 7.5px;
		padding-left: 7.5px;
		margin-bottom:15px;
	}
	
	.gridrow div[class*="col-md-3"] {  width:50% !important; float:left !important; }
	.gridrow div[class*="col-md-2"] {  width:33.33333% !important; float:left !important; }
}



/*******************************************************************************/
/* ANTIQUE BROWSER FIX */  
/*******************************************************************************/

/* IE 9 + IE 10 + 11 */
@media screen and (min-width:0\0) { 
	.modul img {
		max-width: none;
		width: 100% !important;
		-ms-transition:none !important;
		transition:none !important;
		-ms-transform:none !important;
		transform:none !important;
	}
	
	.mdoul .csc-textpic-imagewrap:hover img {
		-ms-transition:none !important;
		transition:none !important;
		-ms-transform:none !important;
		transform:none !important;
	}
	
	
}



/******************************************************************************/
/** TEXT & BILD COMBO  													    **/
/****************************************************************************/
.tbcombo .row {
	/*margin-bottom:80px;  */
}

.tbcombo .row  [class*="col-sm"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px; 
}

.tbcombo .row:last-child {
	margin-bottom:0px; 
}

.tbcombo  .ce-gallery .ce-column img {
	max-width: 100% !important;
	height: auto;
	width: 100% !important;
}




@media screen and (max-width: 767px) {
	.tbcombo .row {
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 480px) {
	.tbcombo .row .ce-gallery .ce-row .ce-column:nth-child(2) {
		display:none; 
	}
}


/******************************************************************************/
/** MODUL BILDCOMBO          										        **/
/****************************************************************************/
.bildcombo .col-lg-8 img {
	width: 101.6%;
	height: auto;
	max-width: 101.6% !important;
}

.bildcombo .col-lg-4 > div figure {
	margin-bottom: 30px !important;
}



/******************************************************************************/
/** MODUL TEAM         												        **/
/****************************************************************************/

.team h4 {
	margin-top:5px !important; 
	font-weight:700;
	font-size:18px;
}

.team p {
	margin-bottom:0.7rem;
}



@media screen and (max-width: 992px) { 	
	.team h4 {
		font-size:17px;
	}
}




/******************************************************************************/
/** MODUL LEISTUNGEN     							    			        **/
/****************************************************************************/
.leistungen {
	margin-bottom:30px; 
}

.leistungen a {
	display:block;
	width:100%;
	height:100%;
	position:relative;
}

.leistungen .ce-bodytext {
	position:absolute;
	bottom:0px;
	left:0;
	z-index:10;
	width:100%;
	height:20%;
	background-color:transparent;
	transition: all .35s ease-out;
}

.leistungen .ce-above .ce-gallery,
.leistungen .ce-gallery .ce-column  {
	 margin-bottom: 0px !important; 
	 margin-right: 0px !important;
}

.leistungen .ce-bodytext h2 {
	font-size:56px;
	font-weight:700;
	color:#fff;
	letter-spacing:1px; 
	text-transform: uppercase;
	text-align:center;
	text-shadow: 1px 1px 1px rgb(88, 88, 88);
}

.leistungen .ce-bodytext p {
	font-size:21px; 
	color:#fff;
	margin-bottom:0px !important; 
	text-align:center;
}

.leistungen a:hover .ce-bodytext {
	height:100%;
	padding-top:24%; 
}

.leistungen a.panel-yellow:hover .ce-bodytext {
	background-color: rgba(245, 229, 19, 0.85);
}

.leistungen a.panel-green:hover .ce-bodytext {
	background-color: rgba(32, 104, 61,0.85);
}




/******************************************************************************/
/** PHOTSWIPE GALLERY    							    			        **/
/****************************************************************************/

.pswp__bg {
	background: #000;
	opacity: 0.90 !important;
}

.pswp__ui--fit .pswp__caption, .pswp__ui--fit .pswp__top-bar {
	background-color:transparent !important; 
}

.pswp__container { 
	transition: transform 0.35s ease-in-out; 
}

.gallery .ce-row,
.gallery .ce-row .ce-column {
	display:none !important;
}

.pswp__caption__center .gcamera {
	display:none; 
}

.gallery .ce-row:first-child,
.gallery .ce-row:first-child .ce-column:first-child {
	display:block !important;
}

.pswp__button.pswp__element--disabled {
	display: block !important;
}
.pswp--touch:not(.pswp--preventswipe) .pswp__button--arrow--left, 
.pswp--touch:not(.pswp--preventswipe) .pswp__button--arrow--right {
	visibility: visible;
}

.gallery figure.image {
	position:relative;
}

.gallery .overlay {
	width: 100%; 
	height: 100%;  
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	text-align:center; 
	position: absolute; top: 0; left: 0; 
	-webkit-transition: all 500ms ease-in-out; 
	-moz-transition: all 500ms ease-in-out; 
	-ms-transition: all 500ms ease-in-out; 
	-o-transition: all 500ms ease-in-out; 
	transition: all 500ms ease-in-out;
	opacity:0;
	cursor:pointer; 
}

.gcamera {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:8;
  -webkit-transition: all 500ms ease-in-out; 
  -moz-transition: all 500ms ease-in-out; 
  -ms-transition: all 500ms ease-in-out; 
  -o-transition: all 500ms ease-in-out; 
  transition: all 500ms ease-in-out;
}

.fa-camera {
  color:#fff !important; 
  font-size:2.5em !important;
}

.gallery .overlay:hover { opacity:1; }
/* .gallery .overlay:hover .gcamera {  opacity:1;  } */

.gallery .ce-gallery figure {
	margin-bottom:20px !important; 
}
