.tcw-flipbook {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tcw-flipbook input {
    display: none;
}

.tcw-flipbook-pagination {
}

@media all and (max-width: 768px) {
    .elementor-pagination-behavior-scroll .tcw-flipbook-pagination {
        white-space: nowrap;
        overflow: auto;
    }

    .elementor-pagination-behavior-collapse .tcw-flipbook-pagination {
        text-align: center;
    }

    .tcw-flipbook-pagination-button.tcw-flipbook-pagination-button {
        padding: 1rem;
        margin: .2rem;
        font-size: 1.2em;
    }
}

.tcw-flipbook-pagination-button {
    border: 0;
    background: none;
    color: currentColor;
    padding: 10px;
    margin: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
    outline: none !important;
}

.tcw-flipbook-pagination-button:hover,
.tcw-flipbook-pagination-button:active,
.tcw-flipbook-pagination-button:focus,
.tcw-flipbook-pagination-button.is-active {
    background: var(--flipbook-color-1, #f26600);
    color: var(--flipbook-color-2, #fff);
}

.tcw-flipbook .content {
    width: 100%;
    clear: both;
    display: flex;
}

.tcw-flipbook .image {
    padding-top: 25.25%;
    width: 40%;
    flex-shrink: 0;
    background: grey no-repeat center;
    background-size: cover;
}

.tcw-flipbook .quote {
    background: #eee;
    width: 64%;
    align-self: flex-start;
    position: relative;
    left: -3%;
    flex-shrink: 0;
    top: 4%;
    padding: 60px;
    color: #525252;
    font-size: 19px;
    line-height: 1.8;
}

.tcw-flipbook .attribution {
    color: #858585;
    font-size: 16px;
    margin-top: 30px;
}

.tcw-flipbook .links {
    margin-top: 30px;
    font-size: 16px;
}

.tcw-flipbook .links a {
    margin-right: 30px;
}

.tcw-flipbook svg {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 30px;
}

.tcw-flipbook .content:not(.is-active) {
    display: none;
}

.tcw-flipbook .content.is-active {
    display: flex;
}

@media only screen and (max-width: 800px) {
    .tcw-flipbook .content {
        flex-direction: column;
    }

    .tcw-flipbook .image {
        width: 100%;
        padding-top: 46.25%;
    }

    .tcw-flipbook .quote {
        width: 98%;
        left: 1%;
        top: -40px;
    }
}
