:root {
    --cassiopeia-color-primary: #062b48;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;

}

.item-page .introduction {
    display: flex;
    flex-direction: row-reverse;
}

.item-page .introduction img {
    max-width: 100%; /* Ajustez la largeur de l'image selon vos besoins */
    margin-left: 20px; /* Ajoutez une marge entre le texte et l'image */
}


.item-page .introduction, .blog-item {
    display: flex;
    flex-direction: column-reverse;
}

a {
    word-break: break-word;
}

/*changer les images dans les blogs pour que ce ne soit pas trop gros*/
.blog figure img, .blog-item img {
  height: 500px;  /* Hauteur fixe */
  width: auto;    /* Largeur ajustée proportionnellement */
  max-width: 100%; /* Empêche l'image de dépasser son conteneur */
}
/* modification de la taile du texte sur le mini front page*/
.mfp_default_skin_card .mfp-grid .mfp_default_item .mfp_default_title a {
  font-weight: 700 !important;
  font-size: 0.8em !important;
}
/* ############################ Bandeau Header ############################ */
.header {
    padding: 5px 10px 5px 10px;
    background-color: --cassiopeia-color-primary;
    background-image: none;
    margin-bottom: 0 !important;
}

.jfontsize {
    float: right;
    display: block;
    position: relative;
}

/* ############################ Accueil ############################ */

.custom_info_contact_acc p {
    font-size: 0.9em;
    text-align: right;
}

.moduletable_actu-ista-acc, .moduletable_actu-antiq-acc {
    background-color: #fff;
    padding: 5px 10px 5px 10px;
    margin: 0 !important;
    border: 0 solid #fff;
}

.moduletable_actu-ista-acc h3, .moduletable_actu-antiq-acc h3 {
    color: #B5121B;
    text-align: left;
    line-height: 0.95em;
}

.footer {
    background-color: --cassiopeia-color-primary;
    background-image: none;
}

.colacc {
    display: grid;
    width: 100%;
}

.acctexte {
    display: table-cell;
    vertical-align: top;
    float: left;
}

.accdroite {
    display: table-cell;
    vertical-align: top;
    float: left;
}

.accdr, .accga {
    display: table-cell;
    width: 47%;
    vertical-align: top;
}

.accga {
    border-right: 1px solid #ddd;
    float: left;
    padding-right: 4%;
}

.accdr {
    float: right;
}

.accga img, .accdr img {
    max-width: 100px;
    margin: 2px 20px 10px 0;
}

.colacc .moduletable {
    background-color: white;
    border: 0;
    box-shadow: none;
}

.colacc h3 {
    font-family: helvetica, sans-serif;
    font-size: 14px !important;
    color: #B5121B !important;
}

.colacc .accdroite .mod-custom p {
    text-align: start !important;
}

.colacc .accdroite .mod-custom img {
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
}

.moduletablelisteactu {
    padding-top: 25px;
}

.moduletablelisteactu h3 {
    padding-left: 25px;
}

.moduletablelisteactu ul li {
    list-style: none;
}

/* ############################ Menu principal ############################ */


/* menu une fois cliqué */
.metismenu.mod-menu .mm-collapse {
    background-color: #153659;
}

.metismenu.mod-menu .parent > ul {
    color: #ffffff
}

.metismenu.mod-menu .metismenu-item {
    padding: 0.5em;
    font-size: 0.8em;
}

.metismenu.mod-menu .metismenu-item:not(.level-1) > ul, .metismenu.mod-menu .metismenu-item:not(.level-2) > ul {
    font-size: 1rem;
    padding: 0.3em;
}

.nav-header, metismenu-item {
    font-family: Helvetica, sans-serif;
    display: block;
    padding: 8px 15px;
    font-weight: bold;
    line-height: 18px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: none;
}

/* affiche le logo */
.container-header .mod-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}


#menuprincipal li a {
    color: #fff !important;
    font-family: arial, sans-serif;
    min-width: 15px;
}

/* Enlever la fleche du menu */
.metismenu.mod-menu .mm-toggler:after {
    content: none;
}

.container-header nav {
    width: 100%;
}

/* ############################ Pages générales ############################ */
/* Module recherche */
.moduletablesearch {
    padding: 0 10px 10px 25px;
    margin: 0 !important;
}

.moduletablesearch .form-inline input {
    width: 75%;
}

/* Article défaut */
/*article */
.item-content {
    border-bottom: 2px solid #000;
}

