
* {
    box-sizing: border-box;
}

*::after,
*::before {
    box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: #5f5f5f;
}

body, input, select, textarea, a, p, span {
    line-height: 1.5;
}

@media only screen and (max-width: 480px) {


    body, input, select, textarea, a, p, span {
        line-height: 1.5;
    }
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
}

h1, h1 a,
h2, h2 a,
h3, h3 a,
h4, h4 a,
h5, h5 a,
h6, h6 a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

h1, h1 a {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #20539e;
}

h2, h2 a {
    font-size: 1.6rem;
}

h2.linie {
    background: url(../img/linie-ueberschrift.png) center bottom no-repeat;
    font-size: 26px;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

h3, h3 a {
    font-size: 1.4rem;
}

h4, h4 a, h5, h5 a, h6, h6 a {
    font-size: 1rem;
    color: #20539e;
}

a {
    color: #20539e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

figure,
#main figure {
    padding: 0;
    margin: 0;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

p {
    margin: 15px 0;
}

.big {
    font-size: 36px;
}

button,
input[type="submit"] {
    padding: 5px 15px;
    background: #56a9d6;
    border: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    color: #ffffff !important;
    font-size: 1em;
}

@media only screen and (max-width: 480px) {
    button,
    input[type="submit"] {
        font-size: 1em;
    }
}

button:hover,
input[type="submit"]:hover {
    background: rgba(14, 31, 51, 0.8);
}

input[type="text"],
input[type="email"],
select,
textarea {
    display: block;
    border: 1px solid #b3b3b3;
    -webkit-border-radius: 0;
    border-radius: 0;
    font-size: 1em;
}

input[type="text"],
input[type="email"],
select {
    padding: 5px 8px;
    background-color: #f0f0f0;
}

textarea {
    padding: 0 8px;
    background-color: #f0f0f0;
}

@media only screen and (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    select,
    textarea {
        font-size: 0.9em;
    }
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    height: 40px;
}

textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100px;
    min-height: 100%;
    max-height: 100%;
}

.widget {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.form-inline .widget {
    display: table;
    width: 100%;
}

.widget label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-size: 1em;
}

.form-inline .widget label {
    display: table-cell;
    width: 150px;
    vertical-align: top;
}

.form-inline input[type="text"],
.form-inline input[type="email"],
.form-inline select {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.checkbox_container span {
    display: block;
}

.checkbox_container legend {
    margin-bottom: 5px;
}


.submit_container {
    text-align: right;
}

@media only screen and (max-width: 480px) {
    .form-inline .widget,
    .form-inline .widget label,
    .form-inline input[type="text"],
    .form-inline input[type="email"],
    .form-inline select{
        display: block;
        width: 100%;
    }

    form .required,
    .submit_container {
        padding-left: 0;
    }
}

form p.error {
    padding: 0 15px;
    margin: 0 0 5px 0;
    background: #F2DEDE;
    border: 1px solid #EBCCD1;
    -webkit-border-radius: 4px 4px 4px;
    border-radius: 4px 4px 4px;
    color: #a94442;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

a.more {
    position: relative;
    padding-right: 15px;
}

a.more:after {
    content: "\f105";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 15px;
    color: #fff;
    top: 0;
    right: 0;
    z-index: 1;
}

.boxen a.more:after {
    position: initial;
    padding-left: 15px;
}

/* .mod_article:first-of-type {
    padding-top: 30px;
    padding-bottom: 50px;
} */

.mod_article:first-of-type:not(.p-0) {
    padding-top: 30px;
    padding-bottom: 50px;
}

/*************************************
*************** Header
**************************************/

#header {
    /* margin-bottom: 55px; */
    position: relative;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f8f7f8+0,8a8a8c+100 */
    background: #f8f7f8; /* Old browsers */
    background: -moz-linear-gradient(top,  #f8f7f8 0%, #8a8a8c 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #f8f7f8 0%,#8a8a8c 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #f8f7f8 0%,#8a8a8c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f7f8', endColorstr='#8a8a8c',GradientType=0 ); /* IE6-9 */
}

#header .header,
#header .intro,
.mod_jamp_googlemaps .article-inner-wrapper  {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.mod_jamp_googlemaps .btn {
    cursor: pointer;
    font-weight: bold;
}

body.standard #header .header {
    padding-bottom: 30px;
}

body.standard #header {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f8f7f8+0,e9e8e9+100 */
    background: #f8f7f8; /* Old browsers */
    background: -moz-linear-gradient(top,  #f8f7f8 0%, #e9e8e9 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #f8f7f8 0%,#e9e8e9 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #f8f7f8 0%,#e9e8e9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f7f8', endColorstr='#e9e8e9',GradientType=0 ); /* IE6-9 */

}

#header .intro {
    height: 800px;
}

#header .intro .headpic {
    position: absolute;
    right: 0;
    bottom: 125px;
}

#header .intro .boxen {
    position: absolute;
    bottom: -7px;
    color: #fff;
}

