/* Think Digitally child theme - site styles.
   Moved here from Divi > Theme Options > Additional CSS (WP Customizer) so all custom CSS lives in the child theme. */

body{
	background:#fafafc;
}
#main-header {
	box-shadow:0 0 0 ;
}

h1,
h2,
h3,
h4{
	font-weight:300;
}

.et_pb_row,
body .et_pb_row:not([class*="et_flex_column"]) {
	width:100%;
	padding: 0 25px 0 25px;
}

.container {
	width:100%;
	padding: 0 25px 0 25px;
}

/* Home hero "tile" header: full bleed at the top of the page, easing into a rounded 1610px tile as you scroll
   (the old site snapped at 100px; same start and end states, now a gradual CSS scroll-driven animation).
   The real width is animated (not clipped) so the hero's height scales with it exactly as before.
   Browsers without animation-timeline support simply keep the full-bleed hero. */
@keyframes td-tile-crop {
	from { max-width:100%;    margin-inline:auto; border-radius:0; }
	to   { max-width:1610px;  margin-inline:auto; border-radius:18px; }
}
@keyframes td-tile-pad {
	from { padding-top:350px; padding-bottom:350px; }
	to   { padding-top:100px; padding-bottom:100px; }
}
@supports (animation-timeline: scroll()) {
	.tileHeaderFull,
	.tileHeaderCrop {
		animation:td-tile-crop linear both;
		animation-timeline:scroll(root block);
		animation-range:0 300px;
	}
	.tileHeaderFull .et_pb_slide_description,
	.tileHeaderCrop .et_pb_slide_description {
		animation:td-tile-pad linear both;
		animation-timeline:scroll(root block);
		animation-range:0 300px;
	}
}

.navLockFixed {
    position: fixed;
    z-index: 9;
    bottom: -20px;
    display: block;
    max-width: 80%;
    margin: 0 10%;
}

.forminator-button.forminator-button-submit {
	border-radius:100px!important; padding:20px 50px!important;
	font-size:20px!important;
width:100%!important;
}
#forminator-module-632 .forminator-button.forminator-button-submit:hover span {
	opacity:0;
}
#forminator-module-632 .forminator-button.forminator-button-submit:hover:after {
	content:'Let’s make it real.';
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	font-size:20px!important;
	line-height:70px;
	opacity:1;
}

.peek .peek{ right:0%;transition: all 0.5s ease-in-out;}
.peek:hover .peek{ right:-90%}

.vidHome,
.vidHome .et_pb_video_box,
.vidHome video{
	height:100%!important;
}

.et_pb_module.et-dark-mode-capable.et-dark-mode a {
	color:#ffffff!important;
}
.et-dark-mode-capable.et-dark-mode .et_pb_social_icon a.icon:before {
	color:#ffffff;
}

.post-template-default .container {
	padding:0!important;
}



nav.et-menu-nav ul.et-menu>li:last-child a {
		background: url('/wp-content/uploads/2024/02/TD-Blue-scaled.jpg');
	background-size:cover;
    padding: 0px 20px!important;
    height: 45px;
    border-radius: 100px;
    top: 16px;
		color:#ffffff!important;
box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.2);
}

/* Blog Grid Start */
.tdGrid article {
    width: 30%;
    display: inline-table;
    margin: 1%;
}

.tdGrid .post-meta {
    display:none;
}

.tdGrid .entry-featured-image-url {
    width:100%;
    position: relative;
    display: block;
    float: left;
    flex: none;
}

.tdGrid .entry-featured-image-url img{
	border-radius:12px;
	box-shadow: 2px 4px 12px 0px rgba(0, 0, 0, 0.08);
}
.tdGrid article h2 {
    display: block;
    position:relative;
    float:left;
    flex: none;
    width: 100%;
		min-height:80px;
		font-size:18px;
		font-weight:bold;
	text-decoration:underline;
}
.tdGrid .pagination {
	  display: block;
    position: absolute;
    width: 110%;
    margin-left: -5%;
    top: 50%;
}

.tdGrid .pagination .alignleft {
    float: right;   
}

