/* root */
:root {
	--primary-font-family: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	--secondary-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	--script-font-family: 'Kaushan Script', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Noto Color Emoji';

	--normal-text-color: #101010; /* dark gray */
	--normal-background-color: #dddddd; /* light gray */
	--menu-background-color: #268b07; /* light green */
	--secondary-color: #fed136; /* bright yellow */
	--secondary-highlight-color: #fec503; /* bright yellow */
	--inverse-text-color: #e9e9e9; /* white */
}


/* Based on Agency 5.0.2 (https://startbootstrap.com/template-overviews/agency) BS template */

body {
	overflow-x: hidden;
	font-family: var(--primary-font-family);
	color: var(--normal-text-color);
	background-color: var(--normal-background-color);
}
::selection {
	background: #fed136;
	text-shadow: none;
}
img::selection {
	background: transparent;
}
h1, h2, h3, h4 {
	font-weight: 200;
	font-family: Constantia, Roboto, Arial, sans-serif;
}
p {
	line-height: 1.75;
}
a {
	color: var(--secondary-color);
}
a:hover {
	color: var(--secondary-highlight-color);
}
a.underline:hover
{
	text-decoration: underline;
}
a.in-text {
	text-decoration: underline;
	color: #000;
}
a.in-text:hover {
	color: var(--normal-text-color);
}
a.quicklinks {
	color: #000;
}
a.quicklinks:hover {
	color: var(--normal-text-color);
}
.text-primary {
	color: var(--secondary-color) !important;
}
.text-subtitle {
	font-size: 14pt;
	font-weight: 400;
	margin-top: 2rem;
	margin-bottom: 1rem;
}
.text-large {
	font-size: 16pt;
}
.text-medium {
	font-size: 14pt;
}
.text-small {
	font-size: 9pt;
}
.text-em {
	background-color: #f0e68c; /* yellow */
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
.header-color {
	color: var(--menu-background-color);
}
.scripted
{
	font-family: 'Kaushan Script', 'Segoe UI';
}
.half-underline {
	display: inline-block;
	position: relative;
}
.half-underline:after {
	content: "";
	height: 1px;
	width: 70%;
	background-color: #e2e2e2;
	position: absolute;
	bottom: -.1em;
	left: 50%;
	transform: translate(-50%);
}
.pointer {
	cursor: pointer;
}
section {
	padding: 1rem 0;
}
@media (min-width: 768px) {
	section {
		padding: 2rem 0;
	}
}
img.responsive {
	border-radius: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 2px;
	max-width: 96%;
}

/* buttons */
.btn {
	font-family: var(--secondary-font-family);
	font-weight: 700;
}
.btn-xl {
	font-size: 18px;
	padding: 20px 40px;
}
.btn-primary {
	background-color: var(--menu-background-color);
	border-color: var(--menu-background-color);
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
	background-color: #369b17 !important;
	border-color: #56bb37 !important;
	color: #fff;
}
.btn-primary:active, .btn-primary:focus {
	box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}
.btn-outline-primary {
	border-color: var(--menu-background-color);
	color: var(--menu-background-color);
}
.btn-outline-primary:active, .btn-outline-primary:focus, .btn-outline-primary:hover {
	background-color: #369b17 !important;
	border-color: #56bb37 !important;
	color: #fff;
}
.btn-outline-primary:active, .btn-outline-primary:focus {
	box-shadow: initial !important;
	color: #f0f0f0;
}

/* BS overwrite */
.modal-header {
	display: none;
}
.modal-footer {
	flex-wrap: wrap;
	gap: 0.7rem;
}
@media (min-width: 480px) {
	.modal-dialog {
		max-width: 85%;
	}
}
@media (min-width: 1000px) {
	.modal-dialog {
		max-width: min(85%, 1050px);
	}
}
@media (min-width: 994px) {
	.media-small-only {
		display: none;
	}
}
@media (max-width: 993px) {
	.media-small-hide {
		display: none;
	}
}
.row {
	margin: 0 !important;
}


/* list */
span.list-item {
	border: 1px solid #c0c0c0;
	border-radius: 1rem;
	margin: 0.1rem;
	padding: 0.1rem 0.4rem 0.1rem 0.4rem;
	text-wrap-mode: nowrap;
}
@media (max-width: 420px) {
	span.list-item {
		text-wrap-mode: unset;
	}
}
span.list-item:hover {
	border: 1px solid #369b17;
	background-color: #66bb37;
	transition: background-color 0.3s ease;
}
ul {
	list-style: disc;
	margin-block-start: 0;
	margin-block-end: 0;
	padding-inline-start: 0;
}
ul li {
	padding: 5pt 0 5pt 0;
}
ul.no-style {
	list-style: none;
}
ul.normal {
	list-style: none;
}
ul.normal li:before {
	content: "\2714\0020"; /* ➡️_ */
}
ul.missing {
	list-style: none;
}
ul.missing li:before {
	content: "\2014\0020"; /* X_ */
}
span.lig {
	color: #649464; /* good */
}
span.lix {
	color: #946464; /* bad */
}
.error ul {
	padding-inline-start: revert;
}


/* team */
.team-member {
	margin-bottom: 50px;
	text-align: center;
}
.team-member img {
	width: 225px;
	height: 225px;
	border: 7px solid #fff;
}
.team-member h4 {
	margin-top: 25px;
	margin-bottom: 0;
	text-transform: none;
}
.team-member p {
	margin-top: 0;
}
img.team-about {
	max-width: 95%;
	border-radius: 2rem;
	box-shadow: 0 8px 15px rgba(0,0,0,0.5);
}
img.team {
	max-width: 80pt;
	border: 5px solid #494c4faa;
}
img.rigo {
	max-width: min(125px, 18vw);
	border: 1px solid #888888;
	padding: 2px;
}
.text-rigo {
	display: inline-block;
	margin-right: 1em;
	font-style: italic;
	font-size: 0.85rem;
}
@media (max-width: 479px) {
	.text-rigo {
		margin-right: 2px;
	}
}


/* contact */
section#contact {
	background-color: #212529;
	background-image: url("../img/map-image.png");
	background-repeat: no-repeat;
	background-position: center;
	color: #fff;
}
section#contact .form-group {
	margin-bottom: 25px;
}
section#contact .form-group input,
section#contact .form-group textarea {
	font-family: var(--secondary-font-family);
	padding: 20px;
}
section#contact .form-group input.form-control {
	height: auto;
}
section#contact .form-group textarea.form-control {
	height: 248px;
}
section#contact .form-control:focus {
	border-color: var(--secondary-color);
	box-shadow: none;
}
section#contact ::placeholder {
	font-family: var(--secondary-font-family);
	font-weight: 700;
	color: #ced4da;
}
p.contactinfo {
	color: #e2e2e2 !important;
}
span.contactinfo-icon {
	width: 1.5rem;
	text-align: center;
}

