.navbar-toggle {
  top: 25px;
}

#Mod87 .nav > li > a {
  padding: 0;
}

.logo a {
  background-color: #0077bb;
}

.t3-copyright,
.lt-parallax {
  display: none;
}

blockquote {
  border: none;
}

ul {
  list-style-type: none
}

td {
  border-top: none;
}

#sponsor img {
  width: 100%
}

.navbar-header .logo-img {
  height: 57px;
  width:  auto;
}

.t3-footer img,
.item-168 img {
  width:  100%;
  height: auto;
}

.head-search, .navbar-toggle + .head-search {
  top: 50px;
}

#Mod101 h3 {
  display: none;
}

#Mod101 {
  padding-bottom: 0;
  padding-top:    0.5rem;
  text-align:     center;
}

#Mod101 img {
  max-width: 700px;
}

img.zoomable {
  cursor: pointer;
}

/*img.zoomable:hover {*/
/*border: outset 2px;*/
/*}*/
/*img.zoomable:active {*/
/*border: inset 2px;*/
/*}*/

:target::before {
  content:"";
  display:block;
  height:60px; /* fixed header height*/
  margin:-60px 0 0; /* negative fixed header height */
}
/********trainers page**********/
.trainer p:first-of-type {
  font-size: 15px;
  font-weight: bold;
  color: #000000;
}
.trainer p {
  text-align: center;
}
.trainer img + div.col-sm-8 > p {
  text-align: right;
}
.trainer img {
  padding-bottom: 10px;
}
.trainer {
  padding-bottom: 20px;
}
/********training page**********/
.trainings-container {
  color: #006;
  background-color: #e7e3cb;
  padding-bottom: 15px;
}

table.trainings tr td.spacer {
  border: none !important;
}

table.trainings-container .legend,
table.trainings.addresses {
  background-color: transparent;
  color: #006;
}

table.trainings.addresses a {
  font-weight: bold;
}

table.trainings .subcell {
  border-bottom: solid 1px black;
  float: left;
  width: 100%;
  position: relative;
}

table.trainings .subcell:last-child {
  border: none;
}

table.trainings td,
table.trainings th {
  vertical-align: middle;
}

table.trainings td {
  text-align: center;
  border: solid 1px black !important;
  font-weight : bold;
  font-size: 12px;
  padding: 0;
  position: relative;
}
.trainings.legend {
  font-size: 12px;
  background-color: transparent;
  color: #006;
}
.trainings.legend.holidays {
  padding-top: 5px;
}

table.trainings a {
  color: black;
  font-weight : normal;
}
.trainings .bg-beginners {
  background-color: #ffffff;
}
.trainings .fg-beginners {
  color: cornflowerblue;
}
.trainings .bg-advanced {
  background-color: #bfbfbf;
}
.trainings .fg-advanced {
  color: green;
}
.trainings .fg-selection {
  color: #cf3;
}

.trainings.addresses a,
.trainings.legend a {
  color: #cf3;
}

.trainings .bg-selection {
  background-color: #b6c5c8;
}

.trainings .thin {
  font-weight: normal !important;
}

.training-type {
  word-wrap: normal;
  word-break: keep-all;
}

.trainings .irregular {
  color: #5d5d5d;
}

table.trainings.responsive-table-matteo tr.header,
table.trainings.addresses,
table.trainings:not(.addresses) tr {
  border: solid 2px #006 !important;
}

table.trainings.responsive-table-matteo thead tr {
  border: none !important;
}

table.trainings.addresses td.no-border-top {
  border-top: transparent !important;
}

table.trainings.addresses td.no-border-bottom {
  border-bottom: transparent !important;
}

table.trainings.responsive-table-matteo th {
  padding: 0;
  color: #006;
  background-color: #cf3;
  border: none
}

table.trainings td.no-border,
table.trainings tr.no-border,
.no-border {
  border: none !important;
}

table.trainings tr.no-border-bottom {
  border-bottom: 0 !important;
}

table.trainings tr.no-border-top {
  border-top: 0 !important;
}

.no-padding {
  padding: 0 !important;
}

.no-padding-lr {
  padding-left: 0 !important;
  padding-right : 0 !important;
}

table.trainings td[data-title] {
  min-width: 100px;
}

table.trainings td[data-title="Mercredi"],
table.trainings td[data-title="Vendredi"],
table.trainings td[data-title^="Samedi"] {
  min-width: 140px;
}

table.trainings td[data-title] > div.td-container {
  padding-top: 5px;
}

table.trainings td[data-title] > div.td-container,
table.trainings td[data-title] > div.td-container > div {
  width: 100%;
}

table.trainings .salle,
table.trainings .salles > div {
  padding: 5px 0 0 0;
  width: 100%;
}

table.trainings .salle a {
  font-weight : bold;
}

.trainings.legend.footer span {
  margin-top: 15px;
}

