html,
body {
	font-family: 'Roboto';
font-weight: 300;
}
.page.home h1 {
	font-size: 30px;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 10px;
  margin-top: 0;
}
.page.home h1 p {
	margin: 0;
	line-height: 1.6;
}
.page.home h2 {
	font-size: 18px;
  line-height: 1.61;
  text-align: center;
  color: #000000;
  margin: 0 0 42px 0;
  font-weight: 400;
}
p {
	line-height: 1.5;
}
strong {
	font-weight: 400;
}
a {
	text-decoration: none;
}
.error404 h1 {
	font-weight: bold;
	font-size: 42px;
}
.error404 h2 {
	font-size: 30px;
}
.layout-positioner {
	max-width: 1230px;
	margin: 0 auto;
}
.container {
	padding: 30px 30px;
}

.flex {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	        flex-wrap: wrap;
}
@-webkit-keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
		transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.1, 1.1, 1);
		transform: scale3d(1.1, 1.1, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
		transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.1, 1.1, 1);
		transform: scale3d(1.1, 1.1, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@-webkit-keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
.btn {
	display: inline-block;
	width: 168px;
	box-sizing: border-box;
  border-radius: 22px;
  background: #1a96e5;
  font-size: 14px;
  line-height: 2.07;
  text-align: center;
  color: #ffffff;
  padding: 8px 0;
  -webkit-transition-duration: 0.3s;transition-duration: 0.3s;
  position: relative;
}

.btn::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    bottom: -20px;
    right: -20px;
    background: inherit;
    border-radius: 50px;
    z-index: -1;
    opacity: 0.4;
    -webkit-transform: scale3d(0.8, 0.5, 1);
    transform: scale3d(0.8, 0.5, 1);
}
.btn:hover {
	background: #188ad3;
	-webkit-transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
    transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
    background-color: #188ad3;;
    -webkit-animation: anim-moema-1 0.3s forwards;
    animation: anim-moema-1 0.3s forwards;
}
.btn:hover::before {
    -webkit-animation: anim-moema-2 0.3s 0.3s forwards;
    animation: anim-moema-2 0.3s 0.3s forwards;
}

.img-wrap img {
	max-width: 100%;
	max-height: 100%;
	    height: auto;
    width: auto;
}
.desctop-hide {
	display: none;
}
.wrapper {
	overflow: hidden;
}

.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
/* --- HEADER --- */
.logo img {
	max-width: 100%;
}
.main-info .flex {
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	        align-items: center;
}
.main-info .container {
	padding: 23px 30px 19px 30px;
}

.main-info__left {
	width: 588px;
}
.main-info__text {
	line-height: 1.5;
}
.main-info__text .title-txt {
	    margin-right: 78px;
}
.main-info__text .descr-txt {
	color: #444444;
}
.contacts-block {
	text-align: right;
}
.contacts-block .btn {
	margin-left: 25px;
}

.contacts {
	margin-top: -7px;
}

.contacts p {
	margin: 0;
	 font-size: 14px;
  font-weight: 300;
  color: #444444;
}

.phone-link {
	font-size: 24px;
  font-weight: bold;
  color: #1a96e5;
}
.phone-link:hover {
	color: #0b74b7;
}

.menu-block {
	background: #1a96e5;
}
.menu-block .container {
	padding: 0 30px;
	position: relative;
}

@media screen and (min-width: 1230px) {

}

.menu-block .flex {
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	        align-items: center;
}
.main-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.main-nav a {
	display: inline-block;
	padding: 22px 30px 21px 30px;
	color: white;
	opacity: 0.85;
	-webkit-transition-duration: 0.5s;transition-duration: 0.5s;
}
.main-nav li {
	-webkit-transition-duration: 0.5s;transition-duration: 0.5s;
}
.main-nav li:hover {
	background: #188ad3;
}
.main-nav li:hover a {
	opacity: 1;
}
.menu-item-has-children {
	position: relative;
}

.main-nav .current-menu-item,
.main-nav .current_page_parent {
	background: #188ad3;
}

