body {
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #424242;
    font-family: 'Titillium Web', sans-serif;
    font-weight: bold;
    hyphens: auto;
}

#site-content h2,
#site-content h2.headline-h2,
#site-content .headline-h2,
#site-content .h2 {
    font-weight: bold;
}

.headline-h3 {
    text-transform: uppercase;
}

.well {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.form-control,
.bootstrap-select .btn-default {
    background-color: #ececec;
    border-color: #ececec;
}

.auda-wrap {
    display: flex;
    flex-wrap: wrap;
}

.auda-align-center {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.auda-cr-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.auda-hv-center {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auda-space {
    padding: 20px;
}

.auda-space-xl {
    padding: 50px;
}

.auda-h-100 {
    height: 100%;
}

#section-direction-compact .service-area-open-time {
    background: #e3e3e3;
    margin: 20px 0 0;
    padding: 10px;
}

#header .header-below,
#footer #pre_area,
.auda-metall-bg {
    background: #ebebeb url('/website/themes/r-mtt.de/dynamic/fe/Sonstiges/r-metall-und-truck-trading-alu-hintergrund.jpg') center center / cover no-repeat;
}

/* RM: Buttons */
.btn-primary,
.btn-default {
    font-family: 'Titillium Web', sans-serif;
}

.btn-primary {
    border-color: #fff;
    border-width: 2px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #fff;
    border-color: #424242;
    color: #424242;
}

/* RM: Header */

/* RM: Header */
#header #logo {
    justify-content: center;
}

.header-menu-fixed #header {
    transform: translateY(-145px);
}

@media (min-width: 1380px) {
    #header #primary-menu {
        display: flex;
        justify-content: space-evenly;
    }

    #header #primary-menu > li > a {
        color: #424242;
    }
}

#header #primary-menu li a {
    font-size: 18px;
}

#header .hamburger .hamburger-label,
#header #icons-menu a,
.content-title {
    color: #424242;
}

#header .hamburger .hamburger-inner,
#header .hamburger .hamburger-inner::before,
#header .hamburger .hamburger-inner::after {
    background-color: #424242;
}

#header-slider {
    border-bottom: 0;
}

/* RM: Header - END */

/* RM: Footer */
#footer a:not(.btn) {
    color: #000;
}

#footer #after_area p {
    text-align: justify;
}

/* RM: Footer - END */

/* RM: Sliced corners */
.sliced-corners {
    display: inline-block;
    position: relative;
}

.sliced-corners::after,
.sliced-corners::before {
    content: '';
    position: absolute;
}

.sliced-corners::after {
    border-top: 80px solid #fff;
    border-right: 100px solid transparent;
    left: 0;
    top: 0;
    z-index: 5;
}

.sliced-corners::before {
    border-bottom: 110px solid #fff;
    border-left: 130px solid transparent;
    bottom: 0;
    right: 0;
    z-index: 5;
}

.sliced-corners .sliced-corners-shadow {
    align-items: center;
    background: rgb(0 0 0 / 75%);
    display: flex;
    justify-content: center;
    transition: background ease-in 0.25s;
    position: absolute;
    inset: 0;
}

.sliced-corners .sliced-corners-txt {
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

.sliced-corners:hover .sliced-corners-shadow {
    background: transparent;
}

.sliced-corners img {
    display: block;
}

/* RM: Sliced corners - END */

/* RM: Block h1 at homepage */
.block-h1 {
    padding: 50px 0;
    text-align: center;
    text-transform: uppercase;
}

.block-h1 h1 {
    font-size: 26px;
    margin: 0 0 15px;
}

.block-h1 div {
    font-size: 16px;
}

@media (min-width: 992px) {
    .block-h1 h1 {
        font-size: 32px;
    }

    .block-h1 div {
        font-size: 20px;
    }
}

@media (min-width: 1200px) {
    .block-h1 h1 {
        font-size: 42px;
    }

    .block-h1 div {
        font-size: 26px;
    }
}

/* RM: Block h1 at homepage - END */

/* RM: Parallax block on homepage: Zertifizierter Entsorgungsfachbetrieb */
.block-parallax-1 .parallax-content {
    flex-direction: column;
    text-align: center;
    text-transform: uppercase;
}

.block-parallax-1 h2 {
    color: #fff;
    text-shadow: 0 1px 2px #000;
}

@media (max-width: 479px) {
    .block-parallax-1 img {
        margin-top: 30px;
        width: 20%;
    }
}

@media (min-width: 480px) {
    .block-parallax-1 img {
        transform: translateY(-50%);
        width: 10%;
        position: absolute;
        left: 5%;
        top: 50%;
    }
}

@media (min-width: 640px) {
    .block-parallax-1 img {
        left: 10%;
    }
}

@media (min-width: 1600px) {
    .block-parallax-1 img {
        left: 15%;
        width: auto;
    }
}

/* RM: Parallax block on homepage: Zertifizierter Entsorgungsfachbetrieb - END */

/* RM: Skew elements */
.skew-element {
    overflow: hidden;
}

.skew-element > [class^='container'] {
    position: relative;
}

.skew-element h1 {
    margin: 15px 0;
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    .skew-element h1 {
        margin: 0 0 15px;
    }

    .skew-element .skew-text {
        max-width: 550px;
        padding: 50px 65px;
        position: absolute;
        z-index: 2;
    }

    .skew-element .skew-img::after {
        background: rgb(255 255 255 / 90%);
        content: '';
        z-index: 1;
        position: absolute;
        inset: -1px;
    }

    .skew-element.skew-element-right .skew-img::after {
        clip-path: polygon(70% 0, 100% 0, 100% 100%, 400px 100%);
    }

    .skew-element.skew-element-left .skew-img::after {
        clip-path: polygon(0 0, 70% 0, 400px 100%, 0 100%);
    }

    .skew-element.skew-element-left .skew-text {
        left: 0;
    }

    .skew-element.skew-element-right .skew-text {
        text-align: right;
        bottom: 0;
        right: 0;
    }
}

/* RM: Skew elements - END */

/* RM: Skew BG - END */
.skew-bg {
    position: relative;
    text-align: center;
}

@media (min-width: 768px) {
    .skew-bg img {
        max-width: 350px;
        position: relative;
        z-index: 2;
    }

    .skew-bg::after {
        background: #fff;
        content: '';
        z-index: 1;
        position: absolute;
        bottom: -1px;
        top: -1px;
    }

    .skew-bg.skew-bg-left::after {
        left: -15px;
        right: 0;
    }

    .skew-bg.skew-bg-right::after {
        left: 0;
        right: -15px;
    }

    .skew-bg.skew-bg-left::after {
        clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
    }

    .skew-bg.skew-bg-right::after {
        clip-path: polygon(0 0, 100% 0, 100% 1000%, 60% 100%);
    }
}

@media (min-width: 1200px) {
    .skew-bg img {
        max-width: 600px;
    }
}

@media (min-width: 1600px) {
    .skew-bg img {
        max-width: 700px;
    }
}

/* RM: Skew BG - END */

/* RM: Boxes with icons */
.icon-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    text-align: center;
}

