@charset "utf-8";
body {
	font: 100%/1.6 'Oxygen', sans-serif;
	background-color: #FFF;
	margin: 0;
	padding: 0;
	color: #1d1d1b;
}
*, ::before, ::after { 
	box-sizing: border-box; 
  	margin: 0;
	padding: 0;
}
html, body {
	height: 100%;
}
body.fixedPosition .wrapper {
	position: fixed;
	overflow: hidden;
}
.ccm-page {
	position: relative;
}

/* ~~ Element-/Tag-Selektoren ~~ */
p, ul, ol, dl, h1 {
	margin-bottom: 25px;	
}
li {
	margin-left: 18px;
}
h1 {
    line-height: 1.2;
}
h2 {
    color: #53af31;	
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 25px;
    max-width: none;
	text-transform: uppercase;

}
h2::before, h2::after {
    height: 1px;
    content: '';
    display: block;
    width: 100%;
    border-top: 2px solid #53af31;
}
h2::before {
    margin-right: 15px;
}
h2::after {
    margin-left: 15px;
}
h3 {
    margin-bottom: 15px;
}
img { 
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
.contentbox img { 
	margin-bottom: 25px;	
}
.contentbox p + img { 
	margin: 25px 0 50px;	
}
a img { 
	border: none;
}
a {
	color: #53af31;
	text-decoration: underline;
}
a:hover, a:active, a:focus { 
	text-decoration: none;
}

/* ~~ Layout ~~ */
.container{
	width: 100%;
	clear: both;
	hyphens: auto;
}
.box {
	width: 90%;
	max-width: 1170px;
	margin: 0 auto;
}
.header, .cont {
	background-color: #FFF;
	padding: 10px 0;
}
.contentbox, .footer {
	clear: both;
}
.desktop {
	display: none;
}
.cont {
	padding-bottom: 30px;
}

/* ~~ Header ~~ */
.wrapper .header {
	position: relative;
}
.wrapper .header {
	transition: 0.3s;
}
.wrapper .logo {
	max-width: 300px;
	height: auto;
	background-image: url(img/logo_korporation_entlebuch.png);
	background-size: contain;
	background-repeat: no-repeat;
}
.wrapper .logo img {
	max-width: 300px;
	height: auto;
}
.logo {
	float: left;
}

/* ~~ Navigation ~~ */
.navigation {
	position: absolute;
	top: 0;
	right: 20px;
	padding-top: 30px;
	z-index: 999;
}

/* ~~ Content ~~ */
.headerimage {
	margin-bottom: 40px;
}

/* ~~ Slider ~~ */
.rslides_nav {
    display: none;
}

/* ~~ Seitenliste ~~ */
.fltlft div.ccm-block-page-list-page-entry-horizontal, .fltrt div.ccm-block-page-list-page-entry-horizontal {
    display: block !important;
}
div.ccm-block-page-list-page-entry-horizontal div.ccm-block-page-list-page-entry-thumbnail {
    display: block !important;
    width: 100% !important;
}
div.ccm-block-page-list-page-entry-horizontal div.ccm-block-page-list-page-entry-thumbnail img {
    width: 100% !important;
}
div.ccm-block-page-list-page-entry-horizontal div.ccm-block-page-list-page-entry-text {
    display: block !important;
    padding-left: 0 !important;
}
.ccm-block-page-list-title {
	font-size: 120%;
}
/* ~~ Grand Gallery ~~ */
.gg-container img {
    margin: 0;
}

/* Team */
.teambox {
	position: relative;
    display: block; 
	overflow: hidden;
	padding-bottom: 30px;
}
.bildbox {
    display: block;
}
.bildbox img {
    max-width: 450px;
}
.textbox {
    display: block;
}
.textbox h3, .textbox p, .textbox ul, .textbox ol {
    margin-bottom: 10px;
}

/* ~~ Footer ~~ */
.footer {
	background-color: #53af31;
	color: #FFF;
	padding: 30px 0 1px;
}
.footer a {
	color:#FFF;
}

/* ~~ Slider ~~ */
.ccm-image-slider-container  {
	position: relative;
	height: 60vw !important;
	max-height: 600px;
	overflow: hidden;
	z-index: 1;
	color: #FFF;
	background: #0C0;
}
.ccm-image-slider-container li  {
	margin: 0;
}
.ccm-image-slider {
	height: 60vw !important;
	max-height: 600px;	
	overflow: hidden;	
}
.ccm-image-slider-container ul.rslides li {
	height: 60vw !important;
	max-height: 600px;
}
.ccm-image-slider-container ul.rslides li img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  object-fit: cover;
  width:100%;
	height:100%
}
.ccm-image-slider-text {
	display: none;
}
.rslides_tabs {
    position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	z-index: 2;
	padding: 0 !important;
}
.rslides_tabs li a {
    background: #FFF !important;
}
.rslides_tabs li.rslides_here a {
    background: #a8a7a7 !important;
}

/* ~~ Verschiedene float/clear-Klassen ~~ */
.clearfloat { 
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

@media (min-width: 800px) {
img.rechts {
	float: right;
	width: 50%;
	margin-left: 30px;
}
img.links {
	float: left;
	width: 50%;
	margin-right: 30px;
}
/* ~~ slider ~~ */
.rslides_nav {
	display: block;
    height: 40px !important;
    width: 40px !important;
	background-position: left -10px !important;
	border-radius: 20px;
	margin: -20px 0 0 20px !important;
}
.rslides_nav.next {
	background-position: right -10px !important;	
	margin: -20px 20px 0 0 !important;	
}
/* Team */
.teambox {
    display: table; 
}
.bildbox {
    display: table-cell;
	vertical-align: top;
	width: 350px;
	padding-right: 50px;
}
.textbox {
    display: table-cell;
	vertical-align: top;
}
/* ~~ Verschiedene float/clear-Klassen ~~ */
.fltrt { 
	float: right;
	width: 45%;
}
.fltlft { 
	float: left;
	width: 45%;
}
}
@media (min-width: 1280px) {
.desktop {
	display: block;
}
.mobile {
	display: none;
}	
.navigation {
	position: relative;
	float: right;
}
	
/* ~~ Header ~~ */
.wrapper .header {
	border-bottom: #a8a7a7 1px solid;
	position: fixed;
	height: 130px;
	transition: 0.3s;
	z-index: 99;
}
.wrapper.scrolled .header {
	height: 68px;
	transition: 0.3s;	
}
.wrapper .logo {
	width: 300px;
	height: 101px;
	background-image: url(img/logo_korporation_entlebuch.png);
	background-size: contain;
	background-repeat: no-repeat;
	transition: 0.3s;
}
.wrapper .logo img {
	width: 300px;
	height: 101px;
}
.wrapper.scrolled .logo {
	width: 250px;
	height: 50px;	
	background-image: url(img/schriftzug_korporation_entlebuch.png);
	transition: 0.3s;
}
.wrapper.scrolled .logo img {
	width: 250px;
	height: 50px;
}
/* ~~ Navigation ~~ */
.navigation {
	padding: 0;
}	
.wrapper .navigation{
	margin-top: 10px;
	transition: 0.3s;	
}
.wrapper.scrolled .navigation {
	margin-top: -20px;
	transition: 0.3s;	
}


/* ~~ Content ~~ */
.wrapper .cont {
	padding-top: 130px;
	transition: 0.3s;	
}
.wrapper.scrolled .cont {
	padding-top: 68px;
	transition: 0.3s;	
}
}
