/**
Theme Name: Kadence Child
Author: Amr
Author URI: https://a3k.me
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child
Template: kadence
Requires at least: 6.3
Tested up to: 6.7
Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/

@font-face {
  font-family: "Questv1";
  src: url("/wp-content/themes/child-theme/fonts/Questv1-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "kommon";
  src: url("/wp-content/themes/child-theme/fonts/kommon-grotesk-extrabold.woff2")
    format("woff2");
  font-weight: 800;
  font-style: normal;
}

:root {
  --global-body-font-family: Questv1, kommon, sans-serif;

  --tutor-color-primary: #3f65ef;
  --tutor-color-primary-rgb: 63 101 239;
  --tutor-color-primary-hover: #4364da;
  --tutor-color-primary-hover-rgb: 67 100 218;
  --tutor-body-color: #f1f2fc;
  --tutor-body-color-rgb: 241 242 252;
  --tutor-border-color: #4a4a4a;
  --tutor-border-color-rgb: 76 76 76;
  --tutor-color-gray: #2e2e2e;
  --tutor-color-gray-rgb: 46 46 46;
  --tutor-color-white: #0c0b0b;
  --tutor-color-secondary: #fcf0d0;
  --tutor-color-subdued: #5b616f;
  --tutor-color-hints: #767c8e;
  --tutor-color-muted: #757c8e;
  --tutor-color-gray-10: #444444;
}

*::selection {
  color: var(--global-palette7);
  background-color: var(--global-palette1);
}

a.header-cta {
  text-decoration: none !important;
  padding: 0.3lh 2ch;
  border-radius: 8px;
  background-color: var(--global-palette7);
  color: var(--global-palette1);
  transition: all 150ms linear;
  font-size: 1.125rem;

  &:hover {
    background-color: var(--global-palette9);
    color: var(--global-palette3);
  }
}

.tutor-card,
.tutor-card-body,
.tutor-course-details-instructors,
.tutor-course-details-widget,
.tutor-course-details-widget,
.tutor-modal-content,
.tutor-alert {
  background-color: var(--global-palette3) !important;
}

div:has(> .tutor-nav) {
  background-color: var(--global-palette3) !important;
}

.tutor-accordion-item {
  background-color: var(--global-palette3) !important;

  & > * {
    background-color: var(--global-palette3) !important;

    & li {
      background-color: var(--global-palette3) !important;
    }
  }
}

.tutor-color-secondary {
  color: var(--tutor-color-secondary);
}

.tutor-course-single-sidebar-wrapper {
  background-color: var(--global-palette1);

  & > .tutor-course-single-sidebar-title {
    background-color: var(--global-palette3);

    & > span {
      color: var(--global-palette9);
    }
  }

  & > .tutor-course-topic {
    & > .tutor-accordion-item-header {
      background-color: var(--global-palette3);
      color: var(--global-palette9);

      &::after {
        color: var(--global-palette6);
      }

      &.is-active {
        background-color: var(--global-palette1);

        &::after {
          color: var(--global-palette8);
        }
      }
    }

    & > .tutor-accordion-item-body {
      background-color: var(--global-palette3);

      & > .tutor-course-topic-item {
        &.is-active {
          & > a {
            background-color: var(--global-palette1);

            & > div {
              & > span {
                color: var(--global-palette7);
              }
            }
          }
        }

        & > a {
          background-color: var(--global-palette3);

          & > div {
            & > span {
              color: var(--global-palette8);
            }
          }

          &:hover {
            & > div {
              & > span {
                &.tutor-course-topic-item-icon {
                  color: var(--global-palette7);
                }
              }
            }
          }
        }
      }
    }
  }
}

.tutor-reviews {
  & > .tutor-review-list-item {
    background-color: var(--global-palette3) !important;
    & > .tutor-row {
      & > div:last-child {
        & > div:first-child {
          right: auto !important;
          left: 15px !important;
        }
      }
    }
  }
}

.tutor-topbar-complete-btn {
  & button {
    color: var(--global-palette9) !important;
    border-color: var(--global-palette9) !important;
  }
}

.tutor-course-topic-single-header.tutor-single-page-top-bar,
.tutor-btn.tutor-btn-secondary:not([disabled="disabled"]) {
  color: var(--global-palette9) !important;
}

.tutor-course-topic-single-header {
  background-color: var(--global-palette3) !important;
}

.tutor-table tr {
  & th,
  td {
    background-color: transparent !important;
  }
}

.tutor-wrap {
  background-color: var(--global-palette3);
  border-radius: 1rem;
  padding-block: 1rem;

  &:has(> .tutor-login-wrap) {
    min-height: 100dvh;
    display: grid;
    place-items: center;
  }
}

#tutor-registration-wrap {
  color: var(--global-palette3);

  & label {
    text-align: right;
  }
}

footer {
  & .footer-box {
    position: relative;
    display: grid;
    place-items: center;
    padding: 1rem 4rem;
    /* background-color: #151515;
    border: 1px solid #282828;
    border-radius: 16px; */
  }

  & nav#footer-navigation {
    & ul#footer-menu {
      flex-direction: column;

      & > li {
        & > a {
          white-space: nowrap;
          color: var(--global-palette9);

          &:hover {
            color: var(--global-palette7);
          }
        }
      }
    }
  }

  & .site-footer-row.site-middle-footer-inner-wrap {
    & .site-footer-middle-section-3 {
      background-color: #151515;
      border: 1px solid #282828;
      border-radius: 16px;

      & section.widget {
        & > .wp-block-uagb-container {
          max-width: 100%;
        }
      }
    }
  }
}

#wa-fixed-btn {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  z-index: 99;
  animation: bg-pulse 3s ease-in-out both infinite;

  & > img {
    width: 250px;
  }
}

@media screen and (width < 600px) {
  #wa-fixed-btn {
    & > img {
      width: 180px;
    }
  }
}

@keyframes bg-pulse {
  0%,
  100% {
    filter: drop-shadow(0px 0px 30px var(--global-palette1));
  }
  50% {
    filter: drop-shadow(0px 0px 15px var(--global-palette1));
  }
}