.icon-box-container a {
    text-decoration: none;
}

.icon-box {
    display: flex;
    flex-flow: column wrap;
    text-align: center;
    width: 170px;
}

.icon-block {
    align-items: center;
    background: #efecec;
    border-radius: 10px;
    display: flex;
    height: 150px;
    justify-content: center;
    margin: 0 auto 15px;
    width: 150px;
}

.icon-box img {
    width: 70%;
}

/* RM: Boxes with icons - END */

/* RM: Box Unsere Markenvielfalt */
.box-markenwelt {
    padding: 50px 0;
}

.box-markenwelt .item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(0 0 0 / 25%);
    margin: 5px auto 50px;
    max-width: 200px;
}

[data-container='image-slider'].box-markenwelt .slider-content {
    padding: 0;
    bottom: -50px;
}

[data-container='image-slider'].box-markenwelt .slider-content a {
    align-items: flex-end;
    display: flex;
    justify-content: center;
    position: absolute;
    inset: 0 0 15px;
}

/* RM: Boxes with icons - END */

/* RM: Box with dark BG and text */
.text-on-dark-bg {
    overflow: hidden;
    position: relative;
}

.text-on-dark-bg p {
    font-size: 18px;
}

.text-on-dark-bg p:last-child {
    margin: 0;
}

.text-on-dark-bg .text-on-dark-bg-text > .ge-content {
    background: rgb(0 0 0 / 70%);
    color: #fff;
    padding: 30px;
    width: auto;
    z-index: 2;
}

@media (min-width: 1200px) {
    .text-on-dark-bg .text-on-dark-bg-text > .ge-content {
        max-height: 100%;
        overflow-y: auto;
    }
}

.text-on-dark-bg .text-on-dark-bg-text h3 {
    color: #fff;
}

@media (min-width: 1200px) {
    .text-on-dark-bg .text-on-dark-bg-text {
        position: absolute;
        bottom: 0;
        top: 70px;
    }

    .text-on-dark-bg .text-on-dark-bg-text > .ge-content {
        padding: 70px;
    }

    .version-1 .text-on-dark-bg-text {
        width: 40%;
        left: 70px;
        top: 70px;
    }

    .version-2 .text-on-dark-bg-text {
        width: 60%;
        left: 70px;
        top: 70px;
    }

    .version-3 .text-on-dark-bg-text {
        width: 50%;
        right: 70px;
    }

    .version-4 .text-on-dark-bg-text {
        width: 50%;
        top: 70px;
        right: 70px;
    }
}

/* RM: Box with dark BG and text - END */

/* RM: Slider elements */
.owl-theme .owl-nav {
    color: #424242;
}

.owl-theme .owl-nav button.owl-prev,
.owl-theme .owl-nav button.owl-next {
    background: transparent;
}

.owl-theme .owl-dots .owl-dot span {
    border-color: #424242;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #424242;
}

.owl-carousel {
    margin: 0 auto;
    width: calc(100% - 30px);
}

.owl-theme .owl-nav .owl-prev {
    left: -15px;
}

.owl-theme .owl-nav .owl-next {
    right: -15px;
}

/* RM: Slider elements - END */

/* RM: Misc */
.auda-py-15 {
    padding-bottom: 15px;
    padding-top: 15px;
}

.auda-pl-fa {
    padding-left: 1.55em;
}

.border-top-red {
    border-top: 1px solid #e30613;
}

.border-bottom-red {
    border-bottom: 1px solid #e30613;
}

@media (min-width: 992px) {
    .sonder-margin-1 {
        margin: 20px 0;
    }
}

/* RM: Misc - END */
