/*
Theme Name: Kiyono Child
Author: Benachi
Theme URI: https://www.benachi.com/kiyono-wordpress-theme/
Author URI: https://www.benachi.com/
Description: Kiyono is my 3rd WordPress theme named after my grandmother. Kiyono is a simple blog theme, yet it is equipped with five block patterns and a blank template for those who are experimenting with WordPress’s Latest Full Site Editing.  Kiyono theme is responsive and Gutenberg ready, and it is an accessibility-ready theme. It helps to create inclusive websites and improve the user experience for those who rely on assistive technologies.
Tags: accessibility-ready, block-patterns, block-styles, blog, one-column, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Version: 1.2
Tested up to: 5.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kiyono

Template: kiyono
*/

/* new colors for site */
:root {
    /* Color */
    --body-font-color: #ffffff;
    --header-color: #ffffff;
    --link-color: #ffffff;
    --link-hover-color: #252323;
    --hover-bg-color: #ffffff;
    --accent-color: #1e90ff;
    --accent-bakcground-color: #faf9fa;
    --nav--color-text: var(--body-font-color);
    --button-border-color: #000000;
    --button-bg-color: #000000;
    --button-text-color: #000000;
    --button-focus-text-color: #252323;
    --border-color: #4c566a;
    --nav--border-color: transparent;
    --mobile-nav-background: #f7f7f7;
    --global--color-primary: #000000;
    --global--color-background:#ffffff;
    --table-caption-bg-color: #e5e9f0;
    --widget-section-divider: #d8dee9;    
}

body {
    background-color: #212121 !important;
    margin: 0 !important;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
textarea {
    color: #000000 !important;
}
pre {
    background-color: #212121 !important;
}
table th,
table td {
    border-color: #ffffff;
}

:disabled {
    opacity: 0.8;
    cursor: default;
}


.flex-row {
    display: flex;
    flex-wrap: wrap;
}
.flex-row.nowrap {
    flex-wrap: nowrap;
}
.flex-row.center {
    justify-content: center;
}
.flex-row.space-between {
    justify-content: space-between;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* copy btn from theme */
.theme-btn {
    background-color: #333;
    outline: none !important;
    border: 2px solid transparent;
    border-radius: .3rem;
    font-size: 90%;
    color: #ffffff !important;
    text-decoration: none !important;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    padding: .75rem;
    cursor: pointer;
    user-select: none;
}

.theme-btn.highlighted,
.theme-btn.active {
    border: 2px solid #ffffff;
}
.theme-btn.readmore {
    padding: 0.2rem 0.3rem;
    margin-top: 10px;    
}
.theme-btn:not(:disabled):hover {
    background-color: var(--hover-bg-color);
    outline: none;
    border-style: solid;
    border-width: 2px;
    border-color: var(--focus-color);
    color: var(--button-focus-text-color) !important;
}


.site a:hover,
.site a:focus,
button#btn:hover {
    outline-color: #ffffff !important;
}


.dialog.opened {
    position: absolute;
}
.dialog__window {
    background: #212121;
}
.dialog__mask {
    opacity: 0.8;
}


.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}
.site-header .container {
    align-items: center;
}

.custom-logo-link {
    outline: none !important;
}
.custom-logo {
    width: auto;
    max-width: 251px;
    max-height: 65px;
}

/* mobile menu buttons */
.bar1,
.bar2,
.bar3 {
    background: #ffffff !important;
}

/* search button in top menu */
button#btn {
    margin-right: 0.7rem;
}

.primary-navigation-open .primary-navigation > .primary-menu-container {
	background-color: #212121 !important;
}


h1.page-title {
    font-size: 2.5rem;
    margin: 0;
}


.video-categories {

}
.video-categories .category {
    margin-right: 15px;
    margin-bottom: 10px;
}

.video-preview {
    position: relative;
}
.video-preview video {
    width: 100%;
    height: 415px;
}
.video-preview .play {
    border-radius: 50%;
    font-size: 18px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.entry-header {
    
}
.entry-header h1 {
    margin: 0;
}


.pagination .nav-links .current {
    color: #000000;
}


.footer-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}
.site-footer {
    align-items: center;
}
.site-footer div {
    padding: 0;
}

.footer-menu {
    
}
.footer-menu .menu-item:not(:last-child) {
    margin-right: 5px;
}
.footer-menu .menu-item a {
    padding: 4px 5px;
}

.go_top {
    display: block;
    margin-top: -8px;
}
.go_top svg {
    width: 34px;
    height: 34px;
}

.social-menu {

}
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.social-menu .menu-item:not(:last-child) {
    margin-right: 10px;
}
.social-menu a {
    background: #000000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;    
}
.social-menu a .icon::before {
    content: '\f0c1';
    font-size: 14px;
    color: #ffffff;
}
.social-menu a[href*="facebook.com"] {
    background-color: #29487d;
}
.social-menu a[href*="facebook.com"] .icon::before {
    content: '\f09a';
    color: #ffffff;
}
.social-menu a[href*="instagram.com"] {
    background-color: #ffffff;
}
.social-menu a[href*="instagram.com"] .icon::before {
    content: '\f16d';
    color: #000000;
}
.social-menu a[href*="twitter.com"] {
    background-color: #1da1f2;
}
.social-menu a[href*="twitter.com"] .icon::before {
    content: '\f099';
    color: #ffffff;
}
.social-menu a[href*="youtube.com"] {
    background-color: #ff0000;
}
.social-menu a[href*="youtube.com"] .icon::before {
    content: '\f166';
    color: #ffffff;
}
.social-menu a[href*="mailto:"] {
    background-color: #ffffff;
}
.social-menu a[href*="mailto:"] .icon::before {
    content: '\f003';
    color: #000000;
}

@media screen and (min-width: 993px) {
    .site-header {
        margin-bottom: 2.5rem !important;
    }    
    .footer-wrap {
        margin-top: 2.5rem !important;
    }
}
@media (max-width: 992px) {
    .site-header {
        background-color: #212121;
        border: none;
        box-shadow: 4px 4px 13px 0px #000000;
        padding: 0.5rem 0;
        position: sticky;
        top: 0;
        z-index: 51;
    }
    .site-header .container,
    .form-alert,
    .tabs {
        width: 90%;
        max-width: none;
    }
    .profile-mini {
        margin-bottom: 5px;
    }
    .custom-logo {
        max-width: 180px;
    }

    /* search button */
    button#btn {
        display: block;
        top: 12px;
        right: 49px;
    }
    .navbar-toggle {
        z-index: 99;
    }
}
@media screen and (max-width: 768px) {
    .dialog__window {
        width: 100%;
        max-width: 90vw;
    }

    .video-categories {
        flex-wrap: nowrap;
        overflow-y: auto;
        padding-bottom: 3px;
    }
    .video-categories .category {
        white-space: nowrap;
    }

    .site-footer div {
        margin-bottom: 15px;
    }
    .site-footer div:nth-child(1) {
        order: 3;
    }
    .site-footer div:nth-child(2) {
        order: 1;
    }
    .site-footer div:nth-child(3) {
        order: 2;
        
    }
	
	
    .footer-menu .menu {
        flex-direction: column;
    }
    .footer-menu .menu .menu-item {
        text-align: center;
    }
	.grecaptcha-badge { 
    visibility: hidden;
	}
	
	
}