/*
Theme Name:     Genrih theme
Theme URI:      http://genrich.com.ua/
Description: 	Genrih theme brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
Author:         PretorDH
Author URI:     https://deparadox.download/
Requires at least: 5.7
Requires PHP:	7.4
Version:        1.2.8
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    genrih
Tags:           one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns
*/

@import url("assets/font-awesome.css");
@import url("original.css");

.product-map .product-categories {
	display : flex;
}

.product-map .product-categories .cat-parent {
	flex    : 1 0;
	padding : 1em;
}

.product-map .product-categories > .cat-parent > a {
	display    : block;
	margin     : -1em -1em 0 -1em;
	background : #6d207e;
	padding    : 1em;
}

.product-map .product-categories > .cat-parent + .cat-parent {
	border-left : 1px white solid;
}

/*------------------------------------*
 *             #block model
\*------------------------------------*/
body.search {
	border      : inherit;
	width       : auto;
	opacity     : 1;
	transition  : none;
	box-shadow  : none;
	position    : static;
	margin-left : auto;
}

.site-header {
	background-position: center;
}

.content ul {
	list-style    : initial;
	margin-bottom : 1em;
}

.row {
	margin-right : 0;
	margin-left  : 0;
}

a[href$=".pdf"]:before {
	content   : "\f1c1";
	font      : normal normal normal 14px/1 FontAwesome;
	font-size : 2em;
	margin-right: .3em;
}

.page-not-found {
	position : fixed;
	top      : 0; bottom : 0;
	left     : 0; right : 0;
	z-index  : 10;
}

/*------------------------------------*
 *          #aside nav block
\*------------------------------------*/
aside nav nav {
	display: none;
	margin-left: .75em;
}

aside nav .menu-item {
	display: block;
	background: #fff;
	margin: .25em 0 0;
	padding: .5em 1em;
}

aside nav .menu-item i {
	display: none;
}

aside nav .menu-item-has-children i {
	display: inline-block;
	text-align: center;
	padding: .25em .5em;
	margin-left: -.5em;
	margin-right: .5em;
	border-radius: 50%;
}
aside nav .menu-item-has-children i:hover {
	box-shadow: #eee 0 0 5px 2px, inset #eee 0 0 0 15px;
	transition: max-height 250ms linear;
}

aside nav .menu-item-has-children + nav {
	max-height: 0;
	display: block;
	overflow: hidden;
	transition: max-height 2250ms 250ms ease-in;
}

aside nav input:checked + .menu-item-has-children + nav,
aside nav .menu-item-has-children:hover + nav,
aside nav .menu-item-has-children + nav:hover {
	transition: max-height 2400ms 100ms ease-out;
	max-height: 100vh;
}

aside nav input:checked + .menu-item-has-children i {
	transform: rotate(90deg);
}


/*------------------------------------*
 *             #info block
\*------------------------------------*/

:not(.info-section) .info-block h2,
.info-block h3:first-child {
	min-height    : 3em;
	margin-bottom : .5rem;
	display       : flex;
	align-items   : center;
}

.info-section .info-block h2 {
	min-height : inherit; }

.info-block img {
	max-width  : 100%;
	width      : 100%;
	object-fit : contain; }

.info-section .panel-grid-cell:nth-child(2) {
	border-right : 1px dashed rgba(0, 0, 0, 0.16);
	border-left  : 1px dashed rgba(0, 0, 0, 0.16);
}

.info-block h3.widget-title {
	color          : #6d207e;
	font-size      : 1.8rem;
	line-height    : 2.1rem;
	text-transform : uppercase;
}

.category-solutions.info-block {
	width         : 31.42857%;
	float         : left;
	margin-right  : 2.85714%;
	margin-bottom : 3rem;
}

.content.news .info-block:nth-child(3n),
.info-block:nth-child(3n) {
	margin-right : 0 !important;
}

.little-violet-mark {
	align-items      : center;
	background-color : #6d207e;
	bottom           : 2rem;
	color            : #fff;
	display          : flex;
	font-size        : 1.4rem;
	height           : 23px;
	justify-content  : center;
	line-height      : 1.8rem;
	position         : absolute;
	text-transform   : uppercase;
	width            : 76px;
}

.little-violet-mark:first-child {
	display : none
}

.info-img-wrapper {
	max-width : 100%;
	position : relative;
}

.excerpt {
	min-height : 8em;
}

.panel-grid-cell .so-panel {
	margin-bottom : .1rem !important;
}

#pg-26-0, #pg-26-1, #pg-26-2, #pg-26-3, #pl-26 .panel-grid-cell .so-panel {
	margin-bottom : 0 !important;
}

#pg-26-0, #pg-26-1, #pg-26-2, #pg-26-3, #pg-26-4, [id~=pg-26] .panel-grid {
	margin : 0 !important;
}

.ribbon .order-just-now {
	background-position-y: center;
	min-height: 34px;
}

.ribbon .order-just-now p {
	line-height: 34px;
}

/*------------------------------------*
 *             #sidebars
\*------------------------------------*/

.sidebar-wrapper .panel-group .current-menu-item > .collapse {
	display: block;
}

.current-cat > a,
.current-cat:hover > a {
	color : #6d207e;
	cursor : default;
	text-decoration : none;
}

.catalog-list .equipment-item .item-img-wrapper {
	padding-top : 0;
}

.item-img-wrapper {
	padding-top : 1rem;
	text-align  : center;
}

.item-preview-img {
	margin-bottom : 2%;
	width: 31.81818% !important;
}

.item-preview-img:last-child {
	float        : left;
	margin-right : inherit;
}

.item-preview-img:nth-child(3n) {
	margin-right : 0;
}

