/*
Theme Name: CrowToes Apps (Production)
Author: Michael Croteau
Author URI: https://crowtoes.com
Version: 3.2.5
License: GNU General Public License v3 or later
*/
/* Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

#root,
#__next {
	isolation: isolate;
}

/* Variables */
:root {
	--primary_blue: #007bb6;
}

input:not([type="checkbox"]),
select,
textarea,
button {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	font-size: 16px;
	/* iOS can force rounded corners otherwise */
}

/* Typography */
html {
	font-size: 14px;
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	font-weight: 400;
}

/* Layout */
body {
	display: grid;
}

.container {
	position: relative;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 15px;
}

.row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.col {
	display: flex;
	flex-direction: column;
	padding: .5rem 0;
}

.col-12 {
	width: 100%;
}

.col-11 {
	width: 100%;
}

.col-10 {
	width: 100%;
}

.col-9 {
	width: 100%;
}

.col-8 {
	width: 100%;
}

.col-7 {
	width: 100%;
}

.col-6 {
	width: 100%;
}

.col-5 {
	width: 100%;
}

.col-4 {
	width: 100%;
}

.col-3 {
	width: 100%;
}

.col-2 {
	width: 100%;
}

.col-1 {
	width: 100%;
}

#water .col-4 {
	width: 50%;
}

.pt-1 {
	padding-top: 1rem;
}

.pt-2 {
	padding-top: 2rem;
}

.pt-3 {
	padding-top: 3rem;
}

.pb-1 {
	padding-bottom: 1rem;
}

.pb-2 {
	padding-bottom: 2rem;
}

.pb-3 {
	padding-bottom: 3rem;
}

/* Header */
header {
	height: 65px;
	background-color: #00000011;
	position: relative;
}

header::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background-color: var(--primary_blue);
}

#nav {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 10px 0;
	list-style-type: none;
	z-index: 1;
}

.nav-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: calc(100% / 6);
	border-right: 1px solid #ffffff22;
	height: 100%;
	background-color: var(--primary_blue);
	overflow: hidden;
	font-size: 11px;
	text-align: center;
}

body.ct-no-appointment .nav-item {
	width: calc(100% / 5);
}

.nav-item:first-child {
	border-radius: 10px 0 0 0;
}

.nav-item:last-child {
	border-radius: 0 10px 0 0;
	border-right: none;
}

.nav-link {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	text-decoration: none;
	color: #ffffff;
}

.nav-link.disabled {
	color: #ffffff44;
}

.nav-link.active {
	background-color: #fafafa;
	font-weight: bold;
	color: var(--primary_blue);
}

.nav-link.invalid:before {
	content: "\00D7";
	font-size: 1.5rem;
	font-weight: bold;
	color: #C00;
	line-height: 1;
	position: absolute;
	top: 4px;
	right: 8px;
}

.lead_history_gear {
	position: absolute;
	display: block;
	width: 30px;
	left: 15px;
	top: 22.5px;
	opacity: 0.3;
	z-index: 2;
	display: none;
}

/* Main */
main {
	height: calc(100vh - 110px);
	padding: 1rem;
	background-color: #fafafa;
}

.single-leadform main {
	padding: 0;
	width: 100%;
	max-width: 100%;
}

body.admin-bar main {
	height: calc(100vh - 142px);
}

/* Footer */
footer {
	height: 30px;
	background-color: #EEE;
	border-top: 3px solid var(--primary_blue);
	padding: 7px 0;
	width: 100%;
	bottom: 0;
}

.crowtoes {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	color: #777777;
	margin-bottom: 0;
	font-size: 12px;
}

.crowtoes span {
	display: inline-block;
	padding: 0 2px;
}

.crowtoes img {
	width: 54px;
	height: auto;
	margin: -4px 0 0 0;
}

/* Buttons */
#start_and_send {
	position: fixed;
	width: calc(100% - 2rem);
	bottom: 56px;
}

#start_and_send button {
	display: block;
	width: fit-content;
	min-width: 200px;
	padding: 1rem;
	border-radius: 7px;
	;
	background-color: var(--primary_blue);
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	border: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

a.btn.btn-primary {
	display: block;
	width: fit-content;
	min-width: 200px;
	padding: 1rem;
	margin: 2rem auto;
	border-radius: 7px;
	;
	background-color: var(--primary_blue);
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	border: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Forms */
input:not([type="checkbox"]),
select,
textarea {
	width: 100%;
	padding: .5rem 1rem;
	border-radius: 4px;
	border: 1px solid #ccc;
	min-height: 42px;
	background-color: #fff;
}

input[type=checkbox] {
	width: 1rem;
	height: 1rem;
	border-radius: 4px;
	border: 1px solid #ccc;
	background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--primary_blue);
}

input.invalid,
select.invalid,
textarea.invalid {
	border-color: #C00;
}

.form-group.inline {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

.form-group.inline label {
	padding-left: .5rem;
}

.sms_consent {
	padding-top: 1rem;
	font-size: 14px;
	font-style: italic;
}

/* Lists */

/* Tables */

/* Images */

/* Navigation */

/* Lead Form Interface */
.leadform {
	height: 100%;
	position: relative;
	padding: 1rem;
}

#angelApp {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.progress {
	position: relative;
	width: 100%;
	max-width: 980px;
	margin: 0 auto 12px;
	height: 20px;
	min-height: 20px;
	border-radius: 10px;
	background-color: #00000011;
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-color: var(--primary_blue);
	background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
	background-size: 20px;
}

