body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}.aspect--9\:16,.responsive.ratio-916{padding-bottom:177.7777%}.aspect--1\:1,.responsive.ratio-11{padding-bottom:100%}
.mod_visitors .invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    float: left;
	width:0px;
	height:0px;
}
/* #### FONTS #### */
@font-face {
    font-family: 'Century Gothic';
    src: url('/files/agro-daepp-design/fonts/GOTHIC.TTF') format('truetype');
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/files/agro-daepp-design/fonts/GOTHICI.TTF') format('truetype');
    font-style: italic;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/files/agro-daepp-design/fonts/GOTHICB.TTF') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/files/agro-daepp-design/fonts/GOTHICBI.TTF') format('truetype');
    font-style: italic;
    font-weight: bold;
}

/* #### TEXTS #### */
h1 {
    border-bottom: 1px dotted #858585;
    font: 24px Century Gothic;
    font-weight: bold;
    color: #564943;
}

h2 {
    font: 15px Century Gothic;
    font-weight: bold;
    color: #564943;
}

h3 {
    margin-bottom: -10px;
    padding-bottom: 0;
    font: 13px Century Gothic;
    font-weight: bold;
    color: #564943;
}

.content-text a,
.pagination a,
.enclosure a {
    border-bottom: 1px dotted #828282;
    text-decoration: none;
    color: #000;
}

.content-text a:hover,
.pagination a:hover {
    border-bottom: 1px dotted #278009;
    text-decoration: none;
    color: #278009;
}

img {
    border: 0px #828282;
    text-decoration: none;
    color: #000;
}

.caption {
    font-size: 11px;
}

.pdf_link {
    margin-left: auto;
    text-align: right;
}

.pdf_link a {
    border: 0px;
}

.pdf_link a:hover {
    border: 0px;
}

.pagination {
    height: 100px;
}

.pagination ul {
    margin-bottom: 10px;
    margin-left: 0;
    padding-left: 0;
    margin-left: 0px;
}

.pagination li {
    float: left;
    padding-right: 8px;
    padding-left: 8px;
    border-right: 1px solid #000;
    list-style-type: none;
}

.pagination li:last-child {
    border-right: 0px solid #000;
}

#lightcase-overlay {
    background-image: url("/files/agro-daepp-design/ad_logo.svg");
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 40%;
    opacity: 0.2;
}

.team {
    height: 130px;
    margin-bottom: 10px;
    padding-top: 10px;
    background-color: #cfb98c;
}

.team:nth-child(odd) {
    margin-bottom: 10px;
    background-color: #f2e6d0;
}

.team img {
    float: left;
    clear: left;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    border: 0;
}

.content-text a,
.pagination a,
.enclosure a {
    border-bottom: 1px dotted #828282;
    text-decoration: none;
    color: #000;
}

.content-text a:hover,
.pagination a:hover {
    border-bottom: 1px dotted #278009;
    text-decoration: none;
    color: #278009
}

#left {
    margin-left: unset !important;
}


/* #### PRINT #### */
@media print {

    #left,
    #topmenu,
    #footer {
        width: 0px;
        display: none;
    }

    #container {
        margin: 0;
        padding-left: 0;
        border: 0px;
    }
}

