/*!
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Divi Child Theme
Author: Digicom
Author URI: wofbpmo.cluster030.hosting.ovh.net
Template: Divi
*/

.cky-btn {
  padding: 2px 27px !important;
}
.cky-title {
  display: none !important;
}
.cky-consent-container .cky-consent-bar {
  padding: 5px 24px !important;
}
.cky-consent-container {
  z-index: 99999999999 !important;
}
@media screen and (max-width: 479px) {
  .cky-btn {
    padding: 2px 0px !important;
    font-size: 12px !important;
    margin: 0 5px !important;
  }
  .cky-notice-btn-wrapper {
    flex-direction: row !important;
  }
  .cky-notice-des {
    font-size: 11px !important;
  }
  .cky-custom-brand-logo-wrapper,
  .cky-notice .cky-title,
  .cky-notice-des,
  .cky-notice-btn-wrapper {
    padding: 0px !important;
  }
  body.home .et_pb_slider {
    background: white !important;
  }
}

/* HOTFIX ALL LANGAGE CSS*/
@media screen and (max-width: 359px) {
  .cky-notice-des {
    font-size: 10px !important;
    overflow: auto !important;
  }
  .button-test {
    max-width: 90% !important;
    width: 90% !important;
  }
}

@media screen and (max-width: 359px) {
  .button-test {
    max-width: 95% !important;
    width: 95% !important;
  }
  .button-test::before {
    left: 0px !important;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  .cky-btn {
    padding: 2px 0px !important;
    font-size: 12px !important;
    margin: 0 5px !important;
  }
  .cky-notice-btn-wrapper {
    flex-direction: row !important;
  }
  .cky-notice-des {
    font-size: 11px !important;
  }
  .cky-custom-brand-logo-wrapper,
  .cky-notice .cky-title,
  .cky-notice-des,
  .cky-notice-btn-wrapper {
    padding: 0px !important;
  }
  body.home .button-test {
    width: 280px !important;
  }

  #how-it-works .button-test {
    width: 200px !important;
  }

  body.home .et_pb_column:has(.button-test) {
    top: -350px !important;
  }
  .et_pb_text_6_tb_footer {
    left: 0px !important;
    width: 250px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .cky-btn {
    padding: 2px 10px !important;
    font-size: 12px !important;
    margin: 0 5px !important;
  }
  .cky-notice-btn-wrapper {
    flex-direction: row !important;
  }
  .cky-notice-des {
    font-size: 11px !important;
  }
  .cky-custom-brand-logo-wrapper,
  .cky-notice .cky-title,
  .cky-notice-des,
  .cky-notice-btn-wrapper {
    padding: 0px !important;
  }
}

@media screen and (min-width: 981px) and (max-width: 1279px) {
  .button-test {
    width: 350px !important;
    max-width: unset !important;
  }
  #menu-navbar li a {
    font-size: 12px !important;
  }
  .et_pb_row:has(#menu-navbar) {
    width: 90% !important;
  }
  body.home .et_pb_text_3,
  body.home .et_pb_text_5,
  body.home .et_pb_text_7 {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  body.home .et_pb_toggle_title {
    font-size: 15px !important;
  }
  .et_pb_menu_0_tb_footer.et_pb_menu ul li a,
  .et_pb_menu_1_tb_footer.et_pb_menu ul li a {
    font-size: 13px !important;
  }
  .et_pb_menu_0_tb_footer.et_pb_menu .et-menu-nav li a {
    margin-bottom: -60px !important;
  }
  .et_pb_menu_0_tb_footer.et_pb_menu
    .et_pb_column_2_tb_footer
    .et_pb_text_3_tb_footer
    p {
    font-size: 13px !important;
  }
  .et_pb_text_2_tb_footer {
    width: 250px !important;
  }
  .et_pb_text_0_tb_footer:before {
    left: -70px !important;
  }
  .et_pb_text_0_tb_footer:after {
    right: -70px !important;
  }
  #how-it-works .button-test {
    width: 200px !important;
  }
  #how-it-works {
    padding-left: 100px !important;
    padding-right: 100px !important;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1600px) {
  .et_pb_text_2_tb_footer {
    width: 250px !important;
  }
  .et_pb_text_0_tb_footer:before {
    width: 15% !important;
  }
  .et_pb_text_0_tb_footer:after {
    width: 15% !important;
  }
  #how-it-works .button-test {
    width: 200px !important;
  }
  #how-it-works {
    padding-left: 100px !important;
    padding-right: 100px !important;
  }
}

