/*
 Theme Name:   OnePress Child
 Theme URI:    https://fancysoftware.de
 Description:  Child Theme
 Author:       FancySoftware
 Author URI:   https://fancysoftware.de
 Template:     onepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepresschild
*/

body .site-header .onepress-menu > .menu-item > a {
    line-height: 55px;
    margin-top: 20px;
}

/** BEGIN HOME_CAT_AREA*/
.home-cat-area-container {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 60px;
    margin-top: 65vh;
}

.home-cat-area-container > .home-cat-area {
    width: calc(33.3% - 30px);
    display: inline-block;
    margin: 30px 0 30px 0;
    border: 5px solid #fff;
    background-color: #fff;
}

.home-cat-area-container > .home-cat-area p {
    padding: 0 10px 10px 10px;
}

@media (max-width: 768px) {
    .home-cat-area-container > .home-cat-area {
        width: 100%;
    }
}

.home-cat-area-container > .home-cat-area > h3 {
    display: none;
}

.home-cat-area-container > .home-cat-area .cat-img {
    padding-bottom: 75%;
    margin-bottom: 30px;
    position: relative;
    display: block;
    background-position: center;
    background-size: cover;
}

.home-cat-area-container > .home-cat-area .cat-img .title {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 30px 5px 5px;
}
/** END HOME_CAT_AREA*/
/** BEGIN HOME SLIDER*/

#hero {
    top: 75px;
    position: fixed;
    height: 75vh !important;
    /*padding-top: 65%;*/
    /*height: inherit !important;*/
}

/*html, body, body.home #page{*/
/*    height: 100%;*/
/*}*/

/*#header-section{*/
/*    height: 50%;*/
/*}*/

/*.parallax-hero,*/
/*.parallax-bg,*/
/*#hero{*/
/*    min-height: 400px;*/
/*    height: calc(50% - 75px);*/
/*}*/

/*.parallax-image {*/
/*    height: calc(100% - 75px);*/
/*    background-position: center center;*/
/*    background-size: cover;*/
/*}*/
/** END HOME SLIDER*/

body .footer-widgets,
body .menu-footermenu-container
{
    background-color: #2f5489;
}

body .menu-footermenu-container {
    position: relative;
    z-index: 2;
}

body .menu-footermenu-container ul {
    display: flex;
    justify-content: flex-end;
    top: -160px;
    position: absolute;
    right: 20px;
    margin: 0;
}

body .menu-footermenu-container ul li {
    list-style: none;
    padding: 0 10px 0 10px;
}

body .menu-footermenu-container ul li a {
    color: #bbbbbb;
}

body .site-footer .site-info {
    display: none;
}

body #footer-widgets {
    padding-bottom: 120px;
    z-index: 1;
    position: relative;
}

body .footer-widgets .sidebar .widget {
    margin-bottom:7px;
}

body .page li {
    font-size: 1.2rem;
}

body figcaption {
    margin-top: 5px;
    line-height: 14px;
}

body table.wp-block-table tr td:first-child {
    width: calc(300px + 3.5em);
}

body .category-tree li {
    list-style: none;
}

body .category-tree > ul > li {
    font-size: 18px;
    margin-top: 30px;
}

body .category-tree > ul > li:first-child {
    margin-top:0;
}

body .category-tree > ul > li li:before {
    content: "- "
}

/*body .category-tree > ul > li:before{*/
/*    content: "+ "*/
/*}*/

/*body .category-tree > ul > li > ul {*/
/*    transition: all 1s ease-in-out;*/
/*    max-height: 0;*/
/*    opacity: 0;*/
/*}*/

/*body .category-tree > ul > li.open > ul {*/
/*    max-height: initial;*/
/*    opacity: 1;*/
/*}*/


/*body .category-tree > ul > li.open:before {*/
/*    content: "- "*/
/*}*/

body .category-tree > ul > li  li {
    font-size: 14px;
}

.section-news .list-article-thumb,
.blog .list-article-thumb,
.archive div.list-article-thumb {
    float: none;
}

/*#custom_html-10 {*/
/*    display: none;*/
/*}*/

/*body.page.page-id-5 #custom_html-10 {*/
/*    display: block !important;*/
/*}*/

.acf_details summary {
    font-size: 18px;
    cursor: pointer;
}

body .acf_author {
    background-color: #eee;
    display: flex;
}

body .acf_author .acf_author_image {
    padding: 10px;
}

body .acf_author .acf_author_desc p {
    padding: 10px;
    font-size: 16px;
    margin-bottom:0;
}

body p {
    line-height: 22px;
}

details[open] summary ~ * {
    animation: sweep .5s ease-in-out;
}

details {
    overflow: hidden;
}


details summary {
    margin-left: -18px;
}

@keyframes sweep {
    0%    {opacity: 0; margin-left: -10px}
    100%  {opacity: 1; margin-left: 0px}
}

#content-inside.right-sidebar article.post,
#content-inside.right-sidebar article.page{
    max-width: 600px;
}

#content-inside article#post-2660{
    max-width: 845px;
}

.section-news article.list-article,
.archive article.list-article,
.blog article.list-article {
    border-top: 0;
}

div.page-header,
div.breadcrumbs{
    background-color: #fff;
    border-bottom: 0;
}

div.right-sidebar .content-area,
div.right-sidebar .sidebar{
    border-left: 0;
    border-right: 0;
}

div#primary,
div#secondary{
    padding-top: 0;
}

.entry-content ul li {
    margin-bottom: 0;
    margin-top: 0;
}


#post-2660 .entry-content table > thead > tr > th,
#post-2660 .entry-content table > tbody > tr > th,
#post-2660 .entry-content table > tfoot > tr > th,
#post-2660 .entry-content table > thead > tr > td,
#post-2660 .entry-content table > tbody > tr > td,
#post-2660 .entry-content table > tfoot > tr > td {
    padding-bottom: 1.5rem;
    vertical-align: top;
}

.entry-content table > thead > tr > th,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > tbody > tr > td,
.entry-content table > tfoot > tr > td {
    border: 0;
}

.entry-content table{
    border: 0;
}

.section-news article.list-article:last-of-type,
.archive article.list-article:last-of-type,
.blog article.list-article:last-of-type {
    border-bottom: 0;
}

.archive h2.entry-title {
    font-weight: bold;
}

.cat-gestaltung a,
.cat-gestaltung p{
    font-size: 14px;
}

.section-news h2.entry-title, .archive h2.entry-title, .blog h2.entry-title {
    margin-top: -10px;
    margin-bottom: 0;
}


.page-numbers.current {
    font-size: 18px;
}

ul.onepress-menu ul li a {
    border-top: 0;
    background-color: #fafafa;
}

ul.onepress-menu ul {
    border: 0;
}

.cat-technik > p,
.blog .entry-excerpt.cat-technik > p,
.section-news .entry-excerpt.cat-technik > p,
.archive .entry-excerpt.cat-technik > p,
.cat-technik details > p,
.blog .entry-excerpt.cat-technik details > p,
.section-news .entry-excerpt.cat-technik details > p,
.archive .entry-excerpt.cat-technik details > p {
    margin-bottom: 16px;
}


@media (max-width: 400px) {
    body #footer-widgets {
        padding-bottom: 30px;
    }
}

.page-numbers {
    display: inline-block;
    padding: 0 10px;
}


body #footer-widgets a {
    color: #bbbbbb;
}
