/*
Theme Name: Web Astra Theme
*/
@font-face {
    font-family: '7th';
    src: url("fonts/7thsc.ttf");
}
html {
    /*height: 100%;*/
}

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,Arial,sans-serif;
    height: 100%;
}
.container {
    /*width: 1140px;*/
    margin: 0 auto;
    clear: both;
    height: 100%;
}
.header {
    font-family: '7th';
    font-size: 90px;
    text-align: center;
    background-color: #6e6e6e;
    color: white;
}

#not-found-message {
    font-family: '7th';
    font-size: 90px;
}

.no-wrap-menu {
    background-color: #0e629a;
}

.menu {
    text-align: left;
    clear: both;
    /*min-height: 20px;*/
    margin: 0;
    padding: 10px 0 10px 0;
}

.menu li {
    list-style: none;
    display: inline-block;
    margin: 0 10px 0 0;
}

.menu li a {
    text-decoration: none;
    color: #ffffff;
    padding-right: 15px;
    float: left;
    clear: both;
}

#menu-mainmenu {
    margin: 0;
}

#menu-mainmenu li.menu-item-has-children>a span {
    /*background-image: url(assets/images/caret-down-solid.svg);*/
    /*background-repeat: no-repeat;*/
    /*background-position: right;*/
    content: url("assets/images/caret-down-solid.svg");
    padding-left: 5px;
}

.menu ul li a:hover {
    text-decoration: none;
    color: #5e7ac1;
    cursor: pointer;
}

.content-container {

    padding: 20px 0 5px 0;
    margin: 0 auto;
}

.wrap {
    background-color: #e9e9e9;
    padding: 15px 0 15px 0;
    min-height: 500px;
}

.content {

    background-color: #fff;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.content:last-of-type {
    margin-bottom: 0px;
}

.post-title {
    font-size: 1.75em;
}

.post-title a {
    text-decoration: none;
}

.wp-post-image {
    margin: 0 auto;
    /*width: 100%;*/
}

footer {
    background-color: #0e629a;
    position: relative;
    color: #FFFFFF;
    bottom: 0;
    width: 100%;
    padding: 10px 0 10px 0;
}

footer.absolute {
    position: absolute;
    bottom: 0;
}

.post-tags {
    margin: 10px 0;
}

.contacts ul {
    list-style: none;
    padding: 0;
}

.contacts ul li {
    display: inline-block;
    margin-right: 15px;
}

.support-project-text {
    margin-bottom: 15px;
}

.post-tag {
    display: inline;
    background-color: #c5f0ff;
    margin-right: 10px;
    padding: 5px;
    border-radius: 7px;
    box-sizing: border-box;
}

.post-tag a {
    text-decoration: none;
    color: #5252f1;
}

.menu-right {
    /*float: right;*/
}

.menu-mainmenu-container {
    display: inline-block;
}

.menu-right {
    display: inline-block;
    float: right;
}

.avatar-menu-right {
    display: inline-block;
    float: right;
}

.menu-right ul li:last-of-type {
    margin-right: 0;
}

.menu-right ul li:last-of-type a {
    padding-right: 0;
}

.avatar-menu {
    margin-top: 4px;
}

.avatar-menu img {
    height: 36px;
    width: 36px;
}

.profile-menu-wrap {
    position: absolute;
    width: inherit;
    display: none;
}

.profile-menu-wrap ul {
    float: right;
    background-color: #fff;
    border: 1px solid #909090;
    margin: 0;
    padding: 10px;
}

.profile-menu-wrap ul li {
    list-style: none;
}

.profile-menu-wrap ul a {
    text-decoration: none;
    color: #0c0c0c;
}

.popup-layout {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0c0c0c;
    z-index: 1000;
    opacity: 0.7;
}

.popup-logout-prompt {
    display: none;
    position: fixed;
    top: 30%;
    background-color: #ffffff;
    /*height: 100px;*/
    width: 30%;
    left: 35%;
    z-index: 1001;
    padding: 15px;
}

.popup-logout-prompt .popup-logout-title {
    text-align: center;
}

