/*
Theme Name: BlankSlate Child
Theme URI: https://efcoc.org/
Template: blankslate
Author: EFCOC
Author URI: https://efcoc.org/
Description: Child theme to blank slate with changes to css to create a website fitting to our needs
Version: 1.1.1726769592
Updated: 2025-05-02 1:45:06

*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

html, body{
	overflow-x: hidden;
}

body{
	background-color: #F5F1EC;
}

#header a{
	color: #1A3636;
}

*{
   margin: 0;
   padding: 0;
   list-style: none;
   border: 0;
   outline: 0;
   text-decoration: none;
   color: inherit;
   box-sizing: border-box;
}

.page-id-1548 header, .page-id-1548 footer{
	display: none !important;
}

#header {
	display: none;
	padding: 15px;
	position: fixed;
	z-index: 2;
	justify-content: space-between;
	align-items: center;
	margin: 15px;
	width: calc(100% - 30px);
	z-index: 999999;
}

#brandingBox {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
}

#logo {
    width: auto;
    max-height: 95px;
    display: block;
}

.name{
	font-size: 30px;
	font-family: 'Manrope', sans-serif;
	font-weight: 550;
	font-size: 38px;
	text-wrap: nowrap;
	letter-spacing: 1.8px;
}

.desktop-menu{
	display: flex;
	gap: 15px;
	text-decoration: underline white 1px;
	text-underline-position: under;
}

.nameContainer{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	padding-left: 8px;
}

a[title="EFCOC 柑縣台福教會"]{
	font-size: 30px;
}

.longName{
	font-size: 15px;
	text-wrap: pretty;
    font-family: "geometric sans-serif", sans-serif;
	font-weight: 400;
}

.changeLang{
	display: none;
}

a{
	text-decoration: none;
	color: #9197ae;
	font-size: 23px;
	font-family: "geometric sans-serif", sans-serif;
	font-weight: 300;
	letter-spacing: 0.2px;
}

button.ff-btn.ff-btn-submit.ff-btn-md.formBtn.ff_btn_style.wpf_has_custom_css {
    background-color: transparent !important;
    color: black !important;
	border: 1px solid #708090;
}

button.ff-btn.ff-btn-submit.ff-btn-md.formBtn.ff_btn_style.wpf_has_custom_css:hover {
    background-color: #167fe9 !important;
    color: #f0f0f0 !important;
}


body{
	margin: 0;
}

#footer{
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 100vw;
	height: 250px;
	background-color: #605447;
	padding: 25px;
	border-top: 1px solid black;
}

#footerBox{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	max-width: 1600px;
	width: 100%;
	height: 100%;
}

#footerBranding, #footerRight{
	display: flex;
	gap: 8%;
	height: 100%;
}

#footerBranding{
	width: 40%;
}

#footerRight{
	width: 60%;
	justify-content: flex-end;
}

#site-title{
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#otherContainer{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footerMenu{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footerLinks, .footerHeaders{
	padding: 0;
	margin: 0;
}

#footer *:focus, #footer *:active{
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
}

#footer a{
	text-decoration: none;
	color: #f5f1ec;
}

#socials{
	display: inline-flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 10px;
}

.footerHeaders{
	font-family: "geometric sans-serif", sans-serif;
	letter-spacing: 0.2px;
	font-weight: 400;
	font-size: 23px;
	border-bottom: 1px solid #f5f1ec;
	color: #f5f1ec;
}

.footerLinks, #footerChineseMenu a, #footerEnglishMenu a{
	font-family: "geometric sans-serif", sans-serif;
	font-weight: 300;
	font-size: 15px;
	text-wrap: nowrap;
	letter-spacing: 0.2px;
	color: #f5f1ec;
}

.footerLinks::after, #footerChineseMenu a::after, #footerEnglishMenu a::after{
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: #000;
	transition: width .3s;
}

.footerLinks:hover::after, #footerChineseMenu a:hover::after, #footerEnglishMenu a:hover::after{
	width: 100%;
	transition: width .3s;
}

#socials .icon {
	position: relative;
	background: transparent;
	border-radius: 50%;
	padding: 15px;
	margin: 10px;
	width: 10px;
	height: 10px;
	font-size: 18px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: #ddd9d4;
	box-shadow: 0 10px 10px rgba(245, 241, 236, 0.1);
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}  

#socials .tooltip {
	font-family: "Poppins", sans-serif;
	position: absolute;
	top: 0;
	font-size: 14px;
	background: #ffffff;
	color: #ffffff;
	padding: 5px 8px;
	border-radius: 5px;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#socials .tooltip::before {
	position: absolute;
	content: "";
	height: 8px;
	width: 8px;
	background: #ffffff;
	bottom: -3px;
	left: 50%;
	transform: translate(-50%) rotate(45deg);
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#socials .icon:hover .tooltip {
	top: -45px;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#socials .icon:hover span,
#socials .icon:hover .tooltip {
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

#socials .facebook:hover,
#socials .facebook:hover .tooltip,
#socials .facebook:hover .tooltip::before {
	background: #1877F2;
	color: #ffffff;
}

#socials .instagram:hover,
#socials .instagram:hover .tooltip,
#socials .instagram:hover .tooltip::before {
	background: linear-gradient(to right, #6228d7 0%, #ee2a7b 50%, #f9ce34 100%);
	color: #ffffff;
}

#socials .flickr:hover,
#socials .flickr:hover .tooltip,
#socials .flickr:hover .tooltip::before {
	background: linear-gradient(to right, #0063dc 0%, #0063dc 50%, #ff0084 50%, #ff0084 100%);
	color: #ffffff;
}

#socials .youtube:hover,
#socials .youtube:hover .tooltip,
#socials .youtube:hover .tooltip::before {
	background: #CD201F;
	color: #ffffff;
}

#mobileMenu{
    display: none;
}

#mobileMenu a{
	width: 100%;
	height: 100%;
	color: #f0f0f0;
}

.desktopMenu{
	display: block;
}

/*Css for tablets and smaller*/
@media only screen and (max-width: 1024px){
	#mobileMenu {
        display: block;
		text-align: right;
    }
	
	.desktopMenu{
		display: none !important;
	}
	
	.container {
        width: 100%;
        padding: 10px;
    }
	
	#header{
		justify-content:space-between;
		padding: 5px 25px 5px 10px !important;
	}
	
	.longName{
		max-width: 200px;
	}
	
	body::before{
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.5s ease, visibility 0s linear 1s;
		z-index: 8;
	}
	
	body.dimBack::before{
		opacity: 1;
		visibility: visible;
		transition-delay: 0s;
	}
	
	#branding, #hamburgIcon{
		position: relative;
		left: 0;
	}
	
	#menu-english-menu-1{
		border: 1px solid #f0f0f0;
		border-top: 0;
	}

	#mobileEnglishMenu, #mobileChineseMenu, #mobileMenuList {
        display: none;
        flex-direction: column;
        top: 100%;
        width: 100%;
        right: 0;
        position: absolute;
    }
	
	#mobileEnglishMenu, #mobileChineseMenu{
		border: 1px solid #f0f0f0;
		border-top: 0;
	}
	
	#mobileMenu .menu-item {
        border-top: 1px solid #f0f0f0;
        padding: 5px 15px;
        background: #1A3636;
		display: flex;
    }
	
	#mobileChineseIcon, #mobileEnglishIcon {
		display: none;
        padding: 5px 15px;
        background: #1A3636;
		border: 1px solid #f0f0f0;
		border-bottom: 0;
		position: relative;
		right: 0;
    }
	
	#footer{
		height: 100% !important;
	}
	
	.footerMenu{
		padding-top: 15px;
	}
	
	#footerBox{
		flex-direction: column;
	}
	
	.footerHeaders, #otherContainer{
		position: relative;
		width: 100%;
	} 
	
	.footerLinks, #footerChineseMenu a, #footerEnglishMenu a{
		font-size: 20px;
		text-align: center;
	}
	
	#socialsContainer{
		display:flex;
	}
	
	#footerBranding, #footerRight, .footerMenu, #socialsContainer{
		flex-direction: column;
		width: 100% !important; 
		align-items: center;
	}
}

/*CSS for tablet and smaller devices*/
@media only screen and (max-width: 768px){
    html, body {
        overflow-x: hidden;
    }
	
    /* Make images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
}