/*
 Theme Name:   Made I.T. - bowiemedical.be
 Theme URI:    https://www.madeit.be
 Description:  Child theme of Made I.T.
 Author:       Made I.T.
 Author URI:   https://www.madeit.be
 Template:     madeit
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  bowiemedical
*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Apple Garamond';
    src: url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-BoldItalic.eot');
    src: url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-BoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-BoldItalic.woff') format('woff'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-BoldItalic.ttf') format('truetype'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-BoldItalic.svg#AppleGaramond-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-Italic.eot');
    src: url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-Italic.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-Italic.woff2') format('woff2'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-Italic.woff') format('woff'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-Italic.ttf') format('truetype'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramond-Italic.svg#AppleGaramond-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('/wp-content/themes/bowiemedical/fonts/AppleGaramondLight-Italic.eot');
    src: url('/wp-content/themes/bowiemedical/fonts/AppleGaramondLight-Italic.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramondLight-Italic.woff2') format('woff2'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramondLight-Italic.woff') format('woff'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramondLight-Italic.ttf') format('truetype'),
        url('/wp-content/themes/bowiemedical/fonts/AppleGaramondLight-Italic.svg#AppleGaramondLight-Italic') format('svg');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@import url("https://use.typekit.net/ptj7rru.css");

body {
    font-family: montserrat, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.custom-logo {
    height: 80px !important;
    width: auto !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
    font-family: 'Raleway',sans-serif;
    font-style: normal;
    font-weight: 300;
}

.navbar a {
    font-weight: 400;
}
.navbar-dark .navbar-nav .nav-link {
    color: white;
}
.navbar-dark .navbar-nav .show > .nav-link, .navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .nav-link.active {
    color: var(--wp--preset--color--primary);
    border-bottom: 1px solid var(--wp--preset--color--primary);
}

body {
    font-size: var(--wp--preset--font-size--normal);
    line-height: var(--wp--custom--line-height--body);
}
h1, .h1 {
    font-size: var(--wp--preset--font-size--h-1);
}
@media (max-width: 767px) {
    h1, .h1, .has-h-1-font-size {
        font-size: 2.5rem !important;
    }
}

h2, .h2 {
    font-size: var(--wp--preset--font-size--h-2);
}

h3, .h3 {
    font-size: var(--wp--preset--font-size--h-3);
}

h4, .h4 {
    font-size: var(--wp--preset--font-size--h-4);
}

h5, .h5 {
    font-size: var(--wp--preset--font-size--h-5);
}
h6, .h6 {
    font-size: var(--wp--preset--font-size--h-6);
}

h1[id], h2[id], h3[id], h4[id] {
    scroll-margin-top: 100px;
}


#googlemaps {
    height: 350px;
    width: 100%;
}

form .required {
    color: var(--wp--preset--color--danger);
}

/* Woocommerce Cart */
.menu-item.shopping-menu-item {
    position: relative;
    display: none;
}


/* MENU COLOR */
nav.navbar {
    padding-top: 0 !important;
    box-shadow: none !important;
    border-bottom: 2px solid var(--wp--preset--color--primary);
}
@media (min-width: 991px) {
    #top-menu {
        width: 100%;
        justify-content: center;
    }
    #top-menu > .col-l {
        width: auto;
        display: flex;
    }
    #top-menu > .col-m {
    width: 100%;
    text-align: center;
    order: -1;
    }
    #top-menu > .col-r {
        width: auto;
        display: flex;
        justify-content: flex-end;
    }
}
@media (min-width: 1200px) {
    #top-menu {
        width: 100%;
        justify-content: space-between;
    }
    #top-menu > .col-l {
        width: 38%;
        display: flex;
    }
    #top-menu > .col-m {
        width: auto;
        text-align: center;
        order: 0;
    }
    #top-menu > .col-r {
        width: 38%;
        display: flex;
        justify-content: flex-end;
    }
    [lang="fr-FR"] #top-menu > .col-r {
        width: 38%;
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

}
.menu li.active a.nav-link {
    color: var(--wp--preset--color--primary);
    background-color: transparent;
}

