/*
Theme Name: Customify Child
Template: customify
Version: 1.0.0
*/
/*
.primary-menu-ul > li > a:hover > span {
    border-bottom: 3px solid #FFF;
	background: rgba(255, 255, 255, 0.05);
	padding-top: 28px;
	padding-bottom: 23px;
}
*/
header {
	position: relative; /* or fixed/sticky, if already */
	z-index: 1000;       /* high enough to stay on top */
}

div.cover {
	height: 1000px;
}

figure.mainlogo {
	padding-top: 35px;
	text-align: center;
}

.hidden {
	display: none;
}

.colcenter {
	text-align: center;
}

.headline {
	padding-top: 25px;
}

.buttongroups {
	padding-top: 25px;
	padding-bottom: 50px;
}

.transparent {
	color: transparent !important;
	opacity: 0;
}

.background {
	img {
		position: relative;
	}
}

.backgroundtransparent {
	width: 100%;
	
	a {
		background-color: transparent !important;
	}
	
	a:hover {
		color: #FFFFFF;
		border-radius: 0;
		border: 5px solid #FFFFFF;
		padding: 5px;
	}
	
	.wp-block-button__link {
		border-radius: 0;
	}
}

a.backgroundtransparent {
	background-color: transparent !important;
	width: 100%;
}
	
a.backgroundtransparent:hover {
	color: #FFFFFF;
	border-radius: 0;
	border: 5px solid #FFFFFF;
	padding: 5px;
}

.backgroundtransparent2 {
	a {
		color: #265AB5;
		background-color: rgba(255, 255, 255, 0.5);
		font-weight: 800;
	}
	
	a:hover {
		color: #265AB5;
		border-radius: 0;
		border: 5px solid #265AB5;
		padding: 5px;
		font-weight: 800;
	}
	
	.wp-block-button__link {
		border-radius: 0;
	}
}

.button {
	a {
		background-color: transparent !important;
	}
	
	a:hover {
		color: #FFFFFF;
		border-radius: 0;
	}
	
	.wp-block-button__link {
		border-radius: 0;
	}
}

.overlay {
	position: absolute;
	top: 8%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white; /* or whatever color you need */
}

.center {
	text-align: center;
}

div.center div figure.wp-block-image {
	text-align: center;
	
	img {
		display: inline-block;
	}
}

.overlay2 {
	position: absolute;
	top: 5%;
	left: 75%;
	transform: translate(-50%, -50%);
	text-align: right;
	color: white; /* or whatever color you need */
}

h2.kicker,
div.kicker {
	padding-left: 40px;
	font-size: 16px;
	padding-bottom: 0px;
	margin-bottom: 5px;
}

div.kicker2 {
	padding-left: 50px;
}

.vidpad {
	padding-left: 40px;
	padding-right: 40px;
}

.padfirst {
	padding-left: 40px;
	padding-top: 65px;
	padding-bottom: 10px;
	
	li:not(:first-child)::before {
		content: "> ";
		margin-right: 4px;
		color: #374151;
		display: inline-block;
		font-size: 6px;
	}
	
	span > li {
		display: inline;
		margin: 0 4px 0 0; 
		
		span {
			font-size: 10px;
		}
	}
}

h2.accordiontitle {
	font-size: 20px;
	font-weight: 800;
	color: #11589F;
}

h2.accordionpad {
	padding-left: 25px;
}

h2.featuredpost {
	font-size: 32;
	font-weight: 800;
	color: #212121;
}

h2.pretitle {
	padding-bottom: 0;
}

h2.tableofcontentstitle {
	padding-top: 115px;
	padding-left: 75px;
	padding-bottom: 25px;
}

h2.tableofcontentstitle2 {
	padding-top: 0;
	padding-left: 75px;
	padding-bottom: 25px;
}

li.tableofcontentsitems {
	list-style-type: none;
	padding-bottom: 20px;
	padding-left: 40px;
}

