body {
    padding: 0;
    margin: 0;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14pt;
}
#main {
    padding:0;
    margin: 0;

    min-height: 100vh;
    margin: auto;

    display: flex;
    flex-direction: column;
}
header {
    height: 20vh;

    background: #333;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
header h1, h2 {
    margin-bottom: 0;
}
header a {
    background: white;
    padding: 2px 20px;
    border-radius: 6pt;
}
#content {
    flex: 1;
}
.appView {
    display: flex;
    align-items: stretch;

    min-height: 80vh;
}
.sidePane {
    width: 300px;
    background: #8EAEDC; /*#259*/;

    display: flex;
    flex-direction: column;
}
.sidePane h3 {
    margin: 10px;
}
.groupSelect {
    padding: 2px 10px;
}
.groupSelect select {
    width: 100%;
    font-size: 14pt;
}
.optionList {
    padding: 0 10px;
    flex: 1;
}
.listItem {
    background: #4E6E9C;
    margin: 10px auto;
    padding-left: 10px;
    height: 30px;
    border-radius: 15px;

    display: flex;
    align-items: center;
    animation: fadein .4s ease-in;
}
.listItem span {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    z-index: 20;
}
.listItem span:hover {
    overflow: visible;
    background: inherit;
}
.listItem:nth-child(even) {
    background: #DCDCE6;
}
.listItem:hover {
    box-shadow: inset 2px 2px 5px black;
}
.listItem input {
    display: none;
}
.textFilter {
    padding: 10px;
    display: flex;
}
.filterList {
    flex: 1;
}
.textFilter input {
    flex: 1;

    font-size: 16pt;
    border-radius: 11pt;
    border: 0;
    padding-left: 1ex;

    box-shadow: inset 1px 1px 5px;
    max-width: 270px;
}
.questionsView {
    flex: 1;
    padding: 1rem;

    box-shadow: inset 2px 2px 20px;
}
footer {
    min-height: 120px;
    padding: 1rem;
    background: #333;
    background-image: url("http://imbie.org/imbie-registration/imgs/imbie-logo8.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-origin: content-box;
}
@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}
.question {
    border-radius: 20px;
    padding: 10px;
    background: #8EAEDC; /*#abf;*/
    margin-bottom: 10px;

    z-index: -1;
    animation: fadein .4s ease-in;
}
.answerList {
    display: flex;
    flex-wrap: wrap;
}
.answer {
    background: #DCDCE6;
    padding: 10px;
    margin: 5px;

    box-shadow: 1px 1px 5px;
    border-radius: 5px;
    font-size: 80%;
}
.answer.long-text {
    flex: 1;
    font-style: italic;
}
.answer.ice-sheet {
    flex: 1;
    min-width: 20%;
    max-width: 30%;
    word-wrap: none;
}
.answer.other {
    font-style: italic;
}
h3 {
    border-bottom: 2px solid black;
    margin: 0;
    margin-bottom: 10px;
}
h4 {
    padding: 0;
    margin: 0;
}

.selected {
    box-shadow: inset 1px 1px 5px black;
}

#login-content {
    box-shadow: inset 5px 5px 20px;

    height: 100%;
    background: #eee;

    display: flex;
    align-items: center;
    justify-content: center;
}
form {
    width: 300px;
    background: #8EAEDC;
    box-shadow: 5px 2px 20px;

    padding: 10px;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
}
form input[type=text], form input[type=password] {
    font-size: 14pt;
    border-radius: 11pt;
    border: 0;
    padding-left: 1ex;

    box-shadow: inset 1px 1px 5px;
    margin-bottom: 1ex;
}
form label {
    text-align: center;

}
form select {
    font-size: 14pt;
    margin-bottom: 1ex;
}
form input[type=submit] {
    font-size: 14pt;
    height: 3rem;
}
form p {
    font-size: 12pt;
}
.modeSelect {
  display: inline-flex;
  width: 100%;

  padding: 2px 0;

  justify-content: center;
  align-items: flex-end;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 26pt;
  height: 14pt;

  margin:  0 10px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #DCDCE6;
  -webkit-transition: .4s;
  transition: .4s;
    box-shadow: inset 1px 1px 5px black;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12pt;
  width: 12pt;
  left: 1pt;
  bottom: 1pt;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;

  box-shadow: 1px 1px 5px black;
}

input:checked + .slider {
  background-color: #4E6E9C;
}

input:focus + .slider {
  box-shadow: 0 0 1px #4E6E9C;
}

input:checked + .slider:before {
  -webkit-transform: translateX(12pt);
  -ms-transform: translateX(12pt);
  transform: translateX(12pt);
}

/* Rounded sliders */
.slider.round {
  border-radius: 7pt;
}

.slider.round:before {
  border-radius: 50%;
}
.modeOption {
  color: #555;
}
/* email list download button */

.mailList {
  text-decoration: none;
  width: 90%;

  background: #DCDCE6;
  margin: 10px auto;
  padding-left: 10px;
  height: 30px;
  border-radius: 15px;

  transition: 100ms ease-in;
  border: 2pt solid transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  color: black;
}
.mailList:visited {
  color: #333;
}
.mailList:hover {
  background: #4E6E9C;

  border-bottom-color: #333;
  border-right-color: #333;

  color: white;
}
.mailList:active {
  background: #4E6E9C;

  border-top-color: #333;
  border-left-color: #333;
  border-bottom-color: transparent;
  border-right-color: transparent;

  color: white;
}
.mailList .oi {
  margin-bottom: -2pt;
  margin-left: 1ex;
}
