body,
html,
h1,
h2,
h3,
p {
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

h1,
h2,
h3,
p {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

body {
  background-color: #EDEDED;
  color: #676767;
  font-family: 'Lato', sans-serif;
  /* Lato-Black, Lato-Regular */
  font-weight: 300;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-weight: 700;
}

#mainMenu {
  background-color: #009EE2;
  position: relative;
}

#sitename img {
  display: block;
  margin: 0 auto;
  padding: 1rem 0;
}

#sitename-right {
  position: absolute;
  left: 10px;
  top: 10px;
}

#sitenametitle {
  text-decoration: none;
  color: white;
  font-family: 'Lato-Bold'
}

#subtitle {
  color: white;
  font-family: 'Lato-Regular'
}

#headerText {
  color: white;
  text-align: center;
  font-size: 200%;
  font-weight: 100;
  padding-bottom: 1rem;
}

#content {
  padding: 1rem;
  flex: 1;
}

#footer {
  background-color: #009EE2;
  padding: 1rem;
}

#footer a {
  color: white;
  text-decoration: none;
}

body.data-viewer,
body.data-viewer #mainMenu,
body.data-viewer #footer {
  background-color: #E96621;
}

body.data-viewer h3 {
  color: white;
}

.formrow {
  clear: both;
  margin-bottom: 1rem;
}

.formrow label {
  display: block;
}

.formrow input {
  display: block;
}

input {
  padding: .2rem;
}

input.mediumwidth {
  width: 16rem;
}

button,
input[type='submit'] {
  padding: .2rem 1rem;
  border: 1px solid black;
  border-radius: 1rem;

}

form>div {
  margin-bottom: 1rem;
}


form>div>input[type='text'],
form>div>input[type='number'],
form>div>textarea,
form>div>input[type='email'],
form>div>input[type='password'],
form>div>select,
form>div>input[type='submit'],
form>div>button[type='submit'],
a.buttonLink {
  display: inline-block;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 1em;
  -webkit-appearance: none;
  border-radius: 0;
  border: none;
  text-decoration: none;
  background-color: white;
}

form>div>input[type='submit'],
form>div>button[type='submit'],
a.buttonLink {
  width: auto;
  background-color: white;
}

form>div>button[type='submit'].deleteButton {
  background-color: red;
  color: white;
}

.fielderror {
  color: red;
}


#flash_messages_container {
  position: absolute;
  top: 1rem;
  z-index: 100;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 50%;
}

#flash_messages_container .error {
  background-color: red;
  color: white;
  padding: 1rem;
}

.cemanufacturer {
  margin-top: 1rem;
}

.cemanufacturer img {
  width: 80px;
}

.adminTable {
  border-collapse: collapse;
  border: 1px solid #c0c0c0;
}

.adminTable td,
.adminTable th {
  border: 1px solid #c0c0c0;
  padding: 4px;
}

.adminTable th {
  background-color: #009EE2;
  color: white;
}

.infoText {
  color: #c0c0c0;
}