/*
Theme Name: Genoa Insurance
Author: CDALogic
Description: Wordpress theme built with css grid framework
Version: 1.0
Date: July 2024
*/

:root {
	/* accent-color: red; */
	font-size: 10px;
	--navy: #181e2e;
	--blue-dark: #2f698e;
	--blue-light: #50abc5;
	--aqua: #8ff2f9;
	--gold: #dab397;
	--font-primary: 'Roboto', sans-serif;
	color: var(--navy);
}
* {
	box-sizing:border-box;
	margin: 0;
	padding: 0;
	line-height: 1;
	outline: 0;
}
body {
	font-family: var(--font-primary);
	overflow-x: hidden;
}
/*
===================================================================================================================
FRAMEWORK
===================================================================================================================
*/
.container {	
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px;
	position: relative;
}
.container-fluid {	
	margin: 0 auto;
	max-width: 100%;
	padding: 0 20px;
}
#page {
	background: #c7d5c7;
	min-height: 100vh;
	padding: 40px 0;
}
.row-grid-mobile {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-gap: 20px;
}
.no-gap {
	grid-gap: 0;
}
.big-gap {
	grid-gap: 60px;
}
/*
===================================================================================================================
TYPOGRAPHY
===================================================================================================================
*/
h1,
h2,
h3,
h4,
h5,
p,
ul,
dt,
dd {
	margin-bottom: 20px;
}
.font-xl {
	font-size: calc(100% + 150%);
}
.font-l {
	font-size: calc(100% + 125%);
}
.font-s {
	font-size: calc(100% - 25%);
}
.font-xs {
	font-size: calc(100% - 50%);
}
.text-upp {
	text-transform: uppercase;
}
/*
===================================================================================================================
HEADINGS
===================================================================================================================
*/
h1,
.h1 {
	font-size: clamp(2rem, 5vw, 10rem);
}
h2,
.h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}
h3,
.h3 {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h4,
.h4 {
	font-size: clamp(1.2rem, 4vw, 2.2rem);
}
h5,
.h5 {
	font-size: clamp(1rem, 4vw, 2rem);
}
/*
===================================================================================================================
PARAGRAPH TEXT
===================================================================================================================
*/
p {
	font-size: 1.6rem;
	line-height: 1.4;
}
/*
===================================================================================================================
IMAGES
===================================================================================================================
*/
img {
	height: auto;
	max-width: 100%;	
}
/*
===================================================================================================================
VIDEOS
===================================================================================================================
*/
.video-container {
	padding-bottom: 56.25%;
	padding-top: 30px; height: 0; overflow: hidden;
	position: relative;
}
.video-container iframe,
.video-container object,
.video-container embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/*
===================================================================================================================
LISTS
===================================================================================================================
*/
ul {
	list-style-type: none;
	padding-left: 0;
}
ul:after {
	clear: both;
	content: "";
	display: block;	
	float: none;
}
.list-bullet {
	list-style-position: inside;
	list-style-type: disc;
}
li,
dt,
dd {
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	margin-bottom: 10px;
}
li a {
	display: block;
}
figure {
	margin: 0;
}
/*
===================================================================================================================
LINKS
===================================================================================================================
*/
a, 
a:hover, 
a:active, 
a:focus {
	text-decoration: none;
  	transition: all 0.25s ease-in-out;
}
a {
	color: var(--blue-dark);
	font-weight: bold;
}
a.btn,
.btn,
.elementor-button {
	background: var(--navy);
	color: #fff;	
	display: inline-block;
	font-size: 2rem;
	margin: 0 auto 20px auto;
	max-width: max-content;
	padding: 20px;
	text-align: center;
	text-transform: uppercase;
}
a.btn:hover,
.btn:hover,
.elementor-button:hover {
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
	transform: scale(1.1);
}
/*
===================================================================================================================
FIXES
===================================================================================================================
*/
.clearfix,
.clear {
	clear: both;
	float: none;
}
.kc_row:not(.kc_row_inner),
.kc-elm {
	clear: both;
	float: none !important;
}
.kc_row:after {
	clear: both !important;
	content: "";
	display: block !important;
	float: none !important;
}
/*
===================================================================================================================
ALIGNMENTS
===================================================================================================================
*/
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.align-middle {
	display: grid;
	align-content: center;
}
.align-bottom {
	display: grid;
	align-content: end;
}
.object-cover {
	object-fit: cover;
}
.center-center {
	align-items: center;
	display: flex;
	justify-content: center;
}
/*
===================================================================================================================
FORM ELEMENTS
===================================================================================================================
*/
input[type="color"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="email"], 
input[type="month"], 
input[type="number"],
input[type="password"], 
input[type="tel"], 
input[type="text"], 
input[type="time"], 
input[type="url"], 
input[type="week"], 
textarea {
	background: rgba(255,255,255,1);
	border: 1px solid rgba(200,200,200,1);
	display: block;
	font-family: var(--font-primary);
	font-size: 1.6rem;
	height: auto;
	margin-bottom: 5px;
	padding: 20px;	
	width: 100%;
}
input[type="submit"] {
	background: var(--color-dark);
	border: 0;
	color: var(--color-light);
	cursor: pointer;
	display: block;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 1px;		
	margin-bottom: 20px;
	padding: 20px;
	text-transform: uppercase;	
	width: auto;
}
textarea {
	min-height: 100px;
}
::placeholder {
    color: inherit;
	font-family: var(--font-primary);
    opacity: 0.7;
}
/*
===================================================================================================================
UP BUTTON
===================================================================================================================
*/
#up {	
	bottom: 10%;
	border: 2px solid rgba(255,255,255,0.5);
	background: rgba(0,0,0,0.5);	
	position: fixed;	
	right: 10px;	
	text-align: center;	
	z-index: 999;
}
#up a {
	color: rgba(255,255,255,0.5);
	display: flex;
	font-size: 3.5rem;
	height: 50px;
	justify-content: center;
	width: 50px;
}
#up a .fa {
	align-self: center;
}
/*
===================================================================================================================
MAIN NAVIGATION MENU
===================================================================================================================
*/
#top-bar {
	align-items: center;
	background: var(--navy);
	color: yellow;
	display: flex;
	justify-content: space-between;
	left: 0;
	padding-left: 20px;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 999;
}
.menu-is-open #top-bar {
	transition: all 0.25s ease-in-out;
}
/* #menu-container {
	height: 100%;
	left: -100%;
	overflow-y: scroll;
	padding: 10px;
	position: fixed;
	text-align: center;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 11;  	
} */
/* .open {
	left: 0 !important;
  	transition: all 0.25s ease-in-out;
} */
.show {
	display: block;
}
#main-menu {
	height: 100%;
	margin-bottom: 0;
	position: fixed;
	right: -100%;
	text-align: center;
	transition: all 0.25s ease-in-out;
	width: 300px;
}
.menu-is-open #main-menu {
	background: hotpink;
	right: 0;
}
#main-menu li {
	margin-bottom: 0;
}
#main-menu li a {
	color: var(--aqua);
	font-size: 1.8rem;
	padding: 10px 20px;
	text-transform: uppercase;
}
#hamburger {
	align-content: space-between;
	background: var(--aqua);
	cursor: pointer;
	display: grid;
	height: 50px;
	padding: 10px;	
	transition: all 0.5s 0.5s ease-in-out;
	width: 50px;
	z-index: 999;
}
.bar {	
	border-bottom: 6px solid var(--navy);
	transition: all 0.25s ease-in-out;
  	width: 100%;
}
#bar-wrapper {
	position: relative;
}
#bar-2 {
	position: relative;

}
#bar-3 {
	left: 0;
	position: absolute;
	top: 0;
}
.bar.blackout {
	border-bottom: 3px solid transparent;
  	transition: all 0.5s ease-in-out;
}
.menu-is-open #bar-1,
.menu-is-open #bar-4 {
	border-color: transparent;
	box-shadow: none;
	transition: none;
}
.menu-is-open #bar-2 {
	transform: rotate(45deg);
}
.menu-is-open #bar-3 {
	transform: rotate(-45deg);
}
.menu-is-open #fly-out-overlay {
	background: rgba(0,0,0,0.5);
	cursor: pointer;
	display: block;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
}
#logo {
	font-size: 2rem;
	max-width: 200px;
}
/*
===================================================================================================================
HERO
===================================================================================================================
*/
.hero {
	height: 100vh;
	width: 100%;
}
/*
===================================================================================================================
PARALLAX
===================================================================================================================
*/
.parallax-bg {
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: cover;	
}
/*
===================================================================================================================
SLIDER
===================================================================================================================
*/
.flexslider {
	border: 0;
	border-radius: 0;	
	box-shadow: none;	
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
	z-index: 1;
}
/*
===================================================================================================================
FLY OUT MENU
===================================================================================================================
*/
/* #fly-out-menu select,
#fly-out-menu input,
#fly-out-menu textarea {
	border:1px solid #222;
}
#fly-out-menu select,
#fly-out-menu input {
	height: 50px !important;
}
.fly-out-open-button {
	cursor: pointer;
}
#fly-out-close-button {
	color: red;
	cursor: pointer;
	font-size: 48px;
	height: 50px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 50px;
	z-index: 999;
}
.fly-out-close {
	cursor: pointer;
}
#fly-out-menu {
	background: #fff;
	height: 100%;
	overflow-y: scroll;
	padding: 100px 40px;
	position: fixed;
	right: -100%;
	text-align: center;
	text-transform: capitalize;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 999;  	
}
#fly-out-overlay {
	background: rgba(0,0,0,0);
	cursor: pointer;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	transition: all 0.25s ease-in-out;
	width: 100%;
	z-index: 998;
}
.fly-out-open {
	right: 0 !important;
  	transition: all 0.25s ease-in-out;
}
.lights-out {
	background: rgba(0,0,0,0.8) !important;
	display: block !important;
	transition: all 0.25s ease-in-out;
} */
/*
===================================================================================================================
FOOTER
===================================================================================================================
*/
#footer-main {
	background: var(--navy);
	color: #fff;
	padding: 40px 0 0 0;
}
#footer-main li {
	font-size: 1.4rem;
	margin-bottom: 0;
}
#footer-main li:last-child {
	border-bottom: 0;
}
#footer-main li a,
#footer-main .fly-out-open-button {
	padding: 20px 0;
}
.footer-fixed {
	bottom: 0;
	left: 0;
	position: fixed;	
	width: 100%;
	z-index: -1;
}
#footer-legal {
	padding: 20px;
}
.footer-logo {
	max-width: 150px !important;
}
/*
===================================================================================================================
NATIVE CONTENT
===================================================================================================================
*/
.home-logo {
	margin-bottom: 40px;
	max-width: 500px;
}
.container-small {
	max-width: 800px;
}















