/*
Theme Name: CUMC - Avada Child
Description: CUMC Avada Child Theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

@font-face {
  font-family: 'cumc';
  src:  url('fonts/cumc.eot?5yqjhq');
  src:  url('fonts/cumc.eot?5yqjhq#iefix') format('embedded-opentype'),
    url('fonts/cumc.ttf?5yqjhq') format('truetype'),
    url('fonts/cumc.woff?5yqjhq') format('woff'),
    url('fonts/cumc.svg?5yqjhq#cumc') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* LINKS */
.post-content a:visited::before,
.post-content a:link::before,
.post-content a:visited,
.post-content a:link {
	display:inline-flex;
	position:relative;
	color:#6A1A31;
}
.post-content a:link::after {	
	content: "";
	position: absolute;
	width: 100%;
 	height: 2px;
	bottom:-3px;
  	left: 0;
  	background-color: #6A1A31;	
  	visibility: hidden;
  	-webkit-transform: scaleX(0);
  	transform: scaleX(0);
  	-webkit-transition: all 0.3s ease-in-out 0s;
  	transition: all 0.3s ease-in-out 0s;
}
.post-content a:link:hover::after {	
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
/*HEADINGS*/
.fusion-modal h1, .fusion-post-content h1, .fusion-widget-area h1, .post-content h1, .search-page-search-form h1, .title h1 {
	color:#6A1A31 !important;	
}
h1,h2,h3,h4,h5,h6{
    font-family:Verdana,Arial,sans-serif !important;
	margin-bottom:.2em !important;
}
#main {
	padding-top:0 !important;
	padding-bottom:0 !important;
}
#main .post-content .fusion-text > h2 {
	color:#6A1A31;
	font-weight:bold;
}
/*DEFAULT color scheme*/
.cumc-logo-wrapper {
	display:inline-flex;
	height:55px;
	align-items:center;
}
.site-name {
	max-width:100px;
	margin:-4px 0 0 16px;
	color: #B2B2B2; 
	font-size:11px;
	line-height:13px;
	font-family:'Verdana','Arial', sans-serif;
}
a:link.cumc-logo {
	color: #fff; 
}
.cumc-logo:before {
	color:#fff;
	content: "\e900";
	font-family: 'cumc' !important;
	font-size:38px;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/*HOME color scheme*/
.home.page .site-name {
	color:#666;
}
.home.page .cumc-logo:before {
	color:#6A1A31;
}

/*MENU-NAV */
.cumc-header .fusion-main-menu>ul>li {
	padding-right:0;
	margin-right:20px;
}
.fusion-main-menu>ul>li>a:hover {	
	color:#fff;
}
.fusion-main-menu>ul>li>a:before {	
	content: "";
	position: absolute;
	width: 100%;
 	height: 2px;
	margin-top:10px;
	bottom:unset;
  	left: 0;
  	background-color: #fff;	
  	visibility: hidden;
  	-webkit-transform: scaleX(0);
  	transform: scaleX(0);
  	-webkit-transition: all 0.3s ease-in-out 0s;
  	transition: all 0.3s ease-in-out 0s;
}
.fusion-main-menu>ul>li>a:hover:before {	
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.fusion-main-menu>ul>li.fusion-custom-menu-item > a:hover:before {
	visibility:hidden;
}
.fusion-main-menu-search a:after,
.fusion-main-menu-search a:hover:after,
.fusion-main-menu-search-open a:after {	
	color:#6A1A31 !important;
}
.home.page .fusion-main-menu-search a:after,
.home.page .fusion-main-menu-search a:hover:after,
.home.page .fusion-main-menu-search-open a:after {	
	color:#FFF6DC !important;
}

.menu-item > a > .button-default,
.fusion-custom-menu-item > a:after {
    background-color: #FFF6DC;
	color:#6A1A31;	
    padding: 6px;
	height:32px;
	box-sizing:border-box;
	display:flex;
	align-items:center;
    border-radius: 3px !important;
	margin-right:-10px; /* Move custom menu items closer together */
}
.menu-item > a:hover > .button-default,
.fusion-custom-menu-item > a:hover:after {
	background-color:#FFF;
}
.home.page .menu-item > a > .button-default,
.home.page .fusion-custom-menu-item > a:after {
    background-color: #6A1A31;
	color:#FFF6DC;	
}
.home.page .menu-item > a:hover > .button-default,
.home.page .fusion-custom-menu-item > a:hover:after {
	background-color:#813D4C;
}
.menu-item > a > .button-default > .button-icon-divider-left {
	border:none;
	display:flex;
	align-items:center;
	padding:6px;
}
.menu-item > a > .button-default > .button-icon-divider-left > i.glyphicon {	
	margin-top:0;
	top:0;
}
.menu-item > a > .button-default > .button-icon-divider-left > i.glyphicon::before,
.fusion-custom-menu-item > a:after {
	font-family: 'cumc';
	font-size:21px;
    font-weight: normal;
}
.fusion-main-menu .fusion-main-menu-search > a:after {
	content:'\e905' !important;
}
.menu-item > a > .button-default > .button-icon-divider-left > i.fa-donate::before {
	content:'\e903';
}
/*Fix for sticky menu padding */
.fusion-top-header .fusion-is-sticky.fusion-header-wrapper .fusion-header li {
	padding-right:0 !important;
}
/*Menu font sizes*/
.cumc-header .fusion-top-header .fusion-header-wrapper .fusion-header li a,
.cumc-header .fusion-top-header .fusion-is-sticky.fusion-header-wrapper .fusion-header li a {
	font-size:11px;	
}
.cumc-header .fusion-main-menu .fusion-dropdown-menu .sub-menu li a {
	color:#6A1A31;
}
.cumc-header .fusion-main-menu>ul>li>a .menu-text,
.cumc-header .fusion-main-menu .fusion-dropdown-menu .sub-menu li a {
    font-family:'Verdana','Arial', sans-serif !important;
	font-size:11px;
    text-transform:uppercase;
	font-weight:bold;
}
.avada-page-titlebar-wrapper .fusion-page-title-bar {
	position:relative;
	background-size:cover;
}
.fusion-page-title-bar:before {
	content:" ";
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background-color:rgba(0,0,0,0.5);
	z-index:0;
}
.fusion-page-title-row,
.fusion-page-title-wrapper {
	align-items:flex-end !important;
}
.fusion-page-title-wrapper h1 {
	text-transform:uppercase;
	font-weight:normal !important;
	font-size:36px;	
}
/*LAYOUT */
.width-100 .fusion-fullwidth, .width-100 .nonhundred-percent-fullwidth {
	padding:0 30px 0 30px; /* Include padding */
}
/* Header/Nav overlaps page title background */
.home.page.page.fusion-top-header .fusion-header-wrapper,
.avada-has-titlebar-bar_and_content.page.fusion-top-header .fusion-header-wrapper {
	position:absolute;
	width:100%;
}
/* Header background color */
.fusion-top-header .fusion-is-sticky.fusion-header-wrapper .cumc-header.fusion-header,
.fusion-top-header .fusion-header-wrapper .cumc-header.fusion-header {
	background-color:rgba(106,26,49,0.85); /* Red */
}
.home.page.fusion-top-header .fusion-is-sticky.fusion-header-wrapper .cumc-header.fusion-header,
.home.page.fusion-top-header .fusion-header-wrapper .cumc-header.fusion-header {
	background-color:rgba(255,255,255,0.85);
}
.page .fusion-main-menu>ul>li>a {
	color:#B2B2B2;
}

.home.page .fusion-mobile-menu-icons a,
.home.page .fusion-mobile-menu-icons a:before,
.home.page .fusion-mobile-menu-icons a:hover,
.home.page .fusion-mobile-menu-icons a:hover:before,
.home.page .fusion-main-menu>ul>li>a,
.home.page .fusion-main-menu>ul>li>a:hover {	
	color:#6A1A31;
}
.home.page .fusion-main-menu>ul>li>a:before {	
  	background-color: #6A1A31;	
}
.fusion-page-title-bar .fusion-page-title-row h1 {
	color:#FFF1C6 !important;
}
/* CUMC icons */
.home.page .title-worship::before,
.home.page .title-sermons::before,
.home.page .title-next-event::before,
.cumc-icon::before
{
    font-family: 'cumc';
	display:block;
    font-size: 18px;
}
.cumc-icon {
	display:flex;
	align-items:center;
}
.cumc-icon::before {	
	font-weight:normal;
	margin-right:6px;
}
.home.page .title-worship::before,
.home.page .title-sermons::before,
.home.page .title-next-event::before {
    font-size: 32px;
    color: #B2B2B2;
    position: absolute;
    margin-top: -7px;
    margin-left: -40px;	
}
.home.page .title-worship::before {
	content:'\e901';	
}
.home.page .title-sermons::before {
	content:'\e906';
}
.home.page .title-next-event::before {
	content:'\e902';	
}
.cumc-sermon-watch::before {
	content:'\e907';		
}
.cumc-sermon-listen::before {
	content:'\e904';	
}

.home-container-widgets .fusion-layout-column .fusion-column-wrapper {
	margin-left:40px;
}

/*CONTENT*/
.button-default {
	border-color:#B78990 !important;	
}
.button-default i,
.button-default span {
	color:unset !important;
}
.post-content a.fusion-button:link {	
	background-color:#FFE58E;
	justify-content:center;
}
.post-content a.fusion-button:link::after { /*Remove underline animation on hover*/
	top:0;
	bottom:0;
	height:auto;
	display: block;
	z-index:0;
	background-color:#FFF1C6;
}
.post-content a.fusion-button:link * {
	position:relative;
	z-index:1;
}
.width-100 .fusion-fullwidth.home-container-welcome, 
.width-100 .nonhundred-percent-fullwidth.home-container-welcome {
	margin-top: -100px;
	margin-left:-10px;
	margin-right:-10px;
    box-shadow: 0 30px 40px 0 #000;
	background-color:rgba(106,26,49,0.9) !important;
}
.width-100 .fusion-fullwidth.home-container-widgets, 
.width-100 .nonhundred-percent-fullwidth.home-container-widgets {
	margin-left:-10px;
	margin-right:-10px;
	padding:16px 10px 6px 10px !important;
    box-shadow: 0 30px 40px 0 #000;	
}
.post-content {
	z-index:99;
}
.fusion-body #wrapper .home-welcome-home.fusion-title>h1 {
	text-transform:uppercase;
	padding:.2em 0 0 0 !important;
	margin:0 0 -.15em 0 !important;
	line-height: 1em !important;
	font-size:42px;
	color:#fff !important;
}
.post-content .home-container-widgets .fusion-text h2 {
	text-transform:uppercase;
	color:#000;
}
.home-container-main {
	position:relative;
	margin-bottom:6px;
	background-color:#FFF !important;
}
.home-container-main:after {
	position:absolute;
	content:" ";
	display:block;
	top:0;
	bottom:0;
	right:0;
	left:50%;	
}
.home-container-main .fusion-layout-column {
	padding:10px;
}
.home-container-main .fusion-row {
	display:flex;
}
.home-col-events {
	width:25% !important;
}
.bg-screen-overlay:before {
	content:" ";
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(255,255,255,0.9);
}
/* EVENTS CALENDAR */
/* Heading background override */
.tribe-events-calendar thead th,
.tribe-events-list-event-title a,
.tribe-events-list-event-title a:hover,
.fusion-events-single-title-content {
	background-color:#444 !important;
	color:#fff !important;
}
#tribe-events-content .tribe-events-sub-nav li a {
	text-transform:uppercase;
	color:#6A1A31 !important;
	font-weight:bold;
}
/* Fix excessive padding above and below events calendar page title */
#tribe-events-bar,
.fusion-events-before-title {
	margin-bottom:30px !important;
}
/* COUNTDOWN */
.fusion-countdown {
	padding:0 !important;
}
.post-content .home-container-widgets .fusion-countdown-1 .fusion-dash {
	background-color:#E3CED1;
	margin-bottom:10px;
}
.post-content .home-container-widgets .fusion-countdown-1 .fusion-countdown-heading {
	letter-spacing:normal;
	font-size:14px;
	font-weight:bold;
}
.fusion-countdown > .fusion-countdown-wrapper {
	flex-direction:column !important;
	padding:0 !important;
	margin:20px 0 0 4px !important;
	align-items:flex-start !important;
	font-family:'Verdana','Arial',sans-serif;
}
.fusion-countdown-counter-wrapper {
	overflow:visible !important;
	margin:0 !important;
}
.fusion-countdown-heading-wrapper {
	display:flex;
    flex-direction: column-reverse;
}
.fusion-dash-wrapper:last-child {
	display:none !important;
}
.home.page .fusion-countdown .fusion-dash-wrapper {
	padding:3px;
}
.fusion-dash {
	position:relative;
	padding:6px 4px !important;
	line-height:1em;
	font-weight:bold !important;
	width:45px !important;
}
.fusion-countdown-link-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
	margin-top:1em !important;
}
.fusion-countdown .fusion-dash > .fusion-digit {
	padding:0;
	font-size:18px !important;
	width:auto;
}
.fusion-countdown .fusion-dash-title {
	position:absolute;
	display:block;
	left:0;
	right:0;
	color:#4D4D4D;
	text-transform:uppercase;
	font-size:12px !important;
	bottom:-20px;
}
.view-all-events,
.view-all-sermons {
	text-transform:uppercase;
	text-align:right;
	margin-top:30px;	
}
/* CONTAINERS */
.cumc-container-list {
	background-color:#e5e5e5 !important;
}
.cumc-container-list .fusion-row {
	display:flex;
}
.cumc-container-list .fusion-layout-column {
	float:none;	
}
.cumc-container-list .fusion-column-wrapper {
	background-color:#fff;
	border-top:4px solid #6A1A31;
	height:100% !important;
}

