/**
 * 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;*/
  font-family: 'Ubuntu', sans-serif;
}
input, textarea, keygen, select, button {
  /*font-family: 'Roboto', 'Helvetica', sans-serif;*/
  font-family: 'Ubuntu', sans-serif;
}
.teleges-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}
.teleges-layout .teleges-header .mdl-textfield {
  padding-top: 27px;
}
.teleges-header {
  /*overflow-x: auto;*/
  box-shadow: 0 1px 30px rgba(0,0,0,0.10);
}
.teleges-layout .mdl-layout__header {
  background: rgba(255, 255, 255, 0.7);
}
@supports (-webkit-backdrop-filter: initial) or (backdrop-filter: initial) {
  .teleges-layout .mdl-layout__header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }
}
.teleges-layout .mdl-layout__header .mdl-layout__drawer-button {
  color: rgba(0, 0, 0, 0.54);
  background-color: transparent;
}
@media screen and (max-width: 1024px) {
  .mdl-layout__header-row {
    height: 56px;
    padding: 0 52px 0 56px;
  }
  .mdl-layout__header-row::after {
    content: "";
    z-index: 9;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 76px;
    height: 56px;
    background: linear-gradient(to left, #fff 66%, transparent 100%);
  }
}

.mdl-layout {
	overflow: hidden;
}
.mdl-layout__content {
  z-index: initial;
  margin-top: -100px;
  padding-top: 100px;
}
.mdl-layout__drawer {
  box-shadow: none;
}
.mdl-layout__drawer .avatar {
  margin-bottom: 16px;
}
.mdl-layout__title, .mdl-layout-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
}
.mdl-shadow--2dp {
  box-shadow: 0 1px 1px rgba(200,200,200,.11),
              0 2px 2px rgba(200,200,200,.11),
              0 4px 4px rgba(200,200,200,.11),
              0 8px 8px rgba(200,200,200,.11),
              0 16px 16px rgba(200,200,200,.11),
              0 32px 32px rgba(200,200,200,.11);
}

.mdl-tooltip.arrow-bottom::after {
  position: absolute;
  content: "";
  border: 6px solid transparent;
  left: calc(50% - 6px);
  bottom: -12px;
  border-top-color: rgba(97, 97, 97, .9);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
}
p {
  color: #999;
  font-weight: 300;
}
a {
  color: #0083a9;
  text-decoration: none;
}
a:hover {
  color: #333;
}

.teleges-titulo {
	height: 34px;
	color: #0083a9;
	padding: 17px 20px 13px 20px;
	/*font-family: 'Lobster', cursive;*/
	font-size: 1.2em;
	font-weight: 300;
	text-align: center;
}
.teleges-titulo img {
	margin-top: -12px;
}
.teleges-drawer {
  border: none;
  box-shadow: 0 1px 30px rgba(0,0,0,0.5);
  background-color: rgba(0, 191, 232, 1) !important;
}
.teleges-drawer::-webkit-scrollbar {
 display: none;
}

@supports (-webkit-backdrop-filter: initial) or (backdrop-filter: initial) {
  .mdl-layout__obfuscator.is-visible {
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
  }
}

.teleges-drawer .mdl-menu .mdl-menu__item{
  display: flex;
  align-items: center;
}
.teleges-drawer-header {
  box-sizing: border-box;
  /*display: flex;*/
  display: inline;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0px 0 0 0;
}
.teleges-avatar-dropdown {
	position: relative;
  /*display: flex;
  flex-direction: row;
  align-items: center;*/
  padding: 40px 10px 20px 18px;
  background-color: #2f3b4c !important;
}
.teleges-avatar-dropdown .icono-usuario {
	float: left;
	font-size: 2em;
}
.teleges-avatar-dropdown .empresa-usuario {
	font-size: 1.5em;
	font-weight: 300;
	color: #00bfe8;
	margin-left: 10px;
}
.teleges-avatar-dropdown .nombre-usuario {
	font-size: 1em;
	font-weight: 300;
  color: #00bfe8;
	margin-left: 10px;
}
.teleges-avatar-dropdown .email-usuario {
  font-size: 1em;
  font-weight: 300;
  margin-left: 10px;
  padding-top: 0;
}

