/*
 Theme Name:   The Annuity Leads - GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.0
*/

html {
    scroll-padding-top: 120px; 
    scroll-behavior: smooth; 
}
.wp-block-list {
	padding-left:1em;
	margin-left:0;
}
.wp-block-list a {
	font-weight:bold;
	display:block;
	padding:3px 0;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	border-bottom:1px solid #f1f1f1;
	z-index: 91;
}
.site-header .header-image {
	max-width:220px;
}
.nav-float-right #site-navigation { margin-left: 0; }
.inside-header { justify-content: space-between; flex-wrap: nowrap!important;}
.has-inline-mobile-toggle .mobile-menu-control-wrapper,
.menu-bar-items { display: none!important;}


/* Menu */
#generate-slideout-menu {
	padding-left: 10px;
	padding-right: 10px;
}

/* Container */
.separate-containers .inside-right-sidebar, 
.separate-containers .inside-left-sidebar {
	margin-top: 35px;
}
.separate-containers .inside-article {
	padding-bottom:0;
}

/* Sidebar */
.is-right-sidebar {
	position:sticky;
	top: 70px;
	align-self: flex-start;
}

/* Testimonials */
.tstm-pagination a,
.tstm-pagination span {
	padding: 8px 15px;
	background: #f3f4f6;
	color: #333;
	text-decoration: none;
	border-radius: 4px;
	font-weight: bold;
	width: 38px;
	height: 38px;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}
.tstm-pagination a.prev,
.tstm-pagination a.next {
	display:none;
}
.tstm-pagination span.current {
	border:1px solid var(--accent);
	background:#fff;
}

/* Normal Page Heading */
body.page .entry-header {
	position:relative;
}
body.page .entry-header h1:after,
body.page .entry-header:after {
	content:" ";
	width:100%;
	height:1px;
	bottom:-15px;
	left:0;
	background:var(--gray);
	position:absolute;
}
body.page .entry-header h1 {
	font-size:28px;
	display: inline-block;
	position:relative;
}
body.page .entry-header h1:after {
	background:var(--accent);
	z-index:9;
}

/* Custom Content */
ol.path {
	margin-left:0;
	list-style: none;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(5,minmax(0,1fr));
	gap: 10px;
	counter-reset: s;
	margin-top: 24px;
}
ol.path li {
	counter-increment: s;
	background: #F2F6FA;
	border-radius: 10px;
	padding: 15px 20px;
	font-size: 14px;
	line-height: 1.35;
	margin: 0 !important;
}
ol.path li:before {
	content: counter(s);
	display: block;
	font-weight: 700;
	color: var(--accent2);
	font-size: 14px;
	margin-bottom: 4px;
}
ol.path strong {
	display: block;
	font-size: 16px;
	margin-bottom:3px;
	color: var(--accent);
}

.tal-scrub ul, 
.tal-scrub ol {
	margin-bottom: 0;
	margin-left:0;
	padding-left: 1em;
}
.wp-block-table td, .wp-block-table th {
	border: 1px solid var(--gray)!important;
	padding: 8px 20px!important;
}
.time {
	list-style: none;
	padding: 0 !important;
	border-left: 2px solid var(--gray);
	margin-left: 6px !important;
}
.time li {
	position: relative;
	padding: 0 0 4px 24px;
}
.time li:before {
	content: " ";
	position: absolute;
	left: -7px;
	top: 9px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent2);
}
.time li:before {
	content: " ";
	position: absolute;
	left: -7px;
	top: 9px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent2);
}
.time strong {
	display: block;
	color: var(--accent);
}

