.container {
  width: 95%;
  max-width: 1920px;
}

body {
  padding-bottom: 100px;
}

/* For sidenav */
header, main, footer {
  padding-left: 250px;
}

header.no-pad, main.no-pad, footer.no-pad {
  padding-left: 0;
}

@media only screen and (max-width : 992px) {
  header, main, footer {
    padding-left: 0;
  }
}

.sidenav {
  width: 250px;
}

ul.sidenav.sidenav-fixed li.logo {
  text-align: center;
  margin: 10px;
  margin-bottom: 90px;
}

ul.sidenav li.logo>a:hover {
  background-color: unset;
}

.sidenav li.active {
  background-color: #bdbdbd;
}

ul.sidenav.sidenav-fixed li a {
  font-size: 13px;
  line-height: 44px;
  height: 44px;
  padding: 0 30px;
}

ul.sidenav.sidenav-fixed ul.collapsible-accordion .collapsible-body li a {
  display: flex;
  align-items: center;
  font-weight: 400;
  padding: 0 37.5px 0 45px;
}

ul.sidenav.sidenav-fixed ul.collapsible-accordion .collapsible-body li a .icon {
  text-align: center;
  margin-right: 15px;
  line-height: 1em;
  width: 20%;
}

ul.sidenav.sidenav-fixed ul.collapsible-accordion .collapsible-body li a .text {
  width: 80%;
}

/* For page button menu */
.page-menu a {
  margin-bottom: 1em;
  margin-right: 1em;
}

/* For main menu */
.menu-grid {
  display: flex;
  flex-wrap: wrap;
}

.menu-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1rem;
  width: 8em;
  height: 8em;
  margin: 0.5em;
  padding: 0.5em;
  background-color: #DC0122;
  font-weight: bold;
}

.menu-item .icon {
  height: 4em;
  max-height: 4em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.menu-item .material-icons, .menu-item .icon-img, .menu-item .local-icons {
  font-size: 3em;
}

.menu-item .text {
  text-align: center;
}

@media only screen and (min-width: 601px) {
  .menu-item {
    font-size: 1.35em;
  }
}

/* Icon */
.icon-img {
  /* Taille de police des icons de Google par défaut */
  font-size: 24px;
  max-height: 1em;
  max-width: 1em;
}

@font-face {
  font-family: 'Local Icons';
  font-style: normal;
  font-weight: 400;
  src: url(/font/local_font.woff?version=1.2) format('woff'),
       url(/font/local_font.ttf?version=1.2) format('truetype'),
       url(/font/local_font.eot?version=1.2) format('embedded-opentype');
}

.local-icons {
  font-family: 'Local Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* For system message */
.message {
  font-weight: 600;
  padding: 1em;
  overflow: visible;
}

.message.error {
  background-color: #e53935;
}

.message.success {
  background-color: #4caf50;
}

.message.warning {
  background-color: #ffc107;
}

/* Table */
div.table {
  overflow-x: auto;
}

div.table > table:not(.datepicker-table):not(.apercu) {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

div.table > table tr, table td, table th {
  margin: 0;
  padding: 2px 10px;
  border-radius: 0;
}

table.striped > tbody > tr:nth-child(odd) {
  background-color: #cfd8dc;
}

table.highlight > tbody > tr:hover {
  background-color: #78909c ;
}

div.table > table a {
  color: #1565c0;
}

table.highlight > tbody > tr:hover a {
  color: #b3e5fc;
}

table.highlight > tbody > tr:hover a.btn {
  color: #fff;
  background-color: #263238;
}

div.table > table a.btn, div.table > table a.btn-small, div.table > table a.btn-large {
  color: #fff;
}

div.table > table a.button {
  color: #000;
}

div.table.with-btn > table td {
  height: 55px;
}

[type="checkbox"].inline-check +
span:not(.lever) {
  padding-left: 22px;
  padding-right: 10px;
}

@media (pointer: coarse) {
  .hide-on-touch-screen {
    display: none;
  }
}

/* Info */
div.info {
  margin: 0;
  padding: 10px 10px 10px 10px;
  background-color: #f0f0f0;
}

div.info p, div.info ol {
  margin: 0;
}

div.info p.title {
  font-weight: bold;
}

div.info ol {
  padding-left: 2em;
}

div.info ul {
  list-style-type: initial;
  padding: initial;
  margin: initial;
  padding-left: 2em;
}

div.info ul li {
  list-style-type: initial;
  padding: initial;
  margin: initial;
}

div.info .publisher {
  margin-top: 1em;
  font-size: 0.85em;
}

/* Card */
.card .card-content {
  padding: 12px 24px 0;
}

/* Main page dates */
.collection.dates .collection-item {
  padding: 0 0.5em;
}

.collection.dates .collection-item p.date {
  margin: 0.75em 0;
  font-weight: bold;
}

.collection.dates .collection-item p.event {
  margin: 0 -0.5em;
  padding: 0.5em;
}

/* Trombinoscope */
.trombinoscope {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.trombinoscope figure {
  display: table;
  margin: 1em;
  max-height: 150px;
}

.trombinoscope img {
  max-height: 150px;
}

.trombinoscope figcaption {
  display: table-caption;
  caption-side: bottom;
  text-align: center;
}

@media only screen and (max-width: 601px) {
  .trombinoscope img {
    max-height: 100px;
  }
}

/* Custom color */
.sdis-color {
  background-color: #DC0122 !important;
}

.sdis-color-text {
  color: #DC0122 !important;
}

/* Util */
.flex {
  display: flex;
  flex-wrap: wrap;
}

.mb0 {
  margin-bottom: 0 !important;
}

@media only screen and (max-width: 992px) {
  .m-t1 {
    margin-top: 1em;
  }
}

span.annule {
  text-decoration: line-through;
}

span.encours {
  color: red;
}

.nowrap {
  white-space: nowrap;
}

/* Form override */
select.browser-default {
  height: auto;
}

textarea {
  max-width: 100%;
  width: initial;
  height: initial;
  background-color: initial;
  font-family: initial;
  overflow: initial;
  font-size: initial;
  line-height: initial;
  margin: initial;
}

/* Button override */
.btn, .btn-large, .btn-small {
  text-transform: none;
  background-color: #607D8B;
  font-size: 1em;
}

.btn-flat {
  text-transform: none;
}

.btn:hover, .btn-large:hover, .btn-small:hover {
  background-color: #37474F;
}

.btn-small {
  height: 2em;
  line-height: 2em;
  padding: 0 0.75em;
}

.btn i.norm-size {
  font-size: 24px;
}

.no-text-transform {
  text-transform: none !important;
}

h1.page-title {
  padding: 5px 10px 5px 10px;
  margin: 0px 0px 10px 0px;
  font-size: 3em;
}

/* Other override */
@media only screen and (min-width: 992px) {
  html {
    font-size: 14px;
  }
}

strong {
  font-weight: bold;
}

/** Correct Datepicker styles **/
.datepicker-controls, .datepicker-footer {
  width: 100%;
}

@media only screen and (min-width: 601px) {
  .datepicker-controls,
  .datepicker-footer {
    width: 100%;
  }
}
