/*
  Theme Name: Wikipedia
  Author: Agence Belle Époque
  Version: 1.1.0
*/

:root {
  --title-size: 29px;
  --left-margin: 6rem;
}

/* Global Styles - Start */

.list li:first-child {
  display: none;
}
*,
:after,
:before {
  box-sizing: border-box;
}

body {
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #111111;
}

.show-desktop {
  display: block;
}

.show-mobile {
  display: none;
}

.nice-select .option.disabled {
  color: #999 !important;
  cursor: default !important;
}

.button {
  border: 2px solid rgb(58, 37, 255);
  border-radius: 100px;
  background: #ffffff;
  padding: 15px 30px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 10pt;
  outline: 0;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 300px;
}

li {
  list-style: none;
}

select {
  display: inline;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
}
select:hover {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

.nice-select {
  background: transparent;
  font-weight: 500;
  border: 0;
}

.nice-select:hover {
  border-color: transparent;
  border-radius: 100px;
  background: #e0e0e0;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: transparent;
  background: transparent;
}

.main {
  display: flex;
  flex-direction: row;
}

.box {
  width: 50%;
  height: 100vh;
  padding-top: 80px;
  padding-left: 80px;
  padding-right: 80px;
}

.container {
  display: flex;
  flex-direction: column;
}

.blue {
  color: rgb(58, 37, 255);
}

/* Global Styles - End */

/* Left Content - Start */

.left {
  background: #ecece9;
  position: relative;
}

.search-container {
  margin: 0;
  margin-left: var(--left-margin);
  margin-bottom: 6rem;
}

.search-title {
  font-size: var(--title-size);
  color: rgb(207, 208, 209);
  margin: 0;
  margin-top: 0.5rem;
  margin-left: var(--left-margin);
  margin-bottom: 8rem;
}

.don_image {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.don_wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-form {
  width: 80%;
  min-width: 350px;
  max-width: 98%;
  margin: 0 auto;
  margin-top: 6rem;
}

.search-form {
  position: relative;
}
.input-wrapper {
  display: flex;
  position: relative;
}

.input-wrapper img {
  position: absolute;
  width: 20px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 20;
}

.input-wrapper #search {
  border: 0;
  border-radius: 40px;
  padding-left: 40px;
  padding-right: 60px;
  padding-top: 28px;
  padding-bottom: 28px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: calc(9px + ((8 * 2) / 2) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 500;
  color: rgb(106, 108, 113);
  outline: 0 !important;
  z-index: 12;
  transition: none;
}

/* .input-wrapper #search[data-state="autocompleteOn"] {
  border-radius: 40px 40px 0 0;
} */

input::placeholder {
  color: rgb(106, 108, 113);
}

input[data-state="autocompleteOn"] {
  /* box-shadow: 0px -10px 17px -8px rgba(0, 0, 0, 0.15); */
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
}

#borderFix[data-state="autocompleteOn"] {
  position: absolute;
  background: #fff;
  height: 50px;
  width: 30px;
  left: 33.54rem;
  margin-top: 2.5rem;
  z-index: 20;
}

#borderFix[data-state="autoCompleteOff"] {
  display: none;
}

.select-container {
  display: flex;
  margin-top: 1rem;
  margin-left: 1.5rem;
}

.arrow {
  width: 10%;
}

.select {
  display: flex;
  flex-direction: row;
}

#wikiOutput {
  display: block;
  position: absolute;
  background: #fff;
  line-height: 12px;
  left: 0;
  z-index: 10;
  width: 100%;
  border: 0;
  border-radius: 0 0 24px 24px;
  padding-top: 0;
  top: 100%;
  font-size: 13px;
  font-weight: 500;
  /* box-shadow: 0 6px 6px 0 rgba(32, 33, 36, 0.28); */
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  margin-top: -35px;
}
#wikiOutput p {
  overflow: hidden;
  max-width: calc(100% - 70px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* #wikiOutput::after,
#wikiOutput::before {
  content: "";
  position: absolute;
  bottom: 100%;
  background: #fff;
  width: 40px;
  height: 40px;
} */

#wikiOutput::before {
  left: 0;
}

#wikiOutput::after {
  right: 0;
}

#wikiOutput p:last-child {
  margin-bottom: 2rem;
}

#wikiOutput p a {
  margin-left: 40px;
  text-decoration: none;
  color: rgb(106, 108, 113);
  white-space: nowrap;
  font-weight: 500;
}

#wikiOutput p a:hover {
  text-decoration: none;
  color: rgba(106, 108, 113, 0.5);
}

.remove {
  position: absolute;
  right: 2.5rem;
  cursor: pointer;
  opacity: 0.75;
}

