/*
Theme Name: WhoTheme One
Theme URI: https://whoennrl.ru/
Author: WhoEnnrl
Author URI: https://whoennrl.ru
Description: Тема Wordpress созданная специально для сайта whoennrl.ru
Version: 1.0
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: whothemeone
*/
* {
    font-family: "Commissioner", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings:
    "slnt" 0,
    "FLAR" 0,
    "VOLM" 0;
}
a {
    color: rgb(0, 122, 255);
    text-decoration: underline;
}

body {
    background: black;
    color: white;
}
.content {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    position: fixed;
}
.content .centerBox {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.content .centerBox .box {
    min-width: 600px;
    max-width: 600px;   
    width: 600px;
}
.content .centerBox .box .title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}
.content .centerBox .box .menu ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    color: white;
    margin: 0;
    margin-top: 20px;
    padding: 0;
}
.content .centerBox .box .menu li {
    margin: 0;
    padding: 0;
}
.content .centerBox .box .menu a {
    color :white;
    text-decoration: none;
}
.content .centerBox .box .menu li.page_item_has_children ul {
    display: none;
}
.content .centerBox .box .posts {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
}
.content .centerBox .box .posts a {
    color: white;
}
.content .centerBox .box .posts .post-single {
    display: flex;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    height: 40px;
    justify-content: stretch;
    text-decoration: none;
}
.content .centerBox .box .posts .post-single .meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    text-decoration: none;
}
.content .centerBox .box .posts .post-single .meta .right {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
.content .centerBox .box .posts .post-single .meta .post-title {
    font-size: 18px;
    text-decoration: none;
}
.content .centerBox .box .post-edit-link {
    content: '';
    margin-left: 10px;
    display: block;
    color: rgb(0, 0, 0, 0) !important;
    text-decoration: none;
    width: 30px;
    height: 30px;
    background: rgb(28, 28, 30) url(/wp-content/themes/whothemeone/icons/pencil.png) no-repeat;
    background-size: 50%;
    background-position: center center;
    border-radius: 5px;
    overflow: hidden;
}
.content .end-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}
.content .content-post {
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    position: fixed;
    overflow: auto;
    padding: 50px;
}
.content .content-post .post {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.content .content-post .post .headerPost .title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}
.content .content-post .post .headerPost {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.content .content-post .post .postContent {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.content .content-post .post p {
    margin: 0;
    padding: 0px;
}
.content .content-post .post img {
    border-radius: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}
tr, td {
    border-collapse: collapse;
    border: 1px solid rgba(28, 28, 30, 1);
    margin: 0;
    padding: 10px;
}
.wp-block-file {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: rgb(28, 28, 30);
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    box-sizing: border-box;
}
.wp-block-file a:first-child {
    flex: 1;
    color: white; 
    text-decoration: none;
}
.wp-block-file__button {
    height: 30px;
    padding-left: 20px;
    padding-right: 20px;
    background: rgb(44, 44, 46) !important;
    color: rgb(0, 122, 255) !important;
    border-radius: 100px;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    line-height: 30px;
}
.wp-block-file__button:hover {
    background: rgb(0, 122, 255) !important;
    color: white !important;
}
.backButton {
    color: rgb(0, 122, 255);
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}
.backButton:before {
    content: "";
    width: 15px;
    height: 15px;
    background: url(/wp-content/themes/whothemeone/icons/chevron.left.png) no-repeat;
    display: block;
    background-size:contain;
    background-position: center center;
}

.wp-block-quote {
    width: 100%;
    background: rgb(28, 28, 30);
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.wp-block-quote::before {
    content: "";
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    display: block;
    background: url(/wp-content/themes/whothemeone/icons/quote.closing.png) no-repeat;
    background-position: top left;
    background-size: contain;

}
.wp-block-quote p {
    font-family: monospace;
}
@media screen and (max-width: 650px) {
    .content .centerBox .box{
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    .content .centerBox {
        padding: 25px;
    }
    .content .content-post .post {
        width: 100%;
        margin: 0;
    }
    .content .content-post {
        padding: 25px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

}