html, body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
.demo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}
.demo-layout .demo-header .mdl-textfield {
  padding-top: 27px;
}
.demo-layout .mdl-layout__header .mdl-layout__drawer-button {
  color: rgba(0, 0, 0, 0.54);
}
.mdl-layout__drawer .avatar {
  margin-bottom: 16px;
}
.mdl-layout__drawer-button {
    display:none;
}
.demo-drawer {
  border: none;
}
/* iOS Safari specific workaround */
/*.demo-drawer .mdl-menu__container {
  z-index: -1;
}
.demo-drawer .demo-navigation {
  z-index: -2;
}*/

.message-card {
  min-height: 50px;
  min-width: 50px;
  height: auto;
  width: auto;
  max-height: 250px;
  width: 300px;
  position: fixed;
  z-index: 9999;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.login-card-square {
  height: 330px;
  width: 320px;
  padding-right: 32px;
  padding-left: 32px;
  padding-top: 20px;
  padding-bottom: 32px;
  z-index: 9999;
   position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.blur-bckg {
    position: absolute;
    opacity: 0.6;
    background-color: #757575;
    height: 100vh;
    width: 100vw;
    z-index: 9998;
}
.blur-bckg-yn {
    position: absolute;
    opacity: 0.6;
    background-color: #757575;
    height: 100vh;
    width: 100vw;
    z-index: 99999;
}
#button_login {
    padding-right: -32px;
}

#Ph_copy {
  bottom: -15px;
  font-size: 11px;
  color: #bdbdbd;
  text-align: center;
  font-weight: 400;
  position: relative;
}
/*------------------------Yes / No------------------------------------*/
.pop-up {
  z-index: 999999;
  min-width: 300px;
  min-height: 50px;
  height: auto;
  width: auto;
  max-height: 900px;
  max-width: 500px;
  position: fixed;
  top: 50%;
  left: 50%;  
  transform: translate(-50%, -50%);
}
#yes {
  color: #4CAF50;  
}
#no {
  color: #FF5722;
}
/*---------------------- WAIT FOR ME ---------------------------------*/
.pop-upwait {
  z-index: 9999;
  min-width: 300px;
  min-height: 50px;
  height: auto;
  width: auto;
  max-height: 900px;
  max-width: 500px;
  position: fixed;
  top: 50%;
  left: 50%;  
  transform: translate(-50%, -50%);
}

.demo-navigation {
  overflow: hidden;
}
/* END iOS Safari specific workaround */
.demo-drawer .mdl-menu .mdl-menu__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.demo-drawer-header {
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 16px;
  /*height: 151px;*/
  height: 65px;
  /*background-image: url("../Gen_Images/login-pattern.png");*/
}
.demo-avatar-dropdown {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.demo-navigation {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

#account_links {
  margin-top: -15px;
}

.demo-layout .demo-navigation .mdl-navigation__link {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
}
.demo-layout .demo-navigation .mdl-navigation__link:hover {
  background-color: #00BCD4;
  color: #37474F;
}
.demo-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.56);
  margin-right: 32px;
}

.demo-content {
  max-width: 1080px;
}

.demo-charts {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.demo-chart:nth-child(1) {
  color: #ACEC00;
}
.demo-chart:nth-child(2) {
  color: #00BBD6;
}
.demo-chart:nth-child(3) {
  color: #BA65C9;
}
.demo-chart:nth-child(4) {
  color: #EF3C79;
}
.demo-graphs {
  padding: 16px 32px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
  -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 .demo-graphs {
  min-height: 664px;
}
_:-ms-input-placeholder, :root .demo-graph {
  max-height: 300px;
}
/* TODO end */
.demo-graph:nth-child(1) {
  color: #00b9d8;
}
.demo-graph:nth-child(2) {
  color: #d9006e;
}

.demo-cards {
  -webkit-box-align: start;
  -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;
}
.demo-cards .demo-separator {
  height: 32px;
}
.demo-cards .mdl-card__title.mdl-card__title {
  color: white;
  font-size: 24px;
  font-weight: 400;
}
.demo-cards ul {
  padding: 0;
}
.demo-cards h3 {
  font-size: 1em;
}
.demo-updates .mdl-card__title {
  min-height: 200px;
  background-image: url('images/dog.png');
  background-position: 90% 100%;
  background-repeat: no-repeat;
}
.demo-cards .mdl-card__actions a {
  color: #00BCD4;
  text-decoration: none;
}

.demo-options h3 {
  margin: 0;
}
.demo-options .mdl-checkbox__box-outline {
  border-color: rgba(255, 255, 255, 0.89);
}
.demo-options ul {
  margin: 0;
  list-style-type: none;
}
.demo-options li {
  margin: 4px 0;
}
.demo-options .material-icons {
  color: rgba(255, 255, 255, 0.89);
}
.demo-options .mdl-card__actions {
  height: 64px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  box-sizing: border-box;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.check_menu {
  margin: 16px 40px;
}

.mdl-mini-footer {
  padding: 10px 10px;
}

.button_functions {
  margin-right: 10px;
}

.buttons_map {
  background: none;
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1;
}

#text-popup {
  line-height: 1.7;
  font-weight: 400;
}
.button_layer_card {
  width: 100%;
  text-align: left;
  height: 40px;
  padding-left:15px;
  border-top: 1px solid rgba(0,0,0,.1);
  padding-top: 15px;

}
.layer_card {
     z-index: 9999;
  min-height: 50px;
  min-width: 50px;
  height: auto;
  width: auto;
  max-height: 250px;
  width: 300px;
  position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.registo-evento {
  position: absolute;
  z-index: 99999;
  top: 0;
  padding-top: 70px;
  background: none;
  pointer-events:none;
  height: 90%;
}

.registo-evento-card {
  width: 100%;
  position: relative;
  pointer-events: all;
  max-height: 100%;
  overflow: auto;
}

.registo-evento-fields {
  /*padding: 10px;*/
  padding-left: 16px;
}

#first_field {
  padding-top: 26px;
}

#data-field {
  padding-top: 0;
}

#form-field {
  width: 100%;
}

#button-foto {
  margin: 15px;
  margin-bottom: 5px;
  margin-top: 0;
  width: 95%;
}

#save {
  color: #4CAF50;
  float: right;
}

#cancel {
  color: #F44336;
  float: right;
}

.label-field-evento {
  color: #757575;
  font-weight: 500;
}


/*   STYLE SELECT   */

select {
  font-family: inherit;
  background-color: transparent;
  width: 100%;
  padding: 4px 0;
  font-size: 16px;
  /*color: rgba(0,0,0, 0.26);*/
  color: rgba(0,0,0, 0.60);
  border: none;
  border-bottom: 1px solid rgba(0,0,0, 0.12);
}

/* Remove focus */
select:focus {
  outline: none;
}

/* Hide label */
.mdl-selectfield label {
  display: none;
}

/* Use custom arrow */
.mdl-selectfield select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.mdl-selectfield {
  font-family: 'Roboto','Helvetica','Arial',sans-serif;
  position: relative;
}
.mdl-selectfield:after {
  position: absolute;
  top: 0.75em;
  right: 0.5em;
  /* Styling the down arrow */
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: .25em solid transparent;
  border-right: .25em solid transparent;
  border-top: 0.375em solid rgba(0,0,0, 0.12);
  pointer-events: none;
}

