/* Tutorial Overlay */

@media all and (min-width: 1025px) {
    .tutorial-overlay {
        position: fixed; 
        top: 0;
        left: 0;
        z-index: 19;
        display: none;
        width: 100%;
        height: 105vh;
        background: rgba(0,0,0,0.7);
    }

    .tutorial-pop {
        position: absolute;
        position: fixed;
        z-index: 1000;
        padding: 20px;
        width: 500px;
        background: #FFF;
        box-shadow: 0 10px 15px rgba(0,0,0,0.8);
        color: #000;
        transition: all 0.2s ease-in-out;
        transform: scale(0);
    }

    .tutorial-pop:after {
        position: absolute;
        top: -7px;
        left: calc(50% + 70px);
        width: 0;
        height: 0;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #FFF;
        border-left: 8px solid transparent;
        content: "";
    }

    .headerNav .tutorial-pop i {
        display: inline;
        padding: 0;
        height: auto;
        font-size: 16px;
        transition: none;
    }

    .tutorial-pop .line {
        margin: 10px 0 10px 0;
    }

    .tutorial-pop label.pop-close {
        position: absolute;
        right: -20px;
        bottom: -60px;
        box-sizing: border-box;
        padding: 0 8px 0 8px;
        padding: 0;
        width: 80px;
        height: 30px;
        border: 0 !important;
        background: #28A6DA;
        color: #FFF;
        text-align: center;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 30px;
        cursor: pointer;
        animation-name: pulse;
        animation-duration: 2s;
        animation-timing-function: ease-out;
        animation-iteration-count: infinite;
    }

    .tutorial-pop label.pop-close i {
        width: auto !important;
    }

    .tutorial-pop label.pop-close:hover {
        background: #4CBFEF;
        cursor: pointer;
    }

    #model-step1:checked ~ .container-fluid .tutorial-overlay,
    #model-step2:checked ~ .container-fluid .tutorial-overlay,
    #model-step3:checked ~ .container-fluid .tutorial-overlay,
    #model-step4:checked ~ .container-fluid .tutorial-overlay,
    #model-step5:checked ~ .container-fluid .tutorial-overlay,
    #model-step6:checked ~ .container-fluid .tutorial-overlay,
    #model-step7:checked ~ .container-fluid .tutorial-overlay,
    #model-step8:checked ~ .container-fluid .tutorial-overlay {
        display: block;
    }

    /********************** TUTORIAL MODEL ****************************/

    /* STEP 1 - Models */
    body.model #model-step1:checked ~ .container-fluid .tutorial-notification {
        right: 700px;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step1:checked ~ .container-fluid #notify_menu ul.dropdown-menu {
        display: block;
        background-color: #01212D;
    }

    body.model #model-step1:checked ~ .container-fluid #notify_menu {
        background-color: #01212D;
    }

    body.model #model-step1:checked ~ .container-fluid #notify_menu .dropdown-toggle > i {
        background-color: #01212D;
        color: #FFF;
        text-shadow: 0 0 8px #FFF;
    }


    body.model .tutorial-notification.tutorial-pop {
        top: 60px;
        right: 530px;
    }

    body.model .tutorial-notification.tutorial-pop:after {
        top: 50px;
        bottom: auto;
        left: 100%;
        border-top: 8px solid transparent;
        border-right: 0;
        border-bottom: 8px solid transparent;
        border-left: 8px solid #FFF;
    }

    /* STEP 2 - Models */
    body.model #model-step2:checked ~ .container-fluid .tutorial-contest {
        right: 10px;
        width: 460px;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step2:checked ~ .container-fluid .promo-nav ul.dropdown-menu {
        display: block;
        background-color: #790E11;
    }

    body.model #model-step2:checked ~ .container-fluid .promo-nav .dropdown-toggle > i {
        background-color: #790E11;
        color: #FFF;
        text-shadow: 0 0 8px #FFF;
    }

    body.model .tutorial-contest.tutorial-pop {
        top: 60px;
        right: 634px;
        z-index: 9999;
    }

    body.model .tutorial-contest.tutorial-pop:after {
        top: 50px;
        bottom: auto;
        left: -8px;
        border-top: 8px solid transparent;
        border-right: 8px solid #FFF;
        border-bottom: 8px solid transparent;
        border-left: 0;
    }

    /* STEP 3 - Models */
    body.model #model-step3:checked ~ .container-fluid .tutorial-stats {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step3:checked ~ .container-fluid #stats {
        position: relative;
        z-index: 22;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        transition: all 0.5s ease-in-out;
    }

    body.model .tutorial-stats.tutorial-pop {
        top: 102%;
        left: 0;
    }

    body.model .tutorial-stats.tutorial-pop:after {
        top: -7px;
        left: 20px;
    }

    /* STEP 4 - Models */
    body.model #model-step4:checked ~ .container-fluid .tutorial-rank {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step4:checked ~ .container-fluid #ranking {
        position: relative;
        z-index: 22;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        transition: all 0.5s ease-in-out;
    }

    body.model .tutorial-rank.tutorial-pop {
        top: 0;
        left: 103%;
    }

    body.model .tutorial-rank.tutorial-pop:after {
        top: 40px;
        left: -8px;
        border-top: 8px solid transparent;
        border-right: 8px solid #FFF;
        border-bottom: 8px solid transparent;
        border-left: 0;
    }

    /* STEP 5 - Models */
    body.model #model-step5:checked ~ .container-fluid .tutorial-news {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step5:checked ~ .container-fluid #news {
        position: relative;
        z-index: 22;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        transition: all 0.5s ease-in-out;
    }

    body.model .tutorial-news.tutorial-pop {
        bottom: 111%;
        left: 0;
    }

    body.model .tutorial-news.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }

    /* STEP 6 - Models */
    body.model #model-step6:checked ~ .container-fluid .tutorial-flirt-u {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step6:checked ~ .container-fluid #flirt_u {
        position: relative;
        z-index: 22;
        background-color: #49BFF0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        color: #FFF;
        transition: all 0.5s ease-in-out;
    }

    body.model.dark-theme #model-step6:checked ~ .container-fluid #flirt_u {
        background-color: #222;
    }

    body.model .tutorial-flirt-u.tutorial-pop {
        top: -134px;
        left: 40px;
    }

    body.model .tutorial-flirt-u.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }

    /* STEP 7 - Models */
    body.model #model-step7:checked ~ .container-fluid .tutorial-member-info {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step7:checked ~ .container-fluid #member_info {
        position: relative;
        z-index: 22;
        background-color: #49BFF0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        color: #FFF;
        transition: all 0.5s ease-in-out;
    }

    body.model.dark-theme #model-step7:checked ~ .container-fluid #member_info {
        background-color: #222;
    }

    body.model .tutorial-member-info.tutorial-pop {
        top: -114px;
        left: 40px;
    }

    body.model .tutorial-member-info.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }

    /* STEP 8 - Models */
    body.model #model-step8:checked ~ .container-fluid .tutorial-settings {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.model #model-step8:checked ~ .container-fluid #account_settings {
        position: relative;
        z-index: 22;
        background-color: #49BFF0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        color: #FFF;
        transition: all 0.5s ease-in-out;
    }

    body.model.dark-theme #model-step8:checked ~ .container-fluid #account_settings {
        background-color: #222;
    }

    body.model .tutorial-settings.tutorial-pop {
        top: -114px;
        left: 40px;
    }

    body.model .tutorial-settings.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }


    /********************** TUTORIAL STUDIOS ****************************/

    /* STEP 1 - Models */
    body.studio #model-step1:checked ~ .container-fluid .tutorial-notification-studio {
        right: 745px;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step1:checked ~ .container-fluid #notify_menu ul.dropdown-menu {
        display: block;
        background-color: #01212D;
    }

    body.studio #model-step1:checked ~ .container-fluid #studio-notification {
        background-color: #01212D;
    }

    body.studio #model-step1:checked ~ .container-fluid #studio-notification .dropdown-toggle > i {
        background-color: #01212D;
        color: #FFF;
        text-shadow: 0 0 8px #FFF;
    }

    body.studio .tutorial-notification-studio.tutorial-pop {
        top: 60px;
        right: 576px;
    }

    body.studio .tutorial-notification-studio.tutorial-pop:after {
        top: 50px;
        bottom: auto;
        left: 100%;
        border-top: 8px solid transparent;
        border-right: 0;
        border-bottom: 8px solid transparent;
        border-left: 8px solid #FFF;
    }


    /* STEP 2 - Studios */
    body.studio #model-step2:checked ~ .container-fluid .tutorial-know-studio {
        top: 99%;
        left: 15px;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step2:checked ~ .container-fluid #did_you_know {
        position: relative;
        z-index: 22;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        transition: all 0.5s ease-in-out;
    }

    body.studio .tutorial-know-studio.tutorial-pop {
        position: absolute;
        top: 110%;
        left: 0;
    }

    body.studio .tutorial-know-studio.tutorial-pop:after {
        top: -8px;
        bottom: auto;
        left: 50%;
        border-top: 0;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #FFF;
        border-left: 8px solid transparent;
    }


    /* STEP 3 - Studios */
    body.studio #model-step3:checked ~ .container-fluid .tutorial-upcoming-studio {
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step3:checked ~ .container-fluid #upcoming {
        position: relative;
        z-index: 22;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        transition: all 0.5s ease-in-out;
    }

    body.studio .tutorial-upcoming-studio.tutorial-pop {
        position: absolute;
        top: 110%;
        left: 0;
    }

    body.studio .tutorial-upcoming-studio.tutorial-pop:after {
        top: -8px;
        bottom: auto;
        left: 50%;
        border-top: 0;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #FFF;
        border-left: 8px solid transparent;
    }

    /* STEP 4 - Studios */
    body.studio #model-step4:checked ~ .container-fluid .tutorial-stats-studio {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step4:checked ~ .container-fluid #stats {
        position: relative;
        z-index: 22;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        transition: all 0.5s ease-in-out;
    }

    body.studio .tutorial-stats-studio.tutorial-pop {
        top: 102%;
        left: 0;
    }

    body.studio .tutorial-stats-studio.tutorial-pop:after {
        top: -7px;
        left: 20px;
    }

    /* STEP 5 - Studios */
    body.studio #model-step5:checked ~ .container-fluid .tutorial-tools-promo {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step5:checked ~ .container-fluid #tools_promo {
        position: relative;
        z-index: 22;
        background-color: #49BFF0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        color: #FFF;
        transition: all 0.5s ease-in-out;
    }

    body.studio.dark-theme #model-step5:checked ~ .container-fluid #tools_promo {
        background-color: #222;
    }

    body.studio .tutorial-tools-promo.tutorial-pop {
        top: -135px;
        left: 40px;
    }

    body.studio .tutorial-tools-promo.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }


    /* STEP 6 - Studios */
    body.studio #model-step6:checked ~ .container-fluid .tutorial-contests {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step6:checked ~ .container-fluid #tools_promo {
        position: relative;
        z-index: 22;
        background-color: #49BFF0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        color: #FFF;
        transition: all 0.5s ease-in-out;
    }

    body.studio.dark-theme #model-step6:checked ~ .container-fluid #contests {
        background-color: #222;
    }

    body.studio .tutorial-contests.tutorial-pop {
        top: 60px;
        left: 10px;
    }

    body.studio .tutorial-contests.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }


    /* STEP 7 - Studios */
    body.studio #model-step7:checked ~ .container-fluid .tutorial-flirt-u {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step7:checked ~ .container-fluid #flirt_u {
        position: relative;
        z-index: 22;
        background-color: #49BFF0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        color: #FFF;
        transition: all 0.5s ease-in-out;
    }

    body.studio.dark-theme #model-step7:checked ~ .container-fluid #flirt_u {
        background-color: #222;
    }

    body.studio .tutorial-flirt-u.tutorial-pop {
        top: -134px;
        left: 40px;
    }

    body.studio .tutorial-flirt-u.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }

    /* STEP 8 - Studios */
    body.studio #model-step8:checked ~ .container-fluid .tutorial-acc-settings {
        position: absolute;
        transition: all 0.5s ease-in-out;
        transform: scale(1);
    }

    body.studio #model-step8:checked ~ .container-fluid #acc_settings {
        position: relative;
        z-index: 22;
        background-color: #49BFF0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.6);
        color: #FFF;
        transition: all 0.5s ease-in-out;
    }

    body.studio.dark-theme #model-step8:checked ~ .container-fluid #acc_settings {
        background-color: #222;
    }

    body.studio .tutorial-acc-settings.tutorial-pop {
        top: -134px;
        left: 40px;
    }

    body.studio .tutorial-acc-settings.tutorial-pop:after {
        top: auto;
        bottom: -8px;
        left: 10%;
        border-top: 8px solid #FFF;
        border-right: 8px solid transparent;
        border-bottom: 0;
        border-left: 8px solid transparent;
    }

    #skip_tutorial {
        display: none;
    }

    #model-step1:checked ~ #skip_tutorial {
        display: inline-block;
    }
}

@media all and (max-width: 1024px) {
    .tutorial-overlay {
        display: none;
    }

    .tutorial-pop {
        display: none;
    }
}
