html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

html {
  font-family: "Roboto", sans-serif;
}

body {
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* start view */

.title-view {
  padding-top: 0.8em;
  margin: 0 0.5em;
  margin-top: 0;
  text-align: center;
}

.div-view {
  margin-top: 5px;
  padding: 10px;
  background-color: #3f51b5;
  color: white;
  box-sizing: border-box;
  font-size: 0.9rem;
  margin: 0.5em;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.div-view > p {
  font-size: 0.85rem;
}

.div-view > span {
  font-size: 0.8rem;
  display: block;
  margin-bottom: 4px;
}

.div-view > input[type="text"] {
  border-radius: 0.25rem;
  height: 32px;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  border: solid #ccc 1px;
  font-size: 0.8rem;
  background-color: #ffffff;
  color: #333333;
  width: 100%;
}

.div-view > textarea {
  border-radius: 0.25rem;
  padding: 0.4rem;
  border: solid #ccc 1px;
  font-size: 1rem;
  background-color: #ffffff;
  color: #333333;
  min-width: 100%;
  max-width: 100%;
  height: 60px;
}

.div-view > input[type="text"]:focus,
.div-view > textarea:focus {
  outline: none;
}

.div-view.picture {
  transition: 0.3s;
  display: flex;
}

.div-view.picture:hover {
  opacity: 0.7;
}

.div-view.picture:active {
  opacity: 0.5;
}

.div-view.picture > img {
  height: 40px;
  margin: auto;
  margin-left: 0;
}

.div-view.picture > p {
  margin: auto;
  text-align: center;
}

.div-view[data-type="listPicture"] {
  text-align: center;
}

.div-view.picture > button,
.div-view[data-type="listPicture"] > button {
  display: inline-flex;
  margin: auto;
  margin-right: 0;
  padding: 0;
  border: 0;
  background-color: inherit;
  cursor: pointer;
}

.div-view.picture > button:focus,
.div-view[data-type="listPicture"] > button:focus {
  outline: none;
}

.div-view.picture > button > img,
.div-view[data-type="listPicture"] > button > img {
  height: 40px;
  margin: auto;
}

.button {
  display: inline-flex;
  background-color: #00897b;
  color: #ffffff;
  padding: 0 0.8rem;
  height: 32px;
  font-size: 0.9rem;
  border-radius: 0.25rem;
  border: 1px solid #cccc;
  cursor: pointer;
  transition: 0.3s;
}

button.max {
  width: 100%;
}

.button:hover {
  opacity: 0.8;
}

.button:active {
  opacity: 0.6;
}

.button:focus {
  outline: none;
}

.button > span {
  margin: auto;
}

/* end view */

/* start nav */

nav {
  display: flex;
  width: calc(100% - 1rem - 10px);
  height: 45px;
  margin: 0.5em;
  border-radius: 8px;
  margin-top: auto;
  padding: 5px;
  background-color: #3f51b5;
  text-align: center;
  display: flex;
}

nav > button {
  margin: auto;
  padding: 5px;
  border: 0;
  background-color: inherit;
  cursor: pointer;
  font-size: 2rem;
  transition: 0.3s;
}

nav > button:focus {
  outline: none;
}

nav > button:hover {
  opacity: 0.7;
}

nav > button:active {
  opacity: 0.5;
}

nav > button:first-child {
  margin-left: 0;
}

nav > button:last-child {
  margin-right: 0;
}

nav > div {
  display: inline-block;
  margin: auto;
}

nav > div > div {
  display: inline-block;
  width: 16px;
  height: 16px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  border: 2px solid;
  margin-left: 2px;
  margin-right: 2px;
}

nav > div > div.active {
  /*  background-color: #00897b; */
}

/* end nav */
