/**
 * 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;
}


.demo-avatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-self: center;
    filter: drop-shadow(0px 4px 2px #00000070);
}

.demo-layout .mdl-layout__header .mdl-layout__drawer-button {
    color: rgba(0, 0, 0, 0.54);
}

.mdl-layout__drawer .avatar {
    margin-bottom: 16px;
}

.demo-drawer {
    border: none;
}

/* iOS Safari specific workaround */
.demo-drawer .mdl-menu__container {
    z-index: -1;
}

.demo-drawer .demo-navigation {
    z-index: -2;
}

/* END iOS Safari specific workaround */
.demo-drawer .mdl-menu .mdl-menu__item {
    display: flex;
    align-items: center;
}

.demo-drawer-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 5px;
    height: 130px;
}

.demo-avatar-dropdown {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.demo-navigation {
    flex-grow: 1;
}

.demo-layout .demo-navigation .mdl-navigation__link {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    font-weight: 500;
    line-height: 1.5;
}



.demo-navigation .mdl-navigation__link .material-icons {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.56);
    margin-right: 24px;
}


.demo-content {
    max-width: 1080px;
}

.demo-charts {
    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: 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 .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 {
    align-items: flex-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.webp');
    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: flex;
    box-sizing: border-box;
    align-items: center;
}

.bem-vindo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mensagem-bem-vindo {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imagem-bem-vindo {
    width: 300px;
}

.mensagem-bem-vindo .texto-bem-vindo {
    color: hsl(233, 100%, 22%);
    padding-bottom: 50px;
}

.mdl-layout__header-row .mdl-navigation__link .texto-data {
    color: #424242 !important;
}

.logo-topbar {
    height: 64px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}

.centralizando-card {
    display: ruby-text;
}

#btnDisease {
    background-color: hsla(178, 100%, 46%, 0.733) !important;
    color: white !important;
}


#botoes-ajuda {
    color: white !important;
    background-color: hsla(178, 100%, 46%, 0.733) !important;

}


#botoes {
    color: white !important;
}


#botoes-cancelar {
    color: #00000050;
    background-color: white;
    border: 2px solid #00000050;
}

.mdl-textfield label {
    color: #00000075;
    font-size: 0.95em !important;
}

.alert-warning {
    color: #00000060;
    font-size: 0.75em;
    background-color: transparent;
    border: transparent;
}

.mdl-textfield__label:after {
    bottom: 33px
}

.carderno-tooltip-icon {
    color: #004900 !important;
    opacity: 60%;
}

.login-logo-bem-vindo {
    height: 50px;
    width: auto;
    align-self: flex-start;
}

.login-imagem-fundo {
    border-radius: 2%;
}

.login-botao {
    color: white !important;
    background-color: hsl(193, 100%, 38%) !important;
}


.form-control::placeholder {
    color: #00000040 !important;
}

.menu-selecionado {
    background-color: #00490045;
    border-radius: 12px;
}

.tamanho-item-nav {
    min-height: 62px !important;
}

@media (min-width: 1025px) {
    .h-custom-2 {
        height: 50%;
    }
}

@media (max-width: 991px) {
    .login-imagem-fundo {
        visibility: hidden;
    }

    .login-form {
        background-color: white;
        align-items: center;
        border-radius: 3%;
        margin-left: 3%;
        margin-right: 3%;
        filter: drop-shadow(0px 5px 5px black);
        overflow-x: hidden;
    }


    .container-fluid {
        align-content: center;
        background-image: url("../images/fundo_login.webp");
        background-size: cover;
    }
}

.mdl-textfield label {
    font-size: 0.95rem !important;
    color: hsl(193, 100%, 14%) !important;
}

.botao-tabela {
    height: 30px;
    width: 30px;
    background-color: 1F6129;
    color: white;
    border-radius: 50%;
    border: 1px solid black;
}

.botao-tabela i {
    font-size: 1.5em;
}

table th {
    font-size: 0.9em;
    color: white !important;
}

table td {
    font-size: 0.9em;
    color: black;
}

table thead {
    background-color: hsl(193, 100%, 14%);
    color: white;
}


form div .mdl-textfield__input {
    font-size: 1.5rem !important;
}

@media (max-width: 1024px) {
    .logo-topbar {
        height: 53px !important;
    }
}

@media (max-width: 490px) {
    .logo-topbar {
        height: 40px !important;
        margin-right: 5px;
    }

    .texto-data {
        font-size: 0.8rem;
        margin-right: 0px;
    }

    .mdl-layout__drawer-button {
        align-content: center;
    }

    .mdl-layout__header-row {
        padding: 0 0px 0 55px;
    }

    .mdl-layout__header-row .mdl-navigation__link {
        padding: 0;
    }
}

@media (max-width: 340px) {
    .logo-topbar {
        height: 35px !important;
        margin-right: 5px;
    }

}

@media (max-width: 480px) {
    table td {
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .botao-tabela {
        height: 25px;
        width: 25px;
    }

    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

}

@media (hover) {

    .mdl-navigation__link:hover>.material-icons {
        color: hsl(193, 100%, 14%) !important;
    }

    .demo-layout .demo-navigation .mdl-navigation__link:hover {
        background-color: hsla(178, 100%, 46%, 0.733);
        color: hsl(193, 100%, 14%) !important;
        border-radius: 12px;
        text-decoration: none;
    }

    .login-botao:hover {
        color: hsl(193, 100%, 14%) !important;
        background-color: hsla(178, 100%, 46%, 0.733) !important;
    }


    #botoes-cancelar:hover {
        color: #252525;
    }

    #btnDisease:hover {
        color: hsl(193, 100%, 14%) !important;
        background-color: hsla(178, 100%, 46%, 0.733) !important;
    }

    #botoes-ajuda:hover {
        color: hsl(193, 100%, 14%) !important;
        background-color: hsla(178, 100%, 46%, 0.733) !important;

    }

    #botoes:hover {
        color: hsl(193, 100%, 14%) !important;
        background-color: hsla(178, 100%, 46%, 0.733) !important;
    }

}