#header .intro .boxen a {
    color: #fff;
    text-decoration: none;

}

#header .intro .boxen .rs-columns,
#header .intro .boxen .rs-column {
    margin: 0;
}

#header .intro .boxen .rs-column {
    width: 25%;
}

#header .intro .boxen .rs-column .ce_text,
#header .intro .boxen .rs-column .content-text {
    padding: 20px;
    height: 180px;
    overflow: hidden;
}

#header .intro .boxen .color1 {
    background-color: #2e4d7b;
}

#header .intro .boxen .color2 {
    background-color: #445f86;
}

#header .intro .boxen .color3 {
    background-color: #77818f;
}

#header .intro .boxen .color4 {
    background-color: #9aa3ae;
}

#header .intro .text {
    font-size: 24px;
    max-width: 600px;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 250px;
    z-index: 100;
    font-weight: 300;
}

#header .intro .text .blue{
    color: #20539e;
    font-size: 42px;
}

#header .login {
    position: absolute;
    top: 15px;
    right: 0;
}

#header .login label,
#header .login input {
    float: left;
    width: 160px;
    height: 30px;
    margin-right: 15px;
    background: #fff;
}

#header .login .submit_container {
    float: left;
    position: relative;
}

#header .login .submit_container .submit {
    text-indent: -9999em;
    width: 30px;
    background: #caced4;
    margin-right: 0;
}

#header .login .submit_container .submit:focus {
    outline: none;
}

#header .login .submit_container:after {
    content: "\f090";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 15px;
    color: #77818f;
    top: 4px;
    left: 7px;;
    z-index: 1;
}

#header .login h5,
#header .login form {
    float: left;
}

#header .login h5 {
    margin-right: 15px;
    padding-top: 5px;
}

#logo {
    padding-top: 20px;
    max-width: 230px;
}

#mobileMenuButton {
    display: none;
}


/*************************************
*************** Astände
**************************************/

.p-20 {
    padding: 20px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/*************************************
*************** Listen
**************************************/

#main ul,
#main ul li,
#footer ul li,
#footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
}

#main ul,
#footer ul {
    margin: 15px 0;
}

#main ul li,
#footer ul li {
    padding-left: 15px;
}

#main ul li:after,
#footer ul li:after {
    content: "\f105";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 15px;
    color: #0076bc;
    top: 0;
    left: 0;
    z-index: 1;
}

#footer ul li:after {
    color: #fff;
}

/*************************************
*************** Main / Hauptbereich
**************************************/


.mod_article.container {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
}
@media only screen and (max-width: 767px) {
    .mod_article.container:not(.fullwidth) {
        padding: 15px;
        padding-right: 15px;
    }
}

.mod_article.fullwidth {
    width: auto !important;
}

.mod_article {
    margin-bottom: 35px;
}


.mod_article.last {
    margin-bottom: 0;
}

.mod_article.slider {
    margin-bottom: 0;
}

.grey {
    background-color: #f6f6f6;
    padding-top: 15px;

}

.grey h3 {
    color: #0075bb;
}

.rs-columns {
    margin-bottom: 25px;
}


#main .ce_gallery li,
#main .content-gallery li,
#main .ce_gallery li::after,
#main .content-gallery li::after {
    list-style: none;
    content: initial;
    padding-left: 0;
    margin-right: 1%;
    margin-bottom: 1%;
}

