/*
Theme Name: Vantage Premium Child
Template: vantage
Author: SiteOrigin
Author URI: http://siteorigin.com/
Theme URI: http://siteorigin.com/theme/vantage/
Version: 2.6
License: GNU General Public License 2.0
License URI: license.txt
*/

/* =Reset
-------------------------------------------------------------- */


a {
  color: #0731aa;
}
a:hover,
a:focus,
a:active {
  color: #000;
}

#main,
#masthead {
  background: #fff;
}
.home article.post .entry-header, 
.home article.page .entry-header {
    margin-bottom: 0px;
}

/*menu*/

.main-navigation ul li a{
	outline: none;
	text-transform: uppercase;
}

li.menu-item-has-children a:after{
	content: '\25bc';
	margin-left: 5px;
}
li.menu-item-has-children .sub-menu a:after{
	content: '';
	margin-left: 0px;
}

ul ul li.menu-item-has-children a:before{
	content: '\25b6';
	margin-left: 5px;
	float: right;
}

ul ul ul li a:before{
	content: ''!important;
}

.main-navigation a {
    font-weight: 700;
}
#search-icon .searchform {
    border: 1px solid #F2F2F2;
}

/*meta slider*/
#main-slider {
    margin: 20px 0px;
}
.metaslider .flexslider{
	margin: 0px!important;
}
.flexslider .flex-direction-nav li a.flex-prev {
    background: url(/wp-content/themes/vantage-child/images/retina/gallery-prev.png);
	background-position: center center;
    background-size: 100%;
}

.flexslider .flex-direction-nav li a.flex-next{
    background: url(/wp-content/themes/vantage-child/images/retina/gallery-next.png);
	background-position: center center;
    background-size: 100%;
}

.flexslider .flex-direction-nav li a {
    width: 32px;
    height: 32px;
    margin-top: -16px;
}

#navxt-breadcrumbs {
    background: #f7f7f7;
    margin-bottom: 30px;
    color: #000;
	font-size: 16px;
	line-height: 1.5;
}
#navxt-breadcrumbs a{
	font-size: 16px;
	line-height: 1.5;
	color:#4d4d4d;
}
/*siteorigin*/
.entry-content table{
	border-bottom: none;
	margin:0;
	margin-bottom: 0;
}

.flex-control-nav.flex-control-paging{
	text-align: center;
}
.lsow-services.lsow-style2 .lsow-service .lsow-icon-wrapper span {
    width: 20px;
    text-align: center;
}
.lsow-heading.lsow-style3 {
    margin: 0 auto 20px!important;
}
.lsow-heading.lsow-style3 .lsow-title::after {
    display: none!important;
}
.lsow-heading .lsow-title {
    margin: 0 auto!important;
}
.lsow-services .lsow-service {
    margin-bottom: 10px;
}

article.post, article.page {
    zoom: 1;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: none;
}
/*tag news*/
.cat_link .article_thumb{
	height: 100px;
}
.cat_link .article_hd,
.cat_link a{
	font-size: 14px;
    text-decoration: none!important;
    color: #000;
    margin: 0;
    overflow: hidden;
    height: 96px;
}
/*homepage*/
.cat_wr{
	background: #F2F2F2;
	display: block;
	position: relative;
	width: 100%;
}
.one_half {
    width: 47%;
    display: inline-block;
    position: relative;
    margin: 1%;
	float: left;
}
.one_fourth{
	width: calc(24.7% - 30px);
    display: inline-block;
	position: relative;
    padding: 15px;
}
.sidebar_r{
	float: right;
	margin-top: 10px;
	position: relative;
}
.three_fourth{
	width: calc(74.2% - 30px);
    display: inline-block;
    padding: 15px;
	position: relative;
}
.grid-loop-columns-3.vantage-grid-loop article,
.one_third{
	width: 31.3333%;
    margin: 10px 1% 5% 1%;
    display: inline-block;
	position: relative;
    float: left;
}
.grid-loop-columns-3.vantage-grid-loop article{
	padding: 0;
}

