﻿
@import url('https://fonts.googleapis.com/css?family=Quicksand');
@import url('https://fonts.googleapis.com/css?family=Exo');


/**********************************************************************/

html {
    min-height: 100%;
    position: relative;
}

body {
    margin: 0em;
    background-color: rgb(239, 232, 236);
    font-family: 'Quicksand', sans-serif;
    background-image: url(PageWatermark.png);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

h2 {
    margin: 0em;
    color: rgb(114, 87, 102);
    font-family: 'Exo', sans-serif;
    font-size: 1.6em;
}

h3 {
    margin: 0em;
    color: rgb(114, 87, 102);
    font-family: 'Exo', sans-serif;
    font-size: 1.4em;
}

h4 {
    margin: 0em;
    color: rgb(114, 87, 102);
    font-family: 'Exo', sans-serif;
    font-size: 1.2em;
}

form {
    margin: 0em;
}

input, select, textarea, button {
    margin-left: 0.2em;
    padding: 0.2em;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0.2em;
}
input:focus, select:focus, textarea:focus {
    background-color: white;
}

input[type="submit"], input[type="button"], button {
    padding-left: 0.7em;
    padding-right: 0.7em;
    color: white;
    background-color: rgb(156, 161, 195);
    border-radius: 1em;
    cursor: pointer;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    background-color: rgb(181, 61, 131);
}


/**********************************************************************/

#PageHeader {
}

#PageHeader h1 {
    text-align: center;
    margin: 0em;
    margin-top: 0.5em;
    color: rgb(165, 56, 133);
    font-family: 'Exo', sans-serif;
}

#PageHeader .NavBar {
    display: flex;
    flex-direction: row;
    height: 70px;
    background: linear-gradient(
        180deg,
        rgba(166, 153, 181, 0.5) 0%,
        rgba(176, 138, 176, 0.4) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    overflow: hidden;
}

#PageHeader .NavBar .SiteTitleBlock {
    flex-grow: 100;
}


#PageHeader .NavBar .MenuBurger {
    display: inline-block;
    width: 25px;
    margin-left: 8px;
    margin-top: 10px;
    margin-right: 8px;
    margin-bottom: 12px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 2px;
    vertical-align: top;
    font-size: 26px;
    font-weight: bold;
    border: 1px solid rgba(111, 61, 90, 0.50);
    color: rgba(111, 61, 90, 0.50);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}
#PageHeader .NavBar .MenuBurger:hover {
    border-color: rgb(120, 50, 90);
    color: rgb(120, 50, 90);
    background: linear-gradient(0deg, rgba(120, 50, 90, 0.37) 0%, rgba(255, 255, 255, 0.2) 100%);
}

#PageHeader .NavBar .SiteTitle {
    display: inline-block;
    height: 48px;
    margin-top: 6px;
}

#PageHeader .NavBar .Account {
    display: inline-block;
    flex-grow: 1;
    height: 56px;
    padding-right: 20px;
    padding-top: 6px;
    white-space: nowrap;
}

@media screen and (max-width: 500px) {

    #PageHeader .NavBar .Account {
        display: none;
    }

}

#PageHeader .NavBar .Account .DisplayName {
    display: block;
    padding-left: 14px;
    padding-right: 8px;
    padding-bottom: 2px;
    color: black;
    border-radius: 20px;
    text-decoration: none;
}

#PageHeader .NavBar .Account .DisplayName.Anonymous {
    color: rgba(0, 0, 0, 0.5);
}

#PageHeader .NavBar .Account .DisplayName:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
}

#PageHeader .NavBar .Account .Buttons {
    margin-top: 2px;
}

#PageHeader .NavBar .Account .Buttons.Disabled {
    visibility: hidden;
}

#PageHeader .NavBar .Account .Buttons a {
    margin-left: 4px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 2px;
    color: rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.9em;
    text-decoration: none;
}
#PageHeader .NavBar .Account .Buttons a:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: black;
}

