/*
Theme Name:     Kallyas Child Theme
Theme URI:      http://kallyas.net/demo/
Description:    Child theme for the USMB Kallyas theme
Author:         Hogash
Author URI:     http://themeforest.net/user/hogash
Template:       kallyas
Version:        4.12.4
Tags: dark, light, left-sidebar, right-sidebar, fluid-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, full-width-template, theme-options, translation-ready
Text Domain:  zn_framework
*/

h1 a, h2 a, h3 a, h4 a, h5 a {color:#000 !important; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {color:#c82b35 !important; }

hr {
    background-color: #cbcbcb;
    height: 1px;
    border: none;
}

.lightgray {background-color:#f4f4f4 !important; }

.page-subheader {height:200px !important; min-height:200px !important }
@media (max-width:767px){
	.page-subheader {height:16px !important; min-height:16px !important }	
}


/*mega menu*/
.main-nav ul .zn-mega-new-item {background-color:#fff !important; color:#757575; line-height:2em; font-size:1.1em; top:100px;}
.mega_menu_link { color:#CD2122 !important; font-weight:bold !important}

/*mega menu - menu pictures*/
.menu_pic_container a:before {background-color:transparent !important}
.menu_pic_container .main-menu-link-sub {display:none;}
.menu_pic_container .menu_pic .main-menu-link-sub {display:block !important; padding-top:0 !important; line-height:1.4em;}
.menu_pic_container .menu_pic img {padding-top:10px; }
.menu_pic {padding-top:10px  !important;}


/*top right menu*/
@media (max-width: 480px) {
	.site-header .sh-component {
	    margin: 0 10px !important;
	}
}


/*home elements*/
.move_left { padding-right:18px; margin-left:-18px }


/*donate button*/
@media (max-width: 480px) {
	#ctabutton {
		width: 60px;
		height: 50px;
		font-size: .67em;
		padding-left: 8px;
	}
	#ctabutton strong {
	    font-size: 13px;
    	line-height: 15px;
	}
}


/*USMB Now*/
.latest_posts-title-link  {color:#fff !important}
.latest_posts-acc-content .latest_posts-acc-title {}
@media (max-width:991px){
	.latest_posts-acc-list .latest_posts-title-link  {display:none; }
	.latest_posts-acc-list .latest_posts-acc-title { font-size:1.3em !important; font-weight:bold;}
}


/*4 latest posts element - remove padding from title box*/
/*darker gradient*/
.latest_posts-link:after  { 
	background:linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8) 100%) !important; 
	background:-webkit-linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8) 100%) !important;
}
.latest_posts--4.kl-style-2 .latest_posts-elm-titlew {padding:0 !important; background-color:transparent !important}
.bottomfour .CL_post_img {max-height:220px; }

.latest_posts--4.kl-style-2 .latest_posts-link:after {z-index:20}

.CL_bug {
	background-image:url(/wp-content/uploads/2017/09/CL-logo_bug3.png);
	background-size:contain;
	background-repeat:no-repeat;
	position:absolute;
	top:5px;
	right:5px;
	z-index:1000;
	width:32px;
	height:32px;
	opacity:.9;
	
}

@media (max-width:767px) {
	.CL_articles {margin-top:10px; }
}


/*home page e-idea section*/
.home_eidea .row > div {
	float:none !important;
	width:100% !important;
	height:auto !important;
	left:0 !important;
}
.home_eidea .kl-ptfcarousel-frame--classic:before {display:none !important }
.home_eidea .portfolio-item-details, .home_eidea .pagination--light {display:none !important }





