/*
Theme Name: Divi5 Child
Version: 5.1
Description: A child theme of Divi
Template: Divi
Author: Róbert Tóth
*/
@import url("../Divi/style.css");
/* Your awesome customization starts here */

body.ld-in-focus-mode div#top-header,
body.ld-in-focus-mode header#main-header {
    display: none !important;
}

/* LearnDash kurzus oldal - Flex container */
.single-sfwd-courses .learndash-wrapper.learndash-wrapper--course {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Kurzus tartalmak sorrendje */
.single-sfwd-courses .learndash-wrapper.learndash-wrapper--course .learndash-shortcode-wrap {
    order: 1;
    margin-top: 15px;
    margin-bottom: 20px;
}

.single-sfwd-courses .learndash-wrapper.learndash-wrapper--course .ld-tabs {
    order: 0;
}

/* Középre igazítás - itt kell az !important a Divi felülírásához */
.single-sfwd-courses #main-content .container,
.single-sfwd-courses #left-area,
.single-sfwd-courses .entry-content,
.single-sfwd-courses .learndash-wrapper {
    max-width: 1080px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    float: none;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}

/* Kurzus kép stílusok */
.ld-course-featured-image-wrapper img {
    width: 800px;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 20px auto;
    display: block;
}

/* Kurzus cím stílusok */
.ld-course-main-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
}


.woocommerce-checkout p.woocommerce-invalid-required-field span.error {
   color: #AA0000;
   display: none !important;
   font-weight: bold;
}

/* equal columns */
.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
} 

@media screen and ( max-width: 980px ) {
    .reverse {
        display: flex;
        flex-direction: column-reverse;
    }
}

/* woo checkout notice */

.woocommerce-info-woo {
    background: #e4e4e4;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
	text-align: center;
    margin: 1em auto;
	max-width: 700px;
}


/* back to top */

.et_pb_scroll_top:before {
	content: "\21" !important;
}

.et_pb_scroll_top.et-pb-icon {
    transition: all 0.3s ease 0s;
	background: rgba(127, 141, 255, .2);
    right: 5px;
    font-size: 25px;
    padding: 8px;
    color: #009DCC;
    border-radius: 50%;
}

.et_pb_scroll_top.et-pb-icon:hover {
	transform: translateY(-5px);
	background: #009dcc;
	color: #fff;
}

