/*
Theme Name: Clever Course Child
Theme URI: http://themes.goodlayers.com/clevercourse-child
Description: Clever Course Child Wordpress Theme
Author: Goodlayers
Author URI: http://www.goodlayers.com
Template: clevercourse 
Version: 2.2.9
License: 
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, yellow, two-columns, fluid-layout, custom-background, custom-colors, featured-images, theme-options
Text Domain: gdlr_translate_child
*/

table#pmpro_levels_table strong {
  text-transform: capitalize;
}

.swpm_full_page_protection_not_logged_msg {
  margin: 5% 0px;
}

.swpm-login-widget,
.swpm-registration-widget-form {
  display: flex;
  flex-flow: row wrap;
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  padding: 30px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 30px 7px;
}

.swpm-login-widget>*:not(.swpm-edit-profile-link):not(.swpm-logged-logout-link),
.swpm-registration-widget-form {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  width: 100%;
  padding: 5px 0;
  border-bottom: 1px solid grey;
}

.swpm-login-widget,
.swpm-registration-widget-form {
  display: flex;
  flex: 0 0 50%;
  width: 50%;
  margin-top: 30px;
  padding-right: 10px;
  padding-left: 10px;
}

.swpm-login-widget a {
  display: inline-block;
  flex-grow: 1;
  text-align: center;
  text-decoration: none !important;
}

.swpm-login-submit,
.swpm-pw-reset-submit-button {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

input.swpm-login-form-submit {
  font-size: 1rem;
}

.swpm-username-input,
.swpm-password-input {
  margin-bottom: 15px;
}

#swpm-login-form,
#swpm-pw-reset-form {
  display: block;
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
  padding: 30px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 30px #00000012;
}

.swpm-label,
.swpm_label {
  font-size: 16px;
  font-style: normal;
  display: block;
  margin-bottom: 4px;
  text-align: left;
  font-weight: bold;
  color: #00968f;
}

input[type="submit"].swpm-login-form-submit,
input[type="submit"].swpm-pw-reset-submit,
input[type="submit"].swpm-registration-submit {
  font-size: 1rem;
  padding-right: 40px;
  padding-left: 40px;
  border-radius: 5px;
}

.swpm-registration-submit,
.swpm-edit-profile-submit,
.swpm-pw-reset-submit {
  width: 100%;
}

.swpm-forgot-pass-link,
.swpm-join-us-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  color: #00968f !important;
}

.swpm-login-form-pw-reset-link {
  color: #00968f !important;
}

.swpm-forgot-pass-link #forgot_pass {
  font-weight: bold;
  text-decoration: none;
  opacity: 0.7;
}

a.swpm-login-form-register-link {
  padding: 5px 12px;
  text-decoration: none !important;
  opacity: 0.7;
  border: 1px solid;
  border-radius: 5px;
}

a.swpm-login-form-register-link {
  padding: 5px 12px;
  text-decoration: none !important;
  opacity: 0.7;
  border: 1px solid;
  border-radius: 5px;
  color: #00968f !important;
  border-color: #00968f !important;
}

a.swpm-login-form-register-link:hover {
  color: white !important;
  border-color: #00968f !important;
  background: #00968f !important;
}

.swpm-login-form-submit:hover {
  cursor: pointer !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea {
  background: #f9f9f9 !important;
}

.swpm-login-action-msg {
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
  border-radius: 5px;
}

.swpm-login-widget-form input[type="text"],
.swpm-login-widget-form input[type="password"] {
  width: 100%;
  background: #fbfbfb !important;
}

.swpm-login-form-submit,
.stripe-button-el span,
.stripe-button-el {
  background: #00968f !important;
  opacity: 0.7 !important;
}

.swpm-login-form-register-link:hover,
.swpm-forgot-pass-link #forgot_pass:hover,
.swpm-login-form-submit:hover,
.stripe-button-el:hover {
  opacity: 1 !important;
}

.msg_form_widget_login_form {
  text-align: center !important;
}

.msg_permission_denied {
  color: #00968f;
  text-align: center !important;
  font-weight: bold;
}

.swpm-stripe-buy-now-wrapper {
  text-align: center;
}

.stripe-button-el span {
  color: white !important;
  opacity: 1 !important;
}

.swpm-registration-widget-form td {
  text-align: left !important;
  font-weight: bold;
}

.swpm-registration-membership-level-row td:nth-child(2) {
  text-align: center !important;
  font-size: 1.5em;
  color: #00968f;
}

.swpm-registration-submit-section {
  text-align: center !important;
  margin: 0 auto;
}

.swpm-payment-button {
  margin-bottom: 10%;
}

.required {
  color: red;
}

.wt-cli-ckyes-brand-logo {
  display: none;
}

#wt-cli-privacy-save-btn {
  background: #00968f;
  border-radius: 5px;
}

