@import "reset.css";
@import "menu.css";
@import "footer.css";
@import "install.css";


:root {
  --font-size: 16px;
  --bg-color: #fff;
  --primary-color: rgb(6,66,106);
  --secondary-color: rgb(76,187,184);
  --light-secondary: rgba(76,187,184,.1);
  --highlight-color: rgb(250,179,38);

  --highlight-color-hover: rgb(76,187,184);
  --max-width: 1140px;
}

@font-face {
  font-family: "GothamBook";
  src: url("../fonts/GothamBook.ttf") format("truetype"),
        url("../fonts/GothamBook.otf"),
        url("../fonts/GothamBook.eot?#iefix") format("embedded-opentype"),
        url("../fonts/GothamBook.svg#GothamBook") format("svg"),
        url("../fonts/GothamBook.woff") format("woff"),
        url("../fonts/GothamBook.woff2") format("woff2");
}


clearfix::after {content: ""; clear: both;display: block;}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--primary-color);
  font-family: "GothamBook", Helvetica, sans-serif;
  font-size: var(--font-size);
  font-weight: 500;
  line-height: 1.5;
}

/* PWA !important */
@media all and (display-mode: standalone) {
  body {
    background-color: var(--bg-color);
    font-family: "GothamBook", Helvetica, sans-serif;
  }
}
/* /// */

.bg-secondary {
  background-color: var(--light-secondary);
  border-radius: .5rem;
  margin: .8rem 1rem;
  padding: 1.2rem .6rem .1rem .6rem;  
}


h1, h2, h3, h4, h5{
  color: var(--primary-color);
  font-weight: 600;
  line-height: 150%;
  font-family: "GothamBook", Helvetica, sans-serif;
}

h2 {
  background-color: var(--primary-color);
  border-radius: .3rem;
  color: var(--highlight-color);
  font-size: calc(var(--font-size)*1.8);
  margin-bottom: 5vh;
  padding: 1vh;; 
  text-align: center;
}

.subH2 {
  color: var(--highlight-color);
  font-size: calc(var(--font-size)*1.2);
  margin-top: -30px;
  text-align: center;
}

h3 {
  font-size: calc(var(--font-size)*1.4);
  padding: 1vh;
  margin-bottom: 3vh;
}

h3 span{
  color: var(--highlight-color);
}

h3 .secondary{
  color: var(--secondary-color)!important;
}


h4 {
  font-size: calc(var(--font-size)*1.2);
  padding: 1rem;
}

h4 span {
  color: var(--secondary-color);
  display: block;
}

@media (max-width: 768px) {
  h2, h3  { font-size: calc(var(--font-size)*2); }
}


@media (max-width: 576px) {
  h2, h3  { font-size: calc(var(--font-size)*1.2); }
}

sup {
    vertical-align: super;
    font-size: smaller;
}

strong {
  font-weight: bold;
}

a {
  color: var(--highlight-color)!important;
  text-decoration: none;
}

a:hover {
  color: var(--highlight-hover-color);
}

header, main {
  max-width: var(--max-width);
  margin: 0 auto;
}

header {
  padding-top: 4vh;
}

p {
  font-family: "GothamBook", Helvetica, sans-serif;
  text-align: justify;
  margin-bottom: 3vh;
  padding: 0 1rem;
}


@media (max-width: 576px) {
  p  { text-align: left; }
}

.section {
  display: block;
  opacity: 1;
  transition: opacity 0.6 ease-in-out;
  margin-top: 6vh;
  margin-bottom: 6vh;
}

.section.fade {
  opacity: 0;
  display: none;
}

@media (max-width: 1026px) {
  section:not(:first-child) {
    margin: 0 2rem;
  }
}

img.content {
  width: 100%; 
  max-width: 800px; 
}

img.content-100 {
  width: 100%; 
  max-width: 1140px; 
}

@media (max-width: 768px) {
  img.content {
    width: 96%; 
  }
}

#professionalDiv {
  text-align: center;
  border: 1px solid var(--highlight-color-hover);
}

.app_ul {
  margin: 0 0 1rem 1rem;
  padding-left: 2rem;
  text-indent: -1rem;
}



button.btn  {
  padding: 2vh 4vw;
  background-color: var(--highlight-color);
  border: 1px solid var(--highlight-color);
  color: var(--bg-color);
  cursor: pointer;
  font-size: calc(var(--font-size)*1.1);
  transition: 0.4s;
}

