/* ---------- Color Module Styles ----------- */

body {
  color: #000000;
  /*background: #292929;*/
  background: #fff;
}

#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
  background: #fff;
}

.tabs ul.primary li a.is-active {
  background-color: #fff;
}

.tabs ul.primary li.is-active a {
  background-color: #fff;
  border-bottom-color: #fff;
}

#navbar-top {
  /*background-color: #67ad2e;*/
  margin-top: -1em;
  padding-top: 0;
}

#navbar-main {
  background-color: #466A2D;
  padding:0;
  font-family: Arial, Helvetica, sans-serif;
}
.navbar-expand-lg .navbar-nav .nav-link {
  color: #fff !important;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
  color: #fff !important;
}

.nav-item .dropdown-item a.active {
  color: white !important;
}
.navbar-nav .nav-item .nav-link {
  display: block;
  color:  #fff !important;
  padding:0.5em !important;
  border-right: 1px solid #444;
}
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus,
.navbar-nav .nav-item .is-active {
  color: #373737 !important;
  background: #A9CCA3 !important;
  background: -moz-linear-gradient(#A9CCA3, #EFFAED);
  background: -o-linear-gradient(#A9CCA3, #EFFAED);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#A9CCA3), to(#EFFAED));
  background: -webkit-linear-gradient(#A9CCA3, #EFFAED);
}
.navbar-nav .nav-item .is-active {
  font-weight: bold;;
}
.navbar-nav .nav-item {
  padding:0;
  margin:0;
 }



a:active,
.link:active {
  color:#d3ecde;
}

a,
.breadcrumb a,
.link, 
h1, h1 a, h2 a, h3, h3 a, h4, h4 a {
  color: #466A2D !important;
}


a:hover,.breadcrumb a:hover,
a:focus,.breadcrumb a:focus,
.link:hover,.link:focus,
h1 a:hover, h1 a:focus, 
h2 a:hover, h2 a:focus,
h3 a:hover, h3 a:focus,
h4 a:hover, h4 a:focus {
color: #67ad2e !important;
text-decoration: none;
}

.node-readmore{
  padding-left:0;
  padding-right:0;
}
.node-readmore a,
.blog-usernames-blog a,
.view-id-evenement .view-content .views-row .views-field span.field-content a {   
    padding: 0.3em 0.6em;
    background-color: darkseagreen;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9em;
}

.node-readmore a:hover,
.blog-usernames-blog a:hover,
.view-id-evenement .view-content .views-row .views-field span.field-content a:hover {
  background-color: rgb(95, 134, 95);
  color: white !important;
}


.bg-primary {
  background: #466A2D; /* Show a solid color for older browsers */
  background: -moz-linear-gradient(#466A2D, #446B2F);
  background: -o-linear-gradient(#466A2D, #446B2F);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#466A2D), to(#446B2F)); /* older webkit syntax */
  background: -webkit-linear-gradient(#466A2D, #446B2F);
/*(#5d8d39, #60913a)*/
}


.page-item.active .page-link {
  background-color: #466A2D;
  border-color: #025a28;
}

.page-link,
.page-link:hover {
  color: #466A2D;
}

div.block-views h2.node__title a,
.node--view-mode-teaser  h2.node__title a{
    text-decoration: none;
}

/*.easy-carousel--simple .list .item*/
div.slide-content {
    margin: 0 0 1.5em 0;
    background-color:#466A2D;
    padding: 0.2em;
    font-size: 1em;
}


.sidebar .block {
  background-color: #f6f6f2;
  border-color: #f9f9f9;
}


.site-footer {
  background: #292929;
}

.region-header,
.region-header a,
.region-header li a.is-active,
.region-header .site-branding__text,
.region-header .site-branding,
.region-header .site-branding__text a,
.region-header .site-branding a,
.region-secondary-menu .menu-item a,
.region-secondary-menu .menu-item a.is-active {
  color: #fffeff;
}

.region-featured-bottom-second {
  background-color: #f6f6f2;
  margin:0;
}

/* ---------- Color Form ----------- */

[dir="rtl"] .color-form .color-palette {
  margin-left: 0;
  margin-right: 20px;
}

[dir="rtl"] .color-form .form-item label {
  float: right;
}

[dir="rtl"] .color-form .color-palette .lock {
  right: -20px;
  left: 0;
}

/**
 * Default calendar skin.
 *
 * @see https://codepen.io/rachelandrew/pen/PNwaZe
 */

/** Table **/
table.calendar-view-table {
  --calendar-view-columns: 7;
  --calendar-view-color-white: #fff;
  --calendar-view-color-lighter: #f8f8f8;
  --calendar-view-color-light: #f4f4f4;
  --calendar-view-color-grey: #ccc;
  --calendar-view-color-gray: #555;
  --calendar-view-color-evil: #666;
  --calendar-view-color-dark: #466A2D;
  --calendar-view-day-rows-gap: 0.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--calendar-view-columns), 1fr);
  border-collapse: collapse;
  margin-top:0;
}



table.calendar-view-table tr,
table.calendar-view-table thead,
table.calendar-view-table tbody {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(var(--calendar-view-columns), 1fr);
  width: 100%;
  background-color: #fff;
  border:none;
}
table.calendar-view-table th,
table.calendar-view-table tr.even, 
table.calendar-view-table tr.odd {
  background-color: #fff;
}

table.calendar-view-table caption {
  text-align: center;
  grid-column: 1 / -1;
  font-weight: bold;
  font-size: 1.5em;
  text-transform: uppercase;
  padding: 0;
  margin: -1.6em 0 0 0;
  height:3.2em;
  color: #466A2D;
}

table.calendar-view-table a {
  text-decoration: none;
}

table.calendar-view-table td,
table.calendar-view-table th {
  padding: 0.5rem;
  box-sizing: border-box;
  border: 1px solid var(--calendar-view-color-grey);
}

table.calendar-view-table thead th {
  background: var(--calendar-view-color-dark);
  border-right: 1px solid white;
}

table.calendar-view-table th {
  width: 100%;
  padding: 1rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 2;
  text-align: center;
  text-transform: uppercase;
  color: var(--calendar-view-color-white);
  border-color: transparent;
}

table.calendar-view-table td {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 7.5rem;
  min-width: calc(100% / var(--calendar-view-columns));
}
table.calendar-view-table td:hover {
  background-color: var(--calendar-view-color-white);
}


/** Cells **/
table.calendar-view-table .calendar-view-day {
  display: flex;
  flex-direction: column;
  flex: 1;
}
table.calendar-view-table .calendar-view-day:hover .calendar-view-day__number {
  border-radius: 0;
}

table.calendar-view-table .calendar-view-day__number {
  flex: 0 0 auto;
  align-self: flex-end;
  width: 1.5rem;
  border-radius: 50%;
  font-size: 0.65em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  padding: 0.5rem 0.15rem;
  cursor: help;
  text-align: center;
  background: var(--calendar-view-color-dark);
  color: var(--calendar-view-color-white);
  transition: border-radius 0.2s linear;
}
.past .calendar-view-day {
  opacity: 0.8;
}
.today .calendar-view-day__number {
  font-weight: bold;
}

.calendar-view-day__rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--calendar-view-day-rows-gap);
}

.calendar-view-day__rows > * {
  flex: 1;
}

[dir="ltr"] table.calendar-view-table .calendar-view-day__rows {
  margin-left: 0;
}

[dir="rtl"] table.calendar-view-table .calendar-view-day__rows {
  margin-right: 0;
}

table.calendar-view-table .calendar-view-day__row {
  font-size: 0.8125rem;
  border-radius: 0.25rem;
  padding: 0.3125rem;
  margin: 0;
  line-height: 1.2;
  background: var(--calendar-view-color-white);
  border: 1px solid var(--calendar-view-color-grey);
  color: var(--calendar-view-color-dark);
  text-decoration: none;
}

table.calendar-view-table .calendar-view-day__row > * {
  color: var(--calendar-view-color-gray);
  margin: 0.1875rem 0 0.4375rem 0;
  text-decoration: none;
}

table.calendar-view-table .calendar-view-day__row.hover,
table.calendar-view-table .calendar-view-day__row:hover,
table.calendar-view-table .calendar-view-day__row:active,
table.calendar-view-table .calendar-view-day__row:focus {
  border-color: var(--calendar-view-color-gray);
}

/** Past & future results **/
table.calendar-view-table .next-month,
table.calendar-view-table .previous-month {
  background: var(--calendar-view-color-light);
  color: var(--calendar-view-color-evil);
}

table.calendar-view-table .next-month .calendar-view-day__number,
table.calendar-view-table .previous-month .calendar-view-day__number {
  background: var(--calendar-view-color-gray);
}

/** Pager (i.e. "Navigation by month") **/
.calendar-view-pager {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  background-color: var(--calendar-view-color-light);
  border: 1px solid var(--calendar-view-color-grey);
  padding: 0;
  margin: 0 0 -0.5em 0;
  height: 1.5em;
}
.calendar-view-pager li {
  list-style: none;
}
.calendar-view-pager .pager__item {
  flex: 1;
}

[dir="ltr"] .calendar-view-pager .pager__previous {
  text-align: left;
}
[dir="rtl"] .calendar-view-pager .pager__previous {
  text-align: left;
}

[dir="ltr"] .calendar-view-pager .pager__next {
  text-align: right;
}
[dir="rtl"] .calendar-view-pager .pager__next {
  text-align: left;
}



.calendar-view-pager__reset a,
.calendar-view-pager .pager__item > * {
  padding: 1rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 2;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
}
.calendar-view-pager .pager__current {
 /* text-align: center;*/
  display:none;
}

.calendar-view-pager .pager__item a {
  display: block;
  width: 100%;
}

.calendar-view-pager .pager__item > .form-item {
  margin: 0;
}
.calendar-view-table td.is-today {
  background-color: #91d596;
}

dl dt > p {
  font-weight: bold !important;
}
dd {
  margin-left: 2em !important;
}

/*.toolbar .toolbar-bar .toolbar-tab a {
  color: white !important;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item.is-active {
  color: black !important;
}*/



@media(max-width: 900px) {
 .navbar-expand-lg .navbar-nav .nav-link {
    color: darkgreen !important;
  }
  
  .nav-item .dropdown-item a.active {
   color: darkgreen;
  }

  .nav-link:hover,
  .nav-link:focus {
    color: darkgreen;
  }

  
}


/** Mobile (e.g. 48rem = 768px) **/
@media(max-width: 48rem) {
  a.nav-link--::before,
  a.nav-link--contact::before  {
    display:none !important;
  }
  .navbar-nav .nav-item .nav-link {
    border-right:0;
  }

  table.calendar-view-table thead,
  table.calendar-view-table .next-month,
  table.calendar-view-table .previous-month {
    display: none;
  }

  table.calendar-view-table,
  table.calendar-view-table tr,
  table.calendar-view-table thead,
  table.calendar-view-table tbody {
    grid-template-columns: 1fr;
  }

  table.calendar-view-table tr {
    grid-column: 1 / 2;
  }

  table.calendar-view-table .calendar-view-day__number {
    align-self: flex-start;
  }

  .calendar-view-pager {
    /*flex-direction: column;*/
  }
 
 
}
