
.main-view {
  height: 100%;
  display: flex;
}

.md-button.md-default-theme.md-accent.md-raised, .md-button.md-default-theme.md-accent.md-fab {
  color: rgb(255,255,255);
}

.md-button {
  padding: 8px 6px;
}

md-item-content .md-button {
  padding: 8px 10px;
}

md-input-container {
  padding-top: 0 !important;
}

md-radio-button {
  display: flex;
}

md-autocomplete {
  box-shadow: none;
  background: none !important;
  margin-bottom: 26px;
  margin-top: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.117647);
}

md-autocomplete input {
  padding: 2px 2px 1px;
  font-size: 100%;

}

md-toast {
  max-width: 100%;
}

[print-only] {
  display: none;
}

html, body {
  height: 100%;
  padding: 0;
  margin: 0;
}

.add-new-button {
  position: fixed;
  left: 275px;
  top: 50px;
  z-index: 100 !important;
}

.menu-item  {
  width: 100%;
  line-height: 2.0em;
  text-align: left;
}

.item-button {
  text-align: left;
  text-transform: none;
}

.list-divider {
  padding: 8px 10px;
  background-color: #eee;
  color: #000;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  font-weight: bold;
}

.hide {
  display: none;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.margin-top {
  margin-top: 16px;
}

.margin-left {
  margin-left: 16px;
}

.margin-right {
  margin-right: 16px;
}

.margin-bottom {
  margin-bottom: 16px;
}

input[type=text], input[type=password] {
  width: 100%;
}

h1.no-vertical-margin,
h2.no-vertical-margin,
h3.no-vertical-margin,
h4.no-vertical-margin,
h5.no-vertical-margin,
h6.no-vertical-margin {
  margin-top: 0px;
  margin-bottom: 0px;
}


.md-calendar-subheader :first-child span,
.md-calendar .md-calendar-row :first-child span,
.md-calendar-subheader :last-child span,
.md-calendar .md-calendar-row :last-child span {
  color: #aaa;
}

.md-calendar-subheader {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  height: 40px;
  font-size: 75%;
  text-align: center;
  background: #fff;
  margin-top: 40px;
}

.md-calendar-column-heading {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: block;
  padding: 0 5px;
  width: 100%;
  -webkit-align-self: center;
  -moz-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.md-calendar {
  text-align: center;
}

.md-calendar-month {
  float: left;
  min-width: 350px;
  margin: 5px;
  min-height: 457px;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.md-calendar-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.md-calendar-month-cell {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 5px;
  width: 100%;
  height: 40px;
  font-size: 100%;
  text-align: left;
  line-height: 30px;
  background-color: rgb(33,150,243);
  font-weight: bold;
  position: relative;
  top: -80px;
  margin-bottom: -39px;
}

.md-calendar-month-cell span {
  color: #fff !important;
  text-transform: uppercase;
}

.md-calendar-cell {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
  padding: 10px 5px;
  width: 100%;
  height: 60px;
}

.md-calendar-cell:not(:empty) {
  padding-top: 20px;
  position: relative;
  cursor: pointer;
  background-color: #fff;
  margin: 1px;
}
.md-calendar-cell i {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -4px;
  text-align: center;
  color: #777 !important;
}


.md-calendar .md-calendar-row .md-calendar-cell.today span {
  color: red;
}

.md-calendar .md-calendar-row .md-calendar-cell.selected-date span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  height: 40px;
  width: 40px;
  margin: -20px 0 0 -20px;
  padding: 10px 0;
  background: red;
  border-radius: 50%;
  color: #fff;
}