/* #### MAIN #### */
html,
body {
    min-height: 100%;
    max-width: 100%;
    background: -moz-linear-gradient(270deg, #f8e002 27%, #FFFFFF 90%);
    background: -webkit-linear-gradient(270deg, #f8e002 27%, #FFFFFF 90%);
    background: -o-linear-gradient(270deg, #f8e002 27%, #FFFFFF 90%);
    background: -ms-linear-gradient(270deg, #f8e002 27%, #FFFFFF 90%);
    background: linear-gradient(180deg, #f8e002 27%, #FFFFFF 90%);
    -pie-background: linear-gradient(270deg, #f8e002 27%, #FFFFFF 90%);
    font: 12px Century Gothic;
    background-attachment: fixed;
}

#wrapper {
    max-width: 962px;
    margin-right: auto;
    margin-left: auto;
}

#main {
    min-height: 556px;
    background-color: #fff;
    font: 13px Century Gothic;
}

.content-text,
.content-headline,
.content-image:not(:first-child, .first),
.mod_newslist,
.mod_newsarchive,
.content-gallery,
.ce_dlh_googlemaps,
.mod_dlh_googlemaps,
.ce_youtube:not(.first),
.ce_player:not(.first) {
    margin-right: 20px;
    margin-bottom: 5px;
    margin-left: 20px;
    /*padding-right: 20;
    padding-bottom: 5;
    padding-left: 20;*/
}

.content-element-group .content-image {
    margin: 0!important;
}

.image_container {
    margin: 0;
}

.content-image:first-child img,
.content-image.first img {
    width: 100%;
}

/*.ce_colsetStart {
    margin-bottom: 40px;
}

.cookiebar {
    z-index: 100000 !important;
}

.cookiebar__button {
    background-color: #f8e002;
    color: #000;
}

.cookiebar__button:hover {
    background-color: #f2a50a;
}*/

.content-text {
    margin: 20px;
}


/* #### MAIN SMALL #### */
@media (max-width:770px) {


    #wrapper {
        max-width: 770px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        box-sizing: border-box;
    }

    #menu2 {
        display: none;
    }

    #main {
        width: 100%;
    }

    /*#left {
        display: none !important;
        width: 0px !important;
    }*/

    #header {
        display: none;
    }

    #mobmenulink {
        height: 50px;
        top: 0;
        position: absolute;
        margin-top: 5px;
        margin-left: 5px;
    }

    .mobileheader {
        width: 100%;
        height: 50px;
        top: 0;
        margin-right: 0;
        margin-left: 0;
        text-align: center;
    }

    #footer {
        padding-top: 20px;
        padding-left: 5px;
        background-color: #544741;
        font-size: 12px;
        -webkit-box-shadow: -10px 0 8px -10px #808080, 10px 0 8px -10px #808080;
        box-shadow: -10px 0 8px -10px #808080, 10px 0 8px -10px #808080;
    }

    .footer_contact {
        max-width: 200px;
        left: 20px;
        position: relative;
        margin-left: 10px;
        padding-left: 20;
    }

    .footer_contact img {
        margin-right: 5px;
    }

    #footerleft {
        display: none;
    }

    .hb_bild {
        margin: 0 10px;
        padding-bottom: 0;
        width: calc(100% - 20px);
    }

    .hb_titel {
        display: table;
        margin-top: 10px;
        margin-bottom: 0;
        margin-left: 10px;
        padding-top: 12px;
        text-align: center;
        font-size: 14pt;
        font-weight: bold;
        color: #fff;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        height: 50px;
        width: calc(100% - 20px);
        box-sizing: border-box;
    }

    .hb_description {
        margin: -4px 10px 10px;
        padding: 10px;
        text-align: center;
        font-size: 11pt;
        text-decoration: none;
        color: #000;
        background: rgba(248, 224, 2, 1);
        width: calc(100% - 20px);
        box-sizing: border-box;
    }

    /*.col_1 a,
    .col_2 a {
        font-weight: normal;
        text-decoration: none;
    }*/
}