.main-nav ul.sub-menu {
	max-height: 0;
	overflow: hidden;
	position: absolute;
	top: 60px;
	left: 0;
	 width: 300px;
	 box-sizing: border-box;
  background: #188ad3;
  z-index: 100;
  //box-shadow: 0px 1px 0 0 rgba(0, 0, 0, 0.35);
  -webkit-transition-duration: 0.3s;transition-duration: 0.3s;
}
.main-nav .sub-menu.active {
	max-height: 500px;
}
.main-nav .sub-menu li {
	margin: 17px 0;
	padding: 0 0 0 30px;
}
.main-nav .sub-menu li:first-of-type {
	margin-top: 20px;
}
.main-nav .sub-menu li:last-of-type {
	margin-bottom: 20px;
}
.main-nav .sub-menu a {
	padding: 0;
	font-size: 14px;
}
.sub-menu a:hover {
	text-decoration: underline;
}

.menu-item-29 {
	position: relative;
}
.main-nav .menu-item-29 > a::after {
	display: inline;
	content: "▼";
	font-size: 11px;
	color: inherit;
    margin-left: 7px;
}

.search-block {
	width: 268px;
	box-sizing: border-box;
  position: relative;
  min-height: 40px;
}
.search-block-btn {
	display: block;
	content: "";
	position: absolute;
	    top: 20px;
    right: 46px;
		z-index: 1000;
}
.search-block-btn svg {
	stroke: #1a96e5;
	stroke: white;
	stroke-width: 3px;
	cursor: pointer;
	-webkit-transition-duration: 0.3s;transition-duration: 0.3s;
}
.search-block-btn.active svg {
	fill: #1a96e5;
	stroke: #1a96e5;
}
.search-block__form-wrap {
	border-radius: 20px;
  background-color: #ffffff;
     width: 0;
    overflow: hidden;
    -webkit-transition-duration: 0.3s; transition-duration: 0.3s;
    float: right;

}
.search-block__form-wrap.active {
	width: 100%;
}
.search-block form {
	width: 100%;
}
.search-block input {
	border: none;
	background: none;
	outline: none;
	padding: 12px 24px;
	font-size: 14px;
}

/* --- FIRST BLOCK --- */

.first-block {
	background: url('../images/slider_bg.jpg') no-repeat 50% 50%;
	background-size: cover;
}
.home .first-block .container {
	padding: 75px 30px;
	padding-top: 75px !important;
	padding-bottom: 90px !important;
}

.first-block .flex {
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	    align-items: center;
}

.first-block__left {
	width: 470px;
	margin-top: -16px;
}
.first-block__right {
	width: 656px;
}
.first-block .btn {
	margin-top: 34px;
}

/* --- PARTNERS --- */
.partners-block .container {
	padding: 53px 30px 70px 30px !important;
}

.partners-block .flex {
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	margin: 0 -15px;
}
.partners-block .img-wrap {
	box-sizing: border-box;
	width: 170px;
	padding: 10px;
	height: 95px;
	text-align: center;
	border: solid 1px #e1e1e1;
	margin: 0 15px 30px 15px;
	display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
            align-items: center;
        -webkit-box-pack: center;        -webkit-justify-content: center;        -ms-flex-pack: center;        justify-content: center;
}


/* --- FOOTER --- */

.footer {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
}
.footer .main-info {
	-webkit-box-ordinal-group: 3;
	-webkit-order: 2;
	    -ms-flex-order: 2;
	        order: 2;
	background-color: #f9f9f9;
}

.footer .main-nav ul.sub-menu {
	    top: auto;
    bottom: 60px;
}


/* --- INNER PAGES --- */
.page-template-articles .main-content .container,
.page-template-default .main-content .container,
.page-template-news .main-content .container{
	padding-top: 38px;
	padding-bottom: 100px;
}
/*.page-template-articles .main-content,
.page-template-default .main-content,
.single .main-content,
.archive .main-content,
.page-template-news .main-content{
	background: url('../images/inner_bg.jpg') no-repeat 50% -40px;
	background-size: cover;
}*/

.home.page-template-default .main-content {
	background: white;
}

.page .main-flex,
.single .main-flex,
.search .main-flex,
.archive .main-flex {
	display: block;
}
.page .main-flex::after,
.single .main-flex::after,
.search .main-flex::after,
.archive .main-flex::after {
	display: table;
	content: "";
	clear: both;
}


.sidebar {
	width: 300px;
	margin-left: -30px;
	float: left;
	margin-right: 30px;
}

.main-content__content {
	overflow: hidden;

}
.main-content__content ul,
.main-content__content ol {
	line-height: 1.5;
}

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

.sidebar .menu {
	border-bottom: 5px solid #1a96e5;
	padding-bottom: 8px;
	margin-bottom: 31px;
}

