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

@font-face {
    font-family:'Profile-Regular';
    font-style: normal;
    font-weight: 400;
    src: local('Profile-Regular'),
    url("/fonts/PfRg____.woff2") format('woff2');
}

@font-face {
    font-family:'Profile-Bold';
    font-style: normal;
    font-weight: 400;
    src: local('Profile-Bold'),
    url("/fonts/PfBd____.woff2") format('woff2');
}

a, a:hover {
    color: #2f546e;
}

html {
    overflow-x: hidden;
    background: #1b4576;
}

body {
    overflow-x: hidden;
    font-size: 16px;
    line-height: 26px;
    font-family: "Profile-Regular",verdana,sans-serif;
    color: #2f546e;
    padding-top: 122px;
}

@media (max-width: 992px) {
    body {
        padding-top: 106px;
    }
}

@media (max-width: 500px) {
    body {
        padding-top: 100px;
    }
}
section {
    padding: 20px 0;
}

@media (max-width: 768px) {
    section {
        padding: 15px 0;
    }
}

section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}

section ul li {
    position: relative;
    padding-left: 25px;
}

section ul li:before {
    font-family: FontAwesome;
    content: "\f061";
    position: absolute;
    left: 0;
    top: -2px;
    color: #2f546e;
}

.gutter_small [class^="col"] {
    padding-left: 10px;
    padding-right: 10px;
}

.gutter_big [class^="col"] {
    padding-left: 30px;
    padding-right: 30px;
}

h1, .h1 {
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
    color: #739ab4;
}

h2, .h2 {
    font-size: 34px;
    line-height: 40px;
    margin-bottom: 20px;
    margin-top: 0px;
    font-weight: 300;
    color: #2f546e;
}

h3, .h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
    margin-top: 0px;
    font-weight: 600;
    color: #2f546e;
}

h4, .h4 {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 600;
    color: #33537c;
}

h5, .h5 {
    font-size: 16px;
    line-height: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

ul {
    padding-left: 20px;
}

@media (max-width: 768px) {
    h1, .h1 {
        font-size: 26px;
        line-height: 34px;
    }


    h2, .h2 {
        font-size: 22px;
        line-height: 28px;
    }

    h3, .h3 {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 10px;
    }
}

#preheader{
    background: #739ab4;
    padding: 10px 0;
}

#preheader img{
    height: 20px;
}

#preheader .wrapper{
    display: flex;
    justify-content: end;
}

#preheader .wrapper > a{
    display: flex;
    align-items: center;
    padding-left: 12px;
}

@media (max-width: 500px) {
    #preheader .wrapper > a span{
        display: none;
    }
}

#showNavBtn {
    display: none;
    cursor: pointer;
}

#showNavBtn img {
    height: 30px;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999999999999;
}

#main-header {
    padding: 15px 0 15px 0;
    position: relative;
    background: #1b4576;
}

#main-header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#logo {
    width: 400px;
}

#logo img {
    width: 100%;
}

.header-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.header-menu > li {
    display: inline-block;
}

.header-menu > li > a {
    display: block;
    padding: 10px 20px;
    text-transform: uppercase;
    color: #FFF;
    transition: 0.4s all;
}

.header-menu > li > a:hover {
    color: #739ab4;
    text-decoration: none;
}

.header-menu > li.current-menu-item > a , .header-menu  li.current_page_item>a , .header-menu > li.current_page_parent >a {
    color: #739ab4;
    font-weight: bold;
}

.header-menu .sub-menu{
    display: none;
    background: white;
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 9;
    min-width: 150px;
}

.header-menu .sub-menu > li > a{
    display: block;
    padding: 3px 10px;
}

.header-menu .sub-menu > li > a:hover{
    color: #739ab4;
    text-decoration: none;
}

.header-menu > li.menu-item-has-children:hover  .sub-menu{
    display: block;

}

@media (max-width: 992px) {

    #showNavBtn {
        display: block;
    }

    #main-header nav {
        order: 3;
        display: none;
        width: 100%;

    }

    .header-menu {
        margin-top: 20px;
    }

    .header-menu > li {
        display: block;
    }

    .header-menu > li > a {
        padding-left: 0;
    }

    .header-menu .sub-menu{
        display: block;
        background: unset;
        position: unset;
        min-width: unset;
    }

    .header-menu .sub-menu > li > a{
        color: white;
    }
}