.page-header h1, .page-header h2 {
    border-bottom: 1px solid #eee;
    margin: 12px 0 30px 0;
    padding-bottom: 20px;
}

.page-header h1, .page-header h2 {
    color: #B5121B;
    font-family: "Titillium Maps", Arial, sans-serif;
    text-align: left;
}

.blogblogactuista h2 {
    color: #B5121B;
    font-size: 1em;
    text-align: left;
}

/* ############################ Actu de droite ############################ */
.container-sidebar-right .card-body, .card {
    --card-border-width: 0;
    border-left: 1px solid #eee
}

.infosdr {
    border-left: 0 solid #ddd;
    padding: 15px 0 0 15px;
}

.infosdr p {
    font-size: 12px;
    line-height: 18px;
}

.infosdr h4 {
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #DDD;
}


/* ############################ Menu de gauche ############################ */
.moduletable {
    background: none repeat scroll 0 0 #f3eee6 /*#F5F0DF*/;
    padding: 0 10px 0 25px;
    margin-top: 10px !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    border-radius: 10px;
    border: 1px solid #E3E3E3;
}

.moduletable h3, .moduletablesearch h3 {
    font-family: helvetica, arial, verdana, sans-serif;
    font-size: 0.95em;
    font-weight: bold;
    line-height: 0.95em;
}

ul.moduletable {
    font-family: helvetica, arial, verdana, sans-serif;
    font-size: 0.95em;
    font-weight: normal;
    line-height: 0.95em;
    list-style: square;
    color: #B5121B;
}

.moduletable ul li a {
    color: #000;
}

.moduletable ul li a:hover {
    color: #B5121B;
    text-decoration: none;
    background: #eee;
}

.moduletable ul li.active {
    font-weight: bold;
}

.moduletable ul li ul {
    padding: 0 0 0 10px;
    list-style: none;
}

.moduletable ul li.active ul li.active {
    font-weight: bold;
}

.moduletable_menu ul li a {
    color: #000;
}

.moduletable .separator {
    color: #000;
}

.moduletable .nav-header {
    color: black;
}

/* ############################ Pages personnelles ############################ */
.btn-primary { /*module connection */
    background-color: #006DCC !important;
}

#cbUserTable /* liste */
{
    font-size: 0.9em;
    line-height: 1em;
}

/* .cbPosCanvasTitleMiddle, #cb_tabid_24,*/
#cbtf_24 /* en-tête */
{
    border-bottom: 2px solid #B5121B;
    padding-left: 175px;
    font-weight: bold;
    color: #fff;
}

.cbPosCanvasTitleMiddle {
    padding-left: 0 !important;
}

.cbTabsMenuNavBar .container-fluid /* menu pageperso */
{
    width: 100%;
    min-width: 250px !important;
}

#cbfv_56 { /* Titre page perso */
    color: #B5121B;
    font-family: "Titillium Maps", Arial, sans-serif;
    text-align: right;
    line-height: 24px;
    font-weight: bold;
    font-size: 1.2em;
}

#cbfr_56 {
    margin-bottom: 0;
}

#cbfv_87 { /* retour liste */
    float: right;
}

/* bloc contact */
.cb_template .cbPosCanvas .cbPosCanvasHeader .cbPosCanvasTitle {
    position: relative !important;
    height: 100% !important;
}

.cb_template .cbPosCanvas .cbPosCanvasHeader .cbPosCanvasTitleTop {
    bottom: 0 !important;
}

#cbtf_11 div {
    margin-bottom: 2px;
    font-size: 0.95em;
}

#cbfv_74 p, #cbfv_74 p span, #cbfv_74 p span span {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.7em !important;
    color: #000 !important;
}

.cbImgAvatar {
    height: 200px;
}

/* ############################ Actu - Blog 3 colonnes ############################ */
.span4 h2 {
    font-family: helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 18px !important;
    text-align: left !important;
    font-weight: bold;
    color: #234CA5;
}

.span4 p {
    font-family: helvetica, sans-serif;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
    font-weight: normal;
}

.article-info-term {
    display: none;
}

/* ############################ Tableaux ############################ */
.tblborderblack, .tblborderblack tr, .tblborderblack tr td {
    border: 1px solid #000;
}

.tblborderblack tr td {
    padding: 2px;
}

/* ############################ Annuaire Liens ############################ */
.weblink-category li {
    display: inline-block;
    width: 100%;
}

/**************************************************************/
/* HAL */
/**************************************************************/

.moduletablemenu_publications::before {
    content: "Trier par date : ";
    font-size: 20px;
    position: relative;
    top: -7%;
}

