@import url('https://fonts.googleapis.com/css2?family=Catamaran&display=swap');

@media only print {
    .content::before{
        display: block;
        text-align: center;
        content: "ocrcompsci.pages.dev"; 
        font-size: 25px;
    }
    header {
        display: none !important;
    }
    .content{
        min-height: unset !important;
        margin: 0 0 20px 0 !important;
    }
    .footer {
        page-break-inside: avoid;
        position: relative !important;
    }
}

@media only screen and (min-width: 1100px) {
    .header-iframe {
        height: 235px;
    }
}

@media only screen and (max-width: 1100px) {
    .header-iframe {
        height: 260px;
    }
}

.content div {
    margin-bottom: 25px;
}

p {
    margin: 10px 0;
}

header {
    height: 90px;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    min-width: 550px;
}

header:not(:hover) .header-iframe {
    pointer-events: none;
}

header:hover .header-iframe {
    pointer-events: all;
}

.header-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: none;
    width: 100%;
}  

a {
    text-decoration: none;
}

body {
    font-family: 'Catamaran', sans-serif;
    position: absolute;
    width: 100%;
    margin: 0;
}

.content {
    margin: 110px auto 0;
    padding: 0 20px;
    min-width: 510px;
    min-height: 850px;
    
}

.table-aftertext {
    margin-top: 2px;
}

ul {
    padding: 0 23px; 
}

table {
    border-collapse: collapse;
  }

td {
    padding: 4px 5px; 
    vertical-align: top;
}

.two-columns td {
    width: 50%; 
}

.three-columns td {
    width: 33.3%; 
}

th {
    padding: 5px;
    font-weight: bold;
}

.no-bottom-margin{
    margin-bottom: 0;
}

.no-top-margin, ul {
    margin-top: 0;
}

.clear-header-cell {
    border-top: 0;
    border-left: 0;
} 

.text-align-center {
    text-align: center;
}

table ul {
    margin: 0 0 0 20px; 
    padding: 5px; 
}

.index-main-topic {
    font-size: calc(15px + 0.25vw);
}

.index-subtopic {
    font-size: calc(14px + 0.25vw);
    font-weight: bold;
    border-bottom: 0;
    padding: 5px;
    margin-top: 0;
    margin-bottom: 0;
}

td .index-subtopic:not(:first-of-type) {
    margin-top: 10px;
}

table ol {
    margin: 0;
    padding-left: 20px;
    font-size: calc(13px + 0.15vw);
}

table ol ul {
    list-style-type: disc;
    padding-top: 0;
}
.no-bottom-border {
    border-bottom: 0;
}

.no-bullet {
    list-style: none;
}

.footer {
    box-sizing: border-box;
    width: 100%;
    border: none;
    position: absolute;
    top: 100%;
    min-width: 550px;
}

.homepage-resource-div {
    padding: 10px;
    width: fit-content;
    border-radius: 10px;
    margin-top: 10px;
}
