/**
Theme Name: AGPN
Author: Alleya Group
Author URI: http://alleya-group.ru/
Description: -
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agpn
Template: astra
*/

.ast-primary-header-bar {
	background: url(./../images/topbg.png);
}

.site-header-section > div:first-child {
	padding-right: 5px;
}
.ast-logo-title-inline .site-logo-img {
	padding-right: 0;
}

.ast-header-html-1 {
	padding-bottom: 0px;
}
.ast-header-html-1 p {
	font-family: 'MagistralC', sans-serif;
	color: #162b6d;
	font-size: 28px;
	border-left: 3px solid #bac8ef;
	padding-left: 10px;
}

.main-header-menu .menu-item a.menu-link {
	transform: scale(1);
	transition: all .5s ease;
}

.main-header-menu .menu-item a.menu-link:hover {
	transform: scale(1.1);
}

.ast-header-break-point .main-navigation .stack-on-mobile li.menu-item.separator {
	display: none;
}

.ast-header-break-point .main-navigation .stack-on-mobile .menu-item a.menu-link:hover {
	transform: scale(1);
}

.main-h2 h2 > span {
	color: #ff3328;
}


.ast-left-sidebar #secondary {
	margin: 0;
	padding-right: 0;
	background: #c3cad4;
}


.catalog-menu {
	
}

.catalog-menu li.menu-item {
	display: block;
	box-sizing: border-box;
	padding: 0;
	border-bottom: 1px solid #ddd;
	line-height: 1.2;
	position: relative;
	margin: 0 !important;
}

.catalog-menu li.menu-item.menu-item-has-children:after {
	display: inine-block;
	content: '\f054';
	font-family: 'FontAwesome';
	position: absolute;
	top: 16px;
	right: 15px;
	color: #999;
}
.catalog-menu li.menu-item.menu-item-has-children.active:after, .catalog-menu li.menu-item.menu-item-has-children.opened:after, .catalog-menu li.menu-item.menu-item-has-children:hover:after {
	content: '\f078';
}

.catalog-menu li.menu-item a.menu-link {
	display: block;
	box-sizing: border-box;
	padding: 15px 15px;
	padding-right: 30px;
}

.catalog-menu li.menu-item.level-1 a.menu-link { padding-left: 30px; }
.catalog-menu li.menu-item.level-2 a.menu-link { padding-left: 45px; }
.catalog-menu li.menu-item.level-3 a.menu-link { padding-left: 60px; }
.catalog-menu li.menu-item.level-4 a.menu-link { padding-left: 75px; }
.catalog-menu li.menu-item.level-5 a.menu-link { padding-left: 90px; }

.catalog-menu ul > li:last-child {
	border-bottom: 0;
}

.catalog-menu ul.sub-menu {
	display: none;
	margin-left: 0;
	margin-top: 0;
	background: #e4e6eb;
}

.catalog-menu li.menu-item.menu-item-has-children.active > ul.sub-menu, .catalog-menu li.menu-item.menu-item-has-children.opened > ul.sub-menu, .catalog-menu li.menu-item.menu-item-has-children:hover > ul.sub-menu {
	display: block;
}

.catalog-menu a.menu-link, .catalog-menu a.menu-link:hover {
	color: #333;
	background: transparent;
}

.catalog-menu li.menu-item.active > a.menu-link, .catalog-menu li.menu-item:hover > a.menu-link {
	background: #596278;
	color: #fff;
}

.catalog-subcats {
	display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 30px;
}
.catalog-subcats a {
    display: inline-block;
    padding: 0;
    margin: 0;
    background: #ffffff;
    border-radius: 4px 4px;
    text-align: center;
    width: 16.5%;
    margin-bottom: 60px;

}
.catalog-subcats a:hover {
	opacity: .9;
}
.catalog-subcats a:hover img{
	opacity: .9;
}
.loading_cat_icon img {
    /* width: 66%; */
    width: 137px;
}
.loading_cat_icon {
    /* padding: 10px; */
	padding-bottom: 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.loading_cat_icon span.icon-all {
    width: 133px;
    height: 133px;
    display: inline-block;
    position: relative;
}
.loading_cat_icon span span {
    width: 133px;
    height: 133px;
    display: inline-block;
    background-position: center !important;
    background-size: cover !important;
    position: absolute;
    left: 0;
    right: 0;
    background-color: #fff !important;
}
.loading_cat_icon span.icon-hover {
   
    z-index: -1;
}




.catalog-subcats a:hover span.icon-hover {
    z-index: 1;
}
.catalog-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 30px
}
.catalog-pagination a {
	display: inline-block;
	padding: 0;
	width: 32px; height: 32px;
	text-align: center;
	line-height: 32px;
	flex: 0 0 auto;
	margin: 5px 5px;
	background: #e6ecf9;
	border-radius: 4px 4px;
}
.catalog-pagination a:hover {
	opacity: .9;
}

.catalog-pagination a.active, .catalog-pagination a.active:hover {
	background: #c3cad4;
	color: #222;
	cursor: default;
}

