/*
 Theme Name:  	CP Dataservices Theme
 Description:  	Child Theme for Divi
 Author:       	Chris
 Author URI:   	https://cp-dataservices.nl
 Template:     	Divi
 Version:      	1.0.0
*/

/*****Add any custom CSS below this line*****/

/*add media query so changes only affect tablet and desktop*/
@media (min-width: 767px) {
	/*set the image width*/
	.pa-blog-list .entry-featured-image-url  {
		width: 25%;
		float: left;
		margin-bottom: 0!important;
	}
	/*set the image display*/
	.pa-blog-list .et_pb_post .entry-featured-image-url img{
		aspect-ratio: 1 / 1;
		object-fit: contain;
	}
	
	/*set the details width*/
	.pa-blog-list .entry-title,
	.pa-blog-list .post-meta,
	.pa-blog-list .post-content {
		width: 75%;
		float: left;
		padding-left: 20px;
	}
	/*style the individual posts*/
	.pa-blog-list .et_pb_post {
		box-shadow: 0px 2px 80px 0px rgba(160,190,212,0.22);  
		border-radius: 6px;
		padding: 20px;
	}
	.cp-blog-heading .et_pb_column{
		width:100%
	}
}
.cp-footer-top-logobar .slick-list{
	max-width:99%;
}
.wdcl-carousel .slick-list .slick-track{
	display: flex;
    align-content: center;
    align-items: center;
}


/* BLOG HEADER en LIST */
.cp-news-item .cp-blog-artikel-inhoud .et_pb_row{
	width:auto;
}
.cp-blog-heading .et_pb_column{
	transform: skew(-16deg);
    padding: 20px 30px;	
}
.cp-blog-heading .et_pb_column .et_pb_text{
	transform: skew(16deg);
}
.pa-blog-list .et_pb_post {
	border:none !important;
}
.pa-blog-list .et_pb_post .entry-title{
	padding: 20px;
	padding-bottom:10px;
	text-transform: unset;
}
.pa-blog-list .et_pb_post .post-content .post-content-inner{
	padding-bottom:10px;
}
.pa-blog-list .et_pb_post .post-content a.more-link{
	padding-bottom:10px;
}
/*add a neceassry position to the blog posts*/
.et_pb_blog_grid .et_pb_post, .et_pb_posts .et_pb_post {
	position: relative;
}
/*make the title link spread over the entire post*/
.et_pb_blog_grid .et_pb_post .entry-title a:after, .et_pb_posts .et_pb_post .entry-title a:after {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
/*change the mouse cursor into a pointer*/
.et_pb_blog_grid .et_pb_post:hover, .et_pb_posts .et_pb_post:hover {
	cursor: pointer;
}

/* FOOTER */
#cp-footer-top-sectie .widget_block{
	margin-bottom:10px;
	box-shadow: none;
}

#cp-footer-top-sectie .cp-footer-widget-inhoud{
	padding: 20px 0 0 0 !important;
}

#cp-footer-top-sectie .cp-footer-widget-inhoud p{
	line-height:2.5;
	padding: 0 20px 20px 20px;
}
#cp-footer-top-sectie .cp-footer-widget-inhoud figure{
	margin:10px;
}

#cp-footer-top-sectie .widgettitle{
	background:#474747;
	font-size:16px;
}

/*
 *
 */
.cp-blog-title .et_pb_title_container{
	width: 100%;
    background-color: rgba(30, 41, 120, 0.85);
    padding-top: 15px;
}
#tribe-events-content .tribe_events .tribe-events-content .et_pb_section  .et_pb_row{
	width:auto;
}

/*
 *		Events widget in sidebar
 *		Widget pop-out
 *		Widget colors
 */
.et_pb_sidebar_0_tb_body .tribe-compatibility-container{
	padding: 10px 10px 1px 10px;
    background: #fee71f;
	box-shadow: 0px 2px 10px 9px rgba(160, 190, 212, 0.22); 
	margin-bottom: 10px;
	margin-top: -40px;
}
.tribe-compatibility-container .tribe-common{
	margin-bottom:10px;
}
.tribe-compatibility-container .tribe-events-widget-events-list__header h2{
	font-size: 23px;
    font-weight: 800;
    font-family: 'Poppins';
    padding-left: 10px;
    padding-top: 10px;
}
.tribe-compatibility-container .tribe-events-widget-events-list .tribe-events-widget-events-list__view-more a{
	color: #1e2978 !important;
	padding-left: 10px;
	text-decoration: underline;
}
.tribe-compatibility-container .tribe-events-widget-events-list__events .tribe-events-widget-events-list__event-row{
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.tribe-compatibility-container .tribe-events-widget-events-list__events .tribe-events-widget-events-list__event-row .tribe-events-widget-events-list__event-date-tag-datetime span{
	color: #ff2e4d;
}
.tribe-compatibility-container .tribe-events-widget-events-list__events .tribe-events-widget-events-list__event-wrapper article{
	box-shadow: none;
}
.tribe-compatibility-container .tribe-events-widget-events-list__events .tribe-events-widget-events-list__event-wrapper .tribe-events-widget-events-list__event-header h3 a{
	font-size:16px;
	color: #1e2978;
}

/*
 *		Events widget as list
 *		Widget Events
 *		Widget styling
 */
 #cp_evenementen_list .tribe-events-widget-events-list__event-date-tag{
	  padding: 20px 10px 20px 10px;
	  width: 75px;
 }
 #cp_evenementen_list .tribe-events-widget-events-list__event-date-tag time{
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    padding-top: 6px;
    padding-bottom: 6px;
 }
 #cp_evenementen_list .tribe-events-widget-events-list__event-date-tag .tribe-events-widget-events-list__event-date-tag-datetime .tribe-events-widget-events-list__event-date-tag-month{
    color: white;
    background: red;
 }
 #cp_evenementen_list .tribe-events-widget-events-list__event-date-tag .tribe-events-widget-events-list__event-date-tag-datetime .tribe-events-widget-events-list__event-date-tag-daynum{
	color:black; 
 }
 #cp_evenementen_list .tribe-events-widget-events-list__event-wrapper{
	  padding:20px;
 }
 #cp_evenementen_list .tribe-events-widget-events-list__event-wrapper article{
	 padding-top:6px;
 }