/*!
Theme Name: Stolitsa
Theme URI: http://underscores.me/
Author: Ihor Tryhuk
Author URI: https://tryhuk.pp.ua/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: stolitsa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Stolitsa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@font-face {
	font-family: 'Century Gothic';
	src: url('fonts/CenturyGothic.eot');
	src: url('fonts/CenturyGothic.eot?#iefix') format('embedded-opentype'),
	url('fonts/CenturyGothic.woff') format('woff'),
	url('fonts/CenturyGothic.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Century Gothic';
	src: url('fonts/CenturyGothic-Italic.eot');
	src: url('fonts/CenturyGothic-Italic.eot?#iefix') format('embedded-opentype'),
	url('fonts/CenturyGothic-Italic.woff') format('woff'),
	url('fonts/CenturyGothic-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}
@font-face {
	font-family: 'Century Gothic';
	src: url('fonts/CenturyGothic-Bold.eot');
	src: url('fonts/CenturyGothic-Bold.eot?#iefix') format('embedded-opentype'),
	url('fonts/CenturyGothic-Bold.woff') format('woff'),
	url('fonts/CenturyGothic-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'Century Gothic';
	src: url('fonts/CenturyGothic-BoldItalic.eot');
	src: url('fonts/CenturyGothic-BoldItalic.eot?#iefix') format('embedded-opentype'),
	url('fonts/CenturyGothic-BoldItalic.woff') format('woff'),
	url('fonts/CenturyGothic-BoldItalic.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}

:root {
	--text-size: 16px;
	--h1-size: 48px;
	--h2-size: 40px;
	--h3-size: 34px;
	--h4-size: 28px;
	--h5-size: 24px;
	--h6-size: 18px;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	font-size: var(--text-size);
	font-weight: 400;
	font-family: 'Century Gothic';
	font-family: Times New Roman;
	color: #5E4848;
	line-height: 1.5;
}
a {
	color: #747474;
  position: relative;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a:hover {
	color: #4c4c4c;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a:after {
  position: absolute;
  content: "";
  width: 0%;
  height: 1px;
  background-color: #929292;
  right: 0;
  bottom: -1px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a:hover:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #929292;
  left: 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
	margin: 0;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 23px;
	font-family: 'Century Gothic';
	font-family: Times New Roman;
	line-height: 1.16;
	font-weight: 700;
}
p, ul, ol, blockquote, .wp-caption, .gallery {
	margin: 0 0 23px;
}
h1 {
	font-size: var(--h1-size);
}
h2 {
	font-size: var(--h2-size);
}
h3 {
	font-size: var(--h3-size);
}
h4 {
	font-size: var(--h4-size);
}
h5 {
	font-size: var(--h5-size);
}
h6 {
	font-size: var(--h6-size);
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child, ul:last-child, ol:last-child, blockquote:last-child, .wp-caption:last-child, .gallery:last-child {
	margin-bottom: 0;
}
.form-field {
	position: relative;
	margin-bottom: 15px;
	text-align: center;
}
.form-field label {
	text-align: center;
	display: block;
	width: 100%;
	line-height: 1.3;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #747474;
  margin: 0;
  padding: 9px 14px;
  width: 100%;
  border-radius: 0;
  border: 1px solid #D2D2D2 !important;
  background: #FAFAFA;
  box-shadow: none;
  outline: none;
  max-width: 320px;
}
textarea {
	height: 160px;
}
.wpcf7-not-valid-tip {
	font-size: var(--text-size-small);
}
.wpcf7 form .wpcf7-response-output {
	font-size: var(--text-size-small);
	text-align: center;
	margin: 20px 0 0;
}
.wpcf7-spinner {
	position: absolute;
	right: 0;
	top: 0;
	margin: 0;
}

table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
}
table img {
  max-width: 176px;
}
embed, iframe, object, video {
  max-width: 100%;
}

.modal-dialog {
	max-width: 400px;
}
.modal-content {
	border-radius: 10px;
	border: none;
}
.modal-header {
	background-color: #d2d2d2;
}
.modal-body {
	padding: 15px 15px 30px;
}

.page a {
	font-style: italic;
}


.btn {
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  border-radius: 4px;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}
.btn:focus, .btn.focus {
  box-shadow: none;
}
.btn-primary,
.btn-primary.disabled, .btn-primary:disabled  {
  	color:#333;
  	background-color:#f5f5f5;
	border-color: #ccc;
	-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn-primary:hover,
.btn-primary:focus, .btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle,
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus  {
  	color:#333;
  	background-color:#f1f1f1;
	border-color: #ccc;
	-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}


.wp-caption {
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.wp-caption-text {
	text-align: center;
}
.gallery {
	display: grid;
	grid-gap: var(--gap);
}
.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}
.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}
.gallery-caption {
	display: block;
}
.alignleft {
	float: left;
	margin: 5px 20px 10px 0;
}
.alignright {
	float: right;
	margin:5px 0 10px 20px;
}
.aligncenter {
	clear: both;
	display: block;
	margin:5px auto 10px;
}



.wrapper {
	position: relative;
	top: 0;
	z-index: 1;
}
.header {
	position: relative;
	margin-bottom: 20px;
	z-index: 99;
}
.header-wrap {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
}
.header-wrap:after {
	position: absolute;
	content: '';
	height: 1px;
	width: 100%;
	z-index: -1;
	left: 0;
	top: 40px;
	background-color: #cccccc;
}
.header-logo {
	position: relative;
	padding: 28px 10px 10px;
	background-color: #ffffff;
}
.header-logo a:after {
	display: none;
}
.header-lang {
	position: absolute;
	display: flex;
	align-items: center;
	top: 7px;
	right: 50px;
	z-index: 2;
}
.header-lang p {
	margin-right: 20px;
	margin-bottom: 0;
}
.header-lang p:last-child {
	margin-right: 0;
}
.header-lang p img {
	max-width: 25px;
	max-height: 25px;
}
.header-lang p a:after {
	display: none;
}
.header-bottom {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.main-menu {
	position: relative;
	padding: 13px 0;
	margin: 0;
	list-style: none;
	display: flex;
	align-items: center;
	line-height: 1.2;
}
.main-menu li {
	position: relative;
	text-align: center;
}
.main-menu li a {
	font-style: italic;
	font-weight: bolder;
	padding: 0 12px;
	display: block;
	color: #747474;
}
.main-menu li a:after {
	position: absolute;
	content: "";
	width: 0%;
	height: 1px;
	background-color: #929292;
	right: 0;
	bottom: -1px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.main-menu li a:hover:after,
.main-menu li.current-menu-item a:after {
	width: 100%;
	left: 0;
}
.header-widget {
	position: relative;
	flex: 0 0 190px;
	max-width: 190px;
	min-width: 190px;
}
.header-widget .widget {
	position: relative;
	margin-bottom: 5px;
	font-size: 13px;
	font-style: italic;
	line-height: 1.38;
}
.header-widget .widget:last-child {
	margin-bottom: 0;
}
.header-widget img {
	position: absolute;
	top: -2px;
	left: -25px;
	max-width: 55px;
	z-index: -1;
}


.header-fixed {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #ffffff;
	border-bottom: 1px solid #cccccc;
	padding: 10px 0;
	z-index: 99;
}
.header-fixed.show {
	display: block;
}




.mainBlock-section {
	padding-bottom: 42px;
}
.mainBlock-wrap {
	position: relative;
	min-height: 890px;
	margin-bottom: 42px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.mainBlock-image {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
}
.mainBlock-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.mainBlock-title {
	text-align: center;
	font-size: 35px;
	font-weight: bold;
	color: #000;
	margin-bottom: 20px;
}
.mainBlock-wrap .btn.btn-primary {
	font-size: 14px;
	line-height: 22px;
	font-weight: 300;
	font-style: normal;
	text-shadow: none;
	text-transform: uppercase;
	color: #747474;
	padding: 11px 46px;
	position: relative;
	letter-spacing: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	border: 1px solid #d1d1d1;
	outline: none;
	border-radius: 0;
	z-index: 1;
	overflow: hidden;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.mainBlock-wrap .btn.btn-primary:hover {
	color: #fff;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.mainBlock-wrap .btn.btn-primary:before {
	content: "";
	position: absolute;
	width: 0;
	height: 100%;
	bottom: 0;
	right: 0;
	top: 0;
	z-index: -1;
	border-radius: 0;
	background: #747474;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
.mainBlock-wrap .btn.btn-primary:hover:before {
	width: 100%;
	left: 0;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.mainBlock-wrap .btn.btn-primary:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
	left: 0;
	border-radius: 0;
	background: #fff;
	z-index: -2;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}



.footer {
	background: #d2d2d2;
	position: relative;
	padding: 0 0 0px;
	margin-top: 0;
	z-index: 99;
	border-top: none;
}
.footer-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.footer-menu {
	position: relative;
	padding: 0;
	margin: 30px 0 36px;
	list-style: none;
	display: flex;
	align-items: center;
}
.footer-menu li {
	position: relative;
	text-align: center;
	margin-right: 18px;
}
.footer-menu li:last-child {
	margin-right: 0;
}
.footer-menu li a {
	font-style: italic;
	font-size: 14px;
	display: block;
	color: #747474;
}
.footer-menu li a:hover,
.footer-menu li.current-menu-item a {
	color: #333;
}
.footer-menu li a:after {
	position: absolute;
	content: "";
	width: 0%;
	height: 1px;
	background-color: #929292;
	right: 0;
	bottom: -1px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.footer-menu li a:hover:after,
.footer-menu li.current-menu-item a:after {
	width: 100%;
	left: 0;
}
.footer-widget {
	position: relative;
	flex: 0 0 190px;
	max-width: 190px;
}
.footer-widget .widget {
	display: none;
	position: relative;
	margin-bottom: 5px;
	font-size: 13px;
	font-style: italic;
	line-height: 1.38;
}
.footer-widget .widget:first-child {
	margin-bottom: 0;
	display: block;
}
.footer-widget img {
	display: none;
}




.page-header {
	position: relative;
  background: #d2d2d2;
  padding: 30px 0;
}
.page-title {
	text-transform: uppercase;
	font-size: 30px;
	font-weight: 300;
	color: #747474;
}
.page-content {
	position: relative;
	padding: 40px 0;
}



.plan-block {
	position: relative;
	height: 715px;
}
.plan-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.plan-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.plan-link {
	display: block;
	position: absolute;
	text-indent: -999em;
	overflow: hidden;
}
.plan-link-1 {
	width: calc(100% - 28px);
	height: 53px;
	left: 14px;
	top: 653px;
}
.plan-link-2 {
	width: calc(100% - 28px);
  height: 117px;
  left: 14px;
  top: 534px;
}
.plan-link-3 {
  width: calc(100% - 28px);
  height: 142px;
  left: 14px;
  top: 395px;
}
.plan-link-4 {
	width: calc(100% - 28px);
  height: 155px;
  left: 14px;
  top: 240px;
}
.plan-link-5 {
	width: calc(100% - 28px);
  height: 123px;
  left: 14px;
  top: 117px;
}
.plan-link-6 {
	width: calc(100% - 130px);
  height: 102px;
  left: 14px;
  top: 14px;
}
.zoom-icon {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 50%;
	width: 0;
	display: block;
	background: rgba(210,210,210,0.7);
	opacity: 0;
	cursor: pointer;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}
.plan-link:hover .zoom-icon {
	visibility: visible;
	width: 100%;
	left: 0;
	opacity: 1;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}



.page-content img {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}



.post_wrapper {
  margin-bottom: 40px;
  border-bottom: 1px solid #DFDFDF;
}
.post_wrapper:last-child {
	margin-bottom: 0;
}
.post__holder {
  overflow: hidden;
  margin-bottom: 0px;
}
.post__holder .featured-thumbnail.large {
  margin-bottom: 35px;
}
.post__holder .post_content {
    padding-bottom: 20px;
}

.error-404-number {
	font-size: 220px;
	line-height: 1;
	text-align: center;
	font-weight: bold;
}




@media (max-width: 1199px) {
	.mainBlock-wrap {
		min-height: 680px;
	}
	.plan-link {
		width: 100%;
		left: 0;
	}
}


@media (max-width: 991px) {
	.header-bottom {
		flex-wrap: wrap;
	}
	.header-fixed {
		display: none !important;
	}
	.menu-select {
		flex: 0 0 100%;
		max-width: 100%;
		margin-bottom: 30px;
	}
	.mainBlock-wrap {
    min-height: 560px;
	}
	.mainBlock-title {
		font-size: 24px;
	}
	.error-404-number {
		font-size: 180px;
	}
	.footer-wrap {
		flex-wrap: wrap;
		padding-bottom: 20px;
	}
	.footer-menu {
		flex: 0 0 100%;
		max-width: 100%;
		flex-direction: column;
		margin-bottom: 30px;
	}
	.footer-menu li {
		margin-right: 0;
		margin-bottom: 10px;
	}
	.footer-menu li:last-child {
		margin-bottom: 0;
	}
	.footer-widget {
	  flex: inherit;
	  max-width: 100%;
	}
}



@media (max-width: 575px) {
	:root {
    --h1-size: 36px;
    --h2-size: 32px;
    --h3-size: 28px;
    --h4-size: 24px;
    --h5-size: 20px;
    --h6-size: 16px;
	}
	table img {
    max-width: 120px;
	}
	.menu-select {
		margin-bottom: 15px;
	}
	.header-widget {
		flex: 0 0 200px;
		max-width: 200px;
		min-width: 200px;
	}
	.header-lang {
		right: 0;
	}
	.mainBlock-wrap {
    min-height: 420px;
	}
	.plan-image img {
    object-position: calc(50% + 27px);
	}
	.page-header {
		padding: 20px 0;
	}
	.page-title {
		font-size: 24px;
	}
	.post__holder .featured-thumbnail.large {
    margin-bottom: 10px;
	}
	.post__holder .post_content {
    padding-bottom: 10px;
	}
	.error-404-number {
		font-size: 160px;
	}
}