/*
Theme Name: Kosaku child for madara
Description:  A child theme for Madara - designed by Kosaku for special website
Author:       King
Author URI:   
Template: madara
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Version: 1.2.2
*/

:root {
    --theme_color: #000000;
    --header: var(--theme_color);
    --footer: rgb(255 255 255 / 0.1);
    --button: #09090b;
}

body {
    color: #fff;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    color: #fff;
}

.navigation-ajax .load-ajax {
     transition: all 200ms ease-out;
     border: none;
     width: 100%;
    font-size: inherit;
    line-height: inherit;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
    left: inherit !important;
    top: inherit !important;
    position: relative !important;
    width: 100% !important;
    display: grid !important
;
    gap: 4vw;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0px;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
    @media (min-width: 640px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        padding: 1rem;
        padding-top: 1rem;
    }
}
.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
    @media (min-width: 1536px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

#menu-user-profile:hover #menu-profile {
    display: block !important;
}

body select option {
    background-color: #fff !important;
    color: #333 !important;
}

.settings-page .nav-tabs-wrap ul.nav-tabs li:after {
    content: none;
}
.settings-page .nav-tabs a {
    display: block;
    line-height: 1.42857143;
}
.settings-page .nav-tabs-wrap ul.nav-tabs li a {
    background: rgb(255 255 255 / 0.1) !important;
    color: #ebebeb !important;
    font-weight: 600;
    padding: 10px 15px 8px;
    border: none;
    border-radius: 20px !important;
    margin-right: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
body .settings-page .nav-tabs-wrap ul.nav-tabs li a {
}

.settings-page .nav-tabs-wrap ul.nav-tabs li {
    width: 100%;
    position: relative;
    margin: 6px 0;
}
.settings-page .nav-tabs-wrap ul.nav-tabs li.active a {
     background: #303e4e !important;
     color: #fff;
}
.settings-page .nav-tabs-wrap ul.nav-tabs {
    border-bottom: none;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.settings-page .tabs-content-wrap .tab-group-item .tab-item .choose-avatar {
    margin-bottom: 0px;
}

.settings-page .tabs-content-wrap .tab-group-item .tab-item .form-choose-avatar {
    color: #888;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.settings-page .tabs-content-wrap input[type="submit"] {
    width: auto;
    padding: 7px 20px;
}
.settings-page input[type="submit"], #delete-bookmark-manga {
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #313e4e !important;
    border: none;
    border-radius: 15px !important;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff !important;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.choose-avatar .loading-overlay i.fas.fa-spinner {
    color: #313e4e !important;
}

.form-group .form-control {
    background: rgb(31 41 55 / 1) !important;
    color: #fff;
}

.settings-page .tabs-content-wrap .tab-group-item .tab-item .show {
    font-weight: 600 !important;
    color: #888888 !important;
}

.settings-page table.list-bookmark > thead > tr > th {
    background-color: #303e4e !important;
    border-bottom: none !important;
    font-weight: 600;
    color: #fff;
}
table:not(#wp-calendar):not(.shop_table) > thead > tr > th, table:not(#wp-calendar):not(.shop_table) > tbody > tr > th, table:not(#wp-calendar):not(.shop_table) > tfoot > tr > th, table:not(#wp-calendar):not(.shop_table) > thead > tr td, table:not(#wp-calendar):not(.shop_table) > tbody > tr td, table:not(#wp-calendar):not(.shop_table) > tfoot > tr td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: none;
}
table:not(#wp-calendar):not(.shop_table) > tbody > tr:hover {
    background-color: inherit !important;
}
.table {
    color: #cccccc !important;
}

input:not([type]):focus, input[type="color"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="text"]:focus, input[type="search"]:focus, textarea:focus, select:focus, input:not([type]):hover, input[type="color"]:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="tel"]:hover, input[type="url"]:hover, input[type="text"]:hover, input[type="search"]:hover, textarea:hover, select:hover {
    outline: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: none !important;
}

input:not([type]), input[type="color"], input[type="email"], input[type="number"], input[type="password"], input[type="tel"], input[type="url"], input[type="text"], input[type="search"], textarea, select {
    border: none !important;
}

/*body.modal-open .modal .modal-dialog {*/
/*    background-image: none !important;*/
/*}*/


body.modal-open .modal .modal-dialog {
    background: var(--theme_color);
    padding: 1rem;
    border-width: 1px;
    border-radius: 0.76rem;
    border-color: rgb(255 255 255 / 0.1);
}

body.modal-open .modal .modal-content {
    border: 0px !important;
}

body.modal-open .modal .modal-content .modal-header, body.modal-open .modal .modal-content .modal-footer {
    display: none !important;
}

body.modal-open .modal .modal-content .modal-body .login h3 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #fff;
}

