/**
ALL RESETS
*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

:root {
  --yellow: #f1c001;
}

@font-face {
  font-family: MS_Reference_SS;
  src: local("../font/REFSAN.TTF"), url("../font/REFSAN.TTF") format("truetype");
}

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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  font-family: MS_Reference_SS;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.9em;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  font-family: MS_Reference_SS;
  display: block;
}
body {
  line-height: 1;
}
em {
  font-style: italic;
}
a {
  color: rgba(255, 255, 255, 0.4);
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/**
STRUCTURE
*/

body {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: MS_Reference_SS;
}

/**
HELPERS
*/

.highlight {
  color: var(--yellow);
}

.highlight a:hover {
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

form ::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important; /* Firefox */
}

form :-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: rgba(255, 255, 255, 0.4) !important;
}

form ::-ms-input-placeholder {
  /* Microsoft Edge */
  color: rgba(255, 255, 255, 0.4) !important;
}

.spaced {
  letter-spacing: 10px;
}

@media (max-width: 767px) {
  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  .highlight a {
    font-weight: bold;
    text-decoration: none;
  }

  .spaced {
    letter-spacing: 0.2rem;
  }
}

@media (min-width: 768px) {
  .mobile {
    display: none;
  }
  .desktop {
    display: block;
  }
}

.home {
  background-image: url(../images/background/home.jpg);
}

.apresentacao {
  background-image: url(../images/background/apresentacao.jpg);
}

.servicos {
  background-image: url(../images/background/modalidades.jpg);
}

.modalidades {
  background-image: url(../images/background/programas.jpg);
}

.pesquisas {
  background-image: url(../images/background/servicos.jpg);
}

.referencias {
  background-image: url(../images/background/referencias.jpg);
}

.contato {
  background-image: url(../images/background/contato.jpg);
}

#preco > .content > table {
  width: 50%;
}

@media (max-width: 767px) {
  .home {
    background-image: url(../images/background/home.jpg);
  }

  .apresentacao {
    background-image: url(../images/background/mobile/apresentacao.jpg);
  }

  .servicos {
    background-image: url(../images/background/mobile/modalidades.jpg);
  }

  .modalidades {
    background-image: url(../images/background/mobile/programas.jpg);
  }

  .pesquisas {
    background-image: url(../images/background/mobile/servicos.jpg);
  }

  .referencias {
    background-image: url(../images/background/mobile/referencias.jpg);
  }

  .contato {
    background-image: url(../images/background/mobile/contato.jpg);
  }

  #preco > .content > table {
    width: 100%;
  }
}

