/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/

:root {
  --primary-color: #09612D;
  --text-color: #050C15;
  --white: #ffffff;
  --grey: #F5F5F5;
  color-scheme: only light;
}

/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/

html {
    scroll-behavior: smooth;
}

body {
  font-family: "Mulish", sans-serif;
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 991px) {
body {
  font-size: 17px;
}
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

@media (min-width: 1600px) {
.container {
    max-width: 1420px!important;
}
}

.abstand {
    margin-top: 120px;
    margin-bottom: 120px;
}

.abstandpadding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.height-section {
  height: 120px;
}

.height-section-pb-5 {
  height: calc(120px - 3rem);
}

@media (min-width: 1600px) {
.hero {
    height: 100%;
    min-height: calc(100vh - 208px);
}
.hero-without {
    height: 100%;
    min-height: calc(100vh - 149px);
}
}

.hero-dienstleistungen {
    background-color: var(--grey);
}

.hero-unternehmen {
    background-color: var(--grey);
}

.hero-geschichte {
    background-color: var(--white);
}

.hero-ausbildung {
    background-color: var(--grey);
}

@media (min-width: 991px) {
.hero-spezialmaschinen {
    background-image: url(../dmxDaten/produkte/spezialmaschinen/bg-spezialmaschinen-lg.jpg) !important;
    background-position: right center;
    background-size: 50%, 100%, cover;
    background-repeat: no-repeat;
}
.hero-dienstleistungen {
    background-image: url(../dmxDaten/dienstleistungen/bg-dienstleistungen-lg.jpg) !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}
.hero-unternehmen {
    background-image: url(../dmxDaten/ueber-uns/bg-unternehmen-lg.jpg) !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}
.hero-geschichte {
    background-image: url(../dmxDaten/ueber-uns/bg-geschichte-lg.jpg) !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}
.hero-jobs {
    background-image: url(../dmxDaten/jobs/bg-jobs-lg.jpg) !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}
.hero-ausbildung {
    background-image: url(../dmxDaten/jobs/bg-ausbildung-lg.jpg) !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}
}

@media (max-width: 1199px) {
.abstandxl {
    margin-bottom: 40px;
}
}

@media (max-width: 991px) {
.abstandlg-none {
  padding-top: 0!important;
}
.abstandlg {
    margin-bottom: 40px;
}
.abstandcol-lg {
  margin-bottom: 30px;
}
.abstandpadding {
    padding-top: 80px;
    padding-bottom: 80px;
}
.height-section {
  height: 80px;
}
.height-section-pb-5 {
  height: calc(80px - 3rem);
}
}

@media (max-width: 767px) {
.abstandmd {
    margin-bottom: 40px;
}
}

@media (max-width: 575px) {
.abstandcol-sm {
  margin-bottom: 30px;
}
}

.slidescroller {
    margin-top: -148px;
    padding-top: 148px;
}

.slidescroller-lg {
    margin-top: -209px;
    padding-top: 209px;
}

@media (max-width: 1199px) {
.slidescroller {
    margin-top: -141px;
    padding-top: 141px;
}
.slidescroller-lg {
    margin-top: -141px;
    padding-top: 141px;
}
}

@media (max-width: 991px) {
.slidescroller {
    margin-top: -105px;
    padding-top: 105px;
}
.slidescroller-lg {
    margin-top: -105px;
    padding-top: 105px;
}
}

@media (max-width: 365px) {
.slidescroller {
    margin-top: -89px;
    padding-top: 89px;
}
.slidescroller-lg {
    margin-top: -89px;
    padding-top: 89px;
}
}

/*--------------------------------------------------------------
# Backgrounds
--------------------------------------------------------------*/

.bg-grey {
    background-color: var(--grey)!important;
}

.bg-green {
  background-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Typografie
--------------------------------------------------------------*/

.lead {
  font-weight: 500;
}

a {
  color: var(--primary-color);
}

a:focus, a:hover {
  color: var(--text-color);
  text-decoration: none;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h1.news-title { font-size: 42px; }
@media (max-width: 1599px) { h1.news-title { font-size: 32px; } }
@media (max-width: 1199px) { h1.news-title { font-size: 28px; -ms-hyphens: auto; hyphens: auto; } }
@media (max-width: 765px)  { h1.news-title { font-size: 28px; } }

h2 {
  font-size: 36px;
  font-weight: 700;
}

h3 {
  font-size: 28px;
  font-weight: 700; 
}

h4 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);  
}

p.lead-quote {
  font-size: 28px;
}

.marked {
  color: var(--primary-color);  
}

@media (max-width: 1599px) {
h3.card-title-news {
  font-size: 22px;
}
}

@media (max-width: 991px) {
h1 {
  font-size: 38px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
p.lead-quote {
  font-size: 24px;
}
}

@media (max-width: 767px) {
h1 {
  font-size: 32px;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 22px;
}
p.lead-quote {
  font-size: 20px;
}
h4 {
  font-size: 18px;
}
.lead {
    font-size: 18px!important;
}
}

.image-container { position: relative; }
.news-date {
    position: absolute;
    bottom: 0; left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}
.news-hidden { display: none; }

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.btn {
    padding: 0.4rem 1.15rem;
    border-radius: 0;
}

.btn-main {
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-main:hover {
  color: var(--white);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

.btn-grey {
  color: var(--text-color);
  background-color: var(--grey);
  border-color: var(--grey);
}

.btn-grey:hover {
  color: var(--white);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

.btn-outline-main {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-main:hover {
  color: var(--white);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

.btn-outline-dark {
  color: var(--text-color);
  border-color: var(--text-color);
}

.btn-outline-dark:hover {
  color: var(--white);
  background-color: var(--text-color);
  border-color: var(--text-color);
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.card {
  border: none;
  border-radius: 0;
}

.card-img-top {
  border-radius: 0;
}

.card-footer {
  background-color: inherit;
  border: none;
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-radius: 0!important;
}

.card-strassenwalzen {
  background: white;
  border: 1px solid var(--grey);
}

.card-produkte {
  height: 560px;
}

@media (max-width: 1599px) {
.card-produkte {
  height: 500px;
}
}

@media (max-width: 1199px) {
.card-produkte {
  height: 400px;
}
}

@media (max-width: 991px) {
.card-produkte {
  height: auto;
  aspect-ratio: 1 / 1;
}
}

.card-produkte-1 {
  background:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0))), url(../dmxDaten/home/bg-produkte-1.jpg);
  background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)), url(../dmxDaten/home/bg-produkte-1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card-produkte-2 {
  background:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0))), url(../dmxDaten/home/bg-produkte-2.jpg);
  background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)), url(../dmxDaten/home/bg-produkte-2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card-produkte-3 {
  background:-webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0))), url(../dmxDaten/home/bg-produkte-3.jpg);
  background:linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)), url(../dmxDaten/home/bg-produkte-3.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.stat-font {
  font-size: 46px;
  color: var(--primary-color);
}

.stat-font sup {
  font-size: 40%;
  top: -1em;
}

.stat-font up {
  font-size: 40%;
}

.stat-font-p {
  font-size: 17px;
}

.abstandcol {
  margin-bottom: 30px;
}

.table-line {
  margin-top: 5px;
  margin-bottom: 5px;
    border-top: 1px solid var(--primary-color);
}

.small-table {
  font-size: 90%;
}

.custom-select {
  -webkit-box-shadow: none!important;
          box-shadow: none!important;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

#navigation {
  z-index: 997;
  padding-bottom: 10px;
  background: var(--white);
}

.navbar-logo {
  width: 220px;
}

@media (max-width: 364px) {
.navbar-logo {
  width: 160px;
}
}

@media (max-width: 991px) {
#main-menu {
    margin-top: 20px;
    margin-bottom: 6px;
}
#navigation {
  background: var(--white);
  padding-top: 10px;
  padding-bottom: 10px;
}
}

