@font-face {
    font-family: Roboto-Condensed-Regular;
    src: url("../fonts/RobotoCondensed-Regular.woff ");
    font-style: normal;
}

@font-face {
    font-family: Roboto-Condensed-Bold;
    src: url("../fonts/RobotoCondensed-Bold.woff.woff");
    font-style: normal;
}

@font-face {
    font-family: Roboto-Condensed-Light;
    src: url("../fonts/RobotoCondensed-Light.woff");
    font-style: normal;
}

/*Variablen Start*/
* {
    margin: 0;
    padding: 0;
    --text: #555;
    --weiss: #fff;
    --orange: #e68800;
    --gruen: #696e17;
    --hellgrau: #eeeeee;
    --dunkelgrau: #60605f;
    --braun: #220A03;
    --bg-header: #f7f7f7;
    --bg-main-inside: #e5e6e5;
    --bg-more: #461221;
    --link-megamenu: #fff;
    --trennlinie-megamenu: #f6f6f6;
    --breite-inhalt: 1170px;
    --spaltenabstand: 25px;
    --padding-um-spalten: 10px;
    --padding-in-spalten: 15px;
}

/*Variablen Stop*/
body {
    line-height: 1.4;
    background-color:var(--weiss);
    color:var(--text);
}

/*Reset für invisible*/
.invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

* {
    font-family: Roboto-Condensed-Light;
    font-size: 1.05rem;
    box-sizing: border-box;
}

img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#header .inside {
    max-width:var(--breite-inhalt);
    margin: 0 auto;
}

#header img{
    object-fit: none;
    width: auto;
    height:auto;
}

#header .content-text.media.media--left{
  display: flex;
}

#header .rte {
  padding-top: 17px;
  line-height: 1.4rem;
}


/*Themengrafik mit Logo*/
#themengrafik {
    background-color:var(--hellgrau);
    /*height: 250px;*/
    position: relative;
    z-index: -2;
}

#container {
    max-width:var(--breite-inhalt);
    margin: 0 auto;
}

#themengrafik .inside {
    display: grid;
    /*grid-template-columns: 1.2fr 5fr;*/
    /*display: flex;*/
    margin: 0 auto;
    line-height: 0;
    max-width: 1200px;
}

.themengrafik {
    grid-column: 1 / 3;
    grid-row: 1;
    z-index: 1;
}

.themengrafik img {
    max-height: 300px;
    /*object-fit: cover;*/
}

@media screen and (min-width: 1150px) {
    .themengrafik img {
        max-height: 300px;
    }
}

.logo-kleine-auszeit {
    display: none;
}

@media screen and (min-width: 901px) {
    .logo-kleine-auszeit {
        /*display: grid;*/
        /*width: 1069px;*/
        grid-column: 1;
        grid-row: 1;
        z-index: 32;
        display: block;
        max-width: 220px;
        margin-left: 63px;
    }
    
    .logo-kleine-auszeit img {
        opacity: 0.93;
        /*position: relative;*/
        /*left: 0px;*/
        /*left: 22px;*/
        max-width: 220px;
        /*margin-left: 180px;*/
        /*margin-top: 30px;*/
        /*max-height: 270px;*/
        /*min-height: 200px;*/
    }
}

/*Listen*/
.mod_article ol {
    list-style-type: decimal;
    margin-left: 30px;
}

.mod_article ul {
    list-style-type: none;
    margin-left: 40px;
}

#main ul li {
    text-indent: -30px;
    padding-left: 5px;
    margin-bottom: 10px;
}

#main ul li:before {
    content: "›";
    width: 15px;
    height: 15px;
    font-size: 1em;
    color:var(--weiss);
    background-color:var(--gruen);
    /*position: relative;*/
    /*top: 0px;*/
    text-align: center;
    display: inline-block;
    text-indent: 0px;
    line-height: 0.8;
    margin-right: 10px;
}

#main .content-gallery ul li:before {
    display: none;
}

#main .inside,
footer {
    top: 10px;
    position: relative;
}

#container {
    background-color:var(--weiss);
}

.ext-pdf {
    background-size: 30px;
    background-position: top left;
    padding-left: 30px;
}

a {
    color:var(--blau);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color:var(--gruen);
    font-weight: normal;
    margin: 10px 0px;
    font-size: 1.7rem;
}

