/*************************************************************/
/*   Design:  METZGEREI-LEIBACHER.CH		     	 	 	 */
/*   File:    screen.css					                 */
/*-----------------------------------------------------------*/
/*   Autor:   Thomas Dürig, www.nuun.ch 	                 */
/*   Datum:   Mai 2018						                 */
/*   Site: 	  www.metzgerei-leibacher.ch  					 */
/*************************************************************/
/*  LAYOUT													 */
/*************************************************************/

/*FARBEN*/
/*	
    Grau hell:      #F5F5F5
    Grau mittel:    #ECECEC
    Grau dunkel:    #1D1D1B
    Color 1:        #770D68
    Color 2:        #521059
*/

/*  GLOBAL													 */
/*************************************************************/

html, body {position: relative; height: 100%; width:100%; font: 62.5% "DINRegular", Arial, Verdana, Helvetica, sans-serif; letter-spacing:0em;}
body {font-size:18px; font-size:1.8rem; color: #747474; background-color: #fff;}

#wrapper {padding-top: 200px;}

.invisible {display: none !important;}

.schmal50 {width: 50% !important; margin: 0 auto;}
.schmal66 {width: 66% !important; margin: 0 auto;}
 
/*Backtotop*/
#backtotop {width: 70px; position: fixed; bottom: 45px; right: 20px; cursor: pointer; opacity: 0; z-index: 5000;}
#backtotop img {width: 100%;}

a {color: #770D68; text-decoration: none; transition: color 0.3s ease;}
a:hover {color: #521059;}

#slider a:link, #slider a {color: #fff; text-decoration:underline;}
#slider a:hover {color: #f5a925;}

.ce_rsce_divider .divider {display: block; width: 100%; height: 30px; padding: 30px 0; background: url(../graphics/divider.svg) center no-repeat;}

/*  HEADER / NAVIGATION									     */
/*************************************************************/

#header {position: fixed; background: #fff; width: 100%; z-index: 5000; top: 0; transition: top 0.3s ease; -webkit-box-shadow: 0px 10px 20px -1px rgba(0,0,0,0.2); -moz-box-shadow: 0px 10px 20px -1px rgba(0,0,0,0.2); box-shadow: 0px 10px 20px -1px rgba(0,0,0,0.2);}
#header.up {top: -41px;}
#header.up .headerbot {height: 90px;}
#header.up .headerbot .inside .ce_image {margin-top: 0px; width: 85px;}
#header.up .headerbot .inside .navigation {margin-top: 43px;}
#header.up .headerbot .inside .navigation ul li {height: 47px;}
#header.up .headerbot .inside .navigation ul li a, #header .headerbot .inside .navigation ul li strong {padding: 15px 0 29px 0;}
#header.up .headerbot .inside .navigation ul li ul.level_2 {top: 57px;}
#header.up .headerbot .inside .navigation ul li:hover ul.level_2 {top: 47px;}
#header .headertop {width: 100%; background: #ECECEC; display: inline-block; padding: 9px 0 9px 0}
#header .headertop .inside {display: block; width: 1170px; margin: 0 auto;}
#header .headertop .inside .homelink {display: inline-block; float: left;}
#header .headertop .inside .headermail {display: inline-block; float: right; margin-left: 30px;}
#header .headertop .inside .headertel {display: inline-block; float: right;}
#header .headertop .inside .image_container {float: left;}
#header .headertop .inside p {color: #770D68; float: left; padding-top: 5px; margin-left: 10px; margin-bottom: 0; font-size: 1.5rem;}

#header .headerbot {height: 155px; transition:height 0.3s ease;}
#header .headerbot .inside {display: block; width: 1170px; margin: 0 auto;}
#header .headerbot .inside .ce_image {width: 190px; margin-top: -20px; display: inline-block; transition: all 0.3s ease;}

#header .headerbot .inside .navigation {float: right; margin-top: 80px; display: inline-block; position: relative; transition: margin-top 0.3s ease;}
#header .headerbot .inside .navigation ul {margin-bottom: 0; padding-right: 150px;}
#header .headerbot .inside .navigation ul li {display: inline-block; margin-left: 25px; height: 75px;}
#header .headerbot .inside .navigation ul li a,
#header .headerbot .inside .navigation ul li strong {font-size: 1.8rem; padding: 15px 0 55px 0; font-weight: bold; color: #770D68; text-decoration: none; border-top: none; transition: color 0.3s ease, border-top 0.3s ease;}
#header .headerbot .inside .navigation ul li a:hover,
#header .headerbot .inside .navigation ul li a.active,
#header .headerbot .inside .navigation ul li a.trail {color: #1D1D1B; border-top: 1px solid #ECECEC;}
 
#header .headerbot .inside .navigation ul li ul.level_2 {visibility: hidden; opacity: 0; position: absolute; min-width: 200px; top: 85px; padding: 20px 0; border-top: 1px solid #770D68; background: #ffffff; z-index: 1000; transition: visibility 0.3s ease, opacity 0.3s ease, top 0.3s ease;}
#header .headerbot .inside .navigation ul li:hover ul.level_2 {visibility: visible; opacity: 1; position: absolute; min-width: 200px; top: 75px; padding: 20px 0; border-top: 1px solid #770D68; background: #ffffff; z-index: 1000; -webkit-box-shadow: 0px 10px 20px -1px rgba(0,0,0,0.2); -moz-box-shadow: 0px 10px 20px -1px rgba(0,0,0,0.2); box-shadow: 0px 10px 20px -1px rgba(0,0,0,0.2);}
#header .headerbot .inside .navigation ul li ul.level_2 li {display: block; width: 80%; margin-left: 0; height: auto; padding: 7px 10%; margin-bottom: 5px; background:#fff; transition: background 0.3s ease;}
#header .headerbot .inside .navigation ul li ul.level_2 li.active,
#header .headerbot .inside .navigation ul li ul.level_2 li:hover {background: #F5F5F5; border-top: none;}
#header .headerbot .inside .navigation ul li ul.level_2 li a,
#header .headerbot .inside .navigation ul li ul.level_2 li a.active {font-size: 1.8rem; width: 100%; display: block; border-top: none !important; text-transform: none; padding: 0; font-weight: normal;}

#header .headerbot .inside .navigation ul li.dodihei a span {display: none;}
#header .headerbot .inside .navigation ul li.dodihei a {display: block; border:none;}
#header .headerbot .inside .navigation ul li.dodihei {position: absolute; right: 0; top: -60px; display: block; width: 120px; height: 110px; background: url(../graphics/Firmenlogos_Dodihei-1.png) center no-repeat; background-size: contain; transition: height 0.3s ease, top 0.3s ease;}
#header.up .headerbot .inside .navigation ul li.dodihei {height: 60px; top: -30px;}

#header .mod_mobile_menu .mobile-menu-button {position: absolute; right: 3%; top: 72px; width: 35px; height: 35px; cursor: pointer; background: url(../graphics/btn-mobile.svg) center no-repeat; background-size: contain;}

.mobile_menu {z-index: 10000;}
.mobile_menu .inner {overflow-y: auto; background: #ECECEC; padding:20px;}

.mobile_menu .closemobilecontainer {display: block; width: 100%; height: 20px; padding-bottom: 15px; border-bottom: 1px solid #ACACAC;}
.mobile_menu .closemobile {display: block; width: 20px; height: 20px; float: right; background: url(../graphics/btn-mobile-close.svg) center no-repeat; background-size: contain;}

.mobile_menu ul.level_1 li.submenu {background: url(../graphics/menu-mobile-sub.svg) right 10px top 17px no-repeat; background-size: 14px;}
.mobile_menu ul.level_1 li {width: 100%;}
.mobile_menu ul.level_1 li a.active {display: block; color: #4a4a4a; /*width: 100%;*/ padding: 10px; border-bottom: 1px solid #ACACAC;}
.mobile_menu ul.level_1 li a {display: block; /*width: 100%;*/ padding: 10px; border-bottom: 1px solid #ACACAC;}
.mobile_menu ul.level_1 li ul.level_2 {border-bottom: 1px solid #ACACAC; margin-bottom: 0;}
.mobile_menu ul.level_1 li ul.level_2 li a.active {border-bottom: none; color: #4a4a4a; padding: 7px 20px; font-size: 1.5rem;}
.mobile_menu ul.level_1 li ul.level_2 li a {border-bottom: none; padding: 7px 20px; font-size: 1.5rem;}

/*  SLIDER                                                   */
/*************************************************************/
body.home .custom {width: 100%; height: 480px; overflow: hidden; background-color: #770D68;}
body.home .custom #slider .slick-container {max-width: 1600px;}
body.home .slick-track {height: 480px;}
body.home .slick-slide:before {content: ""; display: block; position: absolute; left: 0; top: 0; width: 40%; height: 480px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}
body.home .slick-slide:after {content: ""; display: block; position: absolute; right: -80px; top: 0; width: 10%; height: 480px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}
body.home .slick-slide .ce_text {position: absolute; width: 1170px; color: #fff; left: 0; right: 0; margin: 0 auto; top: 50px; z-index: 500;}
body.home .slick-slide .ce_text h2 {font-size: 5rem; line-height: 5.5rem; margin-bottom: 20px; color: #ffffff; text-align: left; font-weight: bold; max-width: 315px;}
body.home .slick-slide .ce_text p {font-size: 1.8rem; line-height: 2.7rem; margin-bottom: 0; max-width: 315px;}
body.home .slick-slide .ce_image {position: absolute; right: 0; top: 0; width: 66%; height: 480px; z-index: 200;}
body.home .slick-dots {position: absolute; bottom: 10px; right: 20%;}
body.home .slick-dots li {display: inline-block; width: 20px; height: 22px; transform: skewX(-15deg); background: #F5A924; margin-right: 4px; transition: background 0.3s ease; cursor: pointer;}
body.home .slick-dots li:hover,
body.home .slick-dots li.slick-active {background: #770D68;}
body.home .slick-dots li button {display: none;}

.custom {width: 100%; height: 340px; overflow: hidden; background-color: #770D68;}
.custom #slider .slick-container {max-width: 1600px; margin: 0 auto; position: relative;}
.slick-track {height: 340px;}
.slick-slide:before {content: ""; display: block; position: absolute; left: -65px; top: 0; width: 10%; height: 340px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}
.slick-slide:after {content: ""; display: block; position: absolute; right: -65px; top: 0; width: 10%; height: 340px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}
.ce_slick-slider .slick-container:before {content: ""; display: block; position: absolute; left: -65px; top: 0; width: 10%; height: 340px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}
.ce_slick-slider .slick-container:after {content: ""; display: block; position: absolute; right: -65px; top: 0; width: 10%; height: 340px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}
.ce_slick-slide-separator:before {content: ""; display: block; position: absolute; left: -65px; top: 0; width: 10%; height: 340px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}
.ce_slick-slide-separator:after {content: ""; display: block; position: absolute; right: -65px; top: 0; width: 10%; height: 340px; background-color: #770D68; transform: skewX(-15deg); z-index: 300;}

/*  INHALTSELEMENTE                                          */
/*************************************************************/
/*Article*/
#main .mod_article {padding: 30px 0;}
#main .mod_article .inside {width: 1170px; margin:0 auto;} 
#main .mod_article.grau {background: #F5F5F5;}
#main .mod_article.zitat {background: url('../graphics/background-zitat.png') center;}
#main .mod_article.zitat .inside {padding-top: 130px; background: url('../graphics/background-zitat-quote.svg') top 40px center no-repeat;}
#main .mod_article.zitat p {font-size: 2.4rem; line-height: 3.5rem;}
#main .mod_article.zitat h4 {font-size: 1.6rem; text-align: left; padding-left: 50px; background: url('../graphics/background-zitat-nameline.svg') left center no-repeat;}

/*Headlines*/
h1 {font-size: 5.3rem; line-height: 5.8rem; font-weight: bold; color: #770D68; text-align: center; margin: 10px 0 10px 0;}
h2 {font-size: 4rem; line-height: 4.5rem; color: #1D1D1B; text-align: center;}
h3 {font-size: 2.7rem; line-height: 3.2rem; font-weight: bold; color: #1D1D1B; text-align: center;}
h4 {font-size: 1.8rem; line-height: 2.3rem; font-weight: bold; color: #1D1D1B; text-align: center;}
h5 {font-size: 1.8rem; line-height: 2.3rem; font-weight: bold; color: #770D68; text-align: center;}

/*Text*/
.image_container {position: relative; line-height: 0;}
.image_container img {max-width: 100%; height: auto;}

#container .ce_text {margin-bottom: 30px;}
#container .ce_text .image_container.float_left {width: 31.3%; float: left; margin-right: 3%;}
#container .ce_text .image_container.float_right {width: 31.3%; float: right; margin-left: 3%;}
#container .ce_text p {font-size: 1.8rem; line-height: 2.7rem;}
#main .ce_text .tablescroller {margin-bottom:10px;}
#main .ce_table .tablescroller {margin-bottom:10px;}

hr {border: 0; height: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.3);}

.image_container .imghovermaske {opacity: 0; position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1000; background: rgba(119,13,104,0.8) url(../graphics/icon-imghover.svg) center no-repeat; transition:opacity 0.3s ease;}
.image_container .imghovermaske:hover {opacity: 1;}

#header .image_container .imghovermaske {display: none !important;}
#footer .image_container .imghovermaske {display: none !important;}

/*Portrait*/
#main .ce_rsce_team {display: flex; flex-wrap: wrap; justify-content: center;}

.portrait {border: 1px solid #ECECEC; display: inline-block; text-align: center; float: left; box-sizing: border-box; width: 22.75%; margin-right: 3%; margin-bottom: 20px; min-height: 455px;}
.portrait:nth-of-type(4n) {margin-right: 0;}
.portrait:nth-of-type(4n+1) {clear: left;}
.portrait:last-of-type {margin-right: 0;}
.portrait img {width: 100%; height: auto;}
#container .portrait p {display: block; width: 96%; padding: 0 2%;}
#container .portrait p:last-of-type {line-height: 2.3rem; min-height: 46px;}
#container .portrait h4 {min-height: 46px; padding: 0 10px;}
#container .portrait .member-details a {display: inline-block; width: 30px; height: 30px; margin:0 3px 20px 3px;}
#container .portrait .member-details a.mail {background:url(../graphics/icon-mail.svg) center no-repeat;}
#container .portrait .member-details a.facebook {background:url(../graphics/icon-facebook.svg) center no-repeat;}
#container .portrait .member-details a.instagram {background:url(../graphics/icon-instagram.svg) center no-repeat;}
#container .portrait .member-details p.teamphone a {width: 100%; display: block;}

/*Accodrion*/
#container .ce_accordion {margin-bottom: 15px;}
#container .ce_accordion .toggler {color: #770D68; cursor: pointer; font-size: 2.7rem; /*width: 96%;*/ padding: 20px 65px 20px 2%; background: #ECECEC url('../graphics/icon-accordion-toggler.svg') right 2% center no-repeat; transition: color 0.3s ease, background 0.3s ease;}
#container .ce_accordion .toggler:hover {color: #fff; background: #770D68 url('../graphics/icon-accordion-toggler-open.svg') right 2% center no-repeat;}
#container .ce_accordion .toggler.active:hover,
#container .ce_accordion .toggler.active {color: #fff; background: #770D68 url('../graphics/icon-accordion-toggler-open.svg') right 2% center no-repeat;}
#container .ce_accordion .toggler:focus {outline: none;}
#container .ce_accordion .accordion {padding:20px;} 

/*Tabelle*/
.ce_table table {width: 100%;}
.ce_table table tr th {padding: 15px 5px 8px 5px; font-size: 1.8rem; font-weight: bold; color: #1D1D1B;}
.ce_table table tr td {padding: 15px 5px; font-size: 1.8rem;}
.ce_table table tbody tr {border-top: 1px solid #ECECEC;}
.ce_table table tbody tr.row_last {border-bottom: 1px solid #ECECEC;}

/*Hyperlink*/
.ce_hyperlink {display: block; text-align: center; margin-bottom:50px;}
.ce_hyperlink a {color: #fff; display: inline-block; font-size: 1.6rem; transform: skewX(-15deg); width: auto; padding: 15px 30px; text-decoration: none; background: #770D68; transition: background 0.3s ease;}
.ce_hyperlink a:hover {background: #521059;}

/*Gallery*/
#container #main .ce_gallery ul li {width: 22.75%; margin-right: 3%; margin-bottom: 30px; display: inline-block; float: left; line-height: 1;}
#container #main .ce_gallery ul li.col_last {margin-right: 0;}
#container #main .ce_gallery ul li figure {width: 100%; overflow: hidden; line-height: 0;}
#container #main .ce_gallery ul li figure img {width: 100%; height: auto; -webkit-transition: all .5s ease; transition: all .5s ease;}
#container #main .ce_gallery ul li figure:hover img {-webkit-transform: scale(1.1); transform: scale(1.1);}
#colorbox #cboxTitle {display: none !important;}
#colorbox #cboxCurrent {font-size: 1.5rem;}

.ce_gallery .pagination {clear: both; display: block; width: 100%;}
.ce_gallery .pagination p {display: inline-block; float: right;}
.ce_gallery .pagination ul {display: inline-block; float: left;}
#container #main .ce_gallery .pagination ul li {width: auto; margin-right: 5px; margin-bottom: 10px;}
#container #main .ce_gallery .pagination ul li a,
#container #main .ce_gallery .pagination ul li span {padding:7px 0 5px 0; width: 30px; display: block; text-align: center; background: #ECECEC; color: #770D68; transition: color 0.3s ease, background 0.3s ease;}
#container #main .ce_gallery .pagination ul li a:hover,
#container #main .ce_gallery .pagination ul li span.active {background: #770D68; color: #ECECEC;}
#container #main .ce_gallery .pagination ul li.next a,
#container #main .ce_gallery .pagination ul li.last a,
#container #main .ce_gallery .pagination ul li.first a,
#container #main .ce_gallery .pagination ul li.previous a {width: auto; padding: 7px 7px 5px 7px;}

/*List*/
#main .ce_text ul {display: table; margin-bottom: 25px;}

#main .ce_text ul li {vertical-align: middle; font-size: 1.8rem; line-height: 2.7rem; list-style: none; padding-left: 15px; background: url(../graphics/icon-listbullet.svg) no-repeat top 9px left;}

#main .ce_text ol {
    counter-reset:li; /* Initiate a counter */
    margin-left:0; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}
#main .ce_text ol > li {
    position:relative; /* Create a positioning context */
    margin:0 0 0 20px; /* Give each list item a left margin to make room for the numbers */
    list-style:none; /* Disable the normal item numbering */
    font-size: 1.8rem; line-height: 2.7rem;
}
#main .ce_text ol > li:before {
    content:counter(li)"."; /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    left: -18px;
    top: 0;
    font-size: 1.8rem;
    color: #770D68;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

/*Downloads*/
.ce_download.sc.last, .ce_downloads.sc.last {padding-right: 0;}
.ce_download, .ce_downloads {position:relative; width:100%; margin:0 auto; padding:0;}
.ce_download ul, .ce_downloads ul {position:relative; float:left; width:100%; margin:0; padding:0 0 0 0;}
.ce_download ul li, .ce_downloads ul li {position:relative; width:100%; line-height:21px; padding:0 0 0 0; margin:0 0 5px 0; background: #770D68;}

.ce_download img, .ce_downloads img {position:absolute; left:10px; top:8px; z-index:400;}
body #container .ce_downloads a, body #container .ce_downloads a:link, body #container .ce_downloads a:visited, body #container .ce_download a, body #container .ce_download a:visited, body #container .ce_download a:link, body #container .enclosure a:link, body #container .enclosure a:visited {
    position:relative;
    z-index:300;
    text-decoration: none;
    font-size: 1.8rem;
    font-family: "DINRegular", Arial, Verdana, Helvetica, sans-serif;
    color: #fff;
    display:block;
    padding:10px 30px 10px 40px;
    margin:0 0 0 0;
    transition: background-color 0.5s ease; -webkit-transition: background-color 0.5s ease; 
    }   
        
body #container .ce_downloads a:hover, 
body #container .ce_downloads a:active, 
body #container .ce_download a:hover, 
body #container .ce_download a:active {background-color: #521059;}   

/*Socialmedia*/
#footer .ce_rsce_socialmedia {padding: 30px 0 25px 0; background: #F5F5F5; text-align: center;}
.ce_rsce_socialmedia a {margin:0 7px; display: inline-block; width: 50px; height: 50px; transition: transform 0.3s ease;}
.ce_rsce_socialmedia a.mail {background:url(../graphics/icon-mail.svg) center no-repeat; background-size: cover;}
.ce_rsce_socialmedia a.facebook {background:url(../graphics/icon-facebook.svg) center no-repeat; background-size: cover;}
.ce_rsce_socialmedia a.instagram {background:url(../graphics/icon-instagram.svg) center no-repeat; background-size: cover;}
.ce_rsce_socialmedia a:hover {-webkit-transform: scale(1.1); transform: scale(1.1);}

/*Form*/
#container .formbody input {-webkit-appearance:none;} 
#container .formbody button {-webkit-appearance:none;}

#container .ce_form {margin-top: 40px; width: 50%; margin-right: auto; margin-left: auto;}
#container .formbody label {width: 100%; padding-top: 10px; margin-bottom: 5px; font-size: 1.6rem; display: inline-block; float: left;}
#container .formbody input {width: 100%; padding:2% 0; font-size: 1.6rem; margin-bottom: 20px; border-left:none; border-top:none; border-right:none; background: none; border-bottom:1px solid #AAA6A6; transition:border-bottom 0.3s ease;}
#container .formbody input:focus {border-bottom: 1px solid #770D68; outline: none;}
#container .formbody textarea {width: 100%; padding:2% 0; font-size: 1.6rem; margin-bottom: 20px; border-left:none; border-top:none; border-right:none; background: none; border-bottom:1px solid #AAA6A6; transition:border-bottom 0.3s ease;}
#container .formbody textarea:focus {border-bottom: 1px solid #770D68; outline: none;}
#container .formbody .submit {color: #fff; display: inline-block; cursor: pointer; font-size: 1.6rem; transform: skewX(-15deg); text-transform: uppercase; width: auto; margin-top: 30px; padding: 15px 30px; text-decoration: none; background: #770D68; transition: background 0.3s ease;}
#container .formbody .submit:hover {background: #521059;}
#container .formbody select {width: 100%; padding:1%; font-size: 1.6rem; margin-bottom: 15px; border:none; background-color: rgba(225,225,225,0.9);}
#container .formbody fieldset {margin-bottom: 10px;}
#container .formbody fieldset legend {font-size: 1.6rem; margin-bottom: 5px;} 
#container .formbody fieldset span {width:100%; float: left;}
#container .formbody fieldset span input {float: left; width: 5%; height: 26px;}
#container .formbody fieldset span label {padding-top: 0; width: 95%;}
#container .formbody .explanation p {font-size: 1.6rem; line-height: 1.4em;}
#container .formbody .widget-captcha {margin-bottom: 40px;}
#container .formbody .widget-captcha input {margin-bottom: 5px;}
#container .formbody .widget-captcha span {width: 100%; float: left; font-size: 1.6rem;}
#container .formbody .widget-captcha label span.mandatory {width: auto; float: none;}
#container .formbody .widget-checkbox input {-webkit-appearance:checkbox;}
#container .formbody .widget-radio input {-webkit-appearance:radio;}

/*Comments*/
.ce_comments .comment_default {margin-bottom: 20px; border-bottom: 1px solid #AAA6A6;}
.ce_comments h2 {font-size: 2.5rem;}
.ce_comments p.info {color: #770D68;}

/*Form Kontakt*/ 
body.kontakt #container .rs-columns {background: #ECECEC;}
body.kontakt #container .rs-column.-large-col-2-1.-large-first {background: #F5F5F5; width: 66.666%; margin-right: 0; padding: 50px 60px; box-sizing: border-box; border-right: 1px solid #AAA6A6;}
body.kontakt #container .rs-column.-large-col-2-1.-large-last {background: #ECECEC; width: 33.333%; margin-right: 0; padding: 50px 50px; box-sizing: border-box;}
body.kontakt #container .rs-columns .ce_form {width: 100%;}
body.kontakt #container .rs-column.-large-col-2-1.-large-last h5 {text-align: left;}

/*Columns*/
#container .rs-column.-large-col-2-1 {width: 48.5%; margin-right: 3%;}
#container .rs-column.-large-col-2-1.-large-last {margin-right: 0;}
#container .rs-column.-large-col-3-1 {width: 31.3%; margin-right: 3%;}
#container .rs-column.-large-col-3-1.-large-last {margin-right: 0;}
#container .rs-column.-large-col-4-1 {width: 22.75%; margin-right: 3%; margin-top: 0;}
#container .rs-column.-large-col-4-1.-large-last {margin-right: 0;}

/*Linkboxen*/
.linkboxen {display: flex; flex-wrap: wrap; justify-content: center; width: 100%;}
.linkboxen .box {display: inline-block; float: left; margin-bottom: 25px; box-sizing: border-box; position: relative;}
.linkboxen .box img {width: 100%; height: auto;}
.linkboxen .box a {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.linkboxen .logobox .logoinside {background-size: contain !important; width: 100%; height: 100%;}
.linkboxen .box:last-of-type {margin-right: 0;}

.linkboxen .dreispaltig {width: 31.3%; margin-right: 3%;}
.linkboxen .dreispaltig:nth-of-type(3n) {margin-right: 0;}
.linkboxen .dreispaltig:nth-of-type(3n+1) {clear: left;}
.linkboxen .dreispaltig.logobox .image-container {height: 220px; padding: 10%; box-sizing: border-box; background: #ffffff; border:1px solid #ececec;}

.linkboxen .vierspaltig {width: 22.75%; margin-right: 3%;}
.linkboxen .vierspaltig:nth-of-type(4n) {margin-right: 0;}
.linkboxen .vierspaltig:nth-of-type(4n+1) {clear: left;}
.linkboxen .vierspaltig.logobox .image-container {height: 160px; padding: 10%; box-sizing: border-box; background: #ffffff; border:1px solid #ececec;}

.linkboxen .fuenfspaltig {width: 17.6%; margin-right: 3%;}
.linkboxen .fuenfspaltig:nth-of-type(5n) {margin-right: 0;}
.linkboxen .fuenfspaltig:nth-of-type(5n+1) {clear: left;}
.linkboxen .fuenfspaltig.logobox .image-container {height: 124px; padding: 10%; box-sizing: border-box; background: #ffffff; border:1px solid #ececec;}

/*YouTube*/
#container .ce_youtube {clear: both;}
#container .ce_youtube embed {width: 100%;}
#container .ce_youtube video {width: 100%;}

#container .ce_youtube .me-plugin {width: 100%;}
#container .ce_youtube .mejs-overlay {width: 100% !important;}

/*Google Map*/
.dlh_googlemap {width: 100% !important; max-width: 1170px; margin: 0 auto;}

/*  NEWS / TERMINE                                           */
/*************************************************************/
.mod_newslist {margin-bottom: 30px;}
.mod_newslist .layout_latest {position: relative; width: 31.3%; margin-right: 3%; margin-bottom: 15px; display: inline-block; box-sizing: border-box; float: left; border: 1px solid #ECECEC; transition: transform 0.3s ease, box-shadow 0.3s ease;}
.mod_newslist .layout_latest:nth-of-type(3n) {margin-right: 0;}
.mod_newslist .layout_latest:nth-of-type(3n+1) {clear: left;}
.mod_newslist .layout_latest .newsbild {height: 250px; overflow: hidden; position: relative;}
.mod_newslist .layout_latest .newsbild .datum {z-index: 750; position: absolute; left: 0; top: 25px; background: #770D68; padding: 5px 10px; color: #fff;}
.mod_newslist .layout_latest .newsbild .datum .tag {z-index: 750; display: block; text-align: center; font-size: 2.8rem; line-height: 2.8rem;}
.mod_newslist .layout_latest .newsbild .datum .monat {z-index: 750; display: block; text-align: center; font-size: 1.5rem;}
.mod_newslist .layout_latest .newsbild .datum .jahr {z-index: 750; display: block; text-align: center; font-size: 1.2rem;}
.mod_newslist .layout_latest .authorcomments {z-index: 750; position: absolute; bottom: 0; right: 0; padding: 3px; background: #1D1D1B; color: #fff; font-size: 1.2rem;}

.mod_newslist .layout_latest .newsbot {padding: 5px 20px 10px 20px; min-height: 275px;}
.mod_newslist .layout_latest h4 {text-align: left; min-height: 46px;}
.mod_newslist .layout_latest h4 a {color: #1D1D1B; text-decoration: none;}
.mod_newslist .layout_latest .more a {text-decoration: none; color: #770D68;}

.mod_newslist .layout_latest:hover {transform: translateY(-3px); box-shadow: 0px 7px 20px #6f6f6f;}

.mod_newslist .layout_latest .newsmaske {position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1000;}
.mod_newslist .layout_latest .newshovermaske {opacity: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(119,13,104,0.8) url(../graphics/icon-imghover.svg) center no-repeat; z-index: 500; transition:opacity 0.3s ease;}
.mod_newslist .layout_latest .newsmaske:hover + .newsbild .newshovermaske {opacity: 1;}

.mod_newslist .pagination {clear: both; display: block; width: 100%; margin-top: 20px; float: left;}
.mod_newslist .pagination p {display: inline-block; float: right;}
.mod_newslist .pagination ul {display: inline-block; float: left;}
#container #main  .mod_newslist .pagination ul li {width: auto; margin-right: 5px; display: inline-block; margin-bottom: 10px;}
#container #main  .mod_newslist .pagination ul li a,
#container #main  .mod_newslist .pagination ul li span {padding:7px 0 5px 0; width: 30px; display: block; text-align: center; background: #ECECEC; color: #770D68; transition: color 0.3s ease, background 0.3s ease;}
#container #main  .mod_newslist .pagination ul li a:hover,
#container #main  .mod_newslist .pagination ul li span.active {background: #770D68; color: #ECECEC;}
#container #main  .mod_newslist .pagination ul li.next a,
#container #main  .mod_newslist .pagination ul li.last a,
#container #main  .mod_newslist .pagination ul li.first a,
#container #main  .mod_newslist .pagination ul li.previous a {width: auto; padding: 7px 7px 5px 7px;}

.mod_newsreader .layout_full {width: 60%; margin: 0 auto 30px auto;}
.mod_newsreader p.info {text-align: center;}
.mod_newsreader h1 {margin-top: 15px; margin-bottom: 30px;}
.mod_newsreader p.back {display: block; text-align: center; clear:both;}
.mod_newsreader p.back a {color: #fff; display: inline-block; cursor: pointer; font-size: 1.6rem; transform: skewX(-15deg); text-transform: uppercase; width: auto; margin: 10px auto 30px auto; padding: 15px 30px; text-decoration: none; background: #770D68; transition: background 0.3s ease;}
.mod_newsreader p.back a:hover {background: #521059;}

.mod_newsreader .ce_comments {width: 60%; margin: 0 auto;}
.mod_newsreader .image_container {text-align: center;}

/*  FOOTER                                                   */
/*************************************************************/
#footer {display: block; clear: both; position: relative; margin-top: 30px; background: #770D68; font-size: 1.8rem; color: #fff;}
#footer p {line-height: 2.7rem;}
#footer a {color: #fff; text-decoration: none;}
#footer a:hover {text-decoration: underline;}

#footer .footermid {width: 1170px; margin:0 auto; text-align: center; padding: 50px 0 30px 0;}
#footer .footermid .ce_image {margin-bottom: 30px;}
#footer .footermid .rs-columns {margin-top: 30px;}
#footer .footermid .rs-column {padding-top: 30px; border-top: 1px solid #9B9B9B;}
#footer .footermid h5 {color: #fff;}

#footer .footerbot {padding: 30px; text-align: center; background: #1D1D1B;}

/*  LIGHTBOX	                                             */
/*************************************************************/
#cboxTitle {display: none !important;} 
#cboxLoadedContent {border: none;} 
#cboxNext {background: url("../graphics/lightbox-next.svg"); width: 35px; position: absolute; right: 15px; height: 45px; top: 53%; background-position: center; background-repeat: no-repeat; background-size: contain;} 
#cboxPrevious {background: url("../graphics/lightbox-prev.svg"); width: 35px; position: absolute; left: 15px; height: 45px; top: 53%; background-position: center; background-repeat: no-repeat; background-size: contain;} 
#cboxClose {background: url("../graphics/lightbox-close.svg"); width: 35px; position: absolute; right: 15px; top: 15px; height: 35px; background-position: center; background-repeat: no-repeat; background-size: contain;} 
#cboxCurrent {font-size: 14px;} 

/*  FIXES		                                             */
/*************************************************************/
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height:0px;}
.clearfix {display: block;}
/* End hide from IE-mac */

/*  MEDIA QUERIES                                            */
/*************************************************************/
@media screen and (max-width: 1600px) {
    .custom {height: 21vw;}
}

@media screen and (max-width: 1200px) {
    #header .headertop .inside {width: 950px;}
    #header .headerbot .inside {width: 950px;}
    .slick-slide .ce_text {width: 950px;}
    #main .mod_article .inside {width: 950px;}
    #footer .footermid {width: 950px;}
    .mod_newslist .layout_latest .newsbild {height: 190px;}
    body.home .slick-slide .ce_text {width: 950px;}
    body.home .custom {height: 39vw;}
    body.home .slick-track {height: 39vw;}
    .slick-slide:before {display: none;}
	.slick-slide:after {display: none;}
    .ce_slick-slider .slick-container:before {display: none;}
    .ce_slick-slider .slick-container:after {display: none;}
    .ce_slick-slide-separator:before {display: none;}
    .ce_slick-slide-separator:after {display: none;}
	#header .headerbot .inside .navigation ul li a, #header .headerbot .inside .navigation ul li strong {font-style: 1.7rem;}
	#header .headerbot .inside .navigation ul li {margin-left: 15px;}
}

@media screen and (max-width: 980px) {
    #header .headertop .inside {width: 94%; padding-left: 3%; padding-right: 3%;}
    #header .headerbot .inside {width: 94%; padding-left: 3%; padding-right: 3%;}
    .slick-slide .ce_text {width: 94%; padding-left: 3%; padding-right: 3%;}
    #main .mod_article .inside {width: 94%; padding-left: 3%; padding-right: 3%;}
    #footer .footermid {width: 94%; padding-left: 3%; padding-right: 3%;}
    #container .rs-column.-large-col-4-1 {width: 48.5%; margin-right: 3%; margin-top: 0;}
    #container .rs-column.-large-col-4-1:nth-of-type(2n) {margin-right: 0;}
    .mod_newslist .layout_latest .newsbild {height: 19vw;}
    #header .headerbot .inside .navigation {display: none;}
    .portrait {min-height: 20px;}
    body.kontakt #container .rs-column.-large-col-2-1.-large-first {width: 100%; border-right: none; border-bottom: 1px solid #AAA6A6;}
    body.kontakt #container .rs-column.-large-col-2-1.-large-last {width: 100%;}
    body.home .slick-slide .ce_text h2 {width: 44%; max-width: 44%; margin-top: 0; font-size: 3rem; line-height: 3.5rem; margin-bottom: 10px;}
    body.home .slick-slide .ce_text p {width: 43%; max-width: 43%;}
    body.home .slick-slide .ce_text {top: 20px; width: 94%; padding-left: 3%; padding-right: 3%;}
}

@media screen and (max-width: 750px) {
    .mod_newslist .layout_latest {width: 100%; margin-right: 0; margin-bottom: 30px;}
    .mod_newslist .layout_latest .newsbild {height: 60vw;}
    .portrait {width: 48%; margin-right: 4%;}
    .portrait:nth-of-type(2n) {margin-right: 0;}
    .portrait:nth-of-type(2n+1) {clear: left;}
    #header .headertop {padding: 7px 0 9px 0;}
    #header .headertop .inside .homelink {display: none;}
    #header .headertop .inside .headertel {float: left;}
    #header .headertop .inside .image_container {display: none;}
    #header .headertop .inside p {margin-left: 0;}
    #header .headerbot {height: 90px;}
    #header .headerbot .inside .ce_image {margin-top: 0; width: 85px;}
    .mod_newslist .layout_latest .newsbot {min-height: 1px;}
    #main .ce_text .tablescroller {width: 97%; overflow-x: scroll; padding-right: 10px;}
    #main .ce_table .tablescroller {width: 97%; overflow-x: scroll; padding-right: 10px;}
    .mod_newsreader .ce_comments {width: 100%;}
    #wrapper {padding-top: 137px;}
}

@media screen and (max-width: 600px) {
    #container .rs-column.-large-col-2-1 {width: 100%; margin-right: 0; margin-top: 0;}
    #container .rs-column.-large-col-3-1 {width: 100%; margin-right: 0; margin-top: 0;}
    #container .rs-column.-large-col-4-1 {width: 100%; margin-right: 0; margin-top: 0;}
    .schmal66 {width: 100% !important; margin: 0 auto;}
    .schmal50 {width: 100% !important; margin: 0 auto;}
    h1 {font-size: 4rem; line-height: 4.5rem;}
    h2 {font-size: 3.3rem; line-height: 3.8rem;}
    #container .ce_text .image_container.float_right {width: 100%; float: left; margin-left: 0; margin-bottom: 20px;}
    #container .ce_text .image_container.float_left {width: 100%; float: left; margin-right: : 0; margin-bottom: 20px;}
    .portrait {width: 100%; margin-right: 0;}
    body.kontakt #container .rs-column.-large-col-2-1.-large-first {padding: 30px 25px;}
    body.kontakt #container .rs-column.-large-col-2-1.-large-last {padding: 30px 25px;}
    body.home .slick-dots {display: none !important;}
    body.home .slick-slide .ce_text p {display: none;}
    body.home .slick-slide .ce_text h2 {font-size: 2rem; line-height: 2.5rem;}
    .mod_newslist .pagination p {display: block; float: left; width: 100%;}
    .ce_gallery .pagination p {display: block; float: left; width: 100%;}
    #header .headertop .inside p {font-size: 1.5rem;}
}


/*  FONTS                                                    */
/*************************************************************/

@import url("http://fast.fonts.net/t/1.css?apiType=css&projectid=36a36e8b-784d-4bb1-9787-270d970aae6c");
    @font-face{
        font-family:"DINLight";
        src:url("Fonts/fb0dd5e6-cf57-43be-8f3f-2880d5389694.eot?#iefix");
        src:url("Fonts/fb0dd5e6-cf57-43be-8f3f-2880d5389694.eot?#iefix") format("eot"),url("Fonts/14aba99e-8c97-4daa-a8df-67920a051402.woff2") format("woff2"),url("Fonts/96fd6d6f-fad6-4dd9-ab70-29547a56cacd.woff") format("woff"),url("Fonts/cdc1c0e4-213b-4a01-a1dc-af6dddf2263a.ttf") format("truetype");
    }
    @font-face{
        font-family:"DINRegular";
        src:url("Fonts/936930ba-a8da-4765-9e89-0f35cdff223f.eot?#iefix");
        src:url("Fonts/936930ba-a8da-4765-9e89-0f35cdff223f.eot?#iefix") format("eot"),url("Fonts/6b4d4830-9c7d-43d2-b5d3-c73f739561b9.woff2") format("woff2"),url("Fonts/ccf25ada-6d2a-4133-95dc-deb039e22999.woff") format("woff"),url("Fonts/126195b4-2fa0-4b95-b5cf-ad9bf10193f0.ttf") format("truetype");
    }
    @font-face{
        font-family:"DINMedium";
        src:url("Fonts/c6dbdd54-50f5-472a-8b74-0e98ef77e33e.eot?#iefix");
        src:url("Fonts/c6dbdd54-50f5-472a-8b74-0e98ef77e33e.eot?#iefix") format("eot"),url("Fonts/afabdfcf-432c-49b4-a496-0e5051e87fa9.woff2") format("woff2"),url("Fonts/611ea865-db7e-4c05-94b8-bd1675c90576.woff") format("woff"),url("Fonts/e65314e4-c389-45b8-99a9-26ab6aef066c.ttf") format("truetype");
    }
    @font-face{
        font-family:"DINBold";
        src:url("Fonts/fa5ed46b-792d-4f47-894e-fa587cf4e1cf.eot?#iefix");
        src:url("Fonts/fa5ed46b-792d-4f47-894e-fa587cf4e1cf.eot?#iefix") format("eot"),url("Fonts/03008527-67bd-478e-98e3-3b56dd9a6520.woff2") format("woff2"),url("Fonts/557f817d-9c25-4a23-baaf-a3cf84a7cd7c.woff") format("woff"),url("Fonts/92ed1479-1d40-4a94-8baf-6abd88b17afa.ttf") format("truetype");
    }

