/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/*The following 2 paragraphs are to create a centered button class*/
	


@media only screen and (max-width: 800px) {
	.one-third-center {
		margin: 0;
		width: 100%;
	}
}

/*This will increase the width of the content class to fill the width of the site-inner class.*/
.team-content {
	padding: 0 0 25px !important;
}

.entry-header::after {
	padding-bottom: 10px !important;
}

/*boxes for front page 3 backgrounds*/
/*#text-98 {
	/*background: rgba(127,28,106,0.8);
	padding-top: 20px;
}

#text-99 {
	background: rgba(2,116,189,0.8);
	padding-top: 20px;
}

#text-101 {
	background: rgba(86,143,15,0.8);
	padding-top: 20px;
}*/

/*boxes for front page 4 backgrounds*/
#text-86 {
	background: rgba(2,116,189,0.8);
}

#text-88 {
	background: rgba(127,28,106,0.8);
}

#text-87 {
	background: rgba(204,202,201,0.8);
}

#text-85 {
	background: rgba(86,143,15,0.8);
}

/*BIll Ericson blog page customisation*/
.display-posts-listing .listing-item {
	clear: both;
}

.display-posts-listing img {
	float: left;
	margin: 0 10px 10px 0;
	padding: 10px;
}

/* Blog COntent View Style Change*/
.pt-cv-title a {
	font-weight: 600;
}

.pt-cv-title {
	font-size: 20px;
}

.pt-cv-content, .pt-cv-content * {
	font-size: 16px;
}

.btn-success {
	color: #ffffff;
	background-color: #0274bd;
	border-color: #0274bd;
}

/* Table Press tables*/

/*
	CSS Migrated from Jetpack:
*/

/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/*The following 2 paragraphs are to create a centered button class*/
	


@media only screen and (max-width: 800px) {
	.one-third-center {
		margin: 0;
		width: 100%;
	}
}

/*This will increase the width of the content class to fill the width of the site-inner class.*/
.team-content {
	padding: 0 0 25px !important;
}

.entry-header::after {
	padding-bottom: 10px !important;
}

/*boxes for front page 2 backgrounds*/
/*#text-117 {
	background: rgba(204,0,0,0.8);
	padding-top: 10px;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

#text-119 {
	background: rgba(255,128,0,0.8);
	padding-top: 10px;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

#text-120 {
	background: rgba(86,143,15,0.8);
	padding-top: 10px;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

/*boxes for front page 3 backgrounds*/
/*#text-98 {
	background: rgba(127,28,106,0.8);
	padding-top: 15px;
}

#text-99 {
	background: rgba(2,116,189,0.8);
	padding-top: 15px;
}

#text-101 {
	background: rgba(86,143,15,0.8);
	padding-top: 15px;
}

/*boxes for front page 4 backgrounds*/
#text-86 {
	background: rgba(2,116,189,0.8);
	padding-top: 15px;
	padding-bottom: 10px;
}

#text-88 {
	background: rgba(127,28,106,0.8);
	padding-top: 15px;
	padding-bottom: 10px;
}

#text-87 {
	background: rgba(204,202,201,0.8);
	padding-top: 15px;
	padding-bottom: 10px;
}

#text-85 {
	background: rgba(86,143,15,0.8);
	padding-top: 15px;
	padding-bottom: 10px;
}

.one-fourth {
	padding-Top: 15px;
	padding-bottom: 10px;
}

.one-third first {
	padding-top: 15px;
	padding-bottom: 25px;
}

.one-third {
	padding-top: 15px;
	padding-bottom: 25px;
}

/*BIll Ericson blog page customisation*/
.display-posts-listing img {
	float: left;
	margin: 0 10px 10px 0;
	padding: 10px;
}

/* Blog COntent View Style Change*/
.pt-cv-title a {
	font-weight: 600;
}

.pt-cv-title {
	font-size: 20px;
}

.pt-cv-content, .pt-cv-content * {
	font-size: 16px;
}

.btn-success {
	color: #ffffff;
	background-color: #0274bd;
	border-color: #0274bd;
}

/* First page lighten images*/
/* Footer Height & Padding Control*/
.footer-widgets .wrap {
	padding-bottom: 25px;
	padding-top: 25px;
}

.footer-widgets .widget {
	margin-bottom: 0;
}

/*Don't display close button on confidentiality deed popup*/
.popmake.theme-2557 > .popmake-close {
	display: none;
}

/*Reduction of confidentiality deed pop-up size*/
.popmake.theme-2557 p {
	margin: 5px;
}

.popmake.theme-2557 input {
	padding: 5px;
}

.popmake.theme-2557 {
	max-height: 100%;
}
* --------------------------------------------------------------
   Front Page 2 – Why Clients Choose Optimal
   Scoped so it does NOT affect Front Page 3
   -------------------------------------------------------------- */

.front-page-2 .fp2-why-optimal {
    padding: 80px 0;
    text-align: center;
}

.front-page-2 .fp2-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.front-page-2 .fp2-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 50px;
}

.front-page-2 .fp2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.front-page-2 .fp2-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.front-page-2 .fp2-item p {
    font-size: 16px;
    color: #4b5563;
}

.front-page-2 .fp2-cta .button {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .front-page-2 .fp2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .front-page-2 .fp2-grid {
        grid-template-columns: 1fr;
    }
}
	/* --------------------------------------------------------------
   FRONT PAGE 3 — Correct Target + Left Align + Transparent Cards
   -------------------------------------------------------------- */

/* 1. Override table layout so alignment works */
#front-page-3 .image-section {
    display: block !important;
}

#front-page-3 .image-section .widget-area {
    display: block !important;
    text-align: left !important;
}

/* 2. Typography (match Page 2) */
#front-page-3 h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
    text-align: left !important;
}

