/*!
Theme Name: Промакс
Author: Goracio
Author URI: https://goracio.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: promax

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Promax is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800;900&family=Roboto:wght@300;400;700&display=swap');

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1, div.h1 {
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
	color: #000;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	/*outline: 1px dotted ButtonText;*/
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	/*font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/
	font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1, div.h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1:not(.h3), h2, div.h1 {
	font-family: Montserrat, sans-serif;
	text-align: center;
}
h1:not(.h3), div.h1 {
	font-size: 49px;
	font-weight: 800;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}
h1::first-line, div.h1::first-line {
	background: url("img/bg-yellow.png") bottom repeat-x;
}
h1.h3::first-line {
	background: none;
}
h2 {
	font-size: 40px;
	font-weight: 900;
	padding-bottom: 25px;
	position: relative;
	margin-bottom: 0.5em;
}
h2::after {
	content: "";
	display: block;
	width: 105px;
	height: 3px;
	background: var(--yellow);
	position: absolute;
	bottom: 0;
	left: calc(50% - 53px);
}

h3, h1.h3 {
	font-size: 30px;
	margin-bottom: 1em;
}

h3 p {
	margin: 0;
}

h4 {
	font-size: 20px;
	font-weight: 700;
}


p {
	margin-bottom: 1.5em;
}

a:hover {
	color: #000;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #F5F5F5;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	/*width: 100%;*/
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	display: flex;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}



.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* Custom styles
--------------------------------------------- */

:root {
	--yellow: #FFED00;
    --max-cf7sg-form-width: 840px;
}


/***** HEADER *****/
.site-header {
	background: #fff;	
}
#logo {
	/*width: 245px;*/
	width: auto;
	height: 85px;
	margin: 6px 0 18px;
	background: url("img/logo-promax.png") bottom no-repeat;
	background-size: contain;
}


/***** BURGER *****/
.animated-icon {
  width: 40px;
  height: 22px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.animated-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  /*border-radius: 9px;*/
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.animated-icon span {
  background: var(--yellow);
}

.animated-icon span:nth-child(1) {
  top: 0px;
}

.animated-icon span:nth-child(2), .animated-icon span:nth-child(3) {
  top: 11px;
}

.animated-icon span:nth-child(4) {
  top: 22px;
}

.animated-icon.open span:nth-child(1) {
  top: 12px;
  width: 0%;
  left: 50%;
}

.animated-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #fff;
}

.animated-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: #fff;
}

.animated-icon.open span:nth-child(4) {
  top: 12px;
  width: 0%;
  left: 50%;
}

.navbar-toggler {
	border: none;
	display: none;
	background: transparent;
	padding: 6px 0px;
	margin: 7px 0;
	position: relative;
	float: right;
	margin-left: auto;
	z-index: 10;
}


/****** MENU *******/

#primary-menu {
	/*text-transform: lowercase;*/
	font-size: 20px;
	justify-content: flex-end;
}

#primary-menu a {
	color: #000;
	text-decoration: none;
	padding: 2px 0;
	border-bottom: 3px solid #fff;
}

#primary-menu>li {
	padding: 13px 13px;
}

#primary-menu>li>a:hover, #primary-menu .current-menu-item a, #primary-menu ul a:hover {
	border-bottom: 3px solid #000;
}

#primary-menu>li:nth-last-child(2) a {
	background-color: var(--yellow);
	border: 0 !important;
	padding: 6px 30px;
	text-decoration: underline;
}
#primary-menu>li:nth-last-child(2) a:not(.m-tel) {
	display: block;
}
#primary-menu>li:nth-last-child(2) a.m-tel {
	display: none;
}
#primary-menu>li:nth-last-child(2) {
	padding:0;
	margin: 0 0 0 10px;
	align-self: center;
}
#primary-menu>li:nth-last-child(1) {
	margin-left: 0px;
	padding-right: 0;
}
#primary-menu>li:nth-last-child(1)>a {
	padding-left: 20px;
	padding-right: 20px;
}
#primary-menu>li:nth-last-child(1)>a::after {
	content: " •";
}
#primary-menu>li:nth-last-child(1)>a:hover {
	border: 0;
}
#primary-menu ul li {
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
}
#primary-menu ul li a {
	border-bottom: 3px solid #fff;
}

#primary-menu ul {
	display: block;
	background: #fff;
}




/******* BANNER ********/