.vantage-grid-loop article .grid-thumbnail {
    padding: 20px 0px 0px 0px;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: #ffffff;
    margin-bottom: 0px;
}

.news_items,
.news_item{
	height: 380px;
}
.news_items a,
.news_item a{
	color:#000!important;
	text-decoration: none!important;
}
.news_items a:hover,
.news_item a:hover{
	color:#510556!important;
}
article.post, 
article.page,
.news_item{
    border-top: 1px solid #510556;
}
.news_items{
	background: #F2F2F2;
}
.rn_wr{
	display: block;
	position: relative;
}
.article_thumb{
	width:100%;
	display: block;
	height: 215px;
	position: relative;
	background-size: cover;
	background-position: center center;
    z-index: 1;
}
.vantage-grid-loop article h3 a,
.article_hd{
	font-size: 20px;
	line-height: 1.2;
	display: block;
	margin: 10px 0px;
}
.more_news_wr .article_hd{
	height: 100px;
	overflow: hidden;
}
.news_items_wr{
    margin: 20px;
    background: #fff;
    padding: 20px;
	height: calc(100% - 80px);
	overflow: auto;
}
.news_items .article_hd{
	font-size: 16px;
	line-height: 1.2;
	display: block;
	padding: 10px 0px;
	border-top: 1px solid #F2F2F2;
	margin: 0px;
}

.article_date{
	font-size: 14px;
	color: #4d4d4d;
	margin-top: 10px;
	display: block;
}
.cat_hd{
	display: block;
	position:relative;
	
	z-index: 2;
}
.cat_hd a{
	color: #510556!important;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none!important!
}
.cat_hd a:hover{
	color: #000!important;
}
#secondary .news_items,
.sidebar_r .news_items {
	height: auto;
	padding: 1px;
	margin-top: 30px;
}

.sidebar_r .news_items .article_hd {
    padding: 10px 0px;
	border-top: 1px solid #F2F2F2;
	font-size: 14px;
}
.news_row {
	margin: 0!important;
	list-style: none!important;
}

.news_row li{
	height: 150px;
}
.rc_title{
	position: absolute;
	background: rgba(0,0,0,0.6);
	color: #fff;
	top: 0;
	left: 0;
	padding: 20px 10px;
	height: 110px;
	width: calc(100% - 20px);
	overflow: hidden;
	text-align: center;
	display:block;
	z-index: 2;
	font-weight: bold;
    font-size: 14px;
}
.vantage-grid-loop article .excerpt {
    display: none;
}
/*single post*/
.adsense_ads{
	display: block;
	position: relative;
	text-align: center;
	margin-bottom: 20px;
}
#page-title, article.post .entry-header h1.entry-title, 
article.page .entry-header h1.entry-title {
    text-align: center;
	font-size: 24px;
}

.single article.post{
    border-top: none;
}
article.post .entry-header .entry-thumbnail img, 
article.page .entry-header .entry-thumbnail img{
	margin: 0 auto;
    float: none;
    display: block;
    text-align: center;
}

.metas{
	margin: 0 auto!important;
	width: 100%;
	max-width: 700px;
	float: none;
	border-top: 1px solid #000;
}
.metas_hd{
	color: #262626;
	font-size: 16px;
	line-height:2;
	text-transform: uppercase;
    font-weight: bold;
	padding-right: 10px;
	border-top: 1px solid #cecece;
}
.metas_info{
	color: #262626;
	font-size: 16px;
	line-height: 2;
	border-top: 1px solid #cecece;
}


/*more news*/
.more_news_wr .one_half{
	margin-left: 0;
}
.more_news_wr{
	margin: 30px auto!important;
	width: 100%;
	max-width: 700px;
	float: none;
	display: block;
}
.more_news_wr .article_hd{
    font-size: 14px;
    line-height: 1.2;
	margin: 0px;
}
.more_news_wr .one_half a{
	color: #000;
	text-decoration:none;
}
.more_news_wr .one_half a:hover{
	text-decoration:underline;
}
.more_news_wr .article_thumb {
    width: 45%;
    display: block;
    height: 100px;
    position: relative;
    background-size: cover;
    background-position: center center;
    z-index: 1;
    float: left;
}

