/* CSS theme file */

/* Theme vars */
:root {
    --main-color: #2e7d32;
    --dark-color: #005005;
    --gray-color: #9e9e9e;
}

/* General styles */
html {
    font-size: 100%;
    overflow-x: hidden;
}

body {
    background-color: white;
    color: rgb(50,50,50);  
    overflow-x: hidden;
}
* {
    font-family: 'Roboto', sans-serif !important;
}

a {
    color: var(--main-color);
}
a:hover {
    color: var(--main-color);
    text-decoration: none;
}


article h1 {
    font-weight: 100;
    padding: 20px;
    padding-left: 0px;
}
article h3 {
    font-weight: 300;
    padding: 20px;
    padding-left: 0px;
}

article h4{
    padding-left: 20px;
    font-weight: 300;
    font-size: 1rem;
}

article a {
    text-decoration: underline;
}

.ty-logo-top {
    height: auto;
    width: 100%;
    margin-bottom: 0px;
}

.ty-logo-sticky {
    font-size: 26px;
    padding-left: 20px;
}

.ty-site-title {
    font-weight: 100;
    font-size: 2rem;
    margin: 0px;
}


/*Navbar*/

#ty .uk-navbar-container {
    background-color: var(--main-color);
    height: 80px;
}

.uk-navbar-center .uk-navbar-nav {
    width: 100%;
}

.uk-navbar-nav li {
    height: 80px;
}

.uk-navbar-nav li.uk-active a {
    color: white;
}

.uk-navbar-nav li a {
    color: white;
    font-size: 1.4rem;
    font-weight: 300;
    text-transform: none;
    /* border-top: 1px solid transparent; */
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
}
.uk-navbar-nav li a:hover {
    font-size: 1.4rem;
    font-weight: 300;
    color: white;
    background-color: var(--dark-color);
}

.uk-navbar-container .uk-container div.ty-nav-wrapper {
    width: 1200px;
}

.uk-navbar-container div.uk-navbar-dropdown {
    margin: 0px;
    box-shadow: none;
    padding: 0px;
    background-color: var(--main-color);
    width: 350px;
}

.uk-navbar-container ul.uk-navbar-dropdown-nav {
    padding: 0px;
}

.uk-navbar-container ul.uk-navbar-dropdown-nav li {
    padding: 0px;
    margin: 0px;
    height: 50px;
    width: 100%;
}
.uk-navbar-container ul.uk-navbar-dropdown-nav li a {
    border: none;
    border-left: 5px solid transparent;
    background-color: var(--main-color);
    padding-left: 20px;
}
.uk-navbar-container ul.uk-navbar-dropdown-nav li a:hover {
    border: none;
    border-left: 5px solid white;
}

/* navbar mobile */

a.uk-navbar-toggle {
    border-top: 5px solid transparent;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    color: white;
    font-size: 1.4rem;
}

a.uk-navbar-toggle:hover {
    color: white;
    border-color: white;
}

a.uk-navbar-toggle span {
    padding-right: 10px;
}

.ty-offcanvas-nav {
    background-color: white;
    width: 80%;
}

.ty-offcanvas-nav ul.uk-nav-default li {
    width: 100%;
}

.uk-offcanvas-bar.ty-offcanvas-nav ul.uk-nav-default li a, .ty-offcanvas-nav ul.uk-nav-default.uk-active li a {
    color:black;
    font-size: 20px;
    font-weight: 700;
}

.uk-offcanvas-bar.ty-offcanvas-nav ul.uk-nav-default ul.uk-grid li a, .ty-offcanvas-nav ul.uk-nav-default.uk-active ul.uk-grid li a {
    font-weight: 400;
    font-size: 16px;
}

.ty-offcanvas-nav ul.uk-nav-default li a:hover {
    color: --dark-color;
}

.ty-offcanvas-nav .uk-parent ul {
    padding-left: 20px;
}

audio {
    height: 32px;
}

/*Article*/

.ty-article-title, .ty-post-title {
    color: var(--gray-color);
    font-weight: 100;
    padding-top: 0px;
}

.ty-posts-article {
    
}

.ty-posts-title {
    font-weight: 100;
    padding-top: 0px;
}

.ty-posts-title a {
    color: var(--gray-color);
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
}
.ty-posts-title a:hover {
    color: var(--main-color);
}

.ty-article-thnimg {
    height: 20rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

article.uk-article p strong:first-child {
    color: var(--main-color);
    font-weight: 300;
    font-size: 1.5rem;
}

/* Sidebar */
.ty-sidebar {
    padding-left: 40px;
}

.ty-sidebar h3 {
    font-size: 2rem;
    font-weight: 400;
}

.ty-sidebar div {
    padding-bottom: 0px;
}

/* Sidebar blogposts */
.ty-sidebar #blogposts {

}

.ty-sidebar #blogposts h1 {
    padding: 0px;
    margin: 0px;
}

.ty-sidebar #blogposts h1 a {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--gray-color)
}

.ty-sidebar #blogposts p {
    font-size: 0.9rem;
    margin: 0px;
    padding-top: 10px
}

/* button */

.uk-button.ty-button {
    background-color: transparent;
    border: 1px solid #e74c3c;
}

.uk-button.ty-button:hover {
    background-color: transparent;
    border: 1px solid #c0392b;
    color: #c0392b;
}


/* card */

.ty-section .uk-card-title {
    background-color: transparent;
}


/* zwei bilder nebeneinander*/

article.uk-article p img {
}

article.uk-article p:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

article.uk-article p img:only-of-type {
    border: none !important;
    float: none !important;
    width: auto !important;
    max-width: 640px !important;
}

article.uk-article p img:first-of-type{
    float: left;
    width: 49%;
}

article.uk-article p img:last-of-type {
    float: right;
    width: 49%;
}



/* footer */
div.ty-footer {
    padding-top: 20px;
    height: 200px;
    border-top: 5px solid var(--main-color);
    color: black;
}

div.ty-footer li {
    padding-bottom: 20px;
}

/*Mobile*/

@media screen and (max-width: 640px) {
    .ty-section {
        padding: 20px;
    }
    article.uk-article p img:only-of-type {
        width: 100% !important;
    }
}