/*
Theme Name: _tk
Theme URI: http://themekraft.com/store/_tk-free-wordpress-starter-theme-based-on-twitter-bootstrap/
Author: ThemeKraft

License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

This theme is the most seamless and minimalistic integration of Twitter Bootstrap Framework into
the _s starter theme from Automattic, the guys behind WordPress.

Credits:

1. Bootstrap

 * Bootstrap v3.3.6 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)

 * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=f58353a31151a8c05d7c)
 * Config saved to config.json and https://gist.github.com/f58353a31151a8c05d7c

2. wp_bootstrap_navwalker

* Class Name: wp_bootstrap_navwalker
* GitHub URI: https://github.com/twittem/wp-bootstrap-navwalker


*/


/* My Minimal WordPress Styling comes here */


/* This is a small security for too long strings titles */

body {
    word-wrap: break-word;
    font-family: 'Arimo', sans-serif;
}


/* Alignment */

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}


/* Images and wp-captions should always fit and be responsive */

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

img[class*="wp-image-"] {
    margin-top: 10px;
    margin-bottom: 10px;
}

.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    max-width: 100%;
    border-radius: 4px;
    padding: 0 10px;
}

.wp-caption.aligncenter {
    margin-bottom: 10px;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
}

.wp-caption .wp-caption-text {
    text-align: center;
    margin-top: 10px;
}


/* WP Gallery */

.gallery {
    margin-bottom: 1.5em;
}

.gallery a img {
    border: none;
    height: auto;
    max-width: 90%;
}

.gallery dd {
    margin: 0;
}

.gallery-caption {
    display: block;
}


/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object {
    max-width: 100%;
}


/* Text meant only for screen readers */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar */
}


/* Content */

.main-content-inner {
    padding-bottom: 1.5em;
}

.hentry {
    margin: 0 0 1.5em;
}

.sticky {
    display: block;
}

.bypostauthor {
    display: block;
}


/* Clearing */

.clear {
    clear: both;
}


/* Navigation */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:active>.dropdown-menu,
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:active>a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */

.widget {
    margin-bottom: 2em;
}

.widget_nav_menu ul.sub-menu li,
.widget_pages ul.children li {
    padding-left: 15px;
}


/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */

.widget_search .search-form input[type="submit"] {
    display: none;
}


/* Make sure select elements fit in widgets */

.widget select {
    max-width: 100%;
}


/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */

.comment .children {
    margin-left: 1.5em;
}


/**
* Some WP Theme Repository requirements
*/

.sticky {}

.gallery-caption {}

.bypostauthor {}

.entry-meta {
    clear: both;
}


/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */


/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	display: none;
}
*/


/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */


/*
.infinity-end.neverending .site-footer {
	display: block;
}
*/


/* Hey, if you don't need my comments anymore, just delete me! :)  */


/* styles for _tk_pagination und _tk_link_pages */

nav form.tk-page-nav,
nav .input-group,
nav .input-group-btn,
nav .form-control {
    display: inline;
}


/* LOGO  */

.custom-logo-link {
    width: 35%;
    margin: 20px 0;
    display: inline-block;
}

.custom-logo-link img {
    position: relative;
    max-width: 100%;
}


/* NAVI  */

.navbar {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0px;
}

.navbar-collapse {
    padding-left: 0px;
    border-top: 1px solid #333;
}

.navbar-default .navbar-nav > li > a {
    color: #333;
    padding: 15px 25px 10px 0px;
    font-size: 24px;
}

.dropdown-menu > li > a {
    font-size: 20px;
}

.dropdown-menu > li > a:hover {
    color: #7ab929;
    background: #fff;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover {
    background: #2D3138;
    color: #fff;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    color: #7ab929;
    background-color: #fff;
}


.navbar-toggle {
    border: none;
    margin-top: -70px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #000;
}

/* Header Image  */

.jumbotron {
    padding-top: 0px;
    padding-bottom: 0px;
    max-height: 500px;
    overflow: hidden;
}

.jumbotron figure img {
    display: inline-block;
    height: auto;
    width: 100%;
}



/* Footer  */

.site-footer {
    color: #fff;
    background: #2D3138;
    padding-top: 25px;
}

.site-footer hr {
    width: 100%;
    clear: both;
    margin: 25px 0;
    display: inline-block;
}

.site-info p {
    font-size: 14px;
    color: #c5c5c5;
}

.tothetop {
    float: right;
    font-size: 32px;
    line-height:20px;
    text-align: center;
}

.tothetop a, tothetop a:hover {
    text-decoration: none;
}


.tothetop span{
    font-size: 12px;
}


/* Teaser Block  */

.hometeasers {
    margin-bottom: 35px;
    display: inline-block;
}

