/*
INDEX
	- SWIPER
		- NEWS ROTATOR - HOME
		- SCHEDULE
		- ADMISSIONS
	- SPONSORS
	- OTHERS
	- LINKS
	- SCHEDULE VIDEO
	- FLIP CARD
	- BANNER
*/


/*-------------------------------------------------------------  FONTS  ------------------------*/

@font-face {
	 font-family: 'HolidayFree';
	 src: url('https://www.sjn-miami.org/ctm/31308/projects/SJN/layout01/fonts/HolidayFree.otf')  format('otf');
}

@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300..900&family=Playball&display=swap');

/*-----------------------------------------------------------  SWIPER --------------------------*/

/*@media screen and (max-width:649px) { .swiper-pagination { display: none; } }*/

@media screen and (min-width: 1180px) {
	.home-slide-top #swiper-top {
		min-height: 450px;
	}

	.home-slide-top .HIF-top {
		position: absolute;
		width: 100%;
		max-width: 850px;
		left: calc(50% - 425px);
		bottom: 30px;
		z-index: 10;
	}

	.home-slide-top .HIF-top section { width: 100%; }

	.home-slide-top .HIF-top section .content .HIF-extra-links {
		position: absolute;
		top: 30px;
		right: -100px;
	}
}

@media screen and (min-width: 880px) and (max-width: 1179px) {
	.home-slide-top #swiper-top {
		min-height: 450px;
	}

	.home-slide-top .HIF-top {
		position: absolute;
		width: 100%;
		max-width: 800px;
		left: calc(50% - 400px);
		bottom: 30px;
		z-index: 10;
	}

	.home-slide-top .HIF-top section { width: 100%; }

	.home-slide-top .HIF-top section .content .HIF-extra-links {
		position: absolute;
		top: 30px;
		right: -100px;
	}
}

@media screen and (max-width: 879px) {
	.home-slide-top #swiper-top {
		min-height: 600px;
	}

	.home-slide-top .HIF-top {
		position: relative;
		z-index: 10;
	}

	.home-slide-top .HIF-top section .content .HIF-extra-links {
		width: 220px !important;
		display: flex;
		justify-content: center;
		margin: 20px auto;
	}

	.home-slide-top .HIF-top section .content .HIF-extra-links .HIF-circle-buttons { margin: 10px auto !important; }
}

.home-slide-top #swiper-top {
	position: relative;
}

.swiper-button-prev {
	background-image: none;
}

.swiper-button-next {
	background-image: none;
}

.swiper-button-prev::before,
.swiper-button-next::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 20px;
}

.swiper-button-prev::before {
	content: "\f053";
}

.swiper-button-next::before {
	content: "\f054";
}

#pg-bar {
	bottom: 0;
	/*background-color: rgba(0,53,54,0.5);*/
	background-color: rgba(234, 234, 234, 0.5);
	width: 100%;
	padding: 5px 0;
	position: absolute;
	height: 20px;
	display: block;
	z-index: 2;
}

.home-slide-top #swiper-top .swiper-pagination {
	bottom: 5px;
	z-index: 2;
}

.home-slide-top #swiper-top .swiper-pagination .swiper-pagination-bullet {
	background-color: var(--gray3);
}

.swiper-pagination-bullet-active {
	opacity: 1 !important;
	background: var(--color_pl1) !important;
}

/*.swiper-pagination-bullet {
	background: white;
	opacity: .4;
}
*/

.home-slide-top #swiper-top div.swiper-slide {
	background-size: cover;
	background-position: center;
}

.home-slide-top #swiper-top .swiper-button-prev::before,
.home-slide-top #swiper-top .swiper-button-next::before {
	color: rgba(255, 255, 255, 0.5);
}

.home-slide-top { position: relative; }

.home-slide-top::before {
	content: " ";
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 5;
	top: 0;
	left: 0;
}

.home-slide-top .HIF-top section .content h1 {
	font-size: clamp(50px,7vw,80px);
	font-weight: 900;
	color: white;
	text-align: center;
	margin-bottom: 40px;
}

.home-slide-top .HIF-top section .content #MyAccount_list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 750px;
	margin: 0 auto;
}

.home-slide-top .HIF-top section .content #MyAccount_list a {
	background: white;
	padding: 4px;
	width: 110px;
	margin: 5px;
	font-size: 14px;
	text-align: center;
	font-weight: 600;
	color: #000;
	border-radius: 40px;
	transition: all 0.2s linear;
}

