/*
Theme Name: Cojo
Description: Child theme for Avada theme
Author: Cojo
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Common CSS */
.img-border { overflow: visible !important; }
.img-border::before { width: calc(100% + 17px); height: 100%; background-color: #2a2b7c; content: ""; position: absolute; right: -17px; bottom: -17px; z-index: -1; }
.bg-auto { background-size: auto !important; }
.dots-pattern:after { width: 350px; height: 435px; background: url("images/dots_pattern.jpg") no-repeat left top; content: ""; position: absolute; top: 50px; right: 0; }
.dots-pattern-small:after { width: 250px; height: 360px; }
p a { text-decoration: underline; font-weight: 700; }
p a:hover { text-decoration: none; }
ul, ol { padding: 0 0 0 20px; margin: 0; }
ul li, ol li { margin: 15px 0; }

/* Header CSS */
.fusion-header-shadow .fusion-header-v1 { box-shadow: 0 10px 45px 4px rgba(0,0,0,0.3); }
.fusion-body .fusion-main-menu .current-menu-ancestor>a, .fusion-body .fusion-main-menu .current-menu-item>a, .fusion-body .fusion-main-menu .current-menu-parent>a, .fusion-body .fusion-main-menu .current_page_item>a { color: #060404 !important; }
.fusion-main-menu li.fusion-menu-item-button { margin-left: 10px; }
.fusion-main-menu li.fusion-menu-item-button .fusion-button { font-size: 18px; padding: 15px; }

.fusion-slider-revolution:after { width: 250px; height: 360px; background: url("images/dots_pattern.jpg") no-repeat left top; content: ""; position: absolute; right: 0; top: 70px; }

/* Blog CSS */
.fusion-meta-info .fusion-read-more { padding-left: 75px; }
.fusion-meta-info .fusion-read-more:after { width: 60px; height: 4px; background-color: #15141a; content: "" !important; right: auto i !important; left: 0; }
.fusion-blog-layout-grid .fusion-meta-info .fusion-alignleft, .fusion-blog-layout-timeline .fusion-meta-info .fusion-alignleft { width: 100% !important; }
.fusion-post-grid .fusion-post-wrapper { border: 0 !important; }
#wrapper #main .post .fusion-post-title-meta-wrap > h2.fusion-post-title { font-size: 32px !important; }
.fusion-carousel-meta { display: none; }
.fusion-blog-layout-grid .fusion-post-slideshow, .fusion-blog-layout-timeline .fusion-post-slideshow { border:0 !important; }

.fusion-post-medium-alternate .fusion-date-and-formats { display:none; }
.fusion-blog-layout-medium-alternate .fusion-post-medium-alternate { position: relative; margin-bottom:15px; }
.fusion-blog-layout-medium-alternate .fusion-posts-container .fusion-post-medium-alternate .fusion-post-slideshow { width:50%; }
.fusion-blog-layout-medium-alternate .fusion-posts-container .fusion-post-content-container { margin-top:15px; }
#wrapper #main .fusion-blog-layout-medium-alternate .fusion-post-content > h2.blog-shortcode-post-title { font-size:24px; }
.fusion-blog-layout-medium-alternate .fusion-posts-container .fusion-meta-info { border:0; padding:0; padding-left:calc(50% + 2px); position:absolute; bottom:15px;}
.fusion-blog-layout-medium-alternate .fusion-posts-container .fusion-meta-info .fusion-alignright { float:left; }
.fusion-post-title-meta-wrap h1.fusion-post-title { font-size:26px !important; }

/* Person CSS */
.fusion-person { background-color: #FFFFFF; display: table; box-shadow: 5px 5px 43px rgba(0,0,0,0.3); }
.fusion-person + .fusion-person { margin-top: 50px; }
.fusion-person .person-shortcode-image-wrapper, .fusion-person .person-desc { display: table-cell; vertical-align: top; }
.fusion-person .person-shortcode-image-wrapper { width: 275px; }
.fusion-person .person-desc { padding: 15px 30px; }
.fusion-person .person-desc .person-author .person-name { font-weight: 700; font-size: 18px; }
.fusion-person .person-desc .person-content { margin-top: 15px; }

/* Form CSS */
.form-group { display: block; margin-bottom: 20px; }
label { display: block; font-size: 20px; color: #15141a; font-weight: 500; margin-bottom: 10px; }
.form-group .wpcf7-submit { min-width: 200px; height: 60px; display: block; font-size: 20px !important; font-weight: 500; margin: 50px auto 0 auto; }

/* Footer CSS */
.fusion-footer { font-size: 24px; font-weight: 400; }
.menu-footer-menu-container ul.menu { column-count: 2; }
.menu-footer-menu-container ul.menu li { border: 0; padding: 0; margin: 0; }
.menu-footer-menu-container ul.menu li a { font-weight: 400; font-size: 20px; }
.menu-footer-menu-container ul.menu li a::before { display: none; }
.fusion-column.fusion-column-last { text-align: right; }

.single-sfwd-courses .ld-section-heading .ld-item-list-actions { display:none !important; }

@media only screen and (max-width:1199px) {
    .fusion-mobile-nav-item { margin: 0; }
	.dots-pattern:after { display:none; }
	
	.fusion-flyout-mobile-menu.fusion-mobile-nav-holder .sub-menu { display:block !important; }
	.fusion-mobile-nav-item .sub-menu a { font-size:18px; line-height:32px; }
	
	.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo { flex:inherit; }
	
}

@media only screen and (max-width:992px) {
	.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo { display:block; }
	.learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav { order:3; }
	.learndash-wrapper .ld-focus .ld-focus-header .ld-progress { order:1; }
	.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu { order:2; }
	
	#wrapper #main .post .fusion-post-title-meta-wrap > h2.fusion-post-title { font-size: 26px !important; }
	
	.fusion-blog-layout-medium-alternate .fusion-post-medium-alternate { margin-bottom:30px; }
	.fusion-blog-layout-medium-alternate .fusion-posts-container .fusion-post-medium-alternate .fusion-post-slideshow { max-width:100%; width:100%; }
	.fusion-blog-layout-medium-alternate .fusion-posts-container .fusion-meta-info { position:relative; padding-left:0; bottom:0; margin-top:15px; }
	.fusion-blog-layout-medium-alternate .fusion-posts-container .fusion-meta-info .fusion-alignright { margin:0; }
}

@media only screen and (max-width:767px) {
	.learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav { order:1; }	
	.learndash-wrapper .ld-focus .ld-focus-header .ld-progress { width:75%; }
	.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content { padding:30px; }
	.fusion-post-title-meta-wrap h1.fusion-post-title { font-size:20px !important; }
}

@media only screen and (max-width:568px) {
    .fusion-footer .fusion-column.fusion-column-last { text-align: center; margin-bottom: 0; }
    .fusion-footer .fusion-footer-widget-column { margin-bottom: 30px; }
    .fusion-person .person-shortcode-image-wrapper, .fusion-person .person-desc { display: block; }
    .fusion-person .person-shortcode-image-wrapper { width: 100%; margin-top: 30px; }
	#wrapper #main .post .fusion-post-title-meta-wrap > h2.fusion-post-title { font-size: 22px !important; }
	
	.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo { height:42px; }
	.learndash-wrapper .ld-content-actions .ld-content-action { padding:0; margin:15px 0; }
	.learndash-wrapper .ld-content-actions .ld-content-action+a { margin:15px 0; }
	.learndash-wrapper .ld-button { margin:0; }
	.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back { padding-bottom:0; }
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action #sfwd-mark-complete, .learndash-wrapper .ld-focus .ld-focus-header .ld-content-action .sfwd-mark-complete { margin:0; }
	
}