/**
 * Theme Name: Blocksy 24Child
 * Description: Blocksy 24Child theme
 * Author: Eileen Adcock
 * Template: blocksy
 * Text Domain: blocksy
 */




/* header files */

.ct-header {
	background-color: none;
}

h1.page-title {
   /* --theme-line-height: 1.5 !important;*/
	line-height: 1.5;
}

.akb-nav-menu {
	  font-size: 15px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
}

.akb-nav-menu a:hover {
	color: var(--theme-palette-color-1) !important;
}
.akb-nav-wrap {
	position: fixed !important;
	width: 100vw;
}

.hero-section[data-type="type-2"]>[class*=ct-container] {
	min-height: 400px;
	padding: 80px 0 0 0;
} 

#menu-item-31379 a, #menu-item-31404 a {
	color: #155584;
}

/* footer files */

.akb-icon-link {
	filter: invert(61%) sepia(75%) saturate(1405%) hue-rotate(360deg) brightness(107%) contrast(104%);
}

.akb-icon-link:hover {
	filter: invert(37%) sepia(54%) saturate(3952%) hue-rotate(351deg) brightness(100%) contrast(104%);
}

/* search and filter shortcode styles - re-add after every blocksy update */
@media screen and (min-width: 501px) {
	
	.ibp-wrap {
	width: 48%; 
	float: left; 
	margin: 0 0 2% 2%;
	}
	
	.search-horizontal .searchandfilter ul li {
   
    display: inline-block;
    padding: 2%;
    width: 30%;
}
}

@media screen and (max-width:500px) {
	.ibp-wrap {
	width: 100%; 
	float: left; 
	margin: 0;
	}
	
	.search-horizontal .searchandfilter ul li {
   
    display: block;
}

	
	/*.ct-panel-inner {
		background-color: #758592 !important;
	} */
}

.ibp-preview {
	min-height: 320px;
}

.ibp-preview img {
	min-height: 100%;
	min-width: 100%;
	margin: auto;
	object-fit: cover;
}


/* end search and filter styles */
@media screen and (min-width: 601px) {
	
	.page-description {
		font-size: 50px;
		line-height: 55px;
	}
	
	.ct-feature-grid img {
			filter: invert(30%) sepia(75%) saturate(1815%) hue-rotate(164deg) brightness(91%) contrast(101%);
	}
	.ct-feature-grid .ugb-feature-grid__item {
		position: relative;
	}
	
	.ct-feature-grid .ugb-feature-grid__item:not(:last-child):before {
		content: '';
		position: absolute;
		right: -17px;
		height: 100%;
		width: 1px;
		background: #eee;
	}	
	
	.business-btn-desc {
		min-height: 140px;
		vertical-align: middle;
	}
}


@media screen and (max-width:600px) {
	.page-description {
		font-size: 40px;
		line-height: 45px;
	}
}
/*------forms styling ----*/

.hsform-button-right .hs-form-private {
	display: inline-flex;
}

.hsform-button-right .hs-form-field {
	width: 75%;
}

.hsform-button-right .actions {
    padding: 25px 15px;
}

.light-back .hs-form-field label:not(.hs-error-msg){
	color: #243746 !important;
}

ul.inputs-list {
	list-style-type: none;
}

ul.inputs-list input, ul.inputs-list select, ul.inputs-list textarea {
    margin-right: 10px;
}


.hs-form-field .input {
    margin: 0 10px 25px 0 !important;
	border-radius: 10px;
}

.text-white .hs-form-field label:not(.hs-error-msg) {
	color: #ffffff !important;
}
.text-white .hs-richtext h1 {
	color: #ffffff;
}

.hs-form .form-columns-2, .hs-form .form-columns-3, .hs-form .form-columns-1 {
	max-width: 100% !important;
}


/* SVG color filters */

.filter-green {
	filter: invert(68%) sepia(11%) saturate(3892%) hue-rotate(35deg) brightness(104%) contrast(101%);
}

.filter-teal {
	filter: invert(30%) sepia(75%) saturate(1815%) hue-rotate(164deg) brightness(91%) contrast(101%);
}