@media(min-width: 768px) {
    .menu li > a.nav-link {
        transition: all 0.2s ease-in-out;
        background-color: transparent;
    }
    .menu li.active > a.nav-link {
        color: var(--wp--preset--color--primary);
        background-color: transparent;
    }
    .menu li > a.nav-link:hover {
        color: var(--wp--preset--color--primary);
        background-color: transparent;
    }
    .menu .dropdown-menu li a.nav-link {
        border: none;
    }
    .menu .dropdown-menu li.active a.nav-link {
        color: var(--wp--preset--color--primary);
        background-color: transparent;
    }
}
.dropdown-toggle::after {
    display: none !important;
}

.upper-top-navbar {
    background-color: var(--wp--preset--color--primary);
    color: white !important;

    font-size: 1rem;
    padding-top: 8px !important;
}
.upper-top-navbar .row.w-100 {
    margin: auto;
}

.menu-item.wpml-ls-item {
    order: 2;
}

@media (max-width: 991px) {
    .menu {
        flex-direction: row;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .menu .menu-item {
        width: 100%;
    }
    .menu .menu-item.wpml-ls-slot-2 {
        width: auto;
    }
    .dropdown .nav-link.dropdown-toggle + .dropdown-menu .nav-link.dropdown-toggle {
        display: flex;
        justify-content: space-between;
    }
    .dropdown .nav-link.dropdown-toggle + .dropdown-menu .nav-link.dropdown-toggle::after {
        content: '+';
        display: inline-block !important;
        margin-left: 5px;
        font-size: large;
        vertical-align: 0;
        border-top: 0;
    }
   
}



.flex-grow {
    margin-top: 85px !important;
}
@media (min-width: 992px) {
    .flex-grow {
        margin-top: 185px !important;
    }
    .wpml-ls-slot-2 {
        display: none;
    }
}
@media (min-width: 1200px) {
    .flex-grow {
        margin-top: 145px !important;
    }
}



.wp-block-button__link, .btn {
    border: 4px solid transparent;
    transition: all 0.2s ease-in-out;
}
.wp-block-button__link:hover, .btn:hover {
    transform: scale(1.05);
}
.wp-block-button__link.has-success-background-color:hover, .wp-block-madeitforms-submit-button__link.has-success-background-color:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--success) !important;
    border-color: var(--wp--preset--color--success) !important;

    transform: scale(1.05);
}
.wp-block-button__link.has-primary-background-color:hover, .btn-primary:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--primary) !important;
    border-color: var(--wp--preset--color--primary) !important;

    transform: scale(1.05);
}
.wp-block-button__link.has-secondary-background-color:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--secondary) !important;
    border-color: var(--wp--preset--color--secondary) !important;

    transform: scale(1.05);
}
.wp-block-button__link.has-danger-background-color:hover {
    background-color: transparent !important;
    color: var(--wp--preset--color--danger) !important;
    border-color: var(--wp--preset--color--danger) !important;

    transform: scale(1.05);
}

/* Column max container size UPDATE*/
@media(min-width: 992px) {
    .wp-block-madeit-block-content-column.keep-max-container-size:first-child:not(.max-end-size) {
        margin-left:auto;
        max-width: 480px;
        padding-left: 15px!important
    }

    .wp-block-madeit-block-content-column.keep-max-container-size:last-child:not(.max-start-size) {
        margin-right: auto;
        max-width: 480px;
        padding-right: 15px!important
    }
}

@media(min-width: 1200px) {
    .wp-block-madeit-block-content-column.keep-max-container-size:first-child:not(.max-end-size) {
        margin-left:auto;
        max-width: 570px;
        padding-left: 15px!important
    }

    .wp-block-madeit-block-content-column.keep-max-container-size:last-child:not(.max-start-size) {
        margin-right: auto;
        max-width: 570px;
        padding-right: 15px!important
    }
}

@media(min-width: 1400px) {
    .wp-block-madeit-block-content-column.keep-max-container-size:first-child:not(.max-end-size) {
        margin-left:auto;
        max-width: 520px;
        padding-left: 15px!important;
    }

    .wp-block-madeit-block-content-column.keep-max-container-size:last-child:not(.max-start-size) {
        margin-right: auto;
        max-width: 660px;
        padding-right: 15px!important
    }
}

.h-100 img {
    height: 100% !important;
}

.has-default-bg-color .wp-block-heading {
    color: var(--wp--preset--color--default-bg) !important;
}

.margin-min5 {
    margin-top: -100px !important;
    z-index: 1;
    position: relative;
}
.margin-min4 {
    margin-top: -60px !important;
    z-index: 1;
    position: relative;
}