.sidebar__menu > ul {
	border-bottom: 5px solid #1a96e5;
	padding-bottom: 8px;
	margin-bottom: 31px;
}
.sidebar .current_page_item > a{
	color: #188ad3;
}
.sidebar .current_page_item::before {
	background: #188ad3;
}
.sidebar li {
	position: relative;
	display: block;
	vertical-align: middle;
}
.sidebar li a {
	display: inline-block;
	margin-bottom: 13px;
	position: relative;
	padding-left: 20px;
}
.sidebar li::before {
    display: inline-block;
    content: "";
    width: 10px;
    height: 1px;
    background: #747474;
    vertical-align: middle;
    //margin-right: 20px;
    position: absolute;
    top: 9px;
}
.sidebar li a {
	 font-size: 14px;
  color: #010101;
}
.sidebar li a:hover {
	color: #188ad3;
	text-decoration: underline;
}
.sidebar li:hover::before {
	background: #188ad3;
}

.sidebar-title {
	background-color: #1a96e5;
  box-shadow: 0px 1px 0 0 rgba(0, 0, 0, 0.35);
  font-size: 14px;
  font-weight: bold;
  color: white;
  padding: 18px 0 15px 30px;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: left;
}
.form-wrap {
	text-align: center;
}
.form-wrap input {
	width: 100%;
	position: relative;
	z-index: 10;
}
.form-wrap label {
	font-size: 14px;
  text-align: center;
  color: #747474;
}
span.wpcf7-not-valid-tip {
    position: absolute;
    width: 235px;
    left: 0;
    top: -7px;
    z-index: 1;
}
.wpcf7-response-output {
	display: none !important;
}

.input-wrap {
	 width: 234px;
	 max-width: 100%;
	 box-sizing: border-box;
	border-radius: 22px;
  border: solid 1px #c2c2c2;
      margin: 3px auto 13px auto;
}
.input-wrap.active {
	border: solid 1px #188ad3;
}

.sidebar .form-wrap {
	border-bottom: 5px solid #1a96e5;
	padding-bottom: 30px;
}

.input-wrap input {
	border: none;
	outline: none;
	background: none;
	font-size: 16px;
  text-align: center;
  color: #000000;
  padding: 12px 0;
}

.btn.submit {
	border: none;
	outline: none;
	width: 170px;
 	margin: 0 auto;
 	cursor: pointer;
 	margin-top: 9px;
}

.sidebar .form-wrap form > p {
	margin: 0;
}
.sidebar form > p:first-of-type {
	margin-top: 25px;
}
.page:not(.home) .main-content__content p {
	margin: 10px 0;
}

h1,
h2,
h3 {
	color: black;
	font-weight: 300;
	text-align: left;
	line-height: 1.5;
}
h1 {
	font-size: 30px;
	    margin: 22px 0 25px 0;
}
h2 {
	font-size: 20px;
	margin: 8px 0 15px 0;
}
h3 {
	font-size: 18px;
	margin: 14px 0;
}

.breadcrumbs {
	font-size: 14px;
  text-align: left;
  color: #747474;
}

.breadcrumbs a {
	color: #1a96e5;
}
.breadcrumbs a:hover {
	text-decoration: underline;
	color: #747474;
}

/* --- ARTICLES PAGE ---*/
.page-template-articles .main-content__content > .flex,
.page-template-news .main-content__content > .flex,
.search .main-content__content > .flex {
	-webkit-box-pack: start;-webkit-justify-content: flex-start;-ms-flex-pack: start;justify-content: flex-start;
	margin-top: -27px;
}
.article-item {
	display: inline-block;
	width: 270px;
	color: #1a96e5;
	margin-top: 34px;
	margin-right: 20px;
}
.article-item .img-wrap {
	margin-bottom: 11px;
	height: 200px;
	position: relative;
	overflow: hidden;
}
.article-item .img-wrap img {
    max-width: 1000px;
    min-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    position: absolute;
    top: 50%; left: 50%;
    margin: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
}
.article-item__date {
	font-size: 14px;
	margin-bottom: 5px !important;
}
.article-item__title {
	font-size: 18px;
	font-weight: bold;
	margin: 0 !important;
}
.article-item:hover {
	color: black;
}

a#inifiniteLoader{
    position: fixed;
    z-index: 2;
    bottom: 15px;
    right: 10px;
    display:none;
}


/* --- MODAL WINDOW --- */