.banner {
	min-height: 214px;
	height: 214px;
	/*height: 22vh;*/
	/*max-height: 80vh;*/
	border-top: 12px solid var(--yellow);
	border-bottom: 7px solid var(--yellow);
	background-image: url("img/bg-contacts.jpg");
	background-position: center 45%;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
.home .banner {
	height: 735px;	
	background-image: url("img/bg-home.jpg");
	background-position: center 70%;
}
.page-template-page-brands .banner {
	background-image: url("img/bg-brand.jpg");	
	background-position: center 80%;
}
.tax-brand .banner, .single-bearing .banner {
	background-image: url("img/bg-bearing.jpg");	
	background-position: center 70%;
}
.page-template-page-industry .banner {
	background-image: url("img/bg-industry.jpg");	
	background-position: center 70%;
}
.tax-industry .banner, .single-industry .banner {
	background-image: url("img/bg-industry.jpg");	
	background-position: center 70%;
}

.banner .container {
	position: relative;
	height: 100%;
}
.slogan {
	display: inline-block;
	position: absolute;
	bottom: 28%;
	left: 0;
}
.home .slogan {
	bottom: 19%;
	left: 22%;
}
.slogan span {
	display: inline-block;
	font-size: 25px;
	text-transform: uppercase;
	background: var(--yellow);
	padding: 5px 90px 5px 15px;
	margin: 0 20px;
	height: 47px;
}

.slogan::before {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-top: 47px solid transparent;
	border-bottom: 0px solid;
	border-right: 20px solid var(--yellow);
}
.slogan::after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-bottom: 47px solid transparent;
	border-top: 0px solid;
	border-left: 20px solid var(--yellow);
}


/***** MOBILE MENU ******/
.m-navbar {
	display: none !important;
}

#m-brands {
	vertical-align: middle;
	margin: 9px auto 0;
}
#m-brands a {
	background: var(--yellow);
	text-transform: none;
	font-size: 14px;
	padding: 5px 63px;
	color: #000;
	height: 32px;
}
.m-tel {
	width: 32px;
	height: 32px;
	background: url("img/pic-tel.png") var(--yellow) center no-repeat;
	border-radius: 100px;
	vertical-align: middle;
	margin: 9px auto 0;
}


#toggle-menu {
	display: none;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	padding: 40px;
	background: #000;
	color: #fff;
	font-size: 16px;
}
#toggle-menu a {
	color: #fff;
}
#m-lang {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 10px;
	text-transform: lowercase;
}
#m-lang li {
	margin: 0;
	padding: 0;
	width: 33.3%;
}
#m-lang a {
	display: block;
	padding: 0 0 2px 0;
	border: 1px solid var(--yellow);
	text-align: center;
	text-decoration: none;
}
#m-lang .current-lang a {
	background: var(--yellow);
	color: #000;
}
#m-menu {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
#m-menu li {
	margin: 0;
	padding: 0;
}
#m-menu a {
	text-decoration: none;
	display: block;
	padding: 7px 10px 3px;
	border-bottom: 1px dotted #fff;
}
#m-menu>li:nth-last-child(2) a, #m-menu>li:nth-last-child(1) a {
	border-bottom: 0;
}
#m-menu>li:nth-last-child(1) a {
	text-align: center;
	color: #000;
	text-decoration: underline;
	background: var(--yellow);
	margin: 10px 0 20px;
	padding: 3px 0 1px;
}
#m-menu .m-tel {
	display: none;
}

#submenu-brands {
	list-style: none;
	padding: 0;
	margin: 0 0 0 50px;
}
#submenu-brands a {
	padding-left: 0;
}

/********/


#breadcrumbs {
	margin: 1em 0;
	color: #7C7C7B;
	font-size: 14px;
}
#breadcrumbs a {
	color: #7C7C7B;
}

.entry-header h1, div.h1 {
	margin-bottom: 0.2em;
}
.entry-header h3 {
	text-align: center;
	/*max-width: 1100px;*/
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}

.brands-home {
	column-gap: 36px;
}
.brand-home {
	background: #fff;
	padding: 25px 36px;
	max-width: calc(50% - 18px);
}
.brand-home .brand-logo {
	height: 160px;
	max-height: 160px;
	text-align: center;
	margin-bottom: 28px;
	display: table;
	width: 100%;
}
.brand-home .brand-logo div {
	display: table-cell;
	vertical-align: middle;
	height: 160px;
}
.brand-home .brand-logo img {
	max-height: 100%;
	width: auto;
}