hr {
    width: 10%;
    opacity: 1;
}
hr.is-style-full-width {
    width: 100%;
}
hr.is-style-centered {
    margin-left: auto;
    margin-right: auto;
}
.yoast-breadcrumbs {
    color: black;
}
.breadcrumb_last {
    font-weight: 600;
}

/**********************/
/******* POSTS *******/
/**********************/
.taxonomy-post_tag {
    position: absolute;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    z-index: 1;
}
.taxonomy-post_tag a,
.post-tags .tag {
    padding: 3px 10px;
    color: white;
    text-decoration: none;
}
.taxonomy-post_tag,
.post-tags .tag{
    background-color: var(--wp--preset--color--success);
}
.taxonomy-post_tag.tag-nieuws,
.post-tags .tag-nieuws {
    background-color: var(--wp--preset--color--primary);
}
.taxonomy-post_tag.tag-beurs,
.post-tags .tag-beurs {
    background-color: var(--wp--preset--color--secondary);
}

/*? Mobile ?*/
.swiper-container {
    overflow: hidden !important;
}
.swiper-wrapper {
    display: flex !important;
}

/**********************/
/******* Footer *******/
/**********************/
footer.box-footer {
    box-shadow: 0px -100px 0px var(--wp--preset--color--primary);
}
footer.site-footer, 
footer.site-footer .site-info {
    border: none !important;
    background-color: var(--wp--preset--color--primary);
    color: white !important;
}
footer.site-footer a {
    color: white !important;
}
footer.site-footer a:hover {
    color: var(--wp--preset--color--secondary) !important;
}

@media (max-width: 767px) {
    .wp-container-core-group-is-layout-6be84c55 .wp-block-group {
            grid-column: span 3;
    grid-row: span 1;
    }
}

/********************/
/******* Form *******/
/********************/
form.form-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 1s;
    width: 40px;
    height: 40px;
    background: white;
    box-sizing: border-box;
    border-radius: 4px;
    border: 4px solid white;
    padding: 5px;
}

form.form-search input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 32.5px;
  line-height: 30px;
  outline: 0;
  border: 0;
  font-size: 1em;
  border-radius: 20px;
  padding: 0 10px;
}

form.form-search .fa {
  box-sizing: border-box;
  padding: 10px;
  width: 32.5px;
  height: 32.5px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 4px;
  color: #07051a;
  text-align: center;
  font-size: 1em;
  transition: all 1s;
}
form.form-search .fa:before {
    top: -2px;
    left: -2px;
    position: relative;
}
form.form-search:focus-within,
form.form-search:hover,
form.form-search:valid{
  width: 200px;
  cursor: pointer;
}

form.form-search:hover input,
form.form-search:focus-within input,
form.form-search:valid input {
  width: 100%;
} 

form.form-search:hover .fa,
form.form-search:focus-within .fa,
form.form-search:valid .fa {
  background: var(--wp--preset--color--primary);
  color: white;
}

@media (max-width: 767px) {
    form.form-search {
        position: fixed;
        top: 140px;
        transform: translateY(0);
        left: 0;
        right: 0;
        z-index: 2;
        transition: all 1s;
        width: 90%;
        height: 20%;
        background: white;
        border-radius: 4px;
        border: 4px solid white;
        padding: 5px;
        box-shadow: 0 0 6px;
        margin: auto;
        align-content: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    form.form-search:focus-within, form.form-search:hover, form.form-search:valid {
        width: 90%;
    }
    form.form-search:hover input, form.form-search:focus-within input, form.form-search:valid input {
        width: auto;
    }
    form.form-search input {
        position: relative;
        width: auto;
        height: 32.5px;
        line-height: 30px;
        outline: 0;
        border: 0;
        font-size: 1em;
        border-radius: 0;
        padding: 0 10px;
        border: 1px solid;
    }
    form.form-search .fa {
        position: relative;
    }
}

.wp-block-madeitforms-input-field input.madeit-forms-input-field {
    border: 2px solid var(--wp--preset--color--secondary);
    height: 55px;
}
.wp-block-madeitforms-input-field input.madeit-forms-input-field:focus {
    box-shadow: none;
    border: 2px solid var(--wp--preset--color--secondary);
}

.wp-block-madeitforms-largeinput-field textarea.madeit-forms-largeinput-field {
    border: 2px solid var(--wp--preset--color--secondary);
    height: 150px;
}
.wp-block-madeitforms-largeinput-field textarea.madeit-forms-largeinput-field:focus {
    box-shadow: none;
    border: 2px solid var(--wp--preset--color--secondary);
}

form .wp-block-columns {
    margin: 0 !important;
}

@media (max-width: 767px) {
    form .wp-block-columns {
        gap: 0;
    }
}



/***********************/
/******* Product *******/
/***********************/
.products.columns-3 {
    margin: auto;
}
.product_image {
    max-height: 250px;
}
.product_image img {
    object-fit: contain;
    height: 100%;
}
.products .product,
.wc-block-product-template .wc-block-product {
    position: relative;
}
.products .product .card,
.wc-block-product-template .wc-block-product {
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}
#product_groep_container {
    z-index: 2;
    position: absolute;
    right: -60px;
    top: 20px;
    gap: 10px;
    transition: right 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
@media (max-width: 991px) {
    #product_groep_container {
        right: 10px;
    }
}
#product_groep_container .groep {
    right: 0;
    transition: right 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#product_groep_container .groep a {
    border-radius: 0;
    aspect-ratio: 1;
    width: 42px;
}

