/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
.bg-color-theme{
	background-color:  #2d7005;
}
.color-theme{
	color: #2d7005;
}
.tag-color-theme  {
	background-color: #8ab33c;
	color:#FFF;
}
.mt-120 {
	margin-top: 120px;
}
.separator {
	display: flex;
	align-items: center;
	width: 100%;
}
.line {
	/* flex-grow: 1; */
	height: 1px;
	background-color: white;
	opacity: 0.5;
}
.text-black{
	color: black;
}
.text-green{
	color: #2d7005;
}
/* .entry-content p{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 4.5em; 
	line-height: 1.5em; 
} */
.entry-content-row-2{
	display: -webkit-box;
	-webkit-line-clamp: 2; /* Limits to 2 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 4.5em; /* Adjust based on line height */
	line-height: 1.5em; /* Ensures 3 lines */
}
.entry-content-row-3{
	display: -webkit-box;
	-webkit-line-clamp: 3; /* Limits to 2 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 4.5em; /* Adjust based on line height */
	line-height: 1.5em; /* Ensures 3 lines */
}
.entry-content-row-3{
	display: -webkit-box;
	-webkit-line-clamp: 3; /* Limits to 2 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 4.5em; /* Adjust based on line height */
	line-height: 1.5em; /* Ensures 3 lines */
}
.entry-content-row-3-s{
	display: -webkit-box;
	-webkit-line-clamp: 3; /* Limits to 2 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;

}
.entry-title-row-1  {
	display: -webkit-box;
	-webkit-line-clamp: 1; /* Limits to 3 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 4.5em; /* Adjust based on line height */
	line-height: 1.5em; /* Ensures 3 lines */
}
.entry-title-row-2  {
	display: -webkit-box;
	-webkit-line-clamp: 2; /* Limits to 3 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 4.5em; /* Adjust based on line height */
	line-height: 1.5em; /* Ensures 3 lines */
}
a.button.button-mini.bg-color-theme.button-rounded:hover {
	background-color: green !important;
	color: white;
}
/* slider */
.revo-slider-emphasis-text {
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -1px;
	font-family: 'Poppins', sans-serif;
	padding: 15px 20px;
	border-top: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
}
.revo-slider-desc-text {
	font-size: 20px;
	font-family: 'Lato', sans-serif;
	width: 650px;
	text-align: center;
	line-height: 1.5;
}
.revo-slider-caps-text {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 3px;
	font-family: 'Poppins', sans-serif;
}
.tp-video-play-button { display: none !important; }
.tp-caption { white-space: nowrap; }

/* zoom */
.zoom-img {
	height: auto;
	overflow: hidden;
}
.zoom-img img {
	width: 100%;
	transition: all .3s ease-in-out;
	border-radius: 0;
}
.zoom-img img:hover   {
	transform: scale(1.2);
}
.fslider .slide .slider-height > img{
	height: 430px;
	object-fit: cover;
	padding: 0 3px;
}
@media  (max-width: 500px) {
	.fslider .slide .slider-height > img{
	height: 250px;
	object-fit: cover;
	padding: 0 3px;
	}
}
/* end slider */

.right-footer-widget
{
	text-align: center;
	margin-top: 0px;
}

/* footer menu & news display
	============================================= */
@media  (min-width: 1200px) {
	.widget{
		text-align: left;
	}
	.footer-menu{
		visibility: visible;
		display: block;
	}
	.footer-mobile-menu{
		visibility: hidden;
        margin-top:20px;
	}
	.right-footer-widget
	{
		text-align: right;
		margin-top: 0px;
	}
	.news-display-desktop{
		display: block;
	 }
	.news-display-mobile{
		display: none;
	}
}

@media  (min-width: 768px) and (max-width: 1200px) {
	.widget{
		text-align: center;
	}
	.footer-menu{
		visibility: hidden;
		display: none;
	}

	.footer-mobile-menu{
		visibility: visible;
		display: block;
        margin-top:0px;
	}
	.right-footer-widget
	{
		text-align: center;
		margin-top: 20px;
	}
	.news-display-desktop{
		display: none;
	 }
	.news-display-mobile{
		display: block;
	}
}

@media only screen and (max-width: 768px) {
	.widget{
		text-align: center;
	}
	.footer-menu{
		visibility: hidden;
		display: none;
	}

	.footer-mobile-menu{
		visibility: visible;
		display: block;
        margin-top:0px;
	}
	.right-footer-widget
	{
		text-align: center;
		margin-top: 40px;
	}
	.news-display-desktop{
		display: none;
	 }
	.news-display-mobile{
		display: block;
	}
}

/* Logo & language  & banner
	============================================= */