#front-page-3 h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
    text-align: left !important;
}

#front-page-3 p {
    font-size: 16px !important;
    color: #f3f4f6 !important;
    text-align: left !important;
}

/* 3. Transparent card styling */
#front-page-3 .widget {
    background: rgba(0,0,0,0.35) !important;
    padding: 32px !important;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
    text-align: left !important;
}

/* 4. Spacing */
#front-page-3 .widget {
    margin-bottom: 40px;
}
/* --------------------------------------------------------------
   FRONT PAGE 3 — Remove Table Layout + Restore Normal Flow
   -------------------------------------------------------------- */

#front-page-3 .image-section {
    display: block !important;
    height: auto !important;
}

#front-page-3 .image-section .widget-area {
    display: block !important;
    text-align: left !important;
    vertical-align: top !important;
    padding: 80px 0 !important;
}
/* Page 3 Typography (match Page 2) */
#front-page-3 h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

#front-page-3 h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

#front-page-3 p {
    font-size: 16px;
    color: #f3f4f6;
    margin-bottom: 15px;
}
/* Page 3 Three-Column Grid */
#front-page-3 .widget-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
/* FRONT PAGE 7 – force a clean 1 + 3 flex layout */

/* Neutralise theme layout on outer + inner wrappers */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text,
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text > .widget-wrap {
    float: none !important;
    width: 100% !important;
    clear: none !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box;
}

/* Make the .wrap the flex container */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px 2.564% !important;
}

/* Header – full width */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(1) {
    flex: 0 0 100% !important;
}

/* Next three – equal columns */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(2),
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(3),
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(4) {
    flex: 0 0 calc(33.333% - 2.564%) !important;
}

/* Card styling (keep or tweak as you like) */
#front-page-7 .widget {
    background: rgba(0,0,0,0.35) !important;
    padding: 32px !important;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
}

#front-page-7,
#front-page-7 h2,
#front-page-7 h3,
#front-page-7 p,
#front-page-7 .widget,
#front-page-7 .widget * {
    color: #ffffff !important;
}
/* ============================================
   FRONT PAGE 7 — DISABLE THEME FLOAT LAYOUT
   ============================================ */

/* Kill floats and widths on the inner wrapper */
#front-page-7 .widget-area.widget-thirds .widget-wrap {
    float: none !important;
    width: 100% !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Kill floats and widths on the outer wrapper */
#front-page-7 .widget-area.widget-thirds > .wrap > .widget_text {
    float: none !important;
    width: auto !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ============================================
   FRONT PAGE 7 — APPLY FLEX LAYOUT TO .wrap
   ============================================ */

#front-page-7 .widget-area.widget-thirds > .wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px 2.564% !important;
}

/* Header — full width */
#front-page-7 .widget-area.widget-thirds > .wrap > .widget_text:nth-of-type(1) {
    flex: 0 0 100% !important;
}

/* Next three — equal columns */
#front-page-7 .widget-area.widget-thirds > .wrap > .widget_text:nth-of-type(2),
#front-page-7 .widget-area.widget-thirds > .wrap > .widget_text:nth-of-type(3),
#front-page-7 .widget-area.widget-thirds > .wrap > .widget_text:nth-of-type(4) {
    flex: 0 0 calc(33.333% - 2.564%) !important;
}
/* Disable table-cell layout on FP7 */
#front-page-7 .image-section .widget-area {
    display: block !important;
    text-align: left !important;
    vertical-align: top !important;
}

/* Restore flex layout */
#front-page-7 .widget-area.widget-thirds .wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px 2.564% !important;
}

/* Header full width */
#front-page-7 .widget-area.widget-thirds .wrap > .widget_text:nth-of-type(1) {
    flex: 0 0 100% !important;
}

/* Three equal columns */
#front-page-7 .widget-area.widget-thirds .wrap > .widget_text:nth-of-type(2),
#front-page-7 .widget-area.widget-thirds .wrap > .widget_text:nth-of-type(3),
#front-page-7 .widget-area.widget-thirds .wrap > .widget_text:nth-of-type(4) {
    flex: 0 0 calc(33.333% - 2.564%) !important;
}
/****************************************************
 FP3 — Reset inherited scaling so FP2 and FP3 match
****************************************************/

/* --------------------------------------------------------------
   FRONT PAGE 3 — Harmonised with FP2
   -------------------------------------------------------------- */

/* Headings */
#front-page-3 .widget_text h2 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
}

#front-page-3 .widget_text h3 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
}

/* Paragraphs */
#front-page-3 .widget_text p {
    font-family: "Source Sans Pro", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    margin-bottom: 20px !important;
    color: #f3f4f6 !important;
}

/* Layout — match FP2 spacing */
#front-page-3 .widget-area {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    padding: 80px 0 !important;
}
/* ==========================================================
   FINAL OVERRIDE — FORCE FP2 + FP3 TO SHARE IDENTICAL TYPE
   ========================================================== */

/* H2 */
#front-page-2 h2,
#front-page-3 h2 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
}

/* H3 */
#front-page-2 h3,
#front-page-3 h3 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

/* Paragraphs */
#front-page-2 p,
#front-page-3 p {
    font-family: "Source Sans Pro", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    margin-bottom: 20px !important;
}
/* FINAL FP3 PARAGRAPH OVERRIDE — MATCH FP2 EXACTLY */
#front-page-3 .widget-area p,
#front-page-3 .widget_text p,
#front-page-3 .textwidget p,
#front-page-3 .fp3-item p {
    font-family: "Source Sans Pro", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    margin-bottom: 20px !important;
}
/* Force FP2 + FP3 h3 to use the same weight */
.front-page-2 h3,
.front-page-3 h3,
#front-page-2 h3,
#front-page-3 h3 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    line-height: 1.3 !important;
}

