/* Edit Cassiopeia Child Template */

/* Same colours/fonts as the template style tabs; if they ever differ, this file wins */
:root {
--cassiopeia-color-primary: #F08B2D; /* orange du logo: boutons, header and footer gradient à partir du coin upper left */
--cassiopeia-color-link: #202B84; /* bleu du logo */
--cassiopeia-color-hover: #F08B2D; /* orange du logo */
  
--cassiopeia-font-family-body: "Roboto", sans-serif;
--cassiopeia-font-family-headings: "Roboto", sans-serif;
--cassiopeia-font-weight-headings: 400;
}

/* Headings */
h1,h4,h5 {
    color:#202B84; /* bleu du logo */
}
h2,h3 {
    color:#F08B2D; /* orange du logo */
    font-size: calc(0.8rem + .6vw);
}
.h1, h1 {
    font-size: calc(0.9rem + 1vw);
}

/* Page Header - Overrides "Header Background Colour" in the template style tab */
.header {
    background:#ffffff;
}

/* Footer */
.footer {
    background:#202B84; /* bleu du logo */
}

/*Footer Less Padding. Align Center*/
.footer .grid-child {
    padding: 1.5rem 0.5em;
    justify-content: center !important;
}

/* Menu background */
.container-header .container-nav {
    background:#202B84; /* bleu du logo */
}

/* Dropdown Menu */
.metismenu.mod-menu .mm-collapse {
    background: #F08B2D; /* orange du logo */
}

/* Links in the dropdown menu */
.metismenu.mod-menu .mm-collapse .metismenu-item a {
    color: #fff;
}

/* Main menu text white - New setting 2026*/
.container-header .container-nav .metismenu.mod-menu .metismenu-item > a,
.container-header .container-nav .metismenu.mod-menu .metismenu-item > button {
    color: #fff;
}

/* Search button hover color */
.btn-primary:hover {
  background: #202B84; /* bleu du logo */
}

/* Search button: icon only - New setting 2026*/
.mod-finder__search .btn {
    font-size: 0;
}
.mod-finder__search .btn .icon-search {
    font-size: 1rem;
}

/* Back-to-top button always visible */
#back-top { 
  position: fixed; 
}

/* Module headers "Card" change title color and background - Colors swapped in 2026*/
.card-header {
  background-color: #F08B2D;
  color: #fff;
}

/* Center Logo module in below-top */
.container-below-top {
	justify-content: center !important;
}

/* stack modules in below-top */
.container-below-top {
  display: flex;
  flex-wrap: wrap;
}

/* Blog thumbnails: same shape, cropped automatically - New setting 2026*/
.blog-items img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Offline Background color - New setting 2026*/
.offline-card .header {
    background-color: #ffffff;
  }

/* Blog article titles: no underline - New setting 2026 */
.blog-items h2 a {
    text-decoration: none;
}
.blog-items h2 a:hover {
    text-decoration: underline;
}

/* Blog list: small thumbnail left, text beside it - New setting 2026 */
.blog-item {
    padding: 1.2rem 0;
    border-bottom: 1px dashed #ccc;
}
.blog-item .item-content {
    display: flow-root;
}
.blog-item .item-content img {
    float: left;
    width: 160px;
    height: 120px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ddd;
    padding: 3px;
    margin: 0 1.2rem 0.5rem 0;
}
.blog-item .article-info {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.blog-item .readmore {
    text-align: right;
} 