@charset "utf-8";

:root {
  --primary-color: #284677;
  --bg-icon-cards: #ccddf2;
  --contrast-color: white;
  --contrast-red: #e74a4a;
  --contrast: #f6987a;
  --primary-color-shade: #28467726;
  --primary-color-black: #28467705;
  --link-color: #1366e3;
  --btn: #f5f5f5;
}

/* CSS Document */
body {
  font-size: 15px !important;
  overflow-x: hidden;
}


img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none !important;
  color: inherit !important;
}

main {
  padding: 0 20px;
}

.container {
  padding: 0;
  width: initial !important;
  max-width: 1240px !important;
}

.hero {
  height: 50vh;
}

.hero::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  background-image: url("//cdn2.scriptcase.net/fr/lib/../demonstration/img/bg_webinars.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 60%;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.hero__title_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.hero__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  padding: 50px 0;
}

.hero__title {
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.hero__paragraph {
  font-size: 1.3rem;
}

.hero__img-container {
  height: 80px;
  width: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--bg-icon-cards);
  border-radius: 50%;
  margin-right: 20px;
}

.hero__img {
  height: 40px;
}

.filter {
  border: 1px solid var(--primary-color-shade);
  border-radius: 0.5rem;
  background: var(--primary-color-black);
  padding: 0.8rem 1.2rem;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.filter__item {
  background: var(--btn);
  color: var(--primary-color);
  padding: 10px 15px;
  margin: 7.5px;
  font-weight: normal;
  font-size: 0.8rem;
  cursor: pointer;
}

.filter__item:first-child {
  margin-left: 0;
}

.filter__item:last-child {
  margin-right: 0;
}

.filter__item.active {
  background: var(--primary-color-shade) !important;
  color: var(--primary-color) !important;
}

.filter .form-group::after {
  content: "";
  display: inline-block;
  height: 20px;
  width: 1px;
  background-color: var(--primary-color);
  margin: 0 15px;
}

.filter .form-group input::-webkit-input-placeholder {
  font-size: 0.8rem;
}

.filter .form-group input:-ms-input-placeholder {
  font-size: 0.8rem;
}

.filter .form-group input::-ms-input-placeholder {
  font-size: 0.8rem;
}

.filter .form-group input::placeholder {
  font-size: 0.8rem;
}

@media only screen and (max-width: 578px) {
  .filter {
    max-width: 100%;
  }

  .filter__item {
    max-width: none;
  }
  .filter__item:first-child {
    margin-left: 7.5px;
  }
  .filter__nav {
    position: relative;
    left: -7.5px;
    flex-wrap: wrap;
  }
  .filter__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .filter .form-group {
    margin-top: 15px !important;
    display: block !important;
  }
  .filter .form-group::after {
    display: block;
    height: 1px;
    width: 20px;
    background-color: var(--primary-color);
    margin: 15px 0;
  }
}

.section-title {
  font-weight: bold;
  letter-spacing: 0.1em;
}

.card__deck {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(290px, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, 295px);
  gap: 20px;
  margin: 0 0 120px 0;
}

.card__deck .card {
  -webkit-box-shadow: 0px 2px 4px 1px rgba(184, 184, 184, 0.5);
  box-shadow: 0px 2px 4px 1px rgba(184, 184, 184, 0.5);
  border-radius: 10px;
  border: none;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.card__deck .card.recommended {
  color: white;
  background: linear-gradient(138.01deg, #0052d4 0%, #4364f7 50.26%, #6fb1fc 98.47%);
}

.card__deck .card-private{
  background: linear-gradient(138.01deg, #0052d4 0%, #4364f7 50.26%, #6fb1fc 98.47%);
  cursor: pointer;
}

.card__deck .card-private .card__title-container .card__title{
  color: white;
  font-weight: bold;
  margin: 0;
  line-height: 1.4rem;
}

.card__deck .card-private .card__text{
  color: white;
}

.card__deck .card:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0px 5px 6px 1px rgba(184, 184, 184, 0.5);
  box-shadow: 0px 5px 6px 1px rgba(184, 184, 184, 0.5);
}

.card__deck .card.recommended:hover {
  color: white !important;
}

.card__deck .card-body {
  padding: 1.25rem;
}

.card__deck .card__title-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 20px;
}

.card__deck .card__title-container.align-stretch {
  align-items: stretch;
}

.card__deck .card__title-container .card__title {
  margin: 0 20px 0 15px;
  font-size: 1rem;
}

.card__deck .card__img-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--bg-icon-cards);
  border-radius: 50%;
  line-height: 1;
  width: 40px;
  min-width: 40px;
  height: 40px;
}

.card__deck .card__img {
  height: 20px;
}

.card__deck .card__date-container {
  background-color: var(--contrast);
  border-radius: 5px;
  padding: 5px 10px;
}

.card__deck .card__date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.card__deck .card__date-number {
  font-size: 1rem;
}

.card__deck .card__text {
  font-size: 0.9rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.card__deck .card__text-icon {
  height: 13px;
  margin-right: 5px;
}

.card__deck .card__img-container-round {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--contrast);
  border-radius: 50%;
  line-height: 1;
  width: 40px;
  min-width: 40px;
  height: 40px;
}

.card__deck .card__img-round {
  height: 20px;
}

@media only screen and (min-width: 1700px) {
  .hero::after {
    background-image: url("//cdn2.scriptcase.net/fr/lib/../demonstration/img/bg_webinars@2x.png");
    background-size: 60%;
  }
}

@media only screen and (max-width: 1300px) {
  .hero::after {
    background-size: 65%;
  }
}

@media only screen and (max-width: 990px) {
  .hero {
    margin-top: 20px;
    height: auto;
  }
  .hero__content {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
  }
  .hero::after {
    background-image: none;
  }
}


@media only screen and (max-width: 680px) {
  .card__deck {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 578px) {
  .hero__title_container{
    flex-direction: column;
  }

  .hero__img-container{
    margin-bottom: 5px;
  }
  
  .hero__title{
    font-size: 1.8rem;
  }
}

#modal-body {
  height: 810px;
}

.modal {
  z-index: 99999;
}