/*!
Theme Name: ALF Bearing
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: alf-bearing
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

ALF Bearing 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.
 */



/* Custom */

/* Header */

.top-video-banner .header { position: relative; z-index: 9; }
.top-video-banner .header .main-navigation .menu > li > a { color: var(--secondary-color); }
.top-video-banner .header.sticky-nav .main-navigation .menu > li > a { color: var(--secondary-color); }
/*.top-video-banner .header .site-branding img { filter: invert(1); }
.top-video-banner .header.sticky-nav .site-branding img { filter: invert(0); }*/

.container { padding-top: 60px; padding-bottom: 60px; }
.sub-heading { margin-bottom: 20px; }

/* Hero banner */

.hero-banner-video .video-banner-info .heading { margin-bottom: 10px; }
.image-overlay-image.banner-image img { width: 100% }
/*products-page*/
.image-overlay-image { position: relative;}
.image-overlay-info { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100%; }
.image-overlay-image h2 {color: var(--white-color); }
.contentorder .container { padding-top: 0; padding-bottom: 0; }
.image-overlay-image .heading { width: 56%; margin-bottom: 15px; }
.heading-content-row .rtf { max-width: 100%; flex: 0 0 100%; }
a:hover{ text-decoration: none; }
.our-story .heading { margin-bottom: 10px; }
.our-story .description { margin-bottom: 15px; }
.video-banner-info .description p { color: var(--white-color); }
.subcategories-list li { list-style: none; }
.features-benefits ul { padding-left: 20px; }
.features-benefits ul li, .features-benefits ul li strong { margin-bottom: 10px; }
.features-benefits ul li:last-child { margin: 0; }
.features-benefits ul li strong { display: inline-block; }

/* Industries list*/

.industries-list .container { padding-bottom: 0; }
.industries-list .industries-list-inner { display: inline-block; column-count: 3; }
.industries-list .industries-list-item { width: 100%; max-width: 100%; break-inside: avoid; }
.industries-list .industries-list-wrapper { width: auto; height: auto; margin: auto; }
/*.industries + .footer .container { padding-top: 0; }*/
/* Two column layout */
.hero-banner { padding: 0 48px; }
.hero-banner .hero-banner-images { display: flex; flex-wrap: wrap; align-items: center; flex-direction: row-reverse; position: relative; }
.hero-banner .top-img { width: 410px; height: 435px; position: absolute; left: 0; object-fit: cover; }
.hero-banner .bottom-img { width: 700px; height: 795px; object-fit: cover; object-position: center; }
.hero-banner .hero-banner-wrapper { align-items: center; }
.service-overlayImage .image.overly { position: relative; }
.service-overlayImage .image.overly img { width: 100%; height: 240px; object-fit: cover; }
.service-overlayImage .overlayImage-text { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); object-fit: cover; }
.overlayImage-text h2 { color: var(--white-color); }
.overlayImage-text a { padding: 5px; font-size: 2rem; color: var(--white-color); }
/*.two-column-layout .container { padding-bottom: 0; }*/
.bg-grey { height: 100%; }
.one-side-bottom-text { padding: 40px; }
.one-side-content .heading { padding: 0 0 5px; }
/*.hero-banner-description .description { margin-bottom: 65px; }*/
.service-overlayImage { padding: 60px 0; }
.one-side-content.bg-grey { padding: 30px 10px; }
.one-side-content-text { padding-bottom: 60px; }
.one-side-content-text .left-right-text .one-side-content-text { padding: 40px; height: 100%; }

/* about-page */
/* video-wrapper */
.video-wrapper video { width: 100%; height: 100%; }
.video-inner .heading {	margin-bottom: 20px; }
.about-us-bottom { padding-bottom: 60px; }
.image-overlay-info .title { color: var(--white-color); }
.our-story-text { padding: 24px; height: 100%; display: flex; flex-wrap: wrap; flex-direction: column; }
.left-content p { margin-bottom: 20px !important; }
.image-overlay-content .image-overlay-image.banner-image { padding: 0; }
.image-overlay-content .image-overlay-image { padding: 60px 0; }
p.left-count { padding-right: 15px; font-size: var(--font-size-title); font-weight: 600; }
.right-content { margin-bottom:15px; }

