/*
Theme Name: Toplis & Harding SA
Description: Thème enfant de Toplis & Harding SA
Author: By the Way studio
Author URI: https://bytheway.studio/
Template: Divi
Version: 1.0
*/



/* SETTINGS */

::-moz-selection {
    background: #b62c28;
    color: #fff;
}
::selection {
    background: #b62c28;
    color: #fff;
}
.et_pb_row, .et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) #main-content .et_pb_row {
    width: 100%;
}
body.custom-theme-btw .et_pb_section.section_align .et_pb_row {
    display: flex;
    align-items: center;
}

/* Texts */
body.custom-theme-btw {
    font-weight: 400;
    line-height: 1.4em;
    scroll-behavior: smooth;
}
body.custom-theme-btw p {
    font-weight: 400;
    line-height: 1.4em;
}
body.custom-theme-btw h1, body.custom-theme-btw h2, body.custom-theme-btw h3, body.custom-theme-btw h4, body.custom-theme-btw h5, body.custom-theme-btw h6 {
    font-weight: 500;
    padding-bottom: 10px !important;
}
body.custom-theme-btw .et_pb_text_inner p strong {
    font-weight: 600;
}
body.custom-theme-btw .et_pb_text_inner ul,
body.custom-theme-btw .et_pb_text_inner ol {
    list-style-position: initial;
    padding-bottom: 1em;
    padding-left: 1em;
}
body.custom-theme-btw .et_pb_text_inner ul li,
body.custom-theme-btw .et_pb_text_inner ol li {
    padding-bottom: .5em;
}
body.custom-theme-btw .et_pb_text_inner ul li:last-child,
body.custom-theme-btw .et_pb_text_inner ol li:last-child {
    padding-bottom: 0px;
}
body.custom-theme-btw .et_pb_text_inner p a {
    text-decoration: underline;
    transition: all .2s ease;
}
body.custom-theme-btw .et_pb_text_inner p a:hover {
    text-decoration: none;
}

/* Buttons */
body.custom-theme-btw .et_pb_button_module_wrapper a.et_pb_button {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4em !important;
    color: #fff !important;
    border: 0px !important;
    padding-top: 12px !important;
    padding-bottom: 10px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    transition: all .2s ease;
}
body.custom-theme-btw .et_pb_button_module_wrapper a.et_pb_button.white {
    color: #484848 !important;
    background-color: #fff !important;
}
body.custom-theme-btw .et_pb_button_module_wrapper a.et_pb_button.white:hover {
    color: #fff !important;
    background-color: #484848 !important;
}

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

    body.custom-theme-btw .et_pb_section.section_align .et_pb_row {
        flex-direction: column;
    }
    body.custom-theme-btw .et_pb_section.section_reverse .et_pb_row {
        flex-direction: column-reverse;
    }
    body.custom-theme-btw .et_pb_section.section_reverse .et_pb_row .et_pb_column.et-last-child {
        margin-bottom: 60px;
    }
    body.custom-theme-btw .et_pb_section.section_reverse .et_pb_row .et_pb_column {
        margin-bottom: 0px;
    }

    /* Buttons */
    body.custom-theme-btw .et_pb_button_module_wrapper a.et_pb_button {
        font-size: 14px;
    }
}


