/* Theme Name: 2code Theme 
Theme Description: 2code Theme Für Kiner & Ege
Theme URI: secret;
Version: 1.0
Author: 2code Ug;
Author URI: https://2-code.de;
Tags: theme,responsive;
*/
@import url('bootstrap/css/bootstrap.min.css');
@import url('css/iconfont/style.css');
/* default settings */

.wp-caption,.wp-caption-text,.screen-reader-text,.gallery-caption,.bypostauthor,.alignright,.alignleft,.aligncenter 
{}

html
{
    margin-top:0 !important;
}

*{
    font-display: swap;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size:23px;
    color:#848490;
    background-color:#fafafa;
    font-weight:400;
    line-height:1.5;

}

img {
    height: auto; 
    max-width: 100%;
}

.top-image > a > img, .top-image > img{
    width: 100%;
}

h1{
    font-family: 'Rajdhani', sans-serif;
	font-size:40px;
	font-weight:500;
	margin-bottom:35px;
    text-align: center;
    color: #444444;
}

h1:before{
    font-family: flaticon;
    font-weight: 500;
    border: 2px solid #444444;
    padding: 20px;
    border-radius: 20px;
    margin-right: 15px;
}

h2{
    font-family: 'Rajdhani', sans-serif;
	font-weight:normal;
	font-size:40px;
	margin-bottom:40px;
    margin-top:40px;
    color:#444444;
    text-align: center;
}

h3{
    font-family: 'Rajdhani', sans-serif;
    font-weight:bold;
    font-size:30px;
    color:#58595b;
    margin-bottom:0;
    margin-top:0;
}

ul{
	padding:0;
	margin:0;
}

.contact-form input, .contact-form textarea{
    width:100%;
}

a{
    color:#848490;
}

a:hover{
    color:#848490;
    text-decoration:none;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    z-index: 999;
    padding-bottom:15px;
    background-color:rgba(256,256,256,0.9);
    border-bottom: 3px solid #74B320;
    /* neu: */
    height: 145px;
    transition: all 1s;
}

footer{
    margin-top: 100px;
}

.navbar-default{
    background-color:transparent;
    border:none;
    float:left !important;
    margin-bottom:0;
}

.navbar-header{
    width:100%;
    float:left;
    margin-left:auto;
    margin-right:auto;
}

.content{
    width:100%;
    float:left;
}

.custom_nav ul li{
    display:inline;
}

.custom_nav ul li a{
    padding-left:30px;
    padding-right:30px;
    padding-top:10px;
    padding-bottom:10px;
    color:black;
    text-transform:uppercase;
    font-size:15px;
}

header .logo{
    /* margin-top: 20px; */
    margin-left: 50px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    width: 100%;
}

