/******/
/*** commons ***/
/******/
:root {
    --lidem-color-orange: #fc8a00;
    --lidem-color-dark-orange: #945100;
	--lidem-color-light-orange: #fae8d4;

    --lidem-color-pink: #ff0f63;
    
	--lidem-color-white: #fff;
	--lidem-color-lighter-gray: #f6f6f6;
	--lidem-color-light-gray: #ccc;
	--lidem-color-gray: #888;
	--lidem-color-dark-gray: #444;
    --lidem-color-darker-gray: #222;

    --lidem-color-red: #f22;
    --lidem-color-dark-red: #bd0000;

    --lidem-color-blue: #4678ff;;
    --lidem-color-dark-blue: #003ce0;

    --lidem-color-input-green: #9bffb2;
    --lidem-color-green: #28a745;
    --lidem-color-dark-green: #155624;

    --lidem-color-purple: #800080;

	--lidem-font-body: 'Lato', sans-serif;
	--lidem-font-heading: 'Montserrat', sans-serif;
}

* {
	border: 0;
	box-sizing: border-box;
	font-family: var(--lidem-font-body);
	margin: 0;
	padding: 0;
}

a {
	color: var(--lidem-color-orange);
    text-decoration: none;
}

	a:hover {
		color: var(--lidem-color-pink);
	}

ol,
ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--lidem-color-dark-gray);
    font-family: var(--lidem-font-heading);
}

h1 {
	font-size: 48px;
	margin-bottom: 25px;
}

h2 {
	font-size: 36px;
	margin-bottom: 25px;
}

h3 {
	font-size: 28px;
	margin-bottom: 15px;
}

h4 {
	font-size: 22px;
	margin-bottom: 10px;
}

h5 {
	font-size: 18px;
	margin-bottom: 10px;
}

h6 {
	font-size: 16px;
}

body {
	background: var(--lidem-color-lighter-gray);
	color: var(--lidem-color-darker-gray);
	font-size: 16px;
}

/******/
/*** Framework ***/
/******/

.no-disp {
    display: none !important;
}

/*** Forms ***/

.lidem-btn, button {
	background: var(--lidem-color-orange);
	border-radius: 2px;
	color: var(--lidem-color-white);
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	font-weight: 500;
	padding: 7px 11px;
	text-transform: capitalize;
	transition: all .3s;
}

	.lidem-btn:hover {
		background: var(--lidem-color-pink);
		color: var(--lidem-color-white);
	}

.lidem-cmd-btn-w {
	text-align: right;
}

	.lidem-cmd-btn-w .lidem-btn {
		margin-left: 10px;
    }

.lidem-btn.lidem-btn-icon {
    font-size: 12px;
    padding: 5px;
}
.lidem-btn.lidem-btn-disabled {
    opacity: 0.5;
}

.btn-red {
    background-color: var(--lidem-color-red);
}
.lidem-btn.btn-red:hover {
    background-color: var(--lidem-color-dark-red);
}

.btn-blue {
    background-color: var(--lidem-color-blue);
}
.lidem-btn.btn-blue:hover {
    background-color: var(--lidem-color-dark-blue);
}

.btn-green {
    background-color: var(--lidem-color-green);
}
.lidem-btn.btn-green:hover {
    background-color: var(--lidem-color-dark-green);
}

.btn-orange {
    background-color: var(--lidem-color-orange);
}
.lidem-btn.btn-orange:hover {
    background-color: var(--lidem-color-dark-orange);
}
    .lidem-btn.lidem-btn-icon > a {
        color: var(--lidem-color-white);
    }
.lidem-icon-separator {
    margin-right: 1px;
}
.text-center {
    text-align: center;
}
.lidem-badge {
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    width: 25px;
    line-height: 25px;
    height: 25px;
    text-align: center;
    cursor: default;
}

.lidem-container {
	padding: 0 15px;
	margin: 0 auto;
	width: 960px;
}

.lidem-section {
 	margin-top: 20px;
 	margin-bottom: 20px;
}

.lidem-intro {
	display: block;
	margin-bottom: 10px;
}

.lidem-form {
	margin: 15px 0;
}

	.lidem-form select,
	.lidem-form textarea,
    .lidem-form input:not([type="submit"]):not([type="button"]):not([type="image"]) {
		background: var(--lidem-color-white);
		border: 1px solid var(--lidem-color-light-gray);
		padding: 10px 15px;
    }
    
    .lidem-form-select {
        max-width: 250px;
    }

	.lidem-form textarea {
		height: 100px;
        width: 100%;
        resize: vertical;
    }
    
    .lidem-form fieldset {
        position: relative;
        border: none;
    }

        .lidem-form fieldset legend {
            background-color: var(--lidem-color-pink);
            border: 1px solid var(--lidem-color-pink);
            padding: 2px 10px;
            position: absolute;
            top: 0;
            left: 0;
            border-radius: 3px 3px 0 0;
            width: 100%;
        }

        .lidem-form fieldset .lidem-fieldset-container {
            border: 1px solid var(--lidem-color-light-gray);
            border-radius: 3px;
            padding: 30px 5px 5px 5px;
        }

