* {
  margin: 0;
  padding: 0;
} /* CSS Reset */

:root {
  --sitePrimary: #83add8;
  --siteWhiteSpace: 0.5rem;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-image: url("images/background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100%;
  background-attachment: fixed;
  font-family: helvetica, arial, verdana, sans-serif;
}

h1 {
  color: var(--sitePrimary);
  font-size: large;
  padding: 0.5em 1em;
}

h2 {
  color: #2282bf;
  text-shadow: 1px 1px #888888;
  font-size: medium;
  padding: 0.5em 1em;
  opacity: 1;
}

html {
  display: flex;
  flex-direction: column;
  height: 100%;
}

li {
  color: #777777;
  font-size: small;
  text-align: justify;
}

nav {
  display: flex;
}

nav ul {
  list-style: none;
  border-left: 1px solid #5c96bd;
  border-right: 1px solid #6eb0de;
  position: relative;
  display: inline-table;
}

nav ul:after {
  content: "";
  clear: both;
  display: block;
}

nav ul li {
  float: left;
  border-left: 1px solid #6eb0de;
  border-right: 1px solid #5c96bd;
}

nav ul li:hover {
  background: #4b545f;
  background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
  background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
  background: -webkit-linear-gradient(top, #4f5964 0%, #5f6975 40%);
}

nav ul li:hover a {
  color: #ffffff;
}

nav ul li a {
  display: block;
  padding: 5px 40px;
  color: #dddddd;
  text-decoration: none;
}

nav ul li:hover > ul {
  display: block;
}

nav ul ul {
  display: none;
  background: #5f6975;
  border-radius: 0px;
  border-left: 1px solid #6b727c;
  border-right: 1px solid #575f6a;
  padding: 0;
  position: absolute;
  top: 100%;
  box-shadow: 0px 2px 4px #888888;
}

nav ul ul li {
  float: none;
  border-left: none;
  border-right: none;
  border-top: 1px solid #6b727c;
  border-bottom: 1px solid #575f6a;
  position: relative;
}

navr ul ul li a {
  padding: 10px 40px;
  color: #ffffff;
}

nav ul ul li a:hover {
  background: #4b545f;
}

p {
  color: #777777;
  font-size: medium;
  text-align: justify;
  line-height: 150%;
}

table {
  margin: 1em auto;
  box-shadow: 0px 2px 4px #888888;
}

table,
td {
  font-size: small;
  /*	border-collapse: collapse;*/
  border-width: 0px;
  border-spacing: 0px;
  border-style: none;
  border-color: transparent;
  background-color: #eeeeee;
  padding: 0.2em;
}

ul {
  line-height: 165%;
}

#logo {
  padding: var(--siteWhiteSpace);
  width: 30rem;
}

#lockedheader {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--sitePrimary);
  box-shadow: 0px 2px 5px #888888;
}

#mainbody {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  max-width: 50%;
  margin: 0 auto;
}

#calendar {
  position: relative;
  text-align: center;
  width: 90%;
  padding-top: 150px;
  padding-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

#calendar_settings {
  position: absolute;
  top: 160px;
  right: 0;
  padding: 15px;
  z-index: 2;
}

#calendar_title {
  color: #ffffff;
  text-shadow: 1px 1px #888888;
  font-size: x-large;
  background-color: var(--sitePrimary);
}

.calendar_label {
  color: #fefefe;
  text-shadow: 1px 1px #888888;
  font-size: large;
  background-color: var(--sitePrimary);
}

.calendar_label_a {
  display: block;
  margin: 0;
  padding: 4px 8px;
  color: #fefefe;
  text-decoration: none;
  text-shadow: 1px 1px #888888;
  font-size: large;
}

.event {
  color: #ffffff;
  background-color: #ff0000;
  border-radius: 0.2em;
  text-align: left;
  padding: 0.1em;
}

#today {
  text-align: right;
  vertical-align: top;
  padding: 0.5em;
  color: #3096ef;
  font-size: large;
  font-weight: bold;
  background-color: #e9eff7;
  border: solid;
  border-width: 1px;
  border-color: #aaaaaa;
}