@media (max-width: 768px) {

    #logo {
        width: 190px;
    }
}

footer {
    padding: 40px 0;
    background: #1b4576;
    color: white;
    font-size: 14px;
    position: relative;
}

.social_links{
    display: flex;
    margin-bottom: 50px;
}

.social_links img{
    height: 50px;
}

.social_links a{
    display: flex;
    flex-direction: column;
    margin-right: 15px;
}

.social_links a span{
    display: block;
}

footer a {
    color: white;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

@media(max-width: 768px){
    .social_links{
        margin-bottom: 15px;
    }
}

#footer_button_link{
    position: absolute;
    top: -65px;
    right: 100px;
    width: 150px;
    display: block;
}

#footer_button_link img{
    width: 100%;
}

@media (max-width: 768px) {
    #footer_button_link{
        right: 80px;
        width: 120px;

    }
}

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

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

#sidebar-icons ul li {
    padding: 0px 10px;
    background: #dc264f;
    margin-bottom: 4px;
}

#sidebar-icons ul a {
    display: block;
    padding: 10px 0;
    position: relative;
    color: white;
}

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

#sidebar-icons img {
    width: 35px;
}

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

#sidebar-icons #location_more {
    height: 165px;
    min-width: 300px;
    line-height: 22px;
    text-align: right;
    justify-content: right;
}

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

#sidebar-icons ul li:hover {
    background: #739ab4;
}

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

#intro {
    padding: 0;
    position: relative;
}

#intro #button_link {
    position: absolute;
    width: 200px;
    bottom: -50px;
    z-index: 999;
    left: calc((100vw - 1140px) / 2);
}

#intro #button_link img {
    width: 100%;
}

@media (max-width: 1400px) {
    #intro #button_link {
        width: 150px;
        left: 15px;
    }
}

@media (max-width: 992px) {
    #intro #button_link {
        width: 135px;
        bottom: 10px;
    }
}

#intro .swiper-container {
    width: 100%;
    height: 600px;
}

#intro .swiper-slide > .container {
    position: relative;
    height: 600px;
}

#intro .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 100%;
    background: white;
    opacity: 1;
}

#intro .swiper-container-horizontal > .swiper-pagination-bullets, #intro .swiper-pagination-custom, #intro .swiper-pagination-fraction {
    bottom: 10px;
}

#intro .swiper-pagination-bullet-active {
    opacity: 1;
    background: #c60280;
}

.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 60px;
    left: 0;
    width: 100%;
}


@media (max-width: 992px) {

    #intro .swiper-container {
        width: 100%;
        height: 300px;
    }

    #intro .swiper-slide {
        height: 300px;
    }

    .swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom: 5px;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {

    #intro .swiper-container {
        width: 100%;
        height: 200px;
    }

    #intro .swiper-slide {
        height: 200px;
    }
}


@media (min-width: 992px) {
    #einleitung{
        padding-top: 90px;

    }
}

.einstiege{
    padding-bottom: 60px;

}



@media (min-width: 992px) {
    #links .einstieg:nth-of-type(1),
    #links .einstieg:nth-of-type(2),
    #links .einstieg:nth-of-type(3){
        border-bottom: 2px solid #32526b;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
}

.einstiege .einstieg .description{

    margin: 20px 0;
}

@media (max-width: 992px) {

    .einstiege .einstieg{
        margin-bottom: 30px;
    }

    .einstiege .einstieg:last-of-type{
        margin-bottom: 0px;
    }

    .einstiege{
        padding-bottom: 30px;
    }
}

#para{
    background: url('/wp-content/themes/azaed/images/Zihharmonikaeffekt.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    height: 500px;
}

@media (max-width: 992px) {
    #para{
        height: 350px;
        background-position: 10% center;
    }
}
@media (max-width: 768px) {
    #para{
        height: 250px;
        background-attachment: initial;
    }
}
@media (hover: none) {
    #para {
        background-attachment: initial;
    }
}

.link_box{
    background: #dc264f;
    padding: 30px 0;
    color: white;
    font-size: 22px;
    line-height: 32px;
}

