/*
Theme Name: Photography Portfolio
Theme URI: https://diviextended.com/product/photography-portfolio/
Description: Divi child theme for photography portfolio.
Author: Divi Extended
Author URI: https://diviextended.com/
Template: Divi
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*  General
================================================== */

.dp-contact .et_contact_bottom_container {
	float: left;
}

#about-image {
	margin: 3px 14px 4px 0;
	}
	
/* Content Panels */

@media only screen and (max-width: 767px) {
    #main-content .et-l--body .et_pb_row {
        width: 94%;
    }
}	


/*  Colours
================================================== */

body,
.et_pb_bg_layout_light,
.et_pb_text_0.et_pb_text  p {
	color: #222;
	font-weight: 400;
}

.entry-content a {
    color: #dd893a;
   	font-weight: 500;
}



/*  Fonts
================================================== */

.et_pb_text_0 p, 
.et_pb_text_1 p {
    font-weight: 400 ;
    }


/*  Main Navigation
================================================== */

.single-project .et_pb_menu_0_tb_header.et_pb_menu ul li.menu-item-99943 a,
.tribe-events-page-template .et_pb_menu_0_tb_header.et_pb_menu ul li.menu-item-100044 a,
.post-type-archive-tribe_events.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.menu-item-100044 a {
	color: #538234 !important;	
	}




/*  Page Title 
================================================== */

.et_pb_section_0.et_pb_with_background .et_pb_text_inner h1,
.et_pb_section_0.et_pb_with_background .et_pb_text_inner h2,
.et_pb_section_0_tb_body.et_pb_with_background .et_pb_text_inner h1,
.et_pb_section_0_tb_body.et_pb_with_background .et_pb_text_inner h2 {
    font-family: 'Frank Ruhl Libre', Georgia, "Times New Roman", serif;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1em;
    text-align: center;
    color: #ffffff !important;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    margin: 0;
    padding: 0;
}

 



/* Home page
================================================== */

.dp-heading {
	font-weight: 900;
}

.dp-home-portfolio .et_pb_blurb {
	opacity: 0 !important;
}

.dp-home-portfolio:hover .et_pb_blurb {
	opacity: 1 !important;
}



/* About us
================================================== */

.dp-team-member .et_pb_member_position {
	padding-bottom: 10px !important;
}

.dp-team-member .et_pb_team_member_image {
	width: 100%;
	max-width: 100%;
}

.dp-team-member .et_pb_team_member_description {
	padding: 10px 20px;
}




/* CPT: Artists (portfolio)
================================================== */

.dp-portfolio .et_pb_portfolio_filters li a.active {
	background: #000;
	color: #fff !important;
}

.dp-portfolio .et_pb_portfolio_item {
	margin-bottom: 20px !important;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
	margin: 5px;
}

/* Background */

.single-project .et_pb_post_content .et_pb_column_3_5 .et_pb_text {
	background: #f7f7f7;
	color: #2b2b2b;
	padding-bottom: 35px !important;	
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border: 1px solid #e6e6e6;	
}


@media (max-width: 767px) {
    .et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        width: auto;
    }
}




/* Single Artists 
================================================== */

@media only screen and (max-width: 767px) {
    .el_masonry_gallery_0 .el_masonry_gallery_item {
        width: calc(50% - 7.5px) !important;
        margin-bottom: 15px;
    }
}


/* Blog Posts
================================================== */

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post {
    border-radius: 10px 10px 10px 10px !important;
	border: 1px solid #e6e6e6 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
	background-color: #f7f7f7;	
	}
	
.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post:hover {
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5) !important;
	border: 1px solid gba(0, 0, 0, 0.5) !important;	
	}	

/* Text */

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .entry-title {
	margin: 0 0 10px;
	font-weight: 600;
}

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .entry-title a {
	color: #111;
	text-decoration: none;
	font-weight: 500 !important;
	line-height: 1.35;	
}

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .entry-title a:hover {
	color: #c46a2c;
}

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .post-meta,
.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .post-meta .published {
	margin: 0 0 14px;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #666;
}

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .post-content,
.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .post-content p {
	font-size: 1.2rem;
    line-height: 1.6;
    color: #222;
    font-weight: 400;
}

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .post-content p:last-child {
	margin-bottom: 0;
}

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .more-link {
	display: inline-block;
	margin-top: 14px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #c46a2c;
	text-decoration: none;
}

.et_pb_blog_0_tb_body .et_pb_blog_grid .et_pb_post .more-link:hover {
	text-decoration: underline;
} 




/* Events Grid
================================================== */
 