.spaced-submenu {
  letter-spacing: 5px;
}
/*INDEX*/
.main .main__row-index {
  height: 50vh;
  min-height: 350px;
}
.main > .main__row-index:nth-child(2) {
  height: 50vh;
}
.main__section .main__section--logo--index {
  position: absolute;
  left: 100%;
  width: 65%;
  top: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.main__section .main__section--logo--index img {
  max-width: 100%;
  display: block;
}
.main__content--content--index {
  color: #ffffff;
  line-height: 25px;
  padding-top: 14%;
  margin-bottom: 25px;
  padding-left: 10px;
  padding-right: 50px;
  padding-bottom: 10px;
}

.main__content--content--index p + p {
  margin-top: 1rem;
}

.main__content--content--index .highlight a {
  color: var(--yellow);
}

@media (max-width: 1366px) {
  .main .main__row-index {
    height: 50vh;
    min-height: 1px;
  }
  .main__section .main__section--logo--index {
    position: absolute;
    left: 100%;
    width: 50%;
    top: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .main__content--content--index {
    color: #ffffff;
    line-height: 25px;
    padding-top: 10%;
    margin-bottom: 15px;
    padding-left: 10px;
    padding-right: 50px;
  }
}

/*DEMAIS PÁGINAS*/
.main .main__row {
  height: 36vh;
}

@media (max-width: 1366px) {
  .main .main__row {
    height: 45vh;
  }
}

.main > .main__row:nth-child(2) {
  min-height: 64vh;
  height: 100%;
}
.main__section .main__menu {
  position: relative;
}
.main__section .main__section--logo {
  position: absolute;
  left: 100%;
  width: 40%;
  top: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.main__section .main__section--logo img {
  max-width: 100%;
  display: block;
}
.main .main__menu {
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 99999;
}
.main__section-top.main__submenu,
.main__submenu.main__section-bottom {
  background-color: rgba(255, 255, 255, 0.1);
  height: 100%;
  z-index: 9999;
}
.main__section--title {
  font-family: MS_Reference_SS;
  color: #ffffff;
  text-align: right;
  font-size: 2em;
  margin-top: 10px;
  margin-right: 10px;
  text-transform: lowercase;
}

/*MENU*/
.main .main__menu .main__section--menu ul {
  margin-top: 4%;
  margin-bottom: 5%;
}
.main .main__menu .main__section--menu ul li {
  line-height: 30px;
  text-align: right;
}
.main .main__menu .main__section--menu ul li a {
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  letter-spacing: 10px;
  font-size: 1em;
  text-decoration: none;
}
.main .main__menu .main__section--menu ul li a:hover {
  color: rgba(255, 255, 255, 1);
}
.main .main__menu .main__section--menu ul li .active {
  color: rgba(255, 255, 255, 1) !important;
}

@media (max-width: 1366px) {
  .main .main__menu .main__section--menu ul li {
    line-height: 25px;
    text-align: right;
  }
  .main .main__menu .main__section--menu ul li a {
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    letter-spacing: 5px;
    font-size: 0.9em;
    text-decoration: none;
  }
}

/*SUBMENU*/
.dropdown-content {
  font-family: MS_Reference_SS;
  display: inline-flex;
  position: absolute;
  color: rgba(255, 255, 255, 0.4);
  width: calc(100% * 1.8);
  z-index: 1;
  float: left;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  margin-left: 20%;
}
.programas > li {
  padding-left: 35px !important;
}

.programas li:first-child {
  padding-left: 0px !important;
}

.dropdown-content li {
  width: auto;
  line-height: 30px !important;
  padding-left: 55px;
}
.dropdown-content li:first-child {
  padding-left: 0px;
}
.dropdown-content li a {
  width: auto;
  text-align: left;
  font-size: 1em !important;
  line-height: 30px !important;
  letter-spacing: 5px !important;
}
.dropdown-content li a:hover {
  color: #ffffff;
  cursor: pointer;
}
.dropdown-content li a.active {
  color: #ffffff;
}

@media (max-width: 1366px) {
  .dropdown-content {
    font-family: MS_Reference_SS;
    display: inline-flex;
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    width: calc(100% * 1.5);
    font-size: 0.9em;
    letter-spacing: 5px;
    z-index: 1;
    float: left;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    margin-left: 0;
  }
  .dropdown-content li {
    width: auto;
    padding-left: 10px;
  }
  .dropdown-content li a {
    width: auto;
    /*padding: 0 15px;*/
    text-align: left;
  }
}

/*CONTENT*/
.main__content--content {
  color: rgba(255, 255, 255, 0.4);
  line-height: 25px;
  padding-top: 25%;
  margin-bottom: 25px;
  padding-left: 10px;
}

.active {
  color: #ffffff;
}
.active a {
  color: #ffffff;
}
.disable {
  display: none;
}
.content-title {
  left: -100px;
  text-align: right;
  letter-spacing: 5px !important;
}
.content {
  width: calc(100% * 1.8);
  margin-left: 102%;
  text-align: left;
}
.indent {
  text-indent: 10%;
}
.content.active {
  display: block;
}

.content .highlight + ul.contact-infos {
  margin-top: 1.5625rem;
}

.social-medias {
  display: inline-flex;
  line-height: 30px;
  color: #ffffff;
}
.weblinks {
  font-size: 0.8em !important;
  text-decoration: none;
}
.weblinks:hover {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}
.font-min {
  font-size: 0.8em;
}
.social-medias li:last-child {
  margin-left: 15px;
}

#correspondencia {
  margin-bottom: 2em !important;
}
@media (max-width: 767px) {
  .main__content--content {
    color: #ffffff;
    line-height: 25px;
    padding-top: 15%;
  }
}
.main__content--footer p {
  line-height: 20px;
  color: rgba(255, 255, 255, 0.4);
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  font-size: 0.8em;
}
.main__content--language {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}
.main__content--language a {
  text-decoration: none;
  text-transform: lowercase;
}
.main__content--language a {
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 10px;
  line-height: 20px;
  font-size: 0.8em;
}
.main__content--language a.selected {
  color: rgba(255, 255, 255, 1);
}

@media (max-width: 767px) {
  #content {
    min-height: 570px;
  }

  .main .main__row-index {
    min-height: 285px;
  }

  /* SECTION TITLE*/

  .main__section--title {
    font-size: 0.8em;
  }
  .main__section--logo--index {
    width: 130% !important;
    max-width: 210px;
  }
  .main .main__menu .main__section--menu ul {
    margin-top: 30px;
  }
  .main .main__menu .main__section--menu ul li {
    line-height: 20px;
    position: relative;
  }
  .main .main__menu .main__section--menu ul li a {
    font-size: 0.8em;
  }

  /*SECTION CONTENT*/

  .main__content--content--index {
    overflow: auto;
    max-height: calc(100% - 90px);
    width: 100%;
    padding: 0;
    line-height: 1em;
    margin-top: 90px;
    font-size: 0.8em;
    margin-bottom: 0;
  }
  .main__content--language.mobile {
    position: absolute;
    bottom: 0;
    text-align: right;
    width: 100%;
    bottom: 28px;
    font-size: 0.8em;
  }
  .main__content--language.mobile a {
    letter-spacing: 1.1px;
  }
  .main__content--footer.mobile {
    width: 100%;
    position: absolute;
    bottom: 44px;
    text-align: right;
  }

  .main__content--footer.mobile p {
    letter-spacing: inherit;
    font-size: 0.6em;
  }

  .main__content--language {
  }
}

#observacao {
  font-size: 0.8em;
}