.teleges-navigation {
  flex-grow: 1;
  background-color: #2f3b4c !important;
}
.teleges-layout .teleges-navigation .mdl-navigation__link {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  color: #b0bec5;
  font-weight: 300;
  padding: 10px 15px;
  border-left: 3px solid transparent;
}
.teleges-layout .teleges-navigation .active .mdl-navigation__link {
  background-color: #2a3344;
  color: #b0bec5;
  /*box-shadow: 0 1px 2px rgba(0,0,0,0.65);*/
  border-left: 3px transparent;
  border-left: 3px solid #00bfe8;
}
.teleges-layout .teleges-navigation .mdl-navigation__link:hover {
	border-left: 3px solid #00bfe8;
  background-color: #2a3344;
  color: #b0bec5;
}
.teleges-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.56);
  margin-right: 15px;
}

.teleges-content {
  /*max-width: 1080px;*/
  width: 96%;
}

.teleges-charts {
  align-items: center;
}
.teleges-chart:nth-child(1) {
  color: #ACEC00;
}
.teleges-chart:nth-child(2) {
  color: #00BBD6;
}
.teleges-chart:nth-child(3) {
  color: #BA65C9;
}
.teleges-chart:nth-child(4) {
  color: #EF3C79;
}
.teleges-graphs {
  padding: 16px 32px;
  display: flex;
  flex-direction: column;
  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 .teleges-graphs {
  min-height: 664px;
}
_:-ms-input-placeholder, :root .teleges-graph {
  max-height: 300px;
}
/* TODO end */
.teleges-graph:nth-child(1) {
  color: #00b9d8;
}
.teleges-graph:nth-child(2) {
  color: #d9006e;
}

.teleges-cards {
  align-items: flex-start;
  align-content: flex-start;
}
.teleges-cards .teleges-separator {
  width: 20px;
  height: 20px;
}
.teleges-cards .mdl-card__title.mdl-card__title {
  color: white;
  font-size: 24px;
  font-weight: 400;
}
.teleges-cards ul {
  padding: 0;
}
.teleges-cards h3 {
  font-size: 1em;
}
.teleges-updates .mdl-card__title {
  min-height: 200px;
  background: url('../images/bg3.png') center no-repeat;
  background-size: cover;
}
.teleges-noticias .mdl-card__title {
  min-height: 200px;
  background: url('../images/bg2.jpg') center no-repeat;
  background-size: cover;
}
.teleges-cards .mdl-card__actions a {
  /*color: #00BCD4;*/
  color: #000;
  text-decoration: none;
}

.teleges-card-wide {
  width: 100%;
  margin-bottom: 10px
}

.teleges-options h3 {
  margin: 0;
}
.teleges-options .mdl-checkbox__box-outline {
  border-color: rgba(255, 255, 255, 0.89);
}
.teleges-options ul {
  margin: 0;
  list-style-type: none;
}
.teleges-options li {
  margin: 4px 0;
}
.teleges-options .material-icons {
  color: rgba(255, 255, 255, 0.89);
}
.mdl-card {
  min-height: auto;
}
.teleges-options .mdl-card__actions {
  height: 64px;
  display: flex;
  box-sizing: border-box;
  align-items: center;
}
.teleges-options .mdl-card__supporting-text {
  width: auto;
}

sub-nav {
  /*padding: 4px;*/
  transition: visibility 1s linear;
  /*opacity: 0;*/
  display: none;
}

sub-nav.show {
  /*opacity: 1;*/
  display: block;
}


sub-nav-item {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
  cursor: pointer;
  /*padding: 3px;*/
}

sub-nav-item a.mdl-navigation__link {
  display: block !important;
  padding: 10px 40px !important;
}

sub-nav-item:hover {
  background-color: #00BCD4;
  color: #37474F;
}

sub-nav-item.active, nav-item.active {
  background-color: #00BCD4;
  color: #37474F;

}

nav-item a {
  cursor: pointer;
}

#title-sep {
  display: none;
}

a.mdl-navigation__link .active {

}


sub-nav-item a.mdl-navigation__link {
  padding:100px;
}

.teleges-todo.mdl-card {
  width: 60%;
  margin: auto;
}
.teleges-todo > .mdl-card__title {
  /*color: #fff;*/
  /*height: 176px;*/
}
.teleges-todo > .mdl-card__menu {
  /*color: #fff;*/
}

.teleges-todo .full-width {
  width: 100%;
}

/* Fix for selectable table bug, TODO : Remove this; */
.teleges-todo .mdl-data-table th {
  text-align: left;
}

.teleges-todo .textfield-demo {
  width: 150px;
}


.teleges-element-button .mdl-tabs__panel {
  text-align: center;
  padding: 10px;
}

.loading {
    text-align: center;
    margin-top: 100px;
}


