/*
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
*/

/* HEADER */
.mfn-header-scrolled .header-wrapper {
    box-shadow: 0 0 2px rgba(0,0,0,.5);
}
.header-wrapper {
    padding: 0 10px 10px;
    box-shadow: 0 0 2px rgba(0,0,0,0);
    transition: .5s ease 0s;
}
.elementor-location-header > div {
    width: 100%!important;
}
body:not(.home) .header-wrapper {
    box-shadow: 0 0 2px rgba(0,0,0,.5);
}
.logo-wrapper {
    padding: 0 10px;
}
.logo-wrapper img.attachment-full.size-full.wp-image-25 {
    transition: .5s ease 0s;
}
.mfn-header-scrolled .logo-wrapper img.attachment-full.size-full.wp-image-25 {
    width: 4rem;
    transition: .5s ease 0s;
}

/* BODY */
.section, .mcb-wrap, .mcb-column {
    background: white;
}
body #Content {
    padding-top: 0;
}

.the_content_wrapper {
    width: 100%;
    margin: 0;
}
.section_wrapper {
    max-width: 100%;
}

/* HOME */
.entrepot-home {
    position: relative;
}
.entrepot-home img.elementor-animation-grow {
    max-height: 15rem;
    width: auto;
}
.entrepot-home .elementor-widget-button {
    position: absolute;
    bottom: 2rem;
    display: flex;
    justify-content: center;
    width: calc(100% - 60px);
}

/* RESERVATION */
.iframe .e-con-inner .elementor-widget {
    width: 100%;
}

