@media screen and (max-width: 600px)
    {
    #outerWrapper
        {
        width: 100%;
        max-width: 100%;
        }

    #content
        {
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        }
    }
    
.curvy
    {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin: 10px;
    }
    
#content .curvy > table.form > tbody > tr > td > div > table.form > tbody > tr > td
    {
    display: block;
    width: 100%;
    box-sizing: border-box;
    }
    
#content .curvy img.photo
    {
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    }
    
#content .curvy
    {
    width: auto;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    }

#content .curvy table.form
    {
    max-width: 100%;
    box-sizing: border-box;
    }
    
#content > table.form
    {
    table-layout: fixed;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    }
    
#content > img[src="/images/spacer.gif"]
    {
    display: none;
    }
    
#content .pageLinks
    {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    }

#content .pageLinks a
    {
    display: inline-block;
    margin: 3px 4px;
    }
    
#content > table.form > tbody > tr > td > table
    {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    }

#content .pageLinks
    {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    }
    
#content select
    {
    max-width: 100%;
    box-sizing: border-box;
    }   
    
#content form[name="search"] table.form tr
    {
    display: block;
    }

#content form[name="search"] table.form td
    {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 0;
    }
    
#content form[name="search"] table.form
    {
    margin-left: 0 !important;
    width: 100%;
    }

#content form[name="search"] table.form td
    {
    padding: 2px 0;
    text-align: left;
    }

#content form[name="search"] table.form td:has(> select),
#content form[name="search"] table.form td:has(> input)
    {
    display: block;
    }

#content form[name="search"] table.form td:not(:has(select, input))
    {
    display: none;
    }
    
#content > table.form > tbody > tr > td > table > tbody > tr:nth-child(2) > td
    {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    }
    
#content > table.form > tbody > tr > td > table > tbody > tr:nth-child(2) > td:nth-child(2)
    {
    display: none;
    }
    
#content table.form
    {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    box-sizing: border-box;
    }
    
#content .photo
    {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
    }
    
#header
    {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    }

#header > div
    {
    width: 100%;
    text-align: center;
    }

#header img
    {
    display: block;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    }