sub-nav-item a {
  width: 100%;
}

.right-arrow-menu {
  float: right;
  text-align: right;
  position: absolute;
  right: 10px;
  margin-top: 2px;
}


/******************************************************************/


.teleges-buscador .textfield-filtro {
  width: 193px !important;
}
.teleges-buscador .textfield-filtro .mdl-textfield__input {
  color: #ccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.teleges-buscador .textfield-filtro .mdl-textfield__label {
  color: rgba(255, 255, 255, 0.5);
}

.teleges-buscador .textfield-filtro-ficha {
  width: 193px !important;
}
.teleges-buscador .textfield-filtro-ficha .mdl-textfield__input {
  color: #ccc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.teleges-buscador .textfield-filtro-ficha .mdl-textfield__label {
  color: rgba(0, 0, 0, 0.5);
}

#filtro_datos .mdl-selectfield__select {
    color: #444;
}

.textfield-filtro-ficha .mdl-selectfield__label {
  color: #ccc;
}
.textfield-filtro-ficha .mdl-selectfield__select {
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}
/*.textfield-filtro-ficha .mdl-selectfield__box {
  border-bottom: 1px solid rgba(0, 0, 0, 0.10) !important;
}
.textfield-filtro-ficha .mdl-selectfield__box>i {
  color: rgba(0, 0, 0, 0.25);
}
.textfield-filtro-ficha .mdl-selectfield__list-option-box {
  max-height: 300px;
}*/

.historial-ficha-cliente {
  /*display: none;*/
  z-index: 0;
}
.historial-ficha-cliente .tabla-historico {
  overflow-x: auto;
}
.historial-ficha-cliente .tabla-historico table {
  width: 100%;
}
.historial-ficha-cliente .tabla-historico .mdl-data-table {
    border: 1px solid rgba(0,0,0,0);
}
.historial-ficha-cliente .tabla-historico .mdl-data-table th {
    /*border-bottom: 1px solid rgba(0,0,0,0.12);*/
}
.historial-ficha-cliente .tabla-historico .mdl-data-table td {
    /*border-top: 1px solid rgba(0,0,0,0);
    border-bottom: 1px solid rgba(0,0,0,0);*/
}
.historial-ficha-cliente .tabla-historico .mdl-data-table th.mdl-data-table__cell--boton {
  text-align: center;
}
.historial-ficha-cliente .tabla-historico .mdl-data-table td.mdl-data-table__cell--boton {
  padding: 2px;
  text-align: center;
}

.tabla-mdl {
  overflow-x: auto;
}
.tabla-mdl table {
  width: 100%;
}
.tabla-mdl .mdl-data-table {
    border: 1px solid rgba(0,0,0,0);
}
.tabla-mdl .mdl-data-table th {
    background-color: #eee;
    border-right: 1px solid #fff;
}
.tabla-mdl .mdl-data-table td {
    /*border-top: 1px solid rgba(0,0,0,0);
    border-bottom: 1px solid rgba(0,0,0,0);*/
}
.tabla-mdl .mdl-data-table th.mdl-data-table__cell--boton {
  text-align: center;
}
.tabla-mdl .mdl-data-table td.mdl-data-table__cell--boton {
  padding: 2px;
  text-align: center;
}
.tabla-mdl a {
  display: block;
  text-decoration: none;
  color: #666;
  transition: all 0.3s;
}
.tabla-mdl a:hover {
  color: #333;
}
.tabla-mdl a.lnk1 {
  display: block;
  text-decoration: none;
  color: rgb(139,195,74);
  transition: all 0.3s;
}
.tabla-mdl a.lnk1:hover {
  color: #222;
}
.tabla-mdl a.lnk2 {
  display: block;
  text-decoration: none;
  color: rgb(255,82,82);
  transition: all 0.3s;
}
.tabla-mdl a.lnk2:hover {
  color: #222;
}

.teleges-buscador .mdl-card__supporting-text {
  color: rgba(255, 255, 255, 0.75);
  overflow-y: visible;
  overflow-x: hidden;
  width: 93%;
}

.teleges-badge .mdl-badge {
  margin-right: 0px;
}

.teleges-badge .mdl-textfield--floating-label.is-dirty .mdl-textfield__label, .mdl-textfield--floating-label.is-focused .mdl-textfield__label {
  /*color: rgb(139, 195, 74);*/
  font-size: 12px;
  top: 4px;
  visibility: visible
}
.teleges-badge .mdl-textfield.is-invalid .mdl-textfield__error {
  visibility: visible
}
.teleges-badge .mdl-textfield__error {
  color: rgb(222, 50, 38);
  position: absolute;
  font-size: 12px;
  margin-top: 3px;
  visibility: hidden;
  display: block;
  white-space: nowrap
}

