@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

* {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #111;
}

a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration: none;
}

div {
    margin-bottom: 1rem;
}

.container {
    margin-bottom: 0;
}

.container,
.header,
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.header {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 2rem;
}

h1 {
    font-weight: 800;
    font-size: 5rem;
    margin: 1rem;
    text-align: center;
}

h2 {
    font-weight: 200;
    font-size: 1.5rem;
    margin: 1rem 1rem 2rem 1rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 82%;
}

.search {
    width: 30%;
}

input[type="search"] {
    width: 100%;
    padding: .5rem;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 82%;
}

table {
    border-collapse: collapse;
    margin-bottom: 2rem;
    white-space: nowrap;
}

.ccie-tables {
    display: flex;
    align-items: center;
    width: 100%;
    overflow-x: auto;
}

.summary-tables {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

th {
    background-color: #f1f1f1;
}

th,
td {
    border: 1px solid #111;
    padding: 0.5rem;
    text-align: left;
}

tr:hover {
    background-color: #f1f1f1;
}

table#all-records-table,
table#filtered-records-table {
    width: 100%;
}

table#filtered-records-table {
    display: none;
}

table#all-records-table th:hover,
table#filtered-records-table th:hover {
    cursor: pointer;
}

table#all-records-table th:nth-child(1),
table#filtered-records-table th:nth-child(1) {
    width: 5%;
}

table#all-records-table th:nth-child(2),
table#filtered-records-table th:nth-child(2) {
    width: 25%;
}

table#all-records-table th:nth-child(3),
table#filtered-records-table th:nth-child(3) {
    width: 10%;
}

table#all-records-table th:nth-child(4),
table#filtered-records-table th:nth-child(4) {
    width: 10%;
}

table#all-records-table th:nth-child(5),
table#filtered-records-table th:nth-child(5) {
    width: 20%;
}

table#all-records-table th:nth-child(6),
table#filtered-records-table th:nth-child(6) {
    width: 15%;
}

table#all-records-table th:nth-child(7),
table#filtered-records-table th:nth-child(7) {
    width: 15%;
}

table#summary-table,
table#certification-stats-table {
    width: 40%;
}

table#summary-table th:nth-child(1),
table#certification-stats-table td:nth-child(1) {
    width: 50%;
}

table#summary-table th:nth-child(2),
table#certification-stats-table td:nth-child(2) {
    width: 50%;
}

.footer {
    width: 100%;
    margin-bottom: 0;
    background-color: #ffee58;
}

.footer p {
    font-weight: 100;
    width: 82%;
}

.footer p:nth-child(1) {
    margin-top: 3rem;
}

.footer p:nth-child(2) {
    margin-bottom: 3rem;
}

@media only screen and (max-width: 992px) {

    h1 {
        font-size: 3rem;
    }

    .search {
        width: 100%;
    }

    .hide-inactives {
        display: none;
    }

    table#summary-table,
    table#certification-stats-table {
        width: 100%;
    }
}