/**
 * NC Curriculum Stylesheet - FRONTEND
 *
 * Frontend styles for NC Curriculum plugin.
 *
 * @package nc_curriculum
 * @since 1.0.0
 */

/* CE Program Styles */
table.ce-program,
table.ce-program table.poi-elective-table {
    width: 100%;
}

/* Set column widths */
table.ce-program thead tr th:nth-child(1),
table.ce-program tbody tr:not(.electives) td:nth-child(1),
table.poi-elective-table tbody tr td:nth-child(1) {
    width: 10%;
}
table.ce-program thead tr th:nth-child(2),
table.ce-program tbody tr:not(.electives) td:nth-child(2),
table.poi-elective-table tbody tr td:nth-child(2) {
    width: 35%;
}
table.ce-program thead tr th:nth-child(3),
table.ce-program tbody tr:not(.electives) td:nth-child(3),
table.poi-elective-table tbody tr td:nth-child(3) {
    width: 10%;
}
table.ce-program thead th,
table.ce-program tbody td:not(.poi-elective-group) {
    padding: 12px 10px;
}
table.ce-program thead th {
    background: rgba(0,0,0,0.1);
    font-size: 0.85rem;
    color: rgba(0,0,0,0.5);
    border: solid 2px #E5E5E5;
    font-weight: 600;
    text-align: left;
}
table.ce-program tbody tr.poi-required,
table.ce-program tbody tr.elective-group-heading {
    background: rgba(0,0,0,0.05);
}
table.ce-program tbody tr.poi-required th,
table.ce-program tbody tr.elective-group-heading th {
    padding: 10px;
    color: rgba(0,0,0,0.7);
    border: solid 2px #F2F2F2;
    border-top: solid 5px #fff;
    font-size: 0.85rem;
    text-align: left;
    font-weight: 600;
}
table.ce-program tbody tr.poi-required th:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0 2px 0 0;
}
table.ce-program > tbody > tr:not(.electives):not(.elective-group-heading):not(.poi-required):nth-child(odd) {
    background: rgba(37,0,88,0.1);
}
table.ce-program > tbody > tr:not(.electives):not(.elective-group-heading):not(.poi-required):nth-child(even) {
    background: rgba(37,0,88,0.02);
}
table.poi-elective-table > tbody > tr:nth-child(odd) {
    background: rgba(37,0,88,0.1);
}
table.poi-elective-table > tbody > tr:nth-child(even) {
    background: rgba(37,0,88,0.02);
}
table.ce-program > tbody > tr {
    border: solid 2px #E8E5EE;
}
table.ce-program tr.electives {
    border: solid 2px #E8E5EE;
}
table.ce-program tr.electives td.poi-elective-group p {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 0;
    color: rgba(0,0,0,0.7);
}
.program main table.ce-program p {
    margin: 0;
}

/* Media Queries */
@media only screen and (max-width: 640px) {


}
