/* Global */

:root {
  --pdt-goldenyellow: #ffdf00;
  --pdt-irisblue: #485CD5;
  --pdt-stratos: #030642;
  --pdt-bluechalk: #E6E9FC;
}

* {
	--bs-body-font-size: 1.2rem;
}

body {
	font-family: helvetica, arial, sans-serif;
	text-rendering: optimizeLegibility;
	font-smooth: auto; 
	font-weight: 400;
	font-style: normal;
}

/* overrides of BS spacing */

h1, h2, h3, h4, .h1, .h2, .h3, .h4, h2.entry-title {
	font-weight: 700;
	line-height: 1.3;
}

h1 {
	font-size: calc(1.325rem + .7vw);
}

h1.page-title {
	text-align: center;
}

h2 {
	font-size: calc(1.325rem + .3vw);
}

h3 {
	font-size: calc(1.325rem + .1vw);	
}

.h3, h3 {
	font-size: calc(0.8rem + .6vw)
}

.h4, h4 {
	font-size: calc(0.65rem + .6vw)
}

a:link, a:visited {
	background-color: transparent;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	color: var(--pdt-irisblue);
}

.entry-content a:link, .entry-content a:visited {
	border-bottom: 2px solid var(--pdt-irisblue);
}

input:focus, button:focus, select:focus, textarea:focus, .gchoice_select_all, .gform_legacy_markup_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label, .gform_legacy_markup_wrapper ul.gfield_radio li input[type=radio]:checked+label {
	background-color: var(--pdt-goldenyellow) !important;
	border-color: var(--pdt-goldenyellow) !important;
	box-shadow: 0 -2px var(--pdt-goldenyellow), 0 4px var(--pdt-stratos) !important;
	color: var(--pdt-stratos) !important;
	outline: 3px solid transparent;
	text-decoration: none;
}

a:focus, a.promo_url:focus, a:hover, a.promo_url:hover {
	background-color: var(--pdt-goldenyellow);
	border-color: var(--pdt-goldenyellow);	
	color: var(--pdt-stratos) !important;
	outline: none;
	transition: background .5s ease;
}

.entry-title, .page-title {
	color: var(--pdt-stratos);
}

.entry-lede {
	font-size: 1.2rem;
}

.entry-content a:hover, .entry-content a:active, 
h2 a:hover, h2 a:active, 
.block-promo a:hover, .block-promo a:active, 
.block-readmore a:hover, .block-readmore a:active, 
.site-footer a:hover, .site-footer a:active,
.leads a.promo_url:hover, .leads a.promo_url:active  {
	border-bottom: 2px solid var(--pdt-stratos);
	color: var(--pdt-stratos);
}

.entry-meta p {
	font-size: 1rem;
	margin: 0.25rem 0;
}

.entry-byline {
	padding-top: 0.25rem;
}

.block {
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
	   -moz-animation: fadein 2s; /* Firefox < 16 */
		-ms-animation: fadein 2s; /* Internet Explorer */
			animation: fadein 2s;	
}

@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-moz-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-ms-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.block-subtitle, .subtitle {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
	text-align: center;
}

.block-promo {
	margin-bottom: 1rem;
}

.block-promo a, .block-ad a {
	text-decoration: none;
	border-bottom: 2px solid transparent;	
}

.block-promo a:hover, .block-promo a:active {
	border-bottom: 2px solid var(--pdt-irisblue);
}

.block-promo img:hover, .listing-image img:hover {
	transform: scale(1.2);
}

.block-promo img, .listing-image img:hover {
	transition: transform .5s ease;
}

.block-promo .promo_image, .listing-image  {
	aspect-ratio: 16/10;
	overflow: hidden;	
}

.listing-image-square  {
	aspect-ratio: 4/4;
}

.listing-image-portrait, .listing-image-portrait img{
	aspect-ratio: 11/16;
}

.listing-image {
	box-shadow: 0px 6px 25px -16px rgb(0 0 0 / 75%);
}

.promo_image {
	box-shadow: 0px 6px 25px -16px rgb(0 0 0 / 75%);
}

.promo_title {
	text-align: left;
	padding: 0.5rem 0.25rem;
}

.promo_url {
	display: block;	
}

.btn-primary, input[type="submit"] {
	border-color: var(--pdt-irisblue);
	color: white !important;
	line-height: auto;
	padding: 0.5rem 0.75rem;
	font-weight: bold;
	box-shadow: 0px 6px 25px -16px rgb(0 0 0 / 75%);
	border-radius: 500px;
}

.btn-primary:hover, .btn-primary:focus, .btn-secondary:hover, .btn-secondary:focus {
	background-color: var(--pdt-goldenyellow) !important;
	border-color: var(--pdt-goldenyellow);
	color: var(--pdt-stratos) !important;
}

.button-cta, .pseudo-button-cta {
	text-align: center;
	margin-top: 1.5rem;
	border-radius: 500px;
}