.link_box .wrapper{
    display: flex;
    align-items: center;
}


.link_box .wrapper > div:first-of-type{
    width: 250px;
    margin-right: 50px;
    margin-left: 50px;
}

#link_box_1.link_box .wrapper > div:first-of-type{
    margin-right: 0px;
}


#link_box_1 .wrapper > div:first-of-type{
    width: 300px;
}

@media (max-width: 992px) {
    .link_box .wrapper > div:first-of-type{
        margin-left: 0px;
    }
}

@media (max-width: 768px) {
    .link_box .wrapper{
        flex-direction: column;
    }

    .link_box .wrapper > div{
        text-align: center;
    }

    .link_box .wrapper > div:first-of-type{
        margin-right: 0px;
        margin-bottom: 20px;
    }
}

#link_box_2{
    background: #1b4576;
}

#link_box_2 .wrapper > div:first-of-type {
    width: 180px;
}

#link_box_2 #img_button{
    display: block;
    width: 175px;
    transform: translateY(-30px);
}

#img_button>img{
width: 100%;
}

#link_box_2, #link_box_1{
    padding: 0;
}

#link_box_2.link_box .wrapper > div:first-of-type,#link_box_1.link_box .wrapper > div:first-of-type{
    margin-left: 0px;
}

@media (max-width: 768px) {

    #link_box_2{
        padding: 30px 0;
    }
    #link_box_2 #img_button{

        transform: translateY(-0px);
    }

}

#news{
    padding: 80px 0;
}



#news .excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* number of lines to show */
    line-clamp: 6;
    -webkit-box-orient: vertical;
}


#news .excerpt p{
    margin-bottom: 5px;
}

#news h4{
    border-bottom: 1px solid #31536c;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    #news{
        padding: 30px 0;
    }
}

#info{
    padding: 60px 0;
}

@media (max-width: 768px) {
    #info{
        padding: 30px 0;
    }
}

.links{
    background: #739ab4;
    padding: 60px 0;
    color: white;
}

@media (min-width: 1200px){
    .links > .container{
        max-width: 1300px;
    }
}


.links .wrapper{
    display: flex;
}

.links .link{
    display: flex;
    flex: 1 1 0px;
    text-align: center;
    color: white;
    padding: 0 10px;
    flex-direction: column;
    justify-content: space-between;
    font-size: 20px;
    line-height: 24px;
}

.links .link:hover{
    text-decoration: none;
}

.links .link span{
    display: block;
    height: 65px;
}

.links .link img{
    height: 60px;
    margin-bottom: 15px;
}

@media (max-width: 1200px) {
    .links .link span{
        height: 80px;
    }
}

@media (max-width: 992px) {
    .links .wrapper{
        flex-wrap: wrap;
    }
    .links .link{
        flex: unset;
        width: 50%;
        margin-bottom: 30px;
    }

    .links .link span{
        height: unset;
        margin-bottom: 15px;
    }
}

@media (max-width: 476px) {

    .links .link{
        width: 100%;
        padding: 0 50px;
    }


}

#slider1{
    padding: 50px 0 80px 0;
    background: #739ab4;
}

#slider1 .h3{
    color: white;
    margin-bottom: 40px;
}

#slider1 .swiper-container{
    overflow: unset;
}

#slider1 .swiper-slide{
    width: fit-content!important;
    padding: 0 15px;
}

#slider1 .swiper-wrapper{
    align-items: center;
}

section.page {
    padding: 60px 0;
}

section.page a{
    color: #dc264f;
}

section.page .wrapper {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 40px;

}

section.page .wrapper > div {
    margin: 0 15px;
}

section.page .wrapper > .menu {
    width: 150px;
    margin-bottom: 20px;
}

section.page .wrapper > .sidebar {
    width: 350px;
    background: #739ab4;
    padding: 20px;
    color: white;
}

section.page .wrapper > .content {
    width: calc(100% - 150px);
}

section.page .wrapper.full_width   > .content{
    width: 100%;
    margin-top: 20px;
}

section.page .sidebar ul li:before {
    color: #FFF;
}

section.page .sidebar h3 {
    color: white;
    display: flex;
    align-items: center;
}

section.page .sidebar h3 img {
    height: 45px;
    margin-right: 7px;
}

