.textpage a {
    color: #0000ff !important;
    text-decoration: underline !important;
}

.textpage h1 {
    text-align: left;
}

.textpage-sidebar {
    background-color: #fff;
    padding: 30px 20px;

    box-shadow: 0 8px 16px 0 #0026641F;
    border-radius: 24px;
}

.textpage-sidebar .btn {
    margin: 0 0 10px 0;
    display: block;
    text-align: left;
    height: auto;
    line-height: 20px;
    padding: 10px 30px;
}

.textpage-sidebar .btn:last-child {
    margin: 0;
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .textpage-sidebar {
        margin: 0 0 30px 0;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .textpage-sidebar {
        margin: 0 0 30px 0;
        padding: 15px 15px;
    }

    .content-nav {
        max-height: 100px;
        overflow: hidden;
        position: relative;
    }

    .content-nav.content-opened {
        max-height: 100%;
    }

    .content-nav:after {
        content: "";
        background: linear-gradient(to top, rgb(255, 255, 255), rgba(0, 0, 0, 0) 50px);
        height: 50px;
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
    }

    .content-nav.content-opened:after {
        display: none;
    }

    .textpage-sidebar .link.toggle-content {
        margin: 10px auto 0;
        display: table;
    }

    .textpage-sidebar .link.toggle-content:after {
        -webkit-transform: rotate(90deg);
            -ms-transform: rotate(90deg);
                transform: rotate(90deg);
    }

    .textpage-sidebar .content-nav.content-opened + .link.toggle-content:after {
        -webkit-transform: rotate(-90deg);
            -ms-transform: rotate(-90deg);
                transform: rotate(-90deg);
    }
}

