html{
    /* scrollbar-gutter: stable; */
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: rgba(69, 69, 69, 1);
    line-height: 1.5;
    overflow-x: visible;
}
body{
    margin: 0;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Cardo', 'Times New Roman', Times, serif;
    font-weight: 300;
}

#pagewrap{
    padding: 0 2svw;
    box-sizing: border-box;
}
img{
    display: inline-block;
}
a{
    color: rgba(0, 0, 0, 1);
}
a:hover{
    color: rgba(5, 73, 148, 1); 
}
/* ============================================================================================================ */
/* Start General*/
/* ============================================================================================================ */
#content{
    display: flex;
    flex-direction: row;
    padding: 0 15%;
    box-sizing: border-box;
}
#content .main{
    width: 75%;
}
#content .main > .wp-block-heading:first-child{
    margin-top: 0;
}
#content .sidebar{
    width: 25%;
    padding-left: 20px;
    box-sizing: border-box;
}
ul{
    margin: 0;
    padding: 0;
}
/* ============================================================================================================ */
/* Start Header*/
/* ============================================================================================================ */
#logo{
    max-width: 250px;
    margin: 0 auto;
    padding: 2em 0;
}
#logo a{
    display: block;
}
#logo img{
    width: 100%;
    height: auto;
}
#nav a{
    font-family: 'Cardo', 'Times New Roman', Times, serif; 
    text-transform: uppercase;
    color: rgba(5, 73, 148, 1);
    text-decoration: none;
}
#nav ul{
    list-style: none;
    text-align: center;
}
#nav ul li{
    display: inline-block;
    margin: 0 5px;
    padding: 0 10px;
    font-size: 15px;
    position: relative;
}
#nav ul li .sub-menu{
    display: none; 
    position: absolute;
    background: rgba(255, 255, 255, 1);
    padding: 10px;
    box-sizing: border-box;
    top: 100%;
    left: -15px;
    z-index: 1;
    padding: 0;
    padding-top: 15px;
    width: 220px;
}
#nav ul li.menu-item-has-children:hover .sub-menu{
    display: block;
}
#nav ul .sub-menu{
    text-align: left;
    text-transform: initial; 
}
#nav ul li.menu-item-has-children .sub-menu li{
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
}
#nav ul li.menu-item-has-children .sub-menu a{
    padding: 10px 25px;
    display: block;
    text-transform: initial;
}
#nav ul li.menu-item-has-children .sub-menu a:hover{
    background: rgba(238, 238, 238, 1); 
}
/* ============================================================================================================ */
/* Start Footer*/
/* ============================================================================================================ */
#footer{
    display: flex;
    flex-direction: row;
    padding: 0 15%;
    box-sizing: border-box;
    text-align: center;
    margin: 100px 0;
    justify-content: center;
}
#footer li{
    list-style: none;
}
#footer ul li{
    display: block;
    padding: 0 10px;
    position: relative;
}
#footer ul{
    margin: 0; 
    padding: 0;
    display: flex;
    width: 100%;
}
#footer a{
    color: rgba(5, 73, 148, 1);
    font-family: 'Cardo', 'Times New Roman', Times, serif;
    font-size: 15px;
}
#footer ul li a::after {
  position: absolute;
  right: -2px;
  top: 1px;
  content: "|";
}
#footer ul li:last-child a::after{
    content: "";
}
#footer a:hover{
    color: rgba(69, 69, 69, 1); 
}
#marquee{
    flex: 0 100%;
    padding: 0 15%;
    box-sizing: border-box;
    margin-top: 40px;
}
#marquee .inside{
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(5, 73, 148, 1);
    border-bottom: 1px solid rgba(5, 73, 148, 1);
    padding: 10px 0;
    box-sizing: border-box;
}
#marquee .border-fix{
    border-top: 1px solid rgba(5, 73, 148, 1);
    border-bottom: 1px solid rgba(5, 73, 148, 1);
    padding: 2px 0;
    box-sizing: border-box;
}
#marquee ul{
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}
#marquee ul li{
    list-style: none;
    padding: 0 10px;
}
/* ============================================================================================================ */
/* Start Content*/
/* ============================================================================================================ */
#featured-img{
    min-height: 350px;
    height: 50svh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin: 40px 0;
}
#featured-img .parallax {
    height: 100%;
}
#featured-img .parallax .inside{
    height: 100%;
    background-attachment: fixed;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#featured-img .parallax .inside img{
    align-self: center;
    position: absolute;
}
#featured-img hr{
    position: absolute;
    width: 100%;
    border: 0px none;
    height: 1px;
    background-color: rgba(5, 73, 148, 1);
}
#featured-img hr.top{
    top: -12px;
}
#featured-img hr.top-2{
    top: -15px;
}
#featured-img hr.bottom{
    bottom: -12px;
}
#featured-img hr.bottom-2{
    bottom: -15px;
}

h4{
    font-size: 25px;
    font-weight: 300;
}

ul.wp-block-rss li{
    list-style: none;
    margin-bottom: 4em;
}

.wp-block-rss__item{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 80%;
}

.wp-block-rss__item .wp-block-rss__item-excerpt{
    flex: 0 100%;
}
.wp-block-rss__item-title{
    margin-bottom: 10px;
    flex: 0 80%
}
.wp-block-rss__item-title a{
    font-family: 'Cardo', 'Times New Roman', Times, serif;
    font-weight: 300;
    font-size: 18px;
    color: rgba(69, 69, 69, 1);
    text-decoration: none;
    margin-right: 20px;
    margin-bottom: 10px;
}
.wp-block-rss__item-publish-date { 
    flex-grow: 1;
    text-align: right;
}
/* ============================================================================================================ */
/* Start Subpages*/
/* ============================================================================================================ */

/* =============== Unternehmen =============== */
.page-unternehmen #featured-img .parallax .inside{
    background-position: center;
}

/* =============== Aktuelles =============== */
.page-news #featured-img .parallax .inside{
    background-position: center top; 
}
/* =============== Philosophie =============== */
.page-philosophie #featured-img .parallax .inside{
    background-position: center bottom;
}
/* =============== Sachwertkultur =============== */
.page-sachwertkultur #featured-img .parallax .inside{
    background-position: center bottom;
}
/* =============== Immobilienverwaltung =============== */
.page-immobilienverwaltung #featured-img .parallax .inside{
    background-position: center bottom;
}
/* =============== Projektentwicklung =============== */
.page-projektentwicklung #featured-img .parallax .inside{
    background-position: center bottom;
}
/* =============== Assekuranz =============== */
.page-assekuranz #featured-img .parallax .inside{
    background-position: center top;
}


/* =============== Datenschutz =============== */
.page-datenschutz ul{
    margin: 20px;
    padding: 20px;
    list-style: none;
}
.page-datenschutz ul ul{
    margin: 0;
    margin-left: 25px;
    padding: 0;
}
.page-datenschutz ul ul li{
    display: block;
    margin: 15px 0;
}