/* #### MAIN LARGE #### */
@media (min-width:770px) {
    #container {
        /*padding-left: 280px;*/
        background-color: #fff;
        border-top: 1px solid #808080;
        border-right: 1px solid #808080;
        border-left: 1px solid #808080;
        -webkit-box-shadow: -10px 0 8px -10px #808080, 10px 0 8px -10px #808080;
        box-shadow: -10px 0 8px -10px #808080, 10px 0 8px -10px #808080;
    }

    /*#left {
        width: 280px;
        /*left: -280px;
        position: relative;
    }*/

    #main {
        width: calc(100% - 280px);
    }

    #header {
        height: auto;
    }

    #header .inside {
        padding-top: 15px;
    }

    #mobmenulink,
    .mobileheader {
        display: none;
    }

    #footer {
        position: relative;
        margin-bottom: 10px;
        padding-top: 12px;
        padding-left: 15px;
        background-color: #544741;
        font-size: 12px;
        -webkit-box-shadow: -10px 0 8px -10px #808080, 10px 0 8px -10px #808080;
        box-shadow: -10px 0 8px -10px #808080, 10px 0 8px -10px #808080;
        z-index: 1001;
    }

    .footer_contact {
        width: 300px;
        top: 20px;
        position: relative;
        margin-right: 25px;
        margin-left: auto;
        padding-left: 20px;
        border-left: 1px dotted #2b2b2b;
    }

    #footerleft {
        margin-top: -25px;
    }

    .footer_contact img {
        margin-right: 5px;
    }

    .fb-like {
        width: 160px;
        margin-bottom: 0;
    }

    .o_tile {
        position: relative;
        width: 100%;
        overflow: hidden;
        cursor: pointer;
    }

    .hb_bild {
        position: relative;
    }

    .hb_bild img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hb_titel {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: rgba(0, 0, 0, 0.8);
        color: #fff;
        text-align: center;
        box-sizing: border-box;
        font-size: 14pt;
        font-weight: bold;

        cursor: pointer;
        z-index: 5;
    }

    .hb_description {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 10px 20px 60px 20px;
        box-sizing: border-box;

        background: rgba(248, 224, 2, 1);
        color: #000;
        text-align: center;
        font-size: 11pt;

        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;

        z-index: 3;
    }

    .o_tile:hover .hb_description {
        opacity: 1;
        visibility: visible;
    }

    /*
    .hb_bild {
        width: 320px;
        height: 200px;
        position: relative;
        margin-top: 20px;
        margin-right: 0;
        margin-left: 10px;
        -webkit-transition: transform 500ms;
        -moz-transition: transform 500ms;
        -o-transition: transform 500ms;
        transition: transform 500ms;
    }

    .hb_titel {
        position: absolute;
        display: table;
        margin-top: 170px;
        margin-left: 10px;
        padding-top: 10px;
        text-align: center;
        font-size: 14pt;
        font-weight: bold;
        color: #fff;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        cursor: pointer;
        height: 50px;
        width: 320px;
        -webkit-transition: opacity 500ms;
        -moz-transition: opacity 500ms;
        -o-transition: opacity 500ms;
        transition: opacity 500ms;
        box-sizing: border-box;
        z-index: 1000;
    }

    .hb_description {
        position: absolute;
        display: table;
        margin-top: -203px;
        margin-left: 10px;
        padding: 10px;
        text-align: center;
        font-size: 11pt;
        color: #000;
        background: rgba(248, 224, 2, 1);
        cursor: pointer;
        height: 200px;
        width: 320px;
        opacity: 0;
        -webkit-transition: opacity 500ms;
        -moz-transition: opacity 500ms;
        -o-transition: opacity 500ms;
        transition: opacity 500ms;
        box-sizing: border-box;
    }

    .hb_description:hover {
        opacity: 1;
    }*/

    .tilegroup {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 20px;
    }
}

/* #### MAIN MIDDLE #### 
@media (max-width:450px) {
    .col_2 {
        float: none;
        clear: both;
    }

    .col_2,
    .col_1 {
        width: 100%;
    }
}*/


/* #### MENU LINKS #### */
@media (min-width:770px) {
    #left {
        width: 280px;
        /*height: 600;*/
        padding-top: 20px;
        padding-bottom: 400px;
        padding-left: 0;
        background-color: #372F2B;
        background: -moz-linear-gradient(270deg, #372f2b 45%, #ffffff 100%);
        background: -webkit-linear-gradient(270deg, #372f2b 45%, #ffffff 100%);
        background: -o-linear-gradient(270deg, #372f2b 45%, #ffffff 100%);
        background: -ms-linear-gradient(270deg, #372f2b 45%, #ffffff 100%);
        background: linear-gradient(180deg, #372f2b 45%, #ffffff 100%);
        -pie-background: linear-gradient(270deg, #372f2b 45%, #ffffff 100%);
    }

    #menu1 ul li {
        margin-left: -5px;
        padding-top: 3px;
        padding-bottom: 3px;
        font: 13px Century Gothic;
        color: #D8D0CD;
        list-style-type: none;
    }

    #left {
        position: sticky;
        top: 0;
        /*height: calc(100vh - 100px);*/
        overflow-y: auto;
    }

    #menu1 li a {
        padding-left: 5px;
        font: 13px Century Gothic;
        text-decoration: none;
        color: #D8D0CD;
    }

    #menu1 .level_2 li a {
        padding-left: 5px;
        font: 12px Century Gothic;
        text-decoration: none;
        color: #D8D0CD;
    }

    #menu1 li a:hover {
        font: 13px Century Gothic;
        text-decoration: none;
        color: #f8e002;
    }

    #menu1 .level_2 li a:hover {
        font: 12px Century Gothic;
        text-decoration: none;
        color: #f8e002;
    }

    #menu1 li strong {
        padding-left: 5px;
        font: 13px Century Gothic;
        font-weight: bold;
        color: #D8D0CD;
    }

    #menu1 .level_2 li strong {
        padding-left: 5px;
        font: 13px Century Gothic;
        font-weight: bold;
        color: #D8D0CD;
    }

    #menu1 .level_1 li {
        margin-right: 30px;
        border-bottom: 1px dotted #969696;
    }

    #menu1 .level_1 li:last-child {
        border-bottom: 0px solid #372F2B !important;
    }

    #menu1 .level_2 li {
        width: 180px;
        border-bottom: 0px solid #372F2B !important;
        /*font-size: 10px !important;*/
    }
}