.teleges-badge .mdl-badge.material-icons {
  /*font-size: 32px;*/
}

.teleges-badge .mdl-badge.material-icons:after {
  display: block;
  border-radius: 20px;
  height: 14px;
  width: 14px;
  color: rgb(255, 255, 255);
  text-align: center;
  line-height: 14px;
  font-size: 10px;
  font-weight: bold;
  position: absolute;
  top: -4px;
  right: -4px;
  transform: scale(1);
  transition: all 0.3s;
  background: rgb(205, 75, 91);
  box-shadow: 0 0 0 2px #fff;
}

#hisbtn .mdl-badge.material-icons:after {
  background: rgb(75, 91, 205);
}

.teleges-ficha .mdl-card__title {
  /*min-height: 200px;*/
  /*background-image: url('../images/ficha_bg.png');*/
  background-position: 90% 100%;
  background-repeat: no-repeat;
}
.teleges-ficha .mdl-card__supporting-text {
  width: auto;
}
.teleges-ficha .textfield-fecha {
  width: 180px;
  margin: 0 10px;
  padding: 0;
}
.teleges-ficha__input {
  text-align: left;
  width: 100%;
}
.teleges-acciones {
  /*display: none;*/
}

.teleges-bienvenida .mdl-card__title {
  position: relative;
  /*min-height: 300px;*/
  background: url('../images/bg1.jpg') center no-repeat;
  background-size: cover;
}

@media (max-width: 479px) {
  .teleges-bienvenida .mdl-card__title {
    min-height: 150px;
  }
}

#notie-alert-outer, #notie-confirm-outer, #notie-input-outer {
  font-weight: 100;
}

.dialog-container > div {
  padding: 0;
}
.dialog-container h5 {
  padding: 16px 16px 16px 25px;
  margin: 0 0 16px 0;
  background-color: #eee;
}
.dialog-container p {
  margin: 0 30px 30px;
}

.mdl-textfield--expandable {
  /* Generado con  http://www.cssmatic.com/es/gradient-generator*/
  background: rgba(83,110,122,0);
  background: -moz-linear-gradient(left, rgba(83,110,122,0) 0%, rgba(83,110,122,1) 11%, rgba(83,110,122,1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(83,110,122,0)), color-stop(11%, rgba(83,110,122,1)), color-stop(100%, rgba(83,110,122,1)));
  background: -webkit-linear-gradient(left, rgba(83,110,122,0) 0%, rgba(83,110,122,1) 11%, rgba(83,110,122,1) 100%);
  background: -o-linear-gradient(left, rgba(83,110,122,0) 0%, rgba(83,110,122,1) 11%, rgba(83,110,122,1) 100%);
  background: -ms-linear-gradient(left, rgba(83,110,122,0) 0%, rgba(83,110,122,1) 11%, rgba(83,110,122,1) 100%);
  background: linear-gradient(to right, rgba(83,110,122,0) 0%, rgba(83,110,122,1) 11%, rgba(83,110,122,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#536e7a', endColorstr='#536e7a', GradientType=1 );

  height: 64px;
  margin: 0 10px;
  padding-left: 40px;
}

.ficha-personalizada
{
  overflow: inherit;
  margin-top: 40px;
}
.ficha-personalizada .mdl-card__title {
  border-radius: 3px;
  margin: -20px 15px 0;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.22), 0 4px 25px 0px rgba(0, 0, 0, 0.09), 0 8px 10px -5px rgba(0, 0, 0, 0.12);
}

/*@media only screen and (max-width: 480px) {

  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  i {
  	margin-top: -7px;
  }

  .fac_det {
  	outline: none;
  	margin-top: -5px;
  }
  .fac_det i {
  	margin-top: -2px;
  }

  .mdl-data-table tbody tr {
    height: auto;
  }
  
  .mdl-data-table tbody tr:nth-child(even) {
    background-color: #eee;
  }

  .mdl-data-table td,
  .mdl-data-table td:first-of-type {
    padding-left: 25%;
    text-align: left !important;
  }

  .mdl-data-table td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 15%;
    padding: 6px 18px 0;
    white-space: nowrap;
    content: attr(data-label);
    text-align: left;
  }
  
  .mdl-data-table td:last-of-type {
    padding-right: 18px;
  }
  
}*/
