/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.type-personioposition {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.type-personioposition:first-child {
    margin-top: 30px;
}

.type-personioposition:first-child header:before {
    content: "Stellenname";
    font-weight: 600;
    position: absolute;
    top: -150%;
    left: 0;
    border-bottom: 1px solid #0FF;
    display: block;
    right: 0;
    z-index: 10;
}

.type-personioposition header h2 {
    display: inline;
    font-size: inherit;
    font-weight: 500;
    margin: 0;
}

.type-personioposition header h2 a {
    color: inherit;
    font-size: 16px;
    font-weight: 500;
}

.type-personioposition .entry-content p { margin: 0; }

.type-personioposition .entry-content {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.type-personioposition:first-child div.entry-content:first-of-type:before {
    content: "Arbeitsort und Abteilung";
    font-weight: 600;
    position: absolute;
    top: -150%;
    left: 0;
    border-bottom: 1px solid #0FF;
    display: block;
    right: 0;
    z-index: 10;
}

.type-personioposition:first-child div.entry-content:last-of-type:before {
    content: "";
    font-weight: 600;
    position: absolute;
    top: -50%;
    left: 0;
    border-bottom: 1px solid #0FF;
    display: block;
    right: 0;
    z-index: 10;
}