.logo-width{
    width: 380px;
	object-fit: contain;
} 
.banner-padding
{
	padding: 80px 0  80px 0;
}
.news-section-margin
{
	margin-top: 80px;
}
.footer-display{
	display: block;
}	
@media  (min-width:1400px)
{
	.logo-width{
		width: 500px;
		object-fit: contain;
		}
	.logo-width-eng{
		width: 380px;
		object-fit: contain;
	    } 	 				  
}
@media  (min-width:1201px)
{
	.footer-display{
		display: flex;
	}	
	.container-padding{
		padding-left :100px;
		padding-right :100px;
	}	
}
@media (min-width:1024px) and (max-width:1200px) /*ipad pro 1024x1366  */
{
	.logo-width{
		width: 280px;
		object-fit: contain;
	} 
	.logo-width-eng{
		width: 370px;
		object-fit: contain;
	    }  
	.container-padding{
		padding-left :100px;
		padding-right :100px;
	}	
	.footer-display{
		display: block;
	}		 				  
}
@media  (min-width:500px)  and (max-width:1023px)   /* ipad mini 768 x 1024*/
{
	.logo-width{
		width: auto;
		object-fit: contain;
	} 
	#header-wrap #logo img{
		height: 90px;
	}
	.container-padding{
		padding-left :0px;
		padding-right :0px;
	}
	.footer-display{
		display: block;
	}			
}
@media  (max-width:500px) 
{
	.logo-width {
		width: auto;
		object-fit: contain;
	}
	#header-wrap #logo img{
		height: 70px;
	}
	.banner-padding
	{
		padding: 40px 0 0 0;
	}
	.news-section-margin
	{
		margin-top: 0px;
	}
	.container-padding{
		padding-left :0px;
		padding-right :0px;
	}
	.footer-display{
		display: block;
	}					
}
/* end Logo & language  & banner  */	

/* General footer styling */
.footer2 {
	background-color: #2f632b; /* Green background */
	padding: 15px 0;
	text-align: center;
} 
.footer2-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0px;
}
.footer2-logo {
	font-weight: bold;
	font-size: 18px;
	background-image: url(images/logo_fes_footer.jpg);
}
a.footer2-link{
	color: #FFF;
}
a.footer2-link:hover {
	color: #FFF;
}
/* Responsive adjustments */
@media (max-width: 600px) {
	.footer2-link,
	.footer2-logo {
		font-size: 14px;
	}

	.footer2-container {
		gap: 10px;
	}
}
/* end General footer styling */	