.ctrlx-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.ctrlx-event-card {
    border-radius: 10px 10px 10px 10px !important;
	border: 1px solid #e6e6e6 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
	background-color: #f7f7f7;	
	
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ctrlx-event-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.ctrlx-event-category {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ctrlx-event-category a {
    color: #538235;
}

.ctrlx-event-category a:hover {
    color: #000;
}

.ctrlx-event-content {
    padding: 24px;
}

.ctrlx-event-title {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.35;    
}

.ctrlx-event-title a {
    color: inherit;
    text-decoration: none;
}

.ctrlx-event-date {
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;	 
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    opacity: 1;
}

.ctrlx-event-time {
    margin-left: 8px;
    font-weight: normal;
}

.ctrlx-event-excerpt {
    margin-bottom: 18px;
}

.ctrlx-event-readmore a {
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 980px) {
    .ctrlx-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ctrlx-events-grid {
        grid-template-columns: 1fr;
    }

    .ctrlx-event-image img {
        height: auto;
    }
}



/* EVENT: Archive
================================================== */

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-top: 50px;
}


/* EVENT: Single
================================================== */

/* Typography */

.tribe-events-single-event-title {
    font-family: 'Frank Ruhl Libre', Georgia, "Times New Roman", serif;
    margin: 0 0 12px;
    font-size: 40px;
    line-height: 1.5;
    font-weight: 500;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium{
    font-family: 'Frank Ruhl Libre', Georgia, "Times New Roman", serif;    
    font-weight: 500;
}

.tribe-common .tribe-common-b2 {
    font-family: 'Frank Ruhl Libre', Georgia, "Times New Roman", serif;    
    }
    
    
.tribe-events-single-event-description.tribe-events-content p,
.tribe-events-content ol,
.tribe-events-content p,
.tribe-events-content ul {
    font-family: 'Frank Ruhl Libre', Georgia, "Times New Roman", serif;
    font-size: 20px;
    color: #222;
    font-weight: 400;
	}
	
/* Colours */

:root {
    --tec-color-background: #ffffff; 
	--tec-color-link-primary: #DF8244;
	--tec-color-link-accent: #DF8244;
	--tec-color-accent-primary: #DF8244;
	--tec-color-button-primary: #DF8244;	
}

.tribe-events-content a:active, .tribe-events-content a:focus, .tribe-events-content a:hover {
    border-bottom: 1px solid ;
    color: #000;
}

/* Meta */	

.single-tribe_events .tribe-events-single .tribe-events-event-meta {
    width: 50%;
	}

@media (max-width: 767px) {	
	.single-tribe_events .tribe-events-single .tribe-events-event-meta {
    width: 100%;
	}
}	
 
/*  Footer */

#tribe-events-footer {
    margin-bottom: 100px;
}



/* MOBILE
-------------------------------------------------- */

@media (max-width: 767px) {

    .single-tribe_events .tribe-events-single-section.tribe-events-event-meta {
        margin-top: 30px;
        padding-top: 24px;
    }

    .single-tribe_events .tribe-events-event-meta.primary {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .single-tribe_events .tribe-events-single-section-title {
        margin-bottom: 12px;
    }

    .single-tribe_events .tribe-events-meta-item {
        margin-bottom: 12px;
    }

    .single-tribe_events .tribe-events-single {
        padding: 24px 16px 40px;
    }

    .single-tribe_events .tribe-events-single-event {
        border-radius: 10px;
        padding-bottom: 24px;
    }

    .single-tribe_events h1.tribe-events-single-event-title {
        font-size: 34px !important;
        letter-spacing: 2px !important;
        padding: 24px 20px 10px;
    }

    .single-tribe_events .tribe-events-schedule {
        font-size: 18px;
        padding: 0 20px 18px;
    }

    .single-tribe_events .tribe-events-event-image,
    .single-tribe_events .tribe-events-single .tribe-events-event-image {
        padding: 0 20px;
    }

    .single-tribe_events .tribe-events-event-image img,
    .single-tribe_events .tribe-events-single .tribe-events-event-image img {
        border-radius: 10px;
    }

    .single-tribe_events .tribe-events-single-event-description {
        padding: 22px 20px 0;
    }

    .single-tribe_events .tribe-events-c-subscribe-dropdown,
    .single-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown {
        padding: 8px 20px 0;
    }

    .single-tribe_events .tribe-events-content,
    .single-tribe_events .tribe-events-single-event-description p {
        font-size: 17px;
        line-height: 1.6;
    }
}






/* Mobile header adjustments
================================================== */

.mobile_menu_bar:before,
.mobile_menu_bar:after {
	font-size: 80px;
	left: -38px;
	}

.et_mobile_menu li {
	padding-bottom: 14px;
	}



@media only screen and (max-width: 980px) {

	/* Header column */
	.et_pb_column_1_tb_header.et_pb_column--with-menu {
		display: block !important;
		width: 100% !important;
	}

	/* Menu module */
	.et_pb_menu_0_tb_header {
		width: 100% !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		margin-bottom: 12px !important;
	}

	.et_pb_menu_0_tb_header .et_pb_menu_inner_container {
		padding: 0 !important;
	}

	/* Centre the mobile menu button */
	.et_pb_menu_0_tb_header .et_mobile_nav_menu {
		width: 100% !important;
		text-align: center !important;
	}

	.et_pb_menu .et_mobile_nav_menu {
		margin:0 !important;
		}
	
	.et_pb_menu_0_tb_header .mobile_nav {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-width: 72px;
		padding: 2px 14px;
		background: #fff;
		border: 1px solid #d9d9d9;
		border-radius: 10px;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
		width:100%;
	}

	.et_pb_menu_0_tb_header .mobile_menu_bar {
		position: static !important;
		display: block !important;
		padding: 0 !important;
	}

	.et_pb_menu_0_tb_header .mobile_menu_bar:before {
		position: static !important;
		display: block !important;
		font-size: 45px !important;
		line-height: 1;
		color: #000;
	}

	/* Ajax search module */
	.et_pb_column_1_tb_header .el_ajax_search,
	.et_pb_column_1_tb_header .et_pb_module.el_ajax_search,
	.et_pb_column_1_tb_header .el_ajax_search_0_tb_header {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 15px !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.et_pb_column_1_tb_header .el_ajax_search_0_tb_header .et_pb_module_inner,
	.et_pb_column_1_tb_header .el_ajax_search_0_tb_header .el_ajax_search_wrap,
	.et_pb_column_1_tb_header .el_ajax_search_0_tb_header .el_ajax_search_field_wrap {
		width: 100% !important;
		max-width: 100% !important;
	}

	.et_pb_column_1_tb_header .el_ajax_search_0_tb_header input.el_ajax_search_field {
		display: block !important;
		width: 100% !important;
		min-width: 100% !important;
		min-height: 48px;
		padding: 12px 48px 12px 16px !important;
		box-sizing: border-box !important;
		border-radius: 10px;
	}
}