.tdGrid .pagination .alignright {
    float: left;   
}
.tdGrid .pagination .alignleft a,
.tdGrid .pagination .alignright a{
    color: rgba(0, 0, 0, 0);
    width: 50px;
    height: 50px;
    display: block;
    overflow: hidden;
    background: #0f0;
}

/* Blog Grid End  */

/* People Grid Start */

.tdProfiles article {
    width: 16%;
    display: inline-table;
		margin: 1.8%;
}

.tdProfiles .post-meta {
display:none;
}

.tdProfiles .et_pb_post a img {
	border-radius:12px;
	box-shadow: 2px 4px 12px 0px rgba(0, 0, 0, 0.08);
}

.tdProfiles .entry-featured-image-url {
    width:100%;
    position: relative;
    display: block;
    float: left;
    flex: none;
}

.tdProfiles article h2 {
    display: block;
    position:relative;
    float:left;
    flex: none;
    width: 100%;
		font-size:18px;
		font-weight:bold;
}
.tdProfiles .post-content>div>p{
font-size:16px;
	line-height:18px;
}

.tdProfiles .pagination {
	  display: block;
    position: absolute;
    width: 110%;
    margin-left: -5%;
    top: 50%;
}

.tdProfiles .pagination .alignleft {
    float: right;   
}

.tdProfiles .pagination .alignright {
    float: left;   
}
.tdProfiles .pagination .alignleft a,
.tdProfiles .pagination .alignright a{
    color: rgba(0, 0, 0, 0);
    width: 50px;
    height: 50px;
    display: block;
    overflow: hidden;
    background: #0f0;
}

/* People Grid End */



.single .et_pb_post {margin-bottom:0px;
padding-bottom:0px;}


@media only screen and (max-width: 600px) {
.et_pb_with_border.et_pb_module.et_pb_blurb.et_pb_blurb_0_tb_header.et-dark-toggle.et_pb_text_align_left.et_pb_blurb_position_top.et_pb_bg_layout_light{
    margin-top: 0px!important;
}
	
.et-dark-mode-capable.et-dark-mode	.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu, .et-dark-mode-capable.et-dark-mode .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
	background:#23282d!important;
	}
	.tdProfiles article,
	.tdGrid article {
		width:100%;
	}
}

@media (max-width: 479px) {
	.founders.et_pb_row .et_pb_column.et_pb_column_1_4,
	.founders.et_pb_row .et_pb_column.et_pb_column_1_5,
	.founders.et_pb_row .et_pb_column.et_pb_column_1_6 {
        width: 100%;
        margin: 0 0 200px 0px;
    }
}


body .et-menu.nav li.cta-fix-right a {
    position: fixed;
    right: 0;
    color: white ! IMPORTANT;
    top: 50%;
    z-index: 999999;
    text-orientation: mixed;
    writing-mode: vertical-lr;
    border-radius: 0 8px 8px 0;
    padding: 30px 12px !important;
    background-color: #3c3bd7;
    color: white;
    border: 0;
    font-size: 18px;
    letter-spacing: 1px;
    transform: translate(0, -50%) rotate(180deg);
	border: 1px solid #fff;
    border-left: 0;
}

body .et-menu.nav li.cta-fix-right {
    padding: 0;
}



/* Divi 5: re-clip rounded tiles (Divi 4 clipped column backgrounds) */
.et_pb_specialty_column .et_pb_column_inner{overflow:hidden;}

/* Divi 5: native Group Carousel cards (replaces Divi Modules Pro carousel) */
.et_pb_group_carousel_slide{height:auto;}
.et_pb_group_carousel_slide > .et_pb_group{height:100%;box-sizing:border-box;}
.et_pb_group_carousel_slide .et_pb_module_header{font-size:24px;line-height:1.2em;}


/* Breadcrumbs: native Divi 5 Breadcrumbs module (replaces Divi Modules Pro breadcrumbs).
   Add the CSS class `td-breadcrumbs` to the module; add `td-breadcrumbs--light` for white text on dark sections. */
