@import url('https://fonts.googleapis.com/css?family=Exo+2:400,500,700&subset=cyrillic');

* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	min-width: 300px;
	overflow-x: hidden; 
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
	font-family: "Exo 2", sans-serif;
	font-size: 17px;
	color: #535353;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	font-weight: 400;
	min-height: 100vh;
	position: relative;
	background-color: #f5f5f5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
.main-contacts p, .header-top, .top-categories,
#jc, [itemprop="articleBody"], .component-wrapper {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 10px;
}
p, h1, h2,
h3, h4, h5,
span {
	cursor: default;
}
h2 {
	font-size: 2.1em;
}
h1, h2,
h3, h4, h5 {
	font-weight: 700;
	color: #333;
}
p {
	line-height: 1.3em;
}
input, select, textarea {
	font-family: "Exo 2", sans-serif;
	outline: none;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
.popup p.agreement {
	font-size: 0.7em;
	line-height: 1em;
	color: #999;
	text-align: center;
	margin-top: 7px;
}
.agreement a {
	display: inline-block;
}
.agreement a:hover {
	-webkit-box-shadow: 0 1px 0;
	box-shadow: 0 1px 0;
}
.flex {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
}
.flex-column {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: flex-start;
	-ms-align-items: stretch;
	align-items: stretch;
}
.flex-center {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
}
.hide {
	display: none;
}
.red {
	color: #ee2b2e;
}
.bold {
	font-weight: 700;
	font-weight: bold;
}

.empty-input::-webkit-input-placeholder {
	color: #ee2b2e;
	font-weight: bold;
} 
.empty-input::-moz-placeholder {
	color: #ee2b2e;
	font-weight: bold;
} 
.empty-input:-ms-input-placeholder {
	color: #ee2b2e;
	font-weight: bold;
} 
.empty-input::placeholder {
	color: #ee2b2e;
	font-weight: bold;
}
#fancybox-content h4 {
	margin-top: 20px;
	text-align: center;
}
#back-top {
	position: fixed;
	bottom: 170px;
	right: 50px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	height: 50px;
	width: 50px;
	opacity: 0.7;
	background-color: #535353;
	color: #f5f5f5;
	z-index: 5;
	-webkit-transition: opacity 0.2s, transform 0.4s;
	-o-transition: opacity 0.2s, transform 0.4s;
	transition: opacity 0.2s, transform 0.4s;
	border-radius: 5px;
	font-size: 12px;
	-webkit-transform: translateX(200px);
	-ms-transform: translateX(200px);
	-o-transform: translateX(200px);
	transform: translateX(200px);
}
#back-top:hover {
	opacity: 1;
}
#back-top.show {
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}
#back-top>* {
	cursor: pointer!important;
}
.comments-link, .readmore-link {
    padding: unset;
    background-image: unset;
}
/* ----------------------------------------------------- POPUP */
/* ----------------------------------------------------- POPUP */

.overlay {
	position: fixed;
	top: 0; bottom: 0;
	left: 0; right: 0;
	background-color: #000;
	opacity: 0.6;
	z-index: 99;
	-webkit-animation: overlay 0.7s;
	-o-animation: overlay 0.7s;
	animation: overlay 0.7s;
}
@keyframes overlay {
	0% {opacity: 0;}
	100% {opacity: 0.6;}
}
.popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;	
	-webkit-box-shadow: 0 0 27px rgba(0,0,0,0.84);
	box-shadow: 0 0 27px rgba(0,0,0,0.84);
	margin: auto;
	z-index: 100;
	-webkit-animation: popup 0.7s;
	-o-animation: popup 0.7s;
	animation: popup 0.7s;
	justify-content: space-between;
}
@keyframes popup {
	0% {opacity: 0; transform: translateY(-60px);}
	100% {opacity: 1; transform: translateY(0px);}
}
.close-popup {
	cursor: pointer;
	height: 19px;
	width: 19px;
	position: absolute;
	top: 0;
	right: -30px;
	-webkit-transition: transform 0.5s ease;
	-o-transition: transform 0.5s ease;
	transition: transform 0.5s ease;
}
.close-popup:after, .close-popup:before {
	content: '';
	background-color: #999;
	height: 3px;
	width: 100%;
	position: absolute;
	top: 7.5px;
}
.close-popup:hover:after, .close-popup:hover:before {
	background-color: #ff4444;
}
.close-popup:after {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.close-popup:before {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.popup input {
	font-family: "Exo 2", sans-serif;
	border: none;
	border-top: 1px solid #999;
	padding: 5px 10px;
	height: 50px;
}
.popup button {
	font-family: "Exo 2", sans-serif;
	font-size: 1em;
	background-color: #ff4444;
	height: 50px;
	color: #fff;
	border: none;
	box-shadow: inset 0px 0px 0px 0px rgba(255,255,255,0.2);
	-webkit-transition: box-shadow 0.5s;
	-o-transition: box-shadow 0.5s;
	transition: box-shadow 0.5s;
	width: 100%;
}
button:hover {
	box-shadow: inset 0px 0px 60px 10px rgba(255,255,255,0.2)!important;
}


/* ---------------------------------------- ARTICLES */
/* ---------------------------------------- ARTICLES */

[itemprop="articleBody"] {
	position: relative;
}
.item-page .item-image {
	width: fit-content;
	max-width: 400px;
}
.item-page .icons {
	position: absolute;
	right: 0;
	top: 0;
}
.item-page .icons * {
	float: unset!important;
}
.item-page {
	position: relative;
	margin-top: 50px;
}
.blog {
	margin: 50px 0;
}
.items-leading>div {
	margin-bottom: 70px;
}
.items-leading>div:nth-child(odd) .blog-item-body {
	background-color: #252525;
	color: #fff;
}
.blog .pull-left.item-image {
	float: unset;
	margin-bottom: 0;
}
.blog-item-body {
	justify-content: flex-start;
	font-style: italic;
}
.blog-item-text {
	padding: 50px 0;
	width: 300px;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
	-ms-align-self: stretch;
	align-self: stretch;
}
.blog .item-image a {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: flex-start;
	overflow: hidden;
}
.blog .item-image a img {
	max-height: 300px;
}