.largebreak {
    margin: 30px 0 20px 0;
}

.teaser-block {
    margin-bottom: 35px;
}

.teaser-block h3 {
    font-size: 24px;
    text-align: center;
    color: #fff;
    background: #7ab929;
    padding: 8px 4px;
    margin-top: 0px;
    margin-bottom: 15px;
}

.teaser-block h3 a {
    color: #fff;
}

.cta {
    width: 100%;
    text-align: center;
}

.cta a {
    background: #7ab929;
    padding: 3px 15px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    border: none;
}

.cta a:hover,
.teaser-block h3 a:hover {
    text-decoration: none;
    color: white;
    background: #8ed82f;
}

.teaser-content h3 {
    margin-top: 4px;
}


/* Team Block  */

.entry-header-team {
    margin-bottom: 25px;
}

.entry-header-team h5 {
    font-size: 20px;
}

.entry-header-team p {
    color: #777;
}


/* General Typography  */

p,
li {
    font-size: 18px;
}

a {
    color: #7ab929;
}

a:hover {
    color: #8ed82f;
}

h1 {
    font-weight: bold;
    color: #7ab929;
}

blockquote {
    color: #777;
    font-size: 22px;
    border-left: none;
    padding: 10px 0px;
}

blockquote p {
    font-size: 22px;
    font-style: italic;
}

.blog-title a{
    color: #2D3138;
}

.blog-title a:hover{
    color: #7ab929;
    text-decoration: none;
}

.entry-content ul {
    margin-left: 0;
    padding-left: 20px;
}

.wp-caption {
    border: none;
    margin-bottom: 10px;
    max-width: 100%;
    border-radius: 0px;
    padding: 0px;
}

input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    border: none;
    background: #7ab929;
    color: white;
    padding: 4px 10px;
}

/* lbgl Akkordeon */
/* Akkordeon styles */
.akkordeon_lgbl {
	padding: 0 0 25px 0;	
}

.akkorden_breite {
  width: 100%;
  padding: 0 0;
}
.balken {
  position: relative;
  margin-bottom: 1px;
  width: 100%;
  color: white;
  overflow: hidden;
}
input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
label {
  	position: relative;
  	display: block;
  	padding: 0.2em 0 0.2em 0.6em;
  	background: #7ab929;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.1;
	cursor: pointer;
	margin: 0;
}

label:hover {
  	background: #8ed82f;
}

.tab-content {
  max-height: 0;
  overflow: hidden;
  color: black;
  -webkit-transition: max-height .35s;
  -o-transition: max-height .35s;
  transition: max-height .35s;
}
.tab-content ul {
	position:relative;
	top:5px;
}
.tab-content p {
  margin: 1em;
}

/* :checked */
input:checked ~ .tab-content {
  max-height: 90em;
}
/* end Akkordeon styles */

.greenbutton {
    font-size: 24px;
    text-align: center;
    color: white;
    background: #7ab929;
    padding: 8px 4px;
    margin-top: 0px;
    margin-bottom: 0px;	
}

.greenbutton a {
	position:relative;
	top:-5px;
	color:white !important;
}

.greenbutton:hover, .greenbutton a:hover, .greenbutton a:visited, .greenbutton a:focus{
 	background: #8ed82f; 
	text-decoration: none; 
}

