.title-wiki{
  margin:30px 0;
}

.box-wiki .description .text{
  font-size:20px;
  font-weight: bold;
}

.box-wiki .search{
  display: flex;
  justify-content: space-between;
  margin: 30px 0 80px 0;
}

.box-wiki .search .global-search-container{
  display: block!important;
}
.box-wiki .search .panel-on-focus{
  background: none;
}
.box-wiki .search .rte-blue-button{
  width:166px;
}
.rte-blue-button {
  min-height: 39px;
  width: auto;
  border: none;
  border-radius: 19.5px;
  background-color: #00a6d9;
  font-family: NunitoSans;
  font-size: 14px;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  cursor: pointer;
}

.rte-blue-button a:hover {
  text-decoration: none;
  background-color: #00CEFF;
}
.box-wiki .pills-content{
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  padding: 85px 100px 50px 100px;
}


.box-wiki .title{
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.box-wiki .pills-content .rte-blue-button{
  width:140px;
}
.box-wiki .pills-content .links{
  padding-right: 20%;
}
.box-wiki .pills-content .links a{
  color: #00ceff !important;
}



.box-wiki .section-form{
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  padding: 0px 100px 50px 100px;
  margin-bottom:50px;
  margin-top:76px;
}
.box-wiki .section-form .rte-blue-button{
  width:250px;
}

.box-wiki .search .panel-on-focus {
  display: none !important;
}

.wiki-thematique {
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  padding: 20px 100px 40px 100px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.card-thematique-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 100%;
}

.card-thematique {
  border: 2px solid #00CEFF;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  max-width: 290px;
  max-height: 370px;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 30px 30px 25px;
}

.card-thematique:hover {
  background-color: #0C3949;
  text-decoration: none;
  color: white !important;
  border-color: #00A6D9;
}

.title-thematique h2 {
  font-size: 26px !important;
  margin: 25px 0 20px;
  font-family: 'NunitoSansExtraBold' !important;
}

.picto-thematique img, .picto-thematique svg {
  width: 112px;
  height: auto;
}

.spacer {
  flex-grow: 1;
}

.line-thematique {
  width: 90px;
  border-bottom: 2px solid #00CEFF;
  margin-bottom: 20px;
}

.count-thematique {
  color: #B2B2B2;
  font-size: 14px;
  height: 20px;
}

@media screen and (max-width: 1024px) {
  .card-thematique-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 560px) {
  .card-thematique-container {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 768px) {
  .box-wiki .search {
    flex-direction: column;
  }

  .box-wiki .gs-search-bar {
    width: 100%;
  }

  .box-wiki .search a.wiki-search-link {
    margin-top: 25px;
  }

  .node--type-wiki #main-wrapper {
    padding-top: 0;
  }

  .box-wiki .pills-content {
    padding: 85px 15px;
  }

  .box-wiki .pills-content .title a{
    position: absolute;
    bottom: 30px;
  }

  .box-wiki .title {
    margin-bottom: 15px;
  }

  .box-wiki .section-form {
    padding: 50px 15px;
    margin: 0;
  }

  .box-wiki .links {
    flex-wrap: nowrap;
    display: flex;
    overflow-x: scroll;
    padding: 10px 0 !important;
  }

  .box-wiki .links span.badge-swi {
    display: inline-block;
    overflow: visible
  }

  .wiki-thematique {
    padding: 60px 20px 20px 20px;
  }


  .card-thematique {
    flex: 0 1 100%;
  }
}

@media only screen and (max-width: 1200px) {
  .wiki-thematique {
    padding-right: 16px;
    padding-left: 16px;
  }
}