.brand-home ul, .bearings-list ul, .industry-list  {
	margin: 0;
	padding: 0;
	list-style: none;
}
.brand-home ul a, .bearings-list ul a, .industry-list a {
	color: #000;
	font-size: 20px;
	padding: 10px 0;
	margin: 0 25px;
	display: block;
	text-decoration: none;
	line-height: 1;
}
.brand-home ul li {
	margin: 0 -25px;
}
.brand-home ul li:hover,
.bearings-list ul:not(#sectorTabs) li:hover, .bearings-list ul:not(#sectorTabs) li.current, 
.industry-list li:hover, .industry-list li.current 
{
	background: var(--yellow);
}

.brand-home hr {
	border: none;
	display: block;
	height: 1px;
	/*background: #C6C6C6;*/
	background: #000;
	margin: 15px -36px 30px;
}

.but {
	display: inline-block;
	width: 245px;
	height: 51px;
	padding: 0 15px;
	border-radius: 60px;
	border: 1px solid var(--yellow);
	color: #000;
	text-align: center;
	font-size: 18px;	
	background-color: #fff;
	text-decoration: underline;
	line-height: 47px;
	vertical-align: middle;
  	-webkit-transition: .2s ease-in-out;
  	-moz-transition: .2s ease-in-out;
  	-o-transition: .2s ease-in-out;
  	transition: .2s ease-in-out;
}
.but:hover, a:hover .but {
	background-color: var(--yellow);
}
.but.more {
	width: 51px;
	background-image: url("img/arrow.png");
	background-position: center;
	background-repeat: no-repeat;
	-webkit-transform: rotate(0deg);
  	-moz-transform: rotate(0deg);
  	-o-transform: rotate(0deg);
  	transform: rotate(0deg);
}
.but.more.open {
	-webkit-transform: rotate(180deg);
  	-moz-transform: rotate(180deg);
  	-o-transform: rotate(180deg);
  	transform: rotate(180deg);
}

.show-more span {
	display: inline-block;
	width: 80px;
	font-size: 14px;
	vertical-align: middle;
	color: #000;
	line-height: 1;
	margin-left: 7px;
}
.show-more span.less {
	display: none;
}
.show-more span.less.open {
	display: inline-block;
}
.show-more span.more.open {
	display: none;
}
.show-more a.disable {
	cursor: default;
	opacity: 0.5;
}
.show-more a.disable:hover .but {
	background-color: #fff;
}
.brand-more a.but {
	float: right;
}


.wrap {
	/*height: 750px;*/
	margin: 0 -25px;
	padding: 0 25px;
	overflow-y: hidden;
}


.banner-form {
	width: 100%;
	position: relative;
	height: 553px;
	margin-top: 6em;
}
.tax-brand .banner-form, .single-bearing .banner-form {
	margin-top: 0;
}

.banner-bg {
	background: #101015;
	width: 45%;
}
.banner-img {
	background: url("img/img-sample-home.jpg") center no-repeat;
	background-size: cover;
	width: 55%;
}
.page-template-page-brands .banner-img, 
.tax-brand .banner-img,
.single-bearing .banner-img
{
	background-image: url("img/img-sample-brand.jpg");
}
.page-template-page-industry .banner-img, 
.tax-industry .banner-img,
.single-industry .banner-img 
{
	background-image: url("img/img-sample-industry.jpg");
}

.banner-title {
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 42px;
	line-height: 1.2;
	font-weight: 600;
	width: 40%;
	margin-bottom: 1.5em;
}
.over {
	position: absolute;
	width: 100%;
	height: 100%;
}
.banner-form .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.aboutus {
	margin-top: 6em;
}
.aboutus h2 {
	font-size: 49px;
	font-weight: 800;
}
.aboutus .desc-h2 {
	font-size: 20px;
	text-align: center;
	max-width: 810px;
	margin: 0 auto;
}

.features {
	margin: 5em 0;
	gap: 40px;
}
.features .pic {
	width: 140px;
	height: 140px;
}
.features .pic div {
	width: 140px;
	height: 140px;
	background-color: var(--yellow);
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 300px;
}
.features .txt .desc {
	font-size: 18px;
}

.features h4 {
	min-height: 70px;
	border-bottom: 1px solid #000;
	margin: 20px 0 10px;
}
.features>div {
	gap: 20px;
	min-width: 30%;
}

.site-footer {
	font-size: 20px;
	color: #fff;
	padding: 40px 0;
	background: #000;
	border-top: 10px solid var(--yellow);
}


.form {
	background: #fff;
	padding: 5em 0 1em;
}

.cf7-smart-grid.has-grid .wpcf7-form-control:not(img) {
    border-radius: 0 !important;
	border: 0;
	border-bottom: 1px solid #7C7C7B;
	background: transparent;
	font-size: 20px;
	padding: 20px 0;
	margin-top: 20px;
}

.cf7-smart-grid.has-grid .wpcf7-form-control[type=submit] {
	display: inline-block;
	padding: 0;
	margin: 40px 0;
	float: right;
	width: 245px;
	height: 51px;
	border-radius: 60px !important;
	border: 1px solid var(--yellow);
	color: #000;
	font-size: 20px;	
	background-color: #fff;
	text-decoration: underline;
  	-webkit-transition: .2s ease-in-out;
  	-moz-transition: .2s ease-in-out;
  	-o-transition: .2s ease-in-out;
  	transition: .2s ease-in-out;
}
.cf7-smart-grid.has-grid .wpcf7-form-control[type=submit]:hover {
	background-color: var(--yellow);
}

.wpcf7-textarea {
	overflow: hidden;
}

.cf7sg-response-output {
	text-align: center;
}


/***** Brands Page ******/

.brands {
	margin: 5em 0;
}
.brands:nth-child(even) {
	flex-direction: row-reverse;
}
.brands .bg {
	height: 360px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
}
.brands .gradient {
	background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.25));
	margin-left: 50px;
	text-align: center;
	padding: 20px;
	width: 338px;
	height: 100%;
}
.brands .txt .desc {
	font-size: 20px;
}
.brands .txt .desc p {
	margin-bottom: 0;
}
.brands .txt h3 {
	border-bottom: 1px solid #000;
	padding-bottom: 0.8em;
}
.brands .txt a {
	color: #000;
}
.brands .txt>* {
	margin-right: 30%;
}
.brands:nth-child(even) .txt>* {
	margin-right: 0;
	margin-left: 30%;	
}

