/**
 * J!Blank Template for Joomla by JBlank.pro (JBZoo.com)
 *
 * @package    JBlank
 * @author     SmetDenis <admin@jbzoo.com>
 * @copyright  Copyright (c) JBlank.pro
 * @license    http://www.gnu.org/licenses/gpl.html GNU/GPL
 * @link       http://jblank.pro/ JBlank project page
 */
/* just example of css import */

/* just for test repaltive paths
@import url('print.css');
@import url('reset.css');
*/

/****************************************** FRONTEND STYLES ***********************************************************/
/* -------------------------------
	Global 
------------------------------- */
html, body {height: 100%;}
	html {background: #fff;}
	body {
		min-width: 320px;
		font: 15px/1.8 'Open Sans', sans-serif;
		color: #505050;
	}

body,
dl, dd,
blockquote, fieldset, legend {margin: 0; padding: 0;}
fieldset {border: none;}
table {border: none; border-collapse: collapse;}
	th, td {vertical-align: top;}
	th {text-align: left; font-weight: normal;}
address {font-style: normal;}
p, ul, ol {margin: 0 0 1em 0;}
img {vertical-align: top;}

*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
	font-size: 0;
	line-height: 0;
}

.ib_wr > * {
	display: inline-block;
	vertical-align: top;
	position: relative;
	font-size: 15px;
	line-height: 1.8;
	letter-spacing: normal;
}
.ib_wr,
.ib_wr .ib_wr {
	font-size: 0;
	line-height: 0;
	letter-spacing: -0.3em;
}

.center_magic {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	min-height: 100%;
	overflow-x: hidden;
	position: relative;
}

.in {margin: 0 20px; position: relative;}

/* -------------------------------
	Txt 
------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em 0;
	font-weight: 600;
	line-height: 1.2;
	color: #424e5f;
	text-transform: uppercase;
}
h1 {margin-bottom: 0.7em; font-size: 35px;}
h2 {font-size: 25px;}
h3 {font-size: 20px;}
h4 {font-size: 17px;}
h5 {font-size: 15px;}
h6 {font-size: 13px;}

.title1 {
	margin-bottom: 0.7em;
	font-weight: 600;
	font-size: 35px;
	line-height: 1.2;
	color: #424e5f;
	text-transform: uppercase;
}

.title2 {
	margin-bottom: 0.7em;
	font-weight: 600;
	font-size: 25px;
	line-height: 1.2;
	color: #424e5f;
	text-transform: uppercase;
}

.title3 {
	margin-bottom: 0.7em;
	font-size: 35px;
	line-height: 1.2;
	letter-spacing: 0.05em;
	color: #424e5f;
}

.list {padding-left: 0; list-style: none;}
	.list li {
		margin-bottom: 18px;
		padding-left: 36px;
		position: relative;
		line-height: 1.3;
	}
	.list li::before {
		content: "";
		background: url(../images/ico2.png);
		width: 25px;
		height: 23px;
		position: absolute;
		top: -3px;
		left: 0;
	}

.tbl_hide,
.tbl_hide th,
.tbl_hide td {border: none;}

.tbl_border,
.tbl_border th,
.tbl_border td {border: 1px solid #ABAAAA;
	padding: 5px;
}

.tbl_border {
	margin-bottom: 15px;
}

.tbl_overflow {overflow: auto; position: relative;}
	.tbl_overflow table {min-width: 640px;}

/* -------------------------------
	Links 
------------------------------- */
:focus {outline: none;}
a img {border: none;}