.home-slide-top .HIF-top section .content #MyAccount_list a:hover {
	background: var(--color_p);
	color: white;
	transition: all 0.2s linear;
}

.home-slide-top .HIF-top section .content .HIF-extra-links {
	width: 90px;
}

/*-----------------------------------------------------------  NEWS ROTATOR - HOME -------------------*/

#hm_news {
	padding-top: 40px;
}

#hm_news section .content h1 {
	color: var(--color_a);
}

#news_rotator {
	margin-bottom: 20px;
	padding: 0;
}

#news_rotator a {
	display: block;
	overflow: hidden;
}

#news_rotator img {
	width: 100%;
}

#news_rotator p.title {
	color: black;
	font-weight: 500;
	font-size: 19px !important;
	padding: 0 20px 20px;
	line-height: initial;
	text-align: center;
	font-family: 'Work Sans', sans-serif;
	margin-top: 20px;
	display: none;
	/*display: -webkit-box;*/
	/*-webkit-line-clamp: 2;*/
	/*-webkit-box-orient: vertical;*/
	overflow: hidden;
	text-overflow: ellipsis;
	height: 40px;
}

#news_rotator p.subtitle {
	display:  none;
	color: var(--color_ad1);
	font-size: 13px;
	padding: 0 20px 30px;
	font-family: 'Work Sans', sans-serif;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

.summary {
	display: none;
}

#news-rotator01 .swiper-pagination {
	margin-top: 20px;
	position: static;
}

#news-rotator01 .swiper-pagination .swiper-pagination-bullet {
	background-color: var(--gray3);
	border-radius: initial;
}


.swiper-button-next.hide {
	background: #b62522;
	border-radius: 100%;
	height: 37px;
	 width: 37px;
	text-align: center;
	 padding: 7px 7px 7px 10px;
	 color: #FFF;
}

.swiper-button-prev.hide {
	background: #b62522;
	border-radius: 100%;
	height: 37px;
	 width: 37px;
	text-align: center;
	 padding: 7px 10px 7px 7px;
	 color: #FFF;
	 left: 0;
	 
	
	 
}
.swiper-button-prev.hide:hover, .swiper-button-next.hide:hover{
	background: #b62522;
}

div#news-rotator01 {
	 overflow: hidden;
	 margin: 0 auto;
	padding: 0 3px;
}

/*------------------------------------------------------------  JOIN US IN WORSHIP  -------------------*/
.hm_join-worship {
	background: var(--color_a) url(/ctm/31308/projects/SJN/gallery/2026/11/bg-join-worship.JPG) bottom center no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-blend-mode: soft-light;
	color: white;
	padding: 40px 0;
}

.hm_join-worship section .content h2 {
	color: white;
	font-weight: 600;
	font-size: clamp(22px,5vw,40px);
	margin-top: 20px;
}

.hm_join-worship table.mass-schedule.default {
	max-width: 650px;
	width: 100%;
	margin-top: 0 auto 20px;
}

.hm_join-worship table.mass-schedule.default th.schedule-day {
	color: white;
	vertical-align: initial;
	text-align: left;
	border-bottom: 0;
	font-size: 18px;
}

.hm_join-worship table.mass-schedule.default td.schedule-event {
	font-size: 18px;
	font-weight: 500;
}

.hm_join-worship table.mass-schedule.default td.schedule-time { font-size: 18px; }

/*------------------------------------------  ALPHA & ADORATION  ----------------------*/
@media screen and (min-width: 600px) {
	.layer-boxes-2 .fx_2 { width: 50%; }
}

.layer-boxes-2 h1 {
	text-align: center;
	color: white;
	margin-bottom: 40px;
}

.layer-boxes-2 .fx_2.box-alpha {
	background: rgba(0,0,0,0.6) url(/ctm/31308/projects/SJN/gallery/2026/11/alpha-bg01.jpg) center no-repeat;
	background-size: cover;
	background-blend-mode: multiply;
	padding: 100px 0;
	margin: 0;
}

.layer-boxes-2 .fx_2.box-adoration {
	background: rgba(0,0,0,0.6) url(/ctm/31308/projects/SJN/gallery/2026/11/perpetual-adoration-bg01.jpg) center no-repeat;
	background-size: cover;
	background-blend-mode: multiply;
	padding: 100px 0;
	margin: 0;
}

.layer-boxes-2 .fx_2 .imgC.logo-ministry {
	max-width: 280px;
}