/* CONTACT */
.wpcf7-form ul {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.wpcf7-form ul li {
    list-style: none;
    flex: 0 0 calc(50% - 1rem);
    margin: 0 .5rem 1rem;
    max-width: calc(50% - 1rem);
}
.wpcf7-form ul li.full {
    flex: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
}
.wpcf7-form ul li p {
    margin: 0;
}
.wpcf7-form ul li textarea {
    height: 7.5rem;
}

/* FOOTER */
footer nav li {
    align-items: center;
}
footer nav a {
    color: #757575;
    font-size: 14px;
    line-height: 1;
}
footer nav .menu-item-object-custom a {
    background: url(https://entrepots.octantis.ca/wp-content/uploads/2023/09/facebook.png) no-repeat scroll 50% transparent;
    background-size: contain;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    padding: 0!important;
    overflow: hidden;
    color: transparent!important;
}
footer a,
footer p,
.copyright a {
    color: #fff;
    font-size: 14px;
    line-height: 1;
}
footer p a {
    line-height: 1.4;
}
footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con {
    padding: 20px calc((100vw - 1155px) / 2);
}
footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con > div {
    flex: 0 0 calc(25% - 1rem);
}
footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con > div:nth-child(3) {
    flex: 0 0 4rem;
}
footer h6 {
    color: #000;
}
footer .last-col img {
    width: auto;
    height: 2rem;
    margin: 0 .5rem .5rem 0;
}
footer ul {
    margin: 0!important;
}
footer ul li {
    margin: 0!important;
    list-style: none;
    line-height: 1.7;
}
footer .first-col img.alignnone.size-full.wp-image-55 {
    width: 1.25rem;
    transform: translate(0px, 5px);
}
footer .cta-button {
    flex: 0 0 20rem!important;
}
footer .cta-text {
    flex: 1!important;
}
footer .cta-button:before {
    content: '';
    position: absolute;
    right: calc((100vw - 1155px) / 2 * -1);
    bottom: -20px;
    top: inherit;
    left: inherit;
    width: calc(100% + ((100vw - 1155px) / 1.5));
    height: calc(100% + 3rem);
    background: #e3e3e3;
    -webkit-clip-path: polygon(3rem 0%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(3rem 0%, 100% 0%, 100% 100%, 0% 100%);
}
.facebook-footer{
  vertical-align: middle;
}

/* Style tabs and tab content */
.tabs {
    width: 80%;
    margin: 0 auto;
    position: relative;
}
.tab-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 2rem;
}
.tab-links a {
    color: #333;
}
.tab-links .active a {
    color: rgb(23, 13, 242) ;
}
.tab-content .tab {
    display: none;
}
.tab-content .active {
    display: block;
}


/* CSS for the accordion */
.tab-content {
    margin: 0 auto 5rem;
}
.accordion-item {
    border-bottom: 1px solid rgb(23, 13, 242);
    margin-bottom: 10px;
}
.accordion-header {
    padding: 10px;
    cursor: pointer;
}
.accordion-content {
    display: none;
    padding: 0 10px 10px;
}
.accordion-header h3 {
    font-size: 1.25rem;
    position: relative;
    padding: 0 2.5rem 0 0;
}
.accordion-header h3:after {
    content: '';
    background: url(img/next.png) no-repeat scroll 50% transparent;
    background-size: contain;
    position: absolute;
    right: 1rem;
    top: calc(50% - .5rem);
    width: 1rem;
    height: 1rem;
    transform: rotate(90deg);
    transition: .5s ease 0s;
}
.accordion-header.active h3:after {
    transform: rotate(-90deg);
    transition: .5s ease 0s;
}

.search-content {
    position: absolute;
    top: -4.75rem;
    right: 0;
    display: flex;
    align-items: center;
    width: 100%;
}
.search-content form {
    width: 0rem;
    opacity: 0;
    transition: .5s ease 0s;
}
.search-content.active form {
    width: 100%;
    opacity: 1;
}
.search-content form input {
    width: 100%;
}
.search-content #active-search,
.search-content #active-search:hover,
.search-content #active-search:active,
.search-content #active-search:focus {
    background: url(img/search.png) no-repeat scroll 50% transparent;
    margin: 0;
    box-shadow: 0 0 transparent;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
    position: absolute;
    z-index: 1;
    right: .5rem;
    outline: none;
}
.search-content.active #active-search {
    background: url(img/close.png) no-repeat scroll 50% transparent;
    background-size: contain;
}
.search-content #active-search:after {
    display: none;
}
.search-content input {
    margin: 0;
}
#search-results {
    margin: 0 auto 5rem;
}
#search-results .accordion-content {
    padding: 0 10px 20px;
}
.label-results {
    display: none;
    margin: 1rem auto;
}
.faq-wrapper .elementor-element {
    display: none;
    visibility: hidden;
}
.cta-faq strong {
    color: #04559F;
}
.list-entrepots img {
    max-height: 20rem;
    width: auto;
}
.list-entrepots.e-flex.e-con {
    margin: 0;
}
.list-entrepots h2 {
    font-size: 1.5rem;
}

footer a:hover,
footer a:active,
footer a:focus {
    color: white;
}

body:not(.cf7p-message) .e-con .wpcf7-not-valid-tip {
    left: calc(100% - 44px)!important;
    height: 40px!important;
}
body:not(.cf7p-message) .e-con .wpcf7-not-valid-tip:before {
    left: -5px;
    top: 14px;
}
body:not(.cf7p-message) .e-con .wpcf7-not-valid-tip:after {
    top: 7px;
}

.list-entrepots .elementor-widget-container h4 {
    color: #04559F;
    margin: -1rem 0 1rem;
}
.list-entrepots.blue-entrepots .elementor-widget-container h4 {
    color: #fff;
}

table {
    border: 1px solid;
}
table th {
    background: #e5e5e5!important;
    text-transform: uppercase;
}
table td:last-child {
	font-weight: bold;
	color: #04559F;
}

div#pum-1063:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    z-index: 100;
}
.pum-container.pum-responsive img {
    max-height: 80vh;
    width: auto;
}

.header-entrepot ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rs-layer small {
    font-size: 60%;
}

div#popmake-1185 {
    padding: 0;
    border: none;
    height: 69vh;
}

div#popmake-1185 iframe {
    max-width: 100%;
    margin: 0 0 -5px;
    width: 100%;
}

div#popmake-1185 .popmake-content, 
div#popmake-1185 .popmake-content * {
	height: 100%;
}

.p-no-margin p {
	margin: 0;
}

