/*
	Theme Name: Slavonic
	Description: slavonic Theme
	Version: 1.0
	Author: AZobenko
	Author URI: https://www.linkedin.com/in/azobenko/
*/

/* @font-face {
	font-family:'Book Antiqua';
	src:url('fonts/book-antiqua.eot');
	src:url('fonts/book-antiqua.eot?#iefix') format('embedded-opentype'),
		url('fonts/book-antiqua.woff') format('woff'),
		url('fonts/book-antiqua.ttf') format('truetype'),
		url('fonts/book-antiqua.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
} */
h1, h2, h3, h4, h5 {
	font-family: arial, sans-serif;
}
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	transition:all 200ms;
	-webkit-transition:all 200ms;
}
*:hover {
	transition:all 200ms;
	-webkit-transition:all 200ms;
}
*:focus {
	outline:none;
}
body {
	font-size:14px;
	font-family: arial, sans-serif;
	color:#201300;
	background:#fff;
}
main,
aside {
	margin-top:30px;
}
body:not(.home) main,
body:not(.home) aside {
	margin-top:10px;
}
body.single main {
	margin-top:10px;
}
body.single aside {
	margin-top:35px;
}
@media (min-width: 920px) {
  .menu-button {
    display: none;
	}
}
.search-bar{
    position: absolute;
    right: 0;
    top: 5px;
}
#search-switch {
  display:block;
  color: #fff;
}
#search-switch span {
	margin-top:6px;
}
header .wrapper .search-container {
  display:block;
  position: absolute;
  right: 0;
  top: 32px;
  height:0px;
  width: 280px;
  overflow:hidden;
  transition:all 300ms;
  -webkit-transition:all 300ms;
}
header .wrapper .search-container.open {
  height:45px;
}
.lang-container ul {
  list-style:none;
  margin:0;
  display: flex;
  padding-left: 0;
  position: relative;
}
.lang-container ul li.current-lang,
.lang-container ul li:hover {
  border: 1px solid #fff;
}
.lang-container ul li {
    list-style: none;
    margin: 0;
    width: 30px;
    height: 30px;
    float: left;
    line-height: 25px;
    margin-left: 5px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid transparent;
}
.lang-container ul li a {
  color:#fff;
  font-size: 12px;
}

