/*
 Theme Name:     WP Bootstrap Starter Child Theme
 Theme URI:      https://wordpress.org/themes/wp-bootstrap-starter/
 Description:    A child theme of WPBS Theme
 Author:         Afterimage Designs
 Author URI:     https://afterimagedesigns.com/
 Template:       wp-bootstrap-starter
 Version:        1.4
*/


/****************************************
*** Theme customization starts below ***
*****************************************/

/* General */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 .h6 {font-weight: 700;}
h6, .h6 {font-size:1.1rem;}
h2 {color:#4b87c7;}
p a {font-weight: 700;}
a {color: #4b87c7;}
a:hover {color: #414042; text-decoration: underline;}
aside {border-top: 1px solid #eaecef; padding-top: 20px; margin-top: 2.2rem;}
.hide {display:none;}
.grey-box {padding:20px; background-color:#f0f3f6; margin-bottom:2.2rem;}
h1.entry-title {font-family:"Nunito Sans"; color: #4b87c7; font-weight: 700; font-size: 2rem;}
a img:hover {opacity:.85 !important;}
.text-blue {color:#4b87c7;}
.text-mustard {color:#D97D33;}
p.text-mustard a {color:#D97D33;}
p.text-mustard a:hover {color:#212529;}
h4.text-mustard a {color:#D97D33;text-decoration:none;}
h4.text-mustard a:hover {color:#212529;}
.text-small {font-size:.75rem;}
.text-white {color:#fff;}
.text-white a {color:#fff; text-decoration:underline;}
.text-white a:hover {color:#fff; text-decoration:none;}
hr {color:#eaecef;}
aside {border-top: 1px solid #eaecef;}
.sponsored-title {background-color:#f0f3f6;padding:.5rem;}
.sponsored-title h3.widget-title {font-size:.75rem;font-weight:normal;font-style:italic;}
figcaption {font-size: .7rem !important; text-align: center !important;}
.text-purple {color:#55539e;}

/* Top Bar Links */
p.top-bar-links {text-align:right; margin-bottom:-10px; padding-top:10px;}
p.top-bar-links a {font-weight:400; color:#999; font-size:.8rem;}
p.top-bar-links a:hover {color:#4b87c7;}
	
/* Header */
header#masthead {background-color: #fff; box-shadow: none;}
.navbar-brand img {width: 320px;}
#content.site-content {padding-bottom: 2rem; padding-top: .5rem;}
.home .entry-content {margin:0;}

/* Navigation */
.navbar-toggler {border: none; font-weight: 700; padding-top: 1rem;}
.navbar-toggler-text {display: inline-block; vertical-align: middle;}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {color: #4b87c7; padding: 0.5rem; font-weight: 700; font-size: 1rem;}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {color: #212529; font-weight: 700;}
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {color: #212529; font-weight: 700;}
#main-nav {margin-top:20px;}
.dropdown-menu {min-width: 20rem; color: #212529; border-radius:0;}
.dropdown-item:hover {color:#4b87c7;}
.navigation.post-navigation {display:none;}

/* Custom Login + Regsitration */
.user-registration-Button, .custom-registration-button {background-color: #4b87c7; color: #fff; font-weight:700;}
.user-registration-Button:hover {color: #212529;}
.ur-frontend-form .ur-button-container .ur-submit-button {margin-left: initial; border-radius: 0; padding: 10px 50px;}
.password-input-group {width:100%; }
.ur-frontend-form.login input[name=rememberme]#rememberme {margin-left: 20px;}
.ur-frontend-form input[type=submit] {padding: 10px 50px;}
.ur-frontend-form .ur-form-row .ur-form-grid input[type=text], .ur-frontend-form .ur-form-row .ur-form-grid input[type=password], .ur-frontend-form .ur-form-row .ur-form-grid input[type=email] {border: 1px solid #dee0e9; padding: 0 10px;}
.ur-frontend-form .ur-form-row .ur-form-grid select {padding-left: 10px;}
.ur-frontend-form .register #node_recaptcha_register {padding: 0 5px;}
.ur-frontend-form .ur-button-container {padding: 0 5px;}
.custom-registration-form-css #verified_field {display:none;}
/* .user-registration-account #user-registration, .user-registration-account aside {display:none;} */
.ur-form-row span.input-wrapper {padding-left: 10px;}
.ur-form-grid .form-row {margin-right:0; margin-left:0;}
.ur-frontend-form.login input[name=rememberme]#rememberme {margin-left:0;}
.ur-frontend-form .description {min-width: 100%;}
#user-registration, #user-registration.horizontal {box-shadow: none;}

/* Home page */
.home .entry-header {display:none;}
.home p a em {font-size: .8rem; font-weight: 400; line-height: 1; color: #212529; text-decoration:underline;}
.home p a em:hover {color: #4b87c7;}
h2.sub-link {margin-bottom: 0; line-height: 1; padding-bottom: 0;}

.ld-course-list-items .ld_course_grid .thumbnail.course {height: 100%; background-color: #e8e8e8; border: none; border-radius: 0;}
.ld-course-list-items .ld_course_grid .entry-title {padding-bottom:50px;}
.ld_course_grid_button {position: absolute; bottom: 10px; left: 0;}
.ld-course-list-items .ld_course_grid .btn {border: none; border-radius: 0;}
.ld-course-list-items .ld_course_grid .ld_course_grid_button a {margin:0 10px; width:70%;}
.ld-course-list-items .ld_course_grid .btn-primary:hover {background-color: #4b87c7; opacity: .85;}

/* LearnDash Elements */
.learndash-wrapper .ld-status {border-radius: 0;}
.learndash-wrapper .btn-join, .learndash-wrapper #btn-join {border-radius: 0;}
.learndash-wrapper .btn-join:hover, .learndash-wrapper #btn-join:hover {opacity: .85;}
.learndash-wrapper .ld-breadcrumbs {border-radius: 0;}
.learndash-wrapper .ld-table-list {border-radius: 0;}
.learndash-wrapper .ld-button {border-radius: 0;}
.learndash-wrapper .ld-expand-button {border-radius: 0;}
.learndash-wrapper .ld-item-list .ld-item-list-item {border-radius: 0;}
.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-status-icon {margin-top: .25em;}
.learndash-wrapper .ld-alert {border-radius: 0;}
.ld-profile-avatar {display:none;}
.ld-profile-edit-link {display:none;}
.widget .ld-expand-button {display:none;}
.widget .widget_course_return {display:none;}
.learndash-wrapper .ld-course-navigation .ld-lesson-item {border-bottom: none;}
.widget .learndash-wrapper .ld-course-navigation .ld-lesson-item-preview {padding: 5px 0;}
.learndash-wrapper .ld-course-navigation .ld-course-navigation-heading {border-bottom: none; padding-bottom: 0;}
.widget .learndash-wrapper .ld-course-navigation .ld-lesson-item-section-heading {margin-top: 0;}
.widget .learndash-wrapper .ld-course-navigation .ld-status-icon {height:15px; width: 15px; margin-right: 6px; margin-top: .1em;}
.widget .learndash-wrapper .ld-course-navigation .ld-status-icon {flex: 0 0 15px;}
.learndash-wrapper .ld-status-icon {flex-basis: 15px; height: 15px; width: 15px;}
.learndash-wrapper .ld-status-icon.ld-status-complete .ld-icon {font-size: .8em;}
.ld-course-list-content .ld_course_category-neas-quality-assurance-framework {border-top: 10px solid #0256a7 !important;}
.ld-course-list-content .ld_course_category-specialisation {border-top: 10px solid #ceac2d !important;} 
.ld-course-list-content .ld_course_category-webinar {border-top: 10px solid #fbb040 !important;}
.ld-course-list-content .ld_course_category-qls {border-top: 10px solid #d67831 !important;}
.ld-course-list-content .ld_course_category-capstone {border-top: 10px solid #414042 !important;}
.ld-course-list-items .ld_course_grid .thumbnail.course img {height: 37px; opacity: 0;}
.ld-table-list-title span {padding-left:5px;}
.learndash-wrapper .ld-login-modal input[type='submit'] {border-radius: 0;}
.learndash-wrapper .ld-login-modal .ld-login-modal-register #wp-submit {border-radius: 0;}
.learndash-wrapper .ld-modal {border-radius: 0;}
.learndash-wrapper .ld-login-modal .ld-button {border-radius:0;}
h5.wpProQuiz_header {color:#fff;}
h5.wpProQuiz_header span {color:#212529;}
h5.wpProQuiz_header span:after {content:'.';}
#wpProQuiz_overlay_close {border-radius: 0;}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button, .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2 {border-radius: 0;}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_response {border-radius: 0;}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem label {border-radius: 0;}
.learndash-wrapper .ld-alert-certificate .ld-alert-content {width: 70%;}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem textarea.wpProQuiz_questionEssay {border-radius:0;}
.learndash-wrapper .wpProQuiz_content form[name=uploadEssay] input[type=submit] {border-radius:0; background-color: #4b87c7;}
.learndash-wrapper .wpProQuiz_content form[name=uploadEssay] input[type=submit]:hover {background-color: #4b87c7;}
.learndash-wrapper .wpProQuiz_content form[name=uploadEssay] {border-radius:0;}
.learndash-wrapper .wpProQuiz_content form[name=uploadEssay] input[type=file] {border-radius:0;}
.cpd-circle {display:inline-block; background:#4b87c7; width:30px; height:30px; line-height:30px; text-align:center; border-radius:15px; color:#fff; font-weight:bold; font-size:.75rem;}
/*.ld_course_grid article a img:hover {opacity:0 !important;}*/

/* Comments Section */
.form-allowed-tags, .logged-in-as, .comment-form .alert.alert-info {display:none;}
.comment-form .btn-primary {background-color: #4b87c7; border-color: #4b87c7;}
.comment-form .btn {border-radius:0;}
.comment-reply .btn {border-radius:0;}
.comment-reply .btn-primary {background-color: #4b87c7; border-color: #4b87c7;}

/* Stripe Buy Now Button Visibility */
.learndash_checkout_buttons {display:none !important;}
.logged-in .learndash_checkout_buttons {display: inline-block !important;}
.ld-course-status-label {margin-left: 5px;}
.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .status-paynow .ld-text .ld-login-text {margin-left: 0;}
.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .status-paynow .ld-text {color:#f0f3f6;}

/* AVEG Customisation */
.learndash-cpt-sfwd-courses-5644-parent .ld-content-action .ld-button {display:none !important;}
.learndash-cpt-sfwd-courses-6109-parent .ld-content-action .ld-button {display:none !important;}

.border-mustard {border: 2px solid #D97D33; padding:2rem;}

.aveg-purple {color:#4c4d9a;}
.aveg-purple-box {background-color:#4c4d9a;padding:20px; margin-bottom:2.2rem; opacity:.75;}

.ld-course-list-items .ld_course_grid .thumbnail.course.ld_course_category-aveg img {height: initial; opacity: 100;}
.ld_course_category-aveg .post-thumbnail {display:none;}

body.workshop .learndash-wrapper .ld-table-list .ld-table-list-header {background-color:#e2e7ed !important; color:#e2e7ed !important; font-weight:800; padding: 0; height:2px; overflow:hidden;}

/* BB Press Forum Elements */
div.bbp-template-notice, div.indicator-hint {border-radius:0;}
.bbp-author-avatar {display:none;}
#bbp-user-avatar {display:none;}
#bbp-user-profile .entry-title {display:none;}
.bbp-user-page aside, .bbp-user-page .bbp-user-forum-role {display:none;}
#bbp_reply_submit, #bbp_topic_submit {background-color:#4b87c7; color:#fff; border: none; padding:5px 10px;}
.bbp-user-edit-link, #bbp-your-profile, .bbp-user-edit aside {display:none;}

/* Sidebar Widgets */
aside section ul {padding-inline-start: 20px;}

/* Course Lessons Sidebar Widget */
.widget_sfwd-lessons-widget h4 {font-size:.875rem; font-weight:400;}

/* Forum Associated Course Sidebar Widget */
.ld-forum-course-widget h2.widget-title {font-size: 1.2rem; color:#24292e;}

/* Forum Sidebar Widget */
.widget_ldcourseprogress div {padding: 0 !important;}

/* Footer */
#footer-widget {background-color:#e8e8e8 !important; color:#999 !important; padding-top:20px;}
#footer-widget p {color:#999; padding-left:1rem;}
#footer-widget .col-md-3:nth-child(2), #footer-widget .col-md-3:nth-child(3) {padding-top:21px;}
#footer-widget .col-md-3:nth-child(4) {padding-top:23px;}
#footer-widget img.footer-logo {max-width:70% !important;}
#footer-widget a{color:#999 !important;}
#footer-widget a:hover{color:#4b87c7 !important;}
#footer-widget li a.nav-link {color:#999 !important; padding:.1rem 1rem;}
#footer-widget li a.nav-link:hover {color:#4b87c7 !important; background-color:transparent !important;}
#menu-top-nav-1 li.neas-online-login a.nav-link {color:#fbb040 !important;}
#menu-top-nav-1 li.neas-online-login a.nav-link:hover {color:#4b87c7 !important;}
#menu-top-nav-1 li.current-menu-item a.nav-link {color:#4b87c7 !important;}
#footer-widget .menu-social, #footer-widget .menu-search {display:none;}

/* Footer Colophon */
body:not(.theme-preset-active) footer#colophon {color: #999; background-color: #fff;}
body:not(.theme-preset-active) footer#colophon a:hover {color:#4b87c7}
.site-info {text-align:center;}
footer#colophon {font-size: .75rem;}

@media (min-width: 992px) {
	aside {border-top: 1px solid #fff;}
}