/* PAGINAS INTERNAS*/
@media (max-width: 767px) {
  .main__section .main__section--logo {
    width: 80%;
  }

  .main__section--menu ul ul {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    transform: translateX(100%);
  }
  .main .main__menu .main__section--menu ul li ul li {
    display: block;
    height: 20px;
  }

  .main__section--menu ul ul li a {
    letter-spacing: inherit;
    font-size: 0.8em !important;
  }

  .main__section--menu ul.dropdown-content {
    letter-spacing: 1px !important;
    font-size: 0.8em;
  }

  .dropdown-content li a {
    display: block;
    font-size: 0.8em !important;
    line-height: 15px !important;
    height: 15px !important;
    letter-spacing: inherit !important;
  }

  /*CONTEUDO PAGINAS INTERNAS MOBILE*/
  .main__content--content .content-title {
    display: none;
  }

  .main__content--content .content {
    margin-left: 0;
    font-size: 0.8em;
  }

  .apresentacao .main__submenu.main__section-bottom .main__content--content,
  .servicos .main__submenu.main__section-bottom .main__content--content,
  .modalidades .main__submenu.main__section-bottom .main__content--content,
  .pesquisas .main__submenu.main__section-bottom .main__content--content,
  .referencias .main__submenu.main__section-bottom .main__content--content,
  .contato .main__submenu.main__section-bottom .main__content--content {
    height: calc(100% - 95px);
    overflow: auto;
    width: 200%;
    margin-top: 70px;
  }

  .apresentacao .main__section--logo,
  .servicos .main__section--logo,
  .modalidades .main__section--logo,
  .pesquisas .main__section--logo,
  .referencias .main__section--logo,
  .contato .main__section--logo {
    max-width: 130px;
  }

  .apresentacao .main__content--content .content,
  .servicos .main__content--content .content,
  .modalidades .main__content--content .content,
  .pesquisas .main__content--content .content,
  .referencias .main__content--content .content,
  .contato .main__content--content .content {
    max-width: 100%;
  }
  .apresentacao .main .main__row,
  .servicos .main .main__row,
  .modalidades .main .main__row,
  .pesquisas .main .main__row,
  .referencias .main .main__row,
  .contato .main .main__row {
    height: 37vh;
  }
  .apresentacao .main .main__row:nth-child(2),
  .servicos .main .main__row:nth-child(2),
  .modalidades .main .main__row:nth-child(2),
  .pesquisas .main .main__row:nth-child(2),
  .referencias .main .main__row:nth-child(2),
  .contato .main .main__row:nth-child(2) {
    height: 63vh;
  }

  .contato .dropdown-content {
    transform: translate(100%, -74%);
  }

  .contato form input:last-child {
    margin-bottom: 20px !important;
  }
  .contato form {
    margin-left: -10px;
    padding: 10px;
  }
}

.contato form input {
  margin-bottom: 20px;
  margin-left: -2.2%;
}
.contato form input:last-child {
  margin-bottom: 0px;
}
.contato form input,
.contato form textarea {
  border: 0;
  margin-left: -2.2%;
}
input.bg-opacity,
textarea.bg-opacity {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.4);
}
textarea.bg-opacity {
  height: 100%;
}

.contato i {
  color: #ffffff;
}
/* BUTTON TO TOP*/
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: solid 1px #ffffff; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: transparent; /* Set a background color */
  color: rgba(255, 255, 255, 0.4); /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #fff; /* Add a dark-grey background on hover */
  color: #555;
}