/*owl product carousel*/

.owl-item{
	text-align: center;
}


.owl-carousel .owl-wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.owl-carousel{
	display: none;
	position: relative;
	width: 100%;
	-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
	display: none;
	position: relative;
	-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
	overflow: hidden;
	position: relative;
	width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
	-webkit-transition: height 500ms ease-in-out;
	-moz-transition: height 500ms ease-in-out;
	-ms-transition: height 500ms ease-in-out;
	-o-transition: height 500ms ease-in-out;
	transition: height 500ms ease-in-out;
}
	
.owl-carousel .owl-item{
	float: left;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
	cursor: pointer;
}
.owl-controls {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}



.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
}
.owl-theme .owl-controls{
	margin-top: 10px;
	text-align: center;
}
.owl-theme .owl-controls .owl-buttons div{
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;
	margin: 5px;
	padding: 3px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background: #510556;
	filter: Alpha(Opacity=50);
	opacity: 0.5;
}
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	filter: Alpha(Opacity=100);
	opacity: 1;
	text-decoration: none;
}
.owl-theme .owl-controls .owl-page{
	display: inline-block;
	zoom: 1;
	*display: inline;
}
.owl-theme .owl-controls .owl-page span{
	display: block;
	width: 12px;
	height: 12px;
	margin: 5px 7px;
	filter: Alpha(Opacity=50);
	opacity: 0.5;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #510556;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
	filter: Alpha(Opacity=100);
	opacity: 1;
}
.owl-theme .owl-controls .owl-page span.owl-numbers{
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}



/*contact forms*/
.ajax-loader {
	display: none;
	width:0px!important;
	height:0px!important;
	margin: 0px!important;
}
.wpcf7-form p {
	margin: 0.2em 0px!important;
}

span.wpcf7-list-item {
    display: block;
    width: 100%;
    float: left;
}

.wpcf7-form-control-wrap input[type=checkbox]{
    width: 15px;
    display: block;
    float: left;
    clear: left;
    padding: 0 !important;
    margin: 0;
}
.wpcf7-list-item-label {
	width: 100%;
	max-width:230px;
	display: block;
	float: left;
	margin-left: 10px;
	line-height: 1;
}