.ask {
	list-style: none;
	padding: 0 !important;
	counter-reset: a;
}
.ask li {
	counter-increment: a;
	gap: 14px;
	position:relative;
	padding-left:60px;
	padding-block: 18px;
	border-top: 1px solid var(--gray);
	margin: 0 !important;
}
.ask li strong {
	display:block;
}
.ask li:before {
	content: counter(a);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--white);
	font-weight: 700;
	display: grid;
	position:absolute;
	left:0;
	top:25px;
	place-items: center;
	font-size: 17px;
}
.vids {
	list-style: none;
	padding: 0;
}
.vids li {
	padding: 14px 0;
	border-top: 1px solid var(--gray);
	margin: 0;
}
.vids a {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.35;
}
.vids span {
	display: block;
	font-size: 15px;
	color:#55606B;
	margin-top: 2px;
}
.tal_work thead th {
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #55606B;
	border-bottom: 2px solid var(--accent);
}
.tal_work thead th:last-child {
	width:130px;
}
.tal_work th, 
.tal_work td {
	text-align: left;
	vertical-align: top;
	padding: 14px 16px 14px 0;
	border: 0;
	font-size:15px;
	border-bottom: 1px solid var(--gray);
}
.tal_work thead th,
.tal_work tbody th {
	color: var(--accent);
	width: 70px;
}

/* Custom Heading Size */
body.page-id-28 h2.heading-module-sm {
	font-size: 30px;
	font-weight: bold;
	line-height: 1.1em;
	margin-bottom: 0;
}

/* Archive */
.blog .site-main article,
.archive .site-main article {
	margin-bottom:25px;
}

/* Footer */
.site-footer ul.wp-block-navigation__container li a {
	font-size:17px;
	position:relative;
	padding-left:20px;
	transition: all 0.2s ease-out 0s;
}
.site-footer ul.wp-block-navigation__container li a:before {
	border-style: solid;
	border-width: 1px 1px 0 0;
	content: '';
	display: inline-block;
	height: 6px;
	width: 6px;
	left: 0;
	position: absolute;
	top: 9px;
	transform: rotate(-45deg);
	vertical-align: top;
	transform: rotate(45deg);
}
.site-footer ul.wp-block-navigation__container li:hover a {
	color:var(--accent2);
}

/* Sign Up Form */
.af-form {
	padding: 0!important;
	width: 100%!important;
	margin: 0!important;
	position:relative!important;
}
.af-header,
.af-body label.previewLabel,
.af-element.privacyPolicy,
.af-element.poweredBy,
#af-form-2034326711 .af-footer {
	display:none!important;
}
#af-form-2034326711 .af-body,
.af-standards .af-element {
	padding: 0 !important;
}
#af-form-2034326711 .af-body input.text {
	border:1px solid #ccc !important;
	border-radius:5px;
	font-family: unset!important;
	font-size: 15px!important;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	color: var(--contrast)!important;
	height:45px;
	padding:5px 20px!important;
	background-color: #FFFFFF;
}
.af-element.buttonContainer  {
	position: absolute;
	right: 0;
	top: 0;
	width: 60px;
	height:45px!important;
	border-radius:0 5px 5px 0;
	background-color: var(--accent2);
background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="%23000000" class="bi bi-arrow-right-short" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 25px;
}
.af-element.buttonContainer input {
	height:45px!important;
	opacity:0;
}
#af-form-2034326711 {
	background:transparent!important;
}

/* GB Form */
select.gb-form-field__input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 16px !important;
	color: #333;
}
.gb-form-33d83bd6 .gb-form-field__input::placeholder {
	color: #353535!important;
}

@media only screen and (max-width: 1200px) {
	.site-header .header-image {
		max-width:180px;
	}
	.gb_wrapper,
	.site-content,
	.site-header {
		padding-left:70px!important;
		padding-right:70px!important;
	}
	.full-width-content .site-content {
		padding-left:0px!important;
		padding-right:0px!important;
	}

	ol.path {
		grid-template-columns: 1fr;
	}
	
	.tal_work { width:1000px;}
	
}

@media only screen and (max-width: 767px) {
	.gb_wrapper,
	.site-header,
	.site-content {
		padding-left:20px!important;
		padding-right:20px!important;
	}
	body.page-id-28 h2.heading-module-sm { text-align:center;}
	.tstm-body { flex-direction: column; gap: 0!Important;}
	.tstm-quote-icon svg { width: 30px!important;}
	.tstm-item {
		margin-bottom: 25px!important;
		padding-bottom: 25px!important;
	}
}