a {color: #424e5f;}
a:hover {text-decoration: none;}

a[href^="tel"]{text-decoration: none;}

/* -------------------------------
	Forms 
------------------------------- */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
	background: #fff;
	width: 100%;
	margin: 0;
	padding: 10px;
	border: 1px solid #ccc;
	font: 14px/1.3 'Open Sans', sans-serif;
	color: #333;
	-webkit-appearance: none;
}
textarea {
	height: 150px;
	overflow: auto;
	resize: none;
	vertical-align: top;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {opacity: 1;}
input::-moz-placeholder,
textarea::-moz-placeholder {opacity: 1;}
input:-moz-placeholder,
textarea:-moz-placeholder {opacity: 1;}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {opacity: 1;}

input[type="submit"],
input[type="button"],
button,
.btn {
	background: rgba(0, 0, 0, 0.2);
	padding: 14px 20px;
	border: 1px solid #fde910;
	border-radius: 30px;
	font: 300 19px/1.3 'Open Sans', sans-serif;
	color: #fde910;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
}
a.btn {display: inline-block; text-decoration: none;}

.btnfooter {
	background: #424E5F;
	padding: 14px 20px;
	border: 1px solid #fde910;
	border-radius: 30px;
	font: 300 19px/1.3 'Open Sans', sans-serif;
	color: #fde910;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
}
a.btnfooter {display: inline-block; text-decoration: none;}

/* -------------------------------
	Header 
------------------------------- */
#header {position: relative;}

	#header > .in {}
	
		.logo {
			background: #424e5f;
			width: 264px;
			height: 194px;
			margin-left: 12px;
			-webkit-transform: skewX(-14.50deg);
			-ms-transform: skewX(-14.50deg);
			transform: skewX(-14.50deg);
			text-align: center;
		}
			.logo a {
				display: block;
				padding: 18px 18px 0 0;
				-webkit-transform: skewX(14.50deg);
				-ms-transform: skewX(14.50deg);
				transform: skewX(14.50deg);
			}

		.m_ctrl {
			display: none;
			width: 30px;
			border-width: 3px 0;
			border-style: solid;
			border-color: #424e5f;
			position: absolute;
			top: 74px;
			right: 0;
			cursor: pointer;
		}
		.m_ctrl::before {
			content: "";
			background: #424e5f;
			display: block;
			height: 3px;
			margin: 7px 0;
		}
		.tm_wr {
			position: absolute;
			top: 78px;
			right: 0;
		}
			.tm_wr .close {
				background: url(../images/x1.png);
				display: none;
				width: 25px;
				height: 25px;
				position: absolute;
				top: 10px;
				right: 20px;
				z-index: 2;
				cursor: pointer;
			}
			.t_menu {
				margin: 0;
				padding: 0;
				list-style: none;
			}
				.t_menu li {margin-left: 25px; float: left;}
					.t_menu a {
						display: block;
						padding-bottom: 3px;
						border-bottom: 2px solid transparent;
						font-size: 16px;
						color: #424e5f;
						letter-spacing: 0.05em;
						text-transform: uppercase;
						text-decoration: none;
					}
					.t_menu a:hover,
					.t_menu li.active a {border-color: #fde910;}
				
		#header .phone {
			position: absolute;
			top: 22px;
			right: 0;
			font-weight: 600;
			font-size: 25px;
			color: #2b2b2b;
		}
			#header .phone a[href^="tel"] {color: #2b2b2b;}

/* -------------------------------
	Main 
------------------------------- */
#main {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	padding: 0;
	position: relative;
}

	.breadcrumbs {
		margin: 0 0 30px 0;
		padding: 0;
		list-style: none;
		color: #7f8895;
		text-transform: uppercase;
	}
		.breadcrumbs li {font-size: 11px; line-height: 1.4;}
		.breadcrumbs li + li::before {content: "\002F"; margin: 0 9px;}
			.breadcrumbs a {color: #7f8895;}

	.thumb_wr,
	.thumb {position: relative;}
	.p_descr {position: relative; overflow: hidden;}

	.owl-theme .owl-nav {}
	.owl-theme .owl-nav [class*="owl-"] {
		background: url(../images/c_arrow1.png);
		width:;
		height:;
		margin: 0;
		padding: 0;
		border-radius: 0;
		font-size: 0;
		line-height: 0;
	}
	.owl-theme .owl-nav .owl-prev {background-position: 0 0;}
	.owl-theme .owl-nav .owl-next {background-position: -24px 0;}
	.owl-theme .owl-nav .owl-prev:hover {background: url(../images/c_arrow1.png) 0 bottom;}
	.owl-theme .owl-nav .owl-next:hover {background: url(../images/c_arrow1.png) -24px bottom;}

	.c_wr {
		background: url(../images/bkg.jpg) center no-repeat;
		height: 507px;
		margin-top: -46px;
		position: relative;
		-webkit-transform: rotate(-2.50deg) skewX(-2.50deg);
		-ms-transform: rotate(-2.50deg) skewX(-2.50deg);
		transform: rotate(-2.50deg) skewX(-2.50deg);
	}
		.c_wr .in {
			height: 507px;
			-webkit-transform: rotate(2.50deg) skewX(2.50deg);
			-ms-transform: rotate(2.50deg) skewX(2.50deg);
			transform: rotate(2.50deg) skewX(2.50deg);
		}
			.c_wr .descr {
				padding-top: 114px;
				position: relative;
				top: 50%;
				-webkit-transform: translateY(-50%);
				-ms-transform: translateY(-50%);
				transform: translateY(-50%);
				text-align: center;
			}
				.c_wr .title {
					margin-bottom: 1em;
					min-height: 180px;
					font-weight: 300;
					font-size: 55px;
					line-height: 1.2;
					color: #fde910;
					text-transform: uppercase;
				}
					.c_wr .title span {
						display: block;
						font-size: 45px;
						color: #fff;
					}
				.c_wr .b_btn {text-align: center;}
					.c_wr .btn {min-width: 286px;}

	.c_wr.v1,
	.c_wr.v1 .in {height: 507px;}
		.c_wr.v1 .descr {padding-top: 10px;}
			.c_wr.v1 .title {margin: 0; min-height: auto;}
	.c_wr.v1 .b_btn {padding-top:75px;}
	.c_wr1 {padding: 110px 0 35px 0;}
		.c_wr1 .descr {
			width: calc(100% - 500px);
			min-height: 270px;
			position: relative;
			z-index: 1;
		}
		.c_wr1 img {
			position: absolute;
			top: -38px;
			right: -340px;
		}

	.c_wr2 {background: #f5f8fb; position: relative;}
		.c_wr2 .cols {}
			.c_wr2 .cols .col.v1 {width: 810px; margin-left: -470px;}
				.c_wr2 .cols .col.v1 .title {
					width: 340px;
					padding: 50px 47px 0 0;
					position: absolute;
					top: 0;
					right: 0;
					font-weight: 300;
					font-size: 35px;
					line-height: 1.3;
					color: #fff;
					text-align: right;
					text-transform: uppercase;
				}
					.c_wr2 .cols .col.v1 .title span {display: block; font-weight: 600;}
				.c_wr2 .cols .col.v1 img {max-width: 100%;}
			.c_wr2 .cols .col.v2 {
				width: calc(100% - 410px);
				margin-left: 70px;
				padding-top: 60px;
				text-align: center;
			}

	.c_wr3 {padding-top: 72px;}
		.c_wr3 .title1 {text-align: center;}
		.c_wr3 .list {
			padding: 40px 55px 60px 118px;
			-webkit-column-count: 3;
			-moz-column-count: 3;
			column-count: 3;
			-webkit-column-gap: 30px;
			-moz-column-gap: 30px;
			column-gap: 30px;
		}
		.c_wr3 .in + img {width: 100%;}

	.c_wr4 {padding: 88px 0 40px 0;}
		.c_wr4 .cols {padding: 0 55px 0 118px;}
			.c_wr4 .cols .col.v1 {width: 48%;}
			.c_wr4 .cols .col.v2 {width: calc(52% - 30px); margin-left: 30px;}
				.c_wr4 .cols .col.v1 .title2 {padding-right: 45px;}
				.c_wr4 .cols .list {padding-top: 11px;}

	.b_info {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		margin: 0 0 35px -10px;
	}
		.b_info .item {
			width: 150px;
			margin-left: 10px;
			font-size: 14px;
			line-height: 1.6;
			color: #000;
			text-align: center;
		}
			.b_info .ico {
				background: url(../images/ico1.png);
				display: block;
				width: 150px;
				height: 150px;
				margin: 0 auto 17px auto;
			}
			.b_info .ico.v1 {background-position: 0 0;}
			.b_info .ico.v2 {background-position: -150px 0;}
			.b_info .ico.v3 {background-position: -300px 0;}
			.b_info .ico.v4 {background-position: -450px 0;}

	.b_info1 {margin: 0 0 25px -15px;}
		.b_info1 .thumb {
			width: calc(25% - 15px);
			max-height: 220px;
			margin: 0 0 15px 15px;
			overflow: hidden;
		}
			.b_info1 .thumb a {display: block;}
				.b_info1 .thumb img {width: 100%;}

	.content_wr {padding: 48px 0 30px 0;}

	.article {padding-bottom: 20px;}

/* -------------------------------
	Footer 
------------------------------- */
#footer {
	background: #424e5f;
	padding: 32px 0;
	position: relative;
	color: #a9b6ca;
	text-align: center;
}

	#footer > .in {}
		#footer a {color: #424e5f;}
		#footer .contacts {
			margin-bottom: 25px;
			font-weight: 600;
			line-height: 1.7;
		}
			#footer .address {font-size: 17px;}
				#footer .address p:last-child {margin: 0;}
			#footer .phone {font-size: 20px; color: #fff;}
				#footer .phone a[href^="tel"] {color: #fff;}

		#footer .social {}
			#footer .social a {}
				#footer .social .ico {
					background: url(../images/ico3.png);
					display: block;
					width: 48px;
					height: 48px;
					-webkit-transition: none;
					-o-transition: none;
					transition: none;
				}
				#footer .social .ico.v1 {background-position: 0 0;}
				#footer .social .ico.v2 {background-position: -48px 0;}
				#footer .social .ico.v3 {background-position: -96px 0;}
				#footer .social .ico.v4 {background-position: -144px 0;}
				#footer .social a:hover .ico.v1 {background-position: 0 -48px;}
				#footer .social a:hover .ico.v2 {background-position: -48px -48px;}
				#footer .social a:hover .ico.v3 {background-position: -96px -48px;}
				#footer .social a:hover .ico.v4 {background-position: -144px -48px;}

