body.db-cpreview-open {
    overflow: hidden;
}

.cpreview-button {
    cursor: pointer;
    display: none !important;
    padding-inline: 10px !important;
}
.cpreview-button-container:hover .cpreview-button {    
    display: inline-block !important;
}
.cpreview-button i {
    font-size: 10px;
    font-weight: bold;
    color: white;
}

#db-cpreview.dashboard-cpreview-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    overflow-y: auto;
}

#db-cpreview .ct-container {
    background-color: var(--preferences-content-bg-color);
    width: 100%;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 15px;    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

#db-cpreview .small {
    font-size: 12px;
}
#db-cpreview .legend {
    opacity: 0.5;
}
#db-cpreview .hidden,
#db-cpreview .hidden-init {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

#db-cpreview .ct-close-button {
    position: absolute;
    cursor: pointer;
    right: -15px;
    top: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 1;
    color: var(--preferences-content-text-color);
    background: var(--preferences-content-bg-color);
    box-shadow: 2px 0px 6px rgba(0, 0, 0, 1);
}
#db-cpreview .ct-close-button i {
    font-size: 14px;
    opacity: 0.8;
}

#db-cpreview .ct-header-container {
    position: relative;
    min-height: 175px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
#db-cpreview .ct-header {
    overflow: hidden;
}
#db-cpreview .ct-header.ct-header-skeleton {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}
#db-cpreview .ct-header .curso-descricao {
    padding-top: 10px;
    line-height: 130%;
    min-height: 28px;
}
#db-cpreview .infos-content {
    margin: 0 30px 30px;
}
#db-cpreview .ct-content-container {
    position: relative;
    padding: 30px;
    overflow: hidden;
    gap: 20px;
}
#db-cpreview .ct-content-background,
#db-cpreview .ct-content-background::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#db-cpreview .ct-content-background {
    z-index: -1;
}
#db-cpreview .ct-content-background {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(35px);
    transition: all .3s ease-in-out;
}
#db-cpreview .ct-content-background::before {
    content: "";
    backdrop-filter: blur(185px);
    -webkit-backdrop-filter: blur(185px);
}

#db-cpreview .ct-content-infos,
#db-cpreview .ct-content-buttons {
    position: relative;
    z-index: 1;
    color: var(--preferences-content-text-color);
}
#db-cpreview .button-comprar {
    text-shadow: none;
}

#db-cpreview .ct-imagem {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 3px 3px rgba(36, 30, 30, 0.3);
    margin-right: 30px;
}
#db-cpreview .ct-content-infos .ct-imagem {
    width: 200px;
    min-width: 200px;
    height: 113px;
    background-color: var(--preferences-subcontent-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
#db-cpreview .ct-imagem img {
    max-height: 110px;
}

#db-cpreview .ct-content h1 {
    font-size: 18px;
    line-height: 130%;
    font-weight: bold;
}
#db-cpreview .ct-content-itens { 
    margin-top: 15px;
    align-items: normal;
    min-height: 48px;
    row-gap: 10px;
}
#db-cpreview .ct-content-item {
    padding: 10px;
    border-radius: 7px;
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4);
    margin-right: 5px;
}
#db-cpreview .ct-content-item p {
    margin-bottom: 5px;
}
#db-cpreview .ct-content-item .progress {
    margin: 0;
}

#db-cpreview .avaliacao {
    background-color: var(--preferences-subcontent-bg) !important;
}
#db-cpreview .bars {
    background-color: var(--preferences-subcontent-bg) !important;
}
#db-cpreview .estrelas {
    gap: 2px;
}
#db-cpreview .estrelas i {
    opacity: 0.5;
    font-size: 14px;
}
#db-cpreview .estrelas i.active {
    opacity: 1;
    color: #f3cf1f;
    font-size: 14px;
}

#db-cpreview .ct-content-buttons .ct-button {
    gap: 10px;
    padding: 15px;
    font-size: 14px;
    border-radius: 7px;
    min-height: 48px;
}
#db-cpreview .ct-content-buttons .button-acessar {
    background: var(--preferences-content-bg-button);
    color: var(--preferences-content-button-text-color);
}

#db-cpreview .ct-conteudo {
    padding: 30px;
    border-top: 2px solid var(--preferences-content-bg-input);
}
#db-cpreview .ct-conteudo * {
    color: var(--preferences-content-text-color);
    line-height: 130%;
}
#db-cpreview .ct-conteudo > h2 {
    font-size: 18px;
    padding-bottom: 10px;
}

#db-cpreview .ct-modulos-container {
    min-height: 175px;
    position: relative;
}
#db-cpreview .ct-conteudo .modulo-container {
    margin-block: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