body.modal-open .modal .modal-content .modal-body label {
    max-width: 315px;
    text-align: left;
    color: rgb(255 255 255 / 0.8) !important;
    font-size: 1rem;
    line-height: 1.5rem;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    width: 250px;
}

body.modal-open .modal .modal-content .modal-body input {
    color: #fff !important;
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    padding: 0.5rem 1rem !important;
    background-color: rgb(31 41 55 / 1) !important;
    border-radius: 0.375rem !important;
    margin-top: 2px !important;
    margin-bottom: 10px !important;
}

body.modal-open .modal .modal-content .modal-body .forgetmenot {
    float: none !important;
    width: 100% !important;
}


body.modal-open .modal .modal-content .modal-body .forgetmenot label {
    flex-direction: row !important;
}

body.modal-open .modal .modal-content .modal-body .submit .wp-submit {
    display: flex;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 9999px !important;
    background-color: rgb(255 255 255 / 0.1) !important;
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
    font-weight: 500 !important;
    color: #fff !important;
    margin: auto;
}

body.modal-open .modal .modal-content .modal-body .submit {
    width: 100% !important;
}
.modal-loading-screen {
    background: #000000c7 !important;
}
body.modal-open .modal .modal-content .modal-body .login:not(.message) {
    padding: 0px !important;
    margin: auto !important;
    max-width: 300px !important;
}

.modal-body .nav {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.backtoblog {
    text-align: center;
}

.message.register {
    text-align: center;
}
a:hover {
    color: white !important;
}

.nav-tabs .nav-link {
    padding: 8px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #fff !important;
    text-transform: capitalize;
    transition: background-color 300ms ease;
    border-radius: 10px;
    border: none !important;
}

.nav-tabs .nav-link.active {
    background-color: #565656;
}

.splide__arrow {
    height: 2rem !important;
    width: 2rem !important;
    background-color: var(--theme_color) !important;
    padding: 0.5rem !important;
    opacity: 1 !important;
}
.splide__arrow {
    > svg {
        fill: #fff !important;
    }
}

a {
    color: #fff;
}

.tab-pane.fade {
    display: none;
}

.tab-pane.active.show {
    display: flex;
}
.settings-page table.list-bookmark > tbody tr td > div.mange-name:before {
    content: none !important;
}
.settings-page .nav-tabs-wrap ul.nav-tabs li a i {
    font-size: 24px;
    vertical-align: middle;
    margin-right: 15px;
}

.widget-heading {
    background: none !important;
    padding: 0 !important;
    font-size: 5.5vw;
    font-weight: 700;
}
.widget-heading:after {
    content: none !important;
}

.widget-content, .widget-heading {
    margin: 0 40px !important;
}
@media (min-width: 640px) {
    .widget-heading {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}
@media (max-width: 640px) {
    .widget-content, .widget-heading {
        margin: 0 10px !important;
    }
}

#top_sidebar .widget-content, #top_sidebar .widget-heading  {
    margin: 0 !important;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}
.tab-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.settings-title h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 22px;
}
.form-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
.form-group label {
    font-weight: normal;
    color: #ccc;
    font-size: 16px !important;
    min-width: 150px;
}
.form-group .form-control {
    padding: 8px 16px;
    background: rgb(31 41 55 / 1);
    border-radius: 6px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}
.alert-success {
    background-color: #61a263;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}
.alert-danger {
    background-color: rgb(200, 64, 64);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}
.settings-page table.list-bookmark > tbody tr td > div.action:before {
    content: none !important;
}

#bookmark .action {
    display: flex;
    gap: 10px;
}
.fade {
    transition: opacity 0.15s linear;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}
.modal.show {
    display: block;
}
.modal-backdrop.in, .modal-backdrop.show {
    opacity: 0.95;
}
body.modal-open .modal .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}
.modal-body {
    display: flex;
    justify-content: center;
}
@media (min-width: 576px) {
    .modal-dialog {
        width: 600px;
        max-width: 600px;
        margin: 30px auto;
    }
}