/*
Theme Name: Child Theme
Author: 
Description: Your description goes here
Version: 1.2
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Open Sans - Regular 400 */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/child-theme/assets/fonts/OpenSans-Regular.woff2') format('woff2'),
         url('/wp-content/themes/child-theme/assets/fonts/OpenSans-Regular.woff') format('woff');
    font-display: fallback;
}

/* Roboto - Bold 700 */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/child-theme/assets/fonts/Roboto-Bold.woff2') format('woff2'),
         url('/wp-content/themes/child-theme/assets/fonts/Roboto-Bold.woff') format('woff');
    font-display: fallback;
}

/*header*/
.ast-builder-html-element br{
	display:none;
}
.ast-builder-html-element,
.ast-builder-html-element p,
.ast-builder-html-element code{
	display:flex;
	height:fit-content !important;
}
h1.site-title,
p.site-description{
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.header-img img{
	width:6em !important;
	box-shadow:0px 0px .5em rgba(0,0,0,.2);
	border-radius:1.6em;
}
@media(max-width:850px){
	.header-img img{
	width:4.5em !important;
					border-radius:1.2em;
	}
}
@media(max-width:600px){
	.header-img img{
	width:4em !important;
			border-radius:.9em;
	}
}

/*footer*/
.site-footer-primary-section-2 aside section,
.site-footer-primary-section-3 aside section{
	margin-bottom:0px !important;
    color: var(--ast-global-color-5);
}
[data-section="sidebar-widgets-footer-widget-1"] #block-7{
	margin-bottom:1em;
}
.site-primary-footer-wrap h2{
	margin-bottom:0.5em !important;
}
[data-section="sidebar-widgets-footer-widget-1"] #block-7 img{
	width:6em;
	height:6em;
	box-shadow:0px 0px .5em rgba(0,0,0,.2);
	border-radius:1.4em;
	cursor:pointer;
}
.credit-container{

	display:flex;
	justify-content:flex-end;
	gap:.3em;
}
.credit-container a{
	text-decoration:underline;
	cursor:pointer;
	font-weight:bolder;
}
.credit-container a:hover{
	color:var(--ast-global-color-1) !important;
}
@media(max-width:600px){
	.credit-container{
	justify-content:center;

}
}
@media (max-width: 768px) {
  .footer-widget-area[data-section="sidebar-widgets-footer-widget-3"] {
    margin-top: 0px;
  }
}
.uagb-block-97eb29cd p{
	color:var(--ast-global-color-5);
}
@media (min-width:1150px){
[aria-label="Weekday Working Hours"]{
	white-space:nowrap;
}
}
/*small blue cards*
 */
.uagb-block-8e53dd38 h2{
	font-size:1.2em;
}
/*commitment section*/
.uagb-container-inner-blocks-wrap .uagb-infobox__content-wrap .uagb-ifb-image-content img{
		--size:2.9em;
	width:var(--size) !important;
	height:var(--size) !important;
}
.uagb-container-inner-blocks-wrap .uagb-infobox__content-wrap .uagb-ifb-icon-wrap svg{
				--size:1.5em;
	width:var(--size) !important;
	height:var(--size) !important;
}
@media(max-width:500px){
	.uagb-container-inner-blocks-wrap .uagb-infobox__content-wrap .uagb-ifb-icon-wrap svg{
			--size:1.35em;
			width:var(--size) !important;
	height:var(--size) !important;
	}
}

@media(max-width:900px){
	[data-section="sidebar-widgets-footer-widget-1"] #block-7 img{
	width:5em !important;
height:5em !important;
}
}
/*h4 font size being replicated here*/
.uagb-block-fe4df034 h3,
.uagb-block-d3be2094 h3,
.uagb-block-ff534bb2 h3,
.slider-cars-sale-container h2{
	font-size: 1.5em !important;
}
/*makig price as 1.5em for h5*/
.slider-cars-sale-container .price-car{
	font-size:1.4em !important;
}
@media (max-width: 544px) {
    .uagb-block-fe4df034 h3,
	.uagb-block-d3be2094 h3,
.uagb-block-ff534bb2 h3,
	.slider-cars-sale-container h2{
	font-size: 1.4em !important;
}
	.slider-cars-sale-container .price-car{
			font-size: 1.3em !important;
	}
}