.lidem-form-row {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

	.lidem-form-row > :first-child {
        /* flex: 0 0 150px; */
        width: 40%;
		padding-right: 15px;
	}

	.lidem-form-row > :last-child {
		flex: 1 0;
    }

    .lidem-form-row.lidem-form-short > :last-child {
        flex: 0 0;
    }

.lidem-form-label {
	color: var(--lidem-color-darker-gray);
	font-family: var(--lidem-font-body);
	font-weight: 700;
}

.lidem-in-td-form-row-150 {
    display: flex;
    width: 150px;
    justify-content: space-between;
}

.lidem-missing {
	background: var(--lidem-color-red);
}

.lidem-bg-blue {
	background-color: var(--lidem-color-blue);
}

.lidem-bg-green {
	background-color: var(--lidem-color-green);
}

.lidem-bg-orange {
	background-color: var(--lidem-color-orange);
}

.lidem-bg-purple {
	background-color: var(--lidem-color-purple);
}

.lidem-bg-red {
	background-color: var(--lidem-color-red);
}

.lidem-border-block {
    border: 1px solid var(--lidem-color-light-gray);
    padding: 5px;
    margin: 10px 0;
}

/* Inputs */
.lidem-checkbox input[type="checkbox"],
.lidem-radio input[type="radio"] { 
    display: none;
}

.lidem-checkbox span::before,
.lidem-radio span::before {
	font-family: 'Font Awesome 5 Free', fantasy;
    font-weight: normal;
    cursor: pointer;
    margin-right: 10px;
}

.lidem-checkbox span:empty::before,
.lidem-radio span:empty::before {
    margin-right: 0;
}

.lidem-checkbox span::before {
	content: "\f0c8";
}

.lidem-checkbox span > img {
	vertical-align: middle;
}

.lidem-checkbox input[type="checkbox"]:checked + span::before {
    content: "\f14a";
}

.lidem-checkbox input[type="checkbox"]:checked + span {
    font-weight: 700;
}

.lidem-checkbox-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.lidem-checkbox-list > label {
	flex: 0 0 25%;
	padding: 0 10px;
	margin-bottom: 10px;
}


.lidem-radio span::before {
    content: "\f111";
	display: inline-block;
	vertical-align: middle;
}
.lidem-radio input[type="radio"]:checked + span::before {
    content: "\f192";
}

.lidem-form input.lidem-field-error {
	background: #ffc8c8;
	border-color: #c00;
}
.lidem-form input.lidem-field-ok {
	background:  var(--lidem-color-input-green);
	border-color: var(--lidem-color-dark-green);
}

.lidem-calendar-input::placeholder {
	font-family: 'Font Awesome 5 Free', fantasy;
}

.lidem-separator {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lidem-color-darker-gray);
}
.lidem-form .height-50 {
    height: 50px;
}
.lidem-form input.input-cent-per-cent {
    width: 100%;
}
/** Flex elements **/
.lidem-flex {
    display: flex;
    justify-content: space-between;
}
    .lidem-flex > * {
        margin: 0 5px;
    }
    .lidem-flex > :first-child {
        margin-left: 0;
    }
    .lidem-flex > :last-child {
        margin-right: 0;
    }
.lidem-flex-column {
    flex-direction: column;
}
    .lidem-flex-column > * {
        margin: 5px 0;
    }
    .lidem-flex > :first-child {
        margin-top: 0;
    }
    .lidem-flex > :last-child {
        margin-bottom: 0;
    }
.lidem-flex-50-50 > * {
    flex: 1 0 50%;
}
.lidem-flex-grow {
    flex-grow: 1;
}
.lidem-flex-shrink {
    flex-shrink: 0;
}


/** Panels **/
.lidem-panel {
    background-color: var(--lidem-color-white);
    padding: 15px;
    border-radius: 2px;
    border: 1px solid var(--lidem-color-light-gray);
}
    .lidem-panel > :first-child {
        margin-top: 0;
    }
    .lidem-panel > :last-child {
        margin-bottom: 0;
    }

.lidem-panel-error {
	background: #ffc8c8;
	border-color: #c00;
	color: #c00;
}

.lidem-panel-info {
	background: var(--lidem-color-light-orange);
	border-color: var(--lidem-color-orange);
	color: var(--lidem-color-orange);
}

.lidem-sub-panel {
    border: 1px solid var(--lidem-color-light-gray);
    padding: 10px;
    margin: 5px 5px 5px 0;
}

.lidem-notice {
    font-style: italic;
    font-size: 15px;
}

/** Tables **/
.lidem-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
    .lidem-table th {
        padding: 5px;
    }
    .lidem-table tbody tr:nth-child(odd) {
        background-color: var(--lidem-color-light-gray);
    }
    .lidem-table tbody tr:nth-child(even) {
        background-color: var(--lidem-color-lighter-gray);
    }
    .lidem-table td {
        padding: 10px;
    }
