body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}
button,
a,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
  text-decoration: none;
  color: #3c2627;
  appearance: none;
}
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 10px;
  padding: 10px;
}
.grid-item {
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 30px;
  /*text-align: center;*/
  border: 10px solid green;
  box-sizing: border-box;
}
.grid-item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
/* align-items: center; */
  position: relative;
  padding: 20px;
}
.grid-item-content h1 {
  font-size: 30px;
  text-align: center;
}
.grid-item-content p {
  font-size: 20px;
  text-align: center;
}

form.login {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  box-sizing: border-box;
  min-width: 300px;
}
input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 0.9em;
}
form.login input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 0.9em;
}
form.login input[type="submit"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 0.9em;
  background: #4caf50;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

form.login * {
  margin: 5px;
}

.dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}
.dialog-content {
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  max-height: 85vh;
  overflow: auto;
}
.dialog-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  background: darkslategray;
  padding: 7px;
}
.dialog-buttons button {
  width: 100px;
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 0.9em;
  background: #ffffff;
  color: #2f4f4f;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 15px;
}
.dialog-title {
  font-size: 1.2em;
  text-align: center;
  background: darkslategray;
  color: #fff;
}

div#dialog-wrap {
  width: 100%;
  min-height: auto;
  min-width: 375px;
  max-width: 80%;
}
.dialog-form {
  width: 100%;
}
.form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid lightgray;
  padding: 4px;
  box-sizing: border-box;
}
.editButton {
  width: 80px;
  padding: 5px;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 0.4em;
  background: #4caf50;
  color: #fff;
  position: absolute;
  right: 1px;
  top: 1px;
  border: 0;
  appearance: none;
  cursor: pointer;
}

div#admin {
  text-align: right;
  padding: 14px;
}

div#admin a {
  background: red;
  color: #fff;
  padding: 5px;
  font-weight: 700;
}

form#company-edit-form {
  width: 100%;
}
.btn-danger {
  background: red;
  color: #fff;
  padding: 5px;
  font-weight: 700;
  border: 0;
  font-size: 11px;
  width: 61px;
  height: 34px;
}

.dialog-content form {
  width: 80%;
  padding: 25px;
}

.form-group.multiple {
  flex-direction: row;
}

.form-group.multiple * {
  margin: 5px;
}
.btn-primary {
  background: #4caf50;
  color: #fff;
  padding: 5px;
  font-weight: 700;
  border: 0;
  font-size: 11px;
  width: 70px;
  height: 34px;
}

ul.products {
  padding: 0;
  margin: 0;
  list-style: auto;
  font-size: 15px;
}
