/*
* Theme Name: Askr
* Author: Theme Author
* Text Domain: askr
*/
@font-face {
    font-family: Romul;
    src: url(romul.ttf);
}

@font-face {
    font-family: Astra;
    src: url(PTAstraSerif-Regular.ttf);
	font-weight: regular; 
}

@font-face {
    font-family: Astra;
    src: url(PTAstraSerif-Bold.ttf);
	font-weight: bold; 
}


#logo_left {
    font-family: Romul;
}

#logo_left h1 {
    position: absolute;
    left: 125px;
}
#load_more_gs{
width: 53px;
padding:50px 0;
margin:0 auto;
} 
 
@keyframes cssload-rotate {
    100% {
        transform: rotate(360deg);
    }
}
 
@-o-keyframes cssload-rotate {
    100% {
        -o-transform: rotate(360deg);
    }
}
 
@-ms-keyframes cssload-rotate {
    100% {
        -ms-transform: rotate(360deg);
    }
}
 
@-webkit-keyframes cssload-rotate {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
 
@-moz-keyframes cssload-rotate {
    100% {
        -moz-transform: rotate(360deg);
    }
}
body {
    background: url('img/bg.jpg') center top;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Astra";
    position: relative;
}

table#main {
    width: 100%;
}

table#main td, table#main tr {
    margin: 0;
    padding: 0;
}

td#sidebar, td#content {
    background: #ffffff;
}

td#sidebar {
    vertical-align: top;
    border-right: 0px none;
}

td#sidebar div#sidebar_block {
    padding: 15px;
}

td#content {
    vertical-align: top;
}

td#content div#content_block {
    padding: 15px 40px;
	background-color: whitesmoke;
}

table#logos {
    width: 100%;
    background: #ffffff;
    height: 106px;
}

td#logo_left td#logo_right {
    width: 50%;
    vertical-align: top;
}

td#logo_left {
    text-align: left;
}
td#logo_left img {
    width: 110px;
}
.news-card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
td#logo_left a {
    float: left;
    margin: 0 15px;
    color: #000000;
    text-decoration: none;
}
.search-button-out {
    display: flex;
    min-width: 290px;
    flex-direction: row;
    justify-content:left;
    align-items: center;
    align-self: center;
}
@media (max-width: 1210px) {
    .search-button-out{
        margin: 35px 0 0 95px;
    }
}
.search-button {
    cursor: pointer;
    background-image: url("img/magnifier.png");
    width: 20px;
    height: 20px;
    background-size: cover;
}
.search-button.active {
    background-image: url("img/cross.svg");
}

.search-form {
    display: none;
    opacity: 0;
    transition-duration: 0.5s, 0.5s;
    background: #fff;
    right: 100px;
    height: 100%;
    padding: 0;
    top: 0;
    font-size:x-small;
    font-style: italic;
}
.search-form.active {
    display: block;
    opacity: 1;
    transition-duration: 0.5s, 0.5s;
}
.butto {
    padding: 3px 6px 3px 6px;
    font-size: x-small;
    font-style: normal;
}
td#header-search {
    padding-right: 10px !important;
}
td#logo_right {
    text-align: right;
    position: relative;
    min-width: 250px;
}
td#logo_right2 {
    text-align: right;
    position: relative;
    min-width: 250px;
}
.social_logo {
    width: 15px;
}
.top-header-links {
    margin-left: 80px;
 }
.top-header-links div {
    padding: 0 20px;
}
article header.entry-header {
    text-align: center;
}
.lang-version {
    display: flex;
}
.lang-version li {
    list-style: none;
}
.lang-version li img {
    width: 30px;
    border: #000000;
    border-style:outset;
    border-width: 1px;
    margin-left: 2px;
}
td#footer {
    height: 50px;
}
.footer-new .col-md-4 img {
    width: 30px;
}
#footer {
    background: black;
    color: white;
    text-decoration: none;
}
#footer li {
    list-style: none;
}
#footer a {
    color: white;
    text-decoration: none;
}
.footer-columns {
    columns: 15em;
    column-gap: 2em;
    padding: 10px 0 10px 0;
}
td#sidebar div#sidebar_block aside#search-2 label {
    display: none;
}

td#sidebar div#sidebar_block aside#search-2 input#s {
    display: inline-block;
    width: 110px;
    position: relative;
}

td#sidebar div#sidebar_block aside#search-2 input#searchsubmit {
    width: 50px;
}

nav.pagination {
    margin-top: 15px;
}

nav.pagination h2 {
    display: none;
}

div#respond p.form-allowed-tags {
    display: none;
}

div#respond p.comment-form-comment label {
    display: block;
}

aside.widget_nav_menu ul.menu {
    margin: 0;
    padding: 0;
}

aside.widget_nav_menu ul.menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-bottom: 8px;
}