h1.ce_headline {
    /*font-size: 1.7rem;*/
    text-transform: uppercase;
    /*margin: 0 0 10px 0;*/
    /*padding: 15px 17px 13px 16px;*/
    /*background-color:var(--weiss);*/
    /*max-width: 1151px;*/
    /*transform: translatex(-17px);*/
    /*width: calc(100% + 30px);*/
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1.1rem;
}

/*Überschriften 100% über alle Spalten*/
h1.headline_voll,
h2.headline_voll,
h3.headline_voll,
h4.headline_voll,
h5.headline_voll,
h6.headline_voll {
    display: grid;
    max-width: 100%;
    grid-column: 1 / -1;
}

.abstand-nach-oben {
    margin-top: 50px;
}

strong {
    /*font-family: Atkinson-Hyperlegible-Bold;*/
    letter-spacing: 1px;
}

.caption {
    font-size: 1rem;
    color:var(--grau);
    font-style: italic;
}

.interner_link a {
    text-decoration: none;
}

.interner_link a:after {
    content: '»';
    font-size: 1rem;
    margin-left: 4px;
}

@media screen and (min-width: 500px) {
    .float_left {
        float: left;
    }
    
    .float_right {
        float: right;
    }
    
    .ce_text .image_container.float_left {
        margin-right:var(--spaltenabstand);
        margin-bottom:var(--spaltenabstand);
    }
    
    .ce_text .image_container.float_right {
        margin-left:var(--spaltenabstand);
        margin-bottom:var(--spaltenabstand);
    }
}

.trenner:after {
    content: '';
    display: block;
    border-bottom:4px solid var(--grau);
    width: 100px;
    margin: 20px auto 60px;
}

/*Header*/
header {
    width: 100%;
    /*position: fixed;*/
    top: 0;
    z-index: 9999;
    background-color:var(--bg-weiss);
    border-bottom:1px solid var(--grau);
    /**/
}

#wrapper > :nth-child(2) {
    margin-top: 30px;
}

@media (min-width: 300px) and (max-width: 1000px) {
    header {
        position: relative;
    }
    
    #wrapper > :nth-child(2) {
        margin-top: 0px;
    }
}

:not(.custom) + #container #main {
    padding-top: 10px;
}

/*Barrierefreiheit*/
/*a:active,
a:focus {
outline: none;
}*/
.hamburger a:focus-within {
    outline-style: dotted;
    outline-color: #EA960F;
    outline-width: medium;
}

/*.hamburger a {
    display: block;
    max-width: 75px;
}*/

#main a:focus-within {
    /* border:2px dotted var(--gruen);
    display: inline-block;*/
    outline-style: solid;
    outline-color: #EA960F;
    outline-width: thin;
}

#footer a:focus-within {
    /* border:2px dotted var(--gruen);
    display: inline-block;*/
    outline-style: solid;
    outline-color: #FFFFFF;
    outline-width: thin;
}

.pagination a:focus-within {
    border: none;
    background-color:var(--braun);
    border-radius: 3px;
}

/*.mod_navigation li.mm_container:focus-within > .mm_dropdown {
display: inline-block;
top: 88px;
}*/
.nav_desktop .mod_navigation > ul.level_1 > li :focus-within {
    border-top:2px dotted var(--blau);
    border-left:2px dotted var(--blau);
    border-right:2px dotted var(--blau);
    padding: 3px 3px 0px 3px;
}

.nav_desktop .mod_navigation > ul.level_1 > li a:focus-within {
    border: none;
    display: inline;
}

.mm_dropdown .mod_navigation ul.level_1 li:focus-within {
    color:var(--braun);
    padding: 0;
}

.mm_dropdown .mod_navigation ul.level_1 li a:focus-within {
    color:var(--braun);
    background-color: #FFF;
    display: block;
    padding: 9px;
}

/*Kontaktformular*/
form {
    max-width: 545px;
    /*border: 1px solid red;*/
}

textarea {
    margin-top: 5px;
}

label {
    /*padding-top: 20px;*/
    min-width: 145px;
    display: inline-block;
    vertical-align: top;
}

.label-anrede > span {
    width: 151px;
    display: flex;
    float: left;
}

.widget {
    margin-top: 15px;
}

input[type="radio"] {
    margin-right: 5px;
}

.widget-submit {
    margin: 10px 0px;
    padding: 15px;
    text-align: center;
}