.footer-left {
  position: absolute;
  width: 50%;
  bottom: 4%;
  left: 0;
  padding-left: 80px;
  padding-right: 80px;
  line-height: 1.8;
  color: rgb(106, 108, 113);
  font-weight: 500;
  font-size: calc(6px + ((6 * 2) / 2) * ((100vw - 300px) / (1920 - 300)));
}

.main > div.left.box > div > footer > p > a {
  text-decoration: none;
  color: rgb(106, 108, 113);
}

.main > div.left.box > div > footer > p > a:hover {
  text-decoration: underline;
}

.main .nice-select.open .list {
  border-radius: 32px;
  max-height: 220px;
  box-shadow: unset;
  margin-left: -2px;
  background: #fff;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: transparent;
  color: #000;
}

/* Left Content - End */

/* Right Content - Start */

.header {
  height: 100px;
}

.header-left {
  justify-content: space-between;
}

.header-right {
  justify-content: space-between;
}

#right-header {
  padding: 3rem;
}

.right {
  background: #f6f6f6;
}
.left-logo-desktop {
  width: 258px;
  height: 86px;
  margin-left: -20px;
  margin-top: -10px;
}

.left-logo--mobile {
  display: none;
  width: 180px;
  height: 204px;
}
.right-logo {
  width: 200px;
  height: 51px;
}

.right-logo img {
  object-fit: cover;
}

nav {
  display: flex;
}

#right-header ul {
  display: flex;
}

#right-header ul li {
  list-style: none;
  font-size: calc(8px + ((8 * 2) / 2) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 500;
}

#right-header ul li a {
  margin-right: 38px;
  text-decoration: none;
  color: rgb(58, 37, 255);
}

.header ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.header-right-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header ul li {
  list-style: none;
  font-size: calc(8px + ((8 * 2) / 2) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 500;
}

.header ul li a {
  margin-right: 38px;
  text-decoration: none;
  color: rgb(58, 37, 255);
}

.recent-news {
  display: flex;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.recent-news--title {
  font-size: var(--title-size);
  color: rgb(207, 208, 209);
  margin: 0;
  white-space: nowrap;
  margin-right: 1rem;
}

.recent-news--see-all {
  font-size: calc(8px + ((8 * 2) / 2) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 400;
  word-spacing: 8px;
  align-self: center;
  padding-left: 0.5rem;
  cursor: pointer;
  color: #111111;
  text-decoration: none;
}

#slider {
  margin-top: 1rem;
  position: relative;
}

.slick-slide {
  display: flex !important;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
  outline: none !important;
}

.slick-slide a {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: #111111;
}

.slick-slide.slick-current.slick-center {
  opacity: 1;
}

.article-text {
  display: flex;
  flex-direction: column;
  margin-left: 2rem;
  width: 62%;
}

.article-date {
  font-size: 14px;
  margin-top: 2rem;
  font-weight: 600;
}

.article-text h2 {
  width: 80%;
  display: flex;
  flex-direction: column;
  font-size: 24px;
  line-height: 1.3;
  margin-top: 1rem;
}

.slick-slider {
  padding: 0 !important;
}
#controlNext {
  position: absolute;
  width: 55px;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 999999;
}

.footer-right .wrapper {
  padding-left: 80px;
  padding-right: 80px;
  width: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgb(58, 37, 255);
}
.footer-right .wrapper p {
  font-size: var(--title-size);
  font-weight: 600;
  margin: 0;
  max-width: 600px;
  color: #ffffff;
}

#donate {
  border: 0;
  border-radius: 100px;
  background: #ffffff;
  color: rgb(58, 37, 255);
  font-size: calc(8px + ((8 * 2) / 2) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 500;
  height: 48px;
  line-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  white-space: nowrap;
}

#close {
  position: absolute;
  right: 8px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 20pt;
  z-index: 10;
  cursor: pointer;
}

.select-wrapper {
  font-size: calc(8px + ((8 * 2) / 2) * ((100vw - 300px) / (1920 - 300)));
  font-weight: 600;
  color: rgb(106, 108, 113);
  display: flex;
  margin-right: 30px;
}

.main > div.left.box > div > div.select-container > div:nth-child(2) > div {
  margin-right: -1.75rem;
}

.select-wrapper a:visited {
  color: rgb(106, 108, 113);
}

.select-wrapper img {
  margin-left: 8px;
}

.list {
  display: inline-block;
  position: relative;
  margin-left: 6px;
  overflow-y: scroll !important;
  max-height: 300px;
}
.list ul {
  text-align: left;
  position: absolute;
  padding: 0;
  top: 0;
  left: 0;
  display: none;
}
.list li {
  list-style: none;
  margin: 8px 0;
}
.list a {
  position: relative;
  text-decoration: none;
}

