﻿/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.wordWrap {
    word-wrap: break-word;      /* IE 5.5-7 */
    white-space: -moz-pre-wrap; /* Firefox 1.0-2.0 */
    white-space: pre-wrap;      /* current browsers */
}

.badge-notify {
    background: red;
    position: absolute;
    top: 2px;
    font-size: 0.75em;
}

body {
    padding-bottom: 25px;
}

#headerProgressoTimer {
    width: 15%;
    margin-top: 15px;
}

#aboutbox {
    background-color: rgb(141, 239, 212);
    background-image: linear-gradient(to bottom, rgb(85, 193, 163), rgb(88, 202, 198));
    padding: 40px;
    border-radius: 6px;
}

#aboutbox h1 {
    color: white;
    text-shadow: 2px 2px 2px rgb(128, 128, 128);
    font-weight: bold;
    font-size: 48px;
    margin: 0;
}

#aboutbox h2 {
    margin: 0;
    padding: 0;
}

#loginbox {
    max-width: 350px;
    margin-top: auto;
    margin-bottom: auto;
}

.box-centered {
    background-color: #fcf8e3;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 0 0 20px 0 #222;
    -webkit-box-shadow: 0 0 20px 0 #222;
    -moz-box-shadow: 0 0 20px 0 #222;
    display: none;
    height: 160px;
    left: 50%;
    margin: -120px 0 0 -160px;
    padding: 10px;
    position: fixed;
    top: 50%;
    width: 320px;
    z-index: 1000;
}

.table-hover tbody tr {
    cursor: pointer;
}

#menufuncionario {
    margin-top: -20px;
    margin-bottom: 10px;
}

#agenda tbody {
    background-color: white;
}

.guia-indicador {
    margin-bottom: 4px;
    border: solid 1px #b1b1b1;
}

.guia-indicador-sepse,
.btn-sepse.active {
    background-color: rgb(255, 255, 121);
    font-weight: bold;
    color: #333;
}

.btn-dia.active {
    background-color: rgb(67, 205, 128);
    font-weight: bold;
    color: #4F4F4F;
}

.guia-indicador-dortoracica, 
.btn-dortoracica.active {
    background-color: rgb(65, 220, 255);
    font-weight: bold;
    color: #333;
}

.guia-indicador-avc,
.btn-avc.active {
    background-color: rgb(65, 255, 145);
    font-weight: bold;
    color: #333;
}

.guia-indicador-traumatologia,
.btn-traumatologia.active {
    background-color: rgb(255, 135, 251);
    font-weight: bold;
    color: #333;
}

.guia-indicador-prestesareceberaltamedica,
.btn-prestesareceberaltamedica.active {
    background-color: rgb(255, 202, 106);
    font-weight: bold;
    color: #333;
}

.guia-indicador-guiapendente,
.btn-guiapendente.active {
    background-color: rgb(255, 50, 50);
    font-weight: bold;
    color: #333;
}

.guia-indicador-necessidadesespeciais,
.btn-necessidadesespeciais.active {
    background-color: rgb(0, 255, 255);
    font-weight: bold;
    color: #333;
}

.btn-dia {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-sepse,
.btn-dortoracica,
.btn-avc,
.btn-traumatologia,
.btn-prestesareceberaltamedica,
.btn-guiapendente,
.btn-necessidadesespeciais {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.guiaExameStatus{
    float: right; 
    width: 2em;
    text-align: center;
    border: solid 1px silver;
    border-radius: 14px;

    /*height: 2em;*/
    font-weight: bold;
}

.agendaHoje {
    background-color: #00b9b5 !important;
}
.agendaFinalDeSemana {
    background-color: rgba(118, 139, 136, 0.67);
}
.agendaSemana {
    height: 200px;
}

.marginTopBottom {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* PROCURAS POR AUTO-COMPLETE  */

.itemProcuraId {
    font-size: 0.7em;
    float: right;
}

.itemProcuraNome {
}

.itemProcuraInfo {
    font-size: 0.8em;
}

.itemProcuraExame {
    /*float: left;
    width: 380px;*/
    cursor: pointer;
    border: 1px silver solid;
    border-radius: 2px;

    margin-bottom: 3px;

    position: relative;
    height: auto;
}

/*.itemProcuraExame:hover, .selecionado {
    background: lightblue;
}*/

.itemProcuraExameApelido {
    font-size: 1.4em;
    width: 4.5em;
    font-weight: bold;
    position: absolute;
    height: 100%;
    top: 2px;
    left: 2px;

    vertical-align: middle;
}

.itemProcuraExameInfo {
    /*float: left;*/
    /*position: absolute;*/
    padding-left: 5.5em;
    max-width: 300px;
}

@media print {

    #menufuncionario {
        display: none;
    }

    .container {
        font-size: 60%;
    }

    h1 {
        font-size: 24px !important;
    }

    div{
        font-size: 16px !important;
    }

    h2 {
        font-size: 25px !important;
    }

    h3 {
        font-size: 16px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    hr, ul {
        margin: 0 !important;
    }

    .table {
        margin-bottom: 0px !important;
    }

    td{
        padding: 1px 1px 1px 1px !important;
        font-size: 16px;
    }

    th{
        padding: 2px 2px 2px 2px !important;
        font-size: 16px;
    }

    .well {
        margin: 0 !important;
    }
      
    .well-sm{
      padding: 1px 1px 1px 1px !important;
    }

    a[href]:after {
        content: none !important;
    }

    .page{
        width: 21cm;
        min-height: 29.7cm;
        padding: 2cm;
        margin: 1cm auto;
        border: 1px #D3D3D3 solid;
        border-radius: 5px;
        background: white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
    
    @page{
        size: A4;
        margin: 5mm;
    }
}



/* CORREÇÃO DO JQUERY DATEPICKER PARA O BOOTSTRAP */

.ui-datepicker {
  z-index: 1000;
}

/* CORREÇÃO DO JQUERY AUTOCOMPLETE PARA O BOOTSTRAP */

.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  display: none;
  min-width: 160px;
  _width: 160px;
  padding: 4px 0;
  margin: 2px 0 0 0;
  list-style: none;
  background-color: #ffffff;
  border-color: #ccc;
  border-color: rgba(0, 0, 0, 0.2);
  border-style: solid;
  border-width: 1px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  *border-right-width: 2px;
  *border-bottom-width: 2px;

  .ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;

    &.ui-state-hover, &.ui-state-active {
      color: #ffffff;
      text-decoration: none;
      background-color: #0088cc;
      border-radius: 0px;
      -webkit-border-radius: 0px;
      -moz-border-radius: 0px;
      background-image: none;
    }
  }
}