form button,
input[type="submit"] {
    display: inline-block;
    padding: 15px 15px;
    width: 200px;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    font-size: 1.1rem;
    color: #FFF;
    cursor: pointer;
    border: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 3px;
    background-color:var(--gruen);
    background-image: none;
    background-repeat: no-repeat;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

/*.plz
{
	max-width: 100px;
}*/
/*.error
{
	color: red;
}*/
/*.widget-explanation
{
	font-size: 12px;
}*/
/*.checkbox-inline
{
	margin-left: 0px !important;
	vertical-align: baseline;
}*/
/*Themengrafik*/
/*.mod_article.themengrafik {
max-width: 100vw;
height: auto;
padding: 0;
max-height: 460px;
}*/
/*Artikel normal*/
#container .mod_article {
    max-width:var(--breite-inhalt);
    margin: 0 auto 10px;
    padding:var(--padding-um-spalten);
    background-color: #FFF;
}

/*#container .mod_article.bg_grau {
background-color:var(--bg-main-inside);
padding: 0px;
}*/
/*Zweispalter*/
.zwei-spalten {
    /*display: grid;*/
    max-width:var(--breite-inhalt);
    margin: 0 auto;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    /*grid-gap:var(--spaltenabstand);*/
}

@media screen and (min-width: 901px) {
    .zwei-spalten {
        /*grid-template-columns: repeat(auto-fit, minmax(385px, 1fr));*/
        display: grid;
        align-content: center;
        grid-template-columns: repeat(auto-fit, minmax(385px, 1fr));
        grid-gap:var(--spaltenabstand);
        /*margin: 0 auto;*/
        width: 100%;
    }
}

.zwei-spalten h2 {
    margin: 0;
}

.zwei-spalten .image_container {
    margin-bottom:var(--spaltenabstand);
}

/*.zwei-spalten .image_container img,
.image_container img {
max-width: 100%;
width: 100%;
height: auto;
(*max-height: 229px;*)
object-fit: contain;
}*/
.zwei-spalten .image_container img {
    max-width: 100%;
    width: 100%;
    height: auto;
    /*max-height: 229px;*/
    object-fit: contain;
}

/*Dreisplater für Firmen & Gewerbe*/
.grid_firmen_vereine {
    display: grid;
    justify-content: left;
    max-width:var(--breite-inhalt);
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /*grid-template-columns: repeat(auto-fit, minmax(200px, 355px));*/
    grid-gap:var(--spaltenabstand);
}

.grid_firmen_vereine > div {
    border:1px solid var(--blau);
    padding:var(--spaltenabstand);
    background-color: #FFF;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /*max-width: 355px;*/
    /*justify-self: start;*/
}

.grid_firmen_vereine > div:hover {
    background-color:var(--blau);
    color: #FFF;
}

.grid_firmen_vereine > div:hover a,
.grid_firmen_vereine > div:hover h3 {
    color: #FFF;
}

.grid_firmen_vereine > div .image_container img {
    margin: 0 auto 25px;
    display: block;
    height: auto;
    max-width: 100%;
}

/*Accordion*/
.ce_accordion {
    background-color:var(--weiss);
    border:1px solid var(--gruen);
    margin-top: 15px;
}

.ce_accordionStart.first {
    margin-top: 45px;
}

.ce_accordion .toggler {
    cursor: pointer;
    font-variant: small-caps;
    font-size: 1.2rem;
    margin: 0 0 1px 0px;
    padding: 10px 10px 10px 20px;
    background-color:var(--hellgrau);
    border-top:2px solid var(--gruen);
    position: relative;
    color:var(--gruen);
}

.ce_accordion .toggler:after {
    content: '+';
    font-size: 1rem;
    color:var(--gruen);
    text-align: center;
    position: absolute;
    top: 10px;
    right: 30px;
    background-color:var(--weiss );
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 1.8;
}

.ce_accordion .toggler.active:after {
    content: '-';
    font-size: 1.8rem;
    line-height: 1;
}

.accordion {
    /*margin: 10px 0px 20px 21px;*/
    padding: 19px;
}

.zweispalten-accordion {
    padding: 20px;
}

@media screen and (min-width: 901px) {
    .zweispalten-accordion > div {
        display: grid;
        gap: 130px;
        grid-template-columns: 1fr 1fr;
    }
}