/* footer */
.cookies {
	z-index: 100000;
	display: none;
	max-width: 400px;
	position: fixed;
	bottom: 0px;
	left: 0px;
	margin: 2px;
	padding: 0.5rem;
	border: 1px solid black;
	border-radius: 5px;
	background-color: #ffa;
}

footer {
	padding: 0.5rem 0;
	text-align: center;
}
footer span.copyright {
	font-size: 90%;
	text-transform: none;
	font-family: var(--secondary-font-family);
}
a.social {
	text-decoration: none;
}
img.social {
	transform: scale(.85);
}
img.social:hover {
	filter: opacity(0.6);
	transition: all 0.5s ease;
	transform: scale(1);
}

/* menu */
#mainNav {
	background-color: var(--menu-background-color);
	box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, .75);
}
#mainNav.navbar-shrink {
	background-color: var(--menu-background-color);
}
#mainNav .navbar-toggler {
	font-size: 14px;
	font-weight: bold;
	right: 0;
	padding: 13px;
	color: #fff;
	border: 0;
	background-color: var(--secondary-color);
	font-family: var(--secondary-font-family);
}
#mainNav .navbar-brand {
	color: var(--secondary-color);
	font-family: var(--script-font-family);
}
#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
	color: var(--secondary-highlight-color);
}
#mainNav .navbar-nav .nav-item .nav-link {
	font-size: 90%;
	font-weight: 800;
	padding: 0.75em 0;
	letter-spacing: 0;
	color: #000;
	font-family: var(--secondary-font-family);
	text-align: center;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
	color: var(--secondary-highlight-color);
	transition: color 0.5s ease;
}
#mainNav .logo-name:hover {
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
}
@media (min-width: 992px) {
	#mainNav {
		padding-top: 5px;
		padding-bottom: 5px;
		transition: padding-top 0.3s, padding-bottom 0.3s;
		border: none;
		background-color: var(--menu-background-color);
	}
	#mainNav .navbar-brand {
		font-size: 1.75em;
		transition: all 0.3s;
		img {
			width: 60px;
			transition: all 0.3s;
		}
	}
	#mainNav .navbar-nav .nav-item .nav-link {
		padding: 1.1em 1em !important;
	}
	#mainNav.navbar-shrink {
		background-color: var(--menu-background-color);
		padding-top: 0;
		padding-bottom: 0;
	}
	#mainNav.navbar-shrink .navbar-brand {
		font-size: 1.25em;
		padding: 12px 0;
		img {
			width: 50px;
		}
	}
}
header.masthead {
	text-align: center;
	background-image: url('../img/header-background.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	background-color: var(--normal-background-color);
}
header.masthead .intro-text {
	padding-top: 6.8rem;
	padding-bottom: 2rem;
	color: var(--normal-text-color);
}
@media (min-width: 768px) {
	header.masthead .intro-text {
		padding-top: 8rem;
		padding-bottom: 3rem;
	}
}
header.subpage {
	text-align: center;
	background-color: var(--menu-background-color);
	box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, .75);
}

