/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */

@import url("fonts/fonts.css");
@import url("menu.css");
@import url("home.css");
@import url("page.css");
@import url("ckeditor.css");
/************************
 * Variables            *
 ************************/

:root {
  --jaune: #F9EB09;
  --rouge: #ED0030;
  --gris-clair: #DCDCDC;
  --noir: #212121;
}

/************************
 * Styles globaux       *
 ************************/

body {
  position: relative;
  z-index: 200;
  color: var(--noir);
  font-size: 15px;
}

@media all and (min-width: 768px) {
  body {
    margin: 0;
  }

  #navbar-collapse {
    padding: 0;
  }
}

a,
a:hover,
a:visited {
  color: var(--rouge);
}

button {
  cursor: pointer;
}

nav.tabs {
  position: absolute;
  z-index: 100;
  margin-top: 40px;
}

.main-container::before {
  content: '';
  clear: both;
}

section.main-wrapper {
  padding: 0;
}

a.name.navbar-brand {
  display: none;
}

strong {
  font-weight: bolder;
}

span.rouge {
  color: var(--rouge);
}

span.jaune {
  color: var(--jaune);
}

table.table-hover tr:hover {
  background: #FEE;
}

.table-striped>tbody>tr:nth-of-type(2n) {
  background: #EEE;
}

.table-striped>tbody>tr:nth-of-type(2n+1) {
  background: white;
}

table.table-stripped td.titre {
  background: white;
  padding-top: 20px;
}

table.table-stripped td.row {
  padding-top: 3px;
  padding-bottom: 3px;
}

.region-footer #block-newsletter a.bouton {
  display: inline-block;
  margin-top: 20px;
  background: var(--noir);
  color: white;
  font-weight: bold;
  padding: 5px 15px;
}

.view .views-row h3.titre {
  font-size: 18px;
  font-weight: bold;
}

.my-header-wrapper {
  padding: 0;
}

.my-content-wrapper,
.region-content>.views-element-container,
.region-content .contact-message-form {
  margin: 10px 10%;
  max-width: 1600px;
}

/* Gestion du trapèze *
 **********************/

.trapeze {
  position: relative;
  z-index: 0;
  overflow: hidden;
  margin-top: -5px;
}

.trapeze::before {
  content: '';
  position: absolute;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 50px transparent solid;
  border-left: 3000px white solid;
}

.trapeze::after {
  content: '';
  position: absolute;
  bottom: 0;
  z-index: 10;
  width: 100%;
  border-top: 50px transparent solid;
  border-left: 3000px white solid;
}

/************************
 * Header               *
 ************************/

a.logo img {
  height: 50px;
  margin-left: 20px;
  margin-top: 10px;
}

@media all and (min-width: 500px) {
  a.logo img {
    height: 72px;
  }
}

header#navbar {
  padding: 0;
  margin: 0;
  background: white;
  border: 0;
}

.navbar-header {
  width: 100%;
  margin: 0 !important;
}

/************************
 * Footer            *
 ************************/

footer.footer {
  border-top: 0;
  padding-bottom: 0;
  margin-top: 10px;
}

.region-footer {
  background: var(--noir);
  color: white;
  padding-bottom: 30px;
}

.region-footer #block-newsletter {
  background: var(--jaune);
  color: var(--noir);
  padding: 15px;
  margin-bottom: 15px;
  padding-left: 10%;
  padding-right: 10%;
}

.region-footer #block-newsletter h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0;
  background: transparent;
}

.region-footer a {
  color: white;
}

.region-footer img[src*="facebook"],
.region-footer img[src*="instagram"],
.region-footer img[src*="youtube"] {
  max-width: 40px;
  max-height: 40px;
}
/* Bloc cookies */

.cookiesjsr-banner,
.cookiesjsr-service-group.active .cookiesjsr-service-group--tab,
button.cookiesjsr-btn.cookiesjsr-settings,
.cookiesjsr-service-group.active .cookiesjsr-service-group--content,
.cookiesjsr-btn.important.invert {
  background-color: black;
  border-color: white;
}

button.cookiesjsr-btn.allowAll {
  background-color: var(--jaune);
  border-color: white;
}