/*
Theme Name: TSM Assurances
Description: Thème enfant de Divi 5
Author: by the way studio Sàrl
Author URI: https://bytheway.studio/
Template: Divi
Version: 1.0
*/



/* SETTINGS */

::-moz-selection {
    background: #1d4189;
    color: #fff;
}
::selection {
    background: #1d4189;
    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: 'Erode Variable';
    src: url('/wp-content/themes/tsm/fonts/ErodeVariable-Light.eot');
    src: url('/wp-content/themes/tsm/fonts/ErodeVariable-Light.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-Light.woff2') format('woff2'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-Light.woff') format('woff'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-Light.ttf') format('truetype'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-Light.svg#ErodeVariable-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Erode Variable';
    src: url('/wp-content/themes/tsm/fonts/ErodeVariable-LightItalic.eot');
    src: url('/wp-content/themes/tsm/fonts/ErodeVariable-LightItalic.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-LightItalic.woff2') format('woff2'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-LightItalic.woff') format('woff'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-LightItalic.ttf') format('truetype'),
        url('/wp-content/themes/tsm/fonts/ErodeVariable-LightItalic.svg#ErodeVariable-LightItalic') format('svg');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Suisse TSM';
    src: url('/wp-content/themes/tsm/fonts/SuisseTSM-Bold.eot');
    src: url('/wp-content/themes/tsm/fonts/SuisseTSM-Bold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Bold.woff2') format('woff2'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Bold.woff') format('woff'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Bold.ttf') format('truetype'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Bold.svg#SuisseTSM-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Suisse TSM';
    src: url('/wp-content/themes/tsm/fonts/SuisseTSM-Regular.eot');
    src: url('/wp-content/themes/tsm/fonts/SuisseTSM-Regular.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Regular.woff2') format('woff2'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Regular.woff') format('woff'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Regular.ttf') format('truetype'),
        url('/wp-content/themes/tsm/fonts/SuisseTSM-Regular.svg#SuisseTSM-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Suisse TSM';
    src: url('/wp-content/themes/tsm/fonts/SuisseIntl-Thin.eot');
    src: url('/wp-content/themes/tsm/fonts/SuisseIntl-Thin.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/tsm/fonts/SuisseIntl-Thin.woff2') format('woff2'),
        url('/wp-content/themes/tsm/fonts/SuisseIntl-Thin.woff') format('woff'),
        url('/wp-content/themes/tsm/fonts/SuisseIntl-Thin.ttf') format('truetype'),
        url('/wp-content/themes/tsm/fonts/SuisseIntl-Thin.svg#SuisseIntl-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Texts */
body.custom-theme-btws {
    scroll-behavior: smooth;
}
body.custom-theme-btws h1, body.custom-theme-btws h2, body.custom-theme-btws h3, body.custom-theme-btws h4, body.custom-theme-btws h5, body.custom-theme-btws h6 {
    padding-bottom: 0px !important;
}
body.custom-theme-btws .et_pb_section.section_banner .et_pb_row .et_pb_column .et_pb_text .et_pb_text_inner h1 {
    display: inline;
    border-bottom: 1px solid white;
}
body.custom-theme-btws .et_pb_text_inner p a {
    transition: all .2s ease;
}
body.custom-theme-btws .et_pb_text_inner p a:hover,
body.custom-theme-btws .et_pb_promo p a:hover {
    text-decoration: underline;
}
body.custom-theme-btws .et_pb_text_inner ul {
    line-height: 1.6em;
    padding-bottom: 1em;
    padding-left: 1em;
}
body.custom-theme-btws .et_pb_text .et_pb_text_inner ul li::marker {
    color: #1d4189;
}

/* Buttons */
body.custom-theme-btws .et_pb_section .et_pb_row .et_pb_column a.et_pb_button {
    height: 50px;
    font-family: 'Suisse TSM';
    font-weight: 100;
    font-style: normal;
    font-size: 16px;
    line-height: 1em !important;
    box-shadow: none;
    outline: none;
    padding: 16px 24px !important;
    transition: all .2s ease;
}

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

    /* Buttons */
    body.custom-theme-btws .et_pb_section .et_pb_row .et_pb_column a.et_pb_button {
        height: 49px;
        font-size: 15px;
    }
}
@media only screen and (max-width: 767px) {

    /* Buttons */
    body.custom-theme-btws .et_pb_section .et_pb_row .et_pb_column a.et_pb_button {
        height: 48px;
        font-size: 14px;
    }
}