#db-cpreview .ct-conteudo .modulo-header {
    cursor: pointer;
    gap: 7px;
    padding: 20px;
}
#db-cpreview .ct-conteudo .modulo-header-title h3 {
    font-size: 14px;
}
#db-cpreview .ct-conteudo .modulo-header.active figure {
    transform: rotate(180deg);
}
#db-cpreview .ct-conteudo .modulo-content {
    background: rgba(var(--preferences-content-text-color-rgb), 0.02);
}
#db-cpreview .ct-conteudo .modulo-aula {
    border-top: 1px solid var(--preferences-subcontent-bg);
    padding: 15px;
}
#db-cpreview .ct-conteudo .modulo-aula.disabled {
    pointer-events: none;
}
#db-cpreview .ct-conteudo .modulo-aula figure {
    position: relative;
    width: 100px;
    min-width: 100px;
    height: 56px;
    background-color: rgba(var(--preferences-content-text-color-rgb, 255, 255, 255), 0.06);
    background-position: center center;
    background-size: cover;
    border-radius: 4px;
    margin-right: 15px;
    overflow: initial;
}
#db-cpreview .ct-conteudo .modulo-aula.buyActive figure::before {
    content: "\f00c";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-family: "Font Awesome 5 Pro";
    background-color: #2E2E2E;
    top: 50%;
    margin-top: -8px;
    left: -8px;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    opacity: 0.8;
}
#db-cpreview .ct-conteudo .modulo-aula.conclued:not(.disabled) figure::before {
    background: #229754;
    opacity: 1;
}
#db-cpreview .logo-club {
    height: 100%;
    opacity: 0.08;
    filter: grayscale(1);
}
#db-cpreview .logo-club img {
    max-width: 40px;
    width: 100%;
    height: auto;
    object-fit: cover;
}
#db-cpreview .ct-conteudo .modulo-aula-content h4 {
    font-size: 14px;
}
#db-cpreview .ct-conteudo .modulo-aula-content {
    font-size: 10px;
    padding: 4px 1px 1px;
    margin-right: 10px;
}

#db-cpreview .background-close.db-cpreview-close {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

/** ANIMAÇÕES */
#db-cpreview.dashboard-cpreview-container {
    right: 0;
    bottom: 0;
    visibility: hidden;
    opacity: 0;
    will-change: opacity;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0 20px;    
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);    
    background-color: rgba(0, 0, 0, 0.75);
    overflow-x: hidden;
}
#db-cpreview.dashboard-cpreview-container.show {
    visibility: visible;
    opacity: 1;
}

#db-cpreview .ct-container {
    position: relative;
    background-clip: padding-box;
    opacity: 0;
    transform: scale(0.8) translateY(100%);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}
#db-cpreview.show .ct-container {
    opacity: 1;
    transform: scale(1) translateY(0);
}

#db-cpreview .ct-header .ct-video {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

#db-cpreview .ct-modulos,
#db-cpreview .ct-conteudo .modulo-header figure,
#db-cpreview .ct-content-container,
#db-cpreview .ct-content-container *,
#db-cpreview .ct-header.ct-content-element,
#db-cpreview .ct-header.ct-content-element .ct-video,
.cpreview-button,
#db-cpreview .ct-header .ct-video
#db-cpreview .ct-header .ct-video * {
    transition: all .3s ease-in-out;
}

#db-cpreview .ct-modulo-pattern .modulo-container {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#db-cpreview .skeleton-loading p,
#db-cpreview .skeleton-loading h3,
#db-cpreview .skeleton-loading h1,
#db-cpreview .skeleton-loading h2,
#db-cpreview .skeleton-loading h4 {
    height: 18px;
    min-width: 10vw;
    max-width: 100%;
    background: var(--preferences-subcontent-bg);
    color: transparent;
    position: relative;
    overflow: hidden;
}
#db-cpreview .skeleton-loading h3::before,
#db-cpreview .skeleton-loading p::before,
#db-cpreview .skeleton-loading h4::before, 
#db-cpreview .skeleton-loading h2::before, 
#db-cpreview .skeleton-loading h1::before, 
#db-cpreview .skeleton-loading .ct-imagem::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    transition: all .3s ease-in-out;
    animation: slidein 3s infinite;
    background: var(--preferences-subcontent-bg);
    opacity: 0.5;
}

@keyframes slidein {
    from {
      transform: translateX(-100%);
    } to {
      transform: translateX(100%);
    }
}

/** INICIALIZAÇÃO */
#db-cpreview .db-preview-content {
    transition: height 0.5s ease;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    #db-cpreview .ct-content-infos {
        flex-direction: column;
        gap: 15px;
    }

    #db-cpreview .ct-header .ct-imagem {
        display: none;
    }

    #db-cpreview .ct-conteudo,
    #db-cpreview .ct-content-container {
        padding: 15px;
    }
    #db-cpreview .infos-content {
        margin: 0 15px 15px;
    }

    #db-cpreview .ct-conteudo .modulo-aula .ct-imagem {
        display: none;
    }
}