/* DÉMARCHES EN LIGNE : Boutons liens services */
.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 24px;
    margin: 8px 0;

    background: linear-gradient(135deg, #005baa, #0077cc);
    color: #ffffff !important;

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    border-radius: 14px;

    box-shadow: 0 6px 18px rgba(0, 91, 170, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.3s ease;
}

/* Hover */
.btn-service:hover {
    background: linear-gradient(135deg, #004b8d, #006ab5);
    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(0, 91, 170, 0.28);

    color: #ffffff !important;
    text-decoration: none;
}

/* Clic */
.btn-service:active {
    transform: translateY(0);
}

/* Icône optionnelle */
.btn-service i {
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-service {
        width: 100%;
        justify-content: center;
    }
}

.item-image{
box-shadow: rgba(5,46,87,0.3) 5px 5px 3px 2px !important;
  -moz-box-shadow: rgba(5,46,87,0.3) 5px 5px 3px 2px  !important;
}
.imageactu {
	margin-right: 20px;
	float: left;
	width: 20%;
}
/*Actus blog
border: #052e57;
    border-top-width: medium;
    border-top-style: none;
    border-right-width: medium;
    border-right-style: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-left-width: medium;
    border-left-style: none;
  border-style: groove;
  border-radius: 10px;
  border-width: thin;
}*/
/*Ombre sur image d'intro*/
.blog-item .item-image {
  box-shadow: rgba(5,46,87,0.6) 3px 3px 3px 2px;
  -moz-box-shadow: rgba(5,46,87,0.6) 3px 3px 3px 2px;
}

/*Date sur article actus blog*/
dd{
  margin-bottom: 0 !important;
}
dl{
  margin-bottom: 0rem;
}
time {
  font-size: small;
}

.moduleadroite_titre{
  background : #ffffff;
  text-align:center;
  text-decoration:none;
}
/*.moduleadroite {
   background: #ffffff;
   -webkit-box-shadow: 1px 1px 4px rgba(51, 51, 51, 0.2);
   box-shadow: 1px 1px 10px rgba(51, 51, 51, 0.2);
   margin: 11px;
	}
*/
/*pas de marge lorsque le menu est figé en haut*/
.maximenuck {
  margin: 0 !important;
  padding: 10 10 10 10 !important;
}
/*LISTE A PUCE*/
ol {
  	padding: 0px 0px 0px 0px !important;
  	margin: 0px 0px 0px 0px !important;
	}
ul {
  	padding: 0px 0px 0px 20px !important;
  	margin: 0px 0px 15px 10px !important;
	}

/*Style du bouton RECHERCHE*/
.mod-finder input.js-finder-search-query {
  padding: 9px;
  /*width: 120px;*/
}

/*Titre Parallax*/
#customparallaxck175 .customparallaxck_title {
  line-height:36px;
}

/*AGENDA SLIDE - centrage de l'affiche*/
.carousel-inner {
  text-align: center;
}

/*AGENDA Mobile date "Mercredi 13"*/
.hiddendayname.jev_daysnames {
  width: 95% !important;
  font-size: x-large;
  margin: 10px;
  padding: 5px;
  color: #d25615;
}

/*Class des images acces rapide*/
.accesrapide {
  max-width:150px;
    margin-top:40px;

}
/*Reduction du menu fixé en haut
div#maximenuck111.maximenufixed {
  scale: 80%;
}
*/

.item-image {
  margin: 0 0 0 0 !important;
}


/*###################    JEVENTS   #################################*/
 
  /*  Image de l'agenda ombrée 
.agenda {
  box-shadow: 8px 8px 10px 0 rgba(0,0,0,0.5);
  width: 80% !important; 
  max-width: 450px !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 100px !important;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
/*##################################################################*/  
 /* 2024 2024 2024 2024 2024 2024 2024 2024 */

/*Style de l'accordeon pour les demarches en ligne*/
#rlta-vous-souhaitez-un-rdv-pour-un-bac-noir-un-composteur-ou-pour-acceder-aux-dechetteries {
  color: #004d98 !important;
  font-family:Roboto !important;
  text-align:left !important;
  font-size:16px !important;
}

/* ========================================================================== */
/* CCRS — REFONTE GRAPHIQUE 2026                                              */
/* Surcharge visuelle uniquement : aucune position de module n'est modifiée.  */
/* ========================================================================== */

:root {
  --ccrs-blue: #004d98;
  --ccrs-blue-dark: #052e57;
  --ccrs-blue-soft: #eaf3fb;
  --ccrs-teal: #049c92;
  --ccrs-orange: #d25615;
  --ccrs-ink: #23384d;
  --ccrs-muted: #637487;
  --ccrs-line: #dce5ee;
  --ccrs-surface: #ffffff;
  --ccrs-surface-soft: #f5f8fb;
  --ccrs-shadow: 0 10px 30px rgba(5, 46, 87, .08);
  --ccrs-shadow-hover: 0 16px 38px rgba(5, 46, 87, .14);
  --ccrs-radius: 18px;
  --ccrs-radius-lg: 24px;
}