.catalog-products {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.catalog-product {
	width: 100%;
	padding: 20px 20px;
	text-align: left;
	position: relative;
	padding-bottom: 40px;
	margin: 0.5%;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.catalog-product a.catalog-product-link {
	display: block;
    flex-wrap: wrap;
}

.catalog-product span.image {
	display: inline-block;
    width: 20%;
    height: auto;
    line-height: 200px;
    float:left;
    padding-right: 3%;
}

.catalog-product p.desc {
    /* width: 87%; */
    text-align: left;
    font-size: 14px;
    margin-bottom: 0 !important;
    height: 3.4rem;
    overflow: hidden;
    padding: 0 10px 10px;
    opacity: .8;
    color: #222;
    padding-left: 0;
    padding-top: 3px;
}
.catalog-product span.price {
    position: relative;
    display: block;
    text-align: left;
    padding-top: 2em;
}
.catalog-product span.image img {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
    margin: 0 auto;
    max-height: 200px;
}

.catalog-product span.name {
	display: block;
	width: 100%;
	line-height: 1.2;
	padding: 10px 0 15px 0;
	font-weight: bold;
}

.catalog-product span.price {
	display: block;
	width: 100%;
	line-height: 1;
	font-family: 'MagistralC', sans-serif;
	font-size: 22px;
	font-weight: 600;
	position: relative;
	left: 0;
	padding-top: 30px;
	bottom: 0;
	color: #596278;
	letter-spacing: 1px;
}

.catalog-product span.price i.fa.fa-rub {
	font-size: 20px;
	opacity: .8;
}

.catalog-breadcrumbs {
	font-size: 80%;
	line-height: 1.2;
}

.catalog-breadcrumbs i.fa {
	color: #999;
	margin: 0 5px;
	font-size: 80%;
}

.catalog-product-main {
	display: flex;
}

.catalog-product-main > div {
	flex: 1 1 50%;
}

.catalog-product-main-img {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 20px 20px;
}

.catalog-product-main-img > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
}

.catalog-product-main-content {
	padding-left: 20px;
}

.catalog-product-main-info {
	display: flex;
	flex-wrap: wrap;
}
.catalog-product-main-info > div {
	flex: 1 1 33.33%;
	font-size: 80%;
}

.catalog-product-main-info > div:nth-child(2) {
	min-width: 155px;
}

.catalog-product-main-info > div > span {
	display: block;
	font-family: 'MagistralC', sans-serif;
	font-size: 24px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: 1px;
	color: #10248b;
}

.catalog-product-main-info > div > span > i.fa {
	font-size: 20px;
	opacity: .8;
}

.product-description {
	max-height: 300px;
	overflow: hidden;
	margin-top: 30px;
}

.order-product {
	background: #e4e6eb;
	padding: 20px 20px;
	border-radius: 4px;
	text-align: center;
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.partners-content {
	display: flex;
	flex-wrap: wrap;
}

.partners-content h3 {
	flex: 1 0 100%;
	margin-top: 20px;
	margin-bottom: 10px;
}

.partners-item {
	flex: 1 1 49%;
	margin: 0.5%;
	padding: 20px 20px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.partners-item-title {
	font-size: 20px;
}

.partners-categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.partners-categories a {
	display: inline-block;
	padding: 2px 7px;
	margin: 5px 5px;
	background: #e6ecf9;
	border-radius: 4px 4px;
}

.partners-categories a:hover {
	opacity: .9;
}

.partners-categories a.active, .partners-categories a.active:hover {
	background: #c3cad4;
	color: #222;
	cursor: default;
}

.partner-map {
	height: 400px;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

.all-partners-map {
	height: 500px;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

a.map-button {
    font-size: 18px;
    line-height: 1;
    font-family: 'MagistralC', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    background: #e6ecf9;
    padding: 10px 10px;
    text-align: center;
    border-radius: 4px;
    margin-top: 10px;
}
.catalog-product-main-content a.map-button {
    margin-top: 30px;
    background: #10258c;
    color: #fff;
    padding: 20px;
    height: auto;
}
.loading_discount {
    position: relative;
}
.loading_discount::before {
    content: "";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f02b";
    position: absolute;
    left: 62px;
    font-size: 47px;
    color: #ef4141;
}
.ast-search-menu-icon.slide-search .search-form {
    width: 270px;
    opacity: 1 !important;
    visibility: visible !important;
}
.ast-search-menu-icon.slide-search .search-form input.search-field {
    width: 100%;
}
.ast-search-icon {
    display: none !important;
}
.ast-search-menu-icon .search-submit {
    display: inline-block;
    position: absolute;
    line-height: 1;
}
@media all and (max-width: 1100px) {
	.catalog-product { flex: 0 1 49%; }
}

@media all and (max-width: 921px) {
	.ast-page-builder-template.ast-left-sidebar #secondary, .ast-page-builder-template.ast-right-sidebar #secondary {
		padding-left: 0;
		padding-right: 0;
	}
}

@media all and (max-width: 700px) {
	.catalog-product-main { flex-wrap: wrap; }
	.catalog-product-main > div { flex: 1 1 100%; }
	.catalog-product-main-content { padding-left: 0; padding-top: 20px; }
	.partners-item { flex: 1 1 99%; }
	.catalog-product-main-info > div {
		flex: 1 1 50%;
	}
	.catalog-product-main-info > div:nth-child(3) {
		flex: 1 0 100%;
		margin-top: 10px;
	}
}

@media all and (max-width: 450px) {
	.ast-header-html-1 { padding-bottom: 0; }
	.ast-header-html-1 p { font-size: 18px; line-height: 1.1; }
	.catalog-product { flex: 0 1 99%; }
}

.row > .column {
	padding: 0 8px;
  }
  
  .row:after {
	content: "";
	display: table;
	clear: both;
  }
  
  /* Create four equal columns that floats next to eachother */
  .column {
	float: left;
	width: 25%;
  }
  
  /* The Modal (background) */
  .modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: black;
  }
  
  /* Modal Content */
  .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
  }
  
  /* The Close Button */
  .close {
	color: white;
	position: absolute;
	top: 10px;
	right: 25px;
	font-size: 35px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
  }
  
  /* Hide the slides by default */
  .mySlides {
	display: none;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
	right: 0;
	border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
	background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
  }
  
  /* Caption text */
  .caption-container {
	text-align: center;
	background-color: black;
	padding: 2px 16px;
	color: white;
  }
  
  img.demo {
	opacity: 0.6;
  }
  
  .active,
  .demo:hover {
	opacity: 1;
  }
  
  img.hover-shadow {
	transition: 0.3s;
  }
  
  .hover-shadow:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  body.lb-disable-scrolling {
	overflow: hidden;
  }
  
  .lightboxOverlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	background-color: black;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	opacity: 0.8;
	display: none;
  }
  
  .lightbox {
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 10000;
	text-align: center;
	line-height: 0;
	font-weight: normal;
	outline: none;
  }
  
  .lightbox .lb-image {
	display: block;
	height: auto;
	max-width: inherit;
	max-height: none;
	border-radius: 3px;
  
	/* Image border */
	border: 4px solid white;
  }
  
  .lightbox a img {
	border: none;
  }
  
  .lb-outerContainer {
	position: relative;
	*zoom: 1;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	border-radius: 4px;
  
	/* Background color behind image.
	   This is visible during transitions. */
	background-color: white;
  }
  
  .lb-outerContainer:after {
	content: "";
	display: table;
	clear: both;
  }
  
  .lb-loader {
	position: absolute;
	top: 43%;
	left: 0;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
  }
  
  .lb-cancel {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 auto;
	background: url(./../images/loading.gif) no-repeat;
  }
  
  .lb-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
  }
  
  .lb-container > .nav {
	left: 0;
  }
  
  .lb-nav a {
	outline: none;
	background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
  }
  
  .lb-prev, .lb-next {
	height: 100%;
	cursor: pointer;
	display: block;
  }
  
  .lb-nav a.lb-prev {
	width: 34%;
	left: 0;
	float: left;
	background: url(./../images/prev.png) left 48% no-repeat;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 1;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	-o-transition: opacity 0.6s;
	transition: opacity 0.6s;
	display: block !important;
  }
  
  .lb-nav a.lb-prev:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
  }
  
  .lb-nav a.lb-next {
	width: 64%;
	display: block !important;
	right: 0;
	float: right;
	background: url(./../images/next.png) right 48% no-repeat;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 1 !important;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	-o-transition: opacity 0.6s;
	transition: opacity 0.6s;
  }
  
  .lb-nav a.lb-next:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
  }
  
  .lb-dataContainer {
	margin: 0 auto;
	padding-top: 5px;
	*zoom: 1;
	width: 100%;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
  }
  
  .lb-dataContainer:after {
	content: "";
	display: table;
	clear: both;
  }
  
  .lb-data {
	padding: 0 4px;
	color: #ccc;
  }
  
  .lb-data .lb-details {
	width: 85%;
	float: left;
	text-align: left;
	line-height: 1.1em;
  }
  
  .lb-data .lb-caption {
	font-size: 13px;
	font-weight: bold;
	line-height: 1em;
  }
  
  .lb-data .lb-caption a {
	color: #4ae;
  }
  
  .lb-data .lb-number {
	display: block;
	clear: left;
	padding-bottom: 1em;
	font-size: 12px;
	color: #999999;
  }
  
  .lb-data .lb-close {
	display: block;
	float: right;
	width: 30px;
	height: 30px;
	background: url(./../images/close.png) top right no-repeat;
	text-align: right;
	outline: none;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
	opacity: 0.7;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
	transition: opacity 0.2s;
  }
  
  .lb-data .lb-close:hover {
	cursor: pointer;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
  }
  button.search-submit.ast-search-submit {
    padding: 10px 15px;
    border-radius: 2px;
}
.search .catalog-products + main#main section.no-results.not-found {
    display: none;
}
.ast-left-sidebar #primary.loading_content_area {
    border: 0 !important;
}
@media all and (max-width: 700px) {
	.catalog-subcats a{
		width: 50%;
	}
}