/*
Theme Name: Almost Inevitable Child Theme
Template: Divi
Author: PK
Author URI: https://almostinevitable.com
Description: Any questions concerning the website, please email me at pk@almostinevitable.com
Version: 1.0.11
*/

.et_pb_menu_1_tb_header .et_pb_menu__icon.et_pb_menu__search-button {
	margin: 0 3px 0 20px;
}



.top-header .et_pb_menu__wrap {
    justify-content: flex-end;
}

.top-header .et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul {
    padding: 10px 0 10px!important;
}

.top-header .et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    padding-bottom: 0;
}

.top-header .et_pb_row {
    margin: 0;
    float: right;
}

#top-menu a:hover {
    color: #ed5045;
}

.social-wrapper a {
    padding: 0 1rem 0 0;
    display: inline-block;
    margin-top: 1rem;
}

header #et-top-navigation .et_menu_container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header > .container.et_menu_container {
    display: flex;
    align-items: center;
    gap: 0;
}

#et-top-navigation {
    display: flex;
    padding-left: 0 !important;
    padding-top: 10px;
}

.logo_container {
    position: static;
    max-width: 240px;
}

.main-header__wrapper {
    width: 100%;
}

.et_header_style_left .logo_container {
    position: static;
    height: 100%;
    width: 240px;
    padding-right: 2rem;
}

.et_pb_contact .et_pb_contact_field_options_title {
    color: #ffffff;
}

.et_header_style_left .logo_container {
    padding-right: 0;
}

#top-menu {
    padding-left: 3rem;
}

.et_pb_toggle {
    margin-bottom: 0.2rem !important;
    padding: 0.5rem 1rem;
}

@media (max-width: 980px) {
    .et_header_style_left #logo {
        max-width: 55%;
    }
    .et_header_style_left .logo_container {
        width: auto;
    }

    .et_header_style_left .et-fixed-header #et-top-navigation,
    .et_header_style_left #et-top-navigation {
        padding-top: 10px;
    }
    .top-header .et_pb_fullwidth_menu .et_pb_row {
        min-height: 2rem;
    }
    .top-header .et_pb_fullwidth_menu .et_pb_menu__menu {
        display: flex;
    }
    .top-header .et_mobile_nav_menu {
        display: none;
    }
}

@media (min-width: 980px) {
	.main-menu .et_pb_menu .et_pb_menu__wrap {
        justify-content: flex-end;
		flex-wrap: nowrap;
    }
	
	header .et_pb_column_1_4 {
 	   padding: 1rem 0;
	}
	
    #logo {
        margin-top: -1rem;
    }
    .et_header_style_left #et-top-navigation {
        padding-top: 15px;
    }
}

.top-header {
    display: block;
}

.page-id-48 .et_pb_posts article .entry-title:before {
    content: "";
    background: url(images/arrow.svg) no-repeat center center;
    padding-right: 1rem;
    display: inline-block;
    height: 15px;
    width: 7px;
    vertical-align: top;
    margin-right: 1rem;
    padding-top: 21px;
    background-size: contain;
}

.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_pb_menu__wrap {
    justify-content: flex-end;
}

/* Homepage */

@media (max-width: 479px) {
    .home .et_pb_post {
        margin-bottom: 2rem;
    }
}

@media (max-width: 980px) {
	.logo_container {
		position: absolute;
		margin: 0;
		max-width: 160px;
		padding: 0;
		top: 11px;
		z-index: 1111;
    }
	
	.et_pb_menu_1_tb_header.et_pb_menu {
		background: none !important;
	}
	
	.et_pb_menu .et_pb_menu__search-input {
		background: #ffffff;
	}
	
    .top-header {
        display: none;
    }
}

@media (max-width: 767px) {
    .home .et_pb_post {
        margin-bottom: 2rem;
    }
}

@media (max-width: 980px) {
    .home .et_pb_post {
        margin-bottom: 2rem;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .home .et_pb_post {
        margin-bottom: 2rem;
    }
}

.home .et_pb_post {
    margin-bottom: 2rem;
}

#tribe-events-content a {
    text-decoration: underline;
}

.home .et_pb_post .post-content-inner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}

.single-tribe_events .tribe-events-single-event-description a {
	color: #ed6950 !important;
}