.tour {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    width: auto;
    height: 100%;
    z-index: 300 !important;
    color: black;

    margin: 0 auto;
}

.tour h1 {
    text-align: center;
}

.tour .typo-tione {
    text-align: start;
}

.active_tour {
    z-index: 200 !important;
}

.highlighted {
    transition: 200ms;
    outline: solid rgba(0, 0, 0, .5) 10000px;
    z-index: 200 !important;
    /*position: relative;*/
}

.tour-content {
    background-color: #fefefe;
    border-radius: 20px;
    border: 1px solid #888;

    margin-left: 10px;
    margin-right: 10px;
}

.tour-body {
    position: relative;
    padding: 3rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.tour-body .tour-close:before {
    content: '';
    position: absolute;

    top: 20px;
    right: 30px;

    cursor: pointer;

    background-image: url(../img/icons/close.svg);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: center;

    width: 20px;
    height: 20px;
}

.start_tour .tour-content {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15%;
    width: 700px;
    right: 0;
}

.tour-content .tour-content_buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;

}

.tour-content a {
    text-decoration: underline;
    color: #0578BE;
}

.tour-content a:hover {
    color: #04629b;
}

.tour-content .tour-content_buttons .close, .tour-content .tour-content_buttons .prev {
    background-color: #d7d7d7;
    color: black;
    border: #d7d7d7;
}

.rounded {
    counter-reset: li;
    list-style: none;
    font: 16px "Trebuchet MS", "Lucida Sans";
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    padding: 0 0 0 20px;
}

.rounded span {
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    margin: .5em 0;
    background: #DAD2CA;
    color: #444;
    text-decoration: none;
    border-radius: .3em;
    transition: .3s ease-out;
    cursor: pointer;
}

.rounded span:hover {
    background: #E9E4E0;
}

.rounded span:hover:before {
    box-shadow: 0 1px 15px 1px #0578BE !important
}

.rounded span:before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em;
    background: #0578BE;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid white;
    color: white;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
}

@media (min-width: 1000px) {
    .tour-content {
        width: 630px;
    }
}

@media (max-width: 896px) {
    .tour-content {
        padding: 1rem;
    }

    .tour-content, .start_tour .tour-content {
        width: 95%;
    }
}

@media (max-width: 596px) {
    .tour-content .tour-content_buttons {
        flex-direction: column;
    }

}