.lidem-table-border td,
.lidem-table-border th {
    border: 1px solid var(--lidem-color-gray);
}
.lidem-table-separator td,
.lidem-table-separator th {
    border-top: 2px solid var(--lidem-color-darker-gray);
}
.lidem-table .label {
    width: 100%;
}
.lidem-table-auto {
    width: auto;
} 
.lidem-table.reduce-title th  {
    font-size: 12px;
}
.table-layout-auto {
    table-layout: auto;
}
    .table-layout-auto .small {
        width: 20px
    }
td.fondRouge {
    background-color: var( --lidem-color-red );
}

/** Nav **/
.lidem-nav-links {
    margin-bottom:10px;
    padding: 8px 5px;
    background-color: var(--lidem-color-white);

	border: solid var(--lidem-color-gray);
    border-width: 0 1px 1px;
    border-radius: 2px;
}
    .lidem-nav-links a {
        padding: 0 5px;
        border-right: 1px solid var(--lidem-color-light-gray);
    }
    .lidem-nav-links a:last-child {
        border: none;
    }

/** Simple color **/
.red {
    color: var(--lidem-color-red);
}
.green {
    color: var(--lidem-color-green);
}

.lidem-left-block {
    display: block;
    text-align: left;
}
.icon-vertical {
    display: flex;
    align-items: center;
}

/** Margins **/
.no-margin {
    margin: 0;
}
.lidem-ml-10 {
    margin-left: 10px;
}
.lidem-mr-10 {
    margin-right: 10px;
}
.lidem-mb-10 {
    margin-bottom: 10px;
}
.lidem-mt-10 {
    margin-top: 10px;
}
.lidem-mb-30 {
    margin-bottom: 30px;
}
.lidem-mt-30 {
    margin-top: 30px;
}

.clear {
    clear: both;
}

.lidem-modale {
    position: absolute;
    top: 220px; 
    right: 20px; 
    width: 700px; 
    text-align:center; 
    color: black; 
    padding: 0;
    border:1px solid black;
}
/*** Login / out ***/
.lidem-login-out-body {
	align-items: flex-start;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding-top: 200px;
}

/*** Home interface ***/
.graphic-interface-link {
    display: inline-block;
    margin: 5px 0;
}
#home-interface {
    margin: 30px auto;
}
    #home-interface .home-interface-container {
        margin: 30px 0;
    }
        #home-interface .home-interface-container .accueil {
            font-size: 18px;
            margin-bottom: 10px;
        }
        #home-interface .home-interface-container .div_tableau {
            width: 100%;
        }
            #home-interface .home-interface-container .div_tableau h3 {
                font-size: 16px;
                font-weight: normal;
            }

/*** Globals texts ***/
#container p {
    margin: 10px 0;
}
#container ul {
    padding-left: 40px;
    list-style: circle;
    margin: 5px 0;
}

/*** Absences ***/
.lidem-table tr img {
    width: 60px;
}
.lidem-table tr img.reversed {
    width: 25px;
}
div.lidem-top-delimiter {
    border-top: 1px solid var(--lidem-color-dark-gray);
}
.filter-element {
    text-align: center;
}
    .filter-element > ,
    .filter-element > span
    {
        margin: 0 5px;
    }
    .filter-element input[type=image] {
        display: none;
    }
    .filter-element i {
        cursor: pointer;
    }
.tb_absences th, .tb_absences td {
    border: 1px solid var(--lidem-color-dark-gray);
}
/*** Bulletins ***/
h3 select {
    font-size: 21px;
}
span.icon-legend {
    font-style: italic;
    font-size: 9px;
}
.lidem-heading {
    border-bottom: 1px solid var(--lidem-color-light-gray);
    margin-top: 10px;
    margin-bottom: 30px;
}
    .lidem-heading  span {
        margin-right: 15px;
    }
    
header {
    padding: 5px 0;
}
    header h4,
    header span {
        margin-left: 0;
        font-size: 22px;
    }

.bulletin_button h5 {
    margin: 0 5px 0 0;
    flex-grow: 1;
}

.bulletin_button span {
    margin-right: 5px;
}

.signal {
    text-align: center;
}

th.rowspan2 {
    background-color: var(--lidem-color-lighter-gray);
}

.date-note {
    font-size: 11px;
}
/******/
/*** Footer ***/
/******/
footer {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: var(--lidem-color-light-gray);
}

/** Override Gepi **/
body .t_onglet {
    border: 0;
    padding: 0;
    margin-right: 2px;
}
    body .t_onglet a {
        background: var(--lidem-color-orange);
        border-radius: 2px 2px 0 0;
        color: var(--lidem-color-white);
        cursor: pointer;
        display: inline-block;
        font-size: 16px;
        font-weight: 500;
        padding: 7px 11px;
        text-transform: capitalize;
        transition: all .3s;
    }
    body .t_onglet a:hover {
        background-color: var(--lidem-color-dark-orange);
    }

body .onglet {
    background-color: var(--lidem-color-white);
    padding: 15px;
    border-radius: 2px;
    border: 1px solid var(--lidem-color-light-gray);
}

/** Page admin verrouillage */
.lidem-table.table-verrouillage td,
.lidem-table.table-verrouillage td input
{
    font-size: 10px;
}
.lidem-table.table-verrouillage th {
    font-size: 12px;
}