.filter-cyan {
	filter: invert(70%) sepia(99%) saturate(900%) hue-rotate(168deg) brightness(95%) contrast(82%);
}

.filter-blue {
	filter: invert(30%) sepia(75%) saturate(529%) hue-rotate(164deg) brightness(92%) contrast(89%);
}


.filter-white {
	filter: invert(100%) sepia(10%) saturate(0%) hue-rotate(220deg) brightness(130%) contrast(93%);
}

.filter-orange {
	filter: invert(61%) sepia(75%) saturate(1405%) hue-rotate(360deg) brightness(107%) contrast(104%);
}

.filter-grayscale {
	filter: grayscale(100%);
}


a.filter-green {	
	filter: invert(68%) sepia(11%) saturate(3892%) hue-rotate(35deg) brightness(104%) contrast(101%);
}

a.filter-white {
	filter: invert(100%) sepia(10%) saturate(7430%) hue-rotate(220deg) brightness(116%) contrast(93%);
}

.filter-white:hover {
	filter: invert(85%) sepia(7%) saturate(2109%) hue-rotate(160deg) brightness(98%) contrast(86%);
}

.program-icon-green img {
		filter: invert(30%) sepia(75%) saturate(1815%) hue-rotate(164deg) brightness(91%) contrast(101%);
}

/* general styling */


.padding-20 img {
	padding: 20px;
}

.logo-gallery img {
	max-width: 250px !important;
	margin: auto;
}

.logo-gallery .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	font-size: 24px;
	color: #00829b;
	font-weight: 500;
	font-family: 'Josefin Sans';
}

.videoWrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.videoWrapper::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.videoWrapper iframe {
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.center-content {
	display: inline-block;
	margin: auto;
}

/* Team member */
.profile-grayscale .ugb-team-member__image {
	filter:grayscale(100%);
}


/* list and bullet styles */

.wp-block-latest-posts.wp-block-latest-posts__list li {
	padding-bottom: 20px;
}

.heading-num-list{
	 counter-reset: section;
}
.heading-num-list li::before {
	content: decimal;
	font-size: 32px;
	font-weight: 600;
	color: #3CB4E5;
}

.akb-number-list{
	margin-bottom: 10px;
}

.akb-number-list::marker {
	font-size: 25px;
    font-weight: 600;
    font-family: 'Josefin Sans';
    padding: 5px;
    border: solid 2px #3CB4E5;
	color: #3CB4E5;
    border-radius: 50%;
	margin-left: 5px;
}

/* table styles */

.wp-block-table td {
      padding: 2.5em .5em;
    }


.no-margin td:first-child {
    width: 70px;
    white-space: nowrap;
	text-align: center;
}

/* query loop for video archives */
[data-cards="cover"] .entry-card {
	border-bottom-color: rgb(36, 55, 70); 
    border-radius: 20px;
    border-image-slice: 100%;
    border-image-width: 1;
    border-top-color: rgb(36, 55, 70);
    box-shadow: rgba(35, 57, 102, 0) 0px 12px 18px -6px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    overflow-wrap: break-word;
    color: #ffffff;
	text-align: left;
	overflow: hidden;
} 

.resource-saf-results .entry-card img {
	opacity: 0.4;
}

.entry-card .entry-divider {
	top: 55%;
	height: 170px;
	position: absolute;
	background-image: url('/wp-content/uploads/2022/05/video-summary-label-back.jpg');	
	background-position: right;
	background-size: cover;
	min-width: 130%;/*ea added 5-20 */
	margin-left: -20px;/*ea added 5-20 */
}

.entry-card .wp-block-post-featured-image a {
    display: flex;
    min-height: 300px;
    margin-top: -15%;
    margin-bottom: 20%;
}

/* ea fix to address php 8.1 update */
.entry-card h2 {
	margin: 5px -15px;
}

[data-cards=cover] .entry-card {
	padding: 20px 0;
}

/* end ea fix to address php 8.1 update */


.akb-blog-query {
    height: 300px;
    overflow: hidden;
}

.akb-blog-query .wp-block-post-featured-image a {
    max-height: 300px;
    display: flex;
    margin-bottom:-300px;
} 

.akb-blog-query .wp-block-post-featured-image img{
    object-fit: cover;
    min-height: 300px;
}

.akb-blog-content-wrap {
    position: relative;
    padding: 30% 5% 5%;
    width: 100%;
    height: 300px;
    background-color: rgba(24,37,46,.6);

}



/* end of blog query styling */

/* Fostering Front Door Query Styling */

.ffd-loop-title-wrap {
	align-content: center;
	border-radius: 10px;
	background-color: #f0f5f6;
	position:relative;
}


/* end of ffd query styling */

/* Kids feature query styling */

.slider-card-title-back {
	background-image: url('/wp-content/uploads/2025/02/photo-label-GAKB.png');
	background-repeat: no-repeat;
	background-size: contain;
	height: 120px;
	width: 400px;
	position: absolute;
	bottom: 10px;
	left: 30px;
	padding: 40px;
	
}

.slider-card-title-back h6 {
	font-size: 20px;
}

.slider-card-img-container {
	background-size: cover;
	background-position: center center;
}

@media only screen and (max-width: 600px)  {
	.slider-card-title-back {
		height: 80px;
    width: 300px;
    position: absolute;
    bottom: 0px;
    left: 5px;
    padding: 30px;
	}
	.slider-card-title-back h6 {
	font-size: 16px;
}
}

/* end kids feature query styling */

.video-loop-title-content {
	background-image: url('/wp-content/uploads/2022/05/video-summary-label-back.jpg');
	margin:-45px 0 30px 0;
	position:relative;
	padding: 30px 15px;
	min-height: 120px;
}

.video-loop-title-content a {
	color:#ffffff;
	text-align:center;
}

.video-loop-feature-img-container {
	overflow: hidden;
}

.video-loop-feature-wrap {
	height: 280px;
    width: 100%;
    overflow: hidden;
}

.video-loop-feature-img-container {
	position: relative;
	/*bottom: 40px; */
}

.video-loop-feature-img-container img {
	min-width: 120%;
    min-height: 120%;
    margin-left: -10%;
    margin-bottom: -12%;
}

/* search filter resource content*/

.resource-saf-results-4up {
	width: 23%; 
	float: left; 
	margin: 0 0 2% 2%;
}

@media screen and (min-device-width: 600px) and (max-device-width: 960px) {
	.resource-saf-results-4up {
		width: 46%; 
		min-height: 480px;
		margin: 0 0 5% 2%;
	}
}

@media screen and (max-device-width: 600px) {
	.resource-saf-results-4up {
		width: 96%; 
		margin: 0 2% 5% 2%;
	}
}

.resource-saf-results .video-loop-title-content {
	background-color: #ffffff;
	background-image: none;
	margin: 0 auto;
	position: relative;
	padding: 30px 15px;
	text-align: center;
}

.resource-saf-results .video-loop-feature-wrap {
	border-bottom: 4px solid #f0f5f6;
	display: flex;
    justify-content: center;
    align-items: center;
}

.resource-saf-results .video-loop-title-content h2 a {
	color:#00829b;
	text-align:center;
}

.resource-saf-results .video-loop-feature-wrap img {
    vertical-align: middle;
	min-width: 100%;
	min-height: 280px;
	object-fit: cover;
}

.resource-saf-results ul li {
	list-style-type: none;
	margin: 0 40px 20px 0;
	float: left;
}

.resource-saf-results p {
	font-size: small;
	text-align: center;
}

.resource-saf-results h2 {
	text-align: left;
    font-weight: 600;
	font-size: 24px;
}

.page-numbers {
	width: 25%;
}

.page-navigation {
	widht: 50%
}
/* classes fro Fostering front door */


/* mobile classes for post query */

@media screen and (max-width: 900px) and (min-width: 600px) {
	.video-loop-title-content {
	background-image: url('/wp-content/uploads/2022/05/video-summary-label-back.jpg');
	margin:-75px 0 30px 0;
	position:relative;
	padding: 30px 15px;
}
	
.video-loop-feature-img-container img {
    min-width: 120%;
    min-height: 120%;
    margin-left: -10%;
    margin-bottom: 12%;
	}

}

/* query loop for blog archives 

*/