.td-breadcrumbs {
	font-size: 14px;
	line-height: 1.6em;
}
.td-breadcrumbs a {
	text-decoration: none;
}
.td-breadcrumbs a:hover {
	text-decoration: underline;
}
.td-breadcrumbs--light,
.td-breadcrumbs--light a,
.td-breadcrumbs--light .et_pb_breadcrumb_separator,
.td-breadcrumbs--light .et_pb_breadcrumb_active,
.td-breadcrumbs--light span {
	color: #fff !important;
}

/* Light-mode contrast fixes (WCAG AA) ------------------------------------------------ */
.et_pb_pricing_heading {
	background-color: #5a5f64 !important; /* was #bebebe under white text (1.9:1) */
}
.et_pb_team_member .et_pb_member_position,
p.et_pb_member_position {
	color: #62676c !important; /* was #aaa on white (2.3:1) */
}

/* Native carousel cards (Our values, Why choose us, Think Digitally advantage, ...):
   a visible gap between tiles and a sensible icon size (the converted icons were filling the whole card width). */
.et_pb_group_carousel .et_pb_group_carousel_container {
	margin-left: -12px;
	margin-right: -12px;
}
.et_pb_group_carousel .et_pb_group_carousel_slide {
	padding: 10px 12px 14px;
	box-sizing: border-box;
}
.et_pb_group_carousel .et_pb_main_blurb_image {
	margin-bottom: 16px;
}
.et_pb_group_carousel .et_pb_main_blurb_image .et_pb_image_wrap,
.et_pb_group_carousel .et_pb_main_blurb_image img {
	width: 112px !important;
	max-width: 112px !important;
	height: auto;
}
/* Tile content centred: icon, title and text */
.et_pb_group_carousel .et_pb_blurb,
.et_pb_group_carousel .et_pb_blurb_content,
.et_pb_group_carousel .et_pb_blurb_container,
.et_pb_group_carousel .et_pb_blurb_description,
.et_pb_group_carousel .et_pb_module_header {
	text-align: center !important;
	align-items: center;
}
.et_pb_group_carousel .et_pb_main_blurb_image {
	align-self: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
/* Arrows sit under the cards, centred, instead of over the card text */
.et_pb_group_carousel {
	padding-bottom: 56px;
}
.et_pb_group_carousel .et_pb_group_carousel_arrow {
	top: auto !important;
	bottom: 0 !important;
	transform: none !important;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.et_pb_group_carousel .et_pb_group_carousel_arrow_prev {
	left: calc(50% - 52px) !important;
	right: auto !important;
}
.et_pb_group_carousel .et_pb_group_carousel_arrow_next {
	left: calc(50% + 8px) !important;
	right: auto !important;
}

/* SEO: visually hidden H1 used when a page has no visible H1 (inc/seo.php) */
.td-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
/* "Download deck" widget heading (was an <h1>; now a paragraph so the page keeps a single H1) */
.deckForm .td-deck-heading {
	font-size: 40px;
	font-weight: 300;
	line-height: 40px;
	padding-bottom: 10px;
	margin: 0;
	color: rgb(10, 10, 10);
}


/* ---- Meet the team page (Divi 5 vs Divi 4 differences) ---- */
/* Founder portraits overhang their cards (negative margin): Divi 5 columns clip overflow, Divi 4 did not. */
.et_pb_column:has( > .et_pb_team_member ) { overflow:visible; }

/* Team grid thumbnails: Divi 4 served a cropped 1080x675 thumbnail; Divi 5 uses the square original, so crop to
   the same 16:10 shape. Divi 4 also had ~4.5px of whitespace between the inline cards, which made desktop rows
   hold 3 cards (and the 4th wrap); Divi 5 prints no whitespace, so add it back. */
.tdProfiles .entry-featured-image-url img {
	aspect-ratio:1000 / 675;
	object-fit:cover;
	height:auto;
}
/* Divi 4 started the grid ~36px below the top of its column. */
.tdProfiles .et_pb_blog_posts { padding-top:36px; }
@media (min-width:981px) {
	.tdProfiles article { margin-right:calc(1.8% + 4.5px); }
}

/* Header on tablets and phones (Divi shows the hamburger at <= 980px) -------------------------------------
   Logo left, hamburger on the right edge, both centred on one line. The dark/light switch moves into the
   open menu (added by assets/js/site.js), so nothing hangs below the bar. */
@media (max-width: 980px) {
	[class*="_tb_header"] .et_pb_blurb.et-dark-toggle {
		display: none !important;
	}
	[class*="_tb_header"] .et_pb_menu {
		align-items: center;
		padding-right: 0 !important; /* the builder reserves 90px here for the header toggle */
	}
	[class*="_tb_header"] .et_pb_menu .et_pb_menu_inner_container {
		width: 100% !important;
		max-width: none !important;
		flex: 1 1 100%;
		align-items: center;
	}
	[class*="_tb_header"] .et_pb_menu .et_pb_menu__logo-wrap {
		flex: 0 1 auto;
	}
	[class*="_tb_header"] .et_pb_menu .et_pb_menu__logo img {
		max-height: 41px !important;
		width: auto !important;
	}
	[class*="_tb_header"] .et_pb_menu .et_pb_menu__wrap {
		flex: 0 0 auto;
		justify-content: flex-end;
		align-items: center;
	}
	[class*="_tb_header"] .et_pb_menu .et_mobile_nav_menu {
		margin: 0;
		display: flex;
		align-items: center;
	}
	[class*="_tb_header"] .et_pb_menu .mobile_nav {
		display: flex;
		align-items: center;
	}
	[class*="_tb_header"] .et_pb_menu .mobile_menu_bar {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		width: 44px;
		height: 44px;
		padding: 0;
		margin-right: -4px; /* the icon glyph has ~4px of side bearing: line it up with the page gutter */
	}
	[class*="_tb_header"] .et_pb_menu .mobile_menu_bar::before {
		position: static;
		top: auto;
	}
	/* Floating buttons sit on top of the open menu: hide them while it is open. */
	body:has(.mobile_nav.opened) .tdgdprconsent-prefs-btn,
	body:has(.mobile_nav.opened) .deckContainer {
		display: none !important;
	}
}

/* Dark/light switch inside the open mobile menu */
.et_mobile_menu li.td-menu-theme {
	list-style: none;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	margin-top: 6px;
	padding-top: 6px;
}
.td-theme-switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 48px;
	padding: 10px 5%;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.td-theme-switch__track {
	position: relative;
	flex: 0 0 auto;
	width: 46px;
	height: 26px;
	border-radius: 13px;
	background: #c9c9d3;
	transition: background-color 0.2s ease;
}
.td-theme-switch__thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s ease;
}
body.et-dark-mode .td-theme-switch {
	color: #fff;
}
body.et-dark-mode .et_mobile_menu li.td-menu-theme {
	border-top-color: rgba(255, 255, 255, 0.14);
}
body.et-dark-mode .td-theme-switch__track {
	background: #3d3bdb;
}
body.et-dark-mode .td-theme-switch__thumb {
	transform: translateX(20px);
}
@media (prefers-reduced-motion: reduce) {
	.td-theme-switch__track,
	.td-theme-switch__thumb {
		transition: none;
	}
}

/* The deck's close button is only used by the phone bottom sheet (mobile.css shows it when the sheet is open). */
.deckContainer .td-deck-close {
	display: none;
}

/* Dropdown opened by tap on touch screens (site.js touchDropdowns) */
.et-l--header .et-menu li.td-open > .sub-menu {
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto;
}

/* TD Assistant (administrators only): its tab sits on the right edge at mid height, where this site has the
   "Let's Connect" tab. Move it just below that tab and use the brand colour. */
.tda {
	--tda-accent: #3d3bdb;
}
.tda-tab {
	top: calc(50% + 125px);
	transform: none;
}
@media (max-width: 980px) {
	/* No side tab on phones and tablets here: sit above the deck button, bottom right. */
	.tda-tab {
		top: auto;
		bottom: 150px;
	}
}