/*
===================================================================================================================
MEDIA QUERIES
===================================================================================================================
*/
@media only screen and (min-width: 641px) {
	.row-grid {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		grid-gap: 20px;
	}
	.span-1 {
		grid-column: span 1;
	}
	.span-2 {
		grid-column: span 2;
	}
	.span-3 {
		grid-column: span 3;
	}
	.span-4 {
		grid-column: span 4;
	}
	.span-5 {
		grid-column: span 5;
	}
	.span-6 {
		grid-column: span 6;
	}
	.span-7 {
		grid-column: span 7;
	}
	.span-8 {
		grid-column: span 8;
	}
	.span-9 {
		grid-column: span 9;
	}
	.span-10 {
		grid-column: span 10;
	}
	.span-11 {
		grid-column: span 11;
	}
	.span-12 {
		grid-column: span 12;
	}
}
@media only screen and (min-width: 900px) {

	#main-menu {
		background: transparent;
		display: flex;
		height: auto;
		right: auto;
		position: static;
		text-align: center;
		transition: all 0.25s ease-in-out;
		width: auto;
	}
	#hamburger {
		display: none;
	}
	#main-menu li a {
		display: flex;
	}
	/* #main-menu li a:after {
		background: transparent;
		content: "";
		display: block;
		height: 3px;
		margin:10px auto 0 auto;
		margin-top: 10px;
		transition: all 0.25s ease-in-out;
		width: 0px;
	}
	#main-menu li:hover a:after {
		background: white;
		content: "";
		display: block;
		height: 3px;
		transition: all 0.25s ease-in-out;
		width: 100%;
	}
	#main-menu .sub-menu {
		background: #f6efe7;
		display: none;
		padding: 10px;
		position: absolute;
		text-align: left;
		z-index: 4;
	}
	#main-menu .sub-menu li {
		float: none;
	}
	#main-menu .sub-menu li:last-child a {
		padding-right: 20px;
	}
	#main-menu .sub-menu li a {
		color: #4d93b7;
		text-shadow: 0;
	}
	#main-menu li:hover .sub-menu li a:after {
		display: none !important;
	}
	#main-menu .menu-item-has-children:hover .sub-menu {
		display: block;
	} */

}