a.tableofcontentsitems {
	padding-left: 20px;
	font-size: 16px;
	color: #212121;
	font-weight: 700;
}

a.tableofcontentsitems:hover {
	color: #4DA6FF;
}

a.tableofcontentactive {
	background: none !important;
	font-weight: 700;
	margin-left: 3px;
	border-left: 5px solid #4DA6FF;
	color: #4DA6FF;
}

div.header-top {
	position: fixed;
	width: 100%;
	z-index: 9999;
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

#BeforeFooter {
	padding-top: 64px;
	padding-bottom: 0px;
	background-color: #11589f; !important
}

#AfterFooter {
	padding-top: 0px;
	padding-bottom: 34px;
	background-color: #11589f; !important
}

.sidebar {
	position: sticky;
	top: 50px; /* Adjust this so it starts below the header */
	z-index: 50;
}

#TOCSidebar a.active {
  background: none !important;
  font-weight: 600;
  margin-left: 3px;
  border-left: 5px solid #4DA6FF;
	
  span {
	  color: #4DA6FF;
  }
}


.link-style-buttons .button:hover {
  color: #005177;
  text-decoration: none;
}

div.builder-item--logo {
	margin-left: 20px;
}

div.footer-main > div.footer--row-inner > div.customify-container,
footer > div > div > div.customify-container {
	max-width: 1510px; /* or any width you want */
    width: 100%;
}

h4.widget-title {
	margin-bottom: 30px;
}

.site-footer .menu,
.site-footer .menu li,
.site-footer .menu li a,
.site-footer .widget_nav_menu {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-color: transparent !important;
}

.primary-menu-ul > li {
	padding-top: 23px;
	padding-bottom: 23px;
}

.primary-menu-ul > li:has(a:hover) {
    border-bottom: 3px solid #FFF;
	background: rgba(255, 255, 255, 0.05);
	padding-top: 23px;
	padding-bottom: 20px;
}

.primary-menu-ul > li > a > span {
	text-transform: capitalize;
}

.my-before-footer-row {
    background-color: #fefefe;
    padding: 25px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    color: #333;
}

summary.accordion-title {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5em; /* space between arrow and text */
	list-style: none; /* removes default triangle in some browsers */
}

summary.accordion-title::-webkit-details-marker {
  	display: none; /* hides default arrow in WebKit browsers */
}

span.accordion-icon {
	padding-right: 10px;
	margin-bottom: 10px;
	color: #11589F;
}

.accordion-content {
  	margin-top: 10px;
	background-color: #eff5f7;
	padding: 10px;
}

h2.previewlink {
	cursor: pointer;
}

h2.previewlink::after {
	content: "\A Preview  \2197";
	white-space: pre; /* respects \A as line break */
	color: #4DA6FF;
	font-size: 12px;
}

