/*
Theme Name: Total Child
Theme URI: http://totalwptheme.com
Description: Total WordPress theme example child theme.
Author: AJ Clarke
Author URI: http://totalwptheme.com
Template: Total
Version: 1.1
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

#onboarding {
    background-color: #e7e7e8;
    border-radius: 60px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 30px 15px;
    width: 90%;
}

#onboarding .section-title {
    margin-bottom: 30px;
    text-align: center;
}

#onboarding .section-title h2 {
    color: #00853e;
    font-size: 30px;
    margin: 0;
}

#onboarding .section-title h3 {
    font-size: 18px;
    margin: 0;
}

#onboarding .onboarding-steps {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

#onboarding .onboarding-steps .icon {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    width: 280px;
}

#onboarding .onboarding-steps .icon:hover .icon-circle {
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
}

#onboarding .onboarding-steps .step .icon::after {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 22px solid #00853e;
    bottom: -25px;
    content: "";
    right: 35%;
    position: absolute;
}

#onboarding .onboarding-steps .step:last-child .icon::after {
    display: none;
}

#onboarding .onboarding-steps .icon-circle {
    align-items: center;
    background-color: #00853e;
    border-radius: 50%;
    display: flex;
    height: 110px;
    justify-content: center;
    position: relative;
    transition: transform .3s ease;
    width: 110px;
    z-index: 2;
}

#onboarding .onboarding-steps .icon-circle img {
    height: auto;
    width: 80px;
}

#onboarding .onboarding-steps .icon-text {
    align-items: center;
    background-color: #fff;
    border: 2px solid #00853e;
    border-left: 0;
    display: flex;
    margin-left: -18px;
    min-height: 82px;
    padding: 10px 10px 10px 20px;
    position: relative;
    text-align: center;
    width: 150px;
}

#onboarding .onboarding-steps .icon-text::before {
    border-top: 20px solid #00853e;
    border-left: 20px solid transparent;
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
}

#onboarding .onboarding-steps .icon-text::after {
    border-top: 20px solid #e7e7e8;
    border-left: 20px solid transparent;
    content: "";
    position: absolute;
    right: -4px;
    top: -3px;
}

#onboarding .onboarding-steps .icon-text .title {
    font-size: 12px;
    margin: 0;
}

#onboarding .onboarding-steps .popup {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
}

#onboarding .onboarding-steps .popup__overlay {
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

#onboarding .onboarding-steps .popup__text {
    background-color: #fff;
    border: 2px solid #00853e;
    left: 50%;
    max-width: 480px;
    padding: 30px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    z-index: 20;
}

#onboarding .onboarding-steps .popup__text .close-btn {
    background-color: #00853e;
    border-radius: 50%;
    color: #fff;
    position: absolute;
    height: 40px;
    right: -20px;
    top: -20px;
    width: 40px;
}

@media (min-width: 992px) {
    #onboarding .onboarding-steps {
        flex-direction: row;
        justify-content: center;
    }
    
    #onboarding .onboarding-steps .step .icon::after {
        border-bottom: 12px solid transparent;
        border-left: 22px solid #00853e;
        border-top: 12px solid transparent;
        bottom: 35%;
        content: "";
        right: -20px;
        position: absolute;
    }
}