/* SERMONS list on home page */
.cumc-recent-sermons,
.cumc-sermon-date,
.cumc-sermon-links {
	display:flex;
	flex-direction:column;
}
.cumc-sermon:nth-child(even) {
	background:#FFF4D1;
}
.cumc-sermon {
	display:flex;
	flex-direction:row;
	align-items:center;
}
.cumc-sermon-details {
	flex:1 1 auto;
}
.cumc-sermon-date,
.cumc-sermon-links {
	align-items:center;
}
.cumc-sermon-date,
.cumc-sermon-details,
.cumc-sermon-links {
	padding:1em;
}
.cumc-sermon-date > .cumc-day {
	font-size:21px;
	line-height:1em;
	font-weight:bold;
	color:#4D4D4D;
}
.cumc-sermon-date > .cumc-month {
	font-size:16px;
	line-height:1em;
	font-weight:bold;
	text-transform:uppercase;
	color:#4D4D4D;
}
.cumc-sermon-links {
	font-weight:bold;
	text-transform:uppercase;	
}
.cumc-sermon-message {
	font-weight:bold;
}
.cumc-child-pages li {
	font-size:21px;
}

@media only screen and (max-width: 800px) {
	
	.width-100 .fusion-fullwidth.home-container-welcome, 
	.width-100 .nonhundred-percent-fullwidth.home-container-welcome {
		margin-top: -50px;
	}
	.post-content .home-welcome-home.title h1 {
		font-size:24px;
	}
	.fusion-mobile-menu-icons {
		display:inline !important;
	}
	.fusion-mobile-menu-icons a {
		display:flex;
		height:55px;
		align-items:center;
	}
	.fusion-mobile-nav-holder {
		padding-top:0px !important;
	}
	.cumc-header {
		padding:0px 20px 0 20px !important;
	}
}