/*
Theme Name: theme child
Description: Child theme for generic theme
Author: Magtype
Template: theme
*/

/* custom css */

.desktop {display:none;}

.logodesktop {display:block;}
.logomobile {display:none;}

.logo {float:left;display:none;}


.whitetext p {color:#FFFFFF;}

.aligncenter{margin:20px auto;}
.alignleft {margin: 0 30px 10px 0;}

a {color:#1e8dc1; text-decoration:none;}
a:hover {color:#3cb0fd;}

a.more-link {display: block; padding-top: 8px;}

.readnews {padding-top:9px; display:block;}
.readnews::after { 
	  content: " ››";
}

/* 5-29-2019 */
#bb-header-container-header {
	background-color: #25274d;
}

/* Home Page News Section */

.newsrow {padding:0 0 0 4%;}
.newscolumn {float:left;}
.one-third {width:32%; padding:0 1% 0 1%;}

/* Home Page Video Section */

.home-video-left {padding: 0% 4% 5% 5%; float:left; width:38%; clear:both;}
.home-video-right {width:58%; float:right;}


html, body {
	word-wrap: normal;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
   font-family: 'Hind', sans-serif;
   font-weight:400;}
 
 p {
	font-family: 'Hind', sans-serif;
	font-size:16px;
	line-height:26px;	
	color:#7f7f7f;
	margin: 0px 0px 20px 0px;} 

.title {
	position: absolute;
	right:0;
	top:370px;
}

.single-post #content p {
	font-family: 'Hind', sans-serif;
	font-size:16px;
	line-height:26px;	
	color:#7f7f7f;
	margin: 0px 0px 20px 0px;} 

.entry-content ul {
	font-family: 'Hind', sans-serif;
	font-size:16px;
	line-height:26px;	
	margin: 0px 0 30px 40px;
	color:#7f7f7f;}

.introcopy {font-size:18px; line-height:28px;}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Noto Sans TC', sans-serif; 
	text-transform:uppercase;
	color:#464866;
	font-size:36px;
	line-height:39px;
	font-weight:700;
	margin-top:0px;
	margin-bottom:0px;}

.boxtitle {font-size:22px; color:#FFF; text-align:center; line-height:28px; font-weight:700; margin-bottom:8px;}
.subtitle {font-size:20px; line-height:20px; font-weight:400; margin-bottom:5px;}

.homepage-hero {
	min-height:500px;
	width:100%; }

.fif-funds-hero {
	min-height:1300px;
	width:100%;	
	/*background: url('https://www.foundationsinfaith.org/wp-content/uploads/2022/01/NEW-FIF-Infographic.png') center top no-repeat; background-size: cover;
*/}

body.home .entry-content {padding-top:0;}
.entry-content {padding-top:5%;}

.btn {
	display: inline-block;
	vertical-align: middle;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 14px;
	text-transform: uppercase;
	color: #464866;
	border-radius: 34px;
	border: 1px solid #464866;
	padding: 0 25px;
	font-weight: 400;
	transition: all .3s;
	height: 43px;
	line-height: 44px;
	margin-top: 9px;
	text-decoration:none;}

.btn:hover {
	background-color: #aaabb8;
	color:#FFF;
	border: 1px solid #aaabb8;}

.btn2 {
	display: inline-block;
	vertical-align: middle;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color:#FFF;
	font-size: 14px;
	text-transform: uppercase;
	border-radius: 34px;
	border: 1px solid #FFFFFF;
	padding: 0 25px;
	font-weight: 400;
	transition: all .3s;
	height: 43px;
	line-height: 44px;
	margin-top: 9px;
	text-decoration:none;}

.btn2:hover {
	background-color: #aaabb8;
	color:#25274d;
	border: 1px solid #aaabb8;}

li#menu-item-35.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-35 {
	background-color:#29648a;
	padding-left:20px;}
	
#header {background-color:#25274d; padding: 0;}

.search-submit {
	display:block;
	padding: 8px!important;
	background-color: transparent!important;
	color: #FFFFFF!important;
	font-family: 'Noto Sans TC', sans-serif!important;
	font-size: 12px!important;
	border-style: solid!important;
	border-color: #FFFFFF!important;
	border-radius: 0px;
	border-width: 1px!important;
	margin-right:20px;
	margin-top:1px;}

#search .search-field {
	font-size: 12px;
	padding:8px; background-color:transparent;
	color:#FFF;
	border-color:#FFF;
	border-width:1px;
	border-style:solid;
	margin-top:30px;
	margin-right:6px;}
  
.entry-content ul {color:#7f7f7f; font-size:15px; list-style:disc; text-indent: 0px;}
.entry-content li {line-height:150%;}
.entry-content ul li:before {content:none;}


div.menu-main-container {height:40px; padding-top:5px;}

#menu {background-color:#25274d; margin-left:auto; margin-right:auto; margin-top:0px; padding-top:0px; text-align:center;}
#menu ul li {color:#FFF;}

#menu ul li a {
	color:#FFF;
	line-height:16px;
	text-transform:uppercase; 
	margin-right:25px;
	padding-bottom: 0px;
	margin-top:0px;
	font-size:16px;}

#menu li ul {top:36px; }

#menu ul li:hover ul li a {background-color: rgba(37, 39, 77, 0.9); border-width:0px;}

/* Title and Tagline */

/* 5/3/2019 branding */
#branding {display: none;}

#fullcontent {
	width:100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;}

#container {padding:0px 5% 5% 5%;}

.intro {font-size:24px; line-height:32px;}

#pg-w5c1d26cb93dec-0 {margin-bottom:0px!important;}

/* News */

.entry-meta {margin:10px 0;}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {margin-bottom:4%;}

body.post-template-default #sidebar {display:none;}
body.post-template-default #content {
	width: 65%;
	padding-right: 0;
	margin:0 auto 0 auto;
	float: none;}

