.mdl-layout-title {
  display: block;
  position: relative;
  font-family: "Bevan", sans-serif;
  font-size: 20px;
  line-height: 4;
  letter-spacing: 0.05em;
  color: #718BE0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Roboto", sans-serif;
  background-color: #2f3035;
}

.mdl-layout__header-row {
  background-color: #202124;
  box-shadow: 0 4px 4px rgba(0,0,0,.5);
}

.mdl-layout_content {
  background-color: #202124;
}

#messages-card-container {
  background-color: #2f3035;
}

.mdl-dialog {
  background-color: #585e6f;
  border-radius: 15px;
}

.modalp {
  color: #fff;
  font-size: 14px;
  font-family: "Roboto Condensed";
}

.mdl-dialog .modalp2 {
  color: fff;
  font-size: 12px;
  font-family: "Roboto Condensed";
}

#sign-out {
  background: #00897b;
}

main,
#messages-card {
  height: 100%;
}
#messages-card {
  border-radius: 15px;
}
#messages-card-container {
  height: calc(100% - 10px);
}

.mdl-layout__header-row span {
  margin-left: 10px;
}
.mdl-grid {
  max-width: 1024px;
  margin: auto;
}
.material-icons {
  font-size: 24px;
  margin: 0 1px;
  position: relative;
  color: #718BE0;
}

#imageIcon {
  background-color: #585e6f;
}

#button1 {
  padding-right: 5px;
  padding-left:5px;
}

#button2 {
  padding-left: 5px;
  padding-right: 5px; 
}

.mdl-layout__header-row {
  padding: 0;
  margin: 0;
}

.mdl-card__supporting-text {
  width: 96%;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
  background-color: #e0e0e0;
}
#messages {
  overflow-y: auto;
  margin-bottom: 5px;
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;

}
#message-filler {
  flex-grow: 1;
}
.message-container:first-of-type {
  border-top-width: 0;
}
.message-container {
  display: block;
  margin-top: 5px;
  transition: opacity 1s ease-in-out;
}
.message-container.visible {
  opacity: 1;
}
.message-container .pic {
  background-image: url("/images/profile_placeholder.png");
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  background-size: 30px;
  border-radius: 20px;
}
.message-container .spacing {
  display: table-cell;
  vertical-align: top;
}
.message-container .message {
  display: table-cell;
  width: calc(100% - 40px);
  padding: 5px 5px 5px 10px;
  color:#202124;
  font-family: "Roboto Condensed", sans-serif;
}
.message-container .name {
  display: inline-block;
  width: 100%;
  padding-left: 40px;
  color: #e0e0e0;
  font-style: italic;
  font-size: 12px;
  box-sizing: border-box;
}
#message-form {
  display: flex;
  flex-direction: row;
  width: 100%;
  float: left;
}

#message-form button {
  margin: 20px 0 0 0px;
  background-color: #e0e0e0;
}
.mdl-card {
  min-height: 0;
}
.mdl-card {
  background:#e0e0e0;
  justify-content: space-between;
}

.textfield__input {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.12);
  display: block;
  font-size: 16px;
  font-family: "Roboto Condensed",sans-serif;
  margin: 0;
  padding: 4px 0;
  width: 95%;
  background: 0 0;
  text-align: left;
}

.textfield {
  width: 340px;
}



/*#image-form #submitImage {
  width: 30px;
  padding: 0 6px 0 1px;
  min-width: 0;
}
#image-form #submitImage .material-icons {
  top: -1px;
}
.message img {
  max-width: 300px;
  max-height: 200px;
}
#mediaCapture {
  display: none;
}*/
@media screen and (max-width: 610px) {
  header {
    height: 56px;
    /* padding-bottom: 80px !important;*/
  }
}
  
.mdl-textfield__label:after {
  background-color: #718BE0;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label {
  color: #718BE0;
}