/* Base --------------------------------------------------------------------- */
body {
  background: var(--ccrs-surface-soft);
  color: var(--ccrs-ink);
  font-family: "Roboto Flex", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1rem; }

a {
  color: var(--ccrs-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover, a:focus { color: var(--ccrs-blue-dark); }

img { max-width: 100%; height: auto; }

/* Titres : plus lisibles, moins "administratif ancien" -------------------- */
h1, div.componentheading,
h2, div.contentheading,
h3, h4, h5 {
  font-family: "Roboto Flex", Roboto, Arial, sans-serif;
  font-variant: normal;
  letter-spacing: normal;
  text-transform: none;
}

h1, div.componentheading {
  color: var(--ccrs-blue-dark);
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.1;
  font-weight: 750;
  padding: 0;
  margin: 0 0 1.25rem;
}

h2, div.contentheading {
  color: var(--ccrs-blue-dark);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.25;
  font-weight: 720;
  margin: 1.8rem 0 .9rem;
}

h3,
.tck-module-title,
.tck-module h3 {
  color: var(--ccrs-blue);
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  padding: 0;
  margin: 0 0 .9rem;
}

h4 { color: var(--ccrs-blue-dark); font-weight: 700; }
h5 { color: var(--ccrs-muted); font-weight: 700; padding: 0; }

h1 a, h2 a, h3 a,
div.componentheading a, div.contentheading a {
  color: inherit;
  text-decoration: none;
  text-transform: none;
}

/* Boutons ------------------------------------------------------------------ */
.button, button, button.btn, input.btn, .btn,
.readmore a, .readmore .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 42px;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ccrs-blue);
  color: #fff !important;
  font-weight: 650;
  font-variant: normal;
  letter-spacing: 0;
  text-decoration: none !important;
  box-shadow: 0 5px 14px rgba(0, 77, 152, .14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover, button:hover, button.btn:hover, input.btn:hover, .btn:hover,
.button:focus, button:focus, button.btn:focus, input.btn:focus, .btn:focus,
.readmore a:hover, .readmore .btn:hover {
  background: var(--ccrs-blue-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(5, 46, 87, .2);
}

/* Champs de formulaires ---------------------------------------------------- */
input.inputbox, .registration input, .login input, .contact input,
.contact textarea, select, textarea,
input[type="text"], input[type="password"], input[type="datetime"],
input[type="datetime-local"], input[type="date"], input[type="month"],
input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"],
input[type="tel"], input[type="color"], .uneditable-input {
  border: 1px solid var(--ccrs-line);
  border-radius: 10px;
  background: #fff;
  min-height: 42px;
  padding: .6rem .75rem;
  box-shadow: 0 1px 2px rgba(5, 46, 87, .03);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--ccrs-blue) !important;
  outline: 3px solid rgba(0, 77, 152, .12);
  outline-offset: 1px;
}

/* Menu principal ----------------------------------------------------------- */
#intro {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(5, 46, 87, .08);
  box-shadow: 0 6px 24px rgba(5, 46, 87, .08);
}

#block57 > .inner { padding: .25rem 1rem; }

#block57 ul.menu > li > a,
#block57 ul.menu > li > span.separator,
#block57 ul.nav > li > a,
#block57 ul.nav > li > span.separator,
#block57 ul.maximenuck > li > a,
#block57 ul.maximenuck > li > span.separator {
  border-radius: 10px;
  color: var(--ccrs-blue-dark);
  font-weight: 620;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

#block57 ul.menu > li:hover > a,
#block57 ul.menu > li:focus > a,
#block57 ul.nav > li:hover > a,
#block57 ul.nav > li:focus > a,
#block57 ul.maximenuck > li:hover > a,
#block57 ul.maximenuck > li:focus > a,
#block57 ul.menu > li.active > a,
#block57 ul.nav > li.active > a,
#block57 ul.maximenuck > li.active > a {
  background: var(--ccrs-blue-soft);
  color: var(--ccrs-blue);
}

#block57 li div.floatCK,
#block57 li div.floatck,
#block57 ul.menu li ul,
#block57 ul.nav li ul {
  border: 1px solid var(--ccrs-line);
  border-radius: 14px;
  box-shadow: var(--ccrs-shadow);
  overflow: hidden;
}

#block57 ul.menu li li a,
#block57 ul.nav li li a,
#block57 ul.maximenuck li li > a {
  color: var(--ccrs-ink);
  text-decoration: none;
}

/* Visuels pleine largeur / flash ------------------------------------------ */
#block9 > .inner,
#block10 > .inner {
  border-radius: var(--ccrs-radius-lg);
  overflow: hidden;
  box-shadow: var(--ccrs-shadow);
}

