/*
Theme Name: Edumall Child
Theme URI: https://edumall.thememove.com/
Author: ThemeMove
Author URI: https://thememove.com/
Version: 1.0.0
Template: edumall
Text Domain:  edumall-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/


/* Custom adjustments */

/* Move scroll-up button above chatbot */
#page-scroll-up {
    bottom: 140px !important;
    right: 20px !important;
    position: fixed !important;
    z-index: 9998 !important;
}

/* Enlarge dashboard avatar */
.tutor-dashboard-header-avatar img {
    width: 150px !important;
    height: 150px !important;
}

/* Custom user avatar size */
#custom-user-avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: inline-block !important;
}



/* Fix dropdown position below larger avatar */
#custom-user-dropdown {
  top: 70px !important;
}

/* Fix dashboard popup position */
#dashboard-popup {
  top: 10px !important;
  left: 70px !important;
}


/* Apply Almarai font for Arabic language globally 
body *:lang(ar):not(i):not(svg):not(use):not([class*="icon"]):not([class*="fa"]) {
  font-family: 'Almarai', sans-serif !important;
}


:lang(ar) p,
:lang(ar) span,
:lang(ar) div,
:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3,
:lang(ar) h4,
:lang(ar) h5,
:lang(ar) h6,
:lang(ar) li,
:lang(ar) a,
:lang(ar) strong,
:lang(ar) em,
:lang(ar) td,
:lang(ar) th,
:lang(ar) label {
  font-family: 'Almarai', sans-serif !important;
}
*/
:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3,
:lang(ar) h4,
:lang(ar) h5,
:lang(ar) h6,
:lang(ar) p,
:lang(ar) a,
:lang(ar) li {
  font-family: 'Almarai', sans-serif !important;
}

:lang(ru) h1,
:lang(ru) h2,
:lang(ru) h3,
:lang(ru) h4,
:lang(ru) h5,
:lang(ru) h6,
:lang(ru) p,
:lang(ru) a,
:lang(ru) li {
  font-family: 'PT Sans', sans-serif !important;
}

:lang(uk) h1,
:lang(uk) h2,
:lang(uk) h3,
:lang(uk) h4,
:lang(uk) h5,
:lang(uk) h6,
:lang(uk) p,
:lang(uk) a,
:lang(uk) li {
  font-family: 'PT Sans', sans-serif !important;
}


/* Currency switcher compact styling */
.wcml_currency_switcher {
  display: inline-block;
  width: auto;
  max-width: fit-content;
  margin: 0;
  padding: 0;
}

/* Toggle (current currency shown) */
.wcml-cs-item-toggle {
  font-size: 15px !important;
  padding: 3px 8px;
  display: inline-block;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}

/* Submenu dropdown styling */
.wcml-cs-submenu {
  min-width: 100px !important;
  width: max-content !important;
}

/* Active currency (inside toggle) */
.wcml-cs-active-currency {
  max-width: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

/* Remove borders and shadows */
.wcml-dropdown,
.wcml-dropdown * {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Submenu text */
.wcml-cs-submenu a {
  font-size: 15px !important;
}

/*line under the current currency*/
.wcml-cs-item-toggle {
  border-bottom: 1px solid #ccc !important;
}

/* hiding the social links on each course, because they cannot be edited */
.tutor-social-share-wrap {
    display: none !important;
}

