/*
 Theme Name:     Inventaire Basic Theme
 Theme URI:      http://www.elegantthemes.com/gallery/foxy/
 Description:    Inventaire Basic Theme base on Divi Theme from Elegant Themes
 Author:         Inventaire
 Author URI:     http://www.inventaire.ch
 Template:       Divi
 Version:        1.0.0
*/

/* BASE */

.et_pb_text_inner h3, .et_pb_text_inner h2 {
	padding-bottom: 0.5em!important;
}

.et_pb_text_inner p {
    padding-bottom: 1em;
}

.et_pb_text_inner:not(:has(p)) h3 {
	padding-bottom: 0!important;
}

.et_pb_text_inner:has(ul) h3 {
	padding-bottom: 0.5em!important;
}

ul li:not(:last-child), ol li:not(:last-child) {
	margin-bottom: 10px;
}

div.et_pb_column > div.et_pb_text:not(:first-child) {
    margin-top: 3rem;
}

div.et_pb_text_inner ul, div.et_pb_toggle_content ul, div.et_pb_toggle_content ol {
    line-height: 1.6em;
}

div.et_pb_text {
    margin-bottom: 1rem!important;
}

/* BASCULE */

div.et_pb_toggle {
    margin-bottom: 1rem!important;
}

/* MENU LATERAL*/
div.widget_nav_menu ul.sub-menu li.current-menu-item a, div.widget_nav_menu li.current_page_item>a {
	color: #db261b;
}

/* CARDS */
.dsm_card .et_pb_module_inner, .dsm_card .et_pb_module_inner .dsm_card_wrapper {
	height: 100%;
}

.dsm_card .et_pb_button_wrapper {
	margin-top: auto;
}

.dsm_card .et_pb_module_inner {
	display: flex;
	flex-direction: column;
}

.dsm_card .et_pb_module_inner figure {
	padding: 2rem 0 0 2rem;
}

/*TABLEAUX*/

.dvmd_tablepress_styler .column-filter-widgets a.filter-term {
	display: table!important;
	background: #E6EDF4;
	padding: 5px 10px!important;
	margin: 5px 5px 5px 0;
	font-size: 16px!important;
	font-weight: 300!important;
	border-radius: 50px;
}

.dvmd_tablepress_styler .column-filter-widgets a.filter-term:last-child {
	margin-right: 0;
}

/* ICON PDF LINK p */
div.et_pb_toggle p a[href$=".pdf"]:before {
    font-family: 'ETMODULES';
	text-decoration: none!important;
	display: inline-block; 
    content: '\e092';
    text-align: center;
    vertical-align: middle;
    margin-right: 5px;
    margin-left: 0;
    color: #a5c5da;
    font-size: 1em;
}

p a[href$=".pdf"]:before, li a[href$=".pdf"]:before {
    font-family: 'ETMODULES';
	text-decoration: none!important;
	display: inline-block; 
    content: '\e092';
    text-align: center;
    vertical-align: middle;
    margin-right: 5px;
    margin-left: 0;
    color: #db261b;
    font-size: 1em;
}

/*LOADER*/
.loader {
    position: fixed;
    z-index: 99999999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader > img {
    width: 300px;
}

.loader.hidden {
    animation: fadeOut .05s;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.thumb {
    height: 100px;
    border: 1px solid black;
    margin: 10px;
}

/*MENU*/
