body
{
    background-color: #93bad9;
    margin:0;
    padding:0;
    font-family: Verdana;
    font-size: 12px;
    line-height: 16px;
    background-image: url(images/bodybackground.png);
    background-repeat: repeat;
}

div.main
{
    margin:0px auto;
    background-color: #ffffff;
    box-shadow: 0 0 10px #0173bc;
}

span.main {
    font-family: comic sans ms,sans-serif; 
    font-size: 14pt;
}

span.small {
    font-family: comic sans ms,sans-serif; 
    font-size: 12pt;
}

.main p {
    margin: 0;
}

@media (max-width: 680px) {
    div.main, div.hr
    {
        width: 100%;
    }
}

@media (min-width: 680px) {
    div.main, div.hr
    {
        width:1000px;
    }
}

.top
{
    /*   display: flex;
       align-content: center;
       width:100%;*/
    text-align: right;
}

.logo
{
    display: inline-block;
    padding: 8px 10px 8px 10px;
    margin-right: 40px;
}

.smalltitle {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 10px;
}

.title {
    font-size:20px;
    line-height: 30px;
}

.header
{
    display: inline-block;
    padding:10px;
    max-width: 40%;
    text-align: left;
}

.imfright {
    background-image: url('images/headerright.png');
    background-repeat: no-repeat;
    background-position: right;
    padding:0px;
    width: 330px;
    height: 170px;
    display: inline-block;
    margin-bottom: -14px;
    margin-top: -10px;
}

@media (max-width: 680px) {
    .logo {
        max-width: 40%;
        margin: 0;
    }

    .logo img {
        margin-bottom: 30%;
        max-width: 90%;
    }
    
    .imfright {
        margin: 0;
    }
}

@media (min-width: 680px) {
    .smalltitle {
        transform: translateY(-75%);
    }

    .title {
        transform: translateY(-45%);
    }
}

div.hr
{
    background-color: #CCCCCC;
    height:0px;
    margin:0px 10px;
}

.menu
{
    width:100%;
    background-color: #0173bc;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    height: 12%;
    font-size: 1em;
}

.menuitem {
    text-align: center;
    padding: 10px 0;
    margin: auto;
}

.menu a
{
    font-weight: bold;
    text-decoration: none;
    color: #f0f0f0;
    text-transform: uppercase;
}

.menu-main a:hover
{
    text-decoration: underline;
}


@media (max-width: 680px) {
    .menu {
        margin: 0;
        font-size: 16px;
        flex-direction: column;
    }

    .menu a {
        padding: 10px 0;
    }
}

@media (min-width: 680px) {
    .menu {    
        font-size: 12px;
    }
}


.mediagalery td
{
    text-align: center;
    vertical-align: middle;
    /*line-height: 1px;*/
    padding: 2px;
    font-style: italic;
    color: darkgray;
}

.page {
    display: flex;
}

.leftmenu
{
    width:150px;
    padding: 10px;
    vertical-align: top;
}

.leftmenu div
{
    border: solid #CCCCCC 1px;
    border-radius: 10px;
    width:130px;
    padding: 6px;
}

@media (max-width: 680px) {
    .leftmenu
    {
        width:95%;
    }

    .leftmenu div
    {
        width:90%;
    } 
}

.center
{
    vertical-align: top;
    padding: 10px 40px 10px 10px;
    max-width: 750px;
}

@media (max-width: 680px) {
    .center table {
        display: flex;
        overflow: hidden;
    }

    .center table tr {
        display: flex;
        flex-direction: column;
        min-width: min-content;
        /*  flex-shrink: 0;*/
    }

    .center table td,
    .center table th {
        display: block;
        padding: 0;
        margin: 0;
        max-width: 280px;;
    }
}

.leftmenu p
{
    margin:6px 0px 6px 10px;
}

.leftmenu a
{
    text-decoration: none;
    color: blue;
    font-size: 12px;
}

.leftmenu a:hover
{
    text-decoration: underline;
}

.bottom
{

}

.imgleft
{
    float: left;
    padding:5px;
}

.imgright
{
    float: right;
    padding:5px;
}

.pagetitle
{
    text-transform: uppercase;
    font-weight: bold;
    color: #0173bc;
}

.pagetitle a
{
    text-decoration: none;
    color: #0173bc;
}

.pagetitle a:hover
{
    text-decoration: underline;
}

.pagetitlehr
{
    margin: 5px 0 30px 0;
    background-color: #0173bc;
    height: 1px;
    width: 100%;
}

div.albumname
{
    color: #0173bc;
    font-style: italic;
    border-top: solid 1px #0173bc;
    border-bottom: solid 1px #0173bc;
}

div.albumheader
{
    display: inline;
    text-align: center;
    width: 250px;
    height: 250px;
    border: solid 1px #0173bc;
    margin: 5px;
}

.albums
{
    margin: 10px 0px;
}

.albums
{
    width: 260px;
    height: 260px;
    border: solid 1px lightgrey;
    text-align: center;
    padding: 5px; 
}

span.empty
{
    font-size: 0.95em;
    color: grey;
    font-style:  italic;
}

span.comment
{
    color: grey;
    font-style:  italic;
    font-size: 0.8em;
}

.border
{

}

.border td
{
    vertical-align: top;
    padding: 5px;
    border: solid 1px black;
}

.copy
{
    width:100%;
    vertical-align: top;
    display: flex;
    Justify-content: space-between;
    background-color: #0173bc;
}

.copy div
{
    font-size: 0.8em;
    color: #dddddd;
    padding: 6px;    
}
.copy div a
{
    font-size: 0.8em;
    color: #dddddd;    
}

p.eventheader
{
    font-size: 0.95em;
    text-decoration: none;
    color: #0173bc;    
}

p.eventheader a
{
    font-size: 0.95em;
    text-decoration: none;
    color: #0173bc;
}

p.eventheader a:hover
{
    text-decoration: underline;
}

p.eventdate
{
    font-size: 0.8em;
    color: grey;
}

ul.subsections a
{
    font-size: 0.95em;
    text-transform: upcase;
    color: #0173bc;
    text-decoration: none;
}

ul.subsections a:hover
{
    text-decoration: underline;
}



