/*
 Theme Name:   Made I.T. - Relexmobilhomes.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:      0.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  relexmobilhomes
*/

@font-face {
    font-family: 'Baskerville';
    src: url('/wp-content/themes/relexmobilhomes/fonts/BaskOldFace.eot');
    src: url('/wp-content/themes/relexmobilhomes/fonts/BaskOldFace.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/relexmobilhomes/fonts/BaskOldFace.woff2') format('woff2'),
        url('/wp-content/themes/relexmobilhomes/fonts/BaskOldFace.woff') format('woff'),
        url('/wp-content/themes/relexmobilhomes/fonts/BaskOldFace.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cera Round Pro Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Cera Round Pro Regular'), url('/wp-content/themes/relexmobilhomes/fonts/CeraRoundProRegular.woff') format('woff');
}

body {
    font-family: 'Cera Round Pro Regular', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.flex-grow {
    margin-top: 66px;
    max-width: 100vw;
    overflow-x: hidden;
}

.custom-logo {
    height: 55px !important;
    max-width: 200px !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
    font-family: 'Baskerville', serif;
}

.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);
}

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;
}

.bg-gradient, footer.site-footer {
    background: rgb(36,11,54);
    background: linear-gradient(90deg, rgba(36,11,54,1) 0%, rgba(195,20,50,1) 100%);
}

footer.site-footer {
    border: none;
    color: white;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}
footer.site-footer a {
    color: white;
}

.bg-gradient-2 {
    background: rgb(36,11,54);
    background: linear-gradient(90deg, rgba(36,11,54,1) 0%, rgba(220,53,69,1) 100%);
    color: white;
}
.bg-gradient-2 a {
    color: white;
    text-decoration: underline;
}

.btn-success {
    color: white !important;
}

.entry-title {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.waves-top img {
    width: 100%;
    margin-top: -85px;
    position: absolute;
    z-index: 1;
    transform: scale(1.003);
}

.wp-block-image:not(.waves-top,.waves,.logo) img {
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
footer .wp-block-image:not(.waves-top,.waves) img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.waves {
    margin: 0;
}
.waves img {
    width: 100%;
    transform: scale(1.003);
}

.woocommerce-product-gallery {
    width: 80% !important;
    float: none;
}

.woocommerce-product-gallery img {
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
    margin-top: 20px;
    margin-right: 20px;
    width: calc((100% - 40px) / 3) !important;
}

div.product div.images .woocommerce-product-gallery__image:nth-last-child(1) {
    margin-right: 0;
}

.wc-bookings-booking-form-button {
    width: 100%;
}
.wc-bookings-booking-form-button.disabled {
    color: #fff;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}
.btn-success, .woocommerce button.button.alt {
    color: #fff !important;
}

@media (min-width: 768px) {
    .cover-waves:after {
        content: '';
        display: block;
        background-image: url(/wp-content/themes/relexmobilhomes/img/layered-waves-top.svg);
        background-repeat: no-repeat;
        background-size: 100%;
        width: 100%;
        position: absolute;
        bottom: -10px;
        z-index: 1;
        aspect-ratio: 1440/85;
        background-position: center bottom;
    }
}

.footer-top-img {
    transform: scale(1.003);
}
.wc_payment_method {
    display: flex;
    align-items: center;
}
.wc_payment_method [type=radio] {
    margin-bottom: 8px;
}

input[type=checkbox].wc-pao-addon-field {
    margin-bottom: 10px;
}