#footer a {color:  inherit;}

@media screen and (min-width: 1200px) {
	.in {width: 1160px; margin: 0 auto;}

	.t_menu li {margin-left: 35px;}
}

@media screen and (min-width: 2100px) {
	#wrapper {
		width: 2100px;
		margin: 0 auto;
		-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
		box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	}
}

@media screen and (max-width: 1000px) {
	.c_wr .descr,
	.c_wr.v1 .descr {padding-top: 0;}
		.c_wr .title {min-height: auto;}

	.c_wr1 .descr {width: auto; min-height: auto;}
	.c_wr1 img {
		display: block;
		max-width: 100%;
		margin: 0 auto;
		position: static;
	}

	.c_wr2 .cols .col.v1 {display: none;}
	.c_wr2 .cols .col.v2 {width: 100%; margin-left: 0;}

	.c_wr3 .list,
	.c_wr4 .cols {padding-right: 0; padding-left: 0;}
}

@media screen and (max-width: 980px) {
	.logo,
	.logo a {
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
	}
	.logo {
		width: 160px;
		height: 150px;
		margin-left: -20px;
	}
		.logo a {padding: 10px 0 0 0;}

	.c_wr {margin-top: 0;}
	.c_wr,
	.c_wr .in {
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
	}

	.c_wr1,
	.c_wr3,
	.c_wr4 {padding-top: 40px;}

	.c_wr2 .cols .col.v2 {padding-top: 40px;}

	.content_wr {padding-top: 30px;}

	.b_info1 .thumb {width: calc(33.3% - 15px);}

	.article img:not(class) {
		max-width: 100%;
		margin: 0 0 15px 0 !important;
		float: none !important;
	}
}