/* Cartes 5 colonnes (services / déchets) ---------------------------------- */
#dech1 > .inner,
#block18 > .inner,
#block20 > .inner,
#block19 > .inner,
#block17 > .inner {
  position: relative;
  background: #fff;
  border: 1px solid var(--ccrs-line);
  border-radius: var(--ccrs-radius);
  box-shadow: 0 6px 20px rgba(5, 46, 87, .05);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#dech1 > .inner::before,
#block18 > .inner::before,
#block20 > .inner::before,
#block19 > .inner::before,
#block17 > .inner::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--ccrs-blue), var(--ccrs-teal));
}

#dech1 > .inner:hover,
#block18 > .inner:hover,
#block20 > .inner:hover,
#block19 > .inner:hover,
#block17 > .inner:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 77, 152, .25);
  box-shadow: var(--ccrs-shadow-hover);
}

#dech1 .tck-module-text,
#block18 .tck-module-text,
#block20 .tck-module-text,
#block19 .tck-module-text,
#block17 .tck-module-text { padding: 10px 14px 16px; }

/* Accès rapide ------------------------------------------------------------- */
#ACCES_RAPIDE {
  background: linear-gradient(180deg, #fff 0%, #f4f8fc 100%);
}

#blocks2mod1 > .inner,
#blocks2mod2 > .inner,
#blocks2mod3 > .inner,
#blocks2mod4 > .inner,
#blocks2mod5 > .inner,
#block40 > .inner,
#block41 > .inner,
#block42 > .inner,
#block43 > .inner,
#block44 > .inner {
  margin: 8px;
  padding: 18px 12px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--ccrs-line);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(5, 46, 87, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#blocks2mod1 > .inner:hover,
#blocks2mod2 > .inner:hover,
#blocks2mod3 > .inner:hover,
#blocks2mod4 > .inner:hover,
#blocks2mod5 > .inner:hover,
#block40 > .inner:hover,
#block41 > .inner:hover,
#block42 > .inner:hover,
#block43 > .inner:hover,
#block44 > .inner:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 77, 152, .24);
  box-shadow: var(--ccrs-shadow);
}

.accesrapide {
  max-width: 135px;
  margin-top: 24px;
  filter: drop-shadow(0 7px 10px rgba(5, 46, 87, .08));
}

/* Bandeau agenda / application -------------------------------------------- */
#row1 > .inner {
  background: linear-gradient(135deg, var(--ccrs-blue-dark) 0%, var(--ccrs-blue) 58%, #0d7398 100%);
  color: #fff;
}

#row1column1 > .inner,
#row1column2 > .inner,
#row1column3 > .inner,
#block27 > .inner,
#block29 > .inner,
#block31 > .inner {
  border-radius: 16px;
}

#row1 .tck-module-title,
#row1 h3 { color: #fff; }

#row1 a:hover, #row1 a:focus { color: #fff; opacity: .86; }

/* Bloc annonce / accroche -------------------------------------------------- */
#block21 > .inner {
  border: 0;
  border-left: 4px solid var(--ccrs-orange);
  background: #fff8f3;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(210, 86, 21, .08);
}

/* Bloc vert/turquoise central --------------------------------------------- */
#wrapper10 {
  background: linear-gradient(135deg, #038c84 0%, var(--ccrs-teal) 48%, #067c91 100%);
}

#wrapper10 > .inner { padding-top: 54px; padding-bottom: 54px; }

#wrapper10 h2, #wrapper10 h3, #wrapper10 h4,
#wrapper10 .tck-module-title { color: #fff; }

#wrapper10 a { color: #fff; }

#block24 > .inner,
#block48 > .inner,
#block47 > .inner {
  margin: 8px;
  padding: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
}

/* Fil d'Ariane ------------------------------------------------------------- */
#block4 > .inner {
  background: transparent;
  color: var(--ccrs-muted);
  padding: .65rem .25rem;
  font-size: .92rem;
}

#block4 a { color: var(--ccrs-muted); }
#block4 a:hover, #block4 a:focus { color: var(--ccrs-blue); }

/* Zone article / contenu principal ---------------------------------------- */
#maincontent > .inner {
  background: #fff;
  border: 1px solid rgba(220, 229, 238, .9);
  border-radius: var(--ccrs-radius-lg);
  box-shadow: var(--ccrs-shadow);
  overflow: hidden;
}

#main > .inner { padding-top: 0; }

#center > .inner {
  padding: 30px clamp(18px, 3vw, 42px);
  text-align: left;
}

/* Colonnes latérales : cartes propres ------------------------------------- */
#left > .inner,
#right > .inner,
#guichet > .inner { padding: 14px; }