#main .ce_dlh_googlemaps .dlh_googlemap {
    width: 100% !important;
}

/**** News Startseite ****/

.mod_newslist {
    margin: 10px 0 40px;
}

.mod_newslist .layout_latest {
    width: 28.20513%;
    margin-right: 7.69231%;
    float: left;
}

.mod_newslist .layout_latest.last {
    margin-right: 0%;
}

.mod_newslist .layout_latest h2,
.mod_newslist .layout_latest h2 a {
    font-size: 18px;
}

.mod_newslist .layout_latest .info {
    border-bottom: 2px solid #7f8895;
    max-width: 120px;
}

.mod_newslist .layout_latest .more {
    margin: 0;
    margin-top: -15px;
}

/**** Rocksolid Slider ****/

.mod_rocksolid_slider ul li {
    padding: 0;
    margin: 0;
}

.mod_rocksolid_slider .ce_text,
.mod_rocksolid_slider .content-text {
    position: absolute;
    bottom: 60px;
    left: 15%;
    background: #fff;
    padding: 8px 25px;
    opacity: 0.9;
}

.rsts-slides {
    position: relative;
}

.mod_rocksolid_slider .ce_text p,
.mod_rocksolid_slider .content-text p {
    margin: 0;
}

.mod_rocksolid_slider a {
    color: #5f5f5f;
    margin: 0 !important;
    display: block !important;
}

.mod_rocksolid_slider .rsts-caption {
    display: none;
}

.rsts-skin-default .rsts-prev,
.rsts-skin-default .rsts-next,
.rsts-skin-default .rsts-video-play,
.rsts-skin-default .rsts-video-stop,
.rsts-skin-default .rsts-thumbs-prev,
.rsts-skin-default .rsts-thumbs-next {
    bottom: 46%;
    background-image: url(../img/arrow-left.png);
    background-color: initial;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 37px;
    width: 37px;
    right: initial;
    left: 60px;
}

.rsts-skin-default .rsts-next,
.rsts-skin-default .rsts-thumbs-next {
    background-image: url(../img/arrow-right.png);
    left: initial;
    right: 60px;
}

.rsts-skin-default .rsts-prev:hover,
.rsts-skin-default .rsts-next:hover,
.rsts-skin-default .rsts-video-play:hover,
.rsts-skin-default .rsts-video-stop:hover,
.rsts-skin-default .rsts-thumbs-prev:hover,
.rsts-skin-default .rsts-thumbs-next:hover {
    background-image: url(../img/arrow-left-hover.png);
}

.rsts-skin-default .rsts-next:hover,
.rsts-skin-default .rsts-thumbs-next:hover {
    background-image: url(../img/arrow-right-hover.png);
}


/*************************************
*************** Footer
**************************************/



#footer .footer .inner {
    width: 1170px;
    margin: 0 auto;
    padding: 30px 0;
}

#footer .footer {
    background-color: #77818f;
    color: #fff;
}

body.standard #footer .footer {
    margin-top: 55px;
}

#footer .footer-copyright {
    background-color: #445f86;
    color: #fff;
    text-align: center;
}

#footer .footer-copyright .inner {
    padding-bottom: 60px;
}

#footer a {
    color: #fff;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer h4 {
    font-size: 23px;
    color: #fff;
}

#footer .rs-columns {
    margin-bottom: 0;
}

#footer .rs-column {
    border-right: 1px solid #fff;
    min-height: 175px;
}

#footer .rs-column.-large-last {
    border: 0;
}

/*************************************
*************** Menüs
**************************************/

/**** Main-Menu / Hauptnavigation ****/

#main-menu {
    position: absolute;
    height: 50px;
    right: 0;
    top: 40px;
    overflow: visible;
}

#main-menu .level_1 > li > a,
#main-menu .level_1 > li > strong {
    color: #484848;
    font-size: 20px;
    line-height: initial;
    padding-bottom: 12px;
    height: 30px;
    padding: 5px;
    font-weight: 300;
}

#main-menu .level_1 > li {
    margin-right: 20px;
    float: left;
    list-style: none;
}

