/*
Theme Name: Hello Elementor Child
Theme URI: https://glh.recht-und-it.de
Description: Child Theme for Hello Elementor
Author URI: https://recht-und-it.de
Template: hello-elementor
Version: 1.0
 */

/* General */

body {
    overflow-x: hidden !important;
}

/* Typography */

h1{
    font-size: 56px;
    line-height: 1.4 !important;
}

h2{
    font-size: 46px;
}

h3{
    font-size: 38px;
}

h4{
    font-size: 32px;
}

h5{
    font-size: 26px;
}

h6{
    font-size: 22px;
}

p{
    font-size: 18px;
    line-height: 1.6 !important;
}

@media (max-width: 767px){

    h1{
        font-size: 36px;
    }

    h2{
        font-size: 30px;
    }
    h3{
        font-size: 26px;
    }
    h4{
        font-size: 22px;
    }
    h5{
        font-size: 20px;
    }
    h6{
        font-size: 18px;
    }
}

@media (orientation: landscape) and  (max-height: 1080px){
    h1{
        font-size: 36px !important;
    }

    h2{
        font-size: 30px !important;
    }
    h3{
        font-size: 26px;
    }
    h4{
        font-size: 22px;
    }
    h5{
        font-size: 20px;
    }
    h6{
        font-size: 18px;
    }
}

/* Text Editor */

.rit-txt-edit-link a{
    color: var(--e-global-color-accent) !important;
    text-decoration: none !important;
}

.rit-txt-edit-link a:hover{
    text-decoration: underline !important;
}

/* Header */

@media (max-width: 1024px){
    .rit-header-sec::before{
        display: none;
    }
}

/* Subtitle Animated Line */

.rit-subheadline-with-line{
    position: relative;
    width: fit-content;
    overflow: hidden;

    --line-width: 0px;
    --line-scale: 0;
    --line-gap: 24px;
}

.rit-subheadline-with-line::before{
    content: "";
    position: absolute;
    top: 50%;
    width: var(--line-width);
    height: 3px;
    background-color: var(--e-global-color-primary);
    transform: translateY(-50%) scaleX(var(--line-scale));
    pointer-events: none;
}

.rit-subheadline-with-line.left::before{
    right: calc(100% + var(--line-gap));
    transform-origin: left center;
}

.rit-subheadline-with-line.right::before{
    left: calc(100% + var(--line-gap));
    transform-origin: right center;

}

@media (max-height: 1080px) and (orientation: landscape){
    .rit-subheadline-with-line::before{
        display: none;
    }
}
@media (max-width: 1024px){
    .rit-subheadline-with-line::before{
        display: none;
    }
}

/* Container on Image */

@media (max-width: 1024px){
    .rit-mobile-container-background{
        background: rgba(250,250,250, 0.8);
    }
}

/* Content Section with Absolute Image */

.rit-absolute-img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.rit-absolute-img.right{
    left: auto;
    right: 0;
}

.rit-content-container.right{
    margin-left: auto;
    margin-right: 0;
}

@media (max-height: 1080px) and (orientation: landscape){
    .rit-abs-img-content-section .e-con-inner{
        display: block;
    }

    .rit-absolute-img{
        position: relative;
        width: 100%;
        height: 400px;
    }

    .rit-content-container.right{
        width: 100%;
    }
}

@media(max-width: 1024px){
    .rit-abs-img-content-section .e-con-inner{
        display: block;
    }

    .rit-absolute-img{
        position: relative;
        width: 100%;
        height: 400px;
    }

    .rit-content-container.right{
        width: 100%;
    }
}

/* Container Position */

.rit-container-right{
    margin-left: auto;
    margin-right: 0
}

/* Jobs */

@media (max-width: 1024px){
    .rit-job-offer-card{
        background-color: transparent;
        background-image: linear-gradient(180deg, #3C3C3C00 10%, var(--e-global-color-primary) 10%) !important;
    }
}

/* Image Gallery */
.rit-image-gallery{
    overflow: hidden;
}
