/*
 Theme Name:   Suidobashi Child
 Theme URI:    https://www.elmastudio.de/en/themes/suidobashi/
 Description:  Suidobashi Child
 Author:       Sylpehn
 Author URI:   https://www.elmastudio.de/en/
 Template:     suidobashi
 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:  suidobashi-child
*/

@media screen and (min-width: 767px) {
    /* --- Main Nav --- */
    #mobile-menu-toggle {
        display: none;
    }
    #site-nav ul ul li a:before {
        display: none;
        padding: 0;
    }
    #site-nav {
        display: block !important;
        padding: 0;
        overflow: hidden;
        clear: both;
        float: right;
        text-align: right;
    }
    .menu-container {
        position: fixed;
        display: block !important;
        top: 25px;
        right: 135px;
        z-index: 1000;
        padding: 0 0 0 70px;
        border-top: none;
    }
    .admin-bar .menu-container {
        top: 57px;
    }
    #site-nav ul li {
        position: relative;
        display: inline-block;
        margin: 0 0 0 15px;
        padding: 0;
        border-bottom: none;
    }
    #site-nav ul li a {
        display: block;
        padding: 0;
        color: #000;
        border-bottom: 1px solid transparent;
    }
    #site-nav ul li a:hover {
        border-bottom: 1px solid #000;
    }
    #site-nav ul ul li a:hover {
        border-bottom: none !important;
    }
    #site-nav ul li li a {
        padding: 0;
    }
    #site-nav ul li.menu-item-has-children {
        padding: 0;
    }
    #site-nav ul ul.sub-menu,
    #site-nav ul ul.children {
        display: none;
        position: absolute;
        top: 23px;
        left: 0;
        width: 120px;
        margin: 0;
        padding: 10px 0 0 0;
        z-index: 1000;
        opacity: 0;
        border-top: none;
        text-align: left;
    }
    #site-nav ul.sub-menu li,
    #site-nav ul.children li {
        margin: 0;
        padding: 0;
        display: block;
    }
    #site-nav ul.sub-menu a,
    #site-nav ul.children a {
        border-bottom: none;
        display: block;
        padding: 2px 0;
    }
    #site-nav ul ul ul.sub-menu,
    #site-nav ul ul ul.children {
        position: absolute;
        top: 0;
        left: 119px;
        padding: 0;
    }
    #site-nav ul li:hover > ul {
        display: block;
        opacity: 1;
    }
    #site-nav li:hover > a {
        border-bottom: 1px solid #000;
    }
    #site-nav li li:hover > a {
        border-bottom: none !important;
    }
    #site-nav li li:hover > a:hover {
        color: #999;
    }
    #site-nav ul ul ul li a {
        margin-left: 0;
    }

    /* --- Header Search Form --- */
    .search-toggle {
        display: block;
        width: 70px;
        position: fixed;
        top: 25px;
        right: 70px;
        text-align: right;
        line-height: 1.4;
        cursor: pointer;
        z-index: 1000000;
    }
    .admin-bar .search-toggle {
        top: 57px;
    }
    .search-toggle span:hover {
        border-bottom: 1px solid #000;
    }
    .show-mobile-search .search-header {
        display: none !important;
    }
    .show-desktop-search .show-mobile-search .search-header,
    .show-desktop-search .search-header  {
        display: block !important;
    }
    .search-header {
        display: none;
        position: fixed;
        top: 57px;
        right: 70px;
        z-index: 1000000;
    }
    .admin-bar .search-header {
        top: 89px;
    }
    .search-header #searchform {
        width: 290px;
    }
    .search-header #searchform input {
        padding: 10px 45px 10px 10px;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #000;
        background: #f2f2f2;
        width: 100%;
        line-height: 1.4;
    }
    .template-about .search-header #searchform input {
        background: #fff;
    }
    .search-header #searchform input:hover,
    .search-header #searchform input:active,
    .search-header #searchform input:focus {
        background: #d2ffe4;
    }
    .search-header #searchform input.submit {
        position: absolute;
        width: 45px;
        height: 51px;
        top: 0;
        right: 0;
        padding: 0;
        display: block;
        color: #000;
        background: transparent;
        border-bottom: none;
        text-indent: -999999px;
        z-index: 10000;
    }
    .search-header #searchform:after {
        position: absolute;
        top: 9px;
        right: 20px;
        content: '\2192';
        display: inline-block;
        padding: 0;
        -webkit-font-smoothing: antialiased;
        vertical-align: top;
    }
}




a:focus { outline: dotted; -moz-outline-style: dotted;}

#masthead {
    padding: 25px 0 75px !important;
}
.home #masthead {
    padding: 25px 0 75px !important;
}

#primary {
    padding-top: 20px;
}

#site-title {
    padding-top: 20px;
    padding-left: 70px;
    padding-right: 70px;
    max-width: 250px;
    margin: 0 auto;
}

.menu-container, .search-toggle {
    top: 200px;
}
.search-header {
    top: 247px;
}

#mobile-menu-toggle {
    margin: 1px 72px;
}

#nav-single .nav-next a {
    top: 367px;
}
#nav-single .nav-previous a {
    top: 342px;
}

body.blog .site-content {
    display: flex;
    flex-wrap: wrap;
}
body.blog .site-content .post, body.blog .site-content .post:last-of-type {
    width: 33.33%;
    padding: 0 25px 75px 25px;
}

.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
    padding-top: 0;
}

@media screen and (max-width: 767px) {
    #masthead {
        padding: 25px 0 50px !important;
    }
    .home #masthead {
        padding: 25px 0 50px !important;
    }

    body.blog .site-content .post, body.blog .site-content .post:last-of-type {
        width: 50%;
    }
}

@media screen and (max-width: 500px) {
    #site-title {
        max-width: 215px;
    }

    #mobile-menu-toggle {
        margin: 1px 35px;
    }

    #primary {
        padding: 20px;
    }
    #colophon #site-info {
        padding: 0 20px;
    }

    body.blog .site-content .post, body.blog .site-content .post:last-of-type {
        width: 100%;
    }
}