.tab-content {
	position: relative;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
}

.tab-pane {
	display: none;
	width: 100%;
	padding-bottom: 40px;
}

.flickity-slider .tab-pane {
	display: block;
}

#angelApp.started .flickity-prev-next-button {
	display: block;
}

.pane-head {
	padding: 1rem 0 2rem;
}

.form-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.card {
	position: relative;
	text-align: center;
}

.card img {
	width: 100%;
	border: 5px solid transparent;
	border-radius: 10px;
}

.card.wi_selected::before {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 40px;
	height: 40px;
	border-radius: 0 0 10px 0;
	background-color: var(--primary_blue);
	z-index: 1;
}

.card.wi_selected::after {
	content: "\2713";
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
	top: 4px;
	left: 2px;
	width: 40px;
	height: 40px;
	border-radius: 0 10px;
	z-index: 2;
}

.card.wi_selected img {
	border-color: var(--primary_blue);
}

.input-group.date {
	position: relative;
}

.input-group-addon {
	display: block;
	position: absolute;
	border-radius: 0 3px 3px 0;
	background-color: var(--primary_blue);
	height: calc(100% - 4px);
	width: 50px;
	z-index: 1;
	top: 2px;
	right: 2px;
}

.input-group-addon::after {
	content: "\2636";
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	line-height: 1;
	color: #fff;
	position: absolute;
	height: 100%;
	width: 50px;
	z-index: 1;
}

/* Start Tab */
.angel-logo,
.partner-logo {
	display: block;
	margin: 2rem;
	width: 100%;
	max-width: 100px;
	height: auto;
}

@media(min-width: 768px) {

	.angel-logo,
	.partner-logo {
		display: block;
		margin: 2rem;
		width: 100%;
		max-width: 300px;
		height: auto;
	}
}

/* Archives */
#theListGroup {
	list-style: none;
	padding: 0;
	margin: 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#theListGroup li {
	padding: 0;
	margin: 0;
}

#theListGroup li a {
	display: block;
	padding: 10px 15px;
	border: 1px solid #DDD;
	border-bottom: none;
	text-align: center;
	background-color: #fafafa;
	color: #444;
	text-decoration: none;
}

#theListGroup li a:visited {
	color: #444;
}

#theListGroup li:first-child a {
	border-radius: 5px 5px 0 0;
}

#theListGroup li:last-child a {
	border-bottom: 1px solid #DDD;
	border-radius: 0 0 5px 5px;
}

/* Utilities */
.ct_hide {
	display: none !important;
}

.ct_show {
	display: block !important;
}

/* Loading */
.ct_loader {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #138496;
	z-index: 9999;
}

body.ct_loading .ct_loader {
	display: block;
}

.ct_loading_message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.ct_loading_message .message {
	font-size: 2rem;
	color: #fff;
	width: fit-content;
}

.ct_loading_message .dots {
	width: 100%;
	height: auto;
	width: fit-content;
}

.ct_loading_message .dots span {
	width: 20%;
	height: auto;
	opacity: 0;
}

.ct_loading_message .dots span::before {
	content: "\00B7";
	font-size: 4rem;
	line-height: 1rem;
	color: #fff;
}

.ct_loading_message .dots span:nth-child(1) {
	animation: ct_loading_dots 2.5s infinite;
	animation-fill-mode: forwards;
}

.ct_loading_message .dots span:nth-child(2) {
	animation: ct_loading_dots 2.5s infinite;
	animation-delay: .5s;
	animation-fill-mode: forwards;
}

.ct_loading_message .dots span:nth-child(3) {
	animation: ct_loading_dots 2.5s infinite;
	animation-delay: 1s;
	animation-fill-mode: forwards;
}

.ct_loading_message .dots span:nth-child(4) {
	animation: ct_loading_dots 2.5s infinite;
	animation-delay: 1.5s;
	animation-fill-mode: forwards;
}

@keyframes ct_loading_dots {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@media(min-width: 768px) {
	html {
		font-size: 16px;
	}

	header {
		height: 80px;
	}

	#nav {
		padding: 10px 60px 0;
	}

	.nav-item {
		font-size: unset;
	}

	.col {
		padding: .5rem 1rem;
	}

	.col-12 {
		width: 100%;
	}

	.col-11 {
		width: 91.6666666667%;
	}

	.col-10 {
		width: 83.3333333333%;
	}

	.col-9 {
		width: 75%;
	}

	.col-8 {
		width: 66.6666666667%;
	}

	.col-7 {
		width: 58.3333333333%;
	}

	.col-6 {
		width: 50%;
	}

	.col-5 {
		width: 41.6666666667%;
	}

	.col-4,
	#water .col-4 {
		width: 33.3333333333%;
	}

	.col-3 {
		width: 25%;
	}

	.col-2 {
		width: 16.6666666667%;
	}

	.form-row .form-group:first-child {
		padding-left: 0;
	}

	.form-row .form-group:last-child {
		padding-right: 0;
	}

}

.datepicker table tr td.day,
.datepicker table tr td.day:hover {
	font-weight: bold;
	background-color: #13849633;
}

.datepicker table tr td.disabled.day,
.datepicker table tr td.disabled.day:hover {
	color: #ccc;
	font-weight: normal;
	background-color: transparent;
}

#earliest-availability {
	display: none;
}

.ct_qr_code_wrapper img {
	width: 200px;
	height: auto;
	margin: 1rem auto;
	object-fit: cover;
	aspect-ratio: 1/1;
	object-position: center;
}