form.search {
  float:right;
  width:280px
}
.menu-button {
  height: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 99999999;
  margin-top: 24px;
    margin-left: 15px;
    float: right;
  }
  .menu-button span {
    margin: 0 auto;
    position: relative;
    transition-duration: 0s;
    transition-delay: 0.2s;
    background-size: 0; }
    .menu-button span:before {
      margin-top: -10px;
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      transition-property: margin, transform;
      transition-duration: 0.2s;
      transition-delay: 0.2s, 0s; }
    .menu-button span:after {
      margin-top: 10px;
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      transition-property: margin, transform;
      transition-duration: 0.2s;
      transition-delay: 0.2s, 0s; }
    .menu-button span:before, .menu-button span:after {
      content: '';
      position: absolute;
      transform: initial; }
    .menu-button span, .menu-button span:before, .menu-button span:after {
      width: 35px;
      height: 3px;
      background-color: #fff;
      display: block;
      border-radius: 3px; }
  .menu-button:focus {
    outline: none;
    box-shadow: none; }
  .menu-button.active span {
    background-color: rgba(0, 0, 0, 0);
    transition-delay: 0s, 0.2s; }
    .menu-button.active span:before {
      margin-top: 0;
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      transition-delay: 0s, 0.2s; }
    .menu-button.active span:after {
      margin-top: 0;
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      transition-delay: 0s, 0.2s; }
#breadcrumbs a {
	color:#1e1f26;
	text-decoration:none;
}
#breadcrumbs + aside,
#breadcrumbs + main {
	margin-top:10px;
}
.single #breadcrumbs {
	margin:0 auto 10px;
  line-height: 15px;
}
#breadcrumbs {
	margin:10px auto 0;
	font-size:12px;
}
input[type="search"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    font-size: 16px;
	width:100%;
}
form.search {
	display:flex;
	position:relative;
	overflow:hidden;
}
form.search:hover .search-submit {
	transform:translateX(0px);
	opacity:1;
}
.search-submit {
	content: '';
    height: 34px;
    position: absolute;
    top: 3px;
    right: 2px;
    z-index: 99999;
	opacity:0;
	transform:translateX(20px);
	color: #fff;
    background: #370002;
    border: none;
    padding: 0 10px;
}
.home .biography a.button,
.more-publ {
    background:#008650;
    color:#fff;
    text-decoration:none;
    padding:7px 15px;
    float:right;
    font-size: 16px;
}
.more-publ:hover {
    color:#fff;
}
.sidebar-widget > div:hover {
	box-shadow: 0 0 20px #aaa;
}
.sidebar-widget > div {
	margin-bottom:20px;
}
.post-edit-link:hover {
	background:#370002;
	box-shadow:0 0 15px #777;
	color:#fff;
}
.post-edit-link {
    background: #777;
    color: #fff;
    padding: 7px 8px 8px 16px;
    border-radius: 10px;
    font-family: arial;
	margin-top:20px;
	display: block;
    max-width: 130px;
}
.page .post-edit-link,
.home .post-edit-link {
	padding: 8px 16px;
	position: fixed;
	left: -10px;
    top: 110px;
}
.clear:before,
.clear:after {
    content:' ';
    display:table;
}
.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
p {
	font-size: 17px;
    line-height: 25px;
	text-align: justify;
}
blockquote cite {
	font-weight:700;
}
blockquote {
	border-left: 3px solid #ddd;
    margin-left: 0;
    padding-left: 30px;
    font-style: italic;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#333;
	text-decoration:none;
}
article p a {
	text-decoration:underline;
	color:#370002;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
.hidden {
	display:none!important;
}
.widget_polylang ul {
  padding:0;
  list-style:none;
  margin:0;
}
.widget_polylang ul li a{
    padding: 7px 15px;
    display: block;
    background: #e0e0e0;
    font-family: 'Book Antiqua', times;
    color: #370002;
    font-size: 15px;
    letter-spacing: 0.5px;
}
.widget_polylang ul li a:hover {
  background:#fff;
}
#cboxCurrent {
  display:none!important;
}
#cboxTitle {
    padding: 0 10px;
}
/* wrapper */
.wrapper {
	max-width:1200px;
	width:90%;
	margin:0 auto;
	clear:both;
}
/* header */
.header {
	background:#008650;
	padding:0;
	color:#fff;
}
.header .wrapper{
	display:flex;
	justify-content: space-between;
}
.logo {
	margin-right:10px;
	width: 220px;
    padding: 7px 0;

}
img.custom-logo {
	width: auto;
    height: 115px;
}
.nav {
	margin-top:44px;
	position: relative;
    padding-right: 25px;
}
.nav ul {
	list-style:none;
	display:flex;
	padding-left:0;
}
.nav ul li {
	padding:10px;
	margin:0;
	position:relative;
	border-top:3px solid transparent;
}
.nav ul li:hover {
	border-top:3px solid #fff;
}
.nav ul li a{
	padding:0;
	margin:0;
	color:#fff;
	font-size:14px;
	white-space: nowrap;
	text-transform: uppercase;
	text-decoration:none;
	width:100%;
	height:100%;
	display:inline-block;
	letter-spacing:0.5px;
}
.nav ul li .sub-menu {
	flex-direction:column;
	position:absolute;
	top:35px;
	left:-5px;
	background:rgba(255,255,255,1);
	opacity:0;
	pointer-events:none;
	transition:all 300ms;
	-webkit-transition:all 300ms;
	margin:0;
	padding:0;
	z-index:999;
	transform: translateY(-15px);
}
body .nav ul li .sub-menu ul.sub-menu li:before {
	content: '\2629';
    color: #777;
    float: left;
    padding: 8px 5px 0 7px;
}
body .nav ul li .sub-menu ul.sub-menu li {
	background:#fff;
	padding-left:20px;
}
body .nav ul li .sub-menu ul.sub-menu {
	left: 0;
	top:0;
    width: 100%;
	opacity:1;
	display:block;
	position:relative;
}
.nav ul li.open .sub-menu {
	opacity:1;
	pointer-events:all;
	transition:all 300ms;
	-webkit-transition:all 300ms;
	transform: translateY(0);
}
.nav ul li .sub-menu li {
	float:none;
	padding:0;
	margin:0;
	min-width: 100px;
}
.nav ul li .sub-menu li a:hover {
	background:rgba(0,0,0,0.1);
}
.nav ul li .sub-menu li a {
	padding:10px 20px;
	margin:0;
	color:#555;
	display:block;
	text-transform:none;
}
.lang-container {
	display: inline-block;
    float: right;
    margin-top: -10px;
}
.biography {
	margin-bottom: 10px;
}
@media screen and (max-width:920px) {
  .biography{
	margin-bottom:90px;
  }
  form.search {
    width: 100%;
  }
  .page .post-edit-link, .home .post-edit-link {
    top: 175px;
  }
}
.last-publ h3,
.last-news h3,
.biography h3,
.sidebar .sidebar-widget h3 {
	position:relative;
	padding: 7px 15px 7px 45px;
	background: #008650;
	font-size: 20px;
	color: #fff;
	margin: 0;
}
.last-news h2 {
    margin:0;
}
.last-publ h3{
    margin: 0 -20px 20px;
    display: block;
}
.last-news h3{
    margin: 0 0 20px;
    display: block;
}
.last-publ h3:before,
.last-news h3:before,
.biography h3:before,
.sidebar .sidebar-widget h3:before {
	content:'';
	width:25px;
	height:25px;
	display:block;
	position:absolute;
	top:6px;
	left:10px;
	background:url('img/icon.png') no-repeat center center / cover;;
}
.biography article:hover {
	box-shadow:0 0 15px rgb(0 0 0 / 35%)
}
.biography article {
    padding: 20px;
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
    background: #e3e3e3;
    display: inline-block;
    position:relative;
}
.biography article:first-child {
	padding:0 20px 20px;
    display:block
}
.biography article:first-child .image {
	float:none;
	margin-left: -20px;
    width: calc(100% + 40px);
    display: block;
   max-width:inherit;
   max-height:inherit;
   margin-right: 0;
}
.biography article:first-child h2 {
	font-size:22px;
	margin:10px 0;
}
.biography article:first-child span.date {
	margin-top:15px;
	display:block;
}
.biography article h2 {
	font-size:20px;
	margin:20px 0 10px;
	line-height:24px;
}
article span.date {
	color: #008650;
	font-weight:700;
	margin: 10px 0;
    display: block;
}
.biography article p {
	display:block;
	margin-top:0;
}
.biography article p img {
	margin-top:0;
}
.more-publ {
	float:right;
}
.biography article .image {
	min-width: 300px;
    max-width: 300px;
    overflow: hidden;
    display: block;
    margin-right: 30px;
}
.last-publ > div {
    display: grid;
    grid-template-columns: auto auto;
    column-gap:20px
}
.last-publ {
	display:inline-block;
	margin-bottom: 30px;
	width: 100%;
	padding: 0 20px;
	background:#e3e3e3;
}
.last-news {
	padding:0;
	display:inline-block;
	margin-bottom: 50px;
	width: 100%;
}
.last-publ article:last-child {
	margin-right:0;
}
.last-publ article h2,
.last-publ article h2 {
	font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
	padding:0;
}
.last-publ article {
	margin-right:0;
    margin-bottom:20px;
}
.last-news article {
	margin-right:0;
    margin-bottom:20px;
	width:100%;
  	display:flex;
  	border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    font-size:16px;
    line-height: 22px;
}
.last-news article h2 {
    font-size:20px;
}
.last-publ .image img {
	width:100%;
}
.last-publ .image {
    max-height: 180px;
    overflow: hidden;
  	display:block;
    margin-bottom:20px;
}
.last-news .image img {
	width:100%;
}
.last-news .image {
	min-width: 300px;
    max-width: 300px;
    max-height: 180px;
    overflow: hidden;
  	display:block;
    margin-right:30px;
}
.view-article {
	display:none;
}
.more-button:hover {
	color:#fff;
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}
.more-button {
	display: block;
    padding: 10px 0;
    background: #008650;
    color: #fff;
    text-align: center;
    width: 140px;
    font-size: 16px;
	clear:both;
	text-decoration: none;
}
.single main article,
.page:not(.home) main section {
	padding:20px 30px 50px;
	background:#fff;
	margin-bottom:50px;
}
.page h1 {
	margin:0 0 20px;
}
.archive .wp-block-image img {
    max-width: 100%;
    width: 100%;
}
.archive .wp-block-image {
    margin-bottom: 0;
}
.archive article {
	padding: 20px;
    background: #fff;
	margin-bottom:20px;
}
.archive article > a:first-child {
	float: left;
    margin: 0 20px 20px 0;
    width: 100%;
}
div.copyright {
    clear: both;
    text-align: center;
    margin-top: 30px;
}
@media screen and (min-width:920px){
  .archive article > a:first-child {
    width: 200px;
  }
}
.archive article h2 {
	margin:0;
	line-height:26px;
}
.pagination span,
.pagination a {
	border: 1px solid #777;
    border-radius: 3px;
    padding: 10px 13px;
    font-size: 16px;
    font-weight: 700;
	background:#fff;
	margin-right:10px;
}
.pagination {
    margin: 30px 0 50px;
}
footer {
	background: #008650;
    clear: both;
    padding: 30px 0;
    color: #fff;
}
footer p {
  margin:0;
}
p.copyright a {
	display: block;
    letter-spacing: 1px;
    font-family: 'Book Antiqua', times;
    font-weight: 700;
    color:#fff;
    width:100px;
  font-size: 17px;
    line-height: 25px;
    text-transform: uppercase;
}
p.copyright {
    margin-top:0;
    text-align: left;
    font-size: 12px;
    float: left;
    letter-spacing: 1px;
    font-family: 'Book Antiqua', times;
    font-weight: 700;
}
.widget_nav_menu ul{
    list-style:none;
  margin-top:0;
}
.widget_nav_menu ul a{
    font-size:16px;
  color:#fff;
  font-weight:700;
  line-height:28px
}
footer .logo {
	float: left;
    margin-right: 10px;
}
.footer img.custom-logo {
    width: 140px;
    height: auto;
    margin-top: 0;
}
.footer-widget {
  display:flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff45;
  padding-bottom: 15px;
}
.footer-widget .widget_text {
  margin-left:50px;
}
.footer-widget .widget_text h3 {
  margin-top:0;
}
#cboxLoadedContent,
#cboxContent {
    background:none!important;
}
body.search main section h1 {
	margin:0;
	font-size:22px;
}
body.search main section article {
	padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

body.search main section {
	background:#fff;
	padding:20px;
}
@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {
	
}
@media only screen and (min-width:920px) {
	.sidebar {
		width:350px;
		float:right;
		background: #e3e3e3;
		margin-top: 0;
		padding:30px;
	}
	main {
		width: calc(100% - 350px);
		float: left;
		padding-right: 30px;
	}
  .biography article .image {
    width: auto;
	}
}
@media screen and (max-width:920px) {
	.nav {
		position: absolute;
		top: 70px;
		right: -430px;
		background: #008750;
		z-index: 999;
		width: 370px;
		margin:0;
		display:block;
		padding:0;
		overflow: auto;
		transition:all 700ms;
		-webkit-transition:all 700ms;
	}
	.nav ul {
		list-style: none;
		display: flex;
		flex-direction: column;
		padding-left: 15px;
	}
	.nav ul li .sub-menu {
		position: relative;
		top: 0;
		left: 0;
		background: transparent;
		opacity: 1;
		pointer-events: all;
		transition: all 300ms;
		-webkit-transition: all 300ms;
		margin: 0;
		padding: 0;
		z-index: 999;
		transform: translateY(0);
	}
	
	.nav ul li .sub-menu li a {
		padding: 15px 20px;
		margin: 0;
		color: #fff;
	}
	body .nav ul li .sub-menu ul.sub-menu li {
		background: transparent;
		padding-left: 10px;
	}
	body .nav ul li .sub-menu ul.sub-menu li:before {
		color: #ccc;
		padding: 12px 5px 0 7px;
	}
	.nav ul li:hover {
		border-top: 3px solid transparent;
	}
	
	img {
		width:100%;
	}
  .lang-container {
    position: absolute;
    right: 0;
    bottom: 15px;
}
}

@media screen and (max-width:768px) {
   .biography article {
    padding: 0;
    margin-right: 0;
     display:block;
} 
  .biography article .image {
    min-width: 100%;
    max-width: 100%;
    overflow: visible;
    display: block;
    margin-right: 0;
}
  .biography article > div {
  padding:0 20px 20px
  }
  .biography article:first-child > div {
  padding:0
  }

	.biography article:first-child .image {
		float: none;
		margin: 0 0 20px -20px;
		display: block;
	}
  .footer-widget {
    flex-direction: column;
    clear: both;
  }
  .footer-widget .widget_text {
    margin-left: 0;
    margin-top: 40px;
  }
  footer .logo {
    margin-bottom: 30px;
  }
  .last-publ .image {
    min-width: 100%;
    max-width: 100%;
    max-height: inherit;
    overflow: hidden;
    display: block;
    margin-right: 30px;
}
  .last-publ article {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
    background: #fff;
    display: flex;
    padding-right: 0;
    flex-direction: column;
}
  .last-publ article > div {
  padding:0 20px;
  }
}
@media screen and (max-width:520px) {
	.last-publ article {
		margin-right: 0;
		width: 100%;
	}
  .single main article, .page:not(.home) main section {
      padding: 20px 15px 50px;
  }
}
@media screen and (max-width:365px){
  .menu-button span, .menu-button span:before, .menu-button span:after {
    width: 25px;
  }
}

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 0 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
