/* ==========================================================
   RADIOPRESS SCHEDULE
========================================================== */


/* ==========================================================
   PROGRAMA ATUAL
========================================================== */

.rp-now {
    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    text-align: left;
}


/* PROGRAMA */

.rp-now h3 {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 38px;
    line-height: 1.2;

    font-weight: 700;
}


/* LOCUTOR */

.rp-now h4 {
    margin: 10px 0 0 !important;
    padding: 0 !important;

    font-size: 24px;
    line-height: 1.3;

    font-weight: 400;
}


/* HORÁRIO */

.rp-now h5 {
    margin: 8px 0 0 !important;
    padding: 0 !important;

    font-size: 16px;
    line-height: 1.3;

    font-weight: 500;
}


/* ==========================================================
   CORREÇÃO LIVE COMPOSER
   Remove fundo, padding e borda do módulo que contém
   o shortcode [radiopress_now]
========================================================== */

.dslc-module-DSLC_Shortcode:has(.rp-now) {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    box-shadow: none !important;
}


.dslc-module-DSLC_Shortcode:has(.rp-now) .dslc-module-shortcode {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* ==========================================================
   AO VIVO
   Shortcode: [radiopress_live]
========================================================== */

.rp-live {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: 9px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
}


/* BOLINHA */

.rp-live-dot {
    display: block !important;

    width: 10px !important;
    height: 10px !important;

    min-width: 10px !important;

    border-radius: 50% !important;

    background: #ffffff !important;

    animation: rp-live-pulse 1s ease-in-out infinite !important;
}


/* TEXTO AO VIVO */

.rp-live-text {
    color: #ffffff !important;

    font-size: 14px !important;

    line-height: 1 !important;

    font-weight: 700 !important;

    letter-spacing: 1px !important;

    text-transform: uppercase !important;
}


/* ANIMAÇÃO DA BOLINHA */

@keyframes rp-live-pulse {

    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .25;
        transform: scale(.72);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* ==========================================================
   PROGRAMAÇÃO COMPLETA
   Shortcode: [radiopress_schedule]
========================================================== */

.rp-schedule {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
}


/* ==========================================================
   BOTÕES DOS DIAS
========================================================== */

.rp-days {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    margin: 0 0 25px !important;
    padding: 0 !important;
}


.rp-day {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 0 !important;

    background: #ececec !important;

    color: #333333 !important;

    padding: 12px 20px;

    border-radius: 8px;

    cursor: pointer;

    font-family: inherit;

    font-size: inherit;

    font-weight: 700;

    line-height: 1.2;

    transition:
        background .25s ease,
        color .25s ease,
        transform .15s ease;

    -webkit-appearance: none;
    appearance: none;
}


/* HOVER */

.rp-day:hover {
    background: #29c5f4 !important;

    color: #ffffff !important;
}


/* DIA ATIVO */

.rp-day.active {
    background: #29c5f4 !important;

    color: #ffffff !important;
}


/* CLIQUE */

.rp-day:active {
    transform: scale(.97);
}


/* FOCO */

.rp-day:focus-visible {
    outline: 2px solid #29c5f4;

    outline-offset: 3px;
}


/* ==========================================================
   CONTEÚDO DOS DIAS
========================================================== */

.rp-day-content {
    width: 100%;

    margin: 0;
    padding: 0;
}


/* ==========================================================
   TABELA
========================================================== */

.rp-table {
    width: 100%;

    border-collapse: collapse;

    border-spacing: 0;

    margin: 0 !important;
    padding: 0 !important;
}


/* CABEÇALHO */

.rp-table th {
    background: #211e5c !important;

    color: #ffffff !important;

    padding: 15px;
	
	border-radius: 5px;

    text-align: left;

    font-weight: 700;
}


/* CÉLULAS */

.rp-table td {
    padding: 15px;

    border-bottom: 1px solid #ececec;

    vertical-align: middle;
}


/* HOVER DA LINHA */

.rp-table tbody tr:hover {
    background: #fafafa;
}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 768px) {

    /* PROGRAMA */

    .rp-now h3 {
        font-size: 28px;
    }

    .rp-now h4 {
        font-size: 20px;
    }

    .rp-now h5 {
        font-size: 15px;
    }


    /* DIAS */

    .rp-days {
        display: grid;

        grid-template-columns:
            repeat(4, 1fr);

        gap: 8px;
    }


    .rp-day {
        width: 100%;

        padding: 11px 8px;

        font-size: 14px;
    }


    /* TABELA */

    .rp-table {
        font-size: 14px;
    }


    .rp-table th,
    .rp-table td {
        padding: 12px 10px;
    }

}


/* ==========================================================
   CELULAR PEQUENO
========================================================== */

@media (max-width: 480px) {

    .rp-days {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .rp-day {
        padding: 12px 8px;
    }


    .rp-live {
        gap: 8px !important;
    }


    .rp-live-dot {
        width: 9px !important;
        height: 9px !important;

        min-width: 9px !important;
    }


    .rp-live-text {
        font-size: 13px !important;
    }


    .rp-table th,
    .rp-table td {
        padding: 10px 8px;
    }

}


/* ==========================================================
   ACESSIBILIDADE
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .rp-live-dot {
        animation: none !important;
    }

    .rp-day {
        transition: none;
    }

}