.trainings.legend.footer a {
  margin-top: 15px;
  color: #0077bb;
  text-decoration: underline;
}

table.addresses td > div {
  padding: 0 !important;
}

table.addresses td:not(.cessange) > div:nth-child(2) {
  text-align: left;
}

table.addresses .cessange,
table.addresses .cessange a,
table.trainings .salles .cessange,
table.trainings .salles .cessange sup,
table.trainings .salles .cessange a,
table.trainings .salle.cessange,
table.trainings .salle.cessange sup,
table.trainings .salle.cessange a {
  background-color: #acc8dd;
  color: black;
}

table.addresses .bonnevoie,
table.addresses .bonnevoie a,
table.trainings .salles .bonnevoie,
table.trainings .salles .bonnevoie sup,
table.trainings .salles .bonnevoie a,
table.trainings .salle.bonnevoie,
table.trainings .salle.bonnevoie sup,
table.trainings .salle.bonnevoie a {
  background-color: #cf3;
  color: #006;
}

table.addresses .cents,
table.addresses .cents a,
table.trainings .salles .cents,
table.trainings .salles .cents sup,
table.trainings .salles .cents a,
table.trainings .salle.cents,
table.trainings .salle.cents sup,
table.trainings .salle.cents a {
  color: #cf3;
  background-color: #006;
}

table.addresses .belair,
table.addresses .belair a,
table.trainings .salles .belair,
table.trainings .salles .belair sup,
table.trainings .salles .belair a,
table.trainings .salle.belair,
table.trainings .salle.belair sup,
table.trainings .salle.belair a {
  background-color: #dbd7b3;
  color: black;
}

table.addresses .hollerich,
table.addresses .hollerich a,
table.trainings .salles .hollerich,
table.trainings .salles .hollerich sup,
table.trainings .salles .hollerich a,
table.trainings .salle.hollerich,
table.trainings .salle.hollerich sup,
table.trainings .salle.hollerich a {
  background-color: #a49b4f;
  color: black;
}

.trainings .logo-fb {
  margin-top: -5px;
}

.trainings .facebook-table td {
  border: 0;
}
.trainings .logo-bottom {
  width: 75px !important;
  background-color: white;
  margin-top: 10px;
}
.trainings.legend.flex {
  display : flex;
}
.trainings .flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.trainings .flex-column {
  flex-direction: column;
}

@media screen and (max-width: 767px) {
  .trainer img + div.col-sm-8 > p {
    text-align: center;
  }
  table.trainings.responsive-table-matteo thead th {
    text-align: center;
  }
  table.trainings.responsive-table-matteo tbody td {
    display: flex;
    flex-flow: row wrap;
    text-align: center;
  }
  table.trainings.responsive-table-matteo tbody td.invisible-sm ,
  .invisible-sm {
    display: none;
  }
  table.trainings.responsive-table-matteo tbody .spacer {
    display: none;
  }

  table.trainings .salle {
    position : relative;
  }

  table.training-rooms img {
    max-width: 250px;
  }
}
table.training-rooms img {
  width: 80px !important;
  height: 80px;
}
/*********tables customization**********/
table.training-rooms ul {
  padding-left: 20px;
  list-style-type: circle;
}

.trainings-container sup:not(.unmodified) {
  font-size: 18px;
  top: 1px;
}

.trainings .salle sup {
  color: black;
}

.trainings.legend.bordered > div {
  border: solid 2px #006 !important;
  padding: 5px 0;
}

@media screen and (min-width: 768px) {
  table.training-rooms th,
  table.training-rooms td
  {
    width: 10%;
    vertical-align: middle;
  }
  table.training-rooms th:nth-child(3),
  table.training-rooms td:nth-child(3) {
    width: 40%;
  }
  table.training-rooms th:nth-child(4),
  table.training-rooms td:nth-child(4) {
    width: 20%;
  }
  table.trainings td[data-title] > div.td-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  table.trainings:not(.addresses) td[rowspan="2"] {
    height: 150px;
  }

  table.trainings:not(.addresses) td[rowspan="3"] {
    height: 225px;
  }

  table.trainings tr.bg-advanced.no-border-bottom.no-border-top {
    height: 75px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  table.trainings td {
    font-size: 10px;
  }

  table.trainings td[data-title] {
    min-width: 70px;
  }

  table.trainings td[data-title="Mercredi"],
  table.trainings td[data-title="Vendredi"] {
    min-width: 100px;
  }
  table.trainings td[data-title^="Samedi"] {
    min-width: 90px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  table.trainings td[data-title] {
    min-width: 90px;
  }

  table.trainings td[data-title="Mercredi"],
  table.trainings td[data-title="Vendredi"] {
    min-width: 140px;
  }
  table.trainings td[data-title^="Samedi"] {
    min-width: 120px;
  }
}