.cli-plugin-button {
  border-radius: 5px;
}

.gdlr-skin-green-twitter {
  display: none;
}

.cli-switch input:checked+.cli-slider {
  background-color: #00968f;
}

.mailster-submit-wrapper .submit-button {
  width: 100% !important;
}

.swpm_mda_listing-search-field {
  max-width: 80% !important;
  margin: auto;
}

.input.swpm_mda_search-input {
  width: 100%;
}

.swpm_mda_listing-search-submit {
  max-width: 80%;
  margin: auto;
}

.input.swpm_mda_search-button {
  width: 100%;
}

.page-id-4650 table.style-1 th,
.page-id-4650 table.style-1 tr,
.page-id-4650 table.style-1 td {
  vertical-align: middle !important;
  margin: auto !important;
}

.page-id-4650 table.style-1 {
  max-width: 70% !important;
  width: 70% !important;
  margin: auto !important;
}

.gdlr-styled-box-body {
  background-color: transparent !important;
}

.gdlr-lms-course-info-author-image,
.gdlr-lms-info.gdlr-lms-info-instructor,
.gdlr-lms-info.gdlr-lms-info-type {
  display: none !important;
}

body.is-iframe .gdlr-header-wrapper {
  display: none !important;
}

body.is-iframe .footer-wrapper {
  display: none !important;
}

body.is-iframe #cookie-law-info-bar {
  visibility: hidden !important;
}

body.is-iframe #cookie-law-info-again {
  visibility: hidden !important;
}

html.is-iframe .gdlr-header-wrapper {
  display: none !important;
}

html.is-iframe .footer-wrapper {
  display: none !important;
}

html.is-iframe #cookie-law-info-bar {
  visibility: hidden !important;
}

html.is-iframe #cookie-law-info-again {
  visibility: hidden !important;
}

.actualite {
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
}

.bloc-link {
  font-weight: bold;
  text-align: center;
  height: 300px !important;
  background-color: #00968f;
  color: white;
  line-height: 300px;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 20px;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.bloc-link:hover {
  background-color: #999;
  color: white;
  text-decoration: none;
}

.ect-event-url {
  color: #292929 !important;
}

div[id^="event-"] span.ect-date-viewport {
  background-color: #00968f;
  color: white !important;
  margin-top: -1px;
}

.ect-list-posts.style-2 {
  width: 80% !important;
  margin: 50px auto !important;
}

/* NAVBAR*/
ul#menu-main-menu-1 li.menu-item {
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}
ul#menu-main-menu-1 li.menu-item:hover {
  transform: scale(1.05);
  color: #000000 !important;
}

/* CARDS FORMATION */
#content-section-2 .gdlr-lms-course-content {
  background-color: #f5f5f5;
  padding: 26px 25px;
  border-bottom: 2px solid #95e0da;
}
#content-section-2 .gdlr-lms-course-info span.tail {
  color: #292929
}

.gdlr-custom-login-page .hr-login hr{
	display:block !important;
	opacity: .75;
}

.gdlr-custom-login-page .hr-login {
	margin: auto
}

html {
	width:100%
}

/* ========================================
   ALIGNEMENT DES LOGOS - DESKTOP
   ======================================== */
.gdlr-logo > a {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gdlr-logo img {
    max-width: 200px;
    height: auto;
}

#logoQualiopi {
    max-width: 150px;
}

/* ========================================
   RESPONSIVE - MOBILE (max 767px)
   ======================================== */
@media screen and (max-width: 767px) {
    
    /* Container logo */
    .gdlr-logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative !important;
    }
    
    /* Lien contenant les logos */
    .gdlr-logo > a {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        flex-wrap: wrap;
        max-width: calc(100% - 60px);
    }
    
    /* Tous les logos plus petits sur mobile */
    .gdlr-logo img {
        max-width: 120px !important;
        height: auto !important;
    }
    
    /* Logo Qualiopi encore plus petit */
    #logoQualiopi {
        max-width: 80px !important;
    }
    
    /* Positionnement du menu hamburger */
    .gdlr-responsive-navigation {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 999 !important;
    }
}

/* ========================================
   TABLETTE (768px - 1024px) - Optionnel
   ======================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .gdlr-logo img {
        max-width: 160px;
    }
    
    #logoQualiopi {
        max-width: 120px;
    }
}