.button-cta a:link, .button-cta a:visited,
.pseudo-button-cta a:link, .pseudo-button-cta a:visited,
a.btn-cta:link, a.btn-cta:visited, input[type="submit"] {
	background: var(--pdt-irisblue); 
}

.pseudo-btn-cta span {
	background: var(--pdt-irisblue); 
	border-color: var(--pdt-irisblue);
	color: white !important;
	font-weight: bold !important;
	display: inline-block !important;
	line-height: 1.5;
	color: white;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	background-color: transparent;
	border: 1px solid transparent;
	padding: .5rem 1rem;
	font-size: 1.25rem;
	border-radius: .3rem;
	box-shadow: 0px 6px 25px -16px rgb(0 0 0 / 75%);
}

.pseudo-btn-cta a:link, .pseudo-btn-cta a:visited, .pseudo-btn-cta a:hover, .pseudo-btn-cta a:active {
	background-color: var(--pdt-goldenyellow) !important;
	color: white;
	border-bottom: 1px solid white;
}

.pseudo-btn-cta a:focus {
	color: var(--pdt-stratos);
}

.pseudo-btn-cta a:hover {
	border-bottom: 1px solid var(--pdt-stratos);
}

.block-banner-image.overlay {
	display: flex;
	align-items: center;
	justify-content: center;
}

.block-banner-image.overlay:after {
	content: " ";
	z-index: 10;
	display: block;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.3);
}

.block-banner-image.overlay h1 {
	display: inline-block;
	color: white;
	z-index: 100 !important;
	font-size: 5vw;
	text-shadow: 0 0 25px var(--pdt-stratos);
	text-align: center;
	max-width: 80%;
	padding: 0;
}

.block-image-text {
	display: flex;
	align-items: start;
	justify-content: center;
}

.block-image-text img {
	box-shadow: 0px 6px 25px -16px rgb(0 0 0 / 75%);
}

.block-image-text .entry-content {
	margin-top: 0;
}

@media (max-width: 1200px) {
	.block-image-text img {
		height: auto;
		max-width: 100%;
	}
}

.block ol, .block ul {
	padding-left: 0;
}

.block ol li, .block ul li {
	margin-bottom: 1rem;
}

.enlarge-text {
	font-size: 1.6rem;
}

.breakout {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
}

.breakout-inner {
	left: auto;
	margin-left: auto;
	margin-right: auto;
	max-width: auto;
	position: relative;
	right: auto;
	width: auto;
}

.featured-image-caption {
	padding: 1rem 0;
	font-style: italic;
}

.meta-box {
	border: 1px solid rgba(204, 204, 204, 1);
	background: rgba(234,245,253,0.25);
	padding: 2rem;
}

.shaded-light {
	background: var(--pdt-bluechalk);
}

.shaded-dark {
	background: var(--pdt-irisblue);	
}

.block-banner-video video, .block-video video {
	width: 100%;
	height: auto;
}

.block-banner-video {
	max-height: 60vh;
	max-width: 100vw;
	overflow: hidden;
	vertical-align: center;
}

@media (min-width: 996px) {
	.wider-image {
		left: 25%;
		margin-left: -25vw;
		margin-right: -25vw;
		max-width: 75vw;
		position: relative;
		right: 25%;
		width: 75vw;
	}
}
.navbar-toggler {
	border: 1px solid var(--pdt-stratos);
	padding-top: 0.5rem;
	margin: 1rem 0;
}

.navbar-toggler-icon {
	padding-top: 0.05rem;
}
	
/* Pagination */

.wp-pagenavi {
	padding-bottom: 2rem;
}

.wp-pagenavi .pages {
	border: 0;
}

.wp-pagenavi .current {
	background: var(--pdt-stratos);
	color: white;
	min-width: 2rem;
	min-height: 2rem;
	display: inline-block;
}

.wp-pagenavi span {
	border: 0;	
}

.wp-pagenavi a {
	border: 0;
	background: var(--pdt-irisblue);
	min-width: 2rem;
	min-height: 2rem;
	display: inline-block;
	color: white;
}

.wp-pagenavi a:focus {
	background-color: var(--pdt-goldenyellow);
	border-color: var(--pdt-goldenyellow);	
	color: var(--pdt-stratos);
	outline: none;
}

/* breadcrumb */

.breadcrumb {
	text-align: center;
	display: block;
	font-size: 0.8rem;
}

.breadcrumb span {
	padding-right: 0.25rem;
	padding-left: 0.25rem;
}

/* Layout */

.page {
	margin-bottom: 0;
}

.site-title {
	background-image: url('img/tct-logo-v2.jpg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	min-height: 150px;
	max-width: 1000px;
	margin: 0 auto;
}

.site-title span {
	position: absolute;
	left: -9999px;
}

.site-description {
	font-style: italic;
	font-size: 1.2rem;
}

#masthead {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
	text-align: center;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

#masthead #logo-nav-link {
	display: inline-block;
	margin-right: 1.5rem;
	max-width: 120px;
	max-height: 120px;
}

/* Primary header nav styles - compact & expanded */

nav {
	font-weight: 700;
}