section.page .menu ul {
    padding: 0;
    margin: 0;
}

section.page .menu ul li {
    padding: 0;
    margin: 0;
}

section.page .menu ul li:before {
    display: none;
}

section.page .menu ul li a {
    display: block;
    border-bottom: 1px solid lightgray;
    padding: 5px 0;
    color: #2f546e;
    text-transform: uppercase;
}

section.page .menu ul li.current_page_item a {

    color: #dc264f;
    font-weight: bold;
}


/*@media (min-width: 992px) {*/
/*    #page_2 .container > div{*/

/*        padding: 0 50px;*/
/*    }*/
/*}*/

@media (max-width: 992px) {

    section.page {
        padding: 30px 0;
    }

    section.page .wrapper > div {
        width: 100% !important;
        margin: 0;
    }

    section.page .wrapper {
        flex-direction: column;
        margin: 0;
    }

    section.page .wrapper > .menu {
        display: none;
    }
}



.blog_content  .wrapper{
    display: flex;
    flex-wrap: wrap;
}

.blog_content .left{
    width: calc(75% - 10px - 30px);
    box-sizing: border-box;
}

.blog_content .left img{
    max-width: 100%;
}

.blog_content .right{
    width: calc(25%);
    box-sizing: border-box;
    margin-left: 30px;
}

.blog_content .date{
    font-size: 14px;
    margin-bottom: 10px;
}

.blog_content .date{
    font-size: 14px;
    margin-bottom: 10px;
}

.search_post{
    background: white;
    padding: 40px 40px;
    margin-bottom: 30px;
}

#searchform{
    display: flex;
}

#searchform input{
    font-size: 14px;
    padding-left: 10px;
}

#searchform svg{
    height: 30px;
    cursor: pointer;
}

.search_block, .archive_block{
    background: #739ab4;
    padding: 20px;
}

.archive_block{
    margin-top: 20px;
    color: white;
}

.archive_block .heading{
    padding-left: 10px;
    margin-bottom: 5px;
}

.archive_block select{
    width: 100%;
    padding: 5px 7px;
    font-size: 14px;
}

.archive_block ul li:before{
    display: none;

}

.archive_block ul li {
    padding-left: 10px;
}

.post_block{
    margin-top: 10px;
}

.post_block .heading{
    padding: 10px 20px;
    background: white;
}

.post_block .blog_post{
    width: 100%;
    margin: 0;
}

.blog_post .post_thumbnail{
    width: 110px;
    margin-top: 10px;
}

.blog_post{
    background: white;
    margin: 0 10px;
    padding: 20px;
    border-top: 10px solid #eeeeee;
    font-size: 14px;
    align-self: stretch;
    width: calc(33.33% - 20px);
}

.blog_post h3{
    color: #739ab4;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 15px;
}

.blog_post h3 a:hover{
    color: #739ab4;
}

.search_post h2{
    color: #739ab4;
}

@media (max-width: 992px) {

    .blog_content .left {
        width: calc(100%);
    }

    .blog_content .right{
        width: calc(100%);
        margin-left: 0px;
    }

    .search_post {
        padding: 20px 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {

    .search_post {
        padding: 15px 15px;
    }
}

ul.pagination li{
    padding: 0;
}

ul.pagination li:before{
    display: none;
}

.ecke{
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc((100vw - 1140px) / 2 + 300px) ;
    height: 50px;
    background: white;
    border-top-left-radius: 30px;
    z-index: 9999;
}

@media (max-width: 992px) {
    .ecke{
        width: 30%;
        height: 30px;
        border-top-left-radius: 20px;
    }
}

#wpadminbar{
    z-index: 99999999999999;
}

.wpcf7{

    max-width: 400px;
}

label{
    display: block;
    width: 100%;
}

.wpcf7-form-control-wrap{
    display: block;
    width: 100%;
}

.wpcf7-text {
    display: block;
    width: 100%;
}

.wpcf7-textarea {
    display: block;
    width: 100%;
    height: 120px;
}

.wpcf7-submit{
    background: #dc264f;
    color: white;
    border: none;
    padding: 5px 30px;
    margin-top: 10px;
}

.wpcf7 form .wpcf7-response-output{
    margin: 0;
}