/*
Theme Name: RM Currey 25
Theme URI: https://www.robertmcurrey.com/
Description: Custom Theme by Gordon Multimedia.
Author: Gordon Multimedia
Version: 1.0
Template:Divi
*/
/* Hide the Advertisement category in the CookieYes preference center */
#ckyDetailCategoryadvertisement {
  display: none !important;
}

/* If there’s a left-side tab/item for it, hide that too (adjust if needed) */
#ckyCategoryadvertisement,
#ckyCategoryadvertisementTab,
#ckyCategoryadvertisementBtn,
a[href="#ckyDetailCategoryadvertisement"] {
  display: none !important;
}

.cky-revisit-bottom-left {
	display: none!important;
}
.wpautoterms-footer {
	display: none!important;
}

.dipl_team_social_wrapper {
	display: none !important;
}

#top-menu li li {
    line-height: 1.1rem;
}
.dipl_team_grid_items {
    justify-content: center;
}
.gform_required_legend {
	display: none;
}
#gfield_description_1_3 {
	margin-top: 0!important;
	padding-top: 0!important;
}
/* Make the parent column the positioning context (important for absolute children) */
.et_pb_column_4 { position: relative; }  /* or the specific column that holds the card */

/* The square card */
.hp-stat-card{
  position: absolute;
  top: -20px;
  width: 250px;
  height: 125px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(12,39,74,0.9);
  color: #FFF;
  text-align: center !important;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;

  /* Center the content */
  display: flex;
  align-items: center;     /* vertical centering */
  justify-content: center; /* horizontal centering */
}

/* Keep your left/right offsets */
.hp-stat-card.right { left: -20px; }
.hp-stat-card.left  { right: -20px; }

/* Remove the manual push-down so true centering works */
.hp-stat-card.left { padding-top: 20px; } /* or just delete your old padding-top: 2rem; */

/* Kill stray margins that can nudge the text */
.hp-stat-card .et_pb_text_inner { margin: 0; line-height: 1.2; }

/* If you ever show a big stat number inside */
.hp-stat-card .hp-stat{
  display: block;
  font-weight: 400;
  font-size: 5rem;
  line-height: 5rem;
}

.vertical-center-video .et_pb_section_video_bg .mejs-video,
.vertical-center-video .et_pb_row_video_bg .mejs-video,
.vertical-center-video .et_pb_column_video_bg .mejs-video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(0, -50%);
	width: 100%; /* Ensure full width */
	height: 100%; /* Ensure full height */
	object-fit: cover; /* Optional: Adjust how the video scales */
}
.et_header_style_left .logo_container {
	top: 14px;
	height: 115%;
}
.et_pb_svg_logo #logo {
	height: 100% !important;
	max-height: 100% !important;
}
.dipl_testimonial_author_designation {
	font-style: italic;
}
.dipl_testimonial_author_company {
	font-weight: 700;
}
/* Testimonial body */
.dipl_testimonial_desc p {
  font-size: 16px !important;
  line-height: 1.3;
  position: relative;
  padding-inline: 1.25em;      /* room so text doesn't collide with quotes */
}
@media only screen and (min-width : 992px) {
	.dipl_testimonial_desc p {
  		font-size: 20px !important;
		line-height: 1.5;
	}
	.hp-stat-card{
 		height: 250px;
	}
}
/* Big curly quotes, outside the box */
.dipl_testimonial_desc p::before,
.dipl_testimonial_desc p::after {
  position: absolute;
  font-weight: 700;
  font-size: 3em;              
  line-height: 1;               
  pointer-events: none;
	font-family: 'Montserrat', serif;
	color: #A39571;
}

/* Opening quote (left, outside) */
.dipl_testimonial_desc p::before {
  content: "“";
  inset-block-start: 0;        /* top */
  inset-inline-start: 0;       /* left */
  transform: translate(-70%, 0.05em); /* push outside; tiny vertical nudge */
}