/* Course Categories 中學部
---------------------------------------------------------------------------- */
.course-categories .card a span {
	display: block;
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.course-categories .card a span i {
	display: block;
	margin-bottom: 5px;
	font-size: 20px;
}
.hover-effect {
	-webkit-transition:  transform .25s ease, box-shadow .3s ease;
	-o-transition:  transform .25s ease, box-shadow .3s ease;
	transition:  transform .25s ease, box-shadow .3s ease;
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	box-shadow: none;
	border: 0;
}
.hover-effect:hover {
	-webkit-transform: translateY(-2px);
	-ms-transform: translateY(-2px);
	-o-transform: translateY(-2px);
	transform: translateY(-2px);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.primary-menu-height
{
   height:60px;
}
@media (min-width:1026px)
{
	.img-cover>img{
		width: 80%;
	}
}
@media only screen and (max-width:1025px) 
{
	.img-cover>img{
		width:100%;
	}
}
@media (max-width:1000px)
{
	.primary-menu-height
	{
	height:0px;
	}
}


/* End Course Categories 中學部 */



/* 大專部
---------------------------------------------------------------------------- */

.table-category {
	width: 100%;
	background-color: white;
	border: 1px solid rgba(45, 112,  5, .3);
	margin: 0px;
	margin-bottom: 120px;

}

.table-category h3 {
	margin: 0;
	padding: 10px;
	background-color: #2d7005;
	color: white;
	font-size:larger
}

.table-category ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.table-category ul li {
	padding: 10px;
	border-bottom: 0px solid #eee;
	font-size:medium
}

.table-category ul li:last-child {
	border-bottom: none;
}


/*  toggle menu  */
.menu2 {
	width: auto;
	border: 1px solid #ccc;
}
.menu2-header {
	background:#2f632b;;
	color: white;
	padding: 10px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	font-weight: bold;
}
.menu2-item {
	padding: 10px;
	/* border-top: 1px solid #ddd;
	background: #f9f9f9; */
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}
.menu2-item:hover {
	background: #e9e9e9;
}
.submenu2 {
	display: none;
	background: #eef;
}
input[type="checkbox"] {
	display: none;
}
input[type="checkbox"]:checked + .submenu2 {
	display: block;
}
/*  End toggle menu  */

/*  toggle menu - grid & list  */
.view-toggle {
	display: flex;
	gap: 10px;
	margin-bottom: 0px;
	cursor: pointer;
    height: 50px;
    justify-content: flex-end;
}
.view-toggle span {
	padding: 5px;
	display: inline-block;    
}
.view-toggle span:hover {
	background: white;
}
.hidden {
    display: none  !important;
}
.toggle-icon i {
	color: lightgray;
	font-size: 20px;
	cursor: pointer;
	transition: color 0.2s ease-in-out;
}
.toggle-icon.active i {
	color: grey; /* Active icon is yellow */
}
.toggle-icon:hover i {
	color: lightgray; /* Darken color on hover */
}
/*  End toggle menu- grid & list  */

/*  list info  */ 
.list-info {
	font-size: 16px;
	line-height: 2.0;
}
.list-info b {
	font-weight: bold;
}
.list-info p {
	margin: 5px 0;
}
.list-button {
	display: inline-block;
	background: #2f632b;
	color: white;
	padding: 8px 20px;
	font-size: 16px;
	border: none;
	border-radius: 0px;
	cursor: pointer;
	text-decoration: none;
	margin-top: 20px;
}
.list-button:hover {
	background: #358a2f; 
	color: white;
}
/* Flexbox Fix for Proper Alignment */
.list-content-div {
	display: table;
}
.list-content-div .label {
	display: table-cell;
	white-space: nowrap;
	padding-right: 5px;
}
.list-content-div .content {
	display: table-cell;
}
 /*  end list info  */ 


.product-title-3-row {
	display: -webkit-box;
	-webkit-line-clamp: 3; /* Limits to 3 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-height: 4.5em; /* Adjust based on line height */
	line-height: 1.5em; /* Ensures 3 lines */
}

.product-height{
    height: 250px;
	}  
.post-desktop{
	display: block;
	}	 
.post-sort-mobile{
	display: none;
	}
.gutter-change {
	--cnvs-custom-gutter: 10px;
  }
@media (min-width:1500px)
{
	.product-height{
		height: 320px;
	}
	.post-desktop{
	display: block;
	}	 
	.post-sort-mobile{
		display: none;
	}
    .gutter-change {
	--cnvs-custom-gutter: 50px;
     }	 				  
}	
@media  (min-width:765px)  and (max-width:1490px)  /*ipad pro 1024x1366 */
{
	.product-height{
	  height: 320px;
	}
	.post-desktop{
	   display: block;
    }	 
	.post-sort-mobile{
		display: none;
	}
    .gutter-change {
	--cnvs-custom-gutter: 50px;
     }
     .view-toggle {
    justify-content:space-around
}	 	
}
@media  (min-width:501px)  and (max-width:765px) 
{
	.product-height{
	    height: 320px;
	} 
	.post-desktop{
	    display: none;
    }	 
	.post-sort-mobile{
		display: block;
	} 
    .gutter-change {
	--cnvs-custom-gutter: 30px;
     }		
}
@media only screen and (max-width:500px)  /*ipad mini 768x1024 */
{
	.product-height{
	   height: auto;
	}
	.post-desktop{
		display: none;
	}	 
	.post-sort-mobile{
		display: block;
	}	
    .gutter-change {
	--cnvs-custom-gutter: 30px;
     }				
}	
#myInput::placeholder {
	color: rgb(208, 208, 208);
	opacity: 1; /* Firefox */
  }
  
/* End 大專部 */


/* FES Home
---------------------------------------------------------------------------- */
.index-img-height{
    height: 180px;
	object-fit: cover;
	}  
img.lazyLoadInd{
	height: 180px;
	object-fit: cover;
	}
.catalog-img-height{
    height: 350px;
	object-fit: cover;
	}  

img.lazyLoadCat{
	height: 350px;
	object-fit: cover;
    }
.entry-title-height
	{
	height: auto;   /*	height: 40pt; */
	}
.entry-content-height{
	height: 60pt;
    }
.ul-text-indent ul{
    padding-left: 25px;
    }
.ol-text-indent ol{
    padding-left: 25px;
    }
@media (max-width:1026px) /*ipad mini 768x1024 ipad pro 1024 */
{
	.index-img-height{
		height: 500px;
		}  
	img.lazyLoadInd{
		height: 500px;
	   }
	.catalog-img-height{
		height: 200px;
    	} 
	img.lazyLoadCat{
		height: 200px;
	   } 
}
@media only screen and (max-width:500px)  
{
	.index-img-height{
		height: auto;
		}  
	img.lazyLoadInd{
		height: auto;
    	}
	.catalog-img-height{
		height: auto;
	    }
	img.lazyLoadCat{
		height: auto;
	    } 
	.entry-title-height
	{
	height: auto;
	}
	.entry-content-height{
	height: auto;
	}
	.rounded {
		border-radius: 0 !important;
	}
	}
/* End FES Home*/