.popup-logout-btns {
    text-align: center;
    margin-top: 20px;
}

.popup-logout-btns a {
    text-decoration: none;
    color: white;
    padding: 8px;
    border-radius: 7px;
    /*display: block;*/
    /*float: right;*/
}

.btn-logout-reset {
    background-color: red;
    /*margin-right: 10px;*/
}

.btn-logout-submit {
    background-color: #0d66c2;
}

#loginform label {
    display: block;
    margin-bottom: 10px;
}

.register-form-block {
    margin-bottom: 15px;
}

#register-form .error {
    color: red;
}

#register-form .error.hide {
    display: none;
}

.mob-menu-signin-link {
    float: right;
}

code {
    padding: 5px;
    background-color: #efefef;
    border: 1px #b1b1a8 solid;
    border-radius: 4px;
}

.wp-post-image {
    margin-bottom: 20px;
}

.post-author {
    margin: 20px 0;
}

.post-comments {
    padding: 0;
}

.post-comments li {
    list-style: none;
}

.comment {
    margin: 0 0 25px 0;
}

.comment-author {
    display: flex;
    margin: 0 0 15px 0;
}

.comment-author-name-datetime {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.comment-author-name a {
    text-decoration: none;
    color: black;
}

.comment-author-name a:hover {
    color: #ababab;
}

.comment-author-avatar {
    height: 35px;
}

.comment-author-avatar img {
    width: 35px;
    height: 35px;
    margin: 0 20px 0 0;
}

.comment-author-name {
    float: left;
    margin: 0 30px 0 0;
}

.comment-reply-link {
    /*margin-bottom: 20px;*/
}

.comment-reply-link a {
    text-decoration: none;
    font-size: 14px;
    color: black;
}

.comment-reply-link a:hover {
    color: #ababab;
}

.panel-no-comment {
    text-align: center;
    background-color: #e9e9e9;
    border: 2px solid #b9b9b9;
    border-radius: 6px;
    padding: 20px;
}

@media screen and (max-width: 375px) {
    body {
        /*color: greenyellow;*/
    }
    .wp-post-image {
        width: 100%;
    }

    .menu span {
        min-height: 15px;
    }

    #menu-mainmenu li.menu-item-has-children>a span {
        content: url("assets/images/caret-down-solid-black.svg");
        padding-left: 3px;
    }

    .menu-mainmenu-container {
        display: none;
    }

    .mob-menu {
        height: 25px;
        padding: 0 20px;
        position: relative;
    }

    .header {
        height: 30px;
        font-size: 25px;
    }

    .mob-menu img {
        height: 25px;
        line-height: 25px;
        position: static;
    }

    .mob-menu .mob-menu-icon {
        float: left;
    }

    .mob-menu .avatar-mob-menu-icon {
        float: right;
    }

    /*.mob-menu img.user-icon {*/
    /*    float: right;*/
    /*}*/

    .show-menu {
        display: block;
    }

    .show-menu ul {
        z-index: 1;
    }

    .show-menu ul li {
        float: none;
        text-align: center;
        display: list-item;
    }

    .show-menu ul li a {
        color: #0c0c0c;
        margin: 0 auto;
        width: 100%;
    }

    ul.sub-menu {
        display: none;
        padding: 8px;
        clear: both;
        position: static;
        background-color: #fff;
        z-index: 100;
        top: 97px;
    }

    .menu-right .menu {
        display: none;
    }

    .menu {
        top: 55px;
        position: absolute;
        background-color: #fff;
        width: 100%;
        border-bottom: 1px solid #909090;
        padding: 10px 0 10px 0;
    }

    ul.sub-menu.show-menu {
        display: block;
    }

    .profile-menu-wrap {
        width: 100%;
        margin-top: 25px;
    }

    .profile-menu-wrap ul {
        margin-right: 20px;
    }

    .avatar-menu-right {
        display: none;
    }

    .popup-logout-btns {
        margin-top: 10px;
    }

    .popup-logout-btns a {
        padding: 6px;
        display: block;
        margin-bottom: 5px;
    }

    footer {
        padding: 10px 20px;
        box-sizing: border-box;
        font-size: 12px;
    }
}

