.fl-logo-img {
	max-height: 150px;
	width: auto !important;
}

@media (max-width: 1200px) {
	.fl-logo-img {
		max-height: 110px;
	}
}

@media (max-width: 500px) {
	.fl-logo-img {
		max-height: 90px;
	}
}

.fl-page-nav .navbar-nav, .fl-page-nav .navbar-nav a {
	font-size: 16px;
}

.post-658 .fl-row-fixed-width,
.post-5 .fl-row-fixed-width {
	min-width: 100% !important;
}

.post-658 .fl-slide-content-wrap,
.post-5 .fl-slide-content-wrap {
	text-align: center;
	float: right !important;
}

.post-658 h3.fl-slide-title,
.post-5 h3.fl-slide-title {
	font-family: 'Copse', serif;
	font-weight: 400;
	text-align: center;
	font-size: 70px;
}

.post-658 .fl-slide-0 .fl-slide-bg-photo,
.post-5 .fl-slide-0 .fl-slide-bg-photo {
	background-position: top;
}

.fl-node-5ca799cc0319e {
	border-top: 6px solid #e1251b;
}

span.wpcf7-list-item {
	margin-left: 0;
}

.login,
.rounded-red-button {
	background: #E22224;
	border: 1px solid #e1251b !important;
	border-radius: 5px;
	margin: auto 12px;
}

.rounded-red-button {
	margin: 0;
	padding: 6px 20px !important;
/**/
}

.login a,
.register a {
	display: flex;
	align-items: end;
}

.login a::after,
.register a::after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 19px;
	margin-left: 5px;
	transition: transform .5s ease;
	background-image: url(https://thornhillbaseball.net/wp-content/uploads/sites/3/2025/03/unnamed-file.png);
	background-size: 10px 12px;
	background-repeat: no-repeat;
	background-position: center;
}

.login a:hover::after {
	background-image: url(https://thornhillbaseball.net/wp-content/uploads/sites/3/2025/03/row-red.png);
	transform: translateX(5px);
}

.register a:hover::after {
	background-image: url(https://thornhillbaseball.net/wp-content/uploads/sites/3/2025/03/row-blue.png);
	transform: translateX(5px);
}

.login:hover a.nav-link,
.rounded-red-button:hover {
	color: #e1251b !important;
}

.register {
	background: #003047;
	border: 1px solid #003047 !important;
	margin: auto 0 auto 2px;
}

.register:hover a.nav-link {
	color: #003047 !important;
}

.login, .register, .rounded-red-button {
	border-radius: 45px;
/**/
}

.login a.nav-link, 
.register a.nav-link {
	font-size: 12px;
/**/
	color: #ffffff !important;
	padding: 6px 20px !important;
/**/
}

.register a.nav-link {
	padding: 6px 15px !important;
/**/
}

.login:hover,
.register:hover,
.rounded-red-button:hover {
	background: transparent;
}

/**/
@media (max-width: 767px) {
	.register, .login {
		margin: 15px;
		max-width: 120px;
	}
	
	.login a.nav-link, .register a.nav-link {
		padding: 4px 20px 7px !important;
	}
}

/*cuztom  header */
.fl-page-header .container {
	max-width: 1300px;
	width: 100%;
	padding: 10px 20px;
}

@media (min-width: 992px) {
	.fl-page-nav-right .fl-page-header-row .fl-page-header-logo-col,
			   .fl-page-nav-right.fl-page-header-fixed .fl-page-logo-wrap {
		width: 15%;
		flex: 0 0 15%;
		max-width: 15%;
	}
	
	.fl-page-nav-right .fl-page-header-row .fl-page-nav-col,
			.fl-page-nav-right.fl-page-header-fixed .fl-page-fixed-nav-wrap {
		width: 85%;
		flex: 0 0 85%;
		max-width: 85%;
	}
}

.fl-node-5ca799cc0319d .fl-slide-2 .fl-slide-content-wrap, .fl-node-5ca799cc0319d .fl-slide-1 .fl-slide-content-wrap {
	width: 100% !important;
}

/*style globlal*/
.hero_slider .pp-image-carousel .pp-carousel-image-container {
	background: no-repeat 0;
	background-size: cover;
}

.cards .card_img img {
	height: 491px !important;
	object-fit: cover;
}

.program_card .fl-callout-content {
	max-width: 687px;
	margin: 0 auto;
}

.program_card .fl-callout-text p {
	padding: 0 0 18px !important;
}

@media (max-width: 768px) {
	.cards .card_img img {
		height: 250px !important;
	}
	
	.post {
		max-width: 400px;
		margin: 0 auto;
	}
	
	.logo_slider .pp-logos-content .logo-slider-prev {
		left: -6px;
	}
	
	.logo_slider .pp-logos-content .logo-slider-next {
		right: -6px;
		left: auto;
	}
}

/*logo slider */
.logo_slider .pp-logos-content .logo-slider-nav {
	height: 26px;
	width: 26px;
	border-radius: 25px;
}

.logo_slider .pp-logos-content .logo-slider-prev {
	left: -45px;
}

.logo_slider .pp-logos-content .logo-slider-next {
	right: -45px;
	left: auto;
}

/*post style */
.post .fl-post-grid-image img {
	height: 221px !important;
	object-fit: cover;
}

.post .fl-post-grid-title {
	padding-top: 24px;
}

.fl-node-67d0be040216a .pp-image-carousel .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
}

@media (max-width: 768px) {
	.cards .card_img img {
		height: 337px !important;
	}
	
	.post {
		max-width: 400px;
		margin: 0 auto;
	}
	
	.logo_slider .pp-logos-content .logo-slider-prev {
		left: 100px;
	}
	
	.logo_slider .pp-logos-content .logo-slider-next {
		right: 100px;
	}
	
	.fl-node-67d0be040216a .pp-image-carousel .swiper-pagination-bullet {
		width: 9px;
		height: 9px;
	}
}

@media (max-width: 500px) {
	.logo_slider .pp-logos-content .logo-slider-prev {
		left: 0;
	}
	
	.logo_slider .pp-logos-content .logo-slider-next {
		right: 0;
	}
}

/* TBC PLAYOFFS */
.tbc-playoffs {
	color: #333333;
	font-family: "Open Sans", Arial, sans-serif;
	line-height: 1.5;
}

.tbc-playoffs * {
	box-sizing: border-box;
}

.tbc-playoffs h3,
.tbc-playoffs h4 {
	color: #333333;
	font-weight: 700;
}

.tbc-playoffs h3 {
	margin: 34px 0 8px;
	font-size: 30px;
}

.tbc-playoffs h4 {
	margin: 28px 0 8px;
	font-size: 22px;
}

.tbc-playoffs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0 0 16px;
	border-bottom: 1px solid #dddddd;
}

