html, body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
.blue-link {
    color: #4980c7;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}
.blue-link:visited {
    color: #4980c7;
}
.custom-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}
.custom-layout .mdl-layout__header .mdl-layout__drawer-button {
  color: rgba(0, 0, 0, 0.54);
}
.mdl-layout__drawer .avatar {
  margin-bottom: 16px;
}
.custom-drawer {
  border: none;
}
/* iOS Safari specific workaround */
.custom-drawer .mdl-menu__container {
  z-index: -1;
}
.custom-drawer .custom-navigation {
  z-index: -2;
}

/* END iOS Safari specific workaround */
.custom-drawer .mdl-menu .mdl-menu__item {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.custom-drawer-header {
  box-sizing: border-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 16px;
  height: 220px;
}
.custom-logo {
    text-align: center;
}
.custom-avatar-dropdown {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.custom-navigation {
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.custom-layout .custom-navigation .mdl-navigation__link {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
}
.custom-layout .custom-navigation .mdl-navigation__link:hover {
  background-color: #00BCD4;
  color: #37474F;
}
.custom-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.56);
  margin-right: 32px;
}

.custom-content {
  max-width: 1080px;
  padding: 10px;
}

.custom-charts {
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.custom-chart:nth-child(1) {
  color: #ACEC00;
}
.custom-chart:nth-child(2) {
  color: #00BBD6;
}
.custom-chart:nth-child(3) {
  color: #BA65C9;
}
.custom-chart:nth-child(4) {
  color: #EF3C79;
}
.custom-graphs {
  padding: 16px 32px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
/* TODO: Find a proper solution to have the graphs
 * not float around outside their container in IE10/11.
 * Using a browserhacks.com solution for now.
 */
_:-ms-input-placeholder, :root .custom-graphs {
  min-height: 664px;
}
_:-ms-input-placeholder, :root .custom-graph {
  max-height: 300px;
}
/* TODO end */
.custom-graph:nth-child(1) {
  color: #00b9d8;
}
.custom-graph:nth-child(2) {
  color: #d9006e;
}

.custom-cards {
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-align-content: flex-start;
      -ms-flex-line-pack: start;
          align-content: flex-start;
}
.custom-cards .custom-separator {
  height: 32px;
}
.custom-cards .mdl-card__title.mdl-card__title {
  color: white;
  font-size: 24px;
  font-weight: 400;
}
.custom-cards ul {
  padding: 0;
}
.custom-cards h3 {
  font-size: 1em;
}
.custom-updates .mdl-card__title {
  min-height: 200px;
  background-image: url('images/dog.png');
  background-position: 90% 100%;
  background-repeat: no-repeat;
}
.custom-cards .mdl-card__actions a {
  color: #00BCD4;
  text-decoration: none;
}

.custom-options h3 {
  margin: 0;
}
.custom-options .mdl-checkbox__box-outline {
  border-color: rgba(255, 255, 255, 0.89);
}
.custom-options ul {
  margin: 0;
  list-style-type: none;
}
.custom-options li {
  margin: 4px 0;
}
.custom-options .material-icons {
  color: rgba(255, 255, 255, 0.89);
}
.custom-options .mdl-card__actions {
  height: 64px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  box-sizing: border-box;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

/*CRUD Table and buttons*/
.demo-content{
    display:inline-block;
}

.demo-content .new-button{
    margin: 15px;
    float: right;
}

/*search box*/
.search-box {
    height: 24px;
    margin-right: 7px;
    width: 140px;
    margin-top: 7px;
    }

/*custom controls*/
.form-row {
	margin-bottom: 10px;
	width: 100%;
}
.form-control {
    min-height: 22px;
    font-size: 1.2em;
    padding: 3px;
    border: 1px solid #DEDEDE;
    color: #051f5b;
    background-color: #fdfcf9;
}

.form-status {
	color: #e04d42;
    font-size: 1.1em;
    font-weight: bold;
    padding: 3px;
}

.inline-field {
	width: 50px;
    padding: 3px;
    border: 1px solid #dedede;
    background-color: #fefff1;
}

.inline-field-select {
	width: 50px;
    padding: 3px;
    border: 1px solid #dedede;
    background-color: #fefff1;
}

.invalid-value {
	background-color: #fba9a9;
}

.remove-det {
	color: #607d8b;
	cursor: pointer;	
}
 .hdbl {
	display: none;
 }
 
 /*documents*/
.docu-header {   
	font-size: 1.1em;
    font-weight: bold;
    background-color: #d7e8d5;
    width: 100%;
    padding: 3px;
}
.docu-block {
	border: 1px solid #DDD;
    background-color: white;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    min-height: 40px;
    overflow: hidden;
}
.field-flow {
	background-color: #fff;
    width: 150px;
    display: inline-block;
    margin-right: 10px;
}

.frm-small-btn {
    background: #3f51b5;
    color: #fff;
    border: none;
    border-radius: 2px;
    position: relative;
    height: 24px;
    margin: 0;
    min-width: 48px;
    padding: 0 8px;
    display: inline-block;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 24px;
    vertical-align: middle;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
}

.group {
	width: 90%;
    margin: 20px 0px;
}
.group-header {
	width: 100%;
    min-height: 25px;
    background-color: darkseagreen;
    font-size: 1.2em;
    font-weight: 500;
    padding: 5px;
}
.group-items {
	width: 100%;
    min-height: 35px;
    background-color: #DEDEDE;
    font-size: 1.2em;
    padding: 5px;
}
.group-tools {
	display: inline-block;
    float: right;
}
.groups-tools {
    display: inline-block;
    float: right;
    padding-right: 10%;
}
.form-action-link {
	color: #6495ed;
	text-decoration: underline;
	cursor: pointer;
	font-size: 1.1em;
}
.item-attr {
	display: block;
    margin-bottom: 5px;
}
.item-opts {
    margin-bottom: 10px;
}
.field-row {
    margin-bottom: 15px;
    background-color: #ffffff;
    padding: 10px;
    color: #3e609c;
}
.inline-edit {
	display: inline-block;
	min-width: 150px;
	background-color: whitesmoke;
    padding: 3px;
    color: #333;
}
.inline-edit:focus {
	background-color: #fff;
}
label {
	font-weight: bold;
    color: #777796;
    font-size: 1.1em;
	}
.mdl-button {
	margin-bottom: 10px;
	}
.add-det {

}
.total{
	float: right;
    font-size: 2em;
    color: #212121;
    margin-top: 10px;
	}
.reg-status {
	margin-left: 20px;
    color: #fefff1;
    background-color: #4caf50;
    padding: 3px;
    font-size: 0.9em;
	}

.flash-message-wrapper {
    z-index: 1500;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 200px;
    display: none;
}
.flash-message {
    background-color: #6fb76f;
    color: #f8fdff;
    font-size: 1.3em;
    padding: 10px;
    margin: 20px;
    display: inline-block;
    border: 1px solid #6fd26f;
    border-radius: 2px;
}

.ack-ok {
	color: green;
	}
.ack-err {
	color: red;
}

#app-ver{
    display: inline-block;
    position: relative;
    bottom: 10px;
    margin-left: 20px;
    margin-top: 40px;
    color: #919a9e;
}

#appFooter {
	text-align: center;
    color: #757575;
    padding: 5px;
}

#appFooter a {
	color: #3f51b5;
}
