/*
 Theme Name:   Honto Nihonto Child Theme
 Description:  http://www.honto-nihonto.com
 Author:       http://www.honto-nihonto.com
 Author URI:   http://www.honto-nihonto.com
 Template:     coral-dark
 Version:      1.0
 Text Domain:  nh
*/
.wp-block-gallery {
    display: block;
}
.wp-block-gallery.show {
    display: block;
}
.inner-site-content {
    display: inline-block;
	border-top: 1px dotted #ccc;
	border-right: 1px dotted #ccc;
    width: 100%;
}
.sepline2 {
    border-top: inherit;
    margin-bottom: 10px;
}
.site-branding {
    padding-left: 0;
}
.home .inner-site-content {
    border: inherit;
}
/*
#page,
#content,
.home .inner-site-content,
.start_bg
 {
    height: 100%;
}
*/
.home .inner-site-content #main {
    min-height: 370px;
}
.start_bg {
    background-repeat: no-repeat;
    background-position: top center;
}
a {
    color: #828282;
}
a:hover {
    color: #566723;
    text-decoration: none;
}
#secondary .widget_nav_menu li a:hover, #secondary .widget_nav_menu li a:focus {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #566723;
    text-decoration: none;
}
#secondary .widget_nav_menu ul li.current-menu-item a {
    color: #566723;
}
a:visited {
    color: #828282;
    text-decoration: none;
}
.sprachregler {
    text-transform: uppercase;
}
.headline,
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
    color: #566723;
    font-family: 'Quicksand', sans-serif;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #566723 !important;
    font-family: 'Quicksand', sans-serif;
}
.nh-header-grid {
    background-image: linear-gradient(#768550, #566825);
}
.nh-header-grid:hover {
    background: #f7f7f7;
}
.nh-header-grid.active {
    background: #fff;
}
.entry-header.nh-header-grid img.smallpostthumb {
    width: auto;
    max-height: 50px;
    float: right;
}
.accordion-nh {
    border-bottom: 1px dotted #ccc;
}
.accordion-nh.hentry {
    margin-bottom: 2px;
}
.accordion-nh .entry-footer{
    margin-top: 2px;
}
.accordion-nh .entry-title a {
    font-size: 100%;
    color: #333!important;
}
.accordion-nh .entry-title {
    margin-bottom: 0;
}
.nh-main {
    display: none;
}
#slide {
    display: none;
}
.mobile-toggle-close {
    display: none;
}
#secondary .widget_nav_menu li {
    text-transform: inherit;
    border-bottom: 1px dotted #ccc;
}
/**
* NH GRID NEEDINGS!
*
*/
.nh-grid {
    display: flex;
    align-items: center;
}
li.blocks-gallery-item.first_li_big {
    width: 100%;
}
ul#menu-footer-mobile {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
ul#menu-footer-mobile li {
    float: left;
    display: inline-block;
    padding: 0 10px;
}

