/* Elicom child template of Cassiopeia (30.11.2026). Colours and shapes taken from the old Helix "elicom" template:
   brand red #d81b05 (buttons #ff1a00, hover #d81b05), Lato, grey cards #f2f2f2, dark footer #353535. */
@font-face { font-family: 'Lato'; src: url('../fonts/lato.woff') format('woff'); font-weight: 300 400; font-display: swap; }
:root {
  --cassiopeia-color-primary: #d81b05;
  --cassiopeia-color-link: #d81b05;
  --cassiopeia-color-hover: #ff1a00;
  --body-font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --elicom-red: #d81b05; --elicom-red-bright: #ff1a00; --elicom-grey: #f2f2f2; --elicom-dark: #353535;
}
body.site { font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; font-weight: 300; color: #666; background: #fff; font-size: 1rem; }
h1, h2, h3, h4, h5 { font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; font-weight: 300; color: #444; }
a { color: var(--elicom-red); }
a:hover { color: var(--elicom-red-bright); }

/* ---- header: red top bar + white brand/menu row ---- */
.container-header { background: #fff !important; background-image: none !important; box-shadow: none; padding: 0; border: 0; }
.container-header .container-topbar { background: var(--elicom-red); color: #fff; font-size: .8rem; padding: .45rem max(1rem, calc((100% - 1170px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; width: 100%; }
.container-topbar a { color: #fff; text-decoration: none; }
.container-topbar a:hover { color: #fff; opacity: .8; }
.elicom-topinfo { display: flex; align-items: center; gap: 1rem; }
.elicom-topinfo svg { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }
.container-topbar .mod-languages ul { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.container-topbar .mod-languages img { height: 14px; width: auto; }
.container-header .grid-child { max-width: 1170px; margin: 0 auto; width: 100%; }
.container-header .navbar-brand { padding: 1.1rem 0; }
.container-header .navbar-brand img { max-height: 50px; width: auto; }
.container-header .container-nav { padding: 0 0 1rem; justify-content: flex-end; }
@media (min-width: 992px) {
  .container-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
  .container-header .container-topbar { flex: 0 0 100%; }
  .container-header .grid-child:not(.container-nav):not(.container-below-top) { flex: 0 0 auto; width: auto; margin: 0 0 0 max(1rem, calc((100% - 1170px) / 2)); }
  .container-header .container-nav { flex: 1 1 0; width: auto; padding: 0 max(1rem, calc((100% - 1170px) / 2)) 0 1rem; margin: 0; }
}
.container-header .mod-menu { gap: .15rem; align-items: center; }
.container-header .mod-menu > li > a, .container-header .mod-menu > li > span { color: #444; padding: .55rem .8rem; border-radius: 4px; font-size: .95rem; font-weight: 400; text-decoration: none; }
.container-header .mod-menu > li.current > a, .container-header .mod-menu > li.active > a, .container-header .mod-menu > li > a:hover { background: var(--elicom-red-bright); color: #fff; }
.container-header .mod-menu li.parent { position: relative; }
.container-header .mod-menu li.parent > ul { display: none; position: absolute; z-index: 50; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid #ddd; border-top: 3px solid var(--elicom-red); padding: .4rem 0; margin: 0; list-style: none; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.container-header .mod-menu li.parent:hover > ul, .container-header .mod-menu li.parent:focus-within > ul { display: block; }
.container-header .mod-menu li.parent > ul a { display: block; color: #555; padding: .45rem 1rem; font-size: .9rem; text-decoration: none; }
.container-header .mod-menu li.parent > ul a:hover { background: var(--elicom-grey); color: var(--elicom-red); }
.container-header .mod-menu .mm-collapse, .container-header .mod-menu .mm-toggler { display: none; }

/* ---- content ---- */
.site-grid { background: #fff; }
.container-component { padding-top: 2rem; }
.com-content-article .page-header h1, .item-page > .page-header h2, .page-header h1 { font-weight: 300; font-size: 2rem; color: #555; border-bottom: 1px solid #ddd; padding-bottom: .5rem; margin-bottom: 1.5rem; }
.btn-primary, .btn.btn-primary { background: var(--elicom-red-bright); border-color: var(--elicom-red-bright); color: #fff; border-radius: 3px; }
.btn-primary:hover, .btn-primary:focus { background: var(--elicom-red); border-color: var(--elicom-red); color: #fff; }
.com-content-article__body img { max-width: 100%; height: auto; }

/* old module title style "title3": centred heading with a short red rule */
.module.title3 { text-align: center; margin: 0 0 1.5rem; }
.module.title3 h3.header { font-size: 1.5rem; padding: 0 0 25px; margin: 0; position: relative; }
.module.title3 h3.header::after { margin: -1px auto; background: var(--elicom-red); content: ""; display: block; height: 1px; position: relative; width: 50px; top: 12px; }

/* old Helix grid (row-fluid / span6) used inside the articles */
.row-fluid { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.row-fluid > [class*="span"] { flex: 1 1 100%; min-width: 0; }
@media (min-width: 768px) {
  .row-fluid > .span6 { flex: 1 1 calc(50% - .75rem); }
  .row-fluid > .span4 { flex: 1 1 calc(33.333% - 1rem); }
  .row-fluid > .span3 { flex: 1 1 calc(25% - 1.125rem); }
  .row-fluid > .span8 { flex: 1 1 calc(66.666% - .5rem); }
}

/* service cards on the home page (old "ice_filter") */
.ice_filter_items { padding: 0; }
.ice_filter_inner { background: var(--elicom-grey); min-height: 210px; display: flex; align-items: stretch; overflow: hidden; }
.ice_filter_img { float: none; margin: 0 30px 0 0; flex: 0 0 auto; }
.ice_filter_inner .ice_filter_img img { border-radius: 100%; display: block; width: 210px; height: 210px; object-fit: cover; }
a.ice_filter_img_link:hover .ice_filter_img { opacity: .75; }
.ice_filter_caption { padding: .6rem 1rem .6rem 0; flex: 1; }
.ice_filter_caption h4 { font-size: 1.6rem; line-height: 1.25; margin: 0; padding: .6rem 0 .2rem; }
.ice_filter_caption h4 a, .ice_filter_title { color: var(--elicom-red-bright); text-decoration: none; }
.ice_filter_caption h4 a:hover { color: #444; }
.ice_filter_caption p { color: #777; font-size: 1rem; line-height: 1.6; margin: .3rem 0; }
@media (max-width: 575px) {
  .ice_filter_inner { flex-direction: column; align-items: center; text-align: center; padding: 1rem; }
  .ice_filter_img { margin: 0 0 1rem; }
}

/* module bands under the content */
.container-top-a { max-width: 1170px; margin: 0 auto; }
.container-bottom-a { background: var(--elicom-grey); margin-top: 2rem; padding: 2.5rem 0; }
.container-bottom-a > * { max-width: 1170px; margin-left: auto; margin-right: auto; padding: 0 1rem; }
.container-bottom-a h3 { color: #777; font-weight: 300; text-transform: none; }
.container-bottom-b { padding: 1.5rem 0; text-align: center; }
.container-bottom-b img { max-width: 100%; height: auto; }

/* dark footer */
.footer { background: var(--elicom-dark) !important; color: #999; padding: 1.8rem 0; margin-top: 0; }
.footer .grid-child { max-width: 1170px; margin: 0 auto; }
.footer a { color: #bbb; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .btn { color: #bbb; border: 1px solid #777; }

/* --- round 2 (after the first visual check) --- */
.container-header .mod-menu { flex-wrap: wrap; }
@media (min-width: 992px) { .container-header .mod-menu { flex-wrap: nowrap; } }
@media (max-width: 991px) {
  .container-header .container-nav { justify-content: flex-start; padding: 0 1rem 1rem; }
  .container-header .navbar-brand { padding: .8rem 1rem; }
  .container-header .mod-menu li.parent > ul { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--elicom-red); margin-left: .5rem; }
  .container-topbar { flex-wrap: wrap; }
}
.container-header .mod-menu > li > a, .container-header .mod-menu > li > span { padding: .5rem .55rem; font-size: .9rem; white-space: nowrap; }
.btn-info, .btn-success, .btn-warning, .btn-default { background: #fff; color: var(--elicom-red-bright); border: 1px solid var(--elicom-red-bright); font-weight: 700; border-radius: 3px; }
.btn-info:hover, .btn-success:hover, .btn-warning:hover, .btn-default:hover { background: var(--elicom-red-bright); color: #fff; }
.container-bottom-a { display: block !important; }
.container-bottom-a .card { border: 0; background: transparent; box-shadow: none; margin-bottom: 1.5rem; }
.container-bottom-a .card-body { padding: 0; }
.container-bottom-a .card-header { background: transparent; border: 0; padding: 0 0 .6rem; font-size: 1.6rem; font-weight: 300; color: #777; }
.container-bottom-b { display: block !important; }
.container-bottom-b .card { border: 0; background: transparent; box-shadow: none; }