#main-menu .level_1 > li:last-child {
    margin-right: 0;
}

#main-menu .level_1 > li > a:hover,
#main-menu .level_1 > li > a.active,
#main-menu .level_1 > li.trail > a,
#main-menu .level_1 > li > strong {
    color: #2e4d7b;
    text-decoration: none;
    border-bottom: 3px solid #2e4d7b;

}

#main-menu .level_1 li:hover .level_2 {display: block;}



#main-menu .level_1 li > .level_2 {
    display: none;
    z-index: 100;
    background-color: #fff;
    overflow: hidden;
    padding: 0;
    position: absolute;
    padding-top: 10px;
}

/*#main-menu .level_1 li > .level_2:after {
    content: "\f107";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    font-size: 15px;
    color: #0076bc;
    top: 0;
    left: 44%;
    z-index: 1;
}*/

#main-menu .level_2 > li {
    float: none;
    list-style: none;

}

#main-menu .level_2 > ul {
    padding: 0;
    margin: 0;
}

#main-menu .level_2 > li > a,
#main-menu .level_2 > li > strong {
    display: block;
    padding: 10px 15px;
    color: #484848;
    margin-bottom: 1px;
}

#main-menu .level_2 > li > a:hover,
#main-menu .level_2 > li > a.active,
#main-menu .level_2 > li > strong  {
    color: #2e4d7b;
    text-decoration:none;
    border-bottom: 1px solid #2e4d7b;
    margin-bottom: 0;
}

.mm-list,
.mm-listview {
    font-size: 17px;
}


/**** Footermenu ****/

#footer .mod_customnav ul {
    margin: 0;
    padding: 0;
}

#footer .mod_customnav ul li {
    list-style: none;
    float: left;
    margin-right: 15px;
}




#toplink {
    position: fixed;
    z-index: 10;
    right: 50px;
    bottom: 80px;
    display: block;
    opacity: 0;
    width: 35px;
    height: 35px;


    text-indent: -9999em;
}

#toplink:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 10px;
    left: 12px;
    width: 34px;
    height: 34px;
    background: url(../img/scroll-up.png) no-repeat;
    background-size: 34px;
}



.mwcc-modal-window {
    background: rgba(0, 0, 0, 0.5);
}

.mwcc-modal-window a {
    color: #ffffff;
}

.map-overlay {
    position:relative;
    top: 400px;
    width: 100%;
    height: 400px;
    margin-top: -400px;
    background: transparent;
}


/************/

.box-container {
    position: fixed;
    top: 20%;
    left: 0;
    z-index: 101;
    width: 52px;
    height: 110px;
}

.box-container .box-label {
    width: 52px;
    height: 52px;
}

.box-container .box-label,
.box-container .box-label a {
    color: #ffffff;
    font-size: 11px;
    text-align: center;
}

.box-container .box-label a {
    position: relative;
    display: block;
    padding-top: 30px;
    text-decoration: none;
}

.box-container .box-label-contact {
    margin-bottom: 8px;
    background: #77818f;
}

.box-container .box-label-contact a:before {
    content: "\f003";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #ffffff;
    font-size: 20px;
    padding-right: 0.5em;
    position: absolute;
    top: 0;
    left: 18px;
}

.box-container .box-label-phone {
    background: #9aa3ae;
}

.box-container .box-label-phone a:before {
    content: "\f095";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #ffffff;
    font-size: 20px;
    padding-right: 0.5em;
    position: absolute;
    top: 2px;
    left: 18px;
}

.box-container .box {
    position: absolute;
    left: 80px;
    display: block;
    width: 322px;
    min-height: 122px;
    padding: 20px;
    background: #ffffff;
    -webkit-box-shadow: 0 0 15px -5px #000000;
    box-shadow: 0 0 15px -5px #000000;
    display: none;
}

.box-container .box a.close {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 1;
}

.box-container .box.box-kontakt {
    top: 0px;
}

.box-container .box.box-telefon {
    top: 60px;
}

.box-container .box.box-telefon span.phone {
    position: relative;
    padding-left: 40px;
    font-size: 30px;
    color: #20539e;
}