/* Premium Space Account */

.um-account-tab-premium_content .um-col-alt {
  display: none !important;
}

.premium-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.navigation-premium {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: center;
  align-content: center;
  width: 100%;

  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.navigation-premium ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  margin: 0 auto !important;
}

.navigation-premium ul li {
  list-style: none;
  margin-right: 20px;
}

.navigation-premium ul li a {
  color: #4e4e4e;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.navigation-premium ul li a:hover {
  color: #5f6bb0;
}
.navigation-premium ul li a.active {
  color: white;
  background-color: #000000;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}

.section-tests {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  grid-gap: 40px;
}
.section-tests .test-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid #ccc;
  font-family: "Poppins" !important;
}

.test-card .btn {
  background: #000000 !important;
  text-transform: uppercase !important;
  font-family: "Poppins" !important;
  font-weight: 600 !important;
  border-radius: 30px !important;
  margin-top: 5px;
  border: none !important;
}

.premium-content .active-tab {
  display: grid !important;
}
.section-tests {
  display: none;
}
.test-card p {
  margin: unset !important;
  min-height: 70px !important;
}

.premium-content a.btn-primary:focus {
  box-shadow: none !important;
}

.navigation-premium .sub-list {
  display: none !important;
}

.premium-content .pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  flex-direction: row;
  width: 5vw;
  margin-top: 40px;
  justify-content: space-between;
}
.premium-content .pagination a {
  text-decoration: none;
  color: black;
  font-size: 18px;
  font-weight: 400;
}

.premium-content .pagination a.active {
  color: black;
  font-weight: bold;
}

/* ES */

html[lang="es-ES"] .test-card p {
  min-height: 120px !important;
}

/* IT */

html[lang="it-IT"] .test-card p {
  min-height: 120px !important;
}

/* DE */

html[lang="de-DE"] .test-card p {
  min-height: 135px !important;
}

.qmn_results_page .qsm_questions_answers_section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: stretch;
}

.qmn_results_page .qmn_question_answer {
  margin-bottom: 30px;
  max-width: 47%;
  width: 47%;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.3);
  padding: 2% 3% !important;
  border-radius: 30px;
  background: white;
}
.qmn_results_page .result-concat {
  margin-bottom: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
.qmn_results_page .result-concat .texte_result {
  font-weight: bold;
  font-size: 35px;
  text-align: center;
  color: #000000;
  padding-right: 10px;
}

.qmn_results_page .result-concat span {
  color: #5f6bb0;
  font-size: 45px;
}

/* NEW PRICING PAGE RAYAN*/
.flex-double-col {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-top: 100px;
  align-items: flex-start;
}

.flex-double-col .flex-first-col {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  flex: 0 0 25%;
  margin-right: 60px;
  box-shadow: 5px 10px 15px 0px rgba(0, 0, 0, 0.16);
  border-radius: 40px;
  padding: 30px 0;
}
.flex-first-col li {
  list-style: none;
}
.flex-double-col .flex-second-col {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  flex: 1;
  min-height: 60vh;
  max-height: 60vh;
  overflow-x: hidden;
  overflow-y: auto;
}
#lateral-menu {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-right: 30px;
}

.flex-second-col .lateral-menu-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 3px solid black;
  border-width: 0 0 3px 0 !important;
  margin: 10px 0;
  padding-bottom: 10px;
  padding-left: 10px;
}