.tbc-playoffs-nav a {
	display: inline-block;
	padding: 9px 18px;
	color: #e1251b;
	background: #ffffff;
	border: 1px solid #bfbfbf;
	border-radius: 3px;
	font-family: Montserrat, Arial, sans-serif;
	font-weight: 700;
	text-decoration: none;
}

.tbc-playoffs-nav a:hover {
	color: #ffffff;
	background: #e1251b;
	border-color: #e1251b;
}

.tbc-division {
	margin: 0 0 48px;
	scroll-margin-top: 24px;
}

.tbc-note {
	margin: 0 0 18px;
	color: #686868;
}

.tbc-bracket-scroll {
	overflow-x: auto;
	padding: 4px 2px 16px;
}

.tbc-bracket {
	min-width: 900px;
	display: grid;
	gap: 42px;
	align-items: stretch;
}

.tbc-bracket.tbc-rounds-4 {
	grid-template-columns: repeat(4, minmax(205px, 1fr));
}

.tbc-bracket.tbc-rounds-3 {
	grid-template-columns: repeat(3, minmax(205px, 1fr));
}

.tbc-bracket.tbc-single-final {
	grid-template-columns: minmax(205px, 1fr);
	min-width: 260px;
	max-width: 360px;
}

.tbc-round {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: 28px repeat(8, 100px);
	position: relative;
}

.tbc-single-final .tbc-round {
	display: block;
}

.tbc-round-title {
	grid-row: 1;
	padding: 0 0 7px;
	color: #686868;
	border-bottom: 3px solid #e1251b;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.tbc-game {
	position: relative;
	align-self: stretch;
	justify-self: stretch;
	width: 100%;
	margin: 9px 0;
	background: #ffffff;
	border: 1px solid #dddddd;
	border-left: 5px solid #e1251b;
	border-radius: 3px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tbc-game:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	width: 44px;
	border-top: 2px solid #999999;
}

.tbc-game:before {
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	display: none;
	width: 22px;
	border-top: 2px solid #999999;
}

.tbc-round:last-child .tbc-game:after {
	display: none;
}

/* Four-game rounds occupy paired rows; later rounds sit at pair midpoints. */
.tbc-rounds-4 .tbc-round:nth-child(-n+2) .tbc-game:nth-of-type(1),
.tbc-rounds-3:not(.tbc-play-in-bracket) .tbc-round:first-child .tbc-game:nth-of-type(1) {
	grid-row: 2 / span 2;
}

.tbc-rounds-4 .tbc-round:nth-child(-n+2) .tbc-game:nth-of-type(2),
.tbc-rounds-3:not(.tbc-play-in-bracket) .tbc-round:first-child .tbc-game:nth-of-type(2) {
	grid-row: 4 / span 2;
}

.tbc-rounds-4 .tbc-round:nth-child(-n+2) .tbc-game:nth-of-type(3),
.tbc-rounds-3:not(.tbc-play-in-bracket) .tbc-round:first-child .tbc-game:nth-of-type(3) {
	grid-row: 6 / span 2;
}

