:root{
    --bam_color: #1B5E20; /* Dark Green */
    --link_color: white; /* Forest Green */
    --link_highlight_color: #5E1B59; /* Complementary Color */
    
    --bg_color: white;
    --width: 800px;
}

.disabled {
    color: grey;
}

@font-face{
    font-family: Sophia;
    src: url('/fonts/sofiapro-light.otf');
    font-display: swap;
}

@font-face{
    font-family: Comic;
    src: url('/fonts/comic.ttf');
}

body{
    background-color: var(--bg_color);
    font-family: Sophia;
    font-size: 1.2em;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

div.header, div.section, div.footer{
    width: 100%;
    max-width: var(--width);
    margin-left: auto;
    margin-right: auto;

}

a img{
    border:none;
}

pre{
    white-space:pre-wrap;
}


a:visited, a:link {
    text-decoration: none;
    color: var(--bam_color);
}

a:hover{
   color: var(--bam_color);
}


div.header{
    font-weight: bold;
    font-size: 2em;
    color: var(--bam_color);
    background-position: center;
}

div.header > span{
    background-color: rgba(255, 255, 255, 0.5);
}

div.header .current_page{
    color: var(--bam_color);
    -webkit-text-stroke: 1px var(--bam_color);
}


div.header img, div.header a, div.header span{
    vertical-align: bottom;
}

div.header a{
    padding: 5px;
}

div.header a, div.header a:visited, div.header a:link {
    color: var(--link_color);
    -webkit-text-stroke: 1px var(--bam_color);
}

div.header a:hover {
   color: var(--link_highlight_color);
   -webkit-text-stroke: 1px var(--link_highlight_color);
}


div.section.flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

div.section.flex:has(div.person) {
    padding: 50px 0;
}

div.section h1{
/*    display: inline-block;*/
    font-size:1.3em;
    color: var(--bam_color);
}

div.section p{
    display: inline-block;
}

div.section > img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

div.person {
    flex: 1 1 30%;
    margin: 0 1.5%;
    box-sizing: border-box;
    text-align: center;
}

div.person img {
    max-width: 100%;
    height: auto;
}

div.person div{
    text-align-last: left;
}

div.person div.title, div.person div.name{
    text-align: center;
    text-align-last: center;
}

footer{
    font-weight: bold;
    margin-top: auto;
}

footer table{
    width: var(--width);
    max-width: var(--width);
    text-align: center;
    table-layout: fixed;
    margin-left: auto;
    margin-right: auto;
}

table{
    border-collapse:collapse;
}
td,th{
    padding:2px;
    vertical-align:top;
}
table.w_border td, table.w_border th{border:1px solid black;}
table.w_border td.hidden, table.w_border th.hidden{
    border-style:none;
    background:none;
}
table.standard th{
    text-align:left;
    padding-right:5px;
    white-space:nowrap;
}
table.standard td{
    padding-right:5px;
}
table.right td{
    text-align:right;
}

#input input{
    width: 50px;
    text-align: right;
}

#pricing tr:first-child th{
    color: var(--bam_color);
}

#pricing tr th:first-child{
    text-align: left;
    font-weight: normal;
}

#pricing tr:nth-child(n+2) td:nth-child(n+2){
    text-align: right;
}

#pricing #unit_price td{
    color: var(--bam_color);
}

#pricing td.note{
    font-style: italic;
}

.onlyprint{
    display:none;
    visibility:hidden;
}
@media print
{
    .menu{display:none;}
    .noprint{display:none;}
    .onlyprint{
        display:inline;
        visibility:visible;
    }
    input{display:none;}
}

@media (max-width: 768px) {
    div.person {
        flex: 1 1 45%;
        margin: 2.5%;
    }
}

@media (max-width: 480px) {
    div.person {
        flex: 1 1 100%;
        margin: 5% 0;
    }
}

div.section:first-of-type {
    text-align: left;
}