.brands-buttons {
	padding-top: 2em;
}
.brands-buttons a.but {
	float: right;
}

.brands .show-desc a {
	display: none;
}


/***** Brand Taxonomy ******/

.brands.term {
	margin-top: 3em;
}
.brands.term .bg {
	height: 415px;
}
.brands.term .txt>* {
	margin-right: 0;
	margin-left: 0.75em;
}
.brands.term .txt {
	position: relative;
}
.brands.term>div:not(.txt) {
	padding-left: -calc(var(--bs-gutter-x) * .5);
}
.brands.term .but:not(.more) {
	width: auto;
	padding: 0 20px;
	position: absolute;
	bottom: 0;
}
.brands.term .txt .desc {
	margin-bottom: 120px;
}
.brands.term:nth-child(even) {
	flex-direction: row;
}

.bearings-list {
	background: #fff;
	padding: 4em 0;
}
.bearings-list ul {
	column-count: 3;
	column-gap: 20px;
}
.bearings-list li {
    break-inside: avoid-column;
}
.bearings-list ul a {
    margin: 0 15px;
}


/******* Single Bearing ********/

.brands.term img.bg {
	height: auto;
}
.bearing .brands .show-desc a {
	display: inline-block;
}
.bearing .brands.term .but {
	position: inherit;
}
.bearing .brands-buttons {
	position: absolute;
	bottom: 0;
}
.bearing .but.more {
	margin-right: 20px;
}

.bearing-header {
	margin-top: 2em;
}
.bearing-header .back {
	width: 70px;
	margin-top: 10px;
}
.back .but {
	-webkit-transform: rotate(90deg);
  	-moz-transform: rotate(90deg);
  	-o-transform: rotate(90deg);
  	transform: rotate(90deg);
}
.bearing-header h1 {
	margin-top: 0;
	margin-bottom: 0;
}

.bearing .show-desc {
	display: none;
}
.bearing #but3 {
	display: block;
}
.bearing .bg {
	margin-bottom: 20px;
}


/****** Industry *******/

h5 {
	font-size: 22px;
	font-weight: 800;
	font-family: Montserrat, sans-serif;
	cursor: pointer;
	position: relative;
	border-bottom: 1px solid #000;
	padding: 25px 15px 5px;
	/*margin-top: 20px;*/
}
h5::after {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	right: 0;
	bottom: 11px;
	background: url("img/pic-closed.svg") center no-repeat;
}
h5.open::after {
	background-image: url("img/pic-open.svg");
}

.industry-list a {
	margin: 0 15px;
}

.content {
	font-size: 20px;
}
.content h3, .content h1.h3 {
	margin-top: 18px;
}
.content .but {
	margin-top: 1.5em;
}

#ind-content-m {
	display: none;
}
#ind-list {
	display: block;
}

