/*
Theme Name: Tidemark Marketing
Version: 2024.06.26.29
Author: 2K Web Group
template: bb-theme
*/

@font-face {
  font-family: "Jonathan";
  src:
	url("fonts/Jonathan.e3unht28c09.woff2") format("woff2");
  font-weight: normal;
}

html {font-size: 62.5%;}
html body {font-size: 1.8rem;}

strong {font-weight: 700;}

h1 {font-size: 4rem;}
h2 {font-size: 3rem;}
h3 {font-size: 2.2rem;}
h4 {font-size: 1.8rem;}
h1, h2, h3, h4 {
	line-height: 1.3;
}

body > div.fl-page > header p,
body > div.fl-page > footer p {
	margin-bottom: 0;
}

.fl-page-content p {
	margin-bottom: 2rem;
}
.fl-page-content a {
	text-decoration: underline;
}

.fl-theme-builder-header-shrink #tm-logo img {
	min-height: 80px !important;
	margin: 0 0 10px;
}

nav > #menu-primary a {
	text-decoration: none;
	position: relative;
}
nav > #menu-primary a::after {
	content: '';
	position: absolute;
	left: 10%;
	bottom: -2px;
	width: 80%;
	height: 2px;
	background-color: #fff;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}	
nav > #menu-primary a:hover::after,
nav > #menu-primary .current-menu-item a::after {
	transform: scaleX(1);
}

.fl-heading > a {
	text-decoration: none !important;
}

.fl-accordion-button-icon-right {
	opacity: 100;
}
.fl-accordion-button-icon {
	text-decoration: none !important;
}


/* Checkmark list */
.checkmark-list {
	.fl-list-item-content-text {
		position: relative;
		padding-left: 30px;
	  }
	  .fl-list-item-content-text:before {
		content: "";
		position: absolute;
		left: 0;
		top: 12%;
		transform: translateY(-50%);
		width: 20px;
		height: 21px;
		background-image: url('/wp-content/themes/tidemark-24/images/checkmark.svg');
		background-size: cover;
	 }
}
.checkmark-list.no-headings {
	.fl-list-item-content-text:before {
		top: 21%;
	 }
}


/* Testimonials */
.testimonial {
	text-align: center;
    display: inline-block;
	padding: 40px 60px;
	border: 2px solid #fff;
	position: relative;
}
.testimonial:before {
	content: '';
	position: absolute;
	top: -10px;
	left: -10px;
	right: -10px;
	bottom: -10px;
	border: 4px solid #fff;
	pointer-events: none;
}
.testimonial-content {
	line-height: 1.3;
	font-style: italic;
}
.testimonial-from {
	text-transform: uppercase;
}
.testimonial-from:before {
	content: '- ';
}


/* Projects */
.projects-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.project-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.project-box:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 51, 64, 0.85);
  color: white;
  padding: 20px;
}

.project-tags {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.project-box.wide {
  grid-column: span 2;
}
.project-box.tall {
  grid-row: span 2;
}
.project-box.regular {
  grid-column: span 1;
  grid-row: span 1;
}

/* Posts */
.single-post .fl-builder-content-primary p + h2 {
  margin-top: 40px;
}

/* .single-post .alignright,
.single-post .alignleft {
	margin-top: 30px;
} */

/* Ninja Form titles */
[id^="nf-form-title-"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
}


.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea {
	background: #fff !important;
	border: 1px solid #BAB3B0 !important;
	color: #000 !important;
}

.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
	background: #0e4153 !important;
	color: #fff !important;
	border: none !important;
	letter-spacing: .3rem;
	padding: 12px 20px;
}
.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover {
	background: #B4844C !important;
	color: #fff !important;
}

footer .nf-form-fields-required {
	display: none;
}
footer .email-container {
	margin-bottom: 14px;
}
footer .email-container input {
	height: 40px !important;
	font-size: 1.4rem !important;
	max-width: 220px;
	margin: 0 auto !important;
}
footer .submit-container {
	text-align: center;
	margin-bottom: 0;
}
footer .submit-container input {
	font-size: 1.4rem !important;
	height: 40px !important;
	padding: 0 16px !important;
}
footer .nf-form-content {
	padding: 0;
}
footer .nf-error-msg {
	font-size: 1.4rem;
}

a.fl-button {
	letter-spacing: .3rem;
}


footer nav a:hover {
	text-decoration: underline !important;
}

/** 992 tablet, 768 mobile **/
@media (max-width: 1060px) {
}

@media (max-width: 768px) {
	.fl-menu-mobile-flyout #menu-primary {
		padding-top: 40px;
	}
}

 @media (max-width: 425px) {
	 .checkmark-list {
	 		.fl-list-item-content-text:before {
		 		top: 8%;
	 		}
 		}
	.checkmark-list.no-headings {
		.fl-list-item-content-text:before {
			top: 10%;
		 }
	}
 }