/*
 Theme Name:   everlearn Theme
 Description:  Das everlearn Theme
 Author:       Lars Badke
 Author URI:   https://www.larsbadke.com
 Version:      1.0
 Text Domain:  everlearn-theme
*/

/* inter-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    src: url('/fonts/inter-v20-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-100italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100;
    src: url('/fonts/inter-v20-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    src: url('/fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 200;
    src: url('/fonts/inter-v20-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 300;
    src: url('/fonts/inter-v20-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 400;
    src: url('/fonts/inter-v20-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 500;
    src: url('/fonts/inter-v20-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 600;
    src: url('/fonts/inter-v20-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 700;
    src: url('/fonts/inter-v20-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('/fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 800;
    src: url('/fonts/inter-v20-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    src: url('/fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 900;
    src: url('/fonts/inter-v20-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/zilla-slab-v12-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 300;
    src: url('/fonts/zilla-slab-v12-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/zilla-slab-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 400;
    src: url('/fonts/zilla-slab-v12-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/zilla-slab-v12-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 500;
    src: url('/fonts/zilla-slab-v12-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/zilla-slab-v12-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-600italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 600;
    src: url('/fonts/zilla-slab-v12-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/zilla-slab-v12-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* zilla-slab-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 700;
    src: url('/fonts/zilla-slab-v12-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1040px;
    }

}

html {
    margin: 0;
    padding: 0;

    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

body {
    font-size: 16px !important;
    margin: 0;
    padding: 0;
    color: #464646;
    font-family: 'inter';
    word-break: break-word;
    overflow-x: hidden;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
    font-family: 'Zilla Slab';
}

a {
    color: #1D6CA0;
}

a:focus, a:hover {
    color: #1D6CA0;
    text-decoration: underline;
}

/* -------------------------------------------- */
/* ----------------- HEADER ------------------- */
/* -------------------------------------------- */


header {
    background: #FFF;
    padding: 50px 0 20px 0;
}

#logo {
    display: inline-block;
    width: 200px;
    height: auto;
}

#logo img {
    width: 100%;
}

@media (max-width: 1200px) {

    #logo {
        display: inline-block;
        width: 175px;
        height: auto;
    }

}

@media (max-width: 992px) {

    header {
        padding-top: 15px;
    }

}

/* -------------------------------------------- */
/* ----------------- PAGE ------------------- */
/* -------------------------------------------- */

.big-gutters {
    margin-right: -30px;
    margin-left: -30px;
}

.big-gutters > [class*="col-"] {
    padding-right: 30px;
    padding-left: 30px;
}

.small-gutters {
    margin-right: -5px;
    margin-left: -5px;
}

.small-gutters > [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}


.h1, h1 {
    font-size: 2.0rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 50px;
}

.h2, h2 {
    font-size: 36px;
    line-height: 36px;
    text-align: center;
    font-weight: 600;
    background: white;
    padding: 5px 7px;
    color: black;
    margin-bottom: 40px;
}

.h3, h3 {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.block {
    padding: 80px 0;
}

@media (max-width: 992px) {
    .block {
        padding: 40px 0;
    }

    .h1, h1 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .h2, h2 {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 30px;
    }

}

.block ul {
    padding-left: 15px;
}

.intro_text_block .h1 {
    margin: 0;
    font-size: 54px;
    line-height: 54px;
    text-align: center;
    font-weight: 800;
    background: white;
    text-transform: unset;
    padding: 10px 20px;
    color: black;
}

.intro_text_block {
    padding: 0;
}

.intro_text_block .content_ctr {
    background: white;
    padding: 20px 60px 0 60px;
    font-size: 20px;
}

.intro_text_block .content_ctr p {
    margin: 0;
}

@media (min-width: 992px) {

    .intro_text_block .content_ctr .inner {
        max-width: 75%;
    }
}

@media (max-width: 992px) {
    .intro_text_block .h1 {
        font-size: 36px;
        line-height: 36px;
    }

    .intro_text_block .container {
        padding: 0;
    }

    .intro_text_block .content_ctr {
        background: white;
        padding: 20px 30px;
        font-size: 18px;
    }
}


/* -------------------------------------------- */
/* ----------------- FOOTER ------------------- */
/* -------------------------------------------- */

#prefooter {
    font-size: 24px;
    line-height: 30px;
    color: black;
}