.tbc-rounds-4 .tbc-round:nth-child(-n+2) .tbc-game:nth-of-type(4),
.tbc-rounds-3:not(.tbc-play-in-bracket) .tbc-round:first-child .tbc-game:nth-of-type(4) {
	grid-row: 8 / span 2;
}

.tbc-rounds-4 .tbc-round:nth-child(3) .tbc-game:nth-of-type(1),
.tbc-rounds-3 .tbc-round:nth-child(2) .tbc-game:nth-of-type(1),
.tbc-play-in-bracket .tbc-round:first-child .tbc-game {
	grid-row: 3 / span 2;
}

.tbc-rounds-4 .tbc-round:nth-child(3) .tbc-game:nth-of-type(2),
.tbc-rounds-3 .tbc-round:nth-child(2) .tbc-game:nth-of-type(2) {
	grid-row: 7 / span 2;
}

.tbc-rounds-4 .tbc-round:nth-child(4) .tbc-game,
.tbc-rounds-3 .tbc-round:nth-child(3) .tbc-game {
	grid-row: 5 / span 2;
}

/* Paired games meet halfway across the gutter, then feed the next card. */
.tbc-rounds-4 .tbc-round:nth-child(2) .tbc-game:nth-of-type(odd):after,
.tbc-rounds-3:not(.tbc-play-in-bracket) .tbc-round:first-child .tbc-game:nth-of-type(odd):after {
	width: 22px;
	height: 200px;
	border-right: 2px solid #999999;
}

.tbc-rounds-4 .tbc-round:nth-child(2) .tbc-game:nth-of-type(even):after,
.tbc-rounds-3:not(.tbc-play-in-bracket) .tbc-round:first-child .tbc-game:nth-of-type(even):after {
	width: 22px;
}

.tbc-rounds-4 .tbc-round:nth-child(3) .tbc-game:nth-of-type(odd):after,
.tbc-rounds-3 .tbc-round:nth-child(2) .tbc-game:nth-of-type(odd):after {
	width: 22px;
	height: 400px;
	border-right: 2px solid #999999;
}

.tbc-rounds-4 .tbc-round:nth-child(3) .tbc-game:nth-of-type(even):after,
.tbc-rounds-3 .tbc-round:nth-child(2) .tbc-game:nth-of-type(even):after {
	width: 22px;
}

.tbc-rounds-4 .tbc-round:nth-child(3) .tbc-game:before,
.tbc-rounds-4 .tbc-round:nth-child(4) .tbc-game:before,
.tbc-rounds-3:not(.tbc-play-in-bracket) .tbc-round:nth-child(n+2) .tbc-game:before,
.tbc-play-in-bracket .tbc-round:nth-child(3) .tbc-game:before {
	display: block;
}

.tbc-game-meta {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 10px;
	color: #686868;
	background: #f0f0f0;
	border-bottom: 1px solid #dddddd;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.tbc-team {
	min-height: 37px;
	display: grid;
	grid-template-columns: 24px 1fr auto;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	font-size: 14px;
}

.tbc-team + .tbc-team {
	border-top: 1px solid #eeeeee;
}

.tbc-team.tbc-winner {
	color: #b61f18;
	background: #fde9e7;
	font-weight: 700;
}

.tbc-seed {
	color: #686868;
	font-size: 11px;
}

.tbc-score {
	font-weight: 700;
}

.tbc-status {
	display: inline-block;
	margin: 7px 10px 9px;
	padding: 3px 7px;
	color: #555555;
	background: #f0f0f0;
	border-radius: 2px;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.tbc-status.tbc-final {
	color: #b61f18;
	background: #fde9e7;
}

.tbc-table-wrap {
	overflow-x: auto;
	border-top: 3px solid #e1251b;
}

.tbc-playoffs table {
	width: 100%;
	min-width: 720px;
	margin: 0;
	border-collapse: collapse;
	background: #ffffff;
}

.tbc-playoffs th,
.tbc-playoffs td {
	padding: 11px 12px;
	border: 1px solid #dddddd;
	text-align: left;
}

.tbc-playoffs th {
	color: #ffffff;
	background: #e1251b;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
}

.tbc-playoffs td {
	font-size: 14px;
}

.tbc-playoffs td:first-child {
	font-family: Montserrat, Arial, sans-serif;
	font-weight: 700;
}

.tbc-result-final {
	color: #b61f18;
	font-weight: 700;
}

.tbc-result-canceled {
	color: #8d1712;
	font-weight: 700;
}

.tbc-back {
	margin: 18px 0 0;
	font-size: 13px;
}

.tbc-back a {
	color: #e1251b;
}

@media (max-width: 700px) {
	.tbc-playoffs h3 {
		font-size: 25px;
	}
}