/* fonts */
@font-face {
    font-family: 'Maison Neue';
    src: url('../Css/fonts/MaisonNeue-Medium.eot');
    src: url('../Css/fonts/MaisonNeue-Medium.eot?#iefix') format('embedded-opentype'), url('../Css/fonts/MaisonNeue-Medium.woff') format('woff'), url('../Css/fonts/MaisonNeue-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Maison Neue Bold';
    src: url('../Css/fonts/MaisonNeue-Bold.eot');
    src: url('../Css/fonts/MaisonNeue-Bold.eot?#iefix') format('embedded-opentype'), url('../Css/fonts/MaisonNeue-Bold.woff') format('woff'), url('../Css/fonts/MaisonNeue-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Atelier';
    src: url('../Css/fonts/Atelier-Regular.eot');
    src: url('../Css/fonts/Atelier-Regular.eot?#iefix') format('embedded-opentype'), url('../Css/fonts/Atelier-Regular.woff') format('woff'), url('../Css/fonts/Atelier-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Maison Neue', Arial, sans-serif;
    max-width: 1650px;
    margin: auto;
}
.no-underline {
    text-decoration: none !important;
}
ul {
    text-transform: initial;
    list-style: none;
    padding-left: 1em;
    border-left: 0.2em solid #eeeeee;
}
h2, h3, h4, h5, h6 {
    font-family: 'Atelier', Arial, sans-serif;
    color: #0069cb;
    font-weight: normal;
    text-transform: uppercase;
}
h2 {
    font-size: 16pt;
}
h3 {
    font-size: 14pt;
}
h4 {
    font-size: 13pt
}
h5 {
    font-size: 12pt
}
h6 {
    font-size: 11pt
}

/* Header */
.header-container .title {
    text-transform: uppercase;
    font-family: 'Atelier';
    font-weight: 100;
    font-size: 2em;
    color: #ffa246;
    line-height: 1!important;
}
.institutional-name {
    border-left: 9px solid #ffa246;
    border-right: 9px solid #ffa246;
}
.logo {
    padding-right: 6vw;
    height: auto;
    width: 100%;
}
.bottom-line {
    border-top: 9px solid #0069cb;
    margin: 0.8em 0 1.8em 0;
    width: 100%;
}
.top-line {
    border-top: 9px solid #0069cb;
    margin: 20px 0 1.8em 0;
    width: 100%;
}

/* LIST */
#events {
    margin-top: 20px;
}
.round-picture {
	height: 120px;
	width: 120px;
}
.user-picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
    object-position: center 0;
	border-radius: 100%;
}
.one-event {
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}
.one-event-admin {
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    margin-bottom: 0!important;
}
.overflow-students {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
}
.one-student-admin {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 0!important;
}
.select-student, .select-student select, .select-student button {
    font-size: 12px!important;
}
.select-student label {
    width: 23%;
    padding-top: 12px;
}
.select-student select {
    width: 50%;
}
.select-student button {
    width: 23%;
}
.other-event {
    padding: 10px;
    margin-bottom: 10px;
}
.signature-canvas {
    margin-top: 10px;
}
#signatureCanvas {
    border: 1px solid #ddd;
    background-color:#fff;
}
.alert-ctc {
    background-color: #ffb095;
    border: 1px solid #ff6633;
}
.alert-ibd {
    background-color: #88aaff;
    border: 1px solid #0047ff;
}
.alert-nid {
    background-color: #9cff9c;
    border: 1px solid #00ae00;
}
.alert-formationcourte {
    background-color: #ffe88e;
    border: 1px solid #ab8a00;
}
.tx_events_dates {
    border-left: 2px solid lightgray;
    margin-top: 0!important;
    cursor: pointer;
}
.tx_event_date {
    margin-top: 0!important;
    margin-bottom: 0!important;
    margin-left: 30px!important;
    position: relative;
    padding-right: 25px;
    margin-right: 5px;
}
/* Transition pour le toggle des dates */
.slide-fade-enter-active {
    transition: all 0.3s ease;
}
.slide-fade-leave-active {
    transition: all 0.3s ease;
}
.slide-fade-enter, .slide-fade-leave-to {
    transform: translateY(-10px);
    opacity: 0;
}
.toggle-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    font-size: 18px;
    pointer-events: none; /* pour que le clic passe sur le bloc parent */
}
.toggle-arrow.open {
    transform: translateY(-50%) rotate(180deg);
}
.date-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #333;
}
.pointer {
    cursor: pointer;
}
.label {
    padding-top: 5px!important;
    padding-left: 1.5rem!important;
}
#searching select option, #searching select, #searching label, #searching input {
    font-size: 13px!important;
}
.autocompleteList {
    z-index: 2000; 
    max-height: 200px; 
    overflow-y: auto;
    width: 90%!important;
}