/* Home-page */
.image-with-text-row { align-items: center; }
.image-with-text-row .left-content { padding-right: 115px; }
.image-with-text-row .description { margin-bottom: 40px; }
.info-block-wrapper h2 { text-align: center; margin-bottom: 60px; }
.info-block-item { padding: 0 24px; display: flex; flex-wrap: wrap; flex-direction: column; height: 100%; }
.info-block-item .info-link { margin-top: auto; }
.info-link i { color: var(--primary-color); margin-right: 12px; font-size: 25px; }
.info-link a{ color: var(--primary-color); display: flex; flex-wrap: wrap; align-items: center; }
.image-with-text .right-content { padding-left: 85px; }
.image-with-text .left-content { padding-right: 115px; }
.our-story .our-story-inner { display: flex; flex-direction: column; }
.our-story .image { height: 250px; }
.our-story .image img { height:100%; object-fit: cover; }
.our-story .top-content { text-align: center; width: 65%; margin: 0 auto 70px; }
.bottom-content-text { padding: 25px 25px 35px; height: 100%; display: flex; flex-wrap: wrap; flex-direction: column; flex: 1; overflow: hidden; }
.our-story .our-story-inner .info-link { margin-top: auto; }

/*Rolling bearings */

.left-right-text { padding: 0 !important; }
.video.full-width.video { width: 100%; height: 100%; }
.rich-text-wrapper h3 { font-size: 3.2rem !important; margin: 0; }
.product-type-inner .description { margin-bottom: 20px !important; }
.description { margin-bottom: 20px; }
.bearing-info { color: var(--primary-color); display: flex; flex-wrap: wrap; align-items: center; margin-top: auto; }
.bearing-info:hover { color: var(--link-color); }
.bearing-info:hover i{ color: var(--link-color); }
.bg-white { height: 100%; }
.product-category-type img { width: 100%; object-fit: cover; }
.product-type-inner a { display: flex; flex-wrap: wrap; flex-direction: column; height: 100%; }

/*Tapered roller bearings*/

.subcategories-list img.category-thumbnail { display: block; width: 330px; height: 330px; margin: 0 auto; }