#but-list {
	margin: auto 0;
	margin-right: 15px;
	display: block;
}
#but-list .but {
	margin: 0;
}

.gutter {
	--bs-gutter-x: 2.2rem;
	margin-top: 3rem;
}


/******* Contacts *******/

.acf-map {
    width: 100%;
    height: 450px;
	box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
	margin-bottom: 4em;
}

.acf-map img {
   max-width: inherit !important;
}

.p-company {
	text-align: center;
	max-width: 800px;
	margin: 1.5em auto;
	font-size: 20px;
}

.addr {
	font-size: 20px;
}
.addr p {
	margin-left: 30%;
}


/****** 4004 ******/

.error-404 {
	font-size: 20px;
	margin-bottom: 5em;
}

.align-text-center {
	text-align: center;
}
.m-800 {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
}
.go-home {
	font-size: 30px;
	margin-left: 0.5em;
}


/******** Popup form ********/

.form-popup {
	margin: 4em auto 2em;
	font-size: 20px;
	min-width: 75vw;
	max-width: 95%;
	color: #000;
}
.form-popup .row, .form-popup .container  {
	--bs-gutter-x: 0;
}
.form-popup h3 {
	max-width: 800px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.form-popup p {
	margin: 2em 0 1em;
}
.nomargin {
	margin: 0 !important;
}
.form-popup .cf7sg-container .cf7-smart-grid.has-grid .container {
	padding: 0
}

.close-window {
	display: block;
	margin: 3em auto;
}




/********** News ***********/

.archive article h3 {
	font-weight: 700;
}
.archive article a {
	text-decoration: none;
	display: block;
	background: #fff;
	height: 100%;
}
.archive article .post-thumb {
	aspect-ratio: 524/260;
	background-size: cover;
}

.news {
	font-size: 20px;
}

.wp-block-embed__wrapper {
    text-align: center;
}


/************* Submenu *************/
.submenu-header {
	position: absolute;
	width: 100%;
	font-size: 20px;
	z-index: 10;
	margin-top: 12px;
	display: none;
}
.submenu-header .bearings-list {
	padding: 0;
}
.submenu-header .bearings-list ul {
	column-count: 4;
	border-top: #000 1px solid;
	border-bottom: #000 1px solid;
}

.sector-brands a {
	font-size: 30px;
	text-decoration: none;
}
.sector-brands a:hover {
	text-decoration: underline;
}

.btn-yellow-border {
	border: 1px solid var(--yellow);
	padding: 10px 50px;
	text-decoration: none;
	font-size: 24px;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	white-space: nowrap;
}
.btn-yellow-border:hover {
	background: var(--yellow);
}


/**************** tabs *******************/
#sectorTabsContent h6 {
	font-family: Montserrat, sans-serif;
	font-size: 20px;
	font-weight: 500;
}
.sector-image-wrap {
	background-size: cover;
	background-color: #ccc;
    background-position: center;
    filter: grayscale(100%);
}
.sector-item:hover .sector-image-wrap {
    filter: grayscale(0%);
}
.sector-item:hover h6 {
	background-color: var(--yellow);
}

.nav-tabs .nav-link {
	font-family: Montserrat, sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: #000;
	background: none;
	border-radius: 0;
	border: none;
	margin-bottom: 6px;
}
.nav-tabs .nav-link.active {
	color: #000;
	background: none;
	border: none;
	border-bottom: #000 solid 6px;
	margin-bottom: 0;
}
.nav-tabs {
	border-bottom: #000 solid 1px;
}


/************* brand slider *************/
.brand-logo-white {
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.brand-logo-white img {
	max-height: 100%;
	width: auto;
}
.brand-text {
	height: 120px;
}
.slide-brand .but {
	background-color: var(--yellow);
}
.slide-brand:hover .but {
	background-color: #fff;
}


/**************** Sectors top page *******************/
.sectors-grid {

}
  
.sectors-grid > div {

}

.sectors-grid h5 {
	font-size: 20px;
	padding-right: 40px;
}
.sectors-grid ul {
	display: none;
}



/****************** Sectors taxonomy *******************/
h4.card-title {
	font-size: 20px;
	font-weight: 400;
}
h3.brand-name {
	font-size: 38px;
	font-family: Montserrat, sans-serif;
	font-weight: 800;
	border-bottom: #000 solid 1px;
	position: relative;
	padding: 20px 10px;
}
h3.brand-name::after {
	content: "";
	display: block;
	width: 240px;
	height: 6px;
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: #000;
}
.tax-sector .txt {
	font-size: 20px;
}