.groupborder {
 	padding: 10px;
 	background-color: white;
	border: 1px solid #F0F0F0;
 	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.groupborder2 {
 	background-color: white;
	border: 1px solid #F0F0F0;
 	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.groupborder3 {
 	background-color: white;
	border: 1px solid #F0F0F0;
 	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

ul.check {
	list-style-image: url("https://cksc.testyoursolutions.com/wp-content/uploads/2025/07/mingcute_check-2-fill.png");
}

ul.announcement li {
 	padding: 20px;
 	background-color: white;
	border: 1px solid #F0F0F0;
 	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.full-stretched {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

h2.singletitle {
	padding-left: 40px;
	margin-bottom: 0;
	color: #4DA6FF;
	font-weight: 800;
	font-size: 16 !important;;
	font-family: 'Poppins', sans-serif;
}

h1.cpttitle {
	padding-left: 40px;
	color: #212121;
	font-weight: 800;
	font-size: 32 !important;;
	font-family: 'Poppins', sans-serif;
}

div.cptcontent {
	padding-left: 40px;
	padding-bottom: 40px;
	color: #212121;
	font-size: 12 !important;;
	font-family: 'Poppins', sans-serif;
}

figure.admission img {
	padding-left: 40px;
}

div.admissionblockgroup {
	padding-right: 120px;
	padding-bottom: 20px;
}

div.admissionsgroup {
	padding-left: 40px;
}

div.admission a {
	background-color: white;
	border: 1px solid #F0F0F0;
	border-radius: 2px;
 	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
	color: #11589F;
	font-weight: 800;
	font-size: 12px;
	text-align: left;
}

div.admission-top a {
	margin-top: 25px;
}

div.admission-bottom a {
	margin-bottom: 25px;
}

div.admission a::after {
	content: "          \2197";
	color: #11589F;
	font-size: 12px;
}

div.admissionbuttonsgroup {
	margin-top: 20px;
}

h2.pagetitle {
	color:#212121;
	font-size:32px;
	font-style:normal;
	font-weight:700;
	padding-left: 40px;
}

h2.pagetitle2 {
	color:#11589f;
	font-size:32px;
	font-style:normal;
	font-weight:700;
	padding-left: 40px;
}

div.divpad {
	padding: 25px;
}

div.divpad2 {
	padding: 10px 10px 0px 10px;
	margin-bottom: 0;
}

div.divpad3 {
	padding: 25px;
	margin-top: 35px
}

figure.divpad,
.divpad4 {
	padding-top: 25px;
	padding-left: 40px;
	
	@media (max-width: 820px) and (orientation: portrait) {
		width:100%
	}
}

div.divpad5 {
	padding-top: 25px;
}

div.contactdetails {
	border-top: 1px solid #c2c2c2;
	background-color: white;
	padding-top: 28px;
	padding-bottom: 28px;
}

h2.nopad {
	padding-left: 0;
}

h2.italized {
	font-style: italic;
}

div.borderbottom,
h2.borderbottom {
	border-bottom: 1px solid #212121;
	background-color: white;
}

.flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-wrapper {
  flex: 1 1 48%; /* 48% width with some gap */
  box-sizing: border-box;
}

a.admission {
	width: 100%;
}

h2.padtop {
	padding-top: 20px;
}

div.divblock {
	display: block;
}

div.directoryheader {
	padding: 5px;
}

h2.directoryheader {
	padding: 10px;
	margin-bottom: 0;
	background-color: #d3e9ff;
}

div.divcenter {
	text-align: center;
}

figure.wp-block-image.aligncenter {
  text-align: center;
}

figure.wp-block-image.aligncenter img {
  display: inline-block;
}

div.margin0 {
	margin: 0;
}

.wpforms-field.label-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* Optional: prevents overflow on small screens */
}

.wpforms-field.label-inline .wpforms-field-label {
	font-weight: normal;
	font-style: italic;
    margin: 0;
    white-space: nowrap;
	width: 150px; /* adjust as needed */
	flex-shrink: 0;
}

.wpforms-field.label-inline input,
.wpforms-field.label-inline select,
.wpforms-field.label-inline textarea {
    flex: 1;
    min-width: 0; /* Prevents overflowing */
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

/* Special case: align textarea label to the top */
.wpforms-field.label-inline textarea {
    height: 100px; /* Optional: make textarea taller */
}

.wpforms-field.label-inline.wpforms-field-textarea {
    align-items: flex-start; /* Align label to top of textarea */
}

.wpforms-container.custom-submit-style .wpforms-submit {
	background-color: white !important;
	color: #11589f !important;
	border: none;
	font-size: 12px;
	display: block;
	margin-left: auto;
	margin-right: 0;
  	cursor: pointer;
	border: 1px solid #F0F0F0;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.wpforms-container.custom-submit-style .wpforms-submit::after {
	content: "  \2197";
	white-space: pre; /* respects \A as line break */
	color: #11589f;
	font-size: 12px;
}

.responsive-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
}

.responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.image-column {
	display: flex;
	justify-content: center;   /* horizontal center */
	align-items: center;       /* vertical center */
	height: 100%;              /* or a fixed height if needed */
	width: 100%;               /* optional */
	overflow: hidden;          /* crop if image overflows */
}

.image-column img {
	width: 100%;
	height: auto;
	object-fit: contain;       /* maintain aspect ratio */
}

.partner-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 40px 20px;
	padding-left: 40px;
}

.partner-item {
	text-align: left;
}

.partner-item img {
	width: 100%;
	height: auto;
	display: block;
	max-width: 100%;
}

.partner-title {
	margin-top: 10px;
	font-weight: 800;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	text-align: left;
	color: #11589F;
}

/*
.card-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	padding: 25px;
}
*/

.card-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	padding: 25px;
	box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1024px) {
	.card-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 768px) {
	.card-container {
		grid-template-columns: 1fr;
		gap: 25px;
		padding: 15px;
	}
}

.card-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	padding: 25px;
}

.card {
	background: white;
	padding: 25px;
	transition: transform 0.2s ease;
}

.card:hover {
	transform: translateY(-5px);
}

.card img {
	width: 100%;
	height: auto;
	object-fit: cover;
	margin-top: 30px;
}

.card h2 {
	margin-top: 20px;
	font-size: 18px;
	font-weight: bold;
	text-align: left;
}

.card a {
	margin-top: 10px;
	margin-left: 0px;
	display: inline-block;
	color: #0073e6;
	font-size: 14px;
	text-decoration: none;
}

.card a:hover {
  	text-decoration: underline;
}

figure.full img {
	width: 100%;
	height: auto;
	display: block;     /* Removes any bottom spacing */
  	object-fit: cover;  /* Optional: ensures the image fills its box neatly */
}

.single-txcksianfrontliners .site-content .customify-container {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wp-block-post-template.annoucementscontainer {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
}

li.txannouncement {
	margin-left: 0;
}

.announcementcard {
	display: flex;
	flex-direction: column;
	height: 100%;
}

hr.announcementshr {
	margin: 10px 0 10px 0;
	width: 100%;
	border-top: 1px solid #ccc; /* or your preferred style */
	border-bottom: 0;
}

.event-carousel {
	max-width: 100%;
	padding: 20px;
	box-sizing: border-box;
}

.swiper-slide {
	display: flex;
	justify-content: center;
}

.container {
	width: 100%;
}

/*
div.southmont-header {
	margin-left: 45px;
}
*/

/* Desktop (default) */
.southmont-header {
  margin-left: 45px;
  display: flex;
  flex-wrap: nowrap; /* keep row layout on desktop */
  align-items: center;
  gap: 10px;
}

/* Make images responsive */
.southmont-header img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Heading styling */
.southmont-header h2 {
  font-size: clamp(18px, 2vw, 28px);
  margin: 0;
}

.southmont-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* keep images and text in one line on desktop */
    gap: 10px; /* optional spacing between items */
}

/* Ensure the container allows wrapping on mobile */
@media (max-width: 768px) {
    .southmont-header {
        display: flex !important;      /* override any existing flex settings */
        flex-wrap: wrap !important;    /* allow items to wrap */
        align-items: center;
        justify-content: center;       /* optional: center horizontally */
        gap: 10px;
    }

    /* Make the heading take full width */
    .southmont-header h2.wp-block-heading {
        flex: 0 0 100% !important;     /* full width */
        text-align: center;            /* center text */
        margin-top: 10px;              /* spacing below images */
    }

    /* Optional: make images responsive */
    .southmont-header figure.wp-block-image img {
        max-width: 100%;
        height: auto;
    }
}

div.flex {
	width: 600px;
}

.hover-box {
	display: flex;
	flex-direction: column; /* stack vertically */
	align-items: center;    /* horizontal centering */
	justify-content: center; /* vertical centering */
	text-decoration: none;
	padding: 1rem;
	width: 100%;
	box-sizing: border-box;
	border: 5px solid transparent;
	transition: border 0.3s ease;
}

.hover-box:hover {
	border: 5px solid #FFFFFF;
}

.hover-box img {
	height: auto;
	display: block;
}

.hover-box span {
	color: #FFFFFF;
	font-weight: bold;
	font-size: clamp(0.8rem, 2vw, 1.5rem); /* responsive text size */
	text-align: center;
}

@media (max-width: 1024px) {
	.partner-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.backgroundtransparent2 a,
	.hover-box span { font-size: 28px; }
}

@media (max-width: 820px) {
    .divpad4 {
        flex-basis: 95% !important;
        max-width: 95% !important;
        width: 95% !important;
    }
}

@media (max-width: 844px) {
	.wp-block-column.midcolumn {
/*
		width: 100% !important;
		max-width: 100% !important;
        flex: 0 100% 0 !important;
*/
		flex: 0 0 100% !important;       /* override inline flex-basis */
        width: 100% !important;
        max-width: 100% !important;
	}
	
	/* Force columns container to stack */
    .wp-block-columns {
        display: flex !important;         /* ensure flex layout */
        flex-direction: column !important; /* stack vertically */
        flex-wrap: nowrap !important;     /* no wrapping needed */
        width: 100% !important;
        max-width: 100% !important;
    }	
	
	.wp-block-column.hidecolumn {
        display: none !important;
    }
	
	.template-grid {
        grid-template-columns: 1fr !important;
    }
	
	.sidebar,
	.padfirst,
	.hidecolumn {
		display: none !important;
		visibility: hidden !important;
	}
	
	h2.pagetitle,
	h2.pagetitle2 {
		font-size: 24px;
	}
	
	.backgroundtransparent2 a,
	.hover-box span { font-size: 20px; }
}

@media (max-width: 600px) {
	.wpforms-field.label-inline {
		flex-direction: column;
		align-items: stretch;
	}

	.wpforms-field.label-inline .wpforms-field-label {
		width: auto;
		margin-bottom: 6px;
	}
	
	.partner-grid {
		grid-template-columns: 1fr;
	}
	
	.swiper-button-next,
    .swiper-button-prev {
        top: auto;
        bottom: 10px;
        transform: none;
    }
	
	.backgroundtransparent2 a,
	.hover-box span { font-size: 18px; } 
}

.button,
button,
input[type="button"],
input[type="submit"] {
  font-size: clamp(14px, 1vw + 12px, 18px);  /* min, fluid, max */
  padding: clamp(8px, 1vw + 6px, 14px) clamp(14px, 1.2vw + 10px, 22px);
}

/* Mobile-specific overrides */
@media (max-width: 600px) {
  .button,
  button,
  input[type="button"],
  input[type="submit"],
  .wp-block-button__link {
    font-size: 16px !important;
    padding: 6px 12px !important;
  }
	
  .overlay2 {
    display: none; !important;
  }
}

/* Hide mobile buttons on desktop */
.mobile-buttons {
  display: none;
}

/* Show on phones */
@media (max-width: 767px) {
  .mobile-buttons {
    display: flex;
    flex-direction: column; /* stacked vertically */
    gap: 10px;
    margin-top: 20px;
  }

  .mobile-buttons .wp-block-button__link {
    width: 100%;
    text-align: center;
    font-size: 18px;
  }
}

/* Container */
.card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

/* Card */
.custom-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fff;
    box-sizing: border-box; /* include padding/border in width */
}

/* Card elements */
.card-thumbnail {
	height: 60px;
    margin-bottom: 10px;
}

.card-title {
    margin-top: 0;
    color: #0A218F;
    font-weight: 600;
}

.card-excerpt {
    color: #212121;
    font-weight: 600;
}

.card-footer {
    margin-top: auto; /* pushes button to bottom */
}

.card-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 16px;
    background-color: #0A218F;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.card-icon {
    font-size: 1.2em;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
	.card-wrapper {
        grid-template-columns: 1fr;
    }
/*
    .custom-card {
        flex: 1 1 100%;
    }
*/
}