#PageHeader .NoticeBar {
    padding: 0.5em;
    padding-bottom: 0em;
}

#PageHeader .NoticeBar:not(:empty) {
    margin-bottom: 1em;
}

#PageHeader .NoticeBox {
    display: flex;
    justify-content: center;
}

#PageHeader .Notice {
    display: inline-block;
    min-width: 50%;
    margin: 0.4em;
    padding: 0.2em;
    border-radius: 0.8em;
    background-color: gray;
}

#PageHeader .Notice .Title {
    padding-bottom: 0.2em;
    color: white;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}

#PageHeader .Notice .Close {
    float: right;
    margin-right: 0.3em;
    margin-top: 0.1em;
    padding-left: 0.3em;
    padding-right: 0.3em;
    padding-bottom: 0.1em;
    border: 1px solid white;
    border-radius: 0.4em;
    font-size: 0.8em;
    cursor: pointer;
}

#PageHeader .Notice .Close:hover {
    background-color: white;
    color: black;
}

#PageHeader .Notice .Text {
    padding: 1em;
    background-color: white;
    border-bottom-left-radius: 0.6em;
    border-bottom-right-radius: 0.6em;
}

#PageHeader .Notice.Error {
    background-color: rgb(226, 77, 77);
}

#PageHeader .Notice.Warning {
    background-color: rgb(203, 170, 63);
}

#PageHeader .Notice.Information {
    background-color: rgb(117, 191, 96);
}

#PageFooter {
    margin-top: 1em;
    padding: 0.5em;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 0.9em;
}

#PageContent {
    padding: 0.7em;
    padding-top: 0em;
}


/**********************************************************************/

.FlowBlock {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: center;
    margin: 0.5em;
}

a.FlowBlock {
    text-decoration: none;
}

a.FlowBlock:hover {
    background-color: rgba(0, 148, 255, 0.1);
}

.FlowAtom {
    margin: 0.2em;
    padding: 0.5em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.7em;
    text-align: center;
    text-decoration: none;
}
.FlowAtom:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.FlowAtom label {
    display: block;
    font-size: 0.8em;
    color: rgb(104, 128, 150);
}

.FlowAtom div {
    max-width: 30em;
    color: rgb(48, 0, 86);
}

.FlowAtom i {
    color: rgba(0, 0, 0, 0.5);
}

a.FlowAtom {
    cursor: pointer;
    border-color: rgba(105, 45, 159, 0.1);
    background-color: rgba(105, 45, 159, 0.03);
}
a.FlowAtom:hover {
    border-color: rgba(105, 45, 159, 0.50);
    background-color: rgba(105, 45, 159, 0.10);
}

a.FlowAtom label {
    cursor: pointer;
}


.FlowPanel {
    margin: 0.4em;
    padding: 0.8em;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 1em;
}


.FlowListHeader {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    background-color: rgba(165, 138, 181, 0.20);
    border-radius: 1em;
    font-size: 1.2em;
    text-decoration: none;
    color: rgb(42, 24, 68);
}
a.FlowListHeader:hover {
    background-color: rgb(181, 61, 131);
    color: white;
}

.FlowListItem {
    display: block;
    margin-bottom: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 1em;
    font-size: 1.2em;
    text-decoration: none;
    color: rgb(42, 24, 68);
}
a.FlowListItem {
    color: rgb(146, 43, 103);
}
a.FlowListItem:hover {
    background-color: rgb(181, 61, 131);
    color: white;
}

.FlowListStat {
    display: block;
}

.FlowListStat label {
    display: inline-block;
    font-size: 0.8em;
    color: rgb(104, 128, 150);
}

.FlowListStat label.LabelBefore {
    width: 5em;
    margin-right: 0.7em;
    text-align: right;
}

.FlowListStat label.LabelAfter {
    margin-left: 0.7em;
}

.FlowListStat span {
    display: inline-block;
}

.FlowListStat span.LabelBefore {
}