select.menu_publications, input.menu_publications[type="file"] {
    height: 38px;
    line-height: 28px;
    margin-top: 5px;
    margin-bottom: 30px;
    font-size: 20px;
}

/* mettre tout Ã  la ligne */
.ista-hal dd, .ista-hal dt {
    display: inline;
}

/* decalage de la premier ligne */
.ista-hal dd:nth-child(2), .ista-hal .NoticeRes {
    text-indent: -30px;
}

.ista-hal dd:first-line, .ista-hal dt:first-line {
    color: blue;
}

.ista-hal dd .a {
    display: none;
}

.ista-hal .NoticeRes {
    /* haut | droit | bas | gauche */
    margin: 10px 20px 0 40px;
}

/* classes pour les rubriques pour certains type de classement (type de publi, annÃ©e de publi) */
.ista-hal .Rubrique {
    border: 0;
    color: #58529f;
    margin-left: 0.2em;
    margin-bottom: 0.2em;
    font-weight: bold;
    font-size: 1.4em;
}

.ista-hal .Rubrique {
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
}


/* enleve AccÃ¨s au bibtex et RÃ¨f biblio */

/* toute la notice */

.ista-hal .NoticeRes {
    text-align: justify;
    font-size: 13px;
}

.ista-hal .ChampRes {
    display: none;
    text-align: justify;
}


/* enleve le lien Bib */

.ista-hal img[title="BibTex"] {
    display: none;
}

.ista-hal .ValeurRes {
    margin-left: 25%;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    text-align: justify;
    /*font-size: 0.9em;
    font-size: 1em;*/
}

/* enleve pdf et Bib*/

.ista-hal .ValeurRes a img {
    display: none;

}

.ista-hal .ValeurRes {
    color: black;
    margin-left: 0;
}

.ista-hal .ref_biblio_hal a {
    text-decoration: none;
}

.ista-hal .ValeurRes a:hover {
    text-decoration: none;
    color: #2AA34B !important;
}

.ista-hal .ValeurRes a, .ista-hal .ValeurRes a:focus {
    text-decoration: none;
    color: black !important;
}

.ista-hal dd.article a {
    /* efface les doi */
    display: none;
}


/*rajoute du texte Ã  la fin */

.ista-hal .Auteurs:after, .Titre:after, .ista-hal .Detail:after {

    content: ".";

}

/* enleve un lien */

.ista-hal .Fichier_joint {
    /* efface les icones */
    display: none;
}

/* menu accordeon */

ul#bqraccordeon li ul li {
    list-style-type: none !important;
    margin: 0 !important;
}

ul#bqraccordeon li ul {
    margin-left: 10px;
}


/* ##########################  HYGINOR  ########################### */
/* Ajouté par DB */

#imgfigmenu {
    width: 200px;
    height: 107px;
}

#imgmain {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
    display: block;
    border: 3px solid black;
    margin-top: 40px;
}

#figmain {
    width: 560px;
    height: 250px;
    overflow: hidden;
    display: block;
    border: 3px solid black;
    margin-right: auto;
    margin-left: auto;
    margin-top: 150px;
}

#imgvign {
    display: inline-block;
    border: 3px solid black;
    vertical-align: top;
    margin: 0 10px 5px 0;
    float: left;
    position: relative; /* */
    width: 110px;
    height: 153px;
}

#clip {
    cursor: move;
}

#speed {
    margin: 15px auto;
}

#hygintop {
    display: block;
}

#imgmenuHYGINOR {
    width: 50px;
    height: 69px;
    margin-left: 10px;
    padding-bottom: 5px;
    border-bottom: 3px solid #000000;
}

#menuHYGINOR {
    float: right;
    cursor: pointer;
}

#accueilHYGIN {
    float: right;
}

#accueilHYGIN p {
    text-align: right;
}

#hyginorhaut {
    margin-bottom: 25px;
}

#hyginortexte {
    /* margin: auto; */
    margin-top: 80px;
    display: block;
    min-height: 190px;
}

#hyginorlatin {
    display: inline-block;
    float: left;
    width: 49%;
    margin: auto;
}

#hyginorlatin h4 {
    text-align: center;
}

#hyginortrad {
    display: inline-block;
    float: right;
    width: 49%;
    margin: auto;
}

#hyginortrad h4 {
    text-align: center;
}

#hyginortrad a:visited {
    color: #234CA5;
}

#arcerianusA {
    color: purple !important;
    font-weight: bold;
    margin-top: 0 !important;
}

