h6 {
    margin: 2em 0 0 0em;
    font-style: italic;
}
.candidato {
    background-color: #f0f0f0;
    border-radius: 0.5em;
    margin: 0.3em;
    min-height: 20em;
}
.candidato h3 {
    texto-align: center;
}
.candidato:hover {
    background-color: #d0d0d0;
}

.counting-table {

}
.counting-table td {
    padding: 0.5em;
    border-bottom: 1px solid black;
}
.counting-table th {
    font-weight: bold;
    color: white;
    background-color: #2a2a2a;
    font-size: 1.2em;
    padding: 0.2em 1em;
}
.counting-segment {
    font-size: 1.5em;
    text-align: center;
}
.titulo-segmento {
    color: gray;
    border-bottom: 1px solid gray;
}
.counting-idx {
    text-align: left;
    width: 3em;
}
.counting-candidate {
    margin-left: 2em;
    width: 100em;
}
.counting-vote {
    text-align: right;
    min-width: 13em;
}
.candidato.selecionado {
    background-color: #d0f0d0;
}
#message-area {
    margin-top: 1em;
}
#painel-admin img {
    margin: 2em;
}
p.nome {
    font-weight: bold;
    margin-left: 2em;
}
.oculto {
    visibility: hidden;
    display: none;
    position: absolute;
}
#usermail {
    margin-top: 0.6em;
}
#usermail #user {
    margin: 1em;
    font-size: 1.1em;
    color: white;
}
.footer {
    background-color: #303030;
    color: #a0a0a0;
    position: fixed;
    bottom: 0;
    padding: 1em 0 0 5em;
    width: 100%;
}
.secao {
/*    margin-top: 5em;*/
}
.modal {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.modal-content {
    padding: 10px;
    max-width: 600px;
    min-width: 360px;
    max-height: 85%;
    overflow: auto;
    position: absolute;
    top: 5%;
    left: 50%;
    z-index: 2;
    border-radius: 3px;
    background: #f96161;
    color: white;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.modal-content img {
    display: block;
    width: 100%;
    margin: 10px 0 0;
}
.modal-content p {
    padding-top: 10px;
    text-align: justify;
}
.avancar {
    border-radius: 0.5em;
    margin: 0.3em;
    min-height: 10em;
    text-align: right;
}
div.header {
    width: 100%;
    font-size: 1.5em;
    text-align: center;
}
p.logo img {
    witdth: 501px;
    height: 100px;
}
div.title h3 {
    border-bottom: 1px solid gray;
}
hr {
    border-top: 1px solid black;
    padding: 1px;
    border-bottom: 5px solid black;
}
h2.section-title {
    margin: 1em 0;
}

@page {
  size: A4;
  margin: 11mm 17mm 20mm 17mm
}

@media print {
    p.logo img {
        width: 501px;
	height: 100px;
    }

  table.counting-table td {
    page-break-before: always;
   }
  div.print-footer {
    position: absolute;
    visibility: hidden;
    display: none;
  }

  div.print-header {
    /*position: fixed;
    top: 0;*/
  }

  table {
    margin: 2em 0;
  }

  div.container {
    position: relative;
    width: 100%;
    left: 0px;
    right: 0px;
  }

  .content-block, p {
    page-break-inside: avoid;
  }

  html, body {
    width: 210mm;
    height: 297mm;
  }
}
#pdf-link {
    margin-top: 5em;
}
#timestamp {
    text-align: right;
    font-weight: bold;
    font-size: 1.1em;
}
.titulo-busca {
    font-size: 1.2em;
    color: black;
    font-weight: bold;
}
.campo-busca {
    font-size: 1.5em;
    width: 30em;
    padding: 0.2em 0.2em 0.2em 2em;
    border: 1px solid gray;
    border-radius: 0.2em;
    margin-bottom: 2em;
}
input.spinner {
    background: url(../img/mini-spinner.gif) no-repeat scroll;
    background-size: 1.6em 1.6em;
    background-position: 0.2em 0.2em;
}
