/*   
Theme Name: Canaan UMC
Author: Sandlapper Creative
Author URI: http://www.sandlappercreative.com
Version: 1.0
*/

/*Reset*/
a,hr{padding:0}a,input[type=checkbox]{vertical-align:baseline}article,aside,figure,footer,header,hgroup,hr,img.aligncenter,nav,section{display:block}abbr,address,article,aside,audio,b,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0;margin:0;padding:0}td,td img{vertical-align:top}embed,img,object{max-width:100%;height:auto;}html{overflow-y:scroll}ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}a{font-size:100%;background:0 0;margin:0}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}.alignleft,img.alignleft{float:left;margin:15px 15px 15px 0}alignright,img.alignright{float:right;margin:15px 0 15px 15px}.aligncenter,img.aligncenter{margin:15px auto}table{border-collapse:collapse;border-spacing:0;font:100%}th{vertical-align:bottom}td{font-weight:400}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:middle}pre{white-space:pre-line;word-wrap:break-word}input,select,textarea{font:99% sans-serif}a:active,a:hover{outline:0}small{font-size:85%}strong,th{font-weight:700}sub,sup{font-size:75%;line-height:0;position:relative}sup{top:-.5em}sub{bottom:-.25em}code,kbd,pre,samp{font-family:monospace,sans-serif}.clickable,button,input[type=button],input[type=submit],label{cursor:pointer}button,input,select,textarea{margin:0}button{width:auto;overflow:visible}.ie7 img{-ms-interpolation-mode:bicubic}.ie6 html{filter:expression(document.execCommand("BackgroundImageCache",false,true))}.clearfix:after,.clearfix:before{content:"\0020";display:block;height:0;overflow:hidden}.clearfix:after{clear:both}.clearfix{zoom:1}.ie6 input,input[type=radio]{vertical-align:text-bottom}


/*Styles*/

body{ font-family: "sweet-sans-pro", sans-serif;}
body, select, input, textarea{}