.thumbnails .item-preview-img {
	display : block;
}

.product-map ul.children > li {
	margin-left: 0 !important;
}

.pagintation-wrapper .pagination li a,
.pagintation-wrapper .pagination li span {
	line-height : 2.1rem;
}

.pagintation-wrapper .pagination li .current {
	border-color  : #6d207e;
	border-radius : 0;
	float         : none;
	line-height   : 2.1rem;
	background    : #6d207e;
	color         : #fff;
}

/*------------------------------------*\
 *             #Form element style    *
\*------------------------------------*/
.label-hidden .nf-field-label,
footer .nf-before-form-content {
	display : none;
}

.nf-field-container, #ninja_forms_required_items {
	margin-bottom : 0 !important;
}

.nf-after-field {
	margin-bottom : .5rem
}

.nf-error-wrap.nf-error {
	position  : absolute;
	right     : 0;
	bottom    : 4px;
	font-size : .70em;
}

/* -----------------------------------*
 *              CHANGEVIEW
 * -----------------------------------*/
.change-view label {
	cursor : pointer;
}

input:first-child:checked ~ h2 .change-view label:first-child,
input + input:checked ~ h2 .change-view label:last-child {
	color : #373737;
}

input + input:checked ~ .products .equipment-item {
	align-items     : center;
	display         : flex;
	height          : auto;
	justify-content : flex-start;
}

input + input:checked ~ .products .column {
	width        : 100%;
	float        : left;
	margin-left  : 0;
	margin-right : 0;
}

input + input:checked ~ .products .item-img-wrapper {
	display         : flex;
	align-items     : center;
	width           : 17rem;
	height          : 17rem;
	justify-content : flex-start;
}

input + input:checked ~ .products .equipment-item {
	height : auto;
}

input + input:checked ~ .products .equipment-item .item-info {
	top    : .75rem;
	bottom : auto;
	left   : 17rem;
}

input + input:checked ~ .products .order-equipment-btn {
	bottom : .75rem;
	left   : 18.55rem;
}

.column.search-result {
	padding         : 2rem;
	background-clip : padding-box;
	background      : #fff;
	border          : 1px solid #e6e5e4;
	margin-bottom   : 2rem;
}

/** Page numbers */
.page-numbers {
	padding: 0.5em 0.75em;
}

.page-numbers.current {
	color: #767676;
	display: inline-block;
}

.page-numbers li {
	display: inline-block;
}

.page-numbers.current .screen-reader-text {
	clip: auto;
	height: auto;
	overflow: auto;
	position: relative !important;
	width: auto;
}

.prev.page-numbers,
.next.page-numbers {
	background-color: #ddd;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	display: inline-block;
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1;
	padding: 0.25em 0.5em 0.4em;
}

.prev.page-numbers,
.next.page-numbers {
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.prev.page-numbers:focus,
.prev.page-numbers:hover,
.next.page-numbers:focus,
.next.page-numbers:hover {
	background-color: #767676;
	color: #fff;
	text-decoration: none;
}

.prev.page-numbers {
	float: left;
}

.next.page-numbers {
	float: right;
}
/** end: Page numbers */



.nav-wrapper .menu li.current-menu-item > a:before {
	content : initial;
	display : none;
}
.item-description li {
	list-style-type: disc;
	list-style-position: inside;
}
footer a {
	font-size: 1.4rem;
}
img.custom-logo {
	max-height: 80px;
	width: auto;
}
.tech-title .order-support-btn {
	margin-top: 0;
}
.equipment, .advantages-block {
	margin: 0 1em;
}
.woocommerce div.product div.images, .woocommerce-page div.product div.images {
	width: 32.86713%;
}

@media (max-width: 480px) {
	header {padding-bottom: 0;}
	.home #masthead{
		padding-bottom : 3.6rem;
	}
	nav .nav-wrapper .top-menu-container {
		margin-top: 0;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100000;
	}
	.header-info {
		background: rgba(255,255,255,.8);
		margin:45px -5px 0;
		padding: 5px 20px;
	}
	#top-menu {
		border-radius: 0;
	}
	.company-name.custom-header {
		order: 1;
		margin-top: 1em;
	}
	.top-menu-container .menu-dropdown {
		height: auto;
	}
	.top-menu-container .menu li:last-of-type {
		margin: 3px 0;
	}
	.top-menu-container .menu .menu-item + .menu-item,
	.top-menu-container .menu .menu-item {
		margin: 0;
		overflow: hidden;
		transition: all 200ms linear;
	}
	.top-menu-container .menu-dropdown .menu-item + .menu-item,
	.top-menu-container .menu-dropdown .menu-item {
		height: 21px;
		margin: 1rem 0;
		transition: all 200ms linear;
	}

	.container {
		padding-left: 5px;
		padding-right: 5px;
	}
	.item-page .item-view-slider, .item-page .item-description {
		width: 100%;
	}
	#pg-26-1 {
		margin: 0 -20px !important;
	}
	.type-post .wp-post-image {
		max-width: 100%;
	}
	.type-post .content .pull-right {
		margin-left: 0 !important;
		float: none;
	}
	.column.search-result {
		width: 100%;
		float: none;
		margin-right: 0;
	}
	table.shop_attributes td,
	table.shop_attributes th {
		display: block;
		width: 100%;
		text-align: justify;
	}
	table.shop_attributes td br {
		display: none;
	}
	.term-description {
		text-align: justify;
	}

	footer .footer-menu-categories h2,
	footer .footer-menu-navigation h2,
	footer .footer-menu-services h2,
	footer .footer-menu-form h2 {
		margin: 1rem 0 0;
		border-bottom: 1px rgba(255,255,255,.4) solid;
	}

}