.wpcf7-form-control-wrap input, 
.wpcf7-form-control-wrap textarea{
	border: 1px solid #7fd21e;
	outline: 0;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	width: 100%;
	margin-bottom: 5px;
	padding: 5px;
	box-shadow: none!important;
}
::-webkit-input-placeholder {color:#000;}
::-moz-placeholder          {color:#000;}
:-moz-placeholder           {color:#000;}
:-ms-input-placeholder      {color:#000;}

span.wpcf7-not-valid-tip {
    position: absolute;
    width: 200px;
}
div.wpcf7-response-output{
	margin: 50px 0px 0px 0px;
    background: #000;
    color: #fff;
    border: none!important;
    width: auto;
    display: inline-block!important;
}
/*модальное окно*/
.button_modal {
	padding: 10px 15px;
	background: #EA5353;
	font-size: 12px;
	font-weight: normal;
	color: #fff!important;
	text-decoration: none;
	cursor: pointer;
	line-height: 1;
	-webkit-appearance: none;
}
.button_modal:hover{
	background: #fff;
	color: #EA5353!important;
}

.overlay_popup {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: none;
    background-color: rgba(0, 0, 0, 0.65);
    position: fixed; 
    cursor: default; 
}

.overlay_popup:target {
    display: block;
}

.popup_modal {
    top: -100%;
    right: 0;
    left: 50%;
    font-size: 14px;
    margin: 0;
    width: 100%;
    max-width: 300px;
    position: fixed;
	z-index: 200;
    padding: 15px;
    border: 1px solid #383838;
    background: #fefefe;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.6s ease-out;
    -moz-transition: -moz-transform 0.6s ease-out;
    -o-transition: -o-transform 0.6s ease-out;
    transition: transform 0.6s ease-out;
}
.overlay_popup:target+.popup_modal {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
	z-index: 10000
}
.close2 {
	top: 5px;
	right: 5px;
	position: absolute;
	padding: 1px;
	
	text-align: center;
	text-decoration: none;
	font: 17px/20px 'Tahoma', Arial, sans-serif;
	font-weight: bold;
	-webkit-transition: all ease .8s;
	-moz-transition: all ease .8s;
	-ms-transition: all ease .8s;
	-o-transition: all ease .8s;
	transition: all ease .8s;
}
.close2:before {
    color: #000;
    content: "X";
    font-size: 14px;
}
.close2:hover {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);    
}
.popup_modal h2 { 
    margin: 0;
    color: #008000;
    padding: 5px 0px 10px;
    text-align: left;
    text-shadow: 1px 1px 3px #adadad;
    font-weight: 500;
    font-size: 1.4em;
    font-family: 'Tahoma', Arial, sans-serif;
    line-height: 1.3;
}
.popup_modal p {margin: 0; padding: 5px 0}



/*animation */
.hidden_animate{
	opacity:0;
	-webkit-animation-delay: 1s; /* Chrome, Safari, Opera */
    animation-delay: 0s;
}
.animated{
	opacity:1;
	animation-name: fadeIn;
	animation-duration: 2s;
	animation-fill-mode: both;
	-webkit-animation-fill-mode: both;
	
	animation-iteration-count: 10;
	animation-direction: alternate;
	animation-timing-function: ease-out;
	animation-delay: 0s;
}


@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}


/*fonts*/



@font-face {
  font-family: 'vantage-icons';
  src: url('/wp-content/themes/vantage/icons/vantage-icons.eot');
  src: url('/wp-content/themes/vantage/icons/vantage-icons.eot?#iefix') format('embedded-opentype'), url('/wp-content/themes/vantage/icons/vantage-icons.woff') format('woff'), url('/wp-content/themes/vantage/icons/vantage-icons.ttf?') format('truetype'), url('/wp-content/themes/vantage/icons/vantage-icons.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="vantage-icon-"],
[class*=" vantage-icon-"] {
  font-family: 'vantage-icons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.vantage-icon-arrow-down:before {
  content: "\e600";
}
.vantage-icon-arrow-left:before {
  content: "\e601";
}
.vantage-icon-arrow-right:before {
  content: "\e602";
}
.vantage-icon-arrow-up:before {
  content: "\e603";
}
.vantage-icon-search:before {
  content: "\e604";
}


/*buttons*/

a.button,
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.widget a.button,
#infinite-handle span,
.wpcf7-form .wpcf7-submit,
.wc-backward,
.wc-forward,
.post-navigation a,
#image-navigation a{
    padding: 12px 20px;
	background: #510556!important;
	border: 1px solid #510556!important;
	color: #fff!important;
	-webkit-border-radius: 0px!important;
	-moz-border-radius: 0px!important;
	border-radius: 0px!important;
	font-size: 16px;
	font-weight: normal!important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	width: auto;
	text-decoration: none;
	cursor: pointer;
	line-height: 1;
	text-shadow: none !important;
	-webkit-appearance: none;
	display: inline-block;
	outline: none;
}

.post-navigation a,
#image-navigation a{
	padding: 5px;
	font-size: 10px;
	font-weight: normal;
	border: 0px!important;
}
.site-content .nav-next,
.site-content .nav-previous {
	overflow: hidden;
}
a.button:focus,
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
a.button:active,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
a.button:hover,
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover,
.widget a.button:hover,
#infinite-handle span:hover,
.post-navigation a:hover,
#image-navigation a:hover {
	background: #fff!important;
	color: #510556!important;
	background-color: #fff!important;
}

.wc-backward:hover,
.wc-forward:hover{
	background: #fff!important;
	color: #510556!important;
}

/* responsive aleks.org.ua */

/* tablets */ 

@media screen and (min-width: 1081px) and (max-width: 1349px) { 
	article.post.post-with-thumbnail-icon .entry-thumbnail, 
	article.page.post-with-thumbnail-icon .entry-thumbnail,
	article.post.post-with-thumbnail-icon .entry-main, 
	article.page.post-with-thumbnail-icon .entry-main{
		width: 100%;
	}
	.panel-grid-cell {
		margin-bottom: 0px!important;
	}
	.popup_modal {
		width: 95vw;
		max-height: 350px;
		overflow: scroll;
	}
	.close2 {
		top: 5px;
		right: 5px;
		padding: 1px;
	}
	.logo img{
		width: 99%;
		height: auto;
	}
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:before {
		color: #000!important;
	}
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:after {
		color: #000!important;
	}
	
	
}
@media screen and (min-width: 780px) and (max-width: 1080px) { 	
	.logo img{
		width: 99%;
		height: auto;
	}
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:before {
		color: #000!important;
	}
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:after {
		color: #000!important;
	}
	.one_half {
		width: 47%;
		display: inline-block;
		position: relative;
		margin: 1%;
	}
	.one_fourth{
		width: calc(47% - 30px);
	}
	#secondary,
	.sidebar_r{
		float: none;
		margin: 20px auto;
		display: block;
	}
	#footer-widgets .widget {
		min-width: 280px;
		width: 90vw!important;
		float: none;
		margin: 0 auto 20px;
	}
	.three_fourth{
		width: calc(100% - 30px);
	}
	.grid-loop-columns-3.vantage-grid-loop article,
	.one_third{
		
	}
}
/* mobiles */ 

