/*
 Theme Name:   Gostudy Child
 Theme URI:    https://rasitheme.com/wp/gostudy/
 Description:  Child Theme for Gostudy Education WordPress Theme
 Author:       RaisTheme
 Author URI:   https://rasitheme.com/
 Template:     gostudy
 Version:      1.0.0
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Tags:          custom-header, custom-logo, blog, theme-options
 Text Domain:  gostudy-child
*/

/* mobile header */

.logo-mobile img {
	max-height: 50px;
}

.mobile_header.html1_editor {
	font-size: 14px;
	font-weight: 500;
}

.mobile_header.html1_editor ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.rt-menu-outer_content .elementor-social-icons-wrapper a {
    background: 0;
    width: auto;
    margin-right: 10px;
}

.rt-mobile-header .header_area_container {
	display: flex;
    gap: 10px;
}

.rt-menu-outer_content .header_search-field {
    background-color: transparent !important;
}

@media only screen and (max-width: 1200px) {
	#main {
		padding-top: 70px !important;
	}
	
	.sidebar-container {
		padding-left: 0 !important;
	}
}

@media only screen and (max-width: 767px) {
	.post_author:after {
		display: none !important;
	}	
}

.post_author a {
	white-space: break-spaces;
}

/* blog posts */

.single-post figure {
	margin: 0;
}

.single-post #block-9,
.single-post #block-10 {
	padding-top: 10px;
}

.single-post #block-8, 
.single-post #block-9 {
	margin-bottom: 0;
}

.single-post .roller {
	padding: 10px;
    border: 1px solid #eee;
    height: 80px;
    overflow: scroll;
}

.single-post .sidebar h3.title, 
body.blog .sidebar h3.title, 
.single-post .wp-block-categories__label {
	font-family: var(--gostudy-content-font-family);
	font-size: 20px;
	font-weight: 800;
}

.single-post .sidebar h3.title:after, 
body.blog .sidebar h3.title:after, 
.top-courses-header:after, 
.single-post .wp-block-categories__label:after {
    content: '';
    width: 25px;
    height: 2px;
    display: inline-block;
    position: relative;
    top: -5px;
    background: var(--gostudy-primary-color);
    margin-left: 15px;
}

.single-post .page-header {
	display: none;
}

/* checkout */

.wp-block-woocommerce-checkout-contact-information-block .wc-block-checkout__login-prompt {
	display: none !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	color: #fff;
}

/* archive courses */

body.post-type-archive-sfwd-courses .course__container .course__excerpt p {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rt-courses .course__container .course__media .course__media-link:before {
	-webkit-border-top-left-radius: 24px;
	-webkit-border-top-right-radius: 24px;
	-moz-border-radius-topleft: 24px;
	-moz-border-radius-topright: 24px;
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;	
}

/* author <> course links */

.course__container .rt-course-author-name a + a {
	pointer-events: none;
	cursor: default;
}

/* single courses */

.learndash-single-course-sidebar .lesson-count {
	display: none !important;
}

/* cart -> product links */

.woo_mini_cart a:not(.remove) {
	pointer-events: none;
	cursor: default;
}

/* LearnDash */

#ld-focus-content .learndash-wrapper .ld-text, 
#ld-focus-content .learndash-wrapper .wpProQuiz_button, 
#ld-focus-content .wpProQuiz_quiz .wpProQuiz_button {
	color: #fff !important;
}

.learndash-wrapper .ld-breadcrumbs-segments li:before {
	margin-left: 0px !important;
}

.wpProQuiz_quiz .wpProQuiz_sortable:hover {
	background-color: transparent !important;
}

.wpProQuiz_content.ld-quiz-result-failed .wpProQuiz_questionListItem, 
.wpProQuiz_content.ld-quiz-result-passed .wpProQuiz_questionListItem {
	border-color: #e2e7ed !important;
}

.wpProQuiz_content.ld-quiz-result-failed .wpProQuiz_answerCorrect, 
.wpProQuiz_content.ld-quiz-result-passed .wpProQuiz_answerCorrect {
	border-color: #2f8351 !important;
}

.wpProQuiz_content.ld-quiz-result-failed .wpProQuiz_questionListItem.wpProQuiz_answerIncorrect label, 
.wpProQuiz_content.ld-quiz-result-passed .wpProQuiz_questionListItem.wpProQuiz_answerIncorrect label,
.wpProQuiz_content.ld-quiz-result-failed .wpProQuiz_questionListItem.wpProQuiz_answerIncorrect, 
.wpProQuiz_content.ld-quiz-result-passed .wpProQuiz_questionListItem.wpProQuiz_answerIncorrect {
	border-color: #db0000 !important;
}

.wpProQuiz_content.ld-quiz-result-failed .wpProQuiz_questionListItem.wpProQuiz_answerCorrectIncomplete label, 
.wpProQuiz_content.ld-quiz-result-passed .wpProQuiz_questionListItem.wpProQuiz_answerCorrectIncomplete label {
	border-color: #235af3 !important;
}