/**
* MEDIA QUERIES!
*
*/
@media (min-width: 1200px) {
    .start_bg {
        opacity: 0;
    }
    #secondary,
    #secondary-frontpage {
        padding-left:0;
    }
    #secondary-frontpage,
    #primary-frontpage {
        opacity: 0;
        height: 1px;
    }
    #primary-frontpage {
        padding-right:0;
        text-align: right;
    }
    #secondary ul li {
        border-bottom: 1px dotted #ccc;
        padding: 8px 0;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child > .wp-block-gallery .blocks-gallery-item {
        margin: 0;
        margin-bottom: 2px;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child > .wp-block-gallery .blocks-gallery-item:nth-of-type(2n) {
     margin-right: 2px;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child > .wp-block-gallery .blocks-gallery-item:last-child {
        flex-grow: 0;
        margin-right: 0;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child {
        max-height: 550px;
        overflow: hidden;
        background-position: bottom;
        position: relative;
        z-index: 3;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child:after {
        content: "";
        width: 100%;
        height: 25px;
        position: absolute;
        bottom: 0;
        background: linear-gradient( to top, black, rgba(255, 0, 0, 0) );
        z-index:2;
    }
    .nh-more-pictures {
        z-index: 4;
        bottom: 0px;
        position: absolute;
        cursor: pointer;
        background: #fff;
        width: 100%;
        color: #000;
        border: 1px dotted #ccc;
        padding: 5px;
    }
    .nh-inhalt.open-nh {
        background-color: #fff;
        padding: 0 10px;
        margin-top: 2px;
        color: #333;
    }
}
/**
* MEDIA QUERIES!
*
*/
@media (min-width: 768px) {
    #secondary ul,
    #secondary-frontpage ul,
    #primary-frontpage ul {
        margin: 0;
        list-style: none;
    }
    #social2 {
        margin:0;
        padding-right:0;
    }
    nav.top-navigation ul {
        list-style: none;
        margin:0;
        display:inline-block;
    }
    nav.top-navigation ul li {
        float:left;
        display: inline-block;
        border-right: 1px dotted #ccc;
        padding-right: 5px;
        padding-left: 5px;
    }
    nav.top-navigation ul li:last-child {
        border-right: inherit;
        padding-right:0;
    }
    nav.top-navigation {
        float: right;
        width: 100%;
        text-align: right;
    }

    #secondary-frontpage ul li a,
    #primary-frontpage ul li a{
        font-size: 160%;
        background-color: #222222;
        width: auto;
        padding: 1px 4px;
        color:#828282;
        word-break: break-word;
        
    }

    #secondary-frontpage ul li a:hover,
    #primary-frontpage ul li a:hover {
        color: #566723;
    }
    #secondary-frontpage ul li ,
    #primary-frontpage ul li {
        margin: 5px 0;
    }

    /**
    * The Gallery Part
    *
    */

    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child {
        flex-basis: 33%!important;
        flex: 0;
        flex-shrink: 0;
        flex-grow: 0;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child > .wp-block-gallery {
        display: flex !important;

    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column > .wp-block-gallery .blocks-gallery-item:last-child {
        flex-grow: 0;
    }
    .nh-more-pictures {
        text-align: center;
    }
}
@media (max-width: 767.9px) {
    .nh-more-pictures {
        border: 1px dotted #ccc;
        text-align: center;
        padding: 5px;

    }
    .nh-more-pictures-sec {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        background: #fff;
        left: 0;
        right: 0;
        text-align: center;
        padding: 10px 0;
    }
    .nh-more-pictures-sec.stickyfooterremove {
        display: none;
    }
    #secondary-frontpage {
        padding-left:0;
    }
    #secondary-frontpage,
    #primary-frontpage {
        opacity: 0;
        height: 1px;
    }
    #primary-frontpage {
        padding-right:0;
        text-align: right;
    }
    #secondary ul,
    #secondary-frontpage ul,
    #primary-frontpage ul {
        margin: 0;
        list-style: none;
    }
    #secondary ul li {
        border-bottom: 1px dotted #ccc;
        padding: 8px 0;
    }
    #social2 {
        margin:0;
        padding-right:0;
    }
    nav.top-navigation ul {
        list-style: none;
        margin:0;
        display:inline-block;
    }
    nav.top-navigation ul li {
        float:left;
        display: inline-block;
        border-right: 1px dotted #ccc;
        padding-right: 5px;
        padding-left: 5px;
    }
    nav.top-navigation ul li:last-child {
        border-right: inherit;
        padding-right:0;
    }
    nav.top-navigation {
        float: none;
        width: 100%;
        text-align: right;
    }

    #secondary-frontpage ul li a,
    #primary-frontpage ul li a{
        font-size: 120%;
        background-color: #222222;
        width: auto;
        padding: 1px 4px;
        color:#828282;
        word-break: break-word;
        
    }

    #secondary-frontpage ul li a:hover,
    #primary-frontpage ul li a:hover {
        color: #566723;
    }
    #secondary-frontpage ul li ,
    #primary-frontpage ul li {
        margin: 5px 0;
    }

    div#secondary {
        position: fixed;
        top: 0;
        left: -999px;
        width: 70%;
        background: #000;
        height: 100%;
        -webkit-transition: all 0.15s ease-out;
		-moz-transition: all 0.15s ease-out;
        transition: all 0.15s ease-out;
        z-index: 9;
    }

    /**
    * SLIDE PANEL CSS ONLY!
    */

    #slide:checked + #secondary {
        left: 0;
        overflow-y: scroll;
    }
    .nh-main {
        display: block!important;
    }
    .mobile-toggle-close.open {
        display: block;
        top: 0;
        position: fixed;
        right: 0;
        background: #fff;
        padding: 10px 20px;
        z-index: 10;
    }
    .main-navigation {
        margin-top: 20px;
        border-bottom: 1px dotted #ccc;
        padding: 5px 5px 2px 5px;
        text-align: center;
        border-top: 1px dotted #ccc;
    }
    .home .main-navigation {
        display: none!important;
    }
    .sidepanel #page:after {
        content: "";
        background: rgba(0, 0, 0, 0.8313725490196079);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 8;
    }
    .nh-inhalt .wp-block-columns.has-2-columns {
        display: flex;
        flex-direction: column;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column:first-child {
        order: 2;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column > .wp-block-gallery {
        display: inline-flex!important;
        flex: 0;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column > .wp-block-gallery .blocks-gallery-item {
        margin-right: 2px;
    }
    .nh-inhalt .wp-block-columns.has-2-columns > .wp-block-column > .wp-block-gallery .blocks-gallery-item:last-child {
        flex-grow: 0;
    }
}