/* youtbob videos */
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* for 16:9 */
	padding-top: 0px;
	height: 0;
	max-width: 854px;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* cards and callouts */
.bd-callout {
	padding: 1rem;
	border: 1px solid #bbbbbb;
	border-left-width: .25rem;
	border-radius: .25rem;
}
.bd-callout-danger {
	border-left-color: #d9534f;
}
.bd-callout-info {
	border-left-color: var(--menu-background-color);
}
div.card {
	background-color: var(--normal-background-color);
	border-color: #e5e5e5;
}
div.card-heading {
	font-size: 125%;
	padding: 1pt 5pt 5pt 10pt;
}
div.card-body {
	background-color: #e5e5e5;
}
div.f-card {
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
	border-radius: 0.25rem;
	padding: 0.8rem;
	background-color: #dddddd;
}
div.fx-card {
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
	border-radius: 0.25rem;
	padding: 0.8rem;
	margin: 0.3rem;
}
.carousel .carousel-inner {
	-moz-transform: translateZ(0);
}
.carousel .carousel-item {
	-moz-backface-visibility: visible;
}
.carousel .carousel-item img {
	display: block;
	max-width: 95%;
	margin: 0 auto;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
img.trends {
	max-width: 80%;
	box-shadow: 2pt 4pt 20pt #000000;
	transition: box-shadow 0.5s ease;
}
img.trends:hover {
	box-shadow: 4pt 8pt 40pt #264b07;
}

/* houses */
.menu-header {
	font-size: 11pt;
	text-align: center;
}
.menu-item {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	text-align: center;
}
.menu-item button {
	width: 100%;
	max-width: 20rem;
}
.houses-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, 220px);
	justify-content: space-between;
	gap: 1rem;
}
.house-card {
	padding: 0.3rem;
	display: grid;
	align-content: space-between;
	grid-template-columns: 1fr min-content;
	grid-template-areas: "image       image"
	                     "title       more"
	                     "description more";
	align-items: center;

	gap: 0.3rem;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
	border-radius: 0.25rem;
}
.house-card:hover {
	box-shadow: 0px 1px 4px rgba(0, 50, 0, 0.5);
}
.house-card .image {
	grid-area: image;
	width: 100%;
	text-align: center;
	align-self: start;
}
.house-card img {
	border-radius: 0.25rem;
	width: 100%;
}
.house-card .text-block {
	display: grid;
	grid-template-columns: 1fr min-content;
	grid-template-areas: "title       more"
	                     "description more";
	align-items: center;
}
.house-card .title {
	grid-area: title;
	font-size: 14pt;
}
.house-card .description {
	grid-area: description;
}
.house-card .more {
	grid-area: more;
}
.house-sub-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, 150px);
	justify-content: space-between;
	gap: 1rem;
}
.house-sub-title {
	padding-top: 0.5rem;
	font-size: 14pt;
	font-style: italic;
}
.house-sub-description {
	margin-bottom: 0.5rem;
}
.house-sub-card {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	flex-grow: 1;
}
.house-sub-card img {
	padding: .25rem;
	background-color: #f9f9f9;
	border: 1px solid #c2c2c2;
	border-radius: 4px;
	width: 150px;
	height: 150px;
	object-fit: cover;
}
.house-sub-card img:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}


/* other */
.opacity-hide {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.hideable {
	opacity: 1;
}
div.quote {
	color: #000 !important;
	font-size: 10pt;
}
div.divider {
	text-align: center;
	background-color: #d0d6d8;
	border-top: 0.5rem solid #d6d8db;
	border-bottom: 0.5rem solid #d6d8db;
	position: relative;
	height: 48px;
	margin-bottom: 30px;
}
div.divider img {
	position: absolute;
	left: 47%;
	top: -26px;
}
div.main {
	color: var(--normal-text-color);
	line-height: 22pt;
	padding-bottom: 0.8rem;
}
.tech {
	display: grid;
	width: 100%;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 900px) {
	.tech {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.tech-header {
		min-height: 48px;
	}
}
.tech .tech-panel {
	min-width: 200px;
	max-width: 100%;
	align-content: space-between;
	display: grid;
}

.tech-select {
	text-align: center;
}
.tech-header {
	color: var(--normal-text-color);
	font-weight: 600;
}
.tech-link {
	margin-top: 0.5rem;
}

.hero {
	position: relative;
}