@media screen and (max-width: 425px) and (min-width: 375px) {
    body {
        /*color: fuchsia;*/
    }
    .wp-post-image {
        width: 100%;
    }

    .menu span {
        min-height: 15px;
    }

    #menu-mainmenu li.menu-item-has-children>a span {
        content: url("assets/images/caret-down-solid-black.svg");
        padding-left: 3px;
    }

    .menu-mainmenu-container {
        display: none;
    }

    .mob-menu {
        height: 25px;
        padding: 0 20px;
        position: relative;
    }

    .header {
        height: 30px;
        font-size: 25px;
    }

    .mob-menu img {
        height: 25px;
        line-height: 25px;
        position: static;
    }

    .mob-menu .mob-menu-icon {
        float: left;
    }

    .mob-menu .avatar-mob-menu-icon {
        float: right;
    }

    .show-menu {
        display: block;
    }

    .show-menu ul {
        z-index: 1;
    }

    .show-menu ul li {
        float: none;
        text-align: center;
        display: list-item;
    }

    .show-menu ul li a {
        color: #0c0c0c;
        margin: 0 auto;
        width: 100%;
    }

    ul.sub-menu {
        display: none;
        padding: 8px;
        clear: both;
        position: static;
        background-color: #fff;
        z-index: 100;
        top: 97px;
    }

    .menu {
        top: 55px;
        position: absolute;
        background-color: #fff;
        width: 100%;
        border-bottom: 1px solid #909090;
        padding: 10px 0 10px 0;
    }

    .menu-right .menu {
        display: none;
    }

    ul.sub-menu.show-menu {
        display: block;
    }

    .avatar-menu-right {
        display: none;
    }

    .profile-menu-wrap {
        width: 100%;
        margin-top: 25px;
    }

    .profile-menu-wrap ul {
        margin-right: 20px;
    }

    .popup-logout-btns {
        margin-top: 10px;
    }

    .popup-logout-btns a {
        padding: 6px;
        display: block;
        margin-bottom: 5px;
    }

    footer {
        padding: 10px 20px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 768px) and (min-width: 425px) {
    body {
        /*color: yellow;*/
    }
    .wp-post-image {
        width: 100%;
    }
    .menu span {
        min-height: 15px;
    }

    #menu-mainmenu li.menu-item-has-children>a span {
        content: url("assets/images/caret-down-solid-black.svg");
        padding-left: 3px;
    }

    .menu-mainmenu-container {
        display: none;
    }

    .avatar-menu-right {
        display: none;
    }

    .mob-menu {
        height: 25px;
        padding: 0 20px;
        position: relative;
    }

    .header {
        height: 30px;
        font-size: 25px;
    }

    .mob-menu img {
        height: 25px;
        line-height: 25px;
        position: static;
    }

    .mob-menu .mob-menu-icon {
        float: left;
    }

    .mob-menu .avatar-mob-menu-icon {
        float: right;
    }

    .show-menu {
        display: block;
    }

    .show-menu ul {
        z-index: 1;
    }

    .show-menu ul li {
        float: none;
        text-align: center;
        display: list-item;
    }

    .show-menu ul li a {
        color: #0c0c0c;
        margin: 0 auto;
        width: 100%;
    }

    ul.sub-menu {
        display: none;
        padding: 8px;
        clear: both;
        position: static;
        background-color: #fff;
        z-index: 100;
        top: 97px;
    }

    .menu {
        top: 55px;
        position: absolute;
        background-color: #fff;
        width: 100%;
        border-bottom: 1px solid #909090;
        padding: 10px 0 10px 0;
    }

    .menu-right {
        display: none;
    }

    ul.sub-menu.show-menu {
        display: block;
    }

    .profile-menu-wrap {
        width: 100%;
        margin-top: 25px;
    }

    .profile-menu-wrap ul {
        margin-right: 20px;
    }

    footer {
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .popup-logout-btns {
        margin-top: 10px;
    }

    .popup-logout-btns a {
        padding: 6px;
        display: block;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
    body {
        /*color: red;*/
    }
    .wp-post-image {
        width: 100%;
    }
    .menu span {
        min-height: 15px;
    }
    #menu-mainmenu li.menu-item-has-children>a span {
        content: url("assets/images/caret-down-solid-black.svg");
        padding-left: 3px;
    }
    ul.sub-menu {
        display: none;
    }

    .mob-menu {
       display: none;
    }

    .mob-menu img.user-icon {
        float: right;
    }

    .menu {
        top: 75px;
        padding: 10px 20px;
    }

    .avatar-menu-right {
        padding-right: 20px;
    }

    .header {
        font-size: 50px;
        height: 50px;
    }

    ul.sub-menu {
        display: none;
        padding: 8px;
        clear: both;
        position: static;
        background-color: #fff;
        z-index: 100;
        top: 97px;
    }

    ul.sub-menu.show-menu {
        display: block;
    }

    .hide-menu {
        display: none;
    }

    ul.sub-menu li {
        float: none;
        /*
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #c0c0c0;
         */
    }

    ul.sub-menu li:last-of-type {
        border: none;
        padding: 0;
    }

    ul.sub-menu li a {
        position: relative;
        background-color: #fff;
        z-index: 100;
        padding: 0;
        float: none;
        color: #0c0c0c;
    }

    .profile-menu-wrap {
        width: 100%;
    }

    .profile-menu-wrap ul {
        margin-right: 20px;
    }

    footer {
        padding: 10px 20px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 1140px) and (min-width: 1024px) {
    body {
        /*color: cyan;*/
    }

    #menu-mainmenu li.menu-item-has-children>a span {
        content: url("assets/images/caret-down-solid.svg");
        padding-left: 3px;
    }

    .content {
        width: 100%;
    }
    .wp-post-image {
        /*width: inherit;*/
    }
    .mob-menu {
        display: none;
    }

    ul.sub-menu {
        display: none;
        padding: 8px;
        border: 1px solid #909090;
        clear: both;
        position: absolute;
        background-color: #fff;
        z-index: 100;
        top: 145px;
    }

    ul.sub-menu.show-menu {
        display: block;
    }

    .hide-menu {
        display: none;
    }

    ul.sub-menu {
        display: none;
        padding: 8px;
        border: 1px solid #909090;
        clear: both;
        position: absolute;
        background-color: #fff;
        z-index: 100;
        top: 94px;
    }

    ul.sub-menu li {
        float: none;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #c0c0c0;
        display: list-item;
    }

    ul.sub-menu li:last-of-type {
        border: none;
        padding: 0;
    }

    ul.sub-menu li a {
        position: relative;
        background-color: #fff;
        z-index: 100;
        padding: 0;
        float: none;
        color: #0c0c0c;
    }

    .menu {
        padding: 10px 20px;
    }

    .profile-menu-wrap {
        width: 100%;
    }

    .profile-menu-wrap ul {
        margin-right: 20px;
    }

    .avatar-menu-right {
        padding-right: 20px;
    }

    footer .container {
        padding: 10px 20px;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 1140px) {
    body {
        /*color: blue;*/
    }
    .container {
        width: 1140px;
    }
    .wp-post-image {
        width: 100%;
    }
    .mob-menu {
        display: none;
    }
    .mob-menu img {
        display: none;
    }

    ul.sub-menu {
        display: none;
        padding: 8px;
        border: 1px solid #909090;
        clear: both;
        position: absolute;
        background-color: #fff;
        z-index: 100;
        top: 145px;
    }

    ul.sub-menu.show-menu {
        display: block;
    }

    .hide-menu {
        display: none;
    }

    ul.sub-menu li {
        float: none;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #c0c0c0;
        display: list-item;
    }

    ul.sub-menu li:last-of-type {
        border: none;
        padding: 0;
    }

    ul.sub-menu li a {
        position: relative;
        background-color: #fff;
        z-index: 100;
        padding: 0;
        float: none;
        color: #0c0c0c;
    }
}