/* Logo Fix */
.nav-bar .logo svg {
    margin-bottom: -3px !important;
}

/* Custom Navigation */
.mr-custom-nav {
    background-color: #fff;
    -moz-box-shadow: 0 2px 1.5em rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 2px 1.5em rgb(0 0 0 / 15%);
    box-shadow: 0 2px 1.5em rgb(0 0 0 / 15%);
}

.mr-custom-nav > .container {
    display: flex;
    color: #000;
}

.mr-custom-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #000;
    font-family: 'Inter';
}

.mr-custom-nav-menu-container ul li a {
    display: block;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    letter-spacing: 0xp;
    box-sizing: border-box;
}

.mr-custom-nav-menu-container ul li ul {
    position: absolute;
    top: auto;
    z-index: 999;
    padding-top: 0px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.09);
    margin-top: 3px;
}

.mr-custom-nav-menu-container ul:after {
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    clear: both;
    visibility: hidden;
}

.mr-custom-nav-menu > li {
    width: auto;
    float: left;
    border-bottom: 3px solid transparent;
}

.mr-custom-nav-menu > li:hover {
    border-bottom: 3px solid #ffa600;
}

.mr-custom-nav-menu > li:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    z-index: 0;
    background: transparent;
    -webkit-transition: height .2s;
    -moz-transition: height .2s;
    -ms-transition: height .2s;
    -o-transition: height .2s;
    transition: height .2s;
}

.mr-custom-nav-menu > li:hover:after {
    height: 100%;
}

.mr-custom-nav-menu > li:hover > ul {
    left: 0;
}

.mr-custom-nav-menu > li:hover > ul > li {
    max-height: 72px;
    position: relative;
}

.mr-custom-nav-menu > li > a {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    z-index: 2;
}

.mr-custom-nav-menu > li > a:first-child {
    padding-left: 0px;
}

.mr-custom-nav-menu li {
    position: relative;
    margin-right: 20px;
}

.mr-custom-nav-menu a {
    color: #000;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.mr-custom-nav-menu li ul {
    display: none;
    position: absolute;
    background-color: #fff;
    left: 0;
    top: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
}

.mr-custom-nav-menu li ul li {
    width: 200px;
    max-height: 0;
}

.mr-custom-nav-menu li ul li a {
    padding: 10px 15px;
}

.mr-custom-nav-menu li ul li a:hover {
    color: #52b7c1;
}

.mr-custom-nav-menu li:hover > ul {
    display: block;
}

.mr-custom-nav-menu-search {
    display: flex;
}

.mr-custom-nav-menu-search form {
    display: flex;
    align-items: center;
}

.mr-custom-nav-menu-search input {
    margin-right: 10px;
}

@media (max-width: 1024px) {
    .mr-custom-nav {
        display: none;
    }
}

@media (min-width: 1025px) {
    .navbar {
        display: none !important;
    }
}

/* Features Fix */
.features .container .featuresWrapper {
    overflow: hidden;
    flex-wrap: wrap;
}

.features .container .featuresSingle .title {
    font-weight: 700;
}

.features .container .featuresWrapper > .w-48 {
    width: auto;
    display: contents;
}

@media (max-width: 488px) {
    .features .container .featuresWrapper > .w-48:nth-child(3) > .featuresSingle,
    .features .container .featuresWrapper > .w-48:nth-child(4) > .featuresSingle {
        margin-top: 20px;
    }
}

@media (min-width: 489px) and (max-width: 608px) {
    .features .container .featuresWrapper > .w-48:nth-child(3) > .featuresSingle {
        margin-top: 0px;
    }

    .features .container .featuresWrapper > .w-48:nth-child(4) > .featuresSingle {
        margin-top: 20px;
    }
}

/* Contact Form 7 */
.wpcf7-form [type=submit] {
	background-color: #52b7c1;
	width: 100%;
    font-size: 1em;
    padding: 10px 15px;
}

.wpcf7-form input:not([type="radio"]):not([type="checkbox"]),
.wpcf7-form textarea {
	width: 100%;
}

.wpcf7-form p > label {
	font-weight: 700;
	font-size: 16px;
	margin: 0 0 4px 0;
	padding: 0;
}

/* Master Slider */
.master-slider-parent.cdu-font-preset .ms-anim-layers .ms-layer {
	padding: 10px 10px 11px 22px !important;
	font-size: 55px !important;
	transform-origin: none !important;
	height: initial !important;
	width: initial !important;
}

@media only screen and (max-width: 768px) {
	.master-slider-parent.cdu-font-preset .ms-anim-layers .ms-layer {
		padding: 10px 10px 10px 22px !important;
		font-size: 40px !important;
	}
}

@media only screen and (max-width: 1024px) {
	.master-slider-parent.cdu-font-preset .ms-anim-layers .ms-layer {
		font-size: 40px !important;
	}
}

/* allgemeine Anpassungen */
.hero.bg-unionstuerkis,
html body.archive{
	margin-top: 0px !important;
}

.flex {
	display: flex;
}

/* Gutenberg Anpassungen */
.wp_content a {
	text-decoration: none;
}

.wp_content a:focus, .wp_content a:hover {
	color: #fff;
}

/* Social Media */

.socialmedia-sidebar {
    z-index: 9999;
}

/* Anpassungen Jann Christian */
.nav-bar .title-wrapper {
    display: flex !important;
    flex-direction: column !important;
}

.nav-bar .logo {
    flex-direction: row !important;
    align-items: center !important;
}

.nav-bar .logo span {
    padding-left: 0.5em !important;
}

#content {
    position: relative;
}

.background-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('../img/neuvrees.jpg'), rgb(255,255,255,0.25);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  z-index: -1;
}

.lightweight-accordion-body {
    background-color: #fff;
}

#sb_instagram {
    background-color: #fff;
    padding: 12px;
}

.p-12 {
    padding: 12px;
}

.sbi_follow_btn.sbi_custom a {
    margin-top: 5px !important;
}

.stretch-hack {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.wpcf7-form p > label {
    background-color: #2d3c4b;
    color: #fff;
    font-family: Inter, sans-serif;
    padding: .25em 1em;
}

@media (max-width: 600px) {
    .nav-bar .logo {
        flex-direction: row !important;
        align-items: center !important;
        min-height: 70px !important;
        justify-content: center;
    }

    .nav-bar .logo .name {
        font-size: 14px !important;
        padding-top: 0px !important;
        padding-bottom: 4px !important;
    }
}

@media (max-width: 768px) {
    .nav-bar .logo {
        padding-left: 0rem !important;
    }

    .nav-bar .logo span {
        font-size: 10px;
        line-height: 10px;
        padding-left: 4px !important;
        padding-right: 36px;
    }

    .mobile-no-float .alignleft {
        float: none !important;
    }
}