#today a {
  display: block;
  margin: 0;
  color: #3096ef;
  text-decoration: none;
  font-size: medium;
}

.this_month {
  text-align: right;
  vertical-align: top;
  padding: 0.5em;
  color: #666666;
  font-size: medium;
  background-color: #fefefe;
  border: solid;
  border-width: 1px;
  border-color: #aaaaaa;
}

.this_month a {
  display: block;
  margin: 0;
  color: #666666;
  text-decoration: none;
}

.not_this_month {
  text-align: right;
  vertical-align: top;
  padding: 0.5em;
  color: #888888;
  font-size: medium;
  background-color: #eeeeee;
  border: solid;
  border-width: 1px;
  border-color: #aaaaaa;
}

.not_this_month a {
  display: block;
  width: 50%;
  margin: 0;
  color: #bbbbbb;
  text-decoration: none;
}

#gallery {
  text-align: center;
  padding-top: 150px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

#filemanager_mainbody {
  width: 98%;
  height: 600px;
  overflow-y: scroll;
  margin-top: 150px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  z-index: 1;
  background: #ffffff;
  box-shadow: 0px 2px 4px #888888;
}

.gallery {
  border: none;
  background: none;
  /*	padding: 10px 5px 10px 5px;*/
  box-shadow: 0px 2px 4px #888888;
}

#photolink {
  text-decoration: none;
  color: var(--sitePrimary);
  font-size: large;
  padding: 0.5em 1em;
}

.thumbnail {
  box-shadow: 2px 2px 5px #888888;
}

#image {
  height: 600px;
  position: relative;
  z-index: 2;
  box-shadow: 2px 2px 5px #888888;
}

.image_nav {
  opacity: 0.5;
}

#locationmap {
  position: relative;
  z-index: 2;
  box-shadow: 2px 2px 5px #888888;
}

#previous {
  position: absolute;
  left: 10px;
  top: 250px;
  z-index: 3;
}

#next {
  position: absolute;
  left: 697px;
  top: 250px;
  z-index: 3;
}

#caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 780px;
  z-index: 3;
  background-color: #ffffff;
  border: 2px solid;
  border-radius: 5px;
  opacity: 0.7;
}

#captiontext {
  font-size: small;
  text-align: center;
}

#onpage {
  background: var(--sitePrimary);
  background: linear-gradient(
    top,
    #4f5964 0%,
    #5f6975 40%
  ); /* #4F5964 #5F6975 */
  background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
  background: -webkit-linear-gradient(top, #4f5964 0%, #5f6975 40%);
}

#usermenu {
  display: block;
  left: 50%;
  width: 20%;
  height: 30px;
  margin: 0;
  padding: 0 0 0 40%;
  list-style: none;
  background: #ffffff;
}

#usermenu li {
  margin: 0 1px 0 0;
  padding: 0 0 5px 0;
  font-family: "Lucida Grande", sans serif;
  font-size: large;
  text-align: center;
}

#usermenu a {
  display: block;
  margin: 0;
  padding: 4px 8px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid #000000;
  background: #0000ff;
}

#postcard {
  width: 800px;
  height: 544px;
  background-image: url("images/postcard.png");
  margin-left: auto;
  margin-right: auto;
}

#postcardhalf {
  position: relative;
  width: 400px;
  height: 272px;
  top: 35%;
  left: 50%;
  text-align: left;
  padding: 0.5em;
}

#lockout {
  width: 400px;
  height: 355px;
  background-image: url("images/login.gif");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 50% 100%;
  margin: 2em auto;
}

#lockouthalf {
  text-align: center;
  position: relative;
  width: 200px;
  height: 272px;
  top: 35%;
  left: 50%;
}

#map-canvas {
  height: 600px;
  box-shadow: 0px 2px 4px #888888;
}

#services {
  width: 35%;
  margin-left: auto;
  margin-right: auto;
}

.serviceitem {
  color: #777777;
  font-size: medium;
}

.pheady {
  padding: 0.5em;
  margin: 1em auto;
  background: #ffffff;
  color: var(--sitePrimary);
  font-size: medium;
  text-align: left;
  border-radius: 0.5em;
  box-shadow: 0px 2px 4px #888888;
  opacity: 0.65;
}