.box-container .box.box-telefon span.phone:before {
    content: "\f095";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #20539e;
    font-size: 25px;
    padding-right: 0.5em;
    position: absolute;
    top: -3px;
    left: 0;
}


/***********/

.team_img {
    border-bottom: 3px solid #20539e;
}

#cookiebar button {
    background-color: #435F86;
}


.mm-listview > li > strong,
.mm-listview > .mm-listitem > strong {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: inherit;
    display: block;
    padding: 10px 10px 10px 20px;
    margin: 0;
    background: #fff;
    color: #20539e;
}

.mm-listview > li.trail,
.mm-listview > .mm-listitem.trail,
.mm-menu .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu .mm-listview > li.mm-selected > span,
.mm-menu .mm-listitem--selected > .mm-listitem__text,
.mm-menu .mm-listitem--selected > .mm-listitem__btn {
    background: #fff;
    color: #20539e;
    font-weight: bold;
}

.sr-only,
.visually-hidden:not(.mod_mmenu) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.logos {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    background: #fff;
    padding: 1rem;
    max-width: 370px;

    position: absolute;
    top: 25px;
    left: 270px;
    z-index: 111;
}

@media only screen and (max-width: 1200px) {
    .logos {
        top: 130px;
        left: 0;
        max-width: 280px;
    }
}

@media only screen and (max-width: 991px) {
    .logos {
        display: none;
    }
}

.logos .bogenschneider-immobilien {
    width: 200px;
}

.logos .alpha {
    width: 100px;
}

#footer .footer-copyright .rte {
    display: flow-root;
}

.mm-menu--opened {
    display: block !important;
}

.rte:first-child {
    display: flow-root;
}

/*************************************
 * Mobile Navigation / mmenu
 *************************************/

.mm-menu {
    font-size: 17px;
}

/* Links und aktive Einträge */
.mm-listitem__text,
.mm-listview > li > strong {
    color: inherit;
    display: block;
    padding: 10px 20px;
    margin: 0;
    text-decoration: none;
}

/* aktiver / Trail-Eintrag */
.mm-listitem--selected > .mm-listitem__text,
.mm-listitem.trail > .mm-listitem__text,
.mm-listitem.trail > strong,
.mm-listview > li.trail > strong {
    background: #fff;
    color: #20539e;
    font-weight: bold;
}

/* Button zum Öffnen eines Untermenüs */
.mm-listitem__btn {
    color: #20539e;
}

/* Liste */
.mm-listview {
    font-size: 14px;
}

/* alte Ausgabe während der Migration weiterhin unterstützen */
.mm-listview > li > strong {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background: #fff;
    color: #20539e;
}

/* Legacy-Unterstützung */
.mm-menu .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu .mm-listview > li.mm-selected > span {
    background: #fff;
    color: #20539e;
    font-weight: bold;
}

.mm-listitem--selected,
.mm-listitem.trail {
    background: #e6e6e6;
}

.mm-listitem--selected > .mm-listitem__text,
.mm-listitem.trail > .mm-listitem__text {
    color: #20539e;
    font-weight: bold;
}

/* altes mmenu */
.mm-menu.mm-theme-white .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu.mm-theme-white .mm-listview > li.mm-selected > span {
    background: rgba(0, 0, 0, .05);
}

/* neues mmenu */
.mm-menu .mm-listitem--selected {
    background: rgba(0, 0, 0, .05) !important;
}

.mm-menu .mm-listitem--selected > .mm-listitem__text,
.mm-menu .mm-listitem--selected > .mm-listitem__btn {
    background: transparent !important;
}

.mm-menu .mm-listitem--selected {
    background: rgba(0, 0, 0, .05) !important;
}

.mm-menu .mm-listitem--selected > .mm-listitem__text,
.mm-menu .mm-listitem--selected > .mm-listitem__btn {
    background: transparent !important;
}

.mm-menu .mm-listitem--selected > .mm-listitem__text::after,
.mm-menu .mm-listitem--selected > .mm-listitem__btn::after {
    background: transparent !important;
}



.mm-menu {
    --mm-color-border: rgba(0, 0, 0, .1);
}