aside.widget_nav_menu ul.sub-menu li:first-child {
    padding-top: 8px;
}

aside.widget_nav_menu ul.menu li a:link,
aside.widget_nav_menu ul.menu li a:visited,
aside.widget_nav_menu ul.menu li a:hover,
aside.widget_nav_menu ul.menu li a:active{
    font: 16px;
    font-weight: normal;
    color: #000000;
    text-decoration: none;
}


aside.widget_nav_menu ul.menu li a:hover,
aside.widget_nav_menu ul.menu li a:active {
    text-decoration: underline;
}

aside.widget_nav_menu ul.menu li.current-menu-item a {
    font-weight: bold;
}

aside.widget_nav_menu ul.sub-menu {
    display: none;
}

aside.widget_nav_menu ul.menu li.current-menu-item ul.sub-menu,
aside.widget_nav_menu ul.menu li.current_page_parent ul.sub-menu {
    display: block;
}

aside.widget_nav_menu ul.menu li.current-menu-item ul.sub-menu a {
    font-weight: normal;
}

h1.page-title, header.entry-header h1 {
    margin: 25px 0;
    font-size: 30px;
}

.alm-load-more-btn.more {
    background-color: black;
    color: white;
    font-weight: bold;
    padding: 10px 25px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

h2.entry-title {
    text-align: left;
	font-size: 18px;
}

div.entry-content > p,ul{
	font-size: 18px;
	font-weight: normal;
	line-height: 1.4;
	color: #252222;

	width: 800px;
	margin-left: auto;
	margin-right: auto;

}

h2.entry-title a:link, h2.entry-title a:visited,
h2.entry-title a:hover, h2.entry-title a:active{
    text-decoration: none;
    color: black;
}

a.more-link:link, a.more-link:visited,
a.more-link:hover, a.more-link:active{
    color: black;
}
.overlay-loader {
    display: block;
    margin: auto;
    width: 97px;
    height: 97px;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.content-block{
	padding: 50px;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 97px;
    height: 97px;
    animation-name: rotateAnim;
        -o-animation-name: rotateAnim;
        -ms-animation-name: rotateAnim;
        -webkit-animation-name: rotateAnim;
        -moz-animation-name: rotateAnim;
    animation-duration: 1.03s;
        -o-animation-duration: 1.03s;
        -ms-animation-duration: 1.03s;
        -webkit-animation-duration: 1.03s;
        -moz-animation-duration: 1.03s;
    animation-iteration-count: infinite;
        -o-animation-iteration-count: infinite;
        -ms-animation-iteration-count: infinite;
        -webkit-animation-iteration-count: infinite;
        -moz-animation-iteration-count: infinite;
    animation-timing-function: linear;
        -o-animation-timing-function: linear;
        -ms-animation-timing-function: linear;
        -webkit-animation-timing-function: linear;
        -moz-animation-timing-function: linear;
}
.loader div {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgb(0,0,0);
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.loader div:nth-child(odd) {
    border-top: none;
    border-left: none;
}
.loader div:nth-child(even) {
    border-bottom: none;
    border-right: none;
}
.loader div:nth-child(2) {
    border-width: 2px;
    left: 0px;
    top: -4px;
    width: 12px;
    height: 12px;
}
.loader div:nth-child(3) {
    border-width: 2px;
    left: -1px;
    top: 3px;
    width: 18px;
    height: 18px;
}
.loader div:nth-child(4) {
    border-width: 3px;
    left: -1px;
    top: -4px;
    width: 23px;
    height: 23px;
}
.loader div:nth-child(5) {
    border-width: 3px;
    left: -1px;
    top: 4px;
    width: 31px;
    height: 31px;
}
.loader div:nth-child(6) {
    border-width: 4px;
    left: 0px;
    top: -4px;
    width: 39px;
    height: 39px;
}
.loader div:nth-child(7) {
    border-width: 4px;
    left: 0px;
    top: 6px;
    width: 49px;
    height: 49px;
}


@keyframes rotateAnim {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@-o-keyframes rotateAnim {
    from {
        -o-transform: rotate(360deg);
    }
    to {
        -o-transform: rotate(0deg);
    }
}

@-ms-keyframes rotateAnim {
    from {
        -ms-transform: rotate(360deg);
    }
    to {
        -ms-transform: rotate(0deg);
    }
}

@-webkit-keyframes rotateAnim {
    from {
        -webkit-transform: rotate(360deg);
    }
    to {
        -webkit-transform: rotate(0deg);
    }
}

@-moz-keyframes rotateAnim {
    from {
        -moz-transform: rotate(360deg);
    }
    to {
        -moz-transform: rotate(0deg);
    }
}
#upbutton {
    height: 61px;
    width: 63px;
    bottom: 30px;
    left: 30px;
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 999;
}
.postsblock {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.postblock-img {
    width: 100%;
    /*height: 275px;*/
}
.postblock-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.postsblock article {
    background: #b1b1b1;
    width: 32%;
    margin-bottom: 20px;
    margin-left: 10px;
}
.postsblock.publish article {
    background: #b1b1b1;
}
.postsblock article header.entry-header {
    padding-left: 15px;
	padding-right: 15px;
}
.header-nav {
    height: 54px;
    background: #ffffff;
    display: flex;
    margin-bottom: 30px;
    justify-content: space-between;
    padding-right: 35px;
}
.header-nav .menu {
    display: flex;
    margin: 0;
}
.header-nav .menu li {
    list-style: none;
    position: relative;
    cursor: pointer;
    height: 54px;
}
.header-nav .menu li ul li {
    height: auto;
    padding: 15px 10px;
}
.header-nav .menu li:hover {
    background: white;
}
.header-nav .menu li a {
    text-decoration: none;
    color: black;
    font-family: "Arial", sans-serif;
    font-size: 19px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0 10px;
    line-height: 20px;
}

.header-nav .menu li .sub-menu {
    position: absolute;
    padding: 0;
    margin: 0px 0 0 -20px;
    display: none;
    z-index: 1;
}
.header-nav .menu li:hover .sub-menu {
    display: block;
    background: #dadada;
}
.header-nav .menu li .sub-menu li {
    padding-left: 15px;
}
.span-new {
    width: 40px;
}
.lang-version {
    position: absolute;
    right: 35px;
    top: 30px;
}
.header-socials {
    position: absolute;
    right: 35px;
    top: 60px;
}
.header-socials a {
    text-decoration: none;
}
.header-socials img {
    width: 30px;
}
.header-nav form {
    margin-top: 14px;
}
#searchform .screen-reader-text {
    display: none;
}
.publish-popup {
    width: 800px;
    padding-bottom: 25px;
    position: absolute;
    border: grey solid 10px;
    background: white;
    display: none;
    top: 100px;
    left: 20%;
    z-index: 20;
}
.publish-popup_close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}
.entry-content li {
    font-size: 18px;
}
.publish-popup_close:hover {
    opacity: 1;
}
.publish-popup_close:before, .publish-popup_close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
}
.publish-popup_close:before {
    transform: rotate(45deg);
}
.publish-popup_close:after {
    transform: rotate(-45deg);
}
.publish-popup_content {
    margin: 20px;
    display: flex;
}
.publish-popup_text {
    margin-left: 20px;
}
.publish-popup_button {
    background: grey;
    padding: 10px 20px;
    width: 85px;
    margin: auto;
    cursor: pointer;
}
#wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: black;
    opacity: 0.6;
    display: none;
}
.publish-popup_image .postblock-img {
    width: 400px;
    height: 533px !important;
}
.publish-popup_button__deactive {
    cursor: default;
    background: #cccccc;
}
.search_button {
    background: url('img/lupa.png');
    width: 15px;
    height: 15px;
    background-size: 15px;
    position: absolute;
    right: 3px;
    top: 4px;
}
.publish .postblock-img {
    object-fit: cover;
}
article header.entry-header a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}
.publish-popup-order {
    width: 800px;
    padding-bottom: 25px;
    border: grey solid 10px;
    background: white;
    display: none;
    top: 100px;
    left: 20%;
    z-index: 20;
    position: absolute;
}
.publish-popup-order .publish-popup_content {
    display: flex;
    flex-direction: column;
}
.spoiler >  input + .box {
	display: none;
}
.spoiler >  input:checked + .box {
	display: block;
}
#menu.fixed {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index: 1;
}
#menu.default {
    position: relative;
}
.ornament {
    margin-right: -6px;
}

