/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

div.ld-brand-logo img {
  border-radius: 0;
}

div.ld-brand-logo img:hover {
  border-radius: 0;
}

.learndash-wrapper-login-modal.ld-modal-open {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000000ad;
  z-index: 99999;
}

#ld-login-modal {
  border-radius: 10px;
  max-width: 600px;

  .ld-login-modal-wrapper {
    padding: 0;
  }

  .ld-modal-closer {
    padding: 20px;
    top: 0;
    margin: 0;
  }

  .ld-modal-closer:before {
    font-size: 30px;
  }

  .ld-modal-heading {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 600;
    color: var(--e-global-color-text) !important;
  }

  #wp-submit {
    border-radius: 10px;
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
  }

  .ld-forgot-password-link,
  p.login-remember label,
  p.login-username label,
  p.login-password label {
    font-size: 16px;
    font-weight: 400;
  }

  p.login-username:before,
  p.login-password:before {
    top: 2.2em;
  }

  #user_login,
  #user_pass {
    border: 0;
    border-radius: 10px;
    background-coor: var(--e-global-color-98eb521);
    padding: 10px 10px 10px 30px;
  }

  .ld-alert-warning {
    border: 0;
    border-radius: 10px;
    padding-left: 80px;
  }

  .ld-login-modal-branding {
    display: none;
  }
}

#gt_float_wrapper {
  left: 8px !important;
  bottom: 0 !important;

  .gt_float_switcher {
    border-radius: 10px !important;
    border-left: 3px solid var(--e-global-color-f31245f);

    img {
      border-radius: 2px !important;
      width: 20px !important;
    }

    .gt_options a:hover {
      background: var(--e-global-color-98eb521) !important;
      color: var(--e-global-color-text) !important;
    }

    .gt-lang-code {
      font-size: 16px;
    }

    .gt-current-lang {
      padding: 5px 15px;
    }
  }
}

.single-sfwd-topic .learndash-wrapper--topic,
.single-sfwd-lessons .learndash-wrapper--lesson,
.single-sfwd-quiz .learndash-wrapper--quiz {
  .ld-topic-status {
    display: none;
  }

  .ld-focus-content {
    max-width: none !important;
    animation: entraSuau 0.8s ease-out forwards;
  }

  #ld-focus-content h1 {
    margin-bottom: 40px;
    margin-top: 20px;
    font-size: 32px;
    text-transform: none;
  }

  .ld-breadcrumbs {
    border-radius: 10px !important;
  }

  .ld-course-step-back {
    font-size: 16px !important;
  }

  .ld-content-action .ld-course-step-back {
    display: none !important;
  }

  .learndash-wrapper--topic .ld-content-action .ld-button,
  .learndash-wrapper--lesson .ld-content-action .ld-button,
  .learndash-wrapper--quiz .ld-content-action .ld-button,
  .ld-quiz-actions #quiz_continue_link,
  input.wpProQuiz_button {
    border-radius: 10px;
    color: white !important;
    font-weight: 600;
    font-size: 14px;
  }

  #ld-focus-header a.ld-button {
    font-weight: 400;
    font-size: 16px;
  }

  #ld-focus-header a.ld-button:hover {
    outline: none;
  }

  #ld-focus-header .ld-content-actions {
    display: none;
  }

  button.ld-presenter-mode__button {
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
  }

  button.ld-expand-button {
    font-size: 14px;
  }

  button.ld-expand-button span.ld-icon:before {
    margin: 0;
    color: white;
    font-size: 10px;
    display: block;
    line-height: 1.6;
    width: auto;
  }

  button.ld-expand-button:focus {
    outline: none;
  }

  a.ld-lesson-item-preview-heading {
    align-items: flex-start;
  }

  div.ld-status-icon {
    /* width: auto;
        height: auto;
        padding: 5px 3px; */

    span.ld-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
    }

    span.ld-icon:before {
      position: relative;
      transform: none;
      top: 0;
      left: 0;
    }
  }

  .ld-focus-sidebar-trigger span.ld-icon {
    padding: 10px 8px !important;
  }

  div.ld-lesson-title {
    font-size: 16px !important;
  }

  .ld-user-menu .ld-user-menu-items a:first-child {
    border-radius: 10px 10px 0 0;
  }

  .ld-user-menu .ld-user-menu-items a:last-child {
    border-radius: 0 0 10px 10px;
  }

  .ld-user-menu .ld-user-menu-items a:hover {
    opacity: 1 !important;
  }

  .wpProQuiz_questionList label.is-selected {
    border-color: var(--e-global-color-ef2ff9e) !important;
  }

  .wpProQuiz_questionListItem label,
  .wpProQuiz_questionListItem textarea {
    border-radius: 10px !important;
  }

  .wpProQuiz_points {
    border-radius: 10px !important;
  }

  .ld-alert a.ld-button {
    border-radius: 10px;
    color: white !important;
    font-weight: 600;
    font-size: 14px;
  }

  .ld-alert:focus-visible {
    outline: none;
  }

  .ld-alert.ld-alert-warning {
    background-color: none;
    border-color: var(--e-global-color-ef2ff9e);
    background-color: white;
  }

  .ld-alert.ld-alert-warning .ld-alert-icon {
    font-size: 30px;
    background-color: var(--e-global-color-98eb521);
  }

  .ld-alert.ld-alert-warning .ld-alert-icon:before {
    color: var(--e-global-color-ef2ff9e);
  }

  .learndash_mark_complete_button {
    outline: none !important;
    border-radius: 10px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 14px !important;
  }
}

@media (max-width: 450px) {
  .single-sfwd-topic .learndash-wrapper--topic,
  .single-sfwd-lessons .learndash-wrapper--lesson,
  .single-sfwd-quiz .learndash-wrapper--quiz {
    .ld-focus-content {
      margin: 0 !important;
      padding: 5% !important;

      h1 {
        font-size: 26px !important;
        margin-bottom: 30px !important;
        margin-top: 0 !important;
      }

      .ld-content-action {
        padding: 0 !important;

        a.ld-button,
        form.sfwd-mark-complete {
          margin-bottom: 20px;
        }

        input[type="submit"] {
          text-align: center;
        }

        form.sfwd-mark-complete:after {
          content: "";
        }
      }
    }

    .ld-focus-header .ld-content-action a.ld-button {
      padding: 0;
    }

    button.ld-trigger-mobile-nav {
      outline: none !important;
    }
  }
}

@keyframes entraSuau {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
