/*
Theme Name: motodeco.ch
Description: Thème enfant de Divi 5
Author: Dind.Studio
Author URI: https://dind.studio/
Template: Divi
Version: 1.0
*/



/* SETTINGS */

::-moz-selection {
    background: #ed5a12;
    color: #fff;
}
::selection {
    background: #ed5a12;
    color: #fff;
}
.et_pb_row, .et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) #main-content .et_pb_row, .et_pb_row:not([class*=et_flex_column]) {
    width: 100%;
}

/* Fonts */
@font-face {
    font-family: 'Acumin Pro';
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-BoldItalic.eot');
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-BoldItalic.woff2') format('woff2'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-BoldItalic.woff') format('woff'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-BoldItalic.ttf') format('truetype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-BoldItalic.svg#AcuminPro-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Acumin Pro';
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Italic.eot');
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Italic.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Italic.woff2') format('woff2'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Italic.woff') format('woff'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Italic.ttf') format('truetype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Italic.svg#AcuminPro-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Acumin Pro';
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Bold.eot');
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Bold.woff2') format('woff2'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Bold.woff') format('woff'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Bold.ttf') format('truetype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Bold.svg#AcuminPro-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Acumin Pro';
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Regular.eot');
    src: url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Regular.woff2') format('woff2'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Regular.woff') format('woff'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Regular.ttf') format('truetype'),
        url('/wp-content/themes/motodeco/fonts/acuminpro/AcuminPro-Regular.svg#AcuminPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Images */
body.custom-theme-itp .et_pb_section .et_pb_row .et_pb_column .et_pb_image, 
body.custom-theme-itp .et_pb_section .et_pb_row .et_pb_column .et_pb_image .et_pb_image_wrap img[src*=".svg"] {
    width: 100%;
    height: auto;
}

/* Texts */
body.custom-theme-itp {
    scroll-behavior: smooth;
}
body.custom-theme-itp h1, body.custom-theme-itp h2, body.custom-theme-itp h3, body.custom-theme-itp h4, body.custom-theme-itp h5, body.custom-theme-itp h6 {
    line-height: 1.2em;
    padding-bottom: 1em !important;
}
body.custom-theme-itp .no-space h1, body.custom-theme-itp .no-space h2, body.custom-theme-itp .no-space h3, body.custom-theme-itp .no-space h4, body.custom-theme-itp .no-space h5, body.custom-theme-itp .no-space h6 {
    padding-bottom: 0 !important;
}
body.custom-theme-itp .et_pb_text .et_pb_text_inner ul {
    line-height: 1.6em;
    padding-bottom: 1em;
    padding-left: 1em;
}
body.custom-theme-itp .et_pb_text_inner p a,
body.custom-theme-itp .et_pb_toggle_content a {
    text-decoration: none;
    transition: all .2s ease;
}
body.custom-theme-itp .et_pb_text_inner p a:hover,
body.custom-theme-itp .et_pb_toggle_content a:hover,
body.custom-theme-itp .et_pb_blurb .et_pb_blurb_description p a:hover {
    text-decoration: underline;
}

/* Gallery */
body.custom-theme-itp .et_pb_section .et_pb_row .et_pb_column .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Maps */
body.custom-theme-itp .et_pb_section.section_maps .et_pb_row .et_pb_column .et_pb_code .et_pb_code_inner iframe {
    width: 100%;
    height: 400px;
}

@media only screen and (max-width: 980px) {

}
@media only screen and (max-width: 767px) {
    
    /* Gallery */
    body.custom-theme-itp .et_pb_section .et_pb_row .et_pb_column .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item img {
        aspect-ratio: 3 / 4;
    }
}


