/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 * Arquivo: calendario.css
 *
 * @author     Guilherme Rojas <guilhermehrojas@gmail.com>
 *
 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

div.calendario {
  width: 80%;
  margin: 28px auto;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #faebcc;
  background-color: rgba(252, 248, 227, 0.8);
  padding: 22px 42px;
}

table.calendario
{
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 32px;
  border-collapse: collapse;
  border-spacing: 0;
}

table.calendario > tbody > tr.sombreado
{
  background-color: rgba( 254, 254, 254, 0.3);
}

table.calendario > thead > tr > th
{
  vertical-align: bottom;
  line-height: 1em;
  padding: 8px;
}

table.calendario > thead > tr > th.dia
{
  border-bottom: 2px solid #ddd;
}

table.calendario > thead > tr > th.semana
{
  border-top: 2px solid #ddd;
}

table.calendario > thead > tr > th.mes
{
  border: 0px !important;
  line-height: 0 !important;
  padding: 0 !important;
  vertical-align: none !important;
}

table.calendario > tbody > tr > td, table.calendario > tbody > tr > th
{
  border-top: 1px solid #ddd;
  line-height: 1em;
  padding: 8px;
  vertical-align: top;
}

th.rotacionado {
  /* Something you can count on */
  height: 32px;
  white-space: nowrap;
}

th.rotacionado > div {
  transform: 
    /* Magic Numbers */
    translate(18px, -14px)
    /* 45 is really 360 - 45 */
    rotate(315deg);
  width: 30px;
}
th.rotacionado > div > span {
  border-bottom: 2px solid #ddd;
  padding-left: 1px;
  padding-bottom: 2px;
}

th.borda-direita
{
  border-right: 1px solid #ddd !important;
}