/* css defs linked among miniaps */
body {
  /*min-height: 100vh;
  min-width: 100vw;*/
  background-color: white;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-rows: auto min-content;
  grid-template-columns: auto;
  grid-template-areas:
    'main'  
    'bottombar'
}
/*main {
  width: fit-content;
  height: fit-content;
}*/
nav {
  background-color: #f0f0f0;
}

main h1 {
  font-size: 1.8em;
  color: #444444;
  margin: 0.15em 0 0.6em 0.4em; /*top right bottom left */
}

h1 span.subtitle {
  padding-left: 10px;
  color:#666666;
  font-weight: normal;
  font-style: italic;
  font-size: 0.7em;
}

main h2 {
  font-size: 1.5em;
  margin: unset;
}

div.logincont {
  max-width: 300px;
}

.py4web-validation-error {
  margin-top:0px; /*-16px; */
  font-size:1.0em;
  color:red
}

.padded {
  padding: 0.75em;
}

/* note - similar with dsos web CSS */
[role="bigbutton"] {
  background-color: #0074d9;
  border-radius: 15px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  vertical-align: middle;
  width: 90px;
  line-height: 80px;
  text-wrap: wrap;
  white-space: initial;
  box-shadow: 3px 3px 3px gray;  
}

div#challenge {
  display:none;
}

div.flexcontainer {
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

div.flexcontainer a, div.flexcontainer>span, form input[type=submit] {
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  min-width: auto;
  width: 90px;
  height: 80px;
  padding: 5px;
  white-space: normal; /* or pre-wrap */
  display:flex;
  align-items: center; /*flexbox*/
  justify-content: center; /*flexbox*/
  /* word-break: break-all; */
}

div.flexcontainer a, form input[type=submit] {
  background-color: #0074d9;
  color: #fff;
  cursor: pointer;
  box-shadow: 3px 3px 3px gray;
}

div.flexcontainer a span { /* without the text within a span if it gets wrapped it occupies all available area of the parent thus not being centered */
  text-align:center;
}

div.flexcontainer a span span.extrainfo {
  font-weight: normal;
  font-style: italic;
}

textarea, input[type="text"], input[name="password"] {
  background-color: #edf6ff;
  font-size: 1.5em;  
}

div.vspacer {
  height: 1em;
}

button,fieldset,input,select,textarea {
  margin-bottom: 0px;
}
