/* 
Theme Name: Air Parts
Theme URI:
Description:
Author: Intrada Technologies
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.locations {
	background-color: #0094cc;
	padding: 10px 20px 20px;
}

.elementor-widget-sidebar li { 
	padding: 0;
	list-style-type: none;
}

body {
	font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 24px;
    background-color: #ffffff;
    color: #1b242a;
	font-weight: 325;
}

body a {
	text-decoration: none !important;
}

body p a {
	color: #0094cc;
}

h1 a:hover, h2 a:hover {
	color: #0094cc !important;
}

h1, h2 {
	text-transform: uppercase;
	font: 36px/1em 'Open Sans', sans-serif;
	font-weight: bold !important;
}

.archive-header h1, .archive-header h2 {
	color: #68717a;
}

.archive-header h2 {
	font: 22px/1em 'Open Sans', sans-serif;
	font-weight: bold;
}

.widget h2, .faqs h2 {
	font-size: 14px;
	font-weight: 600;
	color: #1b242a;
	text-transform: capitalize;
}

.widget h2 {
	padding-top: 9px;
}

.widget hr {
	color: #DEDEDE;
}

.nb li {
	list-style-type: none;
}

.nb a {
	color: #0094cc;
}

.nb a:hover {
	color: #0073aa;
}

.parts-archive {
	max-width: 1156px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.part-item {
    border: none;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.part-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.part-thumbnail img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.part-title {
    font-size: 13px;
    margin: 0;
	color: #0094cc;
	text-transform: none;
}

/* Responsive for tablets and larger */
@media (min-width: 600px) {
    .parts-archive {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive for desktop */
@media (min-width: 900px) {
    .parts-archive {
        grid-template-columns: repeat(3, 1fr);
    }
}

.parts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-item {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 15px;
}

.category-image {
    float: left;
    margin-right: 15px;
    max-width: 90px !important;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.category-image-list {
	float: left;
    margin-right: 15px;
    max-width: 150px !important;
    height: auto;
	justify-content: center;
}

.category-content {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.category-content-list {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.read-more {
	text-align: right;
}

.read-more-link {
    align-self: flex-end;
    margin-top: 10px;
    font-weight: bold;
    text-decoration: none;
    color: #0073aa;
	align-items: right;
	justify-content: right;
	text-align: right;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-list-single-column {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-text h3 {
	text-align: left !important;
}

.read-more-link:hover {
    text-decoration: underline;
}

.category-item h3 {
    font: 22px / 1em 'Open Sans', sans-serif;
    color: #68717a;
    text-transform: uppercase;
    font-weight: bold;
	text-align: center;
}

.lightbox {
 	display: none;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1em;
 	background: rgba(0, 0, 0, 0.8);
}

.lightbox:target {
  display: block;
}

.lightbox span {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.fullheight a {
	height: 100%;
}

.parts {
	scroll-margin-top: 150px;
}

[type=submit] {
	border: 1px solid #0094cc;
	color: #0094cc;
}

[type=submit]:hover, [type=submit]:focus {
	background-color: #0094cc;
}

.textpage h2 {
	font-size: 14px;
	font-weight: 600;
}