/* V2 recoloring */

.blog-post_content .post_categories a, 
form[name="learndash_course_reviews"] input[type="submit"], 
.learndash-course-reviews-container #loginform input[type="submit"] {
	border-radius: 24px;
	border: 2px solid var(--e-global-color-text);
	background: #fff !important;
	color: var(--e-global-color-text) !important;
	padding: 4px 10px;
	transition: 0.4s;
}

.blog-post_content .post_categories a:hover, 
form[name="learndash_course_reviews"] input[type="submit"]:hover, 
.learndash-course-reviews-container #loginform input[type="submit"]:hover {
	background: var(--e-global-color-text) !important;
	color: #fff !important;
}

.tagcloud a {
	border-radius: 12px;
	color: var(--e-global-color-text);
}

.tagcloud a:hover {
	background: var(--e-global-color-text);
}

.blog-post_content .blog-post_title a:hover {
	color: var(--gostudy-primary-color);
}

.blog-post_content .read-more-wrap {
	display: none;
}

.related_posts .blog-post, 
.blog-posts .blog-post {
	border-radius: 24px;
	border-bottom: 8px solid var(--e-global-color-text);
}

.single-sfwd-courses .ld-course-status-action a {
	background-color: #FFFFFF !important;
    font-weight: 700 !important;
    fill: var(--e-global-color-text);
    color: var(--e-global-color-text) !important;
    border-style: solid !important;
    border-width: 2px !important;
    border-color: var(--e-global-color-text) !important;
    border-radius: 24px !important;
    padding: 15px 32px !important;
	z-index: 2;
	position: relative;
	top: 0;
    transition: all 0.3s !important;
}

.single-sfwd-courses .learndash-header-content {
	background-color: rgba(255, 255, 255, 0.9);
	padding: 20px;
	border-radius: 4px;	
	box-shadow: 0px 10px 50px 0px rgb(44 44 52 / 8%);
}

.single-sfwd-courses .ld-course-status-action {
	position: relative;
}

.single-sfwd-courses .ld-course-status-action:before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 32px;
    background: #38BEEF;
    border-radius: 0 0 32px 32px;
    z-index: 0;
}

.single-sfwd-courses .ld-course-status-action a:hover {
    top: 4px;
	background-color: var( --e-global-color-text ) !important;
	color: #FFFFFF !important;
}

/* Twitter > X */

.fa-twitter {
	height: 23px !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 1227'><path d='M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z' fill='%23ffffff'/></svg>");
	font-size: 7px !important;
	color: transparent;
	background-repeat: no-repeat !important;
	padding: 10px 15px;
	background-size: 14px;
	background-position: center 8px;
}
.fa-twitter::before {
    content: none !important;
}

.tml-action-lostpassword .tml-button, 
.tml-action-login .tml-button,
.tml-action-register .tml-button {
	background-color: #FFF !important;
}

.tml-action-lostpassword .tml-button:hover, 
.tml-action-login .tml-button:hover,
.tml-action-register .tml-button:hover {
	background-color: var( --e-global-color-text ) !important;
}

/* Sidebar top courses */

.top-courses-header {
	font-family: var(--gostudy-content-font-family);
    font-size: 20px;
    font-weight: 800;
}

.sidebar_right .widget_search + div, 
.course-sidebar-secondary > div:first-child {
	margin-bottom: 0;
}

.top-courses h3 a {
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
    transition: 0.4s !important;
    margin-top: -3px !important;
}

.top-courses article {
	gap: 20px !important;
	padding: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding-bottom: 20px !important;
	margin-bottom: 30px !important;
	align-items: center;
}

.top-courses article .title-wrapper {
	max-width: none !important;
	margin-bottom: 0 !important;
}

.top-courses .item article {
	border-bottom: 1px solid #e5e5e5;
}

.top-courses .item + .item + .item article {
	border: 0;
}

.top-courses img {
	max-width: 88px !important;
    height: auto !important;
	border-radius: 100px !important;
}

/* blog archive */

.blog-post .post_categories {
	display: block !important;
	margin: 0 !important;
}

/* courses special button place */

@media (max-width: 640px) {
	.single-sfwd-courses .ld-course-status.ld-course-status-not-enrolled>:last-child {
		position: fixed;
		bottom: 0;
		background-color: #BDE9FA;
		width: 100%;
		left: 0;
		padding: 0;
		z-index: 10;
	}
	
	.single-sfwd-courses .ld-course-status.ld-course-status-not-enrolled>:last-child h2 {
		margin-bottom: 0;
		font-size: 18px;
		color: #29303B;
	}
	
	.single-sfwd-courses .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled>:nth-child(2) {
    	border-bottom: 0px !important;
	}
}