/*contact container*/
.contact-container{
	background:url("https://www.ahadimotors.com/wp-content/uploads/2024/10/car-repair-engine-tnfd-1.webp") !important;
	background-repeat:no-repeat !important;
	    background-position: 50% 50% !important;
	    background-size: cover !important;
	    background-attachment: fixed !important;
}
@media (max-width:900px){
	.contact-container{
	    background-position: 30% 50% !important;

}
}
/*review container*/
.ti-reviews-container{
	margin-bottom:0px !important;
}
/*about bg*/
.uagb-block-92205b50{
     background: url("https://www.ahadimotors.com/wp-content/uploads/2024/10/services-page-bg.webp") !important;
		background-repeat: no-repeat !important;
    background-position: 20% 59% !important;
    background-size: auto !important;
    background-attachment: scroll !important; 
}
 @media only screen and (max-width: 767px) {
.uagb-block-92205b50 {
        background-position: 32% 59% !important;
    }
}
 @media only screen and (max-width: 500px) {
.uagb-block-92205b50 {
        background-position: 0% 0% !important;
	    background-size: cover !important;
    }
}

/*slider css*/
 .wp-swiper__wrapper{
	margin:0px !important;
}
.swiper-container .wp-swiper__slide-content{
	margin-bottom:3em !important;
}
 .uagb-block-d3be2094 > div > div >  div > div > div > div >  div:nth-child(2) > div > div:nth-child(2){

	flex:1;
	 justify-content:space-between;
	 padding:0em .5em .5em .5em;
} 
.uagb-block-d3be2094 .wp-block-button > a{
	line-height:.85em !important;

}
.swiper-pagination{
	overflow:visible !important;
}
.wp-swiper__slide-content > div{
	overflow:hidden !important;
}
.wp-swiper__slide-content > div {

	border-radius:1em;
	box-shadow:0px 0px .4em rgba(0,0,0,1) !important;
	transform:scale(.955);
}
.slider-cars-sale-container h2{
	margin-bottom:0em;
}
.slider-cars-sale-container a{
	margin-top:1.5em !important;
}
	.slider-cars-sale-container p{
		margin:.8em 0em !important;
	}

@media (max-width:500px){
	.slider-cars-sale-container p{
		margin:.5em 0em !important;
	}
}

/*image*/
.image-container{
	--size:12em;
		height:var(--size)  !important;
	max-height:var(--size)  !important;
	overflow:hidden;
		margin-bottom:.5em !important; 
	
}
	.image-container .kb-gallery-image-contain,
	.image-container .kb-gallery-image-contain img{
	height:var(--size) !important;
}

.swiper-pagination span{
	overflow:visible !important;
	transform:translateY(-.05em) !important;
}
.wp-swiper__slide-content .wp-block-kadence-advancedgallery{
	flex:auto !important;
}
.wp-swiper__slide-content .kb-gallery-ul.kb-gallery-type-slider .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic.kb-gallery-image-ratio-inherit img{
	object-fit:cover;
}


@media (max-width:900px){
	
	.image-container{
		--size:15em;
}

}
@media (max-width:480px){
	
	.image-container{
		--size:13em;
}

}
.wp-swiper__slide-content h4{
	margin-bottom:.5em !important;
}
.wp-swiper__slide {
	height: auto !important;
  display: flex !important;
}
.wp-swiper__slide .wp-swiper__slide-content > .wp-block-uagb-container{
	height:100% !important;
}
/*tik tok*/
.tik-tok{
    position: fixed;
    bottom: 15px;
    right: 10px;
    width: 50px;
    aspect-ratio: 1 / 1;
    z-index: 999 !important;
    display: flex;
	
}
.tik-tok img{
	width:100%;
	height:100%;
	object-fit:cover ;
}