@media screen and (min-width: 320px) and (max-width: 779px) { 
	.hide_mobile{
		display: none!important;
	}
	.logo img{
		width: 99%;
		height: auto;
	}
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:before {
		color: #000!important;
	}
	#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1:after {
		color: #000!important;
	}
	.one_half {
		width: calc(100% - 20px);
		display: inline-block;
		position: relative;
		margin: 1% 0;
	}
	.one_fourth{
		width: calc(100% - 30px);
	}
	.sidebar_r,
	body.responsive #secondary{
		float: none;
		margin: 20px auto;
		display: block;
		max-width: 280px;
		overflow:hidden;
	}
	#colophon {
		padding: 20px 0;
	}
	#navxt-breadcrumbs {
		margin-top: 0;
	}
	#footer-widgets .widget {
		min-width: 280px;
		width: 90vw!important;
		float: none;
		margin: 0 auto 20px;
	}
	#secondary .news_items, 
	.sidebar_r .news_items {
	    width: 100%;
	}
	.three_fourth{
		width: calc(100% - 30px);
	}
	.grid-loop-columns-3.vantage-grid-loop article, 
	.one_third {
		width: 100%;
		margin: 0 0 10px 0;
	}
	body.responsive .vantage-grid-loop article {
		width: 300px;
		margin: 0 auto;
		float: none;
		display: block;
	}
	.news_items, 
	.news_item {
		height: auto;
	}
	#main {
		padding: 0px 10px;
	}
	.adsense_ads{
		display: none;
	}

	
	article.post.post-with-thumbnail-icon .entry-thumbnail, 
	article.page.post-with-thumbnail-icon .entry-thumbnail,
	article.post.post-with-thumbnail-icon .entry-main, 
	article.page.post-with-thumbnail-icon .entry-main{
		width: 100%;
	}
	.panel-grid-cell {
		margin-bottom: 0px!important;
	}
	.popup_modal {
		width: 95vw;
		max-height: 350px;
		overflow: auto;
	}
	.close2 {
		top: 5px;
		right: 5px;
		padding: 1px;
	}
	.more_news_wr .article_thumb {
		width: 150px;
		margin: 0 auto;
		float: none;
	}
	.more_news_wr .article_hd {
		text-align: center;
	}
	
}
@media screen and (width: 320px){ 	
	.popup_modal {
		width: 280px;
		max-height: 350px;
		overflow: auto;
	}
	.adsbygoogle{
		max-width: 280px!important;
		overflow: hidden;
	}
}