#prefooter .wrapper {
    display: flex;
    flex-direction: column;
    padding: 30px 60px;
}

#prefooter .wrapper > div:last-of-type {
    text-align: end;
}

#prefooter a {
    color: inherit;
}

#prefooter a:hover {
    color: inherit;
    text-decoration: unset;
}

#prefooter hr {
    border-top: 1px solid rgb(76, 75, 75);
}

@media (max-width: 992px) {

    #prefooter {
        font-size: 20px;
        line-height: 26px;
    }

    #prefooter .wrapper {

        padding: 20px 0px;
    }

    #prefooter .wrapper > div:last-of-type {
        text-align: start;
    }
}


footer#main-footer {
    font-size: 14px;
    padding: 0 0 60px 0;
}

footer#main-footer  a{
    color: inherit;
}

#block_page_layout_6 img {
    max-width: 300px;
}

@media (max-width: 992px) {

    .image_text_block img {

        max-width: 300px;
    }
}

#sidebar-icons {
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 999999;
    transform: translateY(-50%);
}

#sidebar-icons ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#sidebar-icons ul li {
    padding: 0px 10px;
    height: 75px;
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffeff;
    margin-bottom: 4px;
}

#sidebar-icons ul a {
    display: block;

    position: relative;
    background: #fffeff;
}

#sidebar-icons ul li:last-of-type a {
    border-bottom: none;
}


#sidebar-icons .more {
    position: absolute;
    left: -9px;
    top: 0;
    transform: translateX(-100%);
    background: #fffeff;
    height: 100%;
    display: none;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
}


#sidebar-icons ul li:hover .more {
    display: flex;
}

#sidebar-icons ul a:hover {
    background: #dddddd;
}

#sidebar-icons ul li:hover, #sidebar-icons ul a:hover {
    background: #dddddd;
}

@media (max-width: 768px) {
    #sidebar-icons {
        top: 99%;
        transform: translateY(-100%);
    }
}

.heading_text_block{
    padding: 0;
    background: #E6E6E6;
    background: linear-gradient(90deg,rgba(230, 230, 230, 1) 0%, rgba(147, 148, 153, 1) 100%);
}

.heading_text_block .container{
    padding: 0;
}

.heading_text_block .content_ctr{
    font-size: 36px;
    line-height: 46px;
    font-family: 'Zilla Slab';
    font-weight: 600;
    color: black;
    padding: 55px 30px;

    text-align: center;

    background: url('/wp-content/themes/everlearn/images/farbbalken_cases-und-insights_neu.webp');
    background-color: #e8e8e8;
    background-size: 1040px;
    background-repeat: repeat-y;
    background-position: center center;
}

.heading_text_block .content_ctr .bg{
    display: inline-block;
    background: white;
    padding: 2px 15px;
}

.heading_text_block .content_ctr p{
    margin: 0;
}

/*.heading_text_block .image_ctr{*/
/*    background: url('/wp-content/themes/everlearn/images/farbbalken_unter_header_neu.webp');*/
/*    background-size: cover;*/
/*    height: 30px;*/
/*    background-repeat: repeat-y;*/
/*}*/

@media (max-width: 992px) {

    .heading_text_block .image_ctr{
        background-size: contain;
    }

    .heading_text_block .container{
        padding: 0;
    }

    .heading_text_block .content_ctr{
        font-size: 24px;
        line-height: 30px;
        padding: 15px 15px;
        background-size: cover;
    }
}

.intro_text_block{
    background: #E6E6E6;
    background: linear-gradient(90deg,rgba(230, 230, 230, 1) 0%, rgba(147, 148, 153, 1) 100%);
}

