/*
Theme Name: Claude Limat SA
Description: Thème enfant de Divi 5
Author: Ludovic Dind
Author URI: https://dind.studio/
Template: Divi
Version: 1.0
*/



/* SETTINGS */

::-moz-selection {
    background: #905539;
    color: #fff;
}
::selection {
    background: #905539;
    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%;
}
body.custom-theme-ds #page-container #et-boc #et-main-area {
    padding-top: 127.5px;
}

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

/* Texts */
body.custom-theme-ds {
    line-height: 1.6em;
    scroll-behavior: smooth;
}
body.custom-theme-ds p {
    line-height: 1.6em;
}
body.custom-theme-ds .et_pb_text_inner p strong,
body.custom-theme-ds .et_pb_text_inner ul li strong {
    font-weight: 800;
}
body.custom-theme-ds .et_pb_text_inner ul {
    line-height: 1.6em;
    padding-bottom: 1em;
    padding-left: 1em;
}
body.custom-theme-ds .list_last .et_pb_text_inner ul {
    padding-bottom: 0px;
}
body.custom-theme-ds .et_pb_text_inner ul li::marker {
    color: #82bb32;
}
body.custom-theme-ds .et_pb_text_inner p a,
body.custom-theme-ds .et_pb_text_inner ul li a {
    transition: all .2s ease;
}
body.custom-theme-ds .et_pb_text_inner p a:hover,
body.custom-theme-ds .et_pb_text_inner ul li a:hover {
    text-decoration: underline;
}
body.custom-theme-ds #page-container .et_pb_section .et_pb_row .et_pb_column .et_pb_text.text_tight .et_pb_text_inner p {
    padding-bottom: .5em;
}
body.custom-theme-ds #page-container .et_pb_section .et_pb_row .et_pb_column .et_pb_text.text_tight .et_pb_text_inner p:last-child {
    padding-bottom: 0px;
}
body.custom-theme-ds h1, body.custom-theme-ds h2, body.custom-theme-ds h3, body.custom-theme-ds h4, body.custom-theme-ds h5, body.custom-theme-ds h6 {
    padding-bottom: 10px !important;
}
body.custom-theme-ds .without_space h1, body.custom-theme-ds .without_space h2, body.custom-theme-ds .without_space h3, body.custom-theme-ds .without_space h4, body.custom-theme-ds .without_space h5, body.custom-theme-ds .without_space h6 {
    padding-bottom: 0px !important;
}
body.custom-theme-ds h1 span, body.custom-theme-ds h2 span, body.custom-theme-ds h3 span, body.custom-theme-ds h4 span, body.custom-theme-ds h5 span, body.custom-theme-ds h6 span {
    color: #82bb32 !important;
}

/* Buttons (Text) */
body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_section .et_pb_row .et_pb_column .et_pb_text .et_pb_text_inner a.button {
    display: inline-block;
    width: fit-content;
    height: 40.8px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.6em !important;
    color: #fff !important;
    background-color: #82bb32;
    border: 0px !important;
    border-radius: 12px !important;
    overflow: hidden;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    transition: all .2s ease;
}
body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_section .et_pb_row .et_pb_column .et_pb_text .et_pb_text_inner a.button:hover {
    text-decoration: none;
    background-color: #2a8d5f !important;
}

/* Buttons */
body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_button_module_wrapper {
    height: 40.8px;
}
body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_button_module_wrapper a.et_pb_button {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.6em !important;
    border: 0px !important;
    border-radius: 12px !important;
    overflow: hidden;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    transition: all .2s ease;
}

/* Badge */
body.custom-theme-ds a#badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3;
    display: inline-flex;
    width: 160px;
    animation: rotation 8s infinite linear;
}
body.custom-theme-ds a#badge img {
    width: 100%;
    height: auto;
}
@keyframes rotation {

    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}



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

    body.custom-theme-ds #page-container #et-boc #et-main-area {
        padding-top: 109px;
    }

    /* Buttons */
    body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_button_module_wrapper {
        height: 39.2px;
    }
    body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_button_module_wrapper a.et_pb_button {
        font-size: 17px;
        padding-left: 19px !important;
        padding-right: 19px !important;
    }

    /* Badge */
    body.custom-theme-ds a#badge {
        bottom: 18px;
        right: 18px;
        width: 140px;
    }
}
@media only screen and (max-width: 767px) {

    body.custom-theme-ds #page-container #et-boc #et-main-area {
        padding-top: 94.5px;
    }

    /* Buttons */
    body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_button_module_wrapper {
        height: 37.6px;
    }
    body.custom-theme-ds #page-container #et-boc #et-main-area .et_pb_button_module_wrapper a.et_pb_button {
        font-size: 16px;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    /* Badge */
    body.custom-theme-ds a#badge {
        bottom: 12px;
        right: 12px;
        width: 120px;
    }
}