#arcerianusB {
    color: blue !important;
    font-weight: bold;
    margin-top: 0 !important;
}

#palatinus {
    color: red !important;
    font-weight: bold;
    margin-top: 0 !important;
}

#gudianus {
    color: green !important;
    font-weight: bold;
    margin-top: 0 !important;
}

a.foliohyg {
    position: relative;
    z-index: 1;
}

a.foliohyg:hover {
    cursor: help;
    z-index: 2;
}

a.foliohyg span {
    display: none;
}

a.foliohyg:hover span {
    display: block;
    position: absolute;
    z-index: 3;
    top: 10px;
    left: -285px;
}

#folioimg {
    max-width: 400px;
    margin: 10px 0 0 0;
}

#visufolio {
    margin: 0 5px 0 0;
    text-align: right;
    font-weight: bold;
    padding-top: 80px;
}

#navphygin {
    display: block;
    position: relative;
    width: 116px;
}

#ppshygin {
    display: block;
    width: 65%;
    margin: 30px auto;
}

#ppshygin a{
    color: #234CA5;
}

#pphygin {
    display: inline-block;
    float: left;
}

#pshygin {
    display: inline-block;
    float: right;
}

.fighygin {
    display: block;
    width: 100%;
    margin: 80px 0 0 0;
}

.fighygin p {
    text-align: center;
}

.fighygin img {
    border: 1px solid #000000;
    width: 80%;
    margin: 20px 0 0 0;
}

#nofig_main {
    border: 0 solid #000;
    width: 25px;
    margin: 0 0 0 10px;
    vertical-align: middle;
}

/*************************************/

/* enleve le soulignement */

a:not([class]) {
    text-decoration: none;
}

/* decale l'image à droite */

.pull-right {
    float: right;
}

/* Bibliographie HAL */

.LienBibtex{
  display:none;
}

.Rubrique{
  background : #062b48 !important;
  border-radius:15px;
  color:#fff !important;
  text-align:center !important;
}

.SousRubrique{
  font-weight: bold;
  margin-left: 10px;
  font-size: 1.3em;
  color: red;
}

.Auteurs{
  font-size: 1.5rem;
  font-weight: bold;
}

.NoticeRes{
  margin-left:10px;
}

/* "Powered by Community Builder" responsive */

.cb_template .content-spacer{
  margin-left: 1rem!important;
  width: max-content!important;

}

.container-top-b {
  width: 100%; /* Prend toute la largeur disponible */
  display: flex; /* Utilisation de Flexbox pour organiser les modules */
  flex-direction: column; /* Organise les modules en colonnes */
}

.container-top-b {
  margin-bottom: 20px; /* Espacement entre chaque module */
}
/******************************************/
/***** agenda  **** /
/*******************************************/
.halma-event-category {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 6px;
}


.category-actualites {
    background-color: #007bff; /* bleu */
}
.category-expositions {
    background-color: #28a745; /* vert */
}
.category-colloques {
    background-color: #ff9800; /* orange */
}
.category-seminaires {
    background-color: #6f42c1; /* violet */
}
.category-colloques-ista {
    background-color: #e83e8c; /* rose */
}
.category-séminaires-de-l-ista {
    background-color: #6f42c1; /* rose */
}



.halma-event-date-box {
    width: 60px;
    height: 60px;
    background-color: #005b82;
    color: white;
    border-radius: 8px;
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-right: 15px;
}


.halma-agenda {
    font-family: 'Open Sans', Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.halma-main-title {
    background-color: #005b82;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.4em;
    text-align: center;
}

.halma-month-separator {
    background-color: #f5f5f5;
    padding: 8px 20px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    text-transform: capitalize;
}
.halma-event-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start; /* Alignement en haut */
    gap: 15px;
}

.halma-event-content {
    flex-grow: 1;
    margin-right: 10px;
}

.halma-event-title {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.halma-event-excerpt {
    color: #444;
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 5px;
}

.halma-event-thumb {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.halma-event-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}
/***** resolution 2 colonnes */


.grid-child.container-top-b {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.grid-child.container-top-b > .top-b.card {
    width: 100% !important;
    max-width: 100% !important;
}

/**************** pas d'evenement agenda */ 
.no-events-message {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 2rem;
  margin: 1rem 0;
  text-align: center;
}
.no-events-message p {
  margin: 0.5rem 0;
}


/* taille des actu page accueil */
 h4.mfp_default_title{
   font-size: 1.3rem;
 }