header .navbar{
    padding-top: 20px;
    float: right;
    margin-top: 42px;
    margin-right: 20px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

header .navbar li a{
    font-family: 'Rajdhani', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #444444;
    padding-bottom: 15px;
    -webkit-transition: color 0.5s ease-in-out;
    -moz-transition: color 0.5s ease-in-out;
    -ms-transition: color 0.5s ease-in-out;
    -o-transition: color 0.5s ease-in-out;
    transition: color 0.5s ease-in-out;
}

header .navbar li{
    margin: 5px 10px 5px 15px;
}

header .navbar li:hover > a, header .navbar li.current-menu-item > a, header .navbar li.current-menu-parent > a{
    color: #74B320;
}

header .navbar li.current-menu-item > a, header .navbar li.current-menu-parent > a{
    font-weight: 800;
}

header .navbar .navbar-nav > li:not(:last-child):after{
    content: ".";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #74B320;
    border-radius: 2px;
    color: transparent;
    position: relative;
    top: 12px;
    margin-left: 20px;
}


header .sub-menu{
    visibility: hidden;
    position: absolute;
    background-color: rgba(256,256,256,0.9);
    padding: 10px;
    margin-left: -15px;
    border-bottom: 2px solid #74B320;
    margin-top: 8px;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

header li:last-child .sub-menu{
    right: 0;
}

header .sub-menu li{
    list-style-type: none;
}

header .sub-menu li a{
    font-size: 22px;
}

header .navbar li:hover .sub-menu{
     visibility: visible;
    opacity: 1;
}

.mainfooter{
    float: left;
    width: 100%;
    background-color: #444444;
    border-top: 3px solid #74B320;
    color: #FFFFFF;
    font-size: 15px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.mainfooter h3{
    font-size: 23px;
    color: #FFF;
    margin-bottom: 10px;
}

.mainfooter p{
    margin-bottom: 2px;
    font-weight: 100;
}

.bottom-footer{
    float: left;
    width: 100%;
    background-color: #C8C8C8;
    font-size: 15px;
    color: #444444;
    padding-top: 40px;
    padding-bottom: 40px;
}

.bottom-footer .navbar{
    padding-top: 0;
    padding-bottom: 0;
    float: right;
}

.bottom-footer li a{
    color: #444444;
}

.bottom-footer .navbar-nav > li{
}

.bottom-footer .navbar-nav > li:not(:last-child):after{
    content: "|";
    margin-left: 5px;
    margin-right: 5px;
}

.big-slider{
    max-height: 100vh;
    overflow: hidden;
}

.big-slider .slide{
    position: relative;
}

.big-slider img{
    width: 100%;
}

.big-slider .description{
    position: absolute;
    background-color: #74B320CC;
    color: #FFF;
    font-family: 'Rajdhani', sans-serif;
    font-size: 50px;
    text-align: right;
    padding: 40px;
    top: 60vh;
    right: 0;
    max-width: 680px;
    font-weight: 500;
    font-style: unset;
    margin-bottom: 0;
}

.head-title h1{
    margin-top: 150px;
} 

.maincontent{
    padding-top: 40px;
    color: #444444;
}

.inner-content p{
    margin-bottom: 30px;
}

ul:not(.navbar-nav) li{
    list-style-type: none;
    margin-bottom: 10px;
}

ul:not(.navbar-nav) li:before{
    content:  '\f138';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: relative;
    top: 1px;
    margin-right: 20px;
    color: #74B320;
    font-size: 20px;
}

ul.sub-menu:not(.navbar-nav) li:before {
    font-size: 18px;
}

.green_seperator{
    background-image: url(img/green_background.jpg);
    background-size: cover;
    float: left;
    width: 100%;
    height: 30px;
    margin: 60px 0;
}

.single-proficiency-page .maincontent{
    margin-bottom: 80px;
}

.single-proficiency-page h1{
    margin-top: 50px;
}

.bottom-content ul{
    margin-bottom: 30px;
}

.bottom-content ul li, .bottom-content a{
    color: #74B320;
}

.proficiencies-wrapper{
    padding-top: 50px;
}

.prof-box{
    font-size: 15px;
    margin-bottom: 60px;
}

.proficiencies-wrapper h1{
    margin-bottom: 50px;
}

.prof-box .title{
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    width: 100%;
    display: block;
    margin-top: -8px;
    font-weight: 500;
}

.prof-box i{
    font-family: flaticon;
    font-weight: 500;
    border: 2px solid #444444;
    padding: 15px;
    border-radius: 20px;
    margin-right: 15px;
    font-style: normal;
    color: #444;
    font-size: 50px;
}

.prof-box .left, .prof-box .right{
    float: left;
    width: 28%;
}

.prof-box .right{
    width: 72%;
}

a.greenlink{
    color: #74B320;
}

a.greenlink:before{
    content: url(img/small_arrow.jpg);
    margin-right: 8px;
    margin-left: 1px;
    position: relative;
    top: 4px;
}

.contact-box{
    background-image: url(img/green_background.jpg);
    background-size: cover;
    background-position: center;
    padding: 70px 0;
    color: #FFF;
}

.contact-box h2{
    color: #FFF;
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-box a{
    margin-left: 8px;
    margin-right: 8px;
    border: 1px solid #FFF;
    border-radius: 5px;
    font-size: 21px;
    font-family: 'Rajdhani', sans-serif;
    color: #FFF;
    padding: 2px 20px;
    margin-top: 20px;
    display: inline-block;
}

.headerimage{
    position: relative;
}

.head-title{
    position: absolute;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    text-align: center;
}

.head-title h1{
    background-color: #74B32080;
    font-size: 50px;
    color: #FFF;
    padding: 40px;
    display: inline-block;
    width: 40%;
}

.filter{
    padding-top: 80px;
    padding-bottom: 80px;
}

.filter input, .filter select{
    float: left;
    width: 100%;
    background-color: #EEEEEE;
    border: 1px solid #444;
    border-radius: 3px;
    text-transform: uppercase;
    color: #74B320;
    font-size: 20px;
    text-align: left;
    font-weight: 600;
    padding-left: 5px;
    height: 32px;
    font-family: 'Rajdhani', 'Font Awesome 5 Free', sans-serif;
}

.filter input[type="submit"]{
    cursor: pointer;
}

.post-display{
    font-size: 15px;
    margin-bottom: 50px;
}

.post-display img{
    border: 4px solid #74B320;
    margin-bottom: 30px;
}

.post-display .left, .post-display .right{
    float: left;
    width: 20%;
    margin-bottom: 45px;
}

.post-display .right{
    width: 80%;
}

.post-display h2{
    font-size: 23px;
    text-align: left;
    margin: 0;
    margin-bottom: 5px;
}

.post-display .greenlink{
    float: right;
}

.post-display i{
    font-family: flaticon;
    font-weight: 500;
    border: 2px solid #444444;
    padding: 15px;
    border-radius: 20px;
    margin-right: 15px;
    font-style: normal;
    color: #444;
    font-size: 52px;
}

.post-display .post-content{
    float: left;
    width: 100%;
}

.single-post h1{
    text-align: left;
    margin-top: 50px;
    margin-bottom: 20px;
}

.single-post .headerimage{
    margin-bottom: 70px;
    padding: 50px 0;
    margin-top: 175px;
}

.single-post .details{
    font-size: 18px;
}

.headerimage img{
    width: 100%;
}

.team-view{
    text-align: center;
    margin-bottom: 80px;
    font-size: 15px;
}

.team-view img{
    max-width: 80%;
}

.team-view .inner-wrapper{
    padding: 30px;
}

.description{
    font-style: italic;
    margin-bottom: 30px;
}

.team-view h3{
    font-size: 30px;
    background-color: #90c24d;
    width: 100%;
    margin-bottom: 15px;
}

a.green{
    color: #74B320;
}

.info-box{
    margin-bottom: 90px;
}

.info-box .inner-wrapper{
    border-radius: 10px;
    border: 1px solid #444444;
    overflow: hidden;
}

.info-box .top-image{
    position: relative;
}

.info-box h3{
    font-family: 'Rajdhani', sans-serif;
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #74B320CC;
    padding: 5px 50px;
    font-size: 28px;
}

.info-box .content{
    background-color: #EEEEEE;
    padding: 20px 50px;
    font-size: 15px;
}

.contactform{
    margin-top: 30px;
    margin-bottom: 80px;
}

.contactform input, .contactform textarea{
    float: left;
    width: 100%;
    background-color: #EEEEEE;
    border: 1px solid #444;
    border-radius: 3px;
    color: #74B320;
    font-size: 20px;
    text-align: left;
    font-weight: 600;
    padding-left: 10px;
}

.contactform .row{
    margin-bottom: 40px;
}

.greentext{
    color: #74B320;
}

.contactform input.checkbox{
    margin-right: 5px;
    position: relative;
    top: 11px;
}

.contactform input.checkbox, .contactform input.submit{
    width: auto;
}

.contactform .submit{
    background-color: #FFF;
    box-shadow: none;
    border: 1px solid #444;
    border-radius: 3px;
    cursor: pointer;
}

.contactform .submit:before{
    content: url(img/small_arrow.jpg);
    margin-right: 8px;
    margin-left: 1px;
    position: relative;
    top: 1px;
}

.contact-box.addresses h3{
    color: #FFF;
    margin-top: 15px;
    font-size: 23px;
}


.contact-box.addresses .col-lg-3{
    width: 50%;
    max-width: 50%;
    flex:  0 0 50%;
}

.contact-box.addresses p{
    margin-bottom: 0;
}

.findme{
    display: none !important;
}

.image-text-box{
    margin-top: 60px;
    margin-bottom: 80px;
}

.image-text-box img{
    width: 100%;
}


.image-text-box .text-center h2{
    margin-bottom: 80px;
}


.image-text-box h3{
    margin-bottom: 50px;
    font-weight: 500;
}

.image-text-box a{
    background-color: #FFF;
    box-shadow: none;
    border: 1px solid #444;
    border-radius: 3px;
    cursor: pointer;
    padding: 2px 8px;
    margin-top: 15px;
    display: inline-block;
}

.image-text-box a:before {
    content: url(img/small_arrow.jpg);
    margin-right: 8px;
    margin-left: 1px;
    position: relative;
    top: 1px;
}

.phonelink:before{
    content: '\f879';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 18px;
}

.maillink:before{
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 18px;
}

/* neu */
.smallerHeader{
    height: 105px;
}
/* --- */

.smallerHeader .logo{
    width: 50%;
    /* neu: */
    margin-top: 20px; 
}

.smallerHeader .navbar{
    margin-top: 13px;
}

.single-post .headerimage{
    position: relative;
    background-size: cover;
}

.single-post .green_overlay{
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #74B320EE;
}

.single-post .headerimage .container{
    z-index: 1;
    position: relative;
}

/* responsive  */
.navbar-toggler{
    background-color: #74B320CC;
    border: none;
}

.navbar-toggler span:nth-child(1) {
    transform: translate(0%, 0%) rotate(0deg);
}
.navbar-toggler span:nth-child(1) {
    margin-top: 0.3em;
}
.navbar-toggler span {
    display: block;
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all 0.35s ease-out;
    transform-origin: center left;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(15%, -33%) rotate(45deg);
}
/* center line goes transparent */
.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}
/* bottom line rotates 45 degrees counter clockwise, in, and down a bit to close the center of the X in the center of the button  */
.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(15%, 33%) rotate(-45deg) ;
}

@media(max-width: 1500px){
    .big-slider .description{
        font-size: 42px;
    }
    header .navbar li{
        margin-right: 6px;
    }
    header .navbar .navbar-nav > li:not(:last-child):after{
        margin-left: 14px;
        top: 14px;
    }
    header .navbar li a{
        font-size: 22px;
    }
}

@media (max-width: 1199.98px) {
    header .logo{
        margin-left: 20px;
        margin-top: 20px;
    }
    .big-slider .description{
        top: auto;
        bottom: 30px;
        padding: 20px;
    }
    .prof-box{
        text-align: center;
    }
    .prof-box .left, .prof-box .right{
        width: 100%;
    }
    .prof-box i{
        margin-right: 0;
        margin-bottom: 18px;
        display: inline-block;
        padding: 14px 25px;
    }
    .prof-box .title{
        font-size: 18px;
        font-weight: 800;
    }

    .image-text-box .right-content{
        text-align: center;
        margin-top: 40px;
    }
    .image-text-box h3{
        margin-bottom: 30px;
    }
    .mainheader .col-lg-9, header .navbar, header .sub-menu{
        position: unset;
    }
    header .navbar-collapse{
        position: absolute;
        width: 100%;
        left: 0;
        background-color: #fff;
        top: 145px;
    }
    header .sub-menu{
        opacity: 1;
        visibility: visible;
        display: none;
    }
    header li:hover .sub-menu{
        display: block;
        border-bottom: none;
        background-color: #74B32088;
    }
    header .navbar .navbar-nav > li:not(:last-child):after{
        content:  "";
        content: none;
    }
    header .navbar li{
        margin: 0;
        text-align: center;
        margin: 5px 0;
        font-size: ;
    }
    header .navbar li a{
        font-size: 26px;
    }
    header .navbar .sub-menu li a{
        font-size: 20px;
    }
    header .navbar{
        margin-top: 25px;
        margin-right: 0px;
    }
    header.smallerHeader .navbar{
        margin-top: 12px;
    }
}

@media(min-width: 992px){
    div:not(.single-post) .headerimage{
        background-image: none !important;
    }
}
@media (max-width: 991.98px) {
    .bottom-footer{
        text-align: center;
    }
    .bottom-footer .navbar-nav > li{
        display: inline-block;
    }
    .bottom-footer .navbar-nav{
        display: block;
    }
    .bottom-footer .navbar{
        float: none;
    }
    .bottom-footer .navbar > div{
        margin: auto;
        margin-top: 30px;
    }
    div:not(.single-post) .headerimage img{
        display: none;
    }
    div:not(.single-post) .headerimage{
        height: 500px;
        background-size: cover;
        background-position: center;
    }
    .team-view{
        margin-bottom: 15px;
    }
    .team-view .description{
        margin-bottom: 10px;
    }
    .green_seperator{
        margin: 30px 0 50px 0;
    }
    .single-proficiency-page h1{
        margin-top: 50px;
    }
}

@media (max-width: 767.98px) {
    body{
        font-size: 16px;
    }
    h1, h2, h3{
        font-size: 30px;
    }
    .logo{
        max-height: 85px;
    }
    .contact-box h2{
        font-size: 28px;
    }
    .contact-box .description{
        font-size: 18px;
    }
    .contact-box a{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .image-text-box .text-center h2 {
        margin-bottom: 30px;
    }
    .image-text-box{
        margin-top: 0;
        margin-bottom: 30px;
    }
    .info-box h3{
        position: initial;
        font-size: 24px;
        padding: 5px 15px;
        height: auto !important;
    }
    .info-box .content{
        padding: 10px 15px;
        height: auto !important;
    }
    .info-box{
        margin-bottom: 45px;
    }
    .contactform input, .contactform textarea{
        font-size: 16px;
        margin-top: 5px;
    }
    .contactform .row{
        margin-bottom: 15px;
    }
    .contactform input.checkbox{
        top: 1px;
    }
    .contactform .submit:before{
        top: 3px;
    }
    .filter {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .filter input, .filter select{
        margin-bottom: 30px;
    }
    .post-display .left, .post-display .right{
        margin-bottom: 15px;
    }
    .post-display .left{
        width: 30%;
    }
    .post-display .right{
        width: 70%;
    }
    .single-post .headerimage{
        margin-top: 90px;
        padding: 35px 20px;
        margin-bottom: 30px;
    }
    .single-post h1{
        text-align: center;
    }
    .single-post .details{
        text-align: center;
    }
    .single-post h1:before{
        display: block;
        width: 70px;
        margin: auto;
        padding: 15px;
        margin-bottom: 20px;
    }
    .head-title h1{
        font-size: 30px;
        width: 80%;
        padding: 20px;
    }
    div:not(.single-post) .headerimage{
        height: 300px;
    }
    .filter input, .filter select{
        font-size: 18px;
    }

    .smallerHeader .logo{
        width: 80%;
        margin-top: unset;
    }
}

@media (max-width: 575.98px) {
    body{
        padding-top: 145px;
    }
    .big-slider .description{
        padding: 15px;
        position: initial;
        font-size: 25px;
    }
    .mainfooter .col-12{
        margin-bottom: 30px;
    }
    .mainfooter{
        padding-top: 45px;
        padding-bottom: 30px;
    }
    .team-view .description, .team-view{
        height: auto !important;
    }
    .contact-box.addresses .col-lg-3{
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