.FlowListStat span.LabelAfter {
    width: 4em;
    text-align: right;
}



/**********************************************************************/

.LabeledField {
    margin-bottom: 0.4em;
}

.LabeledField label {
    font-size: 0.9em;
    color: rgb(112, 128, 139);
}
.LabeledField label:hover {
    color: black;
}

.FlowLabeledField {
    display: inline-block;
    margin-bottom: 0.4em;
}

.FlowLabeledField label {
    font-size: 0.9em;
    color: rgb(112, 128, 139);
}
.FlowLabeledField label:hover {
    color: black;
}

.GoButton {
    margin-left: -0.5em;
    padding: 0.12em;
    padding-left: 0.3em;
    padding-right: 0.4em;
    border-radius: 1em;
    border-bottom-left-radius: 0em;
    border-top-left-radius: 0em;
    font-size: 0.9em;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-left: none;
    background-color: rgb(166, 167, 173);
    color: rgb(203, 204, 206);
}
.GoButton:link, .GoButton:visited {
    background-color: rgb(156, 161, 195);
    color: white;
    text-decoration: none;
}
.GoButton:link:hover, .GoButton:visited:hover {
    background-color: rgb(181, 61, 131);
}

.ActionButtons {
    margin-top: 1em;
    padding-right: 0.5em;
    text-align: right;
}


/**********************************************************************/

#MenuBar {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1000000;
}

#MenuPanel {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20em;
    bottom: 0px;
    padding-left: 0.7em;
    padding-right: 0.7em;
    background-color: rgb(146, 39, 102);
    z-index: 1000001;
}

#MenuPanel.Hidden {
    left: -22em;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0);
    opacity: 0.2;
    transition: left ease-in 0.2s, box-shadow ease-in 0.2s, opacity ease-in 0.2s;
}

#MenuPanel.Visible {
    left: 0px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.8);
    opacity: 1;
    transition: left ease-in 0.2s, box-shadow ease-in 0.2s;
    transition: left ease-in 0.2s, box-shadow ease-in 0.2s, opacity ease-in 0.2s;
}

#MenuPanel .SiteTitleBlock {
    height: 70px;
    margin-left: -0.7em;
    margin-right: -0.7em;
    background: linear-gradient(180deg, rgba(118, 31, 82, 1) 0%, rgba(118, 31, 82, 1) 60%, rgba(118, 31, 82, 0) 100%);
}

#MenuPanel .MenuBurger {
    display: inline-block;
    width: 25px;
    margin-left: 8px;
    margin-top: 10px;
    margin-right: 8px;
    margin-bottom: 12px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 2px;
    vertical-align: top;
    font-size: 26px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}
#MenuPanel .MenuBurger:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
}

#MenuPanel .SiteTitle {
    display: inline-block;
    height: 48px;
    margin-top: 6px;
}

#MenuPanel .FlowListItem {
    display: block;
    margin-bottom: 0.2em;
    padding: 0.2em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    border-radius: 1em;
    font-size: 1.4em;
    text-decoration: none;
}
#MenuPanel a.FlowListItem {
    background-color: rgba(181, 61, 131, 0.2);
    color: rgba(255, 255, 255, 0.8);
}
#MenuPanel a.FlowListItem:hover {
    background-color: rgb(181, 61, 131);
    color: white;
}

#MenuPanel .FlowListSpacer {
    height: 0.7em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 0.7em;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 30em) {

    #MenuPanel {
        width: auto;
        right: 0em;
    }

    #MenuPanel.Hidden {
        left: -100%;
        right: 100%;
        opacity: 1;
        transition: right ease-in 0.2s, left ease-in 0.2s;
    }

    #MenuPanel.Visible {
        left: 0px;
        right: 0px;
        opacity: 1;
        transition: right ease-in 0.2s, left ease-in 0.2s;
    }

    #MenuPanel .FlowListItem {
        padding: 0.3em;
        padding-left: 0.8em;
        padding-right: 0.8em;
    }

}
