/*!
Theme Name: Raliance E-learning (kadence child)
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: ACS Digital Media
Author URI: https://www.acs-digital.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: ralaince-elearning
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/*Video Wrapper*/
.videoWrapper,
.courseWrapper { 
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.videoWrapper iframe, 
.courseWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*Lesson layout*/
.wpProQuiz_question_text {
    font-size: 1.2em;
}

/* Resources Page */
.learndash-wrap .caption h3 {
    font-size: 25px;
    line-height: 1.2;
}

.um-account-profile-link,
.um-account-meta-img {
    display: none;
}

/* Desktop */
h2.entry-title {
  font-size: 1.6471rem; /* 28px / 17px = 1.6471rem */
}

/* Tablet */
@media screen and (max-width: 768px) {
  h2.entry-title {
    font-size: 1.5294rem; /* 26px / 17px = 1.5294rem */
  }
}

/* Mobile */
@media screen and (max-width: 480px) {
  h2.entry-title {
    font-size: 1.2941rem; /* 22px / 17px = 1.2941rem */
  }
}


/*ultimate member color overrides*/
/* Link colors */
.um a.um-link,
.um .um-tip:hover,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-member-name a:hover,
.um .um-member-more a:hover,
.um .um-member-less a:hover,
.um .um-members-pagi a:hover,
.um .um-cover-add:hover,
.um .um-profile-subnav a.active,
.um .um-item-meta a,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color
{
    color: var(--global-palette-btn-bg) !important;
}

.um a.um-link:hover,
.um a.um-link-hvr:hover {
    color: var(--global-palette-btn-bg-hover) !important;
}

/* Button colors */
.um .um-field-group-head,
.picker__box,
.picker__nav--prev:hover,
.picker__nav--next:hover,
.um .um-members-pagi span.current,
.um .um-members-pagi span.current:hover,
.um .um-profile-nav-item.active a,
.um .um-profile-nav-item.active a:hover,
.upload,
.um-modal-header,
.um-modal-btn,
.um-modal-btn.disabled,
.um-modal-btn.disabled:hover,
div.uimob800 .um-account-side li a.current,
div.uimob800 .um-account-side li a.current:hover,
.um .um-button,
.um a.um-button,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active,
.um input[type=submit].um-button,
.um input[type=submit].um-button:focus,
.um input[type=submit]:disabled:hover
{
    background: var(--global-palette-btn-bg) !important;
}

.um .um-field-group-head:hover,
.picker__footer,
.picker__header,
.picker__day--infocus:hover,
.picker__day--outfocus:hover,
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted,
.picker__list-item:hover,
.picker__list-item--highlighted:hover,
.picker--focused .picker__list-item--highlighted,
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker--focused .picker__list-item--selected,
.um .um-button:hover,
.um a.um-button:hover,
.um input[type=submit].um-button:hover{
    background: var(--global-palette-btn-bg-hover) !important;
}

/* Button alt colors */
.um .um-button.um-alt, 
.um input[type=submit].um-button.um-alt {
    background: #eeeeee !important;
}

.um .um-button.um-alt:hover,
.um input[type=submit].um-button.um-alt:hover {
    background: #e5e5e5 !important;	
}