/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face{
	font-family: 'Clemente Semibold';
	font-style:normal;
	font-weight:400;
	src:url('https://ncts.ca/wp-content/uploads/2025/07/clementepdak-semibold-webfont.eot');
	src:local('Clementi Semibold'), local('Clementi-Semibold'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdak-semibold-webfont.eot') format('embedded-opentype'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdak-semibold-webfont.woff2') format('woff2'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdak-semibold-webfont.woff') format('woff'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdak-semibold-webfont.ttf') format('truetype'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdak-semibold-webfont.svg') format('svg');
}

@font-face{
	font-family: 'Clemente Light Italic';
	font-style:italic;
	font-weight:400;
	src:url('https://ncts.ca/wp-content/uploads/2025/07/clementepdaf-lightitalic-webfont.eot');
	src:local('Clementi Light Italic'), local('Clementi-Light-Italic'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdaf-lightitalic-webfont.eot') format('embedded-opentype'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdaf-lightitalic-webfont.woff2') format('woff2'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdaf-lightitalic-webfont.woff') format('woff'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdaf-lightitalic-webfont.ttf') format('truetype'),
		url('https://ncts.ca/wp-content/uploads/2025/07/clementepdaf-lightitalic-webfont.svg') format('svg');
}

html
{
    scroll-behavior: smooth;
}

#menu-main-menu .menu-item .gb-sub-menu .gb-sub-menu
{
	left:298px;
}

#menu-main-menu .menu-item .gb-sub-menu .gb-sub-menu li a
{
	text-align:left;
}

p:empty
{
	display:none;
}

h1.text-shadow
{
	font-size: clamp(4rem, 10vw, 5.5625rem);
}

h2.text-shadow
{
	font-size: clamp(2.5rem, 10vw, 3.73rem);
}

small
{
	line-height:0rem;
}

.green-text, .gform_title
{
	color: var(--ncts-green);
}

.purple-text
{
	color: var(--ncts-purple);
}

.white-text
{
	color: var(--ncts-white);
}

.body-link a:focus
{
	box-shadow: 0px 0px 1.25rem 0.25rem var(--ncts-purple);
}

#quick_actions
{
	position:fixed;
	display:flex;
	flex-direction:row;
	z-index:1000;
	bottom:2rem;
	padding:0 2rem;
	width:100%;
	align-items:center;
}

#leave, #to_top
{
	display: flex;
	flex-direction: row;
	align-items:center;
	justify-content:center;
	width:100%;
	text-decoration: none;
	box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.3);
}

#leave
{
	max-width:23rem;
	gap:2rem;
	font-size:clamp(1.75rem, 10vw, 2.1875rem)!important;
	margin-left:43%;
}

#to_top
{
	max-width:16rem;
	gap:1rem;
	font-size:clamp(0.75rem, 10vw, 1rem)!important;
	height:fit-content;
	margin-left:auto;
}

#leave, #to_top, .gform_button, .post-navigation-link-previous, .post-navigation-link-next, .gform_next_button
{
	background-color: var(--ncts-purple) !important;
	color: var(--ncts-white) !important;
	border: 0.0625rem solid var(--ncts-white) !important;
	border-radius: 0.25rem !important;
	padding: 0.8rem 2.875rem 0.6rem !important;
	text-transform:uppercase !important;
}

.green_icon
{
	fill:var(--ncts-green);
}

#leave:hover, #leave:focus, #to_top:hover, #to_top:focus, .gform_button:hover, .gform_button:focus,
.post-navigation-link-previous:hover, .post-navigation-link-previous:focus,
.post-navigation-link-next:hover, .post-navigation-link-next:focus,
.gform_next_button:hover, .gform_next_button:focus
{
	background-color: var(--ncts-white) !important;
	color: var(--ncts-purple) !important;
	border: 0.0625rem solid var(--ncts-purple) !important;
	transition: all 0.3s ease !important;
}

.wp-block-post-navigation-link:empty
{
    display: none;
}

#leave .white_icon, #to_top .white_icon
{
	display: inline-block;
	position:relative;
	top:-0.25rem;
	fill:var(--ncts-white);
}

#leave .white_icon
{
	height:2.5rem;
}

#to_top .white_icon
{

	height:1.5rem;
}

#leave:hover .white_icon, #to_top:hover .white_icon
{
	fill:var(--ncts-purple);
	transition:0.3s ease;
}

.green-divider::after, .white-divider::after, .purple-divider::after
{
	width:100%;
	display:block;
	position:absolute;
	bottom:-0.5em;
}

.green-divider::after
{
	content:url('https://ncts.ca/wp-content/uploads/2025/08/green_divider.svg');
}

.white-divider::after
{
	content:url('https://ncts.ca/wp-content/uploads/2025/09/white_divider.svg');
}

.purple-divider::after
{
	content:url('https://ncts.ca/wp-content/uploads/2025/08/purple_divider.svg');
}

.program-contact-container .body-link .green_icon
{
	max-width:1.5rem;
	position:relative;
	top:.25rem;
	margin-right:0.5rem;
}

.padded-box hr
{
	margin:0px;
}

.ncts-gallery img
{
	border-radius:0.5rem;
}

.single-post h2:not(.white-text), .single-post h3:not(.white-text), .single-post h4:not(.white-text), .single-post h5:not(.white-text), .single-post h6:not(.white-text)
{
	color:var(--ncts-green);
}

.single-post .content-container .dynamic-entry-content p a
{
	text-decoration:underline;
}

.single-post .content-container .dynamic-entry-content p a:hover, .single-post .content-container .dynamic-entry-content p a:focus
{
	text-decoration:none;
}

.lightbox
{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-close
{
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 4rem;
  color: white;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.gfield--type-html
{
	line-height:1 !important;
}

.gfield--type-html small
{
	font-size:50%;
}

.alert address
{
	margin-bottom:0px;
}

/* Form Edits */
.gfield_label.gform-field-label
{
	font-size:1.5rem !important;
}

.gform-field-label
{
	font-size:1.25rem !important;
}

input[type="text"],input[type="number"], textarea, .gfield_description
{
	font-size:1.125rem !important;
}

@media screen and (max-width:1920px)
{
	#leave
	{
  		margin-left: 40%;
	}
}

@media screen and (max-width:1300px)
{
 	#leave
	{
    		margin-left: 35%;
  	}
}

@media screen and (max-width:950px)
{
	#menu-main-menu .menu-item .gb-sub-menu .gb-sub-menu
	{
		left:0px;
	}
	
	#leave
	{
    		margin-left: 0%;
  	}

}

@media screen and (max-width:768px)
{
	#leave
	{
		font-size: clamp(0.75rem, 10vw, 1rem) !important;
		max-width:fit-content;
	}

	#leave .white_icon
	{
  		height: 1.5rem;
	}
}

@media screen and (max-width:600px)
{
	#quick_actions
	{
		flex-direction:column;
		gap:2rem;
	}

	#leave
	{
		max-width:16rem;
	}

	#to_top
	{
		margin-left:unset;
	}
}

@media screen and (max-width:480px)
{
	.ncts-gallery figure.wp-block-image.size-large
	{
		width:100% !important;
	}


}