.popup {
	display: none; /* в oбычнoм сoстoянии oкнa не дoлжнo быть */
	opacity: 0; /* пoлнoстью прoзрaчнo для aнимирoвaния */
	z-index: 1000000;
	 width: 300px;
  background-color: #ffffff;
  -webkit-backface-visibility: hidden;
   -webkit-font-smoothing: subpixel-antialiased;
    position: fixed;
    top: 50% ;
    left: 50% ;
        margin-left: -150px;
    margin-top: -200px;
    border-bottom: 5px solid #1a96e5;
    box-sizing: border-box;
}
.modal_close {
	    width: 21px;
    height: 21px;
    position: absolute;
    top: 15px;
    right: 10px;
    cursor: pointer;
    display: block;
    color: white;
    opacity: 0.5;
}
#overlay {
	z-index:100000; /* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
	position:fixed; /* всегдa перекрывaет весь сaйт */
	background-color:#000; /* чернaя */
	opacity:0.5; /* нo немнoгo прoзрaчнa */
	-moz-opacity:0.5; /* фикс прозрачности для старых браузеров */
	filter:alpha(opacity=5);
	width:100%; 
	height:100%; /* рaзмерoм вo весь экрaн */
	    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	cursor:pointer;
	display:none; /* в oбычнoм сoстoянии её нет) */
}
.form-title {
	 font-size: 14px;
  font-weight: bold;
  line-height: 3.43;
  text-align: center;
  color: white;
  text-transform: uppercase;
  //height: 50px;
  background-color: #1a96e5;
  box-shadow: 0px 1px 0 0 rgba(0, 0, 0, 0.35);
}

.popup p {
	margin: 0;
}
.popup .btn {
	margin-bottom: 30px;
}
.popup  .form__text {
	 font-size: 14px;
  text-align: center;
  color: #000000;
      margin-top: 23px;
    line-height: 2;
    margin-bottom: 8px;
}
.popup .form-wrap {
	width: 235px;
	margin: 0 auto;
}
.popup .input-wrap {
    margin: 4px auto 13px auto;
}
html.pum-open {
    overflow: hidden;
}

#modal_form3 {
	border-top: 5px solid #1a96e5;
	background: #fff;
   text-align: center;
   padding: 10px 20px;
   font-size: 16px;
   box-shadow: 0 0 15px 8px #333;
   margin-top: -45px;
}
#modal_form3 .form__text {
	margin: 0;
	color: green;
}

@media screen and (min-width: 1230px) {
	html.pum-open {
    padding-right: 16px;
}
}


/*  Попап для картинок -*/

