/*
Theme Name: Automation Inc.
Theme URI: https://www.redspotdesign.com/
Author: Redspot Design
Author URI: https://wordpress.org/
Description: A theme for WordPress 5.
Requires at least: WordPress 4.9.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp5default
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 with others.

Automation Inc. is based on Underscores https://underscores.me/, (C) 2012-2018 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/
*/

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}

:root {
	--black: #000000;
	--white: #FFFFFF;
	--purple: #3D378B;
	--text: #2E3D4C;
	--gray: #D8E0E7;
}

*,
::before,
::after {
	box-sizing: inherit;
}

body {
	margin: 0 auto;
	width: 100%;
	min-width: 320px;
}

.grecaptcha-badge {
	bottom: 70px !important;
}

/* Images */
img {
	display: block;
	height: auto;
	max-width: 100%;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
}

/* Typography */
p:first-of-type {
	margin-top: 0;
}

p:last-of-type {
	margin-bottom: 0;
	margin-block-end: 0 !important;
}

ul, ol {
	padding-left: 20px;
}

ul li::marker, 
ol li::marker {
	color: var(--blue);
}

/* Colors */

/* Buttons */
.elementor-button-wrapper > .elementor-button {
	min-width: 160px !important;
	max-width: 100% !important;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
}

.product-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
}

.product-buttons .product-button {
	background-color: var(--purple);
	color: var(--white) !important;
	padding: 20px;
	font-family: "Roboto", Sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	border: 1px solid var(--purple);
	border-radius: 5px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.product-buttons .product-button:hover {
	background-color: var(--gray);
	color: var(--purple) !important;
}

.btn-small .elementor-button-wrapper > .elementor-button {
	min-width: unset !important;
}

@media screen and (max-width: 1440px) {
	.elementor-button-wrapper > .elementor-button {
		min-width: 140px !important;
	}
}

@media screen and (max-width: 1024px) {
	.elementor-button-wrapper > .elementor-button { 
		min-width: 120px !important; 
	}
}

@media screen and (max-width: 767px) {
	.elementor-button-wrapper > .elementor-button {
		min-width: 100px !important;
	}

	.product-buttons {
		flex-direction: column;
	}

	.product-buttons .product-button {
		width: 100%;
		display: block;
	}
}

/* Icons */
.elementor-icon-wrapper {
	line-height: 1;
}

/* Header */
/* #site-header {
	
} */

.header-nav ul li a {
	border-inline-start: 0 !important;
}

/* Sticky Header */
/* #site-header.sticky {
	background-color: var(--purple);
} */

#site-header.sticky .header-logo img {
	max-width: 150px;
}

/* .elementor-active #site-header.sticky {
	position: relative;
	background: var(--black);
} */


/* Custom Styles */

/* Data Tables - Essential Addons */
.data-table table {
	table-layout: fixed;
	border-collapse: collapse;
}

.data-table table th.empty {
	background-color: unset !important;
	border: 0 !important;
}

.data-table table th a {
	color: var(--white) !important;
}

@media screen and (max-width: 768px) {
	.data-table .td-content {
		justify-content: flex-start;
	}
}

/* Products */
.alternate-bg .products:nth-of-type(odd) .product{
	background-color: var(--white);
}

.alternate-bg .products:nth-of-type(even) .product {
	background-color: var(--gray);
}

/* Products <ul> styling. Used in Product loop item templates */

/* Remove default dots and reset padding for Product Descriptions Only */
.product-description ul {
	list-style: none !important;
	padding-left: 0;
}

/* Add custom icon before each list item */
.product-description ul li {
	position: relative;
	padding-left: 30px;
	line-height: 1.6;
}

.product-description ul li::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "\f058"; /* Font Awesome unicode for a checkmark */
	font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
	font-weight: 900;
	display: inline-block;
	width: 1.5em; /* Spacing between icon and text */
	color: var(--purple); /* Change to your preferred icon color */
}

/* Custom Product Popup Embed Styling */
#elementor-popup-modal-1296 .datasheet-form-frame {
    display: block;
    width: 100%;
    height: min(600px, 65vh);
    border: 0;
}

@media (max-width: 767px) {
    #elementor-popup-modal-1296 #datasheet-form-host {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        max-height: 60vh;
        max-height: 60dvh;
        overflow: auto;
    }

    #elementor-popup-modal-1296 .datasheet-form-frame {
        width: 690px;
        max-width: none;
        height: 600px;
    }
}

.media-left, .media-left iframe {
  height: 360px !important;
  display: block !important;
}

@media screen and (max-width: 768px) {
	.media-left iframe {
	  width: 100%;
	  height: 100% !important;
	  object-fit: contain;
	}
}