div#popmake-1498 {
    width: 25rem;
    margin-left: -12.5rem;
    padding: 2rem;
	max-width: 90%!important;
}
div#popmake-1498 p {
    font-weight: 400;
}

@media screen and (max-width: 1155px) {
    footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con {
        padding: 20px;
    }
    footer .cta-button:before {
        right: -20px;
        width: 100%;
    }
}
html.pum-open.pum-open-overlay-disabled.pum-open-scrollable .pum-overlay.pum-active {
    position: fixed!important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
}

@media screen and (max-width: 1200px) {
    .elementor-60 .elementor-element.elementor-element-e0b27f5 .elementor-nav-menu--main .elementor-item {
        padding: 5px 10px;
    }
    .tab-links {
        justify-content: center;
    }
    .tab-links li {
        padding: .25rem 1rem;
    }
}

@media screen and (max-width: 1024px) {
    .header-wrapper .btn-action {
        margin: 0 1rem;
    }
    .elementor-element.elementor-element-85998d3.e-con-full.e-flex.e-con {
        align-items: flex-end;
    }
    nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: calc(100% - 9.5rem);
        background: rgba(0,0,0,.7);
        transition: .5s ease 0s;
        top:112px;
    }
    .mfn-header-scrolled nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
        height: calc(100% - 6.6rem);
    }
    .elementor-active + nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
        --menu-height: auto!important;
    }
    nav.elementor-nav-menu--dropdown.elementor-nav-menu__container > ul {
        background: white;
        position: absolute;
        left: 0;
        top: 0;
        width: 20rem;
        height: 100%;
    }

}

@media screen and (max-width: 838px) and (min-width: 768px) {
	.open-map {
		top: 45px!important;
	}
}

@media screen and (max-width: 800px) {
    .elementor-60 .elementor-element.elementor-element-6858464 {
        --width: 21rem;
    }
    footer > .e-con-inner {
        flex-direction: column!important;
    }
    footer > .e-con-inner > .elementor-element.e-con-full.e-flex.e-con {
        --width: 100%;
        text-align: center;
        margin: 0;
    }
    footer.elementor-element.elementor-element-e71793a.e-con-full.nav-footer.e-flex.e-con {
        flex-wrap: wrap;
    }
    footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con > div {
        flex: 0 0 50%;
        order: 1;
    }
    footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con > div:nth-child(3) {
        flex: 0 0 100%;
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
        height: calc(100% - 10.5rem);
    }
    .mfn-header-scrolled nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
        height: calc(100% - 7.6rem);
    }
    footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con > div {
        flex: 0 0 100%;
        margin: .25rem 0;
    }
    footer.elementor-element.elementor-element-e71793a.e-con-full.e-flex.e-con > div:nth-child(3) {
        flex: 0 0 100%;
        order: 2;
        margin: 1rem 0 0;
    }
    .header-wrapper .e-con.e-flex {
        --width: 50%;
    }
    .entrepot-home .elementor-widget-button {
        position: relative;
        bottom: inherit;
        margin: 0 0 .5rem!important;
        width: 100%;
    }
    .btn-action {
        display: none;
    }
    .elementor-element.elementor-element-85998d3.e-con-full.e-flex.e-con {
        padding: 0 1rem 0 0;
    }
    footer.e-con-full.cta-footer {
        display: flex;
        flex-direction: column;
    }
    footer.e-con-full.cta-footer .e-con.e-flex>.e-con-inner {
        justify-content: center;
    }
    footer .cta-button:before {
        display: none;
    }
    footer .cta-button {
        flex: 0 0 0!important;
    }
	body .content_wrapper .section_wrapper,
	body .container, .four.columns .widget-area {
    	max-width: 700px!important;
		padding-left: 0!important;
		padding-right: 0!important;
	}
}

@media screen and (max-width: 540px) {
    .wpcf7-form ul li {
        flex: 0 0 calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }
	body:not(.cf7p-message) .e-con .wpcf7-not-valid-tip:after {
		top: 11px;
	}
}

@media screen and (max-width: 419px)  {
	.open-map {
		top: 45px!important;
	}
}