.flex-double-col img.icon-categ {
  width: 100% !important;
  height: 100% !important;
  max-width: unset !important;
}

.flex-double-col p {
  font-weight: 300;
  width: fit-content;
}
.flex-second-col .lateral-menu-item div:has(span) {
  display: block;
  width: 25%;
}
.flex-second-col .lateral-menu-item div:has(p) {
  display: block;
  width: 60%;
}
.flex-second-col .lateral-menu-item div:has(img) {
  display: block;
  width: 40px !important;
  max-width: 40px !important;
}
.flex-second-col .lateral-menu-item div img {
  width: 100% !important;
  height: 100% !important;
}
.sub-menu-items {
  margin: 20px auto;
  max-width: 80%;
}
.sub-menu-items button {
  background: unset;
  border: unset;
  text-align: left;
  width: 100%;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
}
.activeCateg button {
  color: black;
  font-weight: 500 !important;
}

.flex-second-col::-webkit-scrollbar {
  width: 10px;
}
.flex-second-col::-webkit-scrollbar-thumb {
  background-color: black;
  border-radius: 60px;
}
.flex-second-col::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  border-radius: 60px;
}
.flex-first-col-mobile {
  display: none;
  margin-bottom: 50px;
}
/* Styles pour le select personnalisé */
.custom-select {
  position: relative;
  width: 100%; /* ajustez la largeur selon vos besoins */
}

.select-styled {
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #fff;
  cursor: pointer;
  box-shadow: 5px 10px 15px 0px rgba(0, 0, 0, 0.16);
  border-color: transparent !important;
  padding: 20px 30px;
}

.select-styled::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px; /* ajustez cette valeur pour positionner la flèche */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 7px 0 7px;
  border-color: #646ecb transparent transparent transparent;
}

.select-styled:hover {
  border-color: #646ecb;
}

.select-styled:focus {
  border-color: #66afe9;
}

.select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0;
  margin: 0;
  list-style: none;
  border: none;
  box-shadow: 5px 10px 15px 0px rgba(0, 0, 0, 0.16);
  border-radius: 0 0px 20px 20px;
}

.select-options li {
  padding: 8px 20px;
  font-size: 16px;
}

.select-options li:hover {
  background-color: #f4f4f4; /* changer la couleur au survol */
  color: #333; /* changer la couleur du texte au survol */
}
.flex-first-col-mobile li {
  list-style: none;
}
.select-styled.open {
  border-radius: 20px 20px 0 0 !important;
}
/* Styles pour le select personnalisé lorsque les options sont ouvertes */
.select-styled.open::after {
  transform: translateY(-50%) rotate(180deg); /* Inversion de la flèche */
}
/* Max width 479 px*/
@media screen and (max-width: 499px) {
  .premium-content .active-tab {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    max-width: 80%;
  }
  .premium-content {
    margin-top: 30px !important;
  }
  .premium-content .pagination {
    width: 30% !important;
  }
  .flex-double-col {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .flex-first-col-mobile {
    display: block !important;
    width: 100% !important;
  }
  .flex-first-col {
    display: none !important;
  }
  .flex-double-col {
    margin-top: 50px !important;
  }
  .flex-second-col .lateral-menu-item {
    flex-wrap: wrap !important;
  }
  .flex-second-col .lateral-menu-item div:has(p) {
    width: 100% !important;
  }
  .flex-second-col .lateral-menu-item div:has(span) {
    width: 70% !important;
    margin-bottom: 20px !important;
  }
}
@media screen and (min-width: 480px) and (max-width: 767px) {
  .flex-double-col {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .flex-first-col-mobile {
    display: block !important;
    width: 100% !important;
  }
  .flex-first-col {
    display: none !important;
  }
  .flex-double-col {
    margin-top: 50px !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 980px) {
  .flex-double-col {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .flex-first-col-mobile {
    display: block !important;
    width: 60% !important;
  }
  .flex-first-col {
    display: none !important;
  }
  .flex-double-col {
    margin-top: 50px !important;
  }
}