@media screen and (max-width: 800px) {
	#header {
		background: #fff;
		width: 100%;
		height: 150px;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 200;
		-webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
		box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
	}
		.m_ctrl {display: block;}
		.tm_wr {
			background: rgba(0, 0, 0, 0.9);
			display: none;
			width: 100%;
			height: 100%;
			position: fixed;
			top: 0;
			right: 0;
			z-index: 999;
		}
			.tm_wr .close {display: block;}
			.t_menu {
				background: rgba(66, 78, 95, 0.9);
				width: 100%;
				max-width: 360px;
				height: 100%;
				padding: 45px 20px 20px 20px;
				position: fixed;
				top: 0;
				right: 0;
				overflow: auto;
			}
				.t_menu li {margin: 0 0 10px 0; float: none;}
					.t_menu a {
						background: rgba(255, 255, 255, 0.1);
						padding: 10px;
						color: #fff;
					}

	#main {padding-top: 150px;}
		.c_wr,
		.c_wr .in {height: 400px;}
			.c_wr .title {font-size: 45px;}
				.c_wr .title span {font-size: 35px;}

		.c_wr4 .cols .col.v1 .title2 {padding-right: 0;}
}

@media screen and (max-width: 640px) {
	.in {margin: 0 10px;}

	h1,
	.title1,
	.title3 {font-size: 30px;}

	.logo {margin-left: -10px;}

	.c_wr .title {font-size: 40px;}
		.c_wr .title span {font-size: 30px;}

	.b_info {margin-bottom: 20px;}

	.c_wr3 .list {
		padding-top: 20px;
		padding-bottom: 10px;
		-webkit-column-count: auto;
		-moz-column-count: auto;
		column-count: auto;
		-webkit-column-gap: 0;
		-moz-column-gap: 0;
		column-gap: 0;
	}

	.c_wr4 .cols .col.v1 {width: 100%;}
	.c_wr4 .cols .col.v2 {width: 100%; margin: 20px 0 0 0;}

	.b_info1 .thumb {width: calc(50% - 15px);}
}