body.post-template-default .homepage-hero {display:none;}
body.post-template-default .entry-content {padding-top:0px;}
body.post-template-default #container {padding-top:5%;}
body.post-template-default #container {padding-top:5%;}

span.author.vcard {display:none;}
span.meta-sep {display:none;}

div#comments {display:none;}
span.cat-links {display:none;}
span.comments-link {display:none;}

body.page-id-83 .homepage-hero {min-height:250px;}
body.page-id-84 .homepage-hero {min-height:250px;}

body.search-results .homepage-hero {min-height:250px;}
body.search-results  #container {padding-top:5%;}

body.search-results  #content {
width: 65%;
padding-right: 0;
margin: 0 auto 0 auto;
float: none;}

body.search-results h1.entry-title {margin-bottom:10px;}
body.search-results h2.entry-title {font-size:24px; line-height:26px;}

/* Footer */

.addressfooter {margin-bottom: 40px; padding-top:30px;}

#footer {overflow:auto; padding: 2% 5% 25px 5%;}

#footer p {color:#ebebeb;}
#footer h3 {color:#ebebeb;}

#footer {margin-top:0px;}

#footer-sidebar {
	padding:0 8% 0 8%;
	display:block;
	height: 200px;}

#footer-sidebar1 {width:62%; float:left;}
#footer-sidebar2 {width:38%; float:left;}