.ce_accordion h4 {
    margin-top: 0px;
}

/*Download & Downloads*/
.ce_downloads ul li {
    line-height: 1.2;
}

.ce_downloads ul li a {
    text-decoration: none;
    line-height: 1.1;
}

/*Bildeffekte für verlinkte Bilder innerhalb von #main*/
#main img,
.grid-vier-quicknav img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.25s ease-in-out;
    display: block;
}

#main .image_container a,
.grid-vier-quicknav img {
    overflow: hidden;
    display: block;
}

#main a img:hover,
.grid-vier-quicknav .image_container a img:hover {
    transform: scale(1.1);
}

/*Galerie*/
/*img a,
a img {
transition: transform 0.25s ease-in-out;
display: block;
overflow: hidden;
max-width: 100%;
height: auto;
object-fit: cover;
}*/
/*img a:hover,
a img:hover {
transform: scale(1.2);
display: block;
}*/
.content-gallery ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 0.3rem 0.8rem;
    justify-items: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media screen and (max-width: 444px) {
    .content-gallery ul {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

.content-gallery li {
    /*padding: 0.1rem 0.1rem 0.1rem 0.1rem;*/
    background-color:var(--weiss);
    border: 1px solid #EEEEEE;
    padding: 5px;
    text-align: center;
    display: block;
}

#main .content-gallery img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/*Contao-Slider */
.content-slider img {
    object-fit: contain;
    height: 100%;
    display: block;
    width: 100%;
}

/*Fusszeile*/
/*Footer*/
footer {
    background-color:var(--dunkelgrau);
    min-height: 200px;
    padding: 30px 0px;
    /*margin-top: 30px;*/
    color: #FFF;
}

footer .inside {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0px 10px;
    line-height: 1.4;
}

#copyright {
    background-color:var(--dunkelgrau);
    max-width: 100%;
    /*height: 50px;*/
    padding: 15px 0px 10px;
}

#copyright .inside {
    max-width:var(--breite-inhalt);
    margin: 0 auto;
}

#copyright {
    color: #FFF;
}

footer div.inside div.block {
    font-size: 1.6rem;
    margin-bottom: 45px;
}

footer div.inside div p,
footer a {
    font-size: 1.1rem;
}

footer a {
    color: #FFF;
    text-decoration: underline;
    padding: 0;
    margin: 0;
    line-height: normal;
    height: 0;
    /*line-height: 1.5;*/
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
    color: #FFF;
    text-decoration: none;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

#footer .content-gallery ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    grid-gap: 0.9rem;
    justify-items: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#footer .content-gallery li {
    height: 77px;
}

@media screen and (min-width: 480px) {
    /*footer .inside {
    display: flex;
    (*justify-content: space-evenly;*)
    flex-wrap: wrap;
    }*/
    footer .inside {
        display: grid;
        justify-content: left;
        max-width:var(--breite-inhalt);
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        /*grid-template-columns: repeat(auto-fit, minmax(200px, 355px));*/
        grid-gap:var(--spaltenabstand);
    }
    
    footer div.inside div.block {
        margin-bottom: 0px;
        /*border: 1px solid red;*/
        /*flex-basis: 33.31%;*/
    }
}

/* @group Preistabelle */
div.ce_table,
.ne-calendar {
    overflow: auto;
}

.preistabelle table th,
.preistabelle table td {
    padding: 5px;
    border: 1px solid #696C2B;
    text-align: center;
    background-color: #FDFDFD;
}

.preistabelle table thead tr th {
    background-color: #696C2B;
    color: #FFF;
    border-right: 1px solid #FFF;
    padding: 10px;
    font-weight: normal;
}

th.col_0.col_first {
    font-weight: 400;
}

.preistabelle table thead tr th.col_last {
    border-right: 1px solid #696C2B;
}

/* @end */
@media screen and (max-width: 767px) {
    #header {
        /* height: 70px !important;*/
        background-color: #FFF;
    }
    
    .pull-right {
        clear: both !important;
    }
}

/*Login & Heitech*/
#login_heitech {
    margin: 10px auto 0;
    padding-bottom: 50px;
    max-width:var(--breite-inhalt);
}

.login {
    width: 50px;
    float: left;
    height: 30px;
}

.heitech {
    float: right;
    width: 175px;
    /*margin-right: 25px;*/
}
