

.m3calendar {
    max-width: 600px;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ddd;
    padding: 0.6em 0.8em;
}

.cal-header * {
    user-select: none;
}

.cal-nav {
    cursor: pointer;
}

.cal-nav svg {
    width: 1em;
    height: 1em;
    display: flex;
}

.m3calendar table {
    border-collapse: collapse;
}

.m3calendar thead th {
    padding: 0.3em;
    color: #fff;
    background-color: #1d2327;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid #bbb;
    width: 14.285714%;
}

.m3calendar tbody td {
    padding: 0.3em;
    background-color: #eee;
    text-align: center;
    border: 1px solid #bbb;
    opacity: 0.2;
}

.m3calendar thead th, .m3calendar tbody td {
    user-select: none;
} 

.m3calendar tbody td.noempty {
    opacity: 1;
}


.m3calendar tbody td.today, .m3calendar tbody td.selected, .m3calendar tbody td.selected-ext {
    padding: 0;
}

.m3calendar tbody td.today .day-inner {
    border: 0.3em solid #888;
}

.m3calendar tbody td.selected .day-inner {
    border: 0.3em solid #000;
}

.m3calendar tbody td.selected-ext .day-inner {
    border: 0.3em solid #555;
}

.m3calendar tbody td.noempty {
    cursor: pointer;
}

.m3calendar tbody td.noempty.conf_inm {
    background-color: #90be6d;
}

.m3calendar tbody td.noempty.suj_disp {
    background-color: #f9c74f;
}

.m3calendar tbody td.noempty.no_disp, .m3calendar tbody td.noempty.vta_cerrada {
    background-color: #f94144;
    color: #fff;
    cursor: auto;
}

.m3calendar tbody td.noempty.preselect {
    /*
    background-color: var(--wp--preset--color--accent);
    color: #fff;
    */
}



table.referencias {
    border-collapse: collapse;
    margin: 1em 0 0;
}

table.referencias th, table.referencias td {
    padding: 4px 8px;
    line-height: 1;
    border: none;
}

table.referencias th {
    border: 2px solid #000;
}

#categorias table.referencias {
    margin-top: 5em;
}

table.referencias tr > * {
    height: 2.5em;
}

.reservas-pqt table.referencias, .reservas-circ table.referencias {
    display: none;
}

.reservas-pqt[data-active-step="seleccion-categorias"] table.referencias, .reservas-pqt[data-active-step="seleccion-fecha-in"] table.referencias {
    display: table;
}

.reservas-circ[data-active-step="seleccion-fecha"] table.referencias, .reservas-circ[data-active-step="seleccion-categoria"] table.referencias {
    display: table;
}




.bs-inner table.referencias tbody {
    display: flex;
    flex-direction: column;
}

.bs-inner table.referencias tbody tr {
    display: flex;
}

.bs-inner table.referencias th {
    background-color: #f7f7f7;
    padding: 0;
    border: none;
}

.bs-inner table.referencias th span {
    width: 30px;
    height: 30px;
    display: block;
    border-radius: 30px;
    background-color: yellow;
}

.bs-inner p.pqt-nombre {
    margin-bottom: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.bs-inner table.referencias th.conf_inm span {
    background-color: #90be6d;
}

.bs-inner table.referencias th.suj_disp span {
    background-color: #f9c74f;
}

.bs-inner table.referencias th.no_disp span, .bs-inner table.referencias th.vta_cerrada span {
    background-color: #f94144;
    color: #fff;
}

.bs-inner table.referencias td {
    font-size: 0.8em;
    line-height: 1;
    display: flex;
    align-items: center;
}