@media (min-width: 992px) {
    .products .product .card:hover .card-body > #product_groep_container .groep,
    .products .product:hover #product_groep_container .groep,
    .wc-block-product-template .wc-block-product:hover #product_groep_container .groep {
        position: relative;
        right: 70px !important;
        transition: right 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }
}


.products .product .card:hover .card-body > #product_groep_container .groep:nth-child(1),
.products .product:hover #product_groep_container .groep:nth-child(1),
.wc-block-product-template .wc-block-product:hover #product_groep_container .groep:nth-child(1) {
    transition-delay: 0s;
} 
.products .product .card:hover .card-body > #product_groep_container .groep:nth-child(2),
.products .product:hover #product_groep_container .groep:nth-child(2),
.wc-block-product-template .wc-block-product:hover #product_groep_container .groep:nth-child(2) {
    transition-delay: .1s;
}
.products .product .card:hover .card-body > #product_groep_container .groep:nth-child(3),
.products .product:hover #product_groep_container .groep:nth-child(3),
.wc-block-product-template .wc-block-product:hover #product_groep_container .groep:nth-child(3) {
    transition-delay: .2s;
}
.products .product .btn-grey,
.wc-block-product-template .wc-block-product .btn-grey {
    background-color: rgb(255, 255, 255) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
}
.products .product .btn-grey:hover,
.wc-block-product-template .wc-block-product .btn-grey:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: white !important;
}
.added_to_cart.wc-forward {
    display: none !important;
}
.wc-block-product-template h2 {
    font-family: montserrat, sans-serif;
}

.wc-block-components-product-sale-badge {
    padding: 5px 10px;
    border-radius: 0px !important;
    border: none !important;
    font-weight: 600;
}
.product-onsale {
    background-color: var(--wp--preset--color--primary) !important;
    color: white !important;
    padding: 5px 10px;
    border-radius: 0px !important;
    border: none !important;
    font-weight: 600;
    left: 10px !important;
    right: auto !important;
}

.product-onsale {
    width: auto !important;
    height: auto !important;
    top: 20px !important;
    left: 20px !important;
}
.product-onsale span {
    position: relative !important;
    transform: rotate(0deg) !important;
    left: 0px !important;
    top: 0px !important;
    color: white;
}

.woocommerce .product img {
    object-fit: contain;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    max-height: 450px;
    object-fit: contain;
}

.widget .wc-block-product-categories-list--depth-1 {
    display: none;
}

.woocommerce .quantity .qty {
    height: calc(1.5em + 1rem + 4px);
}

.product_meta {
    margin-top: 20px;
}
.btn-secondary {
    color: white;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    text-align: center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-top: 2px solid var(--wp--preset--color--primary);
    border-radius: 0;
}




/* LEASE */
.bg-white.font-sans {
    background-color: transparent !important;
}

.woocommerce-loop-category__title .count {
    display: none;
}

.MI_newsletter-ftr {
    z-index: 3;
    position: relative;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
    display: flex !important;
    aspect-ratio: 1;
    border-radius: 0%;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    padding: 0px;
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
}
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
    border-radius: 0%;
    aspect-ratio: 1;
    width: 30px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--wp--preset--color--primary);
    color: white;
    border: 1px solid var(--wp--preset--color--primary);
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background-color: var(--wp--preset--color--primary);
    color: white;
    border: 1px solid var(--wp--preset--color--primary);
}
