/*
Theme Name: TMS Child Theme
Theme URI: 
Description: A child theme for TMS Base Theme, allowing custom styling and functionality without modifying the parent theme.
Template: tms-wp-theme
Author: TMS WP Team
Author URI: 
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: tms-child-theme
Tags: child-theme
*/

/*
 * Add your custom styles below this line
 * These styles will override parent theme styles
 */

/* Example: Custom primary color override */
/*
:root {
  --wp--preset--color--tms-primary: #your-color-here;
}
*/

/* Example: Custom header styles */
/*
.site-header {
  background-color: #your-color-here;
}
*/

/* Add your custom CSS here */

.si-btn{
	.tms-button{
	color: #E50002;
			background: #fff;
			font-family: 'Open Sans';
			&:hover,&:focus{
				color:#fff;
				background: #E50002;
			}
		}
}

@media (min-width: 1025px) {
.si-btn{
	.tms-button{
		font-size: 1.31rem;
	}
}
}

.portfolio-btn{
	.tms-button{
		border-color: var(--wp--preset--color--custom-red);
	}
}

.home-portfolio{
	.content-buckets-large__items{
		gap:0;
	}
	.content-buckets-large-item{
		border-radius: 0;
		&:hover{
				justify-content: center;
			&:before{
				background: #E50002;
				opacity: 1;
			}
		}

		@media (min-width: 1201px) {
			&:before{
				border-radius: 0;
			}

			& img{
				border-radius: 0;
			}
		}

		.content-buckets-large-item__button{
			.tms-button{
					color:#212120;
					background: #fff;
			&:hover,&:focus{
					color:#212120;
					background: #fff;
					border-color: var(--wp--preset--color--tms-outline-white-button-text-color);
				}
			}
		}

		&:before{
			background: linear-gradient(0deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.54) 100%);
		}
	}

	@media (min-width: 1201px) {
		.content-buckets-large-item{
			width: 50% !important;
			min-height: 34rem;
		}
	}

	.content-buckets-large .swiper-slide img{
			border-radius: 0;
	}

	@media (max-width: 768px) {
		&.content-buckets-large .navigation-wrapper {
			display: none;
		}
	}
}

.over-years{
	.cta-banner-background-image__button-group{
		.has-custom-red-color{
		.tms-button--medium{
			color: #E50002;
			background: #fff;
			&:hover,&:focus{
				color:#fff;
				background: #E50002;
			}
		}
		}

		.over-years-abt-btn{
			.tms-button{
			&:hover,&:focus{
				color: #E50002;
			    background: #fff;
			    border-color: var(--wp--preset--color--tms-outline-white-button-text-color);
			}
		}
		}
	}
}

.home-parts{
	.carousel-card{
		text-align: center;
		&:hover{
			&:before{
				opacity: 0.65;
                background: var(--Neutral-Dark-2, #212120);
		    }
		}

		&:before{
			    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 9.03%, rgba(0, 0, 0, 0.80) 120.05%);
		}
	}

	.carousel-card__title{
		width: 100%;
		line-height: 1.75rem;
		font-family: 'Open Sans';
	}

	.carousel-card__button{
		&:hover,&:focus{
			border-color: var(--wp--preset--color--tms-outline-white-button-text-color);
		}
	}

@media (max-width: 1200px) {
	.content-carousel-of-images-with-subtitle__paragraph{
		text-align: center;
		display: block;
	}
}

@media (max-width: 1200px) {
.content-carousel-of-images-with-subtitle__content-wrapper{
    flex-direction: column;
}
}

@media (max-width: 768px) {
	.content-carousel-of-images-with-subtitle__content-wrapper{
		        align-items: center;
	}
}
}

.home-machines{
	.content-mason-grid-w-subtitle-item{
		&:before{
			background: linear-gradient(0deg, rgba(0, 0, 0, 0.68) 13.01%, rgba(0, 0, 0, 0.00) 39.5%);
		}

		&:hover,&:focus{
			&:before{
			opacity: 0.85;
            background: var(--Accent-2, #C60002);
        }
		}
	}
}

.cta-banner-background-image--align-center .cta-banner-background-image__outer-wrapper p{
	display: block;
}


/*.tms-button--outline-white{
    background-color: #fff;
    border-color: var(--wp--preset--color--tms-outline-white-button-text-color);
    color: #212120;

    &:hover{
    	border-color: var(--wp--preset--color--tms-outline-white-button-text-color);
    }
}*/

@media (min-width: 1025px) {
    header .tms-nav.tms-hide-mob nav.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
        padding: 0;
        color: #fff;
    }
}

header{
	background: #fff;
}

@media (max-width: 500px) {
    .slider-hero__static-content {
        width: 74%;
    }
}

.work-with-us{
	.tms-button{
			&:hover,&:focus{
				color: #E50002;
			    background: #fff;
			    border-color: var(--wp--preset--color--custom-red);
			}
		}
}

.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{
	padding-top: 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: linear-gradient(0deg, #000000, #0000);
}

.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
    margin-bottom: inherit;
    margin-top: 0;
}