button.btn:hover {
  background-color: var(--bg-color);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

button.btn-disabled  {
  padding: 2vh 4vw;
  background-color: #c5c5c5;
  border: 1px solid #c5c5c5;
  color: var(--bg-color);
  font-size: calc(var(--font-size)*1.1);
  transition: 0.4s;
}

button.btn-disabled:hover  {
  padding: 2vh 4vw;
  background-color: #c5c5c5;
  border: 1px solid #c5c5c5;
  color: var(--bg-color);
  font-size: calc(var(--font-size)*1.1);
  transition: 0.4s;
}

#navLogo{
  display: none;
  text-align: right;
}

.presentationDiv{
  text-align: center;
}

.presentationDiv img{
  width: 100%;
}

.div-ul {
  padding-left: 3rem;
}

.div-img {
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  margin-top: 3rem;
}

.div-img-100 {
  margin: 0 auto;
  max-width: 1140px;
  width: 100%;
  margin-top: 3rem;
}

.div-ul h5{
  text-align: left;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap ;
}

.container p {
  text-align: center;
}

.container p b {
  font-weight: 800;
}

.container p button {
  margin-top: 4vh;
}


/* Tiny slider */

.T-slider img {
  cursor: col-resize;
}

.T-slider p {
  text-align: center; 
  color: var(--primary-color);
  font-weight: 800;
  font-size: 140%;
}

@media (max-width: 1026px) {
  .T-slider p {
    font-size: var(--font-size);
    font-weight: 200;
  }
}

.tns-outer {
  margin-bottom: 1vh;
  border: solid 1px var(--primary-color);
}

.tns-controls{
  margin-bottom: 1vh;
  border: 0;
}


.tns-controls:activate{
  border: 0;
}


.tns-outer .tns-controls button  {
  padding: 1vh 2vw;
  background-color: rgba(100, 193, 198, .2);
  border: 0;
  color: var(--highlight-color);
  cursor: pointer;
  font-size: calc(var(--font-size)*3);
  transition: 0.4s;
}

.tns-outer .tns-controls button:hover {
  /* border:  0; */
  color: var(--primary-color);
}


.tns-outer .tns-nav button  {
  height: 1vh;
  width: 1vh;
  margin-right: 1vh;
  background-color: var(--bg-color);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  cursor: pointer;
  font-size: calc(var(--font-size)*1.1);
  transition: 0.4s;
}

.tns-outer .tns-nav button:hover {
  background-color: var(--highlight-color);
  border: 1px solid var(--highlight-color);
  color: var(--bg-color);
}


.bibliography {
  font-size: calc(var(--font-size)*0.9);
  padding-bottom: 2vh;
}

ul.bibliography {
  /* list-style: circle var(--primary-color); */
  margin-bottom: 3vh;
  padding: 0 2.2rem;
}

ul.bibliography li {
	 padding: .3rem;
   line-height: 180%;
   text-align: justify;
   text-indent: -1.2rem;
}

.floatBtn   {
  background-color: transparent!important;
  border: 0;
  cursor: pointer;
  transition: 0.4s;
}

.floatBtn:hover {
  border:  0;
}

.backBtn { 
  position: fixed;
  top: 50vh;
  left: 0!important;
  float: left;
  /* padding-left: 2rem; */
  padding: 2vh 2vh 2vh 0;
  opacity: .6;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,.2);
}

.backBtn img{
  opacity: .3;
  width: 30px;
  transform: rotate(180deg);
  fill: red;
}

.forwardBtn{
  position: fixed; 
  top: 50vh;
  right: 0!important;
  float: right;
  /* padding-right: 2rem; */
  padding: 2vh 0 2vh 2vh;
  opacity: .6;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,.2);
}

.forwardBtn:hover, .backBtn:hover{
  box-shadow: none;
}

.forwardBtn img{
  opacity: .3;
  width: 30px;
  /* fill: var(--highlight-color)!important; */
}

@media (max-width: 1026px) {

  .backBtn { padding-left: 0; }
  .backBtn img { width: 20px; }
  
  .forwardBtn { padding-right: 0; }
  .forwardBtn img { width: 20px; }
}

table {
  border-collapse: collapse;
  width: 80%;
  margin-left: 1rem;
}

table tr:first-child {
  font-weight: 600;
}

th, td {
  border-bottom: 1px solid #ddd;
}