/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.1
*/

@media only screen and (max-width: 767px) {
    .mobile-sticky #Top_bar.is-sticky #logo img.logo-mobile-sticky {
		height: auto;
		max-height: none !important;
		z-index: 100;
		position: relative;
		transform: translateY(0px);
		width: 100px !important;
    }
}

@media only screen and (max-width: 767px) {
    #Top_bar #logo img.logo-mobile {
		width: 100px;
		height: auto;
		max-height: none!important;
		z-index: 100;
		position: relative;
		transform: translateY(-10px);
    }
}

.logo-sticky-width-auto #Top_bar.is-sticky #logo img.logo-sticky {
	width: 140px;
    top: -20px;
    position: relative;
    height: auto;
    max-height: none !important;
}

/* Topbanner */
@media only screen and (max-width: 767px) {
    .mobile-header-mini #Action_bar {
        display: block;
		background-color: #ffe29b !important;
    }
}

@media only screen and (max-width: 767px) {
    #Action_bar .contact_details li.slogan {
        display: inline-block;
    }
}

#Action_bar .contact_details {
	float: none;
	text-align: center;
}

.header-split #Action_bar .social, .header-split #Action_bar .social-menu {
	display: none;
}

/* Header */
#Top_bar #logo,
.header-fixed #Top_bar #logo,
.header-plain #Top_bar #logo,
.header-transparent #Top_bar #logo {
    padding-bottom: 0;
}

#Top_bar .column {
	align-items:center;
	height: 100%;
}

.header-split #Header .top_bar_left .menu_right,
.header-split #Header .top_bar_left .menu_left {
	width: 42%;
}

.header-split #Top_bar .top_bar_right {
	display: block !important;
	position: absolute !important;
	right: 80px;
	
	
	@media only screen and (min-width: 1240px) {
		right: auto;
		left: 92%;
	}
	
	@media only screen and (min-width: 1440px) {
		left: 100%;
	}
}

#Top_bar .top_bar_right .action_button {
	background: var(--mfn-button-theme-bg);
	color: #004744;
	font-weight: 500;
}

#Side_slide .extras {
	display: none;
}

@media only screen and (min-width: 768px) {
    #Top_bar.is-sticky {
			height: 90px !important;
	}
}

body:not(.home) #Top_bar #logo,
.header-fixed #Top_bar #logo,
body:not(.home) .header-plain #Top_bar #logo,
body:not(.home) .header-transparent #Top_bar #logo {
    padding: 0;
}

body:not(.home) #Top_bar .menu>li>a,
body:not(.home) #Top_bar #menu ul li.submenu .menu-toggle {
    padding: 30px 0;
}

.logo-sticky {max-height: 60px !important;}

@media only screen and (min-width: 768px) {
    body:not(.home).tr-menu.header-split #Top_bar:not(.is-sticky) {
        background: #004744 !important;
        position: relative;
    }
}

/* Réduit l'écart qu'il y a sur l'offre 3+1 */
.header-split #Header .top_bar_left .menu_right li:first-child span {
    padding-left: 0;
    margin-left: -40px;
}

.header-split #Header .top_bar_left .menu_right,
.header-split #Header .top_bar_left .menu_left {
    width: 42%;
}

body:not(.home) .logo img {
    max-width: 100%;
    height: auto;
    width: auto;
}

body:not(.home) .logo {
    height: auto;
}

/* Footer */
#Footer .footer_copy {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Store locator */
#wpsl-wrap {
    border: solid 1px #f4f3f3;
    padding: 12px;
}

#wpsl-search-wrap {
    float: none;
    width: 100%;
}

#wpsl-search-wrap .wpsl-input {
    display: flex;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

#wpsl-search-wrap input:not([type="submit"]),
#wpsl-search-btn {
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.wpsl-search {
    padding-inline: 0
}

#wpsl-search-wrap #wpsl-search-input {
    max-width: 675px;
}

#wpsl-search-wrap .wpsl-search-btn-wrap {
	display:flex;
    margin: 0;
}

#wpsl-search-btn {
    background-color: #004744;
    color: #f4f3f3;
    border: none;
}

#wpsl-search-wrap .wpsl-input>div {
    display: flex;
    align-items: center;
}

#wpsl-search-wrap .wpsl-input label {
    width: auto;
}

.wpsl-directions {
    display: none;
}

.wpsl-search {
    background: none;
}

.wpsl-input {
    flex-wrap: wrap;
}

#wpsl-reset-btn {
    color: #004744;
    padding: 7px 10px;
    margin: 0;
}


.wpsl-search-btn-wrap,
.wpsl-search-btn-wrap [type="submit"] {
    margin: 0;
}

#wpsl-result-list .wpsl-store-location {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

#wpsl-result-list li p {
    margin-bottom: 0;
}

#wpsl-result-list .phone {
    color: #046663;
    margin-top: -1rem;
}

#wpsl-result-list .store-hours {
    display: block;
    width: fit-content;
    background-color: rgba(221, 0, 0, .8);
    font-weight: 500;
    color: white;
    padding-inline: 20px;
    border-radius: 9999px;
}

#wpsl-result-list .store-hours.is-open {
    background: rgb(2, 135, 130, .8);
    display: block;
    width: fit-content;
}