/* Closing quote (right, outside) */
.dipl_testimonial_desc p::after {
  content: "”";
  inset-block-start: 0;        /* top */
  inset-inline-end: 0;         /* right */
  transform: translate(70%, 0.05em);  /* push outside; tiny vertical nudge */
}
.et_pb_social_media_follow_0_tb_footer li.et_pb_social_icon a.icon:before {
    color: #0C274A !important;
    background-color: #FFFFFFCC !important;
    border-radius: 2px;
}
.shaded h1 {
    display: inline-block;
    background:   rgba(12,39,74,0.85);
    padding: 0 .5em;
    line-height: 1.7em;
}
/*span.largeQuote {
    font-size: 70px;
    font-family: 'Montserrat';
    font-weight: 700;
    position: relative;
    top: 25px;
    padding: 0 5px;
}*/
span.largeQuote {
	font-size: 70px;
	font-family: 'Montserrat';
	font-weight: 700;
	display: inline-block;
	line-height: 0;
	vertical-align: top;
	transform: translateY(38px);
	padding: 0 5px;
}

/* Team content wrapper */
.gmm_custom.dipl_team_grid_0 .dipl_team_content_wrapper, 
.gmm_custom.dipl_team_grid_0 .dipl_team_overlay_wrapper, 
.gmm_custom.dipl_team_grid_1 .dipl_team_content_wrapper, 
.gmm_custom.dipl_team_grid_1 .dipl_team_overlay_wrapper, 
.gmm_custom.dipl_team_grid_2 .dipl_team_content_wrapper, 
.gmm_custom.dipl_team_grid_2 .dipl_team_overlay_wrapper, 
.gmm_custom.dipl_team_grid_3 .dipl_team_content_wrapper, 
.gmm_custom.dipl_team_grid_3 .dipl_team_overlay_wrapper, 
.gmm_custom.dipl_team_grid_4 .dipl_team_content_wrapper, 
.gmm_custom.dipl_team_grid_4 .dipl_team_overlay_wrapper, 
.gmm_custom.dipl_team_grid_5 .dipl_team_content_wrapper, 
.gmm_custom.dipl_team_grid_5 .dipl_team_overlay_wrapper, 
.gmm_custom.dipl_team_grid_6 .dipl_team_content_wrapper, 
.gmm_custom.dipl_team_grid_6 .dipl_team_overlay_wrapper  {
    position: relative;
	border-radius: 5px;
	transition: .3s all;
	top: 0;
}

/* Plus icon */
.dipl_team_content_wrapper::after {
    content: "+";
    display: block;
	margin: 10px auto 0;
    transition: .3s all;
    width: 25px;
    height: 25px;
    line-height: 23px;

    border-radius: 50%;
    border: 2px solid rgba(69, 134, 196, .4);
    color: rgba(69, 134, 196, .4);

    text-align: center;
    font-size: 20px;
    font-weight: 600;

    background: #fff;
    pointer-events: none; /* keeps card clickable */
}
.gmm_custom .dipl_team_content_wrapper:hover:after {
	color: rgba(69, 134, 196, 1);
	border: 2px solid rgba(69, 134, 196, 1);
}
.gmm_custom .dipl_team_content_wrapper:hover {
	top: -4px;
}
.dipl_team_member_wrapper_lightbox {
	position: relative;
}
.dipl_team_member_wrapper_lightbox:after {
	content: "+";
    position: absolute;
    top: -20px;
    right: -35px;
    transform: translateX(-50%) rotate(45deg);;
    width: 25px;
    height: 25px;
    line-height: 23px;

    border-radius: 50%;
    border: 2px solid rgba(69, 134, 196, 1);
    color: rgba(69, 134, 196, 1);

    text-align: center;
    font-size: 20px;
    font-weight: 600;

    background: #fff;
    pointer-events: none; /* keeps card clickable */
}
.blueshaded {
	background: #B2DBF2;
	font-style: italic;
}
.mfp-content .dipl_team_member_description,
.mfp-content .dipl_team_popup_content {
  white-space: pre-line;
}
/* Force 2 columns on mobile */
@media (max-width: 767px) {
  .keep-two-columns {
    display: flex;
    flex-wrap: nowrap;
  }

  .keep-two-columns > .et_pb_column {
    width: 50% !important;
    margin-right: 0 !important;
  }
}

