﻿
.AreaEspelho {
/*    position: relative;
    max-width: 1600px;
    min-width: 1000px;*/
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    overflow-x: auto;
    overflow-y: auto;
    margin: 20px auto;
    border: solid 1px #f7f6f6;
}

#tblUnidades {
    margin: 0px auto;
    border: solid 1px #dadada;
}

.divNomes {
    font-size: xx-small;
    text-align: center;
}

.CelulaUnidade {
    max-height: 80px;
    min-height: 80px;
    width: 100%;
    /*padding: 3px;*/
    border: solid 1px #dadada;
}

.CelulaUnidadeComTipologia {
    max-height: 92px;
    min-height: 92px;
}

.TipologiaUnidade {
    height: 12px;
    padding: 0 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.6rem;
}

.NomeUnidade {
    text-align: center;
    font-size: small;
    font-weight: bold;
    vertical-align: middle;
    height: 20px;
}

.IconeStatus {
    float: right;
}

.IconeStatusEsquerda {
    float: left;
}

.LarguraCelula {
    max-width: 300px;
    min-width: 180px;
}

.AlturaIcones {
    height: 20px;
}

.AlturaNomes {
    height: 30px;
}

.DadosUnidades {
    width: 300px;
    height: 150px;
    font-size: small;
}

.linha {
    top: 40px;
    position: relative;
    z-index: 1;
    width: 100px; /*since container is a square this equals to its diagonal: 300*1.41*/
    height: 1px;
    background-color: #000;
    left: -11px;
}

.Esquerda {
    transform: rotate(45deg); /*again, this is easy since its a square. In rectangle you'll have to find a tangent*/
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.Direita {
    transform: rotate(135deg); /*again, this is easy since its a square. In rectangle you'll have to find a tangent*/
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}
