/*
 Theme Name:   Katti Case
 Theme URI:    
 Description:  Katti Case theme
 Author:       Otterbox
 Author URI:   https://www.otterbox.com/
 Template:     generatepress
 Version:      0.1
*/

/* Prevent orphan text */
p,
a,
li,
h1,
h2,
h3,
h4,
h5,
h6,
.gb-button-text {
	text-wrap: pretty;
}

.max-w-100,
.max-w-100>div {
	max-width: 100%;
}

/* Text */

/* responsive font sizes */
.home .grid-container p {
	font-size: clamp(20px, 1.68vw, 30px) !important;
}

a {
	text-decoration: underline;
	font-weight: bold;
}

/* Header */

@media (min-width: 1025px) {
	.inside-header.grid-container {
		max-width: none;
		padding-left: 0;
	}
}

#mobile-header {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Footer */
.kc-footer a {
	color: white;
	text-decoration: none;
}

.kc-footer a:hover {
	text-decoration: underline;
}

/* Logos */
.site-header .header-image,
picture {
	display: block;
}

.mobile-header-logo>a {
	padding-left: 20px;
}

a.generate-back-to-top {
	padding-left: 0;
}

/* Gravity Forms */

/* changing vertical gap between lines */

.gform-theme--foundation.kc-contact_wrapper .gform_fields {
	row-gap: 20px;
}

.gform-theme--foundation.kc-warranty_wrapper .gform_fields {
	row-gap: 30px;
}

/* changing "required text" size and location */
.gform-theme--foundation.kc-contact_wrapper,
.gform-theme--foundation.kc-warranty_wrapper {
	display: flex;
	flex-direction: column;
}

.gform-theme--foundation.kc-contact_wrapper form,
.gform-theme--foundation.kc-warranty_wrapper form {
	order: 1;
}

.gform-theme--foundation.kc-contact_wrapper .gform_heading,
.gform-theme--foundation.kc-warranty_wrapper .gform_heading {
	order: 2;
}

.gform-theme--foundation.kc-contact_wrapper .gform_heading .gform_required_legend,
.gform-theme--foundation.kc-warranty_wrapper .gform_heading .gform_required_legend {
	font-size: 13px;
	margin-top: 20px;
}

.gform-theme--foundation.kc-contact_wrapper .gform_heading .gform_required_legend {
	color: white;
}

.gform-theme--foundation .kc-contact .gform-footer .gform_button,
.gform-theme--foundation .kc-warranty .gform-footer .gform_button {
	font-weight: bold !important;
}

/* button hover */
.gform-theme--foundation .kc-contact .gform-footer .gform_button:hover,
.gform-theme--foundation .kc-warranty .gform-footer .gform_button:hover {
	background-color: #BAD532 !important;
}

.gform-theme--foundation .kc-contact .ginput_container_textarea .ginput_counter {
	display: none;
}

.home .gfield_required_asterisk {
	color: white !important;
}

.gform-theme--foundation.kc-contact_wrapper .gform_heading .gform_required_legend,
.gform-theme--foundation.kc-warranty_wrapper .gform_heading .gform_required_legend {
	font-size: 13px !important;
}

@media (min-width: 640px) {

	/* field layout */
	.gform-theme--foundation .contact-country .ginput_address_country {
		inline-size: 100%;
	}

	.gform-theme--foundation .contact-address .ginput_address_line_1,
	.gform-theme--foundation .contact-address .ginput_address_line_2 {
		inline-size: 50%;
	}

	.gform-theme--foundation .contact-address .ginput_address_city,
	.gform-theme--foundation .contact-address .ginput_address_state,
	.gform-theme--foundation .contact-address .ginput_address_zip {
		inline-size: 33.33%;
	}
}

@media (max-width: 1500px) {
	.home-hero-grid {
		grid-template-columns: 1fr !important;
	}

	.home-hero-grid>div:first-of-type {
		padding-left: 50px;
		padding-bottom: 40px;
	}

	.home-hero-grid>div:last-of-type {
		margin-left: auto;
		margin-right: auto;
		padding: 0 50px 30px;
	}
}

/* @media (min-width: 1028px) and (max-width: 1275px) {
	.home-hero-grid>div:first-child {
		width: 65%;
	}
} */