.intro_text_block .image_ctr{
    background: url('/wp-content/themes/everlearn/images/farbbalken_header_neu.webp');
    background-size: cover;
    display: flex;
    padding: 40px 40px;
    align-items: center;
    justify-content: center;
    background-repeat: repeat-y;
}

@media (max-width: 768px) {
    .intro_text_block .image_ctr{
        background-size: contain;
    }
}

.hintergrund_bild_text_block{
    padding: 0;
    min-height: 500px;
}

.hintergrund_bild_text_block .content_ctr{
    background: white;
    max-width: 60%;
    padding: 20px 60px;
}

@media (max-width: 992px) {

    .hintergrund_bild_text_block .container{
        padding: 0;
    }

    .hintergrund_bild_text_block .content_ctr{
        padding: 0 30px 20px 30px;
        max-width: 100%;
    }
}

.heading_content_block h2 {
    margin: 0;
}

.heading_content_block {
    padding: 0;
    background: #E6E6E6;
    background: linear-gradient(90deg,rgba(230, 230, 230, 1) 0%, rgba(147, 148, 153, 1) 100%);
}

.heading_content_block .content_ctr {
    background: white;
    padding: 20px 40px 20px 40px;
}


.heading_content_block .image_ctr{
    background: url('/wp-content/themes/everlearn/images/farbbalken_header_neu.webp');
    background-size: cover;
    display: flex;
    padding: 20px 40px;
    background-repeat: repeat-y;
}


@media (max-width: 992px) {

    .heading_content_block .container {
        padding: 0;
    }

    .heading_content_block .content_ctr {
        background: white;
        padding: 20px 15px;

    }
}
@media (max-width: 415px) {
    .heading_content_block .image_ctr{
        background-size: contain;
    }
}

.cases_block{

    padding: 0;
    background: #E6E6E6;
    background: linear-gradient(90deg,rgba(230, 230, 230, 1) 0%, rgba(147, 148, 153, 1) 100%);
}

.cases_block .bg{

    background: url('/wp-content/themes/everlearn/images/farbbalken_cases-und-insights_neu.webp');
    background-color: #e8e8e8;
    background-size: 1010px;
    background-repeat: repeat-y;
    padding: 40px 0;
    background-position: center center;
}


@media (min-width: 1200px) {

    .row{
        margin-left: -45px;
        margin-right: -45px;
    }
}

.cases_block h2{
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 50px;
}

.cases_block .text{
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 10px;
    font-size: 14px;
    height: 100%;
}

.cases_block .text hr {
    border-top: 1px solid black;
}

@media (max-width: 992px) {

    .cases_block .container{
        padding: 0;

    }
}

.person_bild_text_block {
    background: #cdd1d0;
    padding: 0;
}

.person_bild_text_block .wrapper{
    display: flex;
}

.person_bild_text_block .wrapper > div{
    width: 50%;
}
.person_bild_text_block .wrapper > div img{
    width: 100%;
}

.person_bild_text_block .wrapper > div:first-of-type{
    padding-left: calc((100vw - 1040px) / 2);
    padding-top: 40px;
    padding-right: 60px;
    padding-bottom: 40px;
}

@media (min-width: 2600px) {
    .person_bild_text_block .wrapper > div:first-of-type{

        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media(max-width: 992px){
    .person_bild_text_block .wrapper{
        flex-direction: column;
    }
    .person_bild_text_block .wrapper > div{
        width: 100%;
        padding: 30px 15px!important;
    }

    .person_bild_text_block .wrapper   .image_ctr{
        height: 400px;
    }
}

@media(max-width: 768px){

    .person_bild_text_block .wrapper   .image_ctr{
        height: 300px;
    }
}



.read_more_ctr {
    display: none;
}

.read_more_btn {
    cursor: pointer;
    margin: 0;
    text-decoration: underline;
    font-weight: bold;
}

.read_more_btn_ctr {
    position: relative;
    width: 100%;
    height: 20px;
    margin-bottom: 30px;
    z-index: 99;
    text-align: left;
}

.read_more_btn:hover {
    text-decoration: underline;
}
