
body {
    background-color: white;
    font-family: "Verdana", sans-serif;
    margin: 0px;
}

#header {
    position: absolute;
    margin: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 60px;
    background-color: #C1B2A5;
}

#headercol {
    margin-left: 40px;
    margin-right: 40px;
}

#header h1 {
    margin-top: 12px;
    font-weight: normal;
    font: 180% Georgia, "Times New Roman", serif;
}
#header h1 a {
    color: inherit;
    text-decoration: none;
}

#body {
    position: absolute;
    margin: 0px;
    left: 0px;
    right: 0px;
    top: 60px;
    bottom: 0px;
}

#singlecol {
    position: absolute;
    left: 0px;
    right: 0px;
    height: 100%;
}

#toolcol {
    position: absolute;
    left: 0px;
    width: 25%;
    height: 100%;
    overflow-y: scroll;
    background-color: #E0DDD0;
}

#maincol {
    position: absolute;
    left: 25%;
    right: 0px;
    height: 100%;
}

#phototool {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 39px;
    background-color: white;
    border-bottom: 1px solid #CCC;
}

#photostatus {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 29px;
    background-color: white;;
    border-top: 1px solid #CCC;
}

#photostatus .Status {
    padding-top: 6px;
    padding-left: 10px;
    font-size: 75%;
}

#photopane {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 40px;
    bottom: 30px;
    overflow-y: scroll;
    background-color: white;
}

#photopane-no {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    overflow-y: scroll;
    background-color: white;
}

.PhotoGrid {
    position: relative;
    width: 100%;
    display: grid;
    margin-bottom: 40px;
}

.PhotoGrid.SizeSmall {
    grid-template-columns: repeat(auto-fill, 140px);
}

.PhotoGrid.SizeMedium {
    grid-template-columns: repeat(auto-fill, 210px);
}

.PhotoGrid.SizeLarge {
    grid-template-columns: repeat(auto-fill, 390px);
}

.PhotoCellBox {
    margin-left: 10px;
    margin-top: 10px;
    display: flex;
}

.PhotoCellGap {
    flex: 1 1;
}

.PhotoCell {
    flex: 0 0;
    position: relative;
    border-radius: 4px;
    background: #F0F0F0;
}

.PhotoCellBox.Selected .PhotoCell {
    background: #8AF;
}

.PhotoCell .Photo {
    padding-left: 10px;
    padding-right: 10px;
}

.PhotoCell.NoTopLine .Photo {
    padding-top: 10px;
}

.PhotoCell .Filename {
    font-size: 85%;
    font-weight: bold;
    word-break: break-all;
    padding: 6px 10px;
}

.PhotoCell .Date {
    font-size: 75%;
    font-style: italic;
    padding: 6px 10px;
}

.PhotoCell .Title {
    display: none;
    font-size: 75%;
    font-style: italic;
    padding: 6px 10px 0px 10px;
}
.PhotoCell .Title.Has {
    display: block;
}
.PhotoCell .Title.Bold {
    font-weight: bold;
}

.PhotoCell .Tags {
    font-size: 85%;
    padding: 6px 10px;
}

.PhotoCell .Tags a {
    color: inherit;
    text-decoration: none;
}
.PhotoCell .Tags a:hover {
    text-decoration: underline;
}

.PhotoCell .OutButton {
    position: absolute;
    top: 2px;
    right: 4px;
}

.PhotoCell .OutButton a {
    font-size: 110%;
    padding-left: 4px;
    padding-right: 4px;
    color: black;
    background-color: white;
    text-decoration: none;
}

.PhotoCell .OutButton a:hover {
    color: white;
    background-color: #68F;
}

.PhotoCellBox.Selected .PhotoCell .OutButton a:hover {
    color: black;
    background: white;
}

.PhotoFrameBox {
    text-align: center;
}

.PhotoFrame {
    display: inline-block;
    position: relative;
}

.PhotoFrame .Photo {
    margin-top: 20px;
    margin-bottom: 10px;
}

.PhotoFrame .Date {
    font-style: italic;
    margin-top: 6px;
    margin-bottom: 6px;
}

.PhotoFrame .Title {
    font-style: italic;
    font-weight: bold;
    margin-top: 6px;
    margin-bottom: 6px;
}

.PhotoFrame .Tags {
    font-size: 85%;
    margin-top: 6px;
    margin-bottom: 6px;
}

.PhotoFrame .Tags a {
    color: inherit;
    text-decoration: none;
}
.PhotoFrame .Tags a:hover {
    text-decoration: underline;
}

.SizeControl {
    float: right;
    margin-top: 8px;
    margin-left: 10px;
    margin-right: 20px;
    font-size: 85%;
}

.ButtonControl {
    float: right;
    margin-top: 8px;
    margin-left: 20px;
    margin-right: 10px;
    font-size: 85%;
}

.ButtonControl button {
    margin-left: 2px;
    margin-right: 2px;
}

.FilterControl {
    margin-top: 8px;
    margin-left: 10px;
}

.FilterControl input.TextInput {
    border: 2px solid #CCC;
    border-radius: 4px;
    font-size: 100%;
}

.ToolBox input.TextInput {
    border: 2px solid #CCC;
    border-radius: 4px;
    font-size: 100%;
    width: 90%;
    margin-bottom: 4px;
}

.ToolBox input.TextInput:disabled {
    border: 2px solid white;
}

.ToolBox {
    border: 1px solid #CCC;
    border-radius: 4px;
    background: #FCFCF8;
    margin: 10px;
    padding: 6px;
}

.ToolBox .Label {
    font-size: 85%;
    text-decoration: underline;
    text-decoration-style: dotted;
    margin-bottom: 6px;
}

.ToolBox .SubLabel {
    font-size: 85%;
    border-top: 1px solid #DDD;
    margin-top: 6px;
    margin-bottom: 6px;
}

.ToolBox .Info {
    font-size: 85%;
    font-style: italic;
    color: #888;
}

.ToolBox .Tag {
    display: inline-block;
    font-size: 85%;
    background-color: #E0E0E0;
    margin: 2px;
    padding: 2px 4px;
    border-radius: 4px;
}

.ToolBox .Tag.CurTag {
    background-color: #EC4;
}

.ToolBox .Tag input {
    pointer-events: none;
}

.ToolBox .Tag a {
    color: inherit;
    text-decoration: none;
}
.ToolBox .Tag a:hover {
    text-decoration: underline;
}

.ToolBox .Tag.AutoGen {
    color: #666;
}

.ToolBox .Tag .Gloss {
    font-size: 85%;
    color: #666;
}

.FilterControl .Tag {
    display: inline-block;
    font-size: 85%;
    background-color: #E0E0E0;
    margin: 2px;
    padding: 2px 4px;
    border-radius: 4px;
}

.FilterControl .Tag .TagClose {
    margin-left: 4px;
    font-size: 85%;
    text-decoration: none;
    color: black;
}
.FilterControl .Tag .TagClose:hover {
    color: #A00;
}

.InitialText {
    text-align: center;
}

#errorpane {
    position: absolute;
    right: 10px;
    bottom: 30px;
    width: 30%;
    pointer-events: none;
}

#errorpane .ErrorMsg {
    background-color: #FAA;
    margin: 6px 6px;
    border: 2px solid white;
    border-radius: 8px;
    padding: 8px 12px;
}