/*district maps*/
.district_map_box .zn_text_box, .district_map_box .zn_custom_html   {	color: #fff !important; text-shadow: 1px 1px 0 rgba(0,0,0,0.5); }
.district_map_box .church_map_img {margin:0 15px 30px 0; }


/*hide featured image on single posts. Probably would be better to create a new custom template at some point*/
.post-template-default .kl-blog-post-img {display:none; }


/*resources page*/
.resource_search_box {margin-top:20px; }
.cat_name {
	background-color: #dd2122;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    padding: 0px 12px;
    float: right;
}

.back_to_resources {
		margin-bottom:30px;	
		margin-right:20px;
		float:left;
}
.back_to_resources a{
	background-color: #dd2122;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    padding: 6px 12px;
	border-radius:3px;
}
.back_to_resources a:hover { color:#333; }


/*sidebar*/
.donation_sidebar { color:#fff !important}
.donation_sidebar:hover {color:#fff !important; }




/*hover box in Find A Church - District pages
.district_states {clear:both; font-size:1.3em; }
.district_states h3 {font-size:1.8em; }
.district_states .hover-box .statenames {color:#BB584A; }
.district_states .hover-box:hover .statenames {color:#E2B8B1; }
*/


/*fix for Zion builder on blog and portfolio pages*/
.kl-header-bg {height:130% !important }
#header {
	background-color: #557c9a !important; 
	height:200px; 
	position:relative !important 
}
.home #header { height:unset; }
#page_header {display:none !important }


/*modal video box*/
.adbox.video:after {background-color: rgba(23, 23, 25, 0.1) !important }
.playVideo {background-color: rgba(23, 23, 25, 0.3); }
.playVideo:hover {background-color: rgba(23, 23, 25, 0.4); }

/*for no button:
.adbox_container {height:100%; }
.playVideo.playvideo-size--md {
    width: 100%;
    height: 100%;
    border-radius: 0;
    webkit-transform: unset;
    transform: unset;
    color: transparent;
    border: none;
	background-color: transparent !important }
}
*/



/*church locations*/
.church_locations{}
	.church_locations h4 {text-transform:uppercase; border-bottom:1px solid #ccc; }
	.church_locations .link {text-decoration:underline; }
	.church_locations .church_label {font-weight:bold; }
	.church_locations .church_info {margin-left:5px; }

	.church_locations .church_location  {
		padding: 12px; 
		margin-bottom:20px;
		box-shadow: 0 10px 10px -10px rgba(0,0,0,.15);
		background: #fff;
		opacity: .9; 
		float:left;
		width:48%;
		margin-right:2%;
	}
		.church_locations .church_photo_container {float:left; margin:0 12px 12px 0; }
		.church_locations .church_photo {  }
		.church_locations .church_info_container {float:left; }
		
.church_details { }
	.church_details .church_photo {float:left; width:48%; }
	.church_details .church_data {float:left; width:40%; }		
	.church_details .church_detail_padding {float:left; width:6%; height:50px; }
	.church_details .church_label {font-weight:bold; }
	.church_details .church_info {margin-bottom:12px; display:block}



.district_list { list-style:none; padding-left:0 !important}
	.district_list li { background-color:rgba(0,0,0,0.1) }
		.district_list li a {color:#444; text-decoration:none; padding:10px 15px; margin-bottom:3px; border-radius:2px; display:block; }
	.district_list li:hover {background-color:#cd2122; }
		.district_list li:hover a {color:#fff; }


@media (max-width:1199px) {
	.church_locations .church_location, .church_details .church_photo, .church_details .church_data  {width:100%; float:none; }
}



/**************** job module customizations *****************/
	.job_listing h3 { font-weight:bold; font-size:1.2em !important; }
/*-- not overridden from default-- .job-manager .job-type,.job-types .job-type,.job_listing .job-type { color: #f08d3c }*/
	.job-type-full-time .position h3, .job-type-full-time .meta .job-type { color: #d02427 }
	.job-type-part-time .position h3, .job-type-part-time .meta .job-type { color: #618ca7}
	.job-type-temporary .position h3,  .job-type-temporary .meta .job-type { color: #e75529 }
/*-- not overridden from default-- .job-manager .freelance,.job-types .freelance,.job_listing .freelance { color: #39c } */
	.job-type-internship .position h3, .job-type-internship .meta .job-type { color: #91a84d }



/***************** portfolio newsletter pages *****************/
.newsletter_portfolio_main_img {
	float: left;
    max-width: 500px;
    padding: 0 20px 20px 0;
    width: 40%;
}
@media (max-width:767px) {
	.newsletter_portfolio_main_img { float:none; max-width:100%; width:100% }
}