/* new styles */
#header.fixed {
    position: fixed;
    z-index: 1;
    width: 100%;
}
#header {
    position: absolute;
    z-index: 1;
    width: 100%;
}
.main-content {
    margin-top: 106px !important;
}
.news-card img {
    width: 100%;
    max-height: 269px;
}
.news-card-text--top {
    font-weight: bold;
    font-size: 13px;
    margin: 8px 0;
    height: 35px;
}
.news-card-text--middle {
    font-size: 12px;
    height: 60px;
    padding-top: 10px;
}
.news-card-text-bottom {
    font-weight: bold;
    font-size: 12px;
    margin-top: 8px;
}
.news-card {
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 60%;
}
.news-card .small-card-badge {
    margin-right: 12px;
}
.small-card {
    position: relative;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    background-size: cover;
}
.small-card img {
    width: 100%;
}
.small-card-descr {
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 75px;
    transition: height .2s linear;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.alm-btn-wrap {
    text-align: center;
}
.small-card-descr--text {
    font-size: 13px;
    margin: 12px;
    font-weight: 700;
    line-height: 17px;
}
.main-content {
    display: flex;
    padding: 0 15px !important;
}
.header-block-logo-hamburger {
    width: 30px;
    margin-left: 25px;
    cursor: pointer;
    display: block;
    height: 100%;
    position: absolute;
}
.header-block-logo-hamburger span {
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 5px;
    background-color: black;
}
.header-block-logo-hamburger span::before {
    top: -11px;
    transition-property: top, transform;
}
.header-block-logo-hamburger span::after {
    bottom: -11px;
    transition-property: bottom, transform;
}
.header-block-logo-hamburger span::before, .header-block-logo-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: black;
    content: "";
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
    -webkit-transition-delay: 0.3s, 0s;
    transition-delay: 0.3s, 0s;
}
.header-block-logo-hamburger.active span {
    background: none;
    transition-delay: 0.3s, 0.3s;
    height: 5px;
}
.header-block-logo-hamburger.active span::before, .header-block-logo-hamburger.active span::after {
    -webkit-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
}
.header-block-logo-hamburger.active span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.header-block-logo-hamburger.active span::before {
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, transform;
}
.header-block-logo-hamburger.active span::before, .header-block-logo-hamburger.active span::after {
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
    -webkit-transition-delay: 0.3s, 0s;
    transition-delay: 0.3s, 0s;
    height: 5px;
}
.header-block-logo-hamburger.active span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.header-block-logo-hamburger.active span::after {
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, transform;
}
#sidebar_block {
    padding: 0 15px;
}
#sidebar_block #widget-area {
    display: flex;
    justify-content: space-between;
}
#menu {
    display: none;
}
#menu.active {
    display: block;
    width: 500px;
    position: absolute;
    z-index: 1;
}
.header-nav .menu {
    flex-direction: column;
}
.header-nav {
    height: inherit;
}
article img {
    max-width: 100%;
}
.header-nav .menu li .sub-menu {
    margin: 0px 0 0 0px;
}
.header-nav .menu li .sub-menu li {
    padding-left: 0px;
}
.header-nav form {
    margin: 14px 48px;
    padding-bottom: 10px;
}
.search_button {
    top: 11px;
}
.big-card {
    position: relative;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    background-size: cover;
    min-height: 500px !important;
}
.big-card-descr {
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    position: absolute;
    max-width: 100% !important;
    bottom: 0;
    height: 75px;
    transition: height .2s linear;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.big-card:hover .big-card-descr {
    height: inherit;
}
.big-card-descr--text {
    font-size: 24px;
    margin: 17px 0 17px 0;
    line-height: 28px;
}
.big-card-descr--link {
    font-size: 14px;
    font-weight: bold;
}
.big-cards {
    margin-bottom: 24px;
}
.new-publish-block-image {
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
}
.new-publish-block a {
    text-decoration: none;
    color: inherit;
}
.new-publish-block-title {
    font-size: 20px;
    font-weight: bold;
}
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-container img {
    max-width: 100%;
    height: auto;
}
.alignleft,
img.alignleft {
    display: inline;
    float: left;
    margin-right: 24px;
    margin-top: 4px;
}
.alignright,
img.alignright {
    display: inline;
    float: right;
    margin-left: 24px;
    margin-top: 4px;
}
.aligncenter,
img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
    margin-bottom: 12px;
}
.wp-caption {
    background: #f1f1f1;
    line-height: 18px;
    margin-bottom: 20px;
    padding: 4px;
    text-align: center;
}
.wp-caption img {
    margin: 5px 5px 0;
    max-width: 622px; /* caption width - 10px */
}
.wp-caption p.wp-caption-text {
    color: #777;
    font-size: 12px;
    margin: 5px;
}
.wp-smiley {
    margin: 0;
}
@media all and (max-width: 1060px) {
    .span-new {
        display: none;
    }
    td#content div#content_block {
        padding: 5px;
    }
}
@media all and (max-width: 768px) {
    .big-card-descr--text {
        font-size: 13px;
        margin: 17px 0 0px 0;
        line-height: 18px;
    }
    .big-cards .col-md-6 {
        margin-bottom: 24px;
    }
    .big-card {
        min-height: 300px !important;
    }
    .main-content {
        flex-direction: column;
    }
    .top-header {
        display: flex;
        flex-direction: column;
    }
    #logo_right .ornament {
        width: 100%;
    }
    .lang-version {
        top: 0;
    }
    .header-socials {
        top: 30px;
    }
    .header-socials img {
        width: 30px;
    }
    td#logo_left img {
        width: 80px;
    }
    #logo_left {
        position: relative;
    }
    #logo_left h1 {
        left: 80px;
        font-size: 17px;
        top: 25%;
    }
    .header-block-logo-hamburger {
        display: block;
    }
}