a{ color: #d6403d;}
a:hover, a:focus{ color: #1b2426;}
.button, button{ -webkit-appearance: none; display: inline-block; font-size: 14px; line-height: 14px; text-transform: uppercase; text-decoration: none; padding: 15px 40px 17px; border: 2px solid #d6403d; border-radius: 100px; color: #072c4b; font-weight: 800; margin-top: 40px; background: none;}
.button:hover, button:hover, .button:focus, button:focus{ background-color: #d6403d; color: #fff;}
.screen-reader{ position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;}
a, img, .button, button{ transition: all .3s ease 0s;}

h1, h2, h3, h4, h5, h6{ line-height: normal; font-family: "corsario-variable", serif; color: #072c4b;}
h1{ font-size: 60px;}
h2{ font-size: 26px;}
h3{}
h4{}
h5{}
h6{}
.lede{ font-weight: 900; font-size: 18px; line-height: 18px; text-transform: uppercase; letter-spacing: .1em; color: #d6403d;}
.mobile-only{ display: none;}

.page-wrap{}
.wrapper, .container{ width: 90%; max-width: 1400px; margin: 0 auto;}
.container{ display: flex;}
.wrapper:after{ content: ""; display: table; clear: both;}

nav ul{ list-style: none; position: relative; float:left; margin:0; padding:0;}
nav ul a{ display: block; line-height: 32px; text-decoration: none;}
nav ul li{ position: relative; float: left; margin: 0; padding: 0;}
nav ul li.current-menu-item a, .nav ul li:hover > a{}
nav ul ul{ display: none; position: absolute; top: 100%; left: 0; padding: 0; text-align: left;}
nav ul ul li{ float: none; width: 200px;}
nav ul ul a{ line-height: 120%;}
nav ul ul ul{ top: 0; left: 100%;}
nav ul li:hover > ul{ display: block;}

.alert-bar{ text-align: center; background-color: #d6403d; color: #fff; font-size: 16px; line-height: 16px; position: relative; z-index: 999;}
.alert-bar span, .alert-bar a{ display: block; padding: 22px 0;}
.alert-bar a{ color: #fff; text-decoration: none;}

.header{ position: fixed; top: 30px; left: 0; width: 100%; z-index: 999; transition: all .3s ease 0s;}
.has-alert .header{ top: 100px;}
.header .logo{ max-width: 200px;}
.header .container{ background-color: #fff; border-radius: 15px; padding: 20px; box-sizing: border-box; align-items: center; justify-content: space-between; transition: all .3s ease 0s;}
.header .button{ margin: 0;}
body.scroll .header{ top: 30px; transition: all .3s ease 0s;}
body.scroll .header .container{ -webkit-box-shadow: 0px 0px 10px 0px rgba(7,44,75,0.2);}

.header .nav{ font-size: 14px; text-transform: uppercase; font-weight: 700;}
.header .nav li{ margin: 0 15px;}
.header .nav a{ color: #072c4b;}
.header .nav li:hover > a{ color: #d6403d;}
.header .sub-menu{ left: -10px;}
.header .sub-menu li{ margin: 0; background-color: #fff;}
.header .sub-menu li a{ padding: 5px 10px;}

.content{ color: #1b2426; font-size: 18px; line-height: 28px;}
.content p{ margin-top: 15px;}
.content ul{ list-style: disc; margin: 15px 0 0 30px; list-style: none;}
.content ol{ margin: 15px 0 0 30px;}
.content ul li, .content ol li{ margin-bottom: 10px; line-height: 24px;}
.content ul li:before{ content: "•"; margin: 0 5px 0 -13px; color: #d6403d;}
.meta{}

.post-nav{ text-align: center; margin-bottom: 100px;}
.post-nav .button{ margin-top: 0;}

.footer{ background-color: #072c4b; color: #fff; text-align: center; padding: 60px 0 80px; font-size: 14px;}
.footer a{ color: #fff; text-decoration: none;}
.footer a:hover{ color: #d6403d;}
.footer .footer-heading{ text-transform: uppercase; font-weight: 800; font-size: 16px; letter-spacing: .1em;}
.footer .address, .footer .phone{ margin-top: 10px;}
.footer .phone{ margin-bottom: 10px;}
.footer .credit{ margin: 10px 0 15px;}
.footer .credit a{ font-size: 11px; color: #0d4c81;}
ul.social{ margin-top: 20px; margin: 0;}
ul.social li{ display: inline-block; margin: 0 5px;}
ul.social li:before{ content: "";}
ul.social li a{ width: 30px; height: 30px; border-radius: 100px; background-color: #d6403d; color: #fff !important; display: flex; align-items: center; justify-content: center;}
ul.social li a:hover{ color: #d6403d !important; background-color: #fff;}

.video-wrapper{ position: relative; padding-bottom: 56.25%; height: 0;}
.map-wrapper{ position: relative; padding-bottom: 100%; height: 0;}
.video-wrapper iframe, .map-wrapper iframe{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.hero{ background-size: cover; background-position: center center; width: 100%; position: relative; height: 500px;}
.hero .hero-overlay{ background: linear-gradient(to bottom, rgba(7,44,75,.5) 0%,rgba(7,44,75,1) 90%,rgba(7,44,75,1) 98%); position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center;}
.hero .lede{ margin-bottom: 20px;}
.hero h1{ color: #fff; font-variation-settings: 'wght' 800, 'opsz' 48; font-size: 60px; line-height: 64px; max-width: 800px; margin: 0 auto;}
.hero .button{ color: #fff; margin-top: 40px;}


/* Homepage */

.home .hero{ height: 770px;}
.home .hero .hero-icons{ position: absolute; bottom: 0; right: 0; background-color: #fff; width: 95%; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; padding: 50px 50px 20px; box-sizing: border-box;}
.home .hero-icons img{ max-width: 70px; margin-right: 20px;}
.home .hero-icons .single-icon{ display: flex; align-items: center;}
.home .hero-icons .single-icon .lede{ font-size: 14px; color: #072c4b;}
.home .hero-icons .single-icon p{ margin: 0;}
.home .mobile-icons{ display: none;}

.home .about{ padding: 60px 0 80px;}
.home .about .container{ justify-content: space-between; align-items: center;}
.home .about .about-visual{ background-size: cover; background-position: center center; width: 48%;}
.home .about .about-visual:after{ content: ""; padding-bottom: 100%; display: block;}
.home .about .about-content{ width: 48%;}
.home .about .about-content h2{ font-size: 26px; line-height: 36px; font-variation-settings: 'wght' 600, 'opsz' 6; color: #072c4b; margin-top: 40px;}

.callouts{ background-color: #f6f2ee; padding: 80px 0;}
.callouts .callout-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 50px;}
.callouts .single-callout{ background-color: #fff;}
.callouts .single-callout .callout-visual{ background-color: #ccc; background-size: cover; background-position: center center; position: relative;}
.callouts .single-callout .callout-visual:after{ content: ""; padding-bottom: 56.25%; display: block;}
.callouts .single-callout .callout-visual a{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.callouts .single-callout .callout-content{ padding: 30px 20px;}
.callouts .single-callout .callout-content h2{ font-family: "sweet-sans-pro", sans-serif; font-size: 21px; font-weight: 800;}
.callouts .single-callout .callout-content h2 a{ text-decoration: none; color: #1b2426;}
.callouts .single-callout .callout-content h2 a:hover{ color: #d6403d;}


/* Flexible Content */

.flex .hero .hero-overlay .wrapper, .single .hero .hero-overlay .wrapper{ margin-top: 80px;}

.flex .page-section{ margin-top: 80px;}
.flex .page-section:nth-last-of-type(1){ margin-bottom: 100px;}
.flex .page-section:nth-last-of-type(1).callouts{ margin-bottom: 0;}

.flex .imgtext-container .container{ justify-content: space-between; align-items: center;}
.flex .imgtext-container .single-section{ margin-bottom: 40px;}
.flex .imgtext-container .single-section:nth-last-of-type(1){ margin-bottom: 0;}
.flex .imgtext-container .single-section:nth-of-type(even) .container{ flex-direction: row-reverse;}
.flex .imgtext-container .imgtext-visual{ background-size: cover; background-position: center center; width: 48%;}
.flex .imgtext-container .imgtext-visual:after{ content: ""; padding-bottom: 100%; display: block;}
.flex .imgtext-container .imgtext-content{ width: 48%; font-size: 18px; line-height: 28px;}
.flex .imgtext-container .imgtext-content h2{ font-size: 26px; line-height: 36px; font-variation-settings: 'wght' 600, 'opsz' 6; color: #072c4b; margin-top: 40px;}

.flex .basic-container .wrapper, .single-sermon .basic-container .wrapper{ max-width: 740px;}

.flex .video-wrapper, .single-sermon .featured-video .video-wrapper{ max-width: 1400px; width: 90%; margin: 0 auto;}

.flex .gallery-container{ text-align: center;}
.flex .gallery-container h2{ font-variation-settings: 'wght' 600, 'opsz' 6; margin-top: 20px;}
.flex .gallery-container .gallery-grid{ display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px;}
.flex .gallery-container .single-image{ background-size: cover; background-position: center center; position: relative;}
.flex .gallery-container .single-image:after{ content: ""; padding-bottom: 100%; display: block;}
.flex .gallery-container .single-image a{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.flex .basic-container p + h2{ margin-top: 25px;}

.flex .staff-container h2{ text-align: center; margin-bottom: 60px; font-size: 36px;}
.flex .staff-container h3{ font-size: 24px;}
.flex .staff-container h4{ font-family: "sweet-sans-pro", sans-serif; font-weight: 900; font-size: 14px; line-height: 14px; text-transform: uppercase; letter-spacing: .1em; color: #d6403d;}
.flex .staff-container img{ margin-bottom: 30px;}
.flex .staff-container .staff-grid{ display: grid; grid-template-columns: repeat(2,1fr); gap: 60px;}
.flex .staff-container .single-team img{ max-width: 150px; height: auto;}

.flex .news-button{ text-align: center;}
.flex .post-grid{ padding-bottom: 0;}


/* Events */

.tribe-events{ padding-top: 70px;}
.tribe-events span[aria-hidden="true"] {
    display: none;
}


/* Archive Pages */

.archive .hero .hero-overlay .wrapper, .blog .hero .hero-overlay .wrapper{ margin-top: 80px;}
.post-grid .post-visual{ background-color: #ccc; background-size: cover; background-position: center center; position: relative; margin-bottom: 20px; position: relative;}
.post-grid .post-visual:after{ content: ""; padding-bottom: 56.25%; display: block;}
.post-grid .post-visual a{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.post-grid{ padding: 60px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 50px;}
.post-grid h2{ font-family: "sweet-sans-pro", sans-serif; font-size: 21px; font-weight: 800;}
.post-grid h2 a{ text-decoration: none; color: #1b2426;}
.post-grid h2 a:hover{ color: #d6403d;}
.facetwp-facet-paging{ text-align: center; margin-bottom: 100px;}



/* Single Sermon */

.single-sermon .hero .hero-overlay .wrapper{ margin-top: 0;}
.single-sermon .featured-video{ margin: -130px 0 60px;}
.single-sermon blockquote.scripture{ text-align: center; font-size: 24px; font-weight: 300; color: #d6403d; margin-bottom: 30px;}
.single-sermon .post-nav{ margin-top: 100px;}


/* Contact */

.contact .columns{ padding: 60px 0;}
.contact .columns .container{ justify-content: space-between; align-items: center; max-width: 1200px;}
.contact .columns .container .column{ width: 48%;}
.contact .columns h2{ font-variation-settings: 'wght' 600, 'opsz' 6; font-size: 36px;}
.contact .columns a{ text-decoration: none; color: #072c4b;}
.contact .columns a:hover{ color: #d6403d;}
.contact .form .wrapper{ max-width: 1200px; margin-bottom: 100px;}
.contact ul.social li a{ width: 45px; height: 45px;}

.gform_body input, .gform_body textarea{ background: none; border: none; border: 1px solid #072c4b; padding: 25px !important;}
.gform_wrapper .button{ padding-bottom: 14px;}



/* Media queries */

@media (max-width: 1100px) {
	.header .nav{ display: none;}
	.header .button{ margin-right: 50px;}
	body.scroll #rmp_menu_trigger-199{ top: 48px;}
}

@media (max-width: 960px) {
	.lede{ font-size: 14px;}
	.hero h1{ font-size: 36px; line-height: 40px;}
	.home .hero{ height: auto;}
	.home .hero:after{ content: ""; padding-bottom: 80%; display: block;}
	.home .hero .hero-overlay .wrapper{ margin-top: 100px;}
	.home .hero .hero-icons{ display: none;}
	.home .mobile-icons{ display: block; padding: 60px 0 0;}
	.home .hero-icons .single-icon{ display: block; text-align: center; margin-bottom: 40px;}
	.home .hero-icons .single-icon img{ max-width: 40px; margin: 0 0 15px;}
	.home .about .container, .flex .imgtext-container .container{ flex-direction: column !important;}
	.home .about .about-visual, .home .about .about-content, .flex .imgtext-container .imgtext-content, .flex .imgtext-container .imgtext-visual{ width: 100%;}
	.home .about .about-visual, .flex .imgtext-container .imgtext-visual{ margin-bottom: 40px;}
	.flex .imgtext-container .single-section{ margin-bottom: 60px;}
	.flex .imgtext-container .single-section:nth-last-of-type(1){ margin-bottom: 0;}
	.callouts .callout-grid, .post-grid{ grid-template-columns: repeat(2,1fr);}
	.flex .gallery-container .gallery-grid{ grid-template-columns: repeat(3,1fr);}
	body.logged-in #rmp_menu_trigger-199{ top: 117px;}
	body.scroll.logged-in #rmp_menu_trigger-199{ top: 47px;}
	.contact .columns .container{ flex-direction: column}
	.contact .columns .container .column{ width: 100%; margin-bottom: 60px; text-align: center;}
	.flex .staff-container .staff-grid{ grid-template-columns: repeat(1,1fr);}
}

@media (max-width: 800px) {
	.header .button{ display: none;}
	.rmp-container .mobile-only{ display: block !important;}
	.callouts .callout-grid, .archive .post-grid, .blog .post-grid{ grid-template-columns: repeat(1,1fr);}
	.flex .gallery-container .gallery-grid{ grid-template-columns: repeat(2,1fr);}
	body.logged-in #rmp_menu_trigger-199{ top: 105px;}
	body.scroll.logged-in #rmp_menu_trigger-199{ top: 35px;}
}

@media (max-width: 600px){
	.home .hero:after{ content: ""; padding-bottom: 130%; display: block;}
}

