/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

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

.event_meta{
    margin: 5px 0 15px;
}
.event_meta > p{
    font-size: 16px;
    color: #333 !important;
    line-height: 1em !important;
}
.event_venue{
    margin-bottom: 1em;
}
.et_pb_post.events{
    font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
}

.media_title{
    font-size: 18px;
    color: #0061aa;
}
.media_title:hover{
    color: #ef8d1a;
}
article.media_coverage{
    font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
    font-size: 18px;
    margin-bottom: 26px;
}
article.media_coverage:not(:last-of-type):after{
    content: '';
    width: 920px;
    display: block;
    height: 3px;
    background: #e7e7e7;
    margin: 35px 0 0;
    visibility: visible;
}
.year_heading{
    color: #0061aa;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 20px;
}
.page-id-4093 img[src*=default]{
    height: 195px;
    object-fit: cover;
}

.events_list h4{
    padding-left: 20px;
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 5px;
}
.events_list h4 > *{
	display: inline-block;
	vertical-align: middle;
}
.events_list h4 > .arrow{
	width: 10%;
	font-size: 1.5rem;
}
.events_list h4 > .text{
	width: 88%;
}
.et-db #et-boc .et-l .et_pb_text_1_tb_body.et_pb_text .events_list h4 a, .et-db #et-boc .et-l .et_pb_text_2_tb_body.et_pb_text .events_list h4 a{
    color: #333 !important;
    line-height: 1.1;
    font-size: 16px;
}
.et-db #et-boc .et-l .et_pb_text_1_tb_body.et_pb_text .events_list h4 a:hover, .et-db #et-boc .et-l .et_pb_text_2_tb_body.et_pb_text .events_list h4 a:hover{
    color: #0061aa !important;
}
#top .et_pb_image_0_tb_header{
	display: flex;
}
.gt_search_wrap{
	width: 38px;
}
.gt_search_wrap img{
	cursor: pointer;
}
.gt_search{
    position: absolute;
    left: -62%;
    height: 38px;
    padding: 3px 10px !important;
}
@media screen and (max-width: 1000px){
	.gt_search_wrap{
		width: 33px;
	}
	.gt_search{
		left: -82%;
	}
}
@media screen and (max-width: 500px){
	.gt_search_wrap{
		width: 29px;
		position: relative;
		right: 5px;
	}
	.gt_search{
		left: -6px;
		top: 35px;
	}
}


.db_featured_posts .featured{
    height: 480px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
}
.db_featured_posts .featured a, .db_featured_posts .featured a *{
    color: #fff !important;
}
.db_featured_posts .title{
    font-weight: bold;
    font-size: 1.2em;
}
.db_featured_posts .posts_list{
    display: flex;
    justify-content: space-between;
    margin-top: -18px;
}
.db_featured_posts .posts_list > *{
    width: 305px;
    height: 305px;
    max-width: 21.5vw;
    max-height: 21.5vw;
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.db_featured_posts .posts_list .post:before{
    content: '';
    display: block;
    position: absolute;
    top:0;right:0;bottom:0;left:0;
    background: rgba(0,0,0,.2);
}
.db_featured_posts div.posts_list a{
    color: #fff !important;
    font-size: 1.1em;
    font-weight: bold;
    z-index: 1;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.db_featured_posts div.posts_list a.in_list:after{
    content: "\35";
    font-family: ETmodules;
}
.db_featured_posts .posts_list .flex{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}
.db_featured_posts .posts_list .flex > *{
    height: 27%;
    background: #00b3b3;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.db_featured_posts .posts_list .flex > *:hover{
    background: #f08d1a;
    color: #fff !important;
}
@media screen and (max-width: 1000px){
    .db_featured_posts .posts_list{
        flex-wrap: wrap;
    }
    .db_featured_posts .posts_list > *{
        width: 44vw;
        height: 44vw;
        max-width: 44vw;
        max-height: 44vw;
        display: inline-block;
        vertical-align: top;
        margin-bottom: 2vw;
    }
    .db_featured_posts .posts_list .flex{
        display: inline-flex;
    }
}

@media screen and (max-width: 500px){
    .db_featured_posts .posts_list > *{
        width: 90vw;
        height: 90vw;
        max-width: 90vw;
        max-height: 90vw;
    }
    .db_featured_posts .posts_list .flex{
        justify-content: space-evenly;
    }
    .db_featured_posts div.posts_list a{
        font-size: 24px;
    }
}