﻿html {
  min-height: 100%;
}
body {
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-position: 50%;
}
.container {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mdl-progress.mdl-progress--indeterminate>.bar1, .mdl-progress.mdl-progress__indeterminate>.bar1, .mdl-progress.mdl-progress--indeterminate>.bar3, .mdl-progress.mdl-progress__indeterminate>.bar3{
    background-color: var(--crystal-primary);
}
header {
    position: absolute;
    top:0;
    width: 100%;
    display: flex;
    align-items: stretch;
    flex-flow: row;
    justify-content: space-between;
    line-height: 2;
    color: var(--crystal-link-color);
}

header > div, footer > div {
  margin: 0 16px;
}
footer {
  margin-top: -60px;
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 2;
  display: flex;
  align-items: stretch;
  flex-flow: row;
  justify-content: space-between;
}
.mdl-menu__container.is-visible, .mdl-menu__container.is-animating {
  margin-right:2rem !important;
}
.mdl-menu__item a {
  text-decoration: none;
  color: var(--crystal-primary);
}
.mdl-card {
  max-height: 600px;
  border-radius: 6px;
}
.mdl-textfield__error {
  position: relative;
}
.mdl-card .mdl-card__logo {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
}
#overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
#revealPassword {
    cursor: pointer;
}
button:disabled {
  opacity:0.5;
}
.crystal-logo {
  margin: 4px 0 4px 8px;
  line-height: 1;
}
.container .mdl-card__title {
  text-align: center;
  margin: 0;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
p.card-subtitle {
    margin: 0;
}

.userSelected,
.userSelected .mdl-list__item-sub-title {
  background-color: var(--crystal-primary) !important;
  color: #fff !important;
}
#selectEmailList .mdl-list {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 300px;
  scrollbar-color: #666;
  scrollbar-width: thin;
  padding: 0;
  margin: 0;
}
#selectEmailList .mdl-list .mdl-list__item {
    padding: 0;
    width:405px;
    transition: all 0.5s ease;
}

#selectEmailList .mdl-list .mdl-list__item.delete-active {
    padding: 0;
    transform: translateX(-75px);
}
#selectEmailList .mdl-list .mdl-list__item.deleted {
    height: 0;
    transform: scaleY(0);
}

#selectEmailList .mdl-list .mdl-list__item {
    padding: 0;
}
#selectEmailList .mdl-list .mdl-list__item .item-container {
  cursor: pointer;
  width: 298px;
  height: 40px;
  display: flex;
  padding: 16px;
  align-items: center;
}
#selectEmailList .mdl-list .mdl-list__item .item-delete {
    height: 72px;
    width: 75px;
    padding: 0;
    cursor: pointer;
    background-color: var(--crystal-error-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mdl-textfield__label {
    left: 8px;
    top:33px;
    width: 20%;
}
.mdl-textfield__input {
    border: none;
}
div.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label.is-upgraded.is-focused > div > label,
div.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label.is-upgraded.is-dirty > div > label,
div.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label.is-upgraded.is-invalid > div > label {
    top: 14px;
    display: inline;
    top: 14px;
    width: 40px;
    right: 0;
    left: 8px;
    height: 12px;
    background-color: #fff;
    text-align: center;
}

.mdl-textfield__label::after {
    display: none !important;
}
.select-email__title {
  padding: 16px;
  text-align: center;
  margin: 0;
}
.mdl-list::-webkit-scrollbar {
  width: 8px; /* width of the entire scrollbar */
}
.mdl-list::-webkit-scrollbar-track {
  background: #eee; /* color of the tracking area */
}
.mdl-list::-webkit-scrollbar-thumb {
  background-color: #666; /* color of the scroll thumb */
}
.mdl-list__item--two-line:hover {
  background-color: #eee;
}
.mdl-textfield__outerline {
  border: 1px solid #0000001F;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  align-items: center;
}

.mdl-card__actions {
    display: flex;
    justify-content: space-between;
}