/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

html, body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
main, #messages-card {
  height: 100%;
  padding-bottom: 0;
}
#messages-card-container {
  /*height: calc(100% - 150px); */
  padding-bottom: 20px;
  display: none;
}
#messages-card {
  margin-top: 15px;
  width: 860px;
}
.mdl-layout__header-row span {
  margin-left: 15px;
  margin-top: 17px;
}
.mdl-grid {
  /*max-width: 1024px;
  margin: auto;
  */
  max-width: 1280px;
  margin: auto;
}
.material-icons {
  font-size: 36px;
  top: 8px;
  position: relative;
}
.mdl-layout__header-row {
  padding: 0;
  margin: 0 auto;
}
.mdl-card__supporting-text {
  width: 100%; /*auto;*/
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}
#messages {
  overflow-y: auto;
  margin-bottom: 10px;
  /*height: calc(100% - 80px);*/
}
#message-filler {
  flex-grow: 1;
}
.message-container:first-of-type {
  border-top-width: 0;
}
.message-container {
  display: block;
  margin-top: 10px;
  border-top: 1px solid #f3f3f3;
  padding-top: 10px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.message-container.visible {
  opacity: 1;
}
.message-container .pic {
  background-image: url('/img/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 0 5px 10px;
}
.message-container .name {
  display: inline-block;
  width: 100%;
  padding-left: 40px;
  color: #bbb;
  font-style: italic;
  font-size: 12px;
  box-sizing: border-box;
}
.message-row {
  margin: 10px 0 10px 0;
}

#message-form {
/*display: flex;
  flex-direction: row;
  width: calc(100% - 48px);
*/
  float: left;
  padding-bottom: 16px;
}

#image-form {
  display: flex;
  flex-direction: row;
  width: 48px;
  float: right;
}
#message-form .mdl-textfield {
  width: calc(100% - 100px);
}
#message-form button, #image-form button {
  width: 160px;
  margin: 15px 0 0 10px;
}
#message-form .form-inline {
  display: flex;
  flex-direction: row;
  width: calc(100% - 48px);
}
.mdl-card {
  min-height: 0;
}
.mdl-card {
  background: linear-gradient(white, #f9f9f9);
  justify-content: space-between;
}
#user-container {
  position: absolute;
  display: flex;
  flex-direction: row;
  top: 15px;
  right: 0;
  padding-left: 10px;
  justify-content: flex-end;
  padding-right: 10px;
  z-index: 100;
}
#user-container #user-pic {
  top: -3px;
  position: relative;
  display: inline-block;
  background-image: url('/img/profile_placeholder.png');
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  background-size: 40px;
  border-radius: 20px;
}
#user-container #user-name {
  font-size: 16px;
  line-height: 36px;
  padding-right: 10px;
  padding-left: 20px;
}
.material-icons {
  top: -1px;
}
.message img {
  max-width: 300px;
  max-height: 200px;
}
#mediaCapture {
  display: none;
}
@media screen and (max-width: 610px) {
  header {
    height: 113px;
    padding-bottom: 80px !important;
  }
  #user-container {
    top: 72px;
    background-color: rgb(3,155,229);
    height: 38px;
    padding-top: 3px;
    padding-right: 2px;
  }
  #user-container #user-pic {
    top: 2px;
    width: 33px;
    height: 33px;
    background-size: 33px;
  }
}
.mdl-textfield__label:after {
  background-color: #0288D1;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label {
  color: #0288D1;
}
.mdl-button .material-icons {
  top: -1px;
  margin-right: 5px;
}
.demo-card-image.mdl-card {
  margin: 20px 0 0 0;
  /*width: 100%; 800px;*/
}
.demo-card-image > .img-responsive {
  padding: 12px; 12px; 0; 12px;
}
.demo-card-image > .mdl-card__actions {
  padding-bottom: 12px;
}
.demo-card-wide.mdl-card {
  width: 800px;
}
.demo-card-wide > .mdl-card__title {
  color: #fff;
  height: 500px;
  background: url('https://c1.staticflickr.com/5/4130/4978362207_200921acb8_b.jpg') center / cover;
}
.demo-card-wide > .mdl-card__menu {
  color: #fff;
}
.mdl-badge-warning[data-badge]::after{
  background: orange;
}
.mdl-badge-danger[data-badge]::after{
  background: red;
}
.overlay{
    background-color:#000;
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    z-index:1000;
    overflow-y: scroll;
}
img.prov-logo { 
	height: 80px; 
	margin: 10px 0 10px 0; 
	display: none;
}
input,textarea,select { margin-bottom: 20px; }
div.footer { margin-top: 30px }
div.scan { margin: 30px 0 0 0; }
div.legal { margin-top: 20px; opacity: 0.2; }
#title {
	font-family: 'Roboto Condensed';
	margin-top: 45px;
	color: #757575; /*#1E88E5;*/
}
div.wait-message
{
	margin-top: 160px;
}
#table_div {
	display: block;
	margin-top: 20px;
	min-height: 200px;
	/*width: 100%;*/
}
.have-provider {
	/*display: none;*/
	visibility: hidden;
}
.demo-layout .mdl-layout__drawer-button {
  /* This background is dark, so we set text to white. Use 87% black instead if
	 your background is light. */
  color: white;
  background: transparent;
}
button.action {
	width: 42px;
	height: 30px;
}
.birthdate-width {
	min-width: 80px;
}
h3.searching {
	display: none;
}
#map {
	width: 100%;
	height: 400px;
	background-color: grey;
	visibility: hidden;
}
.mdl-navigation > a > span.glyphicon {
	margin-right: 20px;
}
.search-external {
	display: none;
}
li.search-external {
	display: none;
}
  #settings
, #wallet
, #fax
, #fax-error
, #history
, #now_layout
, #scanscan-bookings-results
, #scanscan-bookings-search-remove-button
{
	display: none;
}
button.btn-sms-label {
	width: 80px;
}
.wallet-row, .fax-row {
	margin-top: 30px;
}
span.action-success {
	color: #5cb85c;
}
span.action-warning {
	color: #f0ad4e;
}
span.action-failure {
	color: #d9534f;
}
input.fax-res-opt {
	margin: 5px 20px 5px 20px;
}
div.external-links {
	display: none;
}
div.bookings-result-header {
	font-weight: bold;
	margin-top: 10px;
}
#now_layout {
	margin-top: 20px;
}
.mdl-layout__drawer-button {
	display: none;
}
.CodeMirror {
	height: 100%;
}
img.employee-photo {
	height:64px; 
	margin-right:20px;
}
#caller-dialog {
	min-width: 600px;
}
#caller-dialog-patient-name {
	margin: 10px 0 0 10px;
}
#page-header {
	display: none;
}
#new-user-dialog {
	min-width: 400px;
}
table.google-visualization-table-table tr td:nth-child(2) {
    max-width: 140px;
}

table.google-visualization-table-table tr td:nth-child(6) {
    max-width: 140px;
}

#magnet-edit-regenerate-button {
    margin-left: 10px;
}