@media screen and (max-width: 1230px) {
	.partners-block .flex::after {
		clear: both;
		display: table;
		content: "";
	}
	.layout-positioner {
		//
	}
	/*.header .layout-positioner,
	.footer .layout-positioner,
	.first-block .layout-positioner {
		max-width: 764px;
		margin-left: auto;
		margin-right: auto;
	}*/
	.wrapper .container {
		padding-left: 20px;
		padding-right: 20px;
	}
	.page-template-articles .main-content .container, 
	.page-template-default .main-content .container,
	.search .main-content .container,
	.single .main-content .container,
	.page-template-news .main-content .container {
	    padding-top: 27px;
	    padding-bottom: 50px;
	}
	.page-template-articles h1, .page-template-default h1,
	.page-template-news h1 {
	    margin-top: 25px;
	}
	.page.home h1 {
		font-size: 20px;
	}

	/* --- HEADER --- */
	.main-info .container {
	    padding-top: 22px;
	    padding-bottom: 23px;
	}
	.logo {
		width: 107px;
	}
	.main-info__left {
		width: 265px;
	}
	.main-info__text.flex {
		width: 140px;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: start;
		-webkit-align-items: flex-start;
		-ms-flex-align: start;
		        align-items: flex-start;
	}
	.main-info__text p {
		margin: 0;
	}
	.main-info__text .title-txt {
		margin-right: 0;
	}
	.main-info__text .descr-txt {
		font-size: 12px;
	}
	.contacts a {
	    font-size: 20px;
	}
	.contacts-block .btn {
	    margin-left: 16px;
	}
	.menu-block .container {
	    padding: 11px 20px 10px 20px;
	}
	.main-nav {
		max-height: 0;
		overflow: hidden;
    position: absolute;
    left: -50%;
    top: 60px;
    width: 200%;
    right: 0;
    background-color: #1a96e5;
    -webkit-transition-duration: 0.7s;transition-duration: 0.7s;
    z-index: 1000;
	}
	.main-nav.active {
		max-height: 1000px;
		    box-shadow: -1px -1px 0 0 #1788cf;
	}
	.main-nav ul {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.main-nav > ul > li {
		width: 100%;
		text-align: center;
		margin: 0;
	}
	.main-nav a {
		width: 100%;
		padding: 21px 0;
		margin: 0;
	}
	.main-nav ul.sub-menu {
		position: static;
		width: 100%;

	}
	.menu-item-has-children .active {
		background: #188ad3;
	}
	.main-nav .sub-menu li {
		margin: 0;
		padding: 0;
	}
	.main-nav .sub-menu a {
		padding: 17px 0;
	}
	.mobile-menu {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap;
		    -ms-flex-wrap: wrap;
		        flex-wrap: wrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		    -ms-flex-align: center;
		        align-items: center;
		font-size: 14px;
	  font-weight: 300;
	  color: #ffffff;
	  cursor: pointer;
	}
	.mobile-menu p {
		margin: 0;
		-webkit-transition-duration: 0.7s;transition-duration: 0.7s;
	}
	.burger-btn {
		 width: 30px;
		  height: 22px;
		  margin-right: 19px;
		  background: url('../images/mobile-menu.png') no-repeat 50% 50%;
	}
	.search-block-btn {
		right: 37px;
	}

	/* --- FIRST BLOCK --- */
	.home .first-block .container {
		padding: 103px 20px 99px 20px !important;
	}
	.home .first-block .flex {
		-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;
	}
	.first-block__left {
	    width: 315px;
	    //width: 40%;
	}
	.first-block__right {
	    width: 347px;
	    width: 55%;
	}
	.first-block .btn {
	    margin-top: 16px;
	}

	/* --- PARTNERS BLOCK --- */
	.partners-block .container {
	    padding: 42px 20px 19px 20px !important;
	}
	.partners-block .flex {
	    margin: 0;
	   justify-content: center;
	}
	.partners-block .img-wrap {
		width: 167px;
	    margin: 0 0 30px 18px;
	}
	.page.home h2 {
	   margin: 0 0 46px 0;
	}

	/* --- FOOTER --- */
	.footer .main-nav {
		top: auto;
		bottom: 60px;
	}

	/* --- INNER --- */
	.page .main-flex,
	.single .main-flex,
	.search .main-flex,
	.archive .main-flex {
		display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;
	    -webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	    -webkit-flex-direction: column;
	        -ms-flex-direction: column;
	            flex-direction: column;
	}
	.sidebar {
		-webkit-box-ordinal-group: 3;
		-webkit-order: 2;
		    -ms-flex-order: 2;
		        order: 2;
		width: 100%;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		    -ms-flex-direction: row;
		        flex-direction: row;
		-webkit-flex-wrap: wrap;
		    -ms-flex-wrap: wrap;
		        flex-wrap: wrap;
		margin-left: auto;
		margin-right: auto;
		margin-top: 32px;
		margin-bottom: -30px;
		float: none;
	}
	.sidebar li {
	   display: block;
	   width: 320px;
	}
	.sidebar__menu,
	.form-control {
		width: 350px;
	}
	.sidebar .form-control {
		order: -2;
	}
	.sidebar__menu,
	.form-control {
		width: 48.9%;
	}
	.popup .form-control {
		width: auto;
	}
	.menu-menyu-v-sajdbare-container .menu {
		padding-left: 30px;
	}
	.sidebar__menu > ul {
		padding-left: 30px;
	}
	.sidebar-title {
		text-align: center;
		    padding: 17px 0 15px 0;
	}
	.main-content__content {
	    width: auto;
	    max-width: 100%;
	}
	.main-content__content img,
	.main-content__content iframe,
	.main-content__content video {
		max-width: 100%;
	}

	/* --- ARTICLES PAGE -- */
	
	.article-item {
		//width: 223px;
		width: 32%;
		margin-top: 25px;
		margin-right: 1%;
	}
}
@media screen and (min-width: 950px) and (max-width: 1230px) {
	.page.home h1 {
	    font-size: 30px;
	}
	.first-block__left {
	    /* width: 480px; */
	    width: 52%;
	}
	.first-block__right {
	    /* width: 480px; */
	    width: 48%;
	}
	.main-info__left {
	    width: 480px;
	}
	.main-info__text.flex{
		width: auto;
		flex-direction: row;
		align-items: center;
	}
	.main-info__text .title-txt {
    margin-right: 78px;
}
}
@media screen and (max-width: 764px) {

	/* --- HEADER --- */
	.main-info .container {
	    padding-top: 23px;
	    padding-bottom: 30px;
	}
	.main-info .flex {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		width: auto;
	   -webkit-box-pack: center;
	   -webkit-justify-content: center;
	   -ms-flex-pack: center;
	           justify-content: center;
	   -webkit-box-align: center;
	   -webkit-align-items: center;
	   -ms-flex-align: center;
	           align-items: center;
	   text-align: center;
	}
	.main-info__text {
		margin-top: 8px;
	}
	.main-info__text .descr-txt {
		margin-top: 1px;
	}
	.contacts-block .btn {
	    margin: auto;
	    margin-top: 20px;
	}
	.contacts-block {
		margin-top: 21px;
	}
	.menu-block .container {
	   padding: 20px 20px 18px 20px;
	}
	.mobile-menu {
		position: relative;
		z-index: 100;
	}
	.search-block {
		position: absolute;
		z-index: 10;
		right: 20px;
    	top: 10px;
	}
	.search-block.active {
		z-index: 100;
	}
	.search-block__form-wrap.active {
		z-index: 100;
		position: relative;
	}
	.main-nav {
		top: 57px;
	}
	.home h1 {
		text-align: center;
	}
	

	/* --- FIRST BLOCK --- */
	.home .first-block .container {
	    padding: 41px 20px 72px 20px !important;
	}
	.first-block .flex {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	.first-block {
		background: url(../images/slider_bg.jpg) no-repeat 37% 50%;
    background-size: cover;
    margin-top: -1px;
	}
	.first-block__left {
		max-width: 320px;
	}
	.first-block__left,
	.first-block__right {
	    width: auto;
	    text-align: center;
	}
	.first-block__left {
		margin-top: 0;
	}
	.first-block .btn {
	    margin-top: 16px;
	}
	.first-block__right {
		margin-top: 55px;
	}

	/* --- PARTNERS --- */
	.partners-block .container {
	    padding: 42px 20px 29px 20px !important;
	}
	.page.home h2 {
	    margin: 0 0 36px 0;
	}
	.partners-block .flex {
		margin: 0 auto;
	}
	.partners-block .img-wrap {
		width: 125px;
		height: 70px;
		margin: 0 7px 20px 7px;
	}

	/* --- FOOTER --- */
	.footer .main-nav {
	    bottom: 57px;
	}

	/* --- INNER PAGES --- */
	.sidebar {
		 margin-top: 25px;
		-webkit-box-orient: vertical;-webkit-box-direction: reverse;-webkit-flex-direction: column-reverse;-ms-flex-direction: column-reverse;flex-direction: column-reverse;
	}
	.sidebar__menu,
	.form-control,
	.menu-menyu-v-sajdbare-container {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	.menu-menyu-v-sajdbare-container .menu {
		padding-left: 0;
	}
	.form-control {
		margin-bottom: 30px;
	}
	

	/* --- ARTICLES PAGE --- */
	.page-template-articles .main-content__content > .flex,
	.single .main-content__content > .flex,
	.search .main-content__content > .flex,
	.archive .main-content__content > .flex,
	.page-template-news .main-content__content > .flex{
		display: block;
		margin-top: 0;
	}
	.article-item {
		width: 100%;
		    display: block;
   	 margin: 25px auto 0 auto;
	}
	.article-item .img-wrap {
		    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
	}
	.article-item .img-wrap img {
    position: absolute;
    object-fit: cover;
	}
	.article-item::after {
		clear: both;
		display: table;
		content: "";
	}
	.page-template-articles h1, 
	.page-template-default h1,
	.search h1,
	.breadcrumbs,
	.page-template-news h1 {
	   
	   margin-left: auto;
	   margin-right: auto;
	}
	.sidebar .menu > li {
    margin-right: auto;
    margin-left: auto;
	  padding-left: 0; 
	    width: 320px;
	    max-width: 100%;
	}
	.sidebar__menu > ul > li {
	   margin-right: auto;
	   margin-left: auto;
	       padding-left: 0;
	       width: 320px;
	    max-width: 100%;
	}
	.sidebar__menu > ul {
		padding-left: 0;
	}
}
