/*
   This file defines the layout formatting for the web site.
*/

html,body {
    font-family: Verdana;
    background: #fcfcff;
    color: #2e3436;
    margin:0;
    font-size: 16px;
}

#canvas {
    width: 100%;
}

a {
    color: #204a87;
}

a:visited {
    color: #5c3566;
}

a:hover {
    color: #3465a4;
}

h2 {
    color: #3465a4;
    font-weight: bold;
    font-size: 200%;
    margin: 0px;
}

h3 {
    color: #3465a4;
    font-weight: bold;
}

#sb {
    color: #3465a4;
    width: 17%;
    float: left;
    height: 100%;
}

#sb ul {
    margin: 0;
    padding: 0;
}

#sb li {
    list-style: none;
}

.sb-ref {
    display: block;
    background: #204a87;
    margin: 3px;
    padding: 10px;
    font-weight: bold;
    color: #d3d7cf;
    text-decoration: none;
    font-size: 90%;
}

.sb-ref:visited {
    color: #d3d7cf;
}

.sb-ref:hover {
    background: #729fcf;
    color: #204a87;
}

.sb-img {
    display: block;
    background: #204a87;
    margin: 3px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 10px;
    font-weight: bold;
    color: #d3d7cf;
    text-decoration: none;
    font-size: 90%;
    min-height: 60px;
}

.sb-img:visited {
    color: #d3d7cf;
}

.sb-img:hover {
    background: #729fcf;
    color: #204a87;
}

.sb-button-img {
    float: left;
    padding-right: 5px;
}

.sb-title {
    display: block;
    background: #eeeeec;
    margin: 3px;
    padding: 10px;
    font-weight: bold;
    color: #204a87;
    text-decoration: none;
    border: 2px solid #204a87;
    font-size: 90%;
}

.sb-title:hover {
    background: #7eb0e6;
}

.sb-title:visited {
    color: #204a87;
}

.sb-here {
    background: #275ba6;
    margin: 3px;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 90%;
}

.subheading {
    color: #5f615c;
    font-size: 90%;
}

#main {
    height: 100%;
    width: 80%;
    float: right;
    padding: 5px;
    padding-right: 20px;
}

#main li {
    padding: 1px;
    margin-bottom: 0.5em;
}

#header-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#main-title-text {
    position:absolute;
    top: 50px;
    left: 20px;
    color: white;
    font-size: 250%;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.5);
    padding: 20px;
}

.blue-text {
    color: #204a87;
    font-size: 120%;
}

#main td {
    padding: 3px;
    vertical-align: top;
}

#footer {
    clear: both;
}

.imgfloat {
    float: right;
    margin: 5px;
    margin-left: 10px;
    padding: 3px;
    border: 1px solid #3465a4;
    width: 250px;
}

.floated-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.img-float-left {
    margin-left: 0px;
    margin-right: auto;
    max-width: 600px;
    padding: 3px;
    background: #dddde6;
}

.img-caption {
    font-size: 80%;
    color: #203f66;
}

.img-caption {
    font-size: 75%;
    color: #3465a4;
}

.members-table {
    border: 0px;
    font-size: 100%;
    width: 90%;
}

.member-photo {
    float: left;
    margin-top: 10px;
    margin-right: 7px;
}

.member-data {
    margin-top: 8px;
    display: inline-block;
}

.top-level-list {
    padding: 5px;
    margin-left: 1em;
}

@media only screen and (max-width: 850px) {
    #sb { width: 100%; }
    .sb-ref { padding: 3px; }
    .sb-title { padding: 3px; }
    .sb-img {padding-top: 3px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; min-height: 0px; }
    .sb-button-img { display: none; }
    #main { width: 90%; }
    #header-image { max-height: 106px; }
    #main-title-text { font-size: 150%; top: 15px; left: 10px; padding: 10px; max-height: 100px; }
  }
}

@media only screen and (max-width: 500px) {
    .alumni-box {
	width: 100% !important;
	margin-bottom: 4vw !important;
    }
}

.alumni {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    min-width: 256px;
    padding: 0;
}

.alumni-box {
    float: left;
    width: 160px;
    margin: 0px;
    padding: 0px;
    min-height: 160px;
    font-size: 88%;
}

.alumni-box p {
    margin-top: 5px;
}
