/*
Theme Name: Autokliinik
Author: Finecode
Author URI: http://www.finecode.ee/
Description: This is a blank bootstrap 3.1.1 theme for wordpress. Feel free to use this as a starter template for your projects.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*Wordpress editor styles start*/

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
	
	
/** bootstrap helpers **/

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}

/*Wordpress editor styles end*/

@font-face {
    font-family: 'klavika_ch_regularregular';
    src: url('fonts/klavikach-regular-webfont.woff2') format('woff2'),
         url('fonts/klavikach-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'klavika_chmedium_italic';
    src: url('fonts/klavikach-mediumitalic-webfont.woff2') format('woff2'),
         url('fonts/klavikach-mediumitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'klavika_chlight_italic';
    src: url('fonts/klavikach-lightitalic-webfont.woff2') format('woff2'),
         url('fonts/klavikach-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body	{
	font-family:"klavika_chmedium_italic" !important;
	overflow-x:hidden;
	-webkit-font-kerning:normal;
	padding-top:130px;
}
.section_black	{
	background-color:#000;
}
.section_slogan .overlay 	{
	background: -moz-linear-gradient(top, rgba(0,0,0,0.75) 0%, rgba(255,255,255,0) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.75) 0%,rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%,rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#85000000', endColorstr='#00ffffff',GradientType=0 );
	position:absolute;
	width:100%;
	height:100%;
}
.section_slogan	{
	margin-top: -32px;
}
.section_slogan h1	{
	position: absolute;
    top: 47%;
    -webkit-transform: translateY(-47%);
    -o-transform: translateY(-47%);
    transform: translateY(-47%);
	text-align:center;
	color:#fff;
	width:100%;
	display:block;
	text-transform:uppercase;
	font-family:klavika_chmedium_italic;
	letter-spacing:6px;
	font-size:49px;
}
.section_slogan h1:before	{
	background-color: #fff;
    content: "";
    height: 2px;
    left: -25px;
    position: absolute;
    right: 0;
    top: -40px;
    width: 56%;
	margin: 0 auto;
}
.section_slogan h1:after	{
	background-color: #fff;
    content: "";
    height: 2px;
    left: -25px;
    position: absolute;
    right: 0;
    bottom: -40px;
    width: 56%;
	margin: 0 auto;
}
.navbar	{
	margin-bottom:0px;
	background-color:#fff;
	border:0px;
	-webkit-border-radius:0px;
	border-radius:0px;
	padding:0px 5%;
	border-top:20px solid #ff0000;
}
.navbar-brand > img	{
	width:250px;
	margin-top:28px;
}
.navbar-nav > li > a	{
	padding:45px 10px;
	font-family:klavika_chmedium_italic;
	text-transform:uppercase;
	outline:none;
}
.navbar-default .navbar-nav > li > a:focus, 
.navbar-default .navbar-nav > li > a:hover	{
	color:#000;
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-ms-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	transition: all 0.6s ease;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:focus, 
.navbar-default .navbar-nav > .active > a:hover	{
	background-color:transparent;
	color:#000;
}
.collapse.navbar-collapse	{
	position:relative;
}
.socials.navbar-right {
    margin-top: 70px;
    position: absolute;
    right: 24px;
	z-index:10;
}
.socials li {
    padding: 0;
}
.socials li.lang-item {
    padding: 0;
	padding-right:7px;
	margin-right:3px;
	position:relative;
}
.socials li.lang-item:after {
    position:absolute;
	content:"";
	right:0;
	width:1px;
	height:15px;
	top:3px;
	background-color:#000;
}
.socials li.lang-item-ru {
	margin-right:0;
	padding-right:3px;
}
.socials li.lang-item-ru:after {
	width:0px;
}
.socials li.lang-item a {
    color:#000;
	font-family:'klavika_chlight_italic';
}
.socials li a img {
    height: 16px;
}
.section	{
	padding:80px 0px;
}
.section_slogan	{
	padding:0px;
}
.section-title	{
	font-family:klavika_chmedium_italic;
	text-transform:uppercase;
	letter-spacing:2px;
	margin-bottom:55px;
	margin-top:-80px;
	position:relative;
	font-size:13px;
}
.section_intro .section-title	{	
	margin-top: -170px;
    padding-bottom: 15px;
    padding-top: 35px;
}
.section_intro .section-title	{
	color:#fff;
	position:relative;
}
.section_intro .section-title:after	{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 7.5px 0 7.5px;
	border-color: #fff transparent transparent;
	position:absolute;
	bottom:-5px;
	left:0;
	right:0;
	margin:0 auto;
	content:"";
}
.section_white h2	{
	font-family:klavika_chmedium_italic;
	text-transform:uppercase;
	color:#ff0000;
	font-size:125px;
	margin-bottom:55px;
	padding-top:50px;
	display:block;
	width:100%;
}
.section_white .smaller,
.section_black .smaller	{
	font-size:95px !important;
}
.section_gallery h2	{
	font-family:klavika_chmedium_italic;
	text-transform:uppercase;
	color:#B2B2B2;
	font-size:125px;
	margin-bottom:55px;
}
h2.black	{
	color:#000;
}
h2 span	{
	white-space:nowrap;
font-variant: small-caps;
text-rendering: optimizeLegibility;
}
.section_intro	{
	background-image:url('img/bg_intro.png');
	background-repeat:no-repeat;
	background-size:33%;
	background-position:70% 95px;
	padding-bottom: 150px;
}
.section_services	{
	padding-bottom: 0;
}
.section_intro p,
.section_services p	{
	font-size:13px;
}
.section_services .section-title	{
	background-color:#000;
	color:#fff;
	padding:25px 0px 40px;
	position:relative;
}
.section_services .section-title:after	{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 7.5px 0 7.5px;
	border-color: #fff transparent transparent;
	position:absolute;
	bottom:22px;
	left:0;
	right:0;
	margin:0 auto;
	content:"";
}
.section_replacement .section-title	{
	background-color:#E5E5E5;
	color:#000;
	padding:25px 0px 40px;
	position:relative;
}
.section_replacement .section-title	{
	background-color:#E5E5E5;
	color:#000;
	padding:25px 0px 40px;
	position:relative;
}
.section_replacement .section-title:after	{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 7.5px 0 7.5px;
	border-color: #000 transparent transparent;
	position:absolute;
	bottom:22px;
	left:0;
	right:0;
	margin:0 auto;
	content:"";
}
.section_team .section-title	{
	background-color:#FF0000;
	color:#000;
	padding:25px 0px 40px;
	position:relative;
	z-index:105;
}
.section_team .section-title:after	{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 7.5px 0 7.5px;
	border-color: #000 transparent transparent;
	position:absolute;
	bottom:22px;
	left:0;
	right:0;
	margin:0 auto;
	content:"";
}
.section_gallery .section-title	{
	background-color:#B2B2B2;
	color:#fff;
	padding:25px 0px 40px;
	position:relative;
}
.section_gallery .section-title:after	{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 7.5px 0 7.5px;
	border-color: #fff transparent transparent;
	position:absolute;
	bottom:22px;
	left:0;
	right:0;
	margin:0 auto;
	content:"";
}
.section_contact	{
	background-image:url('img/phone_bg.png');
	background-repeat:no-repeat;
	background-size:810px;
	background-position:91% 10px;
	font-size:23px;
	font-family:klavika_chlight_italic;
	line-height:17px;
}
.section_contact h3	{
	font-size:40px;
	font-family:klavika_chmedium_italic;
}
.section_contact p.profession	{
	font-size:23px;
	font-family:klavika_chmedium_italic;
	margin-bottom:40px;
	margin-top:-5px;
}
.section_services	{
	background-image:url('img/service_bg.png');
	background-repeat:no-repeat;
	background-position:76% 20px;
}
.section_replacement	{
	width:100%;
	position:relative;
	z-index:88;
}
.section_replacement .container	{
	position:relative;
}
.section_replacement .container:after	{
	position:absolute;
	z-index:100;
	content:url('img/replacement_bg.png');
	top:-75px;
	left:-38%;
}
.section_replacement .title-wrapper,
.section_replacement .col-md-6,
.section_replacement .col-md-4	{
	position:relative;
	z-index:102;
}
.section_contact .section-title	{
	background-color:#FF0000;
	color:#000;
	padding:25px 0px 40px;
	position:relative;
}
.section_contact .section-title:after	{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 7.5px 0 7.5px;
	border-color: #000 transparent transparent;
	position:absolute;
	bottom:22px;
	left:0;
	right:0;
	margin:0 auto;
	content:"";
}
.section_replacement .padding	{
	margin-top:50px;
	padding-top:0;
	border-top:3px solid #ff0000;
}

.stretch_it{
    white-space: nowrap;
}
.justify{
    text-align:justify;
}
.back-to-top	{
	background-color:#E5E5E5;
	padding:45px 0px 20px;
	color:#ff0000;
	font-family: klavika_chmedium_italic;
    position: relative;
    text-transform: uppercase;
	letter-spacing:3px;
	cursor:pointer;
}
.back-to-top:before	{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 7.5px 10px 7.5px;
	border-color: transparent transparent #ff0000;
	position:absolute;
	top:30px;
	left:0;
	right:0;
	margin:0 auto;
	content:"";
}
.padding	{
	width:100%;
	height:auto;
	padding:60px 0px;
}
.navbar-brand {
    float: left;
    font-size: 18px;
    height: auto;
    line-height: 20px;
    padding: 15px;
    position: relative;
    z-index: 10;
}
.car-img	{
	margin-top:-140px
}

.bxslider li	{
	max-height:500px;
	overflow:hidden;
}
.bx-wrapper .bx-viewport	{
	background-color:transparent;
	padding:0;
	border:0;
	box-shadow:none;
}
.slider	{
	margin-left:55px;
	height:479px;
	overflow:hidden;
}
.slick-prev {
    float: left;
    margin-right: 0px;
    margin-left: 15px;
    display: block;
    height: 478px;
    vertical-align: middle;
    background-color: #ff0000;
	color:#000;
	border:0px;
	cursor:pointer;
	width:13px;
}
.slick-next {
    float: right;
    display: block;
    height: 478px;
    vertical-align: middle;
    background-color: #ff0000;
	color:#000;
	border:0px;
	cursor:pointer;
	width:13px;
	margin-right:15px;
}

.slick-prev span.arrow:after {
	position:absolute;
	content:"";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12.5px 20px 12.5px 0;
	border-color: transparent #000000 transparent transparent;
	left:0;
	top:0;
}
.slick-next span.arrow:after {
	position:absolute;
	content:"";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12.5px 0 12.5px 20px;
	border-color: transparent transparent transparent #000000;
	left:-7px;
	top:0;
}
.slick-prev span.arrow,
.slick-next span.arrow {
	background-color:#fff;
	position: relative;
    top: 48%;
    -webkit-transform: translateY(-48%);
    -o-transform: translateY(-48%);
    transform: translateY(-48%);
}
div#bxslider-pager  {
    height: 505px;
    overflow-y: hidden;
	margin-top:-5px;
}
div#bxslider-pager a img {
    margin: 5px 0px;
    border: 1px solid transparent;
}

.slider-nav	{
	height:500px;
	overflow:hidden;
	margin-right:15px;
	margin-left:-15px;
	margin-top: -5px;
}
.slick-vertical .slick-slide {
    border: 1px solid transparent;
    display: block;
    height: auto;
    margin-bottom: 15px;
    max-height: 150px;
    overflow: hidden;
}
.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.section_gallery h2 {
    margin-top: 58px;
    margin-bottom: 58px;
}
:lang(ru) .section h3 span, 
:lang(ru) .section h3 span span, 
:lang(ru) .section p span, 
:lang(ru) .section p span span, 
:lang(ru) .navbar-nav > li > a,
:lang(ru)  h1	{
	font-family: 'Ubuntu', sans-serif;
	font-style: italic;
}
:lang(ru) .navbar-nav > li > a	{
	font-weight: 700;
}
:lang(ru) .section h2,
:lang(ru) .section .section-title	{
	font-family: 'Ubuntu', sans-serif;
	font-style: italic;
}
:lang(ru) .section h3 span,
:lang(ru) .section h3 span span,
:lang(ru) .section p span,
:lang(ru) .section p,
:lang(ru) .section h3,
:lang(ru) .section p span span	{
	font-family: 'Ubuntu', sans-serif !important;
	font-style: italic;
}
:lang(ru) .section_replacement	{
	padding-bottom: 0;
	margin-bottom: -23px;
}
:lang(ru) .section_services	{
	padding-bottom: 0;
}
:lang(ru) .section ul li	{
	font-family: 'Ubuntu', sans-serif !important;
	font-style: italic;
}

.modal-content	{
	-webkit-border-radius: 2px;
	border-radius: 2px;
	padding: 35px;
}
.modal-content h4	{
	text-transform:uppercase;
}
.modal-content label	{
	font-weight: 400;
}
.modal-content .form-control	{
	-webkit-box-shadow:none;
	box-shadow:none;
	-webkit-border-radius: 0;
	border-radius: 0;
	border-color: #e0e0e0;
	padding: 10px 15px;
	height: auto;
}
.modal-content .btn-primary	{
	background-color: #FF0000;
	border-color: #FF0000;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	padding: 15px 25px;
}

@media (max-width: 1198px) {
	h2	{
		font-size:68px !important;
		letter-spacing:2px;
		letter-spacing:8px !important;
	}
	.section_intro	{
		background-position:100% 60%;
		background-size:50% auto;
	}
	.section_services	{
		background-position:56% 60%;
	}
	.section_contact	{
		background-position:110% 53px;
	}
	.car-img	{
		margin-top:10px
	}
	.section_white .smaller span, .section_black .smaller span	{
		font-size:65px !important;
		letter-spacing:8px !important;
	}
	.section_replacement .container:after {
		content: url("img/replacement_bg.png");
		left: -58%;
		position: absolute;
		top: -85px;
		z-index: 100;
	}
	.slider-nav	{
		height:475px;
	}
	.slick-slider.slider img	{
		height:475px;
		width:100%;
		object-fit:cover;
	}
}
@media (max-width: 1012px) {
	.section_slogan img	{
		object-fit:cover;
	}
}	
@media (max-width: 991px) {
	.section_slogan	{
		overflow:hidden;
	}
	.section_intro,
	.section_services,
	.section_replacement,
	.section_contact	{
		background-image:none;
	}
	h2	{
		text-align:center;
	}
	.padding	{
		padding:25px 0;
	}
	.navbar	{
		padding: 0px 15px;
	}
	.navbar-brand > img	{
		width:200px;
		margin-top:37px;
	}
	.section_replacement .container:after {
		content: none;
		position: absolute;
		z-index: 100;
	}
}


@media (max-width: 846px) {
	.navbar-nav > li > a	{
		font-size:13px;
	}
}
@media (max-width: 768px) {
	body	{
		overflow-x:hidden;
		line-height:24px;
		padding-top:82px;
	}
	h2,
	.smaller,
	.section_white .smaller span, 
	.section_black .smaller span	{
		font-size:38px !important;
		letter-spacing:2px;
	}
	.navbar-default	{
		height:160px;
		padding:0px;
	}
	.navbar-toggle	{
		margin-top:39px;
		border:0px;
		-webkit-border-radius:0px;
		border-radius:0px;
	}
	.navbar-default .navbar-toggle .icon-bar	{
		background-color:#000;
	}
	.navbar-default .navbar-nav > li > a,
	.navbar-default .navbar-nav > li > a:hover,
	.navbar-default .navbar-nav > li > a:focus	{
		background-color:#fff;
		padding:25px 0px;
		text-align:center;
	}
	.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse	{
		max-height:100% !important;
		margin-top:-5px;
	}
	.section_slogan	{
		position:relative;
		overflow:hidden;
		margin-top:78px;
	}
	.section_slogan h1	{
		font-size:25px;
	}
	.socials.navbar-right	{
		margin-top:10px;
		position:relative;
		right:0;
		left:22px;
	}
	.navbar-default .navbar-nav > .active > a, 
	.navbar-default .navbar-nav > .active > a:focus, 
	.navbar-default .navbar-nav > .active > a:hover	{
		background-color:#ff0000;
		color:#fff;
	}
	.section_intro,
	.section_services,
	.section_replacement,
	.section_contact	{
		background-image:none;
	}
	.section-title	{
		margin-bottom:60px;
	}
	.padding	{
		padding:0px;
	}
	.section_contact h3	{
		font-size:30px;
	}
	.section_contact	{
		font-size:17px;
		text-align:center;
	}
	.stretch_it	{
		white-space:normal;
	}
	.slider-nav	{
		height:auto;
		margin:15px 45px;
	}
	.slider-wrapper	{
		position:relative;
	}
	.slider	{
		margin-right:40px;
		height:auto;
		margin-left: 45px;
	}
	.slick-prev,
	.slick-next	{
		display:none;
	}
	.section_replacement .container:after {
		content: none;
		position: absolute;
		z-index: 100;
	}
}
@media (max-width: 562px) {
	h2,
	.smaller,
	.section_white .smaller span, 
	.section_black .smaller span	{
		font-size:33px !important;
		letter-spacing:2px;
		white-space:unset;
		line-height:25px;
	}
}
@media (max-width: 468px) {
	.section_slogan	{
		position:relative;
		overflow:hidden;
		margin-top:78px;
	}
	h2	{
		font-size:28px !important;
		letter-spacing:2px;
	}
}