.navbar-nav .nav-link, .nav-item {
  color: var(--text-color);
  font-size: 18px;
}

@media (max-width: 991px) {
.navbar-nav .nav-link, .nav-item {
  font-size: 17px;
  padding-top: 2px;
  padding-bottom: 2px;
}
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: var(--primary-color);
}

.navbar-nav .show > .nav-link,
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}


.navbar-toggler {
  color: var(--primary-color);
  border: none;
  padding: 0;
  outline: none!important;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--primary-color);
  color: var(--white);
}

.dropdown-item.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.collapsed .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M7 4l19 19m0-19L7 23'/%3e%3c/svg%3e");
}

.col-nav-toggler {
  max-width: 60px;
}

.language-navigation {
  margin-bottom: 10px;
}

.language-navigation a {
  color: var(--white)!important;
  font-weight: 300;
}

.language-navigation a.active {
  font-weight: 700;
}

.language-navigation-sm a {
  font-weight: 700;
  color: var(--text-color);
}

.language-navigation-sm a.active {
  font-weight: 700;
  color: var(--primary-color);
}

#sub-menu .nav-link, #sub-menu .nav-item {
    color: var(--text-color);
    font-size: 15px;
}

.subnav .navbar-nav .nav-link {
  margin: 0 6px;
  padding: 0;
}

@media (min-width: 1600px) {
.subnav .navbar-nav .nav-link {
  margin: 0 20px;
  padding: 0;
}
}

.subnav .navbar-nav .show > .nav-link,
.subnav .navbar-nav .active > .nav-link,
.subnav .navbar-nav .nav-link.show,
.subnav .navbar-nav .nav-link.active {
  border-bottom: 1px solid var(--primary-color);
}

.navbar-nav .nav-link:focus,
.navbar-nav .dropdown-toggle:focus,
.dropdown-item:focus {
    outline: none;
    -webkit-box-shadow: none;
            box-shadow: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  background-color: var(--grey);
}