.list a:hover {
  cursor: pointer;
  text-decoration: underline;
}
.list a:hover:after {
  width: 100%;
}

.placeholder,
.placeholderTwo {
  cursor: pointer;
}

.slider-ratio {
  position: relative;
  width: 38%;
  margin: 0;
  padding: 0;
  min-width: 190px;
  max-width: 500px;
  flex: 1;
}

.img {
  width: 100%;
  height: 0;
  padding-top: 130%;
  position: relative;
}

.img img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#nav {
  position: absolute;
  width: 80px;
  right: 0;
  cursor: pointer;
  z-index: 100;
  display: none;
}

.nav-mobile {
  display: none;
  position: fixed;
  background: rgb(58, 37, 255);
  color: #ffffff;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2147483638;
  transition: all 500ms ease-in-out;
}

.nav span {
  position: absolute;
  top: 0.2rem;
  right: 0.7rem;
  transform: scale(1.25);
  padding: 1rem;
  font-size: 24px;
}

.nav-wrapper {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  line-height: 25px;
  color: #fff;
  margin-top: -32px;
}

.nav-wrapper a,
.nav-wrapper h2 {
  font-size: 40px;
  line-height: 25px;
  color: #fff;
  text-decoration: none;
}

.nav-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  text-align: center;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
}

@media screen and (max-width: 1025px) {
  .recent-news--title {
    margin-bottom: 30px;
  }
  .box {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-right .wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-left {
    padding-left: 20px;
    padding-right: 20px;
    width: 50%;
  }
  #controlNext {
    right: 20px;
  }

  .container-form {
    width: 100%;
  }

  .header ul li a {
    margin-right: 20px;
  }
}

@media screen and (max-width: 800px) {
  #wikiOutput p a {
    margin-left: 20px;
  }
  #nav {
    display: block;
  }
  .header-left {
    padding-top: 150px;
    padding-bottom: 60px;
  }
  #wikiOutput {
    margin-top: -30px;
  }
  .box {
    width: 100%;
    height: auto;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .header-right {
    display: none;
  }
  .container-form {
    margin-top: 0;
    width: 100%;
    min-width: 0;
  }

  .main {
    flex-direction: column;
  }

  #slider,
  #controlNext {
    display: none;
  }

  .header {
    height: auto;
  }

  .footer-right .wrapper {
    position: relative;
    height: auto;
  }
  .don_wrapper {
    flex-direction: column;
    text-align: center;
  }
  .footer-left {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 30px;
    padding-top: 30px;
    font-size: 12px;
  }

  .footer-right .wrapper p {
    margin-left: 0;
    width: 100%;
  }

  #donate {
    margin: 0 auto;
  }
}

@media screen and (max-width: 800px) {
  :root {
    --left-margin: 3rem;
  }

  .footer-right .wrapper p {
    margin-bottom: 30px;
  }

  .footer-left {
    width: 100%;
  }

  .posts-button-wrapper {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 60px;
  }
  .input-wrapper #search {
    font-size: 13px;
    padding-left: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .input-wrapper img {
    right: 20px;
  }

  .select-wrapper {
    margin-right: 0;
    width: auto;
  }
  .show-desktop {
    display: none !important;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-text {
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 24px;
    width: 100%;
  }

  .article-date {
    margin-top: 0;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 2px;
  }

  .article-text h2 {
    color: #6a6c71;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
  }

  .show-mobile {
    display: block;
  }

  .recent-news--see-all--desktop {
    display: none;
  }

  .recent-news--see-all--mobile {
    display: block;
  }

  .footer-right .wrapper {
    width: 100%;
    padding-top: 35px;
    padding-bottom: 35px;
  }
  #rechercher {
    display: none;
  }
  .article:first-child {
    margin-left: -3rem;
  }

  .recent-news--see-all {
    padding-left: 0;
  }

  .recent-news {
    margin: 0;
    margin-top: 30px;
  }
  .left-logo--mobile {
    display: block;
    margin: 0 auto;
  }
  .left-logo-desktop {
    display: none;
  }
  .select-container {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 60px;
    margin-left: 4px;
  }
  .nice-select:after {
    border-color: rgb(58, 37, 255);
  }

  #donate {
    width: 300px;
    font-size: 13px;
  }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-content {
  margin-bottom: 60px;
}
.page-content a {
  color: rgb(58, 37, 255);
}

.page-header {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.page-title {
  margin-top: 30px;
}
