/**
Theme Name: Pneumatic Automation
Author: Workhorse Marketing
Author URI: https://www.workhorsemkt.com/
Description: Astra child theme for Pneumatic Automation by Workhorse Marketing
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: pneumatic-automation
Template: astra
*/



/* custom style for the PAI customizations */
header.site-header{
	position: sticky;
	top: 0;
}
/* --- arrow button -- */
.wp-block-button .wp-block-button__link,
.pai-contact .gform_wrapper .gform_footer button.gform_button[type="submit"]{
	position: relative;
	padding-right: 50px !important;
	transition: .4s;
}
.wp-block-button .wp-block-button__link:after,
.pai-contact .gform_wrapper .gform_footer button.gform_button[type="submit"]:after{
	content: '';
    position: absolute;
    right: 29px;
    top: 22px;
	display: block;
    height: 11px;
    width: 11px;
    transform: rotate(45deg);
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
	transition: .4s;
	
}
.wp-block-button .wp-block-button__link:hover:after,
.pai-contact .gform_wrapper .gform_footer button.gform_button[type="submit"]:hover:after{
	right: 18px;
}
.one-column-layout .wp-block-cover__inner-container h1, 
.one-column-layout .wp-block-cover__inner-container p{
	max-width: 725px;
	margin-left: 0 !important;
	font-weight: 700;
}
.products-box .wp-block-uagb-info-box{
	padding: 10px;
	height: 100%;
	max-width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
	border: 1px solid #25274D;
	transition: .4s;
}
.products-box .wp-block-uagb-info-box .uagb-ifb-content {
	padding: 17px;
	height: 100%;
}
.pai-resources .wp-block-columns .wp-block-column:hover,
.products-box .wp-block-uagb-info-box:hover{
	box-shadow: 1px 10px 15px 4px #dbdbdb;
}
.products-box{
	margin-bottom: 25px !important;
}
.products-box .uagb-ifb-image-content,
.products-box .uagb-ifb-title-wrap{
	text-align: center;
}
.products-box .uagb-ifb-title-wrap .uagb-ifb-title{
/* 	font-size: 25px !important; */
}
.pai-logo-carousel .spectra-image-gallery{
	overflow: hidden;
}
/* --- resource --- */
.pai-resources .wp-block-columns .wp-block-column{
	border: 1px solid #25274D;
	transition: .4s;
}
.pai-resources .wp-block-columns{
	column-gap: 40px;
}
.pai-resources .wp-block-columns .wp-block-column .uagb-ifb-content{
	text-align: center;
}
.pai-resources .wp-block-column .uagb-ifb-title-wrap{
	padding: 40px 20px 0px 20px;
}
.pai-resources .wp-block-column .uagb-ifb-desc{
	padding: 0px 20px 10px;
}
.pai-resources .wp-block-column img{
	width: 100%;
    object-fit: cover;
    aspect-ratio: 3/2.1;
}
.pai-resources .wp-block-column .ast-oembed-container{
	padding-top: 70%;
}
.pai-resources .wp-block-column .wp-block-uagb-info-box{
	margin-top: 0;
}
.pai-resources .uagb-ifb-title-wrap .uagb-ifb-title{
	margin-bottom: 10px;
}
/* --- testimonial --- */
.pai-testimonial .slick-slide .uagb-tm__text-wrap {
	max-width: 730px;
    margin: auto;
}
.pai-testimonial ul.slick-dots li button::before{
	border: 1px solid #fff;
    border-radius: 50%;
    color: transparent !important;
	width: 13px;
    height: 13px;
	line-height: 13px;
	opacity: 1 !important
}
.pai-testimonial ul.slick-dots li.slick-active button::before{
	color: #fff !important;
	background-color: #fff;
    
}
/* -- testimonial --- */
.pai-contact .uagb-container-inner-blocks-wrap{
	max-width: 782px !important;
}
.pai-contact .gform_body input{
	height: auto;
    padding: 19px 18px;
    line-height: 1;
    border-radius: 5px;
}
.pai-contact .gform_body textarea{
	border-radius: 5px;
}
.pai-contact .gform_wrapper input:not([type=submit]):focus, 
.pai-contact .gform_wrapper select:focus, .gform_wrapper textarea:focus{
	border: 1px solid #2b857c;
}
.pai-contact .gform_wrapper .gform_footer{
	justify-content: center;
    padding-top: 20px;
	margin-bottom: 25px;
}
.pai-contact .gform_wrapper .gform_footer button[type="submit"]{
	background-color: #00857C !important;
    border-radius: 8px !important;
    height: auto;
    padding: 13px 30px !important;
    font-size: 20px !IMPORTANT;
    font-weight: 700 !IMPORTANT;
    font-family: 'Roboto', sans-serif !important;
	line-height: 1.3 !important;
}
.pai-contact .gform_wrapper .gform_footer button[type="submit"]:hover{
	background-color: #25274d !important;
}
.pai-contact .gform_wrapper input::-webkit-input-placeholder,
.pai-contact .gform_wrapper textarea::-webkit-input-placeholder{
	color: #5D5D5D;
}
.pai-contact p a{
	color: #25274D;
	font-weight: 700;
}
.pai-contact .gform-theme--foundation .gfield textarea.large{
	min-block-size: 188px;
}
.pai-contact-details .ql-block{
	font-size: 1.4rem;
	font-family: 'Roboto', sans-serif;
}
.pai-contact-details .ql-block:nth-child(2){
	margin-top: 10px;
    margin-bottom: 50px;
}
.pai-contact .gform_confirmation_message{
	font-size: 1.25rem;
    text-align: center;
    margin-top: -35px;
    font-weight: 600;
}
.show-more-collapse p:not(.always-show, .uagb-desc-text, .show-more-click){
	display: none;
}
.show-more-collapse p.collapsed{
	display: block;
	margin-bottom: 20px;
}
.show-more-click{
	text-align: center;
}
.show-more-click a{
	font-weight: 700;
    text-decoration: none !important;
    color: #00857C;
    font-family: 'Roboto', sans-serif;
	position: relative;
}
.show-more-click a:after{
	content: '';
    position: absolute;
    right: -22px;
    top: 5px;
    height: 10px;
    width: 10px;
    transform: rotate(135deg);
    border-top: 2px solid #00857C;
    border-right: 2px solid #00857C;
}
.show-more-click.collapsed a:after{
	top: 10px;
	transform: rotate(-45deg);
}
.resource-listing-article {
	padding: 0 !important;
	margin-bottom: 30px !important;
}
.resource-listing-article .ast-grid-common-col{
	display: flex;
	flex-wrap: wrap;
	transition: .4s;
}
.resource-listing-article{
	border: none !important;
}
.resource-listing-article .ast-grid-common-col:hover{
	box-shadow: 1px 11px 14px -1px #dbdbdb;
}
.resource-listing-article .ast-grid-common-col.clickable-card{
	cursor: pointer;
}
.resource-listing-article .ast-grid-common-col .blog-entry-wrap{
	padding: 1.5rem 2rem;
}
.resource-listing-article .ast-grid-common-col .blog-thumb-wrap .post-thumb{
	margin-bottom: 0;
	width: 100%;
}
.resource-listing-article .blog-entry-wrap .entry-meta{
	display: flex;
    align-items: center;
	font-weight: 700;
}
.resource-listing-article .blog-entry-wrap .entry-meta *,
.ast-pagination .nav-links a{
	color: #25274d;
}
.resource-listing-article .blog-entry-wrap .entry-meta .author-avatar{
	margin-right: 20px;
}
.resource-listing-article .blog-entry-wrap .entry-meta .posted-on{
	display: block;
}
.resource-listing-article .ast-grid-common-col .blog-thumb-wrap img{
	aspect-ratio: 3.5/2;
    object-fit: cover;
	width: 100%;
}
.single-post article.ast-article-single {
	background-color: transparent !important;
    padding: 0 10px;
}
.single-post .ast-article-single .single-layout-1 h1{
	text-align: center;
}
.single-post .ast-article-single .single-layout-1 a{
	color: #00857C;
}
.single-post .ast-article-single .single-layout-1 #custom-bg img{
	width: 100%;
}
.single-post .ast-article-single .single-post-meta{
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.single-post .ast-article-single .single-post-meta .post-sharer-wrap{
	width: 100%;
    text-align: center;
}
.single-post .ast-article-single .single-layout-1 .entry-content{
	max-width: 750px;
	margin: auto;
}
.single-post .post-navigation .nav-links{
	display: none !important;
}
.single-post .ast-article-single .single-post-meta .posted-on{
	display: block;
}
.single-post .ast-article-single .post-sharer-wrap{
	display: flex;
    justify-content: center;
    margin: 20px 0px;
}
.single-post .ast-article-single .single-post-meta .post-sharer-wrap img{
	width: 30px;
    height: 30px;
    display: block;
    margin-right: 15px;
}

/* -- manufecturer page --- */
.pai-logo-gallery{
	padding-left: 15px !important;
	padding-right: 15px !important;
}
.pai-logo-gallery .spectra-image-gallery__media--grid{
	aspect-ratio: auto;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pai-logo-gallery  .spectra-image-gallery__media-thumbnail--grid{
	object-fit: contain;
}
/* --- footer  --- */
footer.site-footer a,
footer.site-footer p,
footer.site-footer h2{
	color: #fff !important;
	font-family: 'Roboto', sans-serif;
}

footer.site-footer h2{
	font-size: 18px !important;
}
footer.site-footer a{
	text-decoration: underline;
	font-weight: 400;
}
footer.site-footer a[href^="tel"] {
	white-space: nowrap;
}
footer.site-footer .site-footer-section-1 .widget_text p {
	font-weight: 700;
	font-size: 18px !important;
}
footer.site-footer .site-footer-section-3 .wp-block-uagb-container{
	padding-top: 0;
	padding-left: 0;
}
footer.site-footer .site-footer-section-1 .footer-widget-area{
	display: flex;
    width: 100%;
}
footer.site-footer .site-footer-section-1 .footer-widget-area .widget_block,
footer.site-footer .site-footer-section-1 .widget_text p{
	margin-bottom:0;
}
footer.site-footer .site-footer-section-1 .footer-widget-area .widget_text{
	padding-left: 20px;
    margin-left: 20px;
    border-left: 1px solid #fff;
}

/* --- inner banner --- */
.pai-inner-banner p{
	font-weight: 700;
}

.pai-icons-grid .wp-block-columns.is-layout-flex{
	justify-content: center;
}
.pai-icons-grid .wp-block-uagb-info-box .uagb-ifb-desc{
	max-width: 318px;
	margin-left: auto;
	margin-right: auto;
}
.product-slider .swiper-wrapper{
	align-items: stretch !important;
	padding-bottom: 20px;
}
.product-slider .swiper-wrapper .swiper-slide{
	height: auto;
}
.product-slider .swiper-wrapper .swiper-slide .swiper-content{
	padding-top: 0;
	padding-right: 20px;
	height: 100%;
}
.ast-breadcrumbs .trail-items .trail-begin{
	display: none;
}
.ast-breadcrumbs .trail-items li a{
	color: #5D5D5D;
    font-weight: 700;
}
.ast-breadcrumbs .trail-items li span{
	color: #5D5D5D;
}
.ast-breadcrumbs .trail-items li{
	position: relative;
	padding-right: 20px;
}
.ast-breadcrumbs .trail-items li::after{
	content: '';
    height: calc(100% - 13px);
    position: absolute;
    right: 10px;
    width: 1px;
    background: #5D5D5D;
    padding: 0;
    top: 50%;
    transform: translate(0%, -50%);
}
.pai-product-container p{
	max-width: 715px;
    font-weight: 700;
    font-size: 20px;
	color: #5D5D5D;
}
.ast-breadcrumbs-wrapper{
	padding-top: 26px;
	padding-bottom: 54px;
}
@media screen and (min-width:922px) and (max-width:1100px){
	header.site-header .ast-grid-right-section .main-navigation .menu-item > .menu-link{
	   padding-left: 14px;
       padding-right: 14px;
	}
}
@media screen and (min-width:921px){
	header.site-header .ast-grid-right-section .main-navigation li.current-menu-item a,
	header.site-header .ast-grid-right-section .main-navigation li.current-page-ancestor a{
		position: relative;
	}
	header.site-header .ast-grid-right-section .main-navigation li.current-menu-item a:after,
	header.site-header .ast-grid-right-section .main-navigation li.current-page-ancestor a:after{
		content: '';
		position: absolute;
		left: 50%;
		width: calc(100% - 60px);
		bottom: -2px;
		height: 2px;
		background-color: #00857C;
		transform: translate(-50%, 0);
	}
	header.site-header .ast-grid-right-section .main-navigation li.current-page-ancestor a{
		color: #00857C;
	}
	header.site-header .ast-grid-right-section .main-navigation li:last-child a{
		padding-right: 0 !important;
	}
	header.site-header .ast-grid-right-section .main-navigation li:last-child a:after{
		left: 30px;
		width: calc(100% - 30px);
		transform: translate(0);
	}
}
@media screen and (min-width:768px){
	.resource-listing-article .ast-grid-common-col .blog-thumb-wrap{
	  max-width: 40%;
		width: 40%;
     }
	.resource-listing-article .ast-grid-common-col .blog-entry-wrap{
		max-width: 60%;
		width: 60%;
	}
	.single-post .ast-article-single .single-layout-1 h1{
		font-size: 3rem;
	}	
}

@media screen and (min-width:545px) and (max-width: 1024px){
	footer.site-footer .ast-builder-grid-row{
		grid-template-columns: repeat(2,1fr ) !important;
	}
	footer.site-footer .site-footer-section .footer-social-inner-wrap{
		text-align: right !important;
	}
}

@media screen and (max-width:544px){
	footer.site-footer .site-footer-section .footer-widget-area .uagb-container-inner-blocks-wrap p{
		margin-bottom: 0;
	}
	footer.site-footer .site-primary-footer-wrap:nth-child(1) .site-footer-section.site-footer-section-1{
		margin-bottom: 40px !important;
	}
	.pai-contact .gform_wrapper .gform_body .gform_fields{
		grid-row-gap: 15px;
	}
	.pai-logo-gallery .spectra-image-gallery__media--grid{
		min-height: 110px;
	}
	header .site-logo-img .custom-logo-link img{
		max-width: 110px;
	}
	.resource-listing-article .ast-grid-common-col .blog-entry-wrap .entry-title{
		font-size: 25px;
	}
}