.table{ border-top:2px solid; }
.tc-tab-content img { aspect-ratio:2; }
.tdimensions-wrapper { margin-bottom: 60px; }
.abutment-dimensions-wrapper { margin-bottom: 60px; }
.overview-dimension { margin: 60px 0; }
.woocommerce-product-gallery__wrapper img.wp-post-image { width: 450px !important; margin: 0 auto;}
.tab-heading-wrapper { background-color: #f5f5f5; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: none; border-radius: 0; background-color: #f5f5f5; }
.woocommerce-tabs h3 { margin-bottom: 15px; }
.woocommerce-tabs th, .woocommerce-tabs td { padding: 10px; }
.summary ul { padding-top: 25px; padding-left: 20px; margin: 0; }
.woocommerce .woocommerce-result-count { padding-right: 20px; }
.woocommerce .display-units .display-units-value { padding-right: 10px; }
.summary .product_meta .sku_wrapper, .summary .product_meta .posted_in { display: none; }

/*Rich text wrapper*/

.rich-text .rich-text-wrapper.bg-grey { padding: 30px; border-radius: 6px; }
/*.rich-text .rich-text-wrapper .heading { margin-bottom: 55px; }*/
.rich-text .rich-text-wrapper .heading h3 { line-height: 40px; }
.rich-text .rich-text-wrapper .description { margin-bottom: 30px; }

/*Tapered roller bearings*/

.bearing-list-wrapper { display: flex; flex-wrap: wrap; flex-direction: column; padding: 25px; }
.bearing-list-wrapper .info-link, .bearing-list-wrapper .button { margin-top: auto; }
.bearing-list-info { padding-bottom: 45px; }
.product-text-info { padding: 20px; }
.product-category-type ul { padding: 0; row-gap: 20px; }
.tab-heading-wrapper .container { padding: 0; }
.tab-content-wrapper .container { padding-top: 0; }
.product a { color: #8A151B; }
.sub-head th { background-image: linear-gradient(#8A151B, #EB1823); color: var(--white-color); }
.two-column-layout .left-right-text .one-side-content-text { padding: 30px; }


/* industries sub pages */
.industries-pages .hero-banner { padding-bottom: 60px; }
.industries-pages .hero-banner .container { padding-bottom: 0; }

/*contact us page*/

/*.contact-from-wrapper .heading .big { margin-bottom: 50px; }*/
.contact-form-input input { margin-bottom: 15px; width: 100%; padding: 5px 10px; }
.submit input { width: auto; }
.contact-form-input textarea { width: 100%; margin-bottom: 15px; }
.contact-form-input input[type="radio"] { margin: 0; }
.contact-form-input input[type="checkbox"] { margin: 0; width: auto; }
.contact-form-input.radio-btn span label { display: flex; gap: 5px; margin-bottom: 15px; }
.contact-form-input.radio-btn span:first-child { margin: 0; }
.contact-form-input.checkbox, .contact-form-input.recaptcha { margin-bottom: 15px; }
.contact-form-input.checkbox span { margin: 0; } 
/* responsive */

@media only screen and (max-width: 1199px){
	.image-overlay-image { padding: 40px 0; }
	.about-us-bottom { padding-bottom: 40px; }
	.one-side-bottom-text, .our-story-text  { padding:20px 15px; }
	.two-column-layout img { height: 100%; object-fit: cover; }
	.two-column-layout .image { height: 100%; }
	.one-side-content-text .left-right-text .one-side-content-text { padding: 30px; }
	.hero-banner .hero-banner-wrapper { padding-bottom: 40px; }
	.service-overlayImage { padding: 40px 0; }
	.one-side-content-text { padding-bottom: 40px; }
	.industries-list .industries-list-item { padding-bottom: 40px; }
	.industries-pages .hero-banner { padding-bottom: 40px; }
	.industries-pages .hero-banner .hero-banner-wrapper { padding-bottom: 0; }
}

@media only screen and (max-width: 991px){
	.our-story .image img { width: 100%; }
	.one-side-content-text .left-right-text .one-side-content-text { padding: 20px; }
	.hero-banner-description .description { margin-bottom: 40px; }
	.industries-list .industries-list-inner { column-count: 2; }
	.rich-text .rich-text-wrapper.bg-grey { padding: 20px; }
	.two-column-layout .left-right-text .one-side-content-text { padding: 20px; }
	.contact-from-wrapper .heading .big { margin-bottom: 40px; }
}


@media only screen and (max-width: 767px){
	.hero-banner .top-img { position: initial; margin: 0 auto 30px; width: 100%; }
 	.image-overlay-info { position: initial; transform: none; }
 	.image-overlay-image { padding: 0; }
 	.image-with-text .left-content .button { padding-bottom: 30px; }
 	img { width: 100%; }
 	.footer-logo-wrapper img { width: auto; }
 	.content-box .content-box-info { padding: 20px; }
 	.service-overlayImage .overlayImage-text { position: inherit; transform: none; }
 	.overlayImage-text h2 { color: var(--font-color); }
 	.overlayImage-text a { color: var(--font-color); }
 	.overlayImage-text .container { padding-top: 0; padding-bottom: 0; }
 	.overlayImage-text .heading { padding-top: 60px; }
 	.one-side-content-text { padding-bottom: 0; }
 	.one-side-content-text { row-gap: 40px; }
 	.one-side-content-text .machine-image { padding-bottom: 40px; }
 	.industries .image-overlay-info .container { padding-bottom: 0; }
 	.contact-from-wrapper .heading .big { margin-bottom: 30px; }
} 
@media only screen and (max-width: 575px){
	.video-wrapper .video { padding-bottom: 60px; }
	.about-us-bottom { padding-bottom: 20px; }
	.hero-banner .hero-banner-wrapper { padding-bottom: 30px ; }
	.service-overlayImage { padding: 30px 0; }
	.overlayImage-text .heading { padding-top: 50px; }
	.one-side-content-text .machine-image { padding-bottom: 30px; }
	.industries-list .industries-list-inner { column-count: 1; }
	.industries-list .industries-list-item { padding-bottom: 30px; }
	.industries-pages .hero-banner { padding-bottom: 30px; }


}
@media only screen and (max-width: 425px){
	.image-with-text .left-content .button { padding-bottom: 30px; }
	p.left-count { padding-right: 10px; } 
	.overlayImage-text .heading { padding-top: 40px; }

}