#menu-tab {
  color: black;
  margin-bottom: 5rem;
}

#page-wrap {
  margin: 10px auto;
}

.tabs {
  position: relative;
  min-height: 400px;
  margin: 25px 0;
}
.tab {
  float: left;
}
.tab label {
  padding: 10px;
  margin-left: -1px;
  position: relative;
  left: 1px;
  border-radius: 10px 10px 0px 0px;
}
.tab [type="radio"] {
  display: none;
}

.content {
  position: absolute;
  background-color: #e0e4e5;
  top: 28px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.41);
  overflow: hidden;
  overflow-y: auto;
  margin-bottom: -20px;
}

.content div {
  margin-top: 1rem;
}

.content img {
  float: right;
  margin-left: 2rem;
  margin-top: 1.5rem;
}

.content p {
  margin-right: 3rem;
  margin-bottom: 0;
}

.content > * {
  opacity: 0;

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);

  transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
}

/*-------------Onglets actifs--------------*/

[type="radio"]:checked ~ label {
  background-color: #e0e4e5;
  border: 1px solid #e0e4e5;
  z-index: 2;
}
[type="radio"]:checked ~ label ~ .content {
  z-index: 1;
}
[type="radio"]:checked ~ label ~ .content > * {
  opacity: 1;

  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}

.content img {
  border: 4px solid white;
  box-shadow: 6px 6px 10px grey;
  transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
}

.content img:hover {
  opacity: 0.8;
  transform: rotate(7deg);
  -webkit-transform: rotate(7deg);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);

  transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
}

.text-slide span {
  font-weight: bold;
}

.slides-title {
  font-weight: bold;
  display: block;
  margin-top: 1rem;
  font-size: 1.5rem;
}

.last-slide-text {
  padding-top: 2rem;
}

@media screen and (max-width: 480px) {
  .content img {
    float: none;
    display: block;
    margin: 1rem auto 2rem;
  }

  .tabs {
    min-height: 800px;
  }
}

.event {
  border: 1px dotted black;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.event-up {
  display: flex;
}

.event-left {
  width: 68%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.event-right {
  width: 30%;
  display: flex;
  align-items: center;
}

.event-tag {
  font-size: 1.5rem;
  border: 1px solid black;
  border-radius: 5px;
  padding: .5rem;
  margin: 1rem 0;
}

.event-info {
  margin: 3rem 0 2rem;
}

.event-info p {
  margin: 0;
}

.event-right img {
  border-radius: 5px;
}

.event-tag-Soirejeux {
  background-color: #B6AAF2;
}

.event-tag-LudoTime {
  background-color: #DDB880;
}

.event-tag-vnement {
  background-color: #C3F3C2;
}

.event-tag-JDR {
  background-color: #F6BDC3;
}

.event-complementary {
  display: flex;
  flex-direction: column;
}

.event-complementary p {
  margin-bottom: 0;
  margin-left: .4rem;
}

.event-complementary-place {
  margin-left: .4rem;
}

.event-landing-page {
  padding: 0 0 1rem 1rem;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
}

@media screen and (max-width: 621px) {
  .event-up {
    display: flex;
    flex-direction: column-reverse;
  }

  .event-left {
    width: 100%;
  }

  .event-right {
    width: 50%;
    margin: auto;
  }
  .event-right img {
    width: 100%;
  }
}