.main-navigation {
	width: auto;
}
	
@media (max-width: 992px) {
	ul.navbar-nav > li:not(:first-child) {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	} 
	ul.navbar-nav > li:first-child {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}
}

ul.navbar-nav {
	transition: transform .5s ease;
}

.navbar-expand-lg ul.navbar-nav .nav-link {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

ul.navbar-nav li a:link, ul.navbar-nav li a:visited  {
	color: var(--pdt-irisblue);
	border-bottom: 2px solid transparent;
}

ul.navbar-nav a:hover, ul.navbar-nav a:active  {
	color: var(--pdt-stratos) !important;
	border-bottom: 2px solid var(--pdt-stratos) !important;
}

ul.dropdown-menu li a:link, ul.dropdown-menu li a:visited {
	color: var(--pdt-stratos) !important;
	border-bottom: 2px solid transparent !important;
}

ul.dropdown-menu {
	border-radius: 0;
	padding: 0;
}

.dropdown-item {
	white-space: normal;
}

.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
	background: var(--pdt-goldenyellow);
}

.main-navigation ul.dropdown-menu {
	display: block;
}

button.navbar-toggler {
	color: var(--pdt-stratos);
}

.toggled .navbar-nav .dropdown-menu {
	position: absolute;
	display: block;
	width: 100%;
}

.toggled.main-navigation ul ul a {
	width: 100%;
}

.navbar-centered, .navbar-centered .navbar-nav {
	justify-content: center;
}

.nav-utility .navbar-nav {
	justify-content: center;
	flex-direction: row;
}

@media (max-width: 992px) {
	
	#masthead {
		display: block;
	}
	
	#masthead #logo-nav-link {
		margin-top: 0;	
	}

}

/* Expanding nav search bar */

.nav-search {
	transform: translate(0%, -50%);
	height: 35px;
	border: 2px solid #666;
	border-radius: 30px;
	background: white;
	position: absolute;
	top: 1.25rem;
	left: 0.75rem;
	overflow: hidden;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (max-width: 992px) {
	.nav-search {
		transform: translate(0,0);
		width: 80%;
		margin: 0 auto;
	}

	.nav-search #nav-search-keyword {
		margin-left: 1rem;
	}
}

.nav-search #nav-search-keyword {
	outline: none;
	background: none;
	border: none;
	width: 0;
	padding: 0;
	float: left;
	transition: .3s;
	font-size: 0.8rem;
	line-height: 30px;
}

.nav-search #nav-search-button {
	background: none;
	border: none;
	float: right;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .3s;
}

.nav-search #nav-search-keyword:focus,
.nav-search #nav-search-keyword:not(:placeholder-shown) {
	width: 10rem;
	padding: 0 6px;
	box-shadow: none !important;
}

.nav-search:hover > form >  #nav-search-keyword {
	width: 6rem;
	padding: 0 6px;
	box-shadow: none !important;
}

.nav-search:hover > form > #nav-search-button,
.nav-search #nav-search-keyword:focus + #nav-search-button,
.nav-search #nav-search-keyword:not(:placeholder-shown) + #nav-search-button {
	color: var(--pdt-stratos);
	box-shadow: none !important;
}

/* sticky top nav */

.fixed-top {
	top: -65px;
	transform: translateY(40px);
	transition: transform .3s;
	background-color: white;
	box-shadow: 0px 6px 25px -16px rgb(0 0 0 / 75%);
	padding: 2rem 0 0.5rem 0 !important;
}

.fixed-top ul.navbar-nav li a:link, .fixed-top ul.navbar-nav li a:visited  {
}

.fixed-top ul.navbar-nav a:hover, .fixed-top ul.navbar-nav a:active  {
	color: var(--pdt-stratos) !important;
	border-bottom: 2px solid var(--pdt-stratos) !important;
}

body.admin-bar .fixed-top {
	top: -35px;
}

/* Footer */

.site-footer {
	padding-bottom: 6rem !important;
	font-size: 0.9rem;
}

.site-footer .widget_nav_menu ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.site-footer ul {
	margin-left: 0rem;
	padding-left: 1rem;
}

.site-footer li {
	padding-bottom: 0.5rem;
}

#footer1, #footer2, #footer3 {
	padding-top: 2rem;
	text-align: left;
}

@media (max-width: 768px) {
	#footer3 {
		text-align: left;
	}
}

@media (max-width: 768px) {
	.nav-utility .navbar-nav {
		font-size: 1rem;
		margin-left: 0;
		flex-direction: column;
	}
	.nav-utility .navbar-nav li {
		display: block;
		padding-left: 0.5rem;
	}	
}

/* Civic Cookie Cookie Panel fixes */

@media (max-width: 768px) {
	.ccc-icon--right {
		right: auto;
	}
	#ccc-module.ccc-module--slideout {
		width: 100%;
	}
}

/* form bits */

.gform_legacy_markup_wrapper ol.validation_list {
	text-align: left;
	width: auto !important;
	padding-left: 0.5rem;
	padding-right: 1rem;
}