/*--COOKIE--*/
.tx-om-cookie-consent .om-cookie-panel {
    width: 100%;
    padding: 10px!important;
    margin: 0!important;
}
.cookie-panel__description p {
    padding: 0!important;
    font-size: 14px!important;
}
.button {
    font-size: 12px!important;
    font-weight: normal!important;
    color: #ffffff!important;
    border-radius: 2px!important;
    cursor: pointer!important;
}
.acceptAll {
    background-color: #ffa246!important;
    border: 1px solid #d3873a!important;
}
.onlyEssential, .saveAndClose {
    background-color: #0069cb!important;
    border: 1px solid #024f97!important;
}
.onlyEssential {
    margin-left: 2px!important;
    margin-right: 2px!important;
}
.cookie-link {
    font-family: 'Open Sans SemiBold'!important;
    font-size: 14px!important;
    color: #ffa246!important;
    text-decoration: none!important;
}
.cookie-link:hover {
    color: #0069cb !important;
}
input[type="checkbox"]:not(#nav-trigger):checked+label::after {
    left: 4px!important;
    top: -2px!important;
    color: #0069cb!important;
}
.om-cookie-panel .cookie-panel__checkbox + label::before {
    border: 2px solid #ffa246!important;
}
.cookies-table {
    font-size: 16px!important;
}
.cookies-table thead th {
    text-align: center!important;
    padding: 10px 5px!important;
    border-bottom: 2px solid #b4b4b4!important;
}
.cookies-table tbody td {
    padding: 10px 5px!important;
    border-bottom: 1px solid #b4b4b4!important;
}

/* PHONE */
@media (max-width: 767px) {
    .container {
        margin: 5px!important;
        max-width: 100%!important;
    }
	.institutional-name {
		display: none;
	}
	.bloc-logo {
		border-right: 9px solid #ffa246;
	}
    #profil {
        display: flex;
        flex-direction: row;
        align-items: center; /* centre verticalement */
        justify-content: center;
        gap: 10px; /* espace entre la photo et le texte */
        border-bottom: 9px solid #ffa246;
        margin-top: 10px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    #teachings {
        border-bottom: 9px solid #ffa246;
        margin-top: 10px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .user-infos {
        display: flex;
        flex-direction: column;
    }

    /* On garde la photo carrée */
    #round-picture {
        flex-shrink: 0; /* empêche la photo de se déformer */
    }
}

/* TABLET AND MORE */
@media (min-width: 768px) {
	#profil {
        border-right: 9px solid #ffa246;
    }
    #teachings {
        border-right: 9px solid #ffa246;
    }
}
/* - - - - - - - - - DESKTOP - - - - - - - - - */
@media (min-width: 1030px) {
	#nav > ul {
		display: flex;
		justify-content: center;
	}
}

/* - - - - - - - - - AFFICHAGE NAVIGATION EN FONCTION DES ECRANS - - - - - - - - - */
@media (min-width: 768px) and (max-width: 991px) {
	.container {
        margin: 5px!important;
        max-width: 100%!important;
    }
}
@media (min-width: 992px) and (max-width: 1198px) {
	
}
@media (min-width: 1199px) and (max-width: 1400px) {
	
}
@media (min-width: 1400px) {
	
}