@media screen and (max-width: 480px) {
/* backup original rule */
/*	#header .phone a[href^="tel"] {
		background: url(../images/phone.png);
		display: block;
		width: 32px;
		height: 32px;
		font-size: 0;
	}*/

	#header .phone a[href^="tel"]:first-child {
		background: url(../images/phone.png);
		display: block;
		width: 32px;
		height: 32px;
		font-size: 0;
	}

		#header .phone a[href^="tel"]:nth-child(2) {
		display: none;
/*		width: 32px;
		height: 32px;
		font-size: 0;*/
	}

	.b_info .item {width: calc(50% - 10px);}
}

@media screen and (max-width: 360px) {
	.b_info1 {margin-left: 0;}
		.b_info1 .thumb {
			width: 100%;
			max-height: none;
			margin-left: 0;
		}
			#header .phone a[href^="tel"]:first-child {
		background: url(../images/phone.png);
	}
}

@media screen and (max-width: 320px) {
	.b_info {margin-left: 0;}
		.b_info .item {width: 100%; margin-left: 0;}
}

p.contact_info_header {
	margin: 5px 5px;
	font-size: 150%;
	padding: 0;
}

p.contact_info_txt {
	margin: 5px 10px;
	font-size: 120%;
	color: #001ADB;
}

.contact_info_txt a:hover {
	color: #354BEC;
	text-shadow: 1px 1px 2px #A2A2A2;
}
/*	#header .phone a[href^="tel"]:first-child {
		background: url(../images/phone.png);
	}*/