/* #### MENU LINK SMALL #### */
@media (max-width:770px) {


    #mobmenu {
        display: none;
    }

    #left {
        /*display: none;*/
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition:
            max-height 0.4s ease-in-out,
            opacity 0.3s ease-in-out,
            visibility 0.4s;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0;
        background-color: #372F2B;
    }

    #wrapper:has(#mobmenu:checked) #left {
        max-height: 1000px;
        opacity: 1;
        visibility: visible;
        padding-top: 20px;
        padding-bottom: 20px;
    }


    #menu1 ul li {
        margin-left: -5px;
        padding-top: 8px;
        padding-bottom: 8px;
        font: 13px Century Gothic;
        color: #D8D0CD;
        list-style-type: none;
    }

   #menu1 li a {
        padding-left: 5px;
        font: 13px Century Gothic;
        text-decoration: none;
        color: #D8D0CD;
    }

    #menu1 .level_2 li a {
        padding-left: 5px;
        font: 12px Century Gothic;
        text-decoration: none;
        color: #D8D0CD;
    }

    #menu1 li a:hover {
        font: 13px Century Gothic;
        text-decoration: none;
        color: #f8e002;
    }

    #menu1 .level_2 li a:hover {
        font: 12px Century Gothic;
        text-decoration: none;
        color: #f8e002;
    }

    #menu1 li strong {
        padding-left: 5px;
        font: 13px Century Gothic;
        font-weight: bold;
        color: #D8D0CD;
    }

    #menu1 .level_2 li strong {
        padding-left: 5px;
        font: 13px Century Gothic;
        font-weight: bold;
        color: #D8D0CD;
    }

    #menu1 .level_1 li {
        margin-right: 30px;
        border-bottom: 1px dotted #969696;
    }

    #menu1 .level_1 li:last-child {
        border-bottom: 0px solid #372F2B !important;
    }

    #menu1 .level_2 li {
        width: 180px;
        border-bottom: 0px solid #372F2B !important;
        /*font-size: 10px !important;*/
    }
}


/* #### MENU OBEN #### */
@media screen {
    #menu2 {
        margin: 0 0 0 auto;
        padding: 0;
        text-align: right;
    }

    #menu2 li {
        display: inline-block;
        margin: 0 0 0 auto;
        padding-top: 1px;
        padding-left: 2px;
        font-size: 12px;
        list-style-type: none;
    }

    #menu2 li:nth-child(n+2):before {
        font-size: 12px;
        content: " | ";
    }

    #menu2 a {
        font: 12px Century Gothic;
        text-decoration: none;
        color: #000;
    }

    #menu2 span {
        font: 12px Century Gothic;
        font-weight: bold;
        text-decoration: none;
        color: #000;
    }
}

:root {
    --swiper-pagination-color: #f8e002;
    --swiper-pagination-bullet-inactive-color: #f8e002;
    --swiper-navigation-color: #f8e002;
    --swiper-navigation-size: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: #000000;
    border-radius: 30px;
    padding: 7px;
    opacity: 0.6;
}

.swiper-pagination-bullet {
    border: 1px solid #000000;
}



/*COOKIEBAR*/

:root {
    --ccb-bg: #4b4b4b;
    --ccb-clr: #ffffff;
    --ccb-text: var(--ccb-clr);
    --ccb-btn-bg: var(--swiper-navigation-color);
    --ccb-btn-clr: #000000;
    --ccb-detail-clr: var(--ccb-clr);
    --ccb-btn-bg-hvr: #f2a50a;
}

.cc-info p {
    margin: 2px;
}

.cc-cookie,
.cc-cookie p {
    color: #000000;
}

.contao-cookiebar .cc-btn {
    border-radius: 0px !important;
    border: 0px !important;
}


/* GALLERY */
/* Das Grid wird direkt auf das ul-Element angewendet */
.content-gallery--cols-4 ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Optionales Styling für die li-Elemente */
.content-gallery--cols-4 li {
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
