body {
    background-color: #428bca;
    background-image: url(/frontend/images/bg-paw-print.jpg);
    background-size: contain;
    background-attachment: fixed;
}

.panel .logo img { width: 120px; }
.panel .logo h3 { text-align: center; margin: 10px 0; }

.panel-header { 
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 4px solid #ddd; padding: 15px;
    
}
.panel-header .item.logo { min-width: 150px; max-width: 150px; }
.panel-header .item.logo img { width: 100%; height: 100%; }
.panel-header .item.titulo { display: none; }
.panel-header .item.menu ul { list-style: none; }
.panel-header .item.menu ul li { margin-bottom: 5px; }

.panel-auth { margin: 80px auto 0 auto; width: 98%; max-width: 400px; }
.panel-auth .panel-footer { margin-top: 15px; }
.panel-auth .panel-footer p { text-align: center; margin: 0; }

.lista-animais .animal .dados .media-buttons .btn-ficha-animal {
    width: auto !important; max-width: none !important; font-size: 16px;
}

.timeline > li > .timeline-badge i { line-height: 50px; }

.dados .panel:first-child { height: auto !important; }
.topbar .panel { border-bottom: none; }

.animal-file-preview .file-input .btn-file, 
.animal-file-preview .file-input .kv-file-remove {
    display: none !important;
}

#form_Tutor_meusdados .progress {
    margin-bottom: 0;
}

#prevencoes.tab-pane .panel-heading .panel-title {
    display: table;
    width: 100%;
}

.panel-tutor #prevencoes .label-situacao {
    width: 100px;display: inline-block;
    padding: 5px 0; text-transform: uppercase;
}

a.timeline-readmore {
    border-bottom: solid 5px #ccc; font-weight: bold;
}

.timeline > li > .badge-internacao {
    width: 32px;
    height: 32px;
    line-height: 34px;
    font-size: 1.5em;
    left: 57px;
    top: -8px;
    color: #dc3545;
    background: none;
}

/* ESTILOS PARA A DIALOG COM COMPARACAO DE RESULTADOS DE EXAMES */
.animal-exame table .identificador-coluna, .animal-exame table .identificador-coluna th {
    background: none !important;
}
#modal_evolucao_Exame .animal-exame table thead {
    border-bottom: 1px solid #ddd;
}
#modal_evolucao_Exame .animal-exame table tr.identificador-coluna th {
    color: #3077b4; font-size: 110%; padding: 8px;
}
#modal_evolucao_Exame .animal-exame table tr.identificador-coluna th.exame-data span {
    background-color: yellow !important;
    display: inline-block; padding: 2px;
}

.timeline-act {
    display: block;
    position: absolute;
    right: 0;
    width: auto;
    background: none;
    border: none;
    box-shadow: none;
    top: 0;
    left: auto;
    text-align: right;
}
.timeline-title .signed {
    color: darkgoldenrod !important;
}
.btn-pdf {
    position: relative;
}
.btn-pdf.signed i.fa-certificate {
    top: -6px;
    position: absolute;
    font-size: 120%;
    right: -5px;
    color: darkgoldenrod !important;
    margin-left: 0;
    -webkit-box-shadow: 0 1px 8px rgba(255, 255, 255, 0.175);
    box-shadow: 0 1px 8px rgba(255, 255, 255, 0.175);
}

.dropdown .btn-3dots {
    display: none;
}
.dropdown .dropdown-backdrop {
    display:none;
}

@media (min-width: 1200px) {
    .panel-tutor { margin-top: 20px !important; width: 70%; margin: auto; }
    .panel-tutor.cadastro { max-width: 500px; }

    .panel-header .item.titulo { display: block; }

    .animais .animal { width: 49%; }
}

/* AJUSTAR O TAMANHO DA IMAGEM DO PREVIEW PARA NÃO FICAR MAIOR QUE O ELEMENTO ONDE ELE ESTIVER */
@media (max-width: 499px) {
    .krajee-default.file-preview-frame .kv-file-content {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    /* AJUSTES PARA A COLUNA DE TIPOS DE ATENDIMENTO NO FORM DE CADASTRO DE HISTÓRICO */
    .col-tipo-atendimento { clear: both; }
    .col-tipo-atendimento .help-block { display: none; }
    .col-tipo-atendimento .input-group { display: block; }

    .timeline { margin-top: 0; }
    .timeline > li > .timeline-badge { display: none; width: 40px; height: 40px; line-height: 40px; }
    .timeline > li > .timeline-badge.badge-internacao { display: block; top: -18px; left: 12px; z-index: 1; }
    .timeline:before { left: 18px; display: none; }
    .timeline > li > .timeline-panel { /*width: calc( 100% - 60px );*/ width: 100%; padding: 10px; }
    .timeline > li > .timeline-panel:before { top: 20px; display: none; }
    .timeline > li > .timeline-panel:after { top: 21px; display: none; }

    .timeline .btn-3dots { position: absolute; right: 0px; top: 0px; width: 42px; height: 36px; font-size: 17px; display: block; }
    .timeline-act { 
        width: 42px; min-width: 42px; background: none; border:none; 
        position: absolute; top: 45px; right: 0; left: auto; display: none;
    }
    .timeline-heading .timeline-act.btn-list .btn { margin:0; margin-bottom: 4px; width: 42px; }
    .timeline-title { /*margin-top: 5px;*/ font-weight: bold; }

    #form_lancar_debitos table td input.qtd_itens { min-width: 60px; } 

    .topbar .panel .media-body h1 { font-weight: bold; }

    .panel-body { padding: 10px; }
    
    .dropdown .btn-3dots {
        position: absolute;
        right: 0px;
        top: 0px;
        width: 42px;
        height: 36px;
        font-size: 17px;
        display: block;
    }
    .dropdown.open .dropdown-menu {
        padding: 0;
        background-color: #fff;
    }
}