/*
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.2
*/
.mfn-swiper-arrow:hover, .button:hover, .button_theme:hover, input[type="submit"]:hover {
	box-shadow: 0px 0px 0px 0px #BA3E47!important;
	transform: matrix(1, 0, 0, 1, 3, 3) rotate(0deg);
}
@media only screen and (min-width: 767px) {
    .tabs_vertical.ui-tabs .ui-tabs-nav {
        width: 20%;
	}}

@media only screen and (min-width: 767px) {
    .tabs_vertical.ui-tabs .ui-tabs-panel {
        width: 80%;
	}}

.mcb-item-ij78dx2 .desc {
    display: block !important;
    width: 250px !important;
    min-width: 250px !important;
    min-height: 30px !important;
    overflow: visible !important;
}

.bc-my-account-nav {
    display: block !important;
    width: 250px !important;
    min-width: 250px !important;
    overflow: visible !important;
}

.drawn-underline {
  position: relative;
  display: inline-block;
	z-index: -1;
}

/* Create a virtual box right beneath the word to hold the SVG */
.drawn-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px; /* Adjust this to move the underline up or down */
  width: 110%;
  height: 50px;  /* Adjust this based on how tall your SVG line is */
  z-index: -1;
  background-image: url(https://mhpl.partekdev.ca/wp-content/uploads/sites/3/2026/09/Underline-07.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  
  /* Start completely shrunk to the left side */
  transform: scaleX(0);
  transform-origin: left center;
  
  /* Animates the scale cleanly */
  animation: drawLine 0.5s ease-out forwards;
}

@keyframes drawLine {
  to {
    transform: scaleX(1); /* Expands to full 100% width */
  }
}

.mfn-footer p {
    margin: 0!important;
}

html.mfn-popup-browser-scroll-disabled {
    padding-right: 0;
}
#bibliocommons form {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: stretch;
	gap: 10px;
}
#bibliocommons select,
#bibliocommons input[type="text"] {
flex: 1 1 0 !important;
width: auto !important;
margin: 0 !important;
}

#bibliocommons input[type="submit"] {
flex: 0 0 auto;
}

.we-are-open .day-name, .opening-hours .day-name, .opening-hours.bold .day-name, .opening-hours.day-bold .day-name, .opening-hours.bold .hours, .opening-hours.hours-bold .hours, .opening-hours.closed-bold .closed .hours, .opening-hours.closed-bold .closed.hours, .opening-hours.hours-24-bold .hours-24 .hours, .opening-hours.hours-24-bold .hours-24.hours {
	color:white!important;
	text-align: left!important;
}
#mfn-header-template .bibliocommons_embed_block {
    text-align: right;
}

.mfn-tag-cloud, .column_post_content ul:not(.mfn-list) {
    margin: 0px!important;
}

.portfolio_group .portfolio-item .image_frame .image_wrapper img {
    height: 210px;
    width: 210px;
    object-fit: contain;
	transform: scale(1.05);
}
.entry-title a:hover, .mcb-section .mcb-wrap .mcb-item-8bvjjo3q .tabs_wrapper ul li a:hover {
	color:#FF5555!important;
}
.if-zoom .image_frame:hover .image_wrapper img, .if-zoom .image_frame:focus .image_wrapper img, .if-zoom .image_frame.hover .image_wrapper img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
@media (max-width: 969px) {
.mcb-wrap-grid > * {
  grid-column: span 2!important;
	}}

@media (max-width: 969px) {
.mcb-wrap-grid > :nth-child(4) {
  grid-column: 2 / span 2!important;
	}}

#home-port  .image_frame.mfn-coverimg .mfn-coverimg-wrapper img {
    object-position: center center;
        height: auto;
	    min-height: 200px;
    object-fit: contain!important;
    transform: scale(1.05);
}
 #home-port:hover  .image_frame.mfn-coverimg .mfn-coverimg-wrapper img {
    transform: scale(1.1);
}
.shadow-item .mfn-megamenu-menu > li > a {
    box-shadow: inset -2px -2px 0 #8aadb3 !important;
}
@media only screen and (min-width: 1050px) {
.grid-menu .mfn-megamenu-menu {
    display: grid!important;
    grid-template-columns: repeat(3, 1fr)!important;
	}}
  @media only screen and (max-width: 1050px) {
.grid-menu .mfn-megamenu-menu {
    display: grid!important;
    grid-template-columns: repeat(2, 1fr)!important;
	}}

.mfn-megamenu-menu a .menu-icon {
    order: 2;
	margin-left: 6px;
}
.blog_wrapper .post-item {
    box-shadow: 6px 6px 16px 6px rgba(17, 59, 82, 0.38);
}