.footer h3 {
  font-size: 22px;
}

a.linkfooter {
  color: var(--text-color);
}

a.linkfooter:hover {
  color: var(--primary-color);
}

@media (min-width: 992px) {
.col-footer-nav {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
            flex: 0 0 20%;
    max-width: 20%;
}
.col-footer-nav p {
  font-size: 17px;
}
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/

.carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: end;
    -webkit-box-align: end;
            align-items: end;
    width: 30px;
    color: #fff;
    text-align: center;
    opacity: .7;
    -webkit-transition: opacity .15s ease;
    transition: opacity .15s ease;
}

.carousel-control-next {
    right: 30px;
    bottom: 30px;
}

.carousel-control-prev {
    right: 70px;
    bottom: 30px;
    left: auto;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 30px;
    height: 30px;
}

.carousel-control-next-icon {
    background-image: url(../dmxDaten/icons/next-btn.svg);
}

.carousel-control-prev-icon {
    background-image: url(../dmxDaten/icons/prev-btn.svg);
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/

    .video-container {
        height: calc(100vh - 43px - 105.98px);
        width: 100%;
        position: relative;
    }


@media (max-width: 1199px) {
    .video-container {
        height: calc(100vh - 43px - 98.76px);
    }
}

@media (max-width: 991px) {
    .video-container {
        height: calc(100vh - 105.98px);
    }
}

@media (max-height: 567px) {
    .video-container {
        height: calc(575px - 98.76px);
    }
}

    .video-container video {
        width: 100%;
        height: 100%;
        position: absolute;
        -o-object-fit: cover;
           object-fit: cover;
        z-index: 0;
    }

    /* Just styling the content of the div, the *magic* in the previous rules */
    .video-container .caption {
        z-index: 3;
        position: absolute;
        text-align: left;
        color: #ffffff;
        bottom: 0;
        max-width: 100%;
    }

    .caption h1 {
        color: #ffffff;
    }

    .video-container .overlay {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: 2;
        background: rgb(0, 0, 0);
        background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 1)), color-stop(50%, rgba(0, 0, 0, 0)));
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 50%);
        opacity: 0.5;
    }

    .videosm {
        width: 100%;
        height: auto;
    }

.carousel-item.startseite {
    height: 100%;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item.startseite.image1 {
    background-image: url(../dmxDaten/home/slideshow-home-01.jpg);
    background-position: center center;
}

.carousel-item.startseite.image2 {
    background-image: url(../dmxDaten/home/slideshow-home-02.jpg);
    background-position: center center;
}

.carousel-item.startseite.image3 {
    background-image: url(../dmxDaten/home/slideshow-home-03.jpg);
    background-position: center center;
}

.carousel-item.startseite.image4 {
    background-image: url(../dmxDaten/home/slideshow-home-04.jpg);
    background-position: center center;
}

.carousel-item.startseite.image5 {
    background-image: url(../dmxDaten/home/slideshow-home-05.jpg);
    background-position: center center;
}

.carousel-item.startseite.image6 {
    background-image: url(../dmxDaten/home/slideshow-home-06.jpg);
    background-position: center center;
}

.carousel#carouselHeader {
    min-height: 400px;
}

@media (max-width: 575px) {
.carousel#carouselHeader {
  aspect-ratio: 1 / 1;
  min-height: 100%;
}
}

/*--------------------------------------------------------------
# Tiny MCE
--------------------------------------------------------------*/

.tox-tinymce {
  top: auto!important;
  bottom: 0!important;
  position: fixed!important;
}

.tox-form__group--stretched .tox-label {
  display: none!important;
}

.tox-form__group {
  margin-bottom: 10px!important;
}


        .cookie-consent-banner {
            display: none;
            bottom: 20px;
            left: 20px;
            position: fixed;
            padding: 15px 20px 15px 20px;
            width: 300px;
            text-align: left;
            max-height: 85%;
            overflow-y: auto;
            max-width: calc(100% - 40px);
            z-index: 999997;
            opacity: 1;
            font-size: 14px;
            -webkit-box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.35);
                    box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.35);
            color: #1D1D1B;
            background-color: #ffffff;
            -webkit-box-sizing: border-box;
                    box-sizing: border-box;
        }

        .cookie-consent-button {
            border: none;
            padding: 8px 16px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 14px;
            margin: 4px 2px;
            cursor: pointer;
            border-radius: 4px;
        }

        .cookie-consent-options label {
            margin: 0 10px;
            font-size: 14px;
        }

        .cookie-consent-options input {
            margin-right: 5px;
        }

        @media (max-width: 414px) {
            .cookie-consent-banner {
                bottom: 0;
                left: 0;
                width: 100%;
                padding: 15px;
                border-radius: 0;
                max-width: 100%;
                font-size: 12px;
                background-color: #ffffff;
                text-align: center;
            }
        }