/*
 Theme Name:     Divi-Poppyz
 Theme URI:      https://www.poppyz.nl
 Description:    Divi Child Theme
 Author:         Socialmedium
 Author URI:     https://www.poppyz.nl
 Template:       Divi
 Version:        1.5.9
*/


/* =Theme customization starts here
------------------------------------------------------- */

.et_pb_column.et_pb_column_3_4, .et_pb_column.et_pb_column_1_4 {
    display: table-cell;
}

/* if used inside a right sidebar, add padding */
.et_pb_column_1_4.et-last-child .et_pb_lessons_0, .et_pb_column_1_4.et-last-child .et_pb_lessons_1 {
    padding-left: 30px;
}

.lesson-list .module ul.image {
    overflow: auto;
}
.lesson-list .module ul.image li {
    float: left;
}

.lesson-list h3:before {
    content: '\f04b';
    font-family: 'FontAwesome';
    margin-right: 5px;
}
.lesson-list h3.opened:before {
    content: '\f04b';
    font-family: 'FontAwesome';
    display: inline-block;
    transform: rotate(90deg);
}
.lesson-list h3 + ul {
    margin: 0 0 2em 2em;
}
.lesson-list ul li {
    font-size: 16px;
    list-style: none;
    margin-bottom: 10px;
    line-height: 1.2em;
}
.lesson-list ul li.no-access, .lesson-list ul li.no-access a {
    color: #666;
}
.lesson-list h3 + ul li  {
    list-style: none;
}

.et_pb_widget_area_right {
    border: 0;
}


.widget_ppy_lesson_widget .widgettitle {
    margin-bottom: 15px;
}
.login-form {
    text-align: center;
}
.login-form fieldset {
    clear: both;
    margin-bottom: 20px;
}
.login-form label {
    display: inline-block;
    text-align: left;
    width: 195px;
}
.login-form input[type='text'],
.login-form input[type='password'],
.login-form input[type='email'],
.login-form input[type='number'],
.login-form select,
.login-form .input-wrapper
{
    display: inline-block;
    width: 300px;
    height: 40px;
    text-align: left;
}
.login-form input[type=submit] {
    margin-top: 20px;
}

#loginform {
    margin: 0 auto;
}
#loginform p {
    margin-bottom: 10px;
    overflow: hidden;
}
#loginform label {
    float: left;
    width: 220px;
}
#loginform input {
    float: left;
}
#loginform + a {
    text-align: center;
    display: block;
    margin: 0 auto;
}
#loginform .login-remember label {
    float: none;
    margin: 0 auto;
    display: inline-block;
    width: auto;
}
#loginform .login-submit input {
    float: none;
}
h1.main_title {
    font-weight: bold;
}


.steps li {

}
.steps {
    width: 100%;
    clear: both;
    overflow: hidden;
    padding-left: 0 !important;
}
.steps li {
    width: 150px;
    height: 40px;
    position: relative;
    background: black;
    text-align: center;
    list-style: none;
    display: inline-block;
    float: left;
    margin-right: 20px;
    color: #fff;
    line-height: 40px;
    padding-left: 20px;
}
.steps li:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}
.steps li:before {
    content: "";
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 20px solid black;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}
#ppy-form h1 {
    margin: 30px 0 10px;
}
#ppy-form h3.tier-title {
    margin-bottom: 20px;
}
#ppy-form input.et_pb_button {
    float: right;
    margin-top: 15px;
}

#ppy-form #pay-now {
    margin: 0 0 30px 0;
}

#review-details h5 {
    margin-bottom: 20px;
}
#review-details h3 a {
    text-decoration: underline;
    font-size: 14px;
}

body.center-title h1.main_title {
    text-align: center;
}

#subscriptions-container .subscription {
    margin-bottom: 2em;
}
table.subscription-list {
    width: 100%;
    margin: 0 0 15px 0;
    border: 1px solid #ccc;
    text-align: left;
}
table.subscription-list th {
    padding: .857em .587em;
}
table.subscription-list td {
    border-top: 1px solid #ccc;
}
table.subscription-list input[type="submit"] {
    margin: 0;
}

#tier-information {
    float: right;
    width: 40%;
    padding: 10px;
    margin-bottom: 20px;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 100px;
}
#tier-information.logged-in {
    float: none;
    clear: both;
    margin: 0 auto;
    position: center;
}
#tier-information h4 {
    margin: 10px 0 10px;
}

#tier-information .tier-section {
    overflow: auto;
    padding: 10px;
    background: #fff;
}

#registration-form {
    float: left;
    width: 45%;
}

.full-width {
    width: 100%;
}

/* Responsive */

@media only screen and (min-width: 600px) {
    .login-form  {
        width: 500px;
    }
    #loginform {
        width: 550px;
        padding: 0;
    }
}


@media (max-width: 1328px) {
    #ppy-form, body.poppyz-page h1.main_title {
        width: auto;
    }
}

@media (max-width: 768px) {
    #ppy-form {
        width: auto;
    }
    .steps li {
        background: none;
        display: inline-block;
        width: auto;
        padding: 0 0px 0 25px;
        text-align: center;
    }
    #tier-information {
        float: none;
        width: 100%;
    }

    #registration-form {
        float: none;
        width: 100%;
    }
}
@media (max-width: 750px) {
    .steps li {
        margin-bottom: 10px;
    }

}

article.has_thumb {
    position: relative;
}
article.has_thumb.ppy_no_access .access-background {
    background: rgba(255, 0, 0, 0.7);
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: block;
}
article.has_thumb .access-icon {
    background: url(images/unlocked.png);
    position: absolute;
    width: 30px;
    height: 30px;
    top: 5%;
    right: 5%;
}
.has_thumb.ppy_no_access .access-icon {
    background: url(images/locked.png);
}

.ppy_course-template-default .et_main_title , .ppy_lesson-template-default .et_main_title {
    display: none;
}
.list-container .list-item {
    list-style: none;
}

.return-content {
    padding-top: 10px;
}

.grid-container.lesson-category {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Remove sidebars on Poppyz pages */

/*** Take out the divider line between content and sidebar ***/
.poppyz-page #main-content .container:before {background: none;}

/*** Hide Sidebar ***/
.poppyz-page #sidebar {display:none;}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px) {
    .poppyz-page #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
    .et_vertical_nav.et_vertical_fixed #page-container #main-header {
        position: absolute;
    }


}
@media (max-width: 981px) {
    #ver-nav {
        position: relative;
        z-index: 99;
    }
}
#ver-nav .lesson-list h4 {
    font-size: 18px;
    color: rgba(0,0,0,.6);
}

#ver-nav .lesson-list h3 {
    font-size: 16px;
}

#ver-nav  .lesson-list ul li {
    font-size: 14px;
}
.et_vertical_nav .et_search_outer {
    top: 35px;
}
li#ver-nav-item {
    margin-top: 20px;
    border-top: 1px solid;
    padding: 20px 5% 10px;
}
li#ver-nav-item  h3 a {
    display: inline-block;
}
li#ver-nav-item ul {
    margin-left: 0;
}


/* for enchanced module pages, always display the grid. For some reason it's hiding! */
.et-db #et-boc .et-l .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post {
    opacity: 1 !important;
}

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 20px;
}