@-ms-viewport {
  width: device-width;
}
@-o-viewport {
  width: device-width;
}
@-moz-viewport {
  width: device-width;
}
@-webkit-viewport {
  width: device-width;
}
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
  outline: 0;
}
body {
  line-height: 1;
  color: black;
  background: white;
}
ol,
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  outline: 0;
}
/* Colors */
/* Fonts */
/*.sprite (@left, @top){
    background: url(../../images/sprite.png) @left @top no-repeat;
    display: inline-block;
    text-indent: -9999px;
}*/
.r {
  /*padding: 0;*/
  max-width: 800px;
  position: relative;
  margin: 0 auto;
  *zoom: 1;
}
.r:before,
.r:after {
  display: table;
  content: "";
  clear: both;
}
.ie8 .r {
  width: 800px;
}
body {
  font-family: Arial;
  font-size: 14px;
  text-align: justify;
}
p {
  line-height: 18px;
}
section header,
article {
  float: left;
  width: 100%;
}
header .right {
  text-align: center;
}
header img {
  float: right;
  margin: 54px 32px 0;
}
header p {
  padding-bottom: 30px;
}
h1,
h2,
h3 {
  text-align: center;
  font-weight: bold;
}
h1,
h3 {
  text-transform: uppercase;
}
h1 {
  font-size: 16px;
  margin: 95px 0 20px;
}
h2 {
  font-size: 15px;
  margin-bottom: 20px;
}
h3 {
  margin: 14px 0 16px;
}
.left,
.right {
  float: left;
}
.left {
  background-color: transparent;
  float: left;
  /*padding: 0;*/
  margin: 0 1.67333333% 0 0;
  width: 56.66%;
}
.right {
  background-color: transparent;
  float: left;
  /*padding: 0;*/
  margin: 0 1.67333333% 0 0;
  width: 39.99333333%;
}
.question-list,
.question,
.answer-list,
.answer,
.option-list {
  float: left;
  width: 100%;
}
.question {
  padding-top: 0;
  height: 45px;
}
.question ul {
  padding-left: 73px;
}
.question li {
  float: left;
  text-align: center;
  width: 32px;
}
.question p {
  margin-top: 7px;
  line-height: 18px;
}
.answer-list {
  padding-left: 82px;
}
.answer {
  height: 45px;
}
.option-list {
  height: 45px;
}
.option-list li {
  float: left;
  height: 45px;
  text-align: center;
}
.option {
  float: left;
  height: 30px;
  line-height: 30px;
  width: 30px;
}
.option:hover {
  color: red;
  font-weight: bold;
}
.option.is-checked {
  border: 1px green solid;
  color: green;
  font-weight: bold;
}
.option.hidden {
  border: 0 !important;
}
.last {
  border-left: 2px #808080 solid;
}
article {
  padding-bottom: 100px;
}
.questao {
  width: 549px;
}
.resposta {
  width: 30px;
}
.send {
  border: 1px black solid;
  float: right;
  height: 30px;
  line-height: 30px;
  margin: 30px 86px 0 0;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  width: 140px;
}
.send:hover {
  color: green;
  border-color: #008000;
}
.send.step1,
.send.step2 {
  margin-right: 0;
}
.message {
  float: right;
  width: 100%;
  margin: 10px 0 0;
  color: red;
  font-size: 12px;
  text-align: center;
}
.input-answer {
  border: 0;
  border-bottom: 1px #000 solid;
  width: 300px;
}
.input-answer.medium {
  width: 60px;
}
#form-tcle {
  padding-bottom: 100px;
}
#form-tcle input {
  border: 0;
  border-bottom: 1px #000 solid;
  width: 300px;
}
#form-tcle .message {
  text-align: right;
}
#form-ic {
  padding-bottom: 100px;
}
#form-ic input {
  border: 0;
  border-bottom: 1px #000 solid;
  width: 200px;
}
#form-ic input[type=radio] {
  width: 35px;
}
#form-ic .message {
  text-align: right;
}
#form-ic .date,
#form-ic .partial-date {
  width: 80px;
}
#form-ic #time_profession,
#form-ic #weekly_workload,
#form-ic #local_begin,
#form-ic #local_end,
#form-ic #local_workload,
#form-ic #course_workload,
#form-ic #papers_count {
  width: 50px;
}
.element {
  float: left;
  padding-bottom: 20px;
  width: 100%;
}

/* Responsividade Geral */
@media (max-width: 800px) {
  body {
    padding: 0 5px;
  }
  .r {
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
  }
  
  /* Ajustar inputs para caber na tela no instrumento.php */
  #form-ic input:not([type="radio"]), #form-ic select {
    max-width: 100%;
  }
  
  /* Garantir tamanho razoavel pros headings de forms */
  header h1 {
    font-size: 18px;
    margin-top: 30px;
  }

  /* Não aplicar essas regras nas telas do survey e reteste, que têm min-width 800px */
}

/* Estilo para o link do PDF do TCLE */
.pdf-link {
  display: inline-block;
  margin: 15px 0;
  padding: 12px 20px;
  background-color: #fcfcfc;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-size: 15px;
}

.pdf-link:hover {
  background-color: #ffffff;
  border-color: #4CAF50;
  color: #2E7D32;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