.greenbuttonlink {
	display: inline-block;
    font-size: 24px;
    text-align: center;
    color: white;
    background: #7ab929;
    padding: 8px 16px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.greenbuttonlink:hover, .greenbuttonlink:visited, .greenbuttonlink:focus {
	color: white; 
/*	color: #8ed82f; */
 	background: #8ed82f; 
	text-decoration: none; 
}

/* grüne Kasten bei den Referenz Legenden */
h3.blog-title {
    margin-top: 0px;
    padding: 8px 8px;
	color: white;
    background: #7ab929;	
}

h3.blog-title:hover, h3.blog-title:visited, h3.blog-title:focus {
    margin-top: 0px;
    padding: 8px 8px;
	color: white;
    background: #8ed82f;	
	cursor: pointer;
}

a.greenblock:hover > h3.blog-title {
    background: #8ed82f;
}

a.greenblock:hover, a.greenblock:visited, a.greenblock:focus {
	text-decoration: none;
}
/* ende grüne Kasten bei den Referenz Legenden */

/* hero bereich voll breite bild zentriert in max-height banner */
.herocontainer {
	position: relative;
    overflow: hidden;
   	max-height: 500px;
}

.heroimage {
	width: 100vw;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_controls .slb_slideshow .slb_template_tag {
    background: url(img/play.png) !important;
    opacity: 1;
    width: 30px;
    height: 30px;
}

#slb_viewer_wrap .slb_theme_slb_default.slideshow_active .slb_controls .slb_slideshow .slb_template_tag {
    background: url(img/pause.png) !important;
    opacity: 1;
    width: 30px;
    height: 30px;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_controls .slb_close .slb_template_tag {
    background: url(img/close.png) !important;
    opacity: 1;
    width: 30px;
    height: 30px;
    margin-left: 10px;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_controls .slb_template_tag_ui:hover {
    opacity: 1 !important;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_content .slb_prev .slb_template_tag, [dir="rtl"] #slb_viewer_wrap .slb_theme_slb_default .slb_content .slb_next .slb_template_tag {
    background-image: url(img/left.png) !important;
    opacity: 1 !important;
    left: 10px !important;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_content .slb_next .slb_template_tag, [dir="rtl"] #slb_viewer_wrap .slb_theme_slb_default .slb_content .slb_prev .slb_template_tag {
    background-image: url(img/right.png) !important;
    opacity: 1 !important;
    right: 10px !important;
}

@media (min-width: 1200px) {
	.herocontainer {
		position: relative;
	    overflow: hidden;
    	height: 500px;
	}
	
	.heroimage {
		width: 100vw;
	    margin: auto;
    	position: absolute;
	    top: 0;
	    left: 0;
	    bottom: 0;
	    right: 0;
	}
}
/* ende hero bereich voll breite bild zentriert in max-height banner */

/* Kontakt Seite Hero Bild entfernen */
.page-id-30 .jumbotron{
	display:none;
}
/* ende Kontakt Seite Hero Bild entfernen */

/* lightbox font-family ersetzen */
.slb_data_title {
    font-family: 'Arimo', sans-serif !important;
}
/* ende lightbox font-family ersetzen */

/* Slider  */

.metaslider .caption-wrap {
    position: absolute;
    vertical-align: middle;
    background: none!important;
    color: white;
    opacity: 1!important;
    margin: 0;
    width: 100%;
    height: 100%;
    line-height: 1.4em;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.metaslider .caption {
    padding: 20px 10px!important;
    word-wrap: break-word;
    font-size: 64px;
    line-height: 1.5em;
    text-align: center;
    height: 100%;
    max-width: 70%;
    margin: 0 auto;
    display: flex;
  justify-content: center;
  flex-direction: column;
}

@media (min-width: 992px) {
    .ref-bed {
        display: flex;
        justify-content: center;
        height: 200px;
        
    }

    .ref-thumb {
        display: flex;
        flex-direction: column;
        justify-content: center;
        object-fit: cover;
        
        overflow: hidden;
    }
}

@media (max-width: 1200px) {
    .metaslider .caption-wrap {
        position: absolute;
        vertical-align: middle;
        background: none!important;
        color: white;
        opacity: 1!important;
        margin: 0;
        display: block;
        width: 100%;
        line-height: 1.4em;
        text-align: center;
    }
    .metaslider .caption {
        padding: 20px 10px 60px 10px!important;
        word-wrap: break-word;
        font-size: 42px;
        line-height: 1.5em;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .gallery a img {
    border: none;
    height: auto;
    max-width: 100%;
    margin-bottom: 15px;
	}
}

@media (max-width: 767px) {
    .custom-logo-link {
        width: 75%;
        margin: 20px 0;
        display: inline-block;
    }
    .custom-logo-link img {
        position: relative;
        max-width: 320px;
    }
    .navbar-default .navbar-nav > li > a {
        padding: 10px 15px;
    }
    
    .navbar {
        min-height: 0;
    }
    
    .tothetop {
        clear: both;
        text-align: center;
        width: 100%;
        font-size: 32px;
    }
    .metaslider .caption-wrap {
        position: absolute;
        vertical-align: middle;
        background: none!important;
        color: white;
        opacity: 1!important;
        margin: 0;
        display: block;
        width: 100%;
        line-height: 1.4em;
        text-align: center;
    }
    .metaslider .caption {
        padding: 10px 10px!important;
        word-wrap: break-word;
        font-size: 24px;
        line-height: 1.5em;
        text-align: center;
        max-width: 96%;
        margin: 0 auto;
    }
    
    .gallery a img {
    border: none;
    height: auto;
    max-width: 100%;
    margin-bottom: 15px;
}
}

@media (max-width: 480px) {

    .metaslider .caption {
        padding: 10px 10px!important;
        word-wrap: break-word;
        font-size: 20px;
        line-height: 1.5em;
        text-align: center;
        max-width: 96%;
        margin: 0 auto;
    }
}

@media (max-width: 300px) {

    .metaslider .caption {
        padding: 10px 10px!important;
        word-wrap: break-word;
        font-size: 16px;
        line-height: 1.5em;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
}