.pdivy {
  padding: 1em;
  background: #e9e1d5;
  border-radius: 1em;
  box-shadow: 0px 2px 4px #888888;
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.file_manager {
  display: inline-block;
  margin: 0;
  vertical-align: top;
  text-align: left;
  height: 600px;
}

#file_man_header {
  height: 30px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid #aaaaaa;
}

#file_man_preview_col {
  height: 570px;
  min-width: 12em;
  display: inline-block;
}

.file_man_col {
  height: 570px;
  min-width: 12em;
  overflow-y: scroll;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  border-right: 1px solid #aaaaaa;
}

.file_man_txt {
  display: block;
  padding: 0.2em 0.5em;
  color: #000000;
  text-decoration: none;
}

.file_man_txt_select {
  display: block;
  padding: 0.2em 0.5em;
  color: #eeeeee;
  background-color: #3573dd;
  text-decoration: none;
}

.workorderlist {
  text-decoration: none;
  color: var(--sitePrimary);
}

.mainth {
  font-size: medium;
  text-shadow: 1px 1px #888888;
  border-collapse: collapse;
  border-width: 1px;
  border-spacing: 0px;
  border-style: none;
  border-color: #777777;
  color: #eeeeee;
  background-color: var(--sitePrimary);
  padding: 0.25em;
}

.wolist {
  border-width: 1px;
  border-spacing: 0px;
  border-bottom-style: solid;
  border-bottom-color: #cccccc;
  padding: 0.5em 0.5em;
}

th {
  font-size: small;
  background-color: var(--sitePrimary);
  border-collapse: collapse;
  border-width: 5px;
  border-spacing: 5px;
  border-style: solid;
  border-color: transparent;
  color: #ffffff;
  padding: 0;
}

#equipment {
  margin: 1em auto;
  background-image: url("images/equipment.png");
  opacity: 0.8;
  box-shadow: 0px 2px 4px #888888;
}

.theader {
  color: #f0f0f0;
  background-color: var(--sitePrimary);
  background-repeat: repeat-x;
  font-size: medium;
  text-shadow: 1px 1px #555555;
  text-align: center;
  box-shadow: 0px 2px 4px #555555;
  padding: 0.2em;
  margin: 0;
}

.tlabel {
  color: #111111;
  /*	background-color: #83ADD8;*/
  background-repeat: repeat-x;
  font-size: small;
  text-align: right;
  /*	box-shadow: 0px 2px 4px #555555;*/
  padding: 0.2em;
  margin: 0;
}

.tdata {
  color: #222222;
  background-color: #ffffff;
  font-size: small;
  text-align: left;
  box-shadow: 0px 2px 4px #888888;
  padding: 0.2em 0.5em;
  margin: 0.2em 0.5em;
}

input {
  color: #777777;
  font-size: medium;
  padding: 0.1em;
  margin: 0.1em 0 0.3em 0;
}

select {
  color: #777777;
  font-size: medium;
}

fieldset {
  padding: 0.5em;
  background: #eeeeee;
  border-radius: 0.5em;
  box-shadow: 0px 2px 4px #888888;
}

legend {
  color: #83add8;
  font-size: medium;
  padding: 0.5em;
  background: #eeeeee;
  border-radius: 0.5em;
  box-shadow: 0px 2px 4px #888888;
}

form .outer-submit {
  background: transparent url("images/topic_button.png") no-repeat top left;
  max-width: 200px;
  width: 50%;
  padding: 0 0 10px 0;
}

form input[type="submit"] {
  color: #fff;
  padding: 9px;
  margin: 0px 0px 5px 3px;
  border: none;
  width: 100%;
  background: transparent url("images/topic_button.png") no-repeat top right;
}

form .outer-submit:hover {
  background: transparent url("images/topic_button_hover.png") no-repeat top
    left;
}

form input[type="submit"]:hover {
  background: transparent url("images/topic_button_hover.png") no-repeat top
    right;
}

.formRow {
  display: flex;
}

.formRow label {
  display: flex;
  flex-direction: column;
}
