/*
Theme Name: Hello Elementor Child
Theme URI: https://dev.sideways-motorsport.de
Description: Child Theme for Hello Elementor
Author URI: https://recht-und-it.de
Template: hello-elementor
Version: 1.0
 */

/* Typography */

h1{
    font-size: 56px;
    letter-spacing: 1.5px;
    line-height: 1.4;
    margin: 0;
}

h2{
    font-size: 46px;
    letter-spacing: 1.5px;
    line-height: 1.4;
    margin: 0;
}

h3{
    font-size: 38px;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

h4{
    font-size: 32px;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

h5{
    font-size: 26px;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

h6{
    font-size: 22px;
    line-height: 1.4;
}

p{
    font-size: 18px;
    letter-spacing: 1.5px;
}

@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;
    }
}

/* horizontal Line */

.hec-full-width-container{
    position: relative;
}

.hec-line{
    position: absolute;
    top: 11%;
    left: 0;
    height: 10px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    background: var(--e-global-color-secondary);
    transform: scaleX(0);
    transform-origin: left center;
}

@media (max-width: 1024px){
    .hec-line{
        display: none;
    }
}

/* Site Logo */

.rit-site-logo img{
    width: 350px !important;
}

/* Text Editor */
.rit-txt-edit-link a{
    color: var(--e-global-color-secondary);
    text-decoration: none;
}

.rit-txt-edit-link a:hover{
    text-decoration: underline;
}

/* Complianz */

.cmplz-document p{
    font-family: var(--e-global-typograhpy-text-font-family);
    color: var(--e-global-color-text);
}

.cmplz-document a{
    color: var(--e-global-color-secondary);
    text-decoration: none !important;
}

.cmplz-document a:hover{
    text-decoration: underline !important;
}

.cmplz-document h2{
    font-family: var(--e-global-typograhpy-primary-font-family);
    color: var(--e-global-color-primary);
}

/* Logo Slider */

.rit-logo-gallery .swiper-slide-image{
    max-height: 150px;
    width: auto;
}

/* Backgrounds */

@media (max-width: 1024px){
    .rit-background-mobile{
        background: rgba(250,250,250,.8);
    }
}

@media (max-height: 900px) and (orientation: landscape){
    .rit-background-mobile{
        background: rgba(250,250,250,.8);
    }
}

/* Section view */

.rit-mobile-view-section{
    display: none !important;
}

@media (max-width: 768px){
    .rit-desc-view-section{
        display: none !important;
    }

    .rit-mobile-view-section{
        display: flex !important;
    }
}

@media (max-height: 900px) and (orientation: landscape){
    .rit-desc-view-section{
        display: none !important;
    }

    .rit-mobile-view-section{
        display: flex !important;
        text-align: center !important;
    }

    .rit-mobile-view-section div{
        margin-left: auto;
        margin-right: auto;
    }
}