.lsow-grid-item.lsow-odometer {text-align:center;}
.odometer-value, .odometer-formatting-mark {color:#FFF;}

.lsow-odometers .lsow-odometer .lsow-stats-title {color:#FFFFFF !important;}

.lsow-odometers .lsow-odometer .lsow-number {margin-bottom:0px;}

nav#menu {padding-bottom:12px;}

/* 2/2/2019 added by erik */
.lsow-odometers .lsow-odometer .lsow-number span {
    font-size: 55px !important; letter-spacing:0px!important; white-space: nowrap;
}

blockquote p {
	font-size: 16px;
	line-height: 26px;}

blockquote {
padding: 0px 0 0px 60px;
margin-top:15px;
margin-bottom:15px;
border: 0px solid #eee;
text-align: right;
position: relative;
font-style: italic; }

blockquote:before {
content: '“';
width: 50px;
font-family: 'Georgia', serif;
font-size: 72px;
line-height: 55px;
font-weight: 700;
font-style: normal;
text-align: center;
color: #1e8dc1;
position: absolute;
top: 0px;
left: 0px; }

/* About Us */

div.panel-widget-style.panel-widget-style-for-12-1-0-0 {
	max-height: 700px;
	height: 450px;}

/* Donate */
body.campaign-template-default .entry-meta {display:none;}

.campaign-description {
	font-family: 'Hind', sans-serif!important;
	font-size:18px!important;
	line-height:28px!important;	
	color:#7f7f7f!important;
	margin-bottom:15px!important;
	font-weight:400!important;}

input {background: #ececec; padding:15px; margin-top:0px;}

.button {
	background:#FFF!important; 
	font-family: 'Hind', sans-serif!important; 
	vertical-align: middle!important; 
	-webkit-appearance: none!important; 
	-moz-appearance: none!important; 
	appearance: none!important; 
	font-size: 14px!important; 
	text-transform: uppercase!important; 
	color: #464866!important; 
	border-radius: 34px!important; 
	border: 1px solid #464866!important; 
	padding: 0 25px!important; 
	font-weight: 400!important; 
	transition: all .3s!important; 
	height: 43px!important; 
	line-height: 44px!important; 
	margin-top: 9px!important; }

.button:hover {
	background-color: #aaabb8!important;
	color:#FFF!important;
	border: 1px solid #aaabb8!important;}


li.donation-amount.custom-donation-amount {margin-top:15px!important; border-radius: 6px!important; padding:5px!important;}

.charitable-donation-form .donation-amounts {border-radius: 6px!important; padding:5px!important;}


#pg-w5c06cd6c1b031-0 {margin-bottom:10px!important;}



/* Gravity Forms Donate (Added 12/20/2018) */
.ginput_price {
    display: none;
}

.gfp_big_button .gfield_radio li input[type=radio] {
    display:none;
}
.gfp_big_button .gfield_radio label {
    /* max-width: 300px; */
    max-width: 100% !important;
    width: 100%;
    margin: 0px auto;
    padding: 10px 30px !important;
    float: none;
    /*background: #f47f26;*/
    background: #25274d;
    color: #fff;
    letter-spacing: 0.09375rem;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    font-family: Open Sans, sans-serif;
    font-weight: 600;
    margin: 0;
    display: block;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out;
    -webkit-appearance: none;
    cursor: pointer;
    line-height: 1;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-size: 1.1em;
    box-sizing: border-box;
}

.gfp_big_button .gfield_radio label:hover {
    /* background: #414142; */
    background: #29648a;
}

.gfp_big_button .gfield_radio li input[type=radio]:checked+label { font-weight: bold; background: #D4A00F; }


/* News and Events */

lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item .lsow-project-image .lsow-image-info .lsow-post-title a:hover {border-bottom:0px;}

.lsow-portfolio-wrap .lsow-taxonomy-filter .lsow-filter-item.lsow-active:after {border-bottom: 3px solid #29648a;}

.lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item .entry-summary:before {height:0px;}

.lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item .lsow-entry-text-wrap {text-align:left;}

body.postid-69 h1.entry-title {padding-top:5%;}


/* Board of Directors */
/*.initiallyHidden { display: none !important; }*/
.accordion_btn {
	transition: transform 0.2s ease-in-out;
}
.board-member-name {margin-top: 64px;} 
.board-member-name p {
	color: #464866 !important;
}
.bio-label {
	text-align:right;
}
.board-member-img {
	text-align: center;
}

/* Covid Menu Item */
#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item-36 > a.mega-menu-link  {
color:#FDC21A;
}

/* Donate Button */
.btn-donate-small {
  background: #d5a00f;
  /*-webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;*/
  color: #ffffff !important;
  font-size: 16px;
  padding: 5px 10px 5px 10px;
  text-decoration: none;
}

.mobile-donate {height:60px;}

	
.mobile-donate-button {
	background: #fdc21a;
    color: #25274d;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
   }
a.mobile-donate-button:hover {
    color: #25274d;
   }   


@media all and (max-width:1390px){	

	.lsow-odometers .lsow-odometer .lsow-number span {font-size:35px!important;}
	
	}


@media all and (max-width:1200px){	

	.lsow-odometers .lsow-odometer .lsow-number span {font-size:35px!important;}
	
	}

@media all and (max-width:962px){	

	.lsow-odometers .lsow-odometer .lsow-number span {font-size:32px!important;}
	.fif-funds-hero	{background: url('https://www.foundationsinfaith.org/wp-content/uploads/2022/02/mobile-funds-hero-web.png') center top no-repeat; background-color:  #2E4894;min-height:1400px;background-size: contain;}
}


@media all and (max-width:900px){	

	.lsow-grid-container {
		margin-left: -10px!important;
	margin-right: -10px!important;}
	
	.lsow-grid-container.lsow-grid-desktop-4 .lsow-grid-item {margin-left:10px;}
	
	body.post-template-default #content {width:98%;}
	body.search-results  #content  {width:98%;}
	
 .one-third {width:100%; float:none; margin-bottom:25px; padding:0px;}
	
	a.more-link {display:block;}

}




@media all and (max-width:860px){	
	.lsow-odometers .lsow-odometer .lsow-number span {font-size:31px!important;}
	
}

@media all and (max-width:820px){	
	.lsow-odometers .lsow-odometer .lsow-number span {font-size:28px!important;}
}


@media all and (max-width:780px){	
	

	.accordion_btn {
	display:none;
	}
	.bio-label {
	display:none;
	}
	.board-member-name p {
	color: #464866 !important;
	text-align: center;
	}	
}

@media all and (max-width:768px){	
	
	.home-video-left {padding: 0% 0% 2% 0%; float:none; width:100%; clear:both;}
	.home-video-right {width:100%; float:none;}
	
	
	#footer-sidebar1 {width:100%; float:left;}
	#footer-sidebar2 {width:100%; float:left;}
	
	.logo {float:none; text-align:center;}
	#search {float: none; text-align: center; margin-right:0px;}

}

@media all and (max-width:640px){	

.addressfooter {margin-bottom: 40px!important; padding-top:0px;}
.wp-image-42 {float:none;}
}

@media all and (min-width:768px){
.mobile-donate {display: none;}	
	}