#left .tck-module,
#right .tck-module,
#guichet .tck-module,
#block32 .tck-module,
#block30 .tck-module {
  background: #fff;
  border: 1px solid var(--ccrs-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(5, 46, 87, .05);
}

#left .tck-module-title,
#right .tck-module-title,
#guichet .tck-module-title,
#block32 .tck-module-title,
#block30 .tck-module-title {
  margin: 0;
  padding: 14px 16px 10px;
  color: var(--ccrs-blue-dark);
}

#left .tck-module-text,
#right .tck-module-text,
#guichet .tck-module-text,
#block32 .tck-module-text,
#block30 .tck-module-text {
  background: #fff !important;
  border: 0 !important;
  border-top: 1px solid #edf2f6 !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
}

#right div.moduletable, #right div.module, #right .widget, #right .tck-module,
#right div.moduletable_menu, #right div.module_menu,
#block30 div.moduletable, #block30 div.module, #block30 .widget, #block30 .tck-module {
  margin-top: 12px;
  margin-right: 0;
  margin-left: 0;
}

/* Blocs gris existants : homogénéisation ---------------------------------- */
#block35 > .inner, #block36 > .inner, #block37 > .inner,
#block38 > .inner, #block39 > .inner, #block45 > .inner,
#block50 > .inner, #block51 > .inner, #block52 > .inner,
#block53 > .inner, #block54 > .inner {
  background: #fff;
  border: 1px solid var(--ccrs-line);
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(5, 46, 87, .04);
}

/* Articles blog / actualités ---------------------------------------------- */
.article-blog,
.blog-item {
  background: #fff;
  border: 1px solid var(--ccrs-line);
  border-top: 4px solid var(--ccrs-blue);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(5, 46, 87, .06);
}

.item-image,
.blog-item .item-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(5, 46, 87, .10) !important;
}

time {
  color: var(--ccrs-muted);
  font-size: .86rem;
}

/* Tableaux ----------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ccrs-line);
  border-radius: 12px;
  overflow: hidden;
}

table th {
  background: var(--ccrs-blue-soft);
  color: var(--ccrs-blue-dark);
  font-weight: 700;
}

table th, table td {
  padding: .65rem .8rem;
  border-bottom: 1px solid #edf2f6;
}

table tr:last-child td { border-bottom: 0; }

/* Pied de page ------------------------------------------------------------- */
#wrapper1 {
  background: linear-gradient(135deg, #031f3c 0%, var(--ccrs-blue-dark) 70%, #073c68 100%);
  color: rgba(255,255,255,.9);
}

#wrapper1 h2, #wrapper1 h3, #wrapper1 h4,
#wrapper1 .tck-module-title { color: #fff; }

#wrapper1 a { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
#wrapper1 a:hover { color: #fff; text-decoration-color: #fff; }

#row2 > .inner { color: rgba(255,255,255,.92); }

/* Helpers ------------------------------------------------------------------ */
.moduleadroite_titre {
  background: transparent;
  color: var(--ccrs-blue-dark);
  font-weight: 700;
}

.carousel-inner { text-align: center; }

.hiddendayname.jev_daysnames {
  border-radius: 12px;
  background: #fff7f2;
  color: var(--ccrs-orange);
  font-weight: 700;
}

/* Ne pas casser les listes Joomla / menus avec les anciennes règles globales */
#content ul:not(.nav),
.tck-module-text ul:not(.nav) {
  padding-left: 1.35rem !important;
  margin: .35rem 0 1rem !important;
}

#content ol,
.tck-module-text ol {
  padding-left: 1.35rem !important;
  margin: .35rem 0 1rem !important;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 950px) {
  #center > .inner { padding: 24px 20px; }

  #dech1 > .inner,
  #block18 > .inner,
  #block20 > .inner,
  #block19 > .inner,
  #block17 > .inner,
  #blocks2mod1 > .inner,
  #blocks2mod2 > .inner,
  #blocks2mod3 > .inner,
  #blocks2mod4 > .inner,
  #blocks2mod5 > .inner {
    margin: 6px;
  }

  #block9 > .inner,
  #block10 > .inner { border-radius: 18px; }
}

@media (max-width: 758px) {
  body { font-size: 15.5px; line-height: 1.6; }

  h1, div.componentheading { font-size: 1.9rem; }
  h2, div.contentheading { font-size: 1.45rem; line-height: 1.3; }

  #maincontent > .inner {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(5, 46, 87, .06);
  }

  #center > .inner { padding: 20px 16px; }

  .imageactu {
    float: none;
    width: 100%;
    margin: 0 0 14px;
  }

  .accesrapide { margin-top: 14px; max-width: 115px; }

  .btn-service,
  .button, button.btn, input.btn, .btn {
    max-width: 100%;
  }
}

/* Accessibilité ------------------------------------------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(210, 86, 21, .45);
  outline-offset: 3px;
}
