:root {
    --simulaFQ-azul-claro-tr: rgba(0, 120, 255, 0.5);
    --simulaFQ-azul-claro: rgb(0, 120, 255);
    --simulaFQ-azul-escuro: rgb(10, 100, 230);

    --simulaFQ-laranja-claro: rgb(255, 130, 35);
    --simulaFQ-laranja-escuro: rgb(250, 70, 10);

    --simulaFQ-verde-claro: rgb(145, 200, 20);

    --simulaFQ-areia: rgb(247, 229, 167);

    --footer-min-height: 100px;
}


html {
    scroll-behavior: smooth;
}

body {
    background: var(--simulaFQ-azul-claro);
    font-size: 1.1em;
    font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
    /*font-family: "Comic Sans MS", cursive, sans-serif;*/
    margin: 0px;
}


header {
    text-align: center;
    padding-top: 5px;
}

@media not screen and (max-width: 600px) {
    main {
        background: white;
        margin: auto;
        padding: 10px 20px 30px 20px;
        width: 80%;
        max-width: 1500px;
        min-height: 60vh;
        }
    .mobile-only {display: none !important;}
    .pc-only {display: inherit;}
    .serif-grande {
        font-family: serif;
        font-size: 110%;
        white-space: nowrap;
    }
}
@media screen and (max-width: 600px) {
    main {
        background: white;
        margin: auto;
        padding: 10px 20px 30px 20px;
        width: 80%;
        min-height: 60vh;
    }
    .mobile-only {display: inherit;}
    .pc-only {display: none !important;}

    div.contas {
        overflow-x: scroll !important;
    }
    .serif-grande {
        font-family: serif;
        font-size: 110%;
        white-space: wrap;
    }
}

section.resumo {
    display: flex;
}


.maxw-fc {
    max-width: fit-content;
}

.minw-140 {
    min-width: 140px !important;
}
.minw-180 {
    min-width: 180px !important;
}
.minw-260 {
    min-width: 260px !important;
}


.margin-auto {
    margin: auto;
}

.m0 {
    margin: 0px;
}

.m5 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}
.m15 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}
.m30 {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}
.m45 {
    margin-top: 45px !important;
    margin-bottom: 45px !important;
}

.m0-top {
    margin-top: 0px !important;
}
.m5-top {
    margin-top: 5px !important;
}
.m15-top {
    margin-top: 15px !important;
}
.m30-top {
    margin-top: 30px !important;
}
.m45-top {
    margin-top: 45px !important;
}

.m0-bot {
    margin-bottom: 0px !important;
}
.m5-bot {
    margin-bottom: 5px !important;
}
.m15-bot {
    margin-bottom: 15px !important;
}
.m30-bot {
    margin-bottom: 30px !important;
}
.m45-bot {
    margin-bottom: 45px !important;
}


.p0 {
    padding: 0px;
}
.p-sub {
    padding-bottom: 2px !important;
}


.nbsp {
    white-space: nowrap;
}


.linha-alta {
    line-height: 130%;
}


.grande {
    font-size: 120%;
}

.nota {
    font-size: 90%;
}

.pequeno {
    font-size: 80%;
}


.serif {
    font-family: serif;
    font-size: 110%;
    white-space: nowrap;
}
.serif100 {
    font-family: serif;
    font-size: 95%;
    white-space: nowrap;
}


a {
    text-decoration: underline;
    color: rgb(0, 0, 200);
}

a.resumos {
    text-decoration: var(--simulaFQ-laranja-claro) underline;
    color: black;
}

a:hover {
    text-decoration: none;
}



p {
    text-indent: 10px;
    margin-top: 0px;
    margin-bottom: 15px;
}

p.exp-contas, div.exp-contas {
    margin: 25px 0px 40px 0px;
    padding: 10px 0px 5px 5px;
}

p.para-tras {
    margin: 0px 10px 0px 0px;
}

div.exp-contas {
    border-left: 2px solid var(--simulaFQ-laranja-escuro);
    border-radius: 5px;
}

p.contas {
    line-height: 180%;
    font-size: 110%;
    text-indent: 0px;
    white-space: nowrap;
    font-family: serif;
}


mark.simples {
    background-color: white;
    text-decoration: underline dotted gray;
}

mark.normal {
    background-color: white;
    text-decoration: underline solid black;
}


em.ex {
    font-size: 95%;
}


h1 {
    font-weight: 600;
    color: var(--simulaFQ-azul-claro);
}

h1.disciplina {
    margin-bottom: 0px;
}


h2 {
    text-decoration: underline solid var(--simulaFQ-laranja-escuro);
}


h2.contactos {
    margin: 40px 0px 10px 0px;
    font-size: 1.3em;
}

h2.topico {
    text-align: center;
    font-size: 1.25em;
    margin-top: 50px;
}

h2.ano {
    margin-top: 0px;
}


h3.sub-topico {
    font-size: 1.08em;
    margin: 35px 0px 10px 0px;
    text-decoration: underline solid var(--simulaFQ-azul-claro-tr);
}

h3.unidade {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 15px;
}

h3.notas {
    margin-bottom: 10px;
}

h3.letra {
    font-size: 1.08em;
    margin: 35px 0px 10px 0px;
    color: var(--simulaFQ-azul-escuro);
}

h4.explicar {
    text-indent: 10px;
    margin: 0px 0px 15px 0px;
}

h4.sub-sub-topico {
    margin: 15px 0px 15px 0px;
}

hr.frac {
    margin: 0px;
}


span.invi {
    color: white;
}

span.anchor {
    text-decoration: underline;
    color: rgb(0, 0, 200);
}
span.anchor:hover {
    cursor: pointer;
    text-decoration: none;
}

span.contas {
    white-space: nowrap;
    font-family: serif;
}

span.pre-sqrt {
    font-size: 110%;
}
span.sqrt {
    border-top: 1px solid black;
    padding-top: 1.5px;
}

sup.exp-contas {
    text-decoration: none;
    font-family: serif;
    line-height: normal;
    color: rgb(0, 0, 200);
}
sup.exp-contas:hover {
    cursor: pointer;
    text-decoration: underline;
}

sup.sobre-sub {
    position: relative;
    right: 0.5em;
}

/*
Para colocar a seta acima dos vetores, colocar este sup com um &rarr; dentro à ESQUERDA da letra do vetor, dentro do span.serif
*/
sup.vetor {
    display: inline-block;
    position: relative;
    width: 1px;
    line-height: 0px;
    right: 0.78em;
    bottom: 0.4em;
    font-size: 70%
}

sup sup {
    font-size: 100%;
}

sub {
    line-height: 0;
}

sub sup {
    font-size: 100%;
}


canvas {
    margin: auto;
    z-index: -1;
}

canvas.simulacao {
    border: 1px solid black;
    width: 100%;
}
canvas.redondo {
    border: none;
    border-radius: 2px;
}

canvas.layer-canvas {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
}

div {
    padding: 5px;
    max-width: 100%;
}

div#div-teoria, div#div-material, div#div-procedimento, div#div-resultados {
    padding: 0px;
}

div.tabela-container {
    padding: 0px;
}

div.graf-overflow {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    margin: 0px 0px 20px 0px;
    padding: 0px;
}

div.graf-background {
    background-size: 100% 100%;
    padding: 0px;
    border-radius: 5px;
}

div.graf-container {
    position: relative;
    margin: auto;
    padding: 0px;
    min-width: 600px;
    min-height: 300px;
    max-width: 1000px;
    max-height: 500px;
}
div.graf-container#AL13F12 {
    margin: auto;
    padding: 0px;
    min-width: 400px;
    min-height: 200px;
    max-width: 1000px;
    max-height: 200px;
}

div.header {
    width: 100%;
    top: 0px;
    position: sticky;
    position: -webkit-sticky;
    margin: 0px;
    padding: 0px;
    z-index: 10;
}

div.lista-AL {
    margin-top: 50px;
    text-align: left;
}

div.texto-centrado {
    width: 100%;
    justify-content: center;
    text-align: center;
}

div.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 5px;
    padding: 0px;
}
div.flex div {
    flex: 1 1 100px;
    margin: 5px;
    padding: 0px;
}
div.flex div.canvas-container {
    max-width: 150px;
    margin-top: 17px;
}

div.flex-slider {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin: 5px;
    padding: 0px;
}
div.flex-slider div {
    flex: 1 1 100px;
    margin: 5px;
    padding: 0px;
}
div.flex-slider div.label {
    flex: 1 1 0px;
}
div.flex-slider div.btn {
    flex: 1 1 100px;
    min-width: 100px;
}
div.flex-slider div.small-btns {
    flex: 1 1 0px;
    min-width: 200px;
}

div.small-btns button {
    width: fit-content;
    padding: 4px 10px 4px 10px;
    transition: background-color 0.2s;
}

div.contas {
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 0px;
    margin-bottom: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 110%;
    font-family: serif;
    white-space: nowrap;
    line-height: 180%;
    text-indent: 0px;
}
div.overflow {
    overflow-x: auto;
    margin: 0px;
    padding: 0px;
    white-space: nowrap;
}
div.explicar {
	display: none;
	height: 0;
    margin: 0px 8px 0px 25px;
    padding: 0px 0px 0px 5px;
    border-left: 2px solid var(--simulaFQ-laranja-escuro);
    border-radius: 5px;
    overflow: hidden;
    -webkit-transition: all 350ms ease;
    -moz-transition: all 350ms ease;
    -o-transition: all 350ms ease;
    transition: all 350ms ease;
}
div.explicar-no-border {
    border: none;
    margin-left: 0px;
    padding-left: 0px;
}
div.explicar.is-visible {
	display: block;
	height: auto;
}
div.explicar button {
    margin: 5px 0px 4px 0px;
}
div.explicar ul {
    margin-top: 0px;
    margin-bottom: 30px;
}
div.explicar > *:last-child {
    margin-bottom: 10px;
}

div.frac {
    display: inline-block;
    position: relative;
    margin: 2px 0px 4px 0px;
    padding: 0px;
    vertical-align: middle;
    letter-spacing: 0.001em;
    text-align: center;
}
div.frac > span {
    display: block;
    padding: 0 0.1em 0 0.1em;
    line-height: 130%;
    font-size: 90%;
}
div.frac span.denom {
    border-top: thin solid black;
}

div.centrada {
    width: fit-content;
    margin: auto;
    justify-content: center;
}

div.resumos-index {
    min-width: 150px;
    margin: 0px 0px 0px 5px;
    padding: 0px;
    border-left: 1px solid lightgray;
}

div.links-letras {
    display: flex;
    justify-content: center;
    font-size: large;
}

div.links-letras a{
    color: var(--simulaFQ-azul-escuro);
    text-decoration: none;
    padding: 0px 1% 0px 1%;
}
div.links-letras a:hover {
    text-decoration: underline;
}

div.grandeza-container {
    display: flex;
    width: 95%;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
}
div.grandeza {
    display: flex;
    min-width: 150px;
    min-height: 50px;
    margin: 10px;
    padding: 0;
    color: var(--simulaFQ-azul-escuro);
    box-shadow: 2px 4px 12px 5px rgb(200, 200, 200);
    border: 1px solid var(--simulaFQ-laranja-escuro);
    border-radius: 5px;
    background-image: linear-gradient(to bottom, white, rgb(245, 245, 245));
}
div.grandeza:hover {
    cursor: pointer;
    color: var(--simulaFQ-laranja-escuro);
    background-image: linear-gradient(to bottom, white, rgb(230, 230, 230));
}

div.grandeza > div {
    margin: auto;
    padding: 0;
    font-weight: bold;
}

@media screen and (max-width: 600px) {
    div.grandeza {
        width: 100%;
    }
}

div.grandeza a {
    color: var(--simulaFQ-azul-escuro);
    text-decoration: none;
}


form {
    font-size: 110%;
}

form textarea {
    width: 40%;
    min-width: 220px;
    height: 80px;
}


select {
    font-size: 90%;
}
select:hover {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}


select.unidades {
    display: inline;
	width: 40%;
	margin: 0;
	padding: 0.6em 1.4em 0.5em 0.8em;
	font-weight: bold;
    font-size: 1em;
    color: black;
	line-height: 1.3;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	box-sizing: border-box;
	border-radius: 5px;
	-moz-appearance: none;
	-webkit-appearance: none;
	background-color: white;
	background-image: linear-gradient(to bottom, #ffffff 0%,rgb(220, 220, 220) 100%);
}
@media screen and (max-width: 600px) {
    select.unidades {
        width: 100%;
        margin: 0 0 15px 0;
    }
}
select.unidades:hover {
    cursor: pointer;
}

select.unidades option {
    font-weight: normal;
}

optgroup {
    font-weight: normal;
}



table {
    padding: 0px;
    border-collapse: collapse;
}

table.centrada {
    margin: auto;
    width: fit-content;
}

table.explicar {
    font-size: 85%;
    text-indent: 0px;
    margin-top: 20px;
    margin-bottom: 40px;
}
table.explicar tr {
    border-bottom: 1px solid lightgray;
}
table.explicar tr td {
    padding: 1px 4px 0px 2px;
}
table.explicar tr td:first-child {
    font-family: serif;
}

table.resultados {
    width: 100%;
    margin: auto;
    padding: 0px;
}
table.resultados tr.vars {
    font-weight: bold;
}
table.resultados tr.vars th {
    text-align: center;
}
table.resultados tr {
    border-bottom: 2px solid lightgray;
}
table.resultados tr td, table.resultados tr th {
    padding: 10px;
    border-right: 2px solid lightgray;
    text-align: center;
}
table.resultados tr td:last-child, table.resultados tr th:last-child{
    border-right: 0px;
}

table.resumos {
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 90%;
}
table.resumos tr {
    width: 100%;
    margin: auto;
    border: 1px solid lightgray;
    font-size: large;
}
table.resumos tr:nth-child(2n+0) {
    background-color: rgba(0, 0, 0, 0.01);
}
table.resumos tr:nth-child(2n+1) {
    background-color: rgba(0, 0, 0, 0.06);
}
table.resumos tr td {
    padding: 10px 0px 10px 10px;
}
table.resumos a {
    color: var(--simulaFQ-azul-escuro);
    text-decoration: none;
}
table.resumos a:hover {
    color: var(--simulaFQ-laranja-escuro);
}

div.resumos-index table.resumos tr {
    font-size: 90%;
    background-color: unset;
    border: none;
}
div.resumos-index table.resumos tr th {
    font-size: 110%;
}
div.resumos-index table.resumos tr th a {
    color: var(--simulaFQ-laranja-escuro);
}


tr.menu td {
    padding: 10px 15px 0px 15px;
    border-bottom: 1px solid #ddd;
}
tr.menu td:hover {
    cursor: pointer;
}


td p {
    height: 10px;
    margin: 0px;
}


input.slider {
    height: 100%;
    width: 30vw;
    margin: 0px;
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
input.slider:hover{
    opacity: 100%;
}
input.slider::-webkit-slider-thumb {
    cursor: pointer;
}
input.slider::-moz-range-thumb {
    cursor: pointer;
}

input.converter {
    display: inline;
	width: 35%;
	margin: 0px 2px 0px 0px;
	padding: 0.4em 1.0em 0.4em 0.6em;
	font-weight: bold;
    font-size: 1em;
    color: black;
	line-height: 1.3;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	box-sizing: border-box;
	border-radius: 5px;
	-moz-appearance: none;
	-webkit-appearance: none;
	background-color: white;
	background-image: linear-gradient(to bottom, #ffffff 0%,rgb(220, 220, 220) 100%);
}
@media screen and (max-width: 600px) {
    input.converter {
        width: 88%;
        margin: 0 0 15px 0;
    }
}



button {
    outline: none;
}
button:hover {
    cursor: pointer;
}
button::-moz-focus-inner {
    border: 0;
}

button.escolha {
    font-size: 12pt;
    color: white;
    width: 100%;
    margin: 2px 0px 2px 0px;
    padding: 5px 20px 5px 20px;
    background-color: rgba(50, 140, 255, 0.6);
    border-radius: 10px;
    border-color: var(--simulaFQ-azul-claro-tr);
    transition: background-color 0.2s;
}
button.escolha:hover {
    background-color: var(--simulaFQ-azul-claro);
}

button.escolha-atual {
    font-size: 12pt;
    color: white;
    width: 100%;
    margin: 2px 0px 2px 0px;
    padding: 5px 20px 5px 20px;
    background-color: rgba(50, 140, 255, 1);
    border-radius: 10px;
    border-color: var(--simulaFQ-azul-claro-tr);
}

button.submit {
    font-size: 12pt;
    color: white;
    width: fit-content;
    max-width: 70vw;
    margin: 15px 0px 0px 5px;
    padding: 5px 12px 5px 12px;
    background-color: rgba(50, 140, 255, 0.8);
    border-radius: 10px;
    border-color: var(--simulaFQ-azul-claro-tr);
    transition: background-color 0.2s;
}
button.submit:hover {
    background-color: var(--simulaFQ-azul-claro);
}

button.fechar {
    color: white;
    font-weight: bolder;
    width: 26px;
    height: 26px;
    margin: 0px;
    padding: 0px;
    background-color: var(--simulaFQ-azul-escuro);
    border: 2px solid black;
    border-radius: 50%;
    -webkit-transition: background-color 0.1s;
    -moz-transition: background-color 0.1s;
    -o-transition: background-color 0.1s;
    transition: background-color 0.1s;
}
button.fechar:hover {
    color: black;
    background-color:white;
}

button#para-o-topo {
    display: none;
    position: fixed;
    font-size: 20px;
    font-weight: bold;
    color: white;
    height: fit-content;
    padding: 8px 15px 12px 15px;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    border: none;
    border-radius: 10px;
    outline: none;
    background-color: rgba(50, 140, 255, 0.6);
    transition: background-color 0.2s;
}
button#para-o-topo:hover {
    background-color: var(--simulaFQ-azul-claro);
}



nav {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: var(--simulaFQ-laranja-claro);
}

nav div.menu {
    margin: 0px;
    padding: 0px;
}

.dropdown {
    position: absolute;
    right: 0px;
    margin: 0px;
    padding: 7px 15px 7px 15px;
    border: none;
    background-color: transparent;
    -webkit-transition: background-color 0.1s;
    -moz-transition: background-color 0.1s;
    -o-transition: background-color 0.1s;
    transition: background-color 0.1s;
}

.dropdown-icon {
    background-color: white;
    width: 30px;
    height: 5px;
    margin: 4px 0px 4px 0px;
    padding: 0px;
    border-radius: 8px;
}

.dropdown-items {
    display: none;
    position: absolute;
    top: 100%;
    right: 0px;
    color: white;
    width: 100%;
    margin: 0px;
    padding: 0px;
    border-top: 2px solid white;
    background-color: var(--simulaFQ-laranja-claro);
}
.dropdown-items > div > div {
    margin: 0px;
    padding: 0px;
}
.dropdown-items a {
    color: white;
    text-decoration: none;
}
.dropdown-links {
    margin: 15px 0px 0px 15px;
    padding: 0px;
    list-style-type: none;
}

.dropdown:hover {
    background-color: white;
    cursor: pointer;
}
.dropdown:hover .dropdown-icon {
    background-color: black;
}


ul.navbar {
    width: fit-content;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    list-style-type: none;
}
ul.navbar li {
    display: inline-block;
    text-align: center;
    margin: 0px;
    padding: 10px 0px 10px 0px;
    -webkit-transition: background-color 0.1s;
    -moz-transition: background-color 0.1s;
    -o-transition: background-color 0.1s;
    transition: background-color 0.1s;
}
ul.navbar li:hover {
    background-color: white;
}
ul.navbar li:hover a{
    color: black;
}
ul.navbar li a {
    font-size: larger;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    transition: color 0.1s;
}

ul.menu {
    margin: auto;
    padding: 0px;
    width: fit-content;
    list-style: none;
    border-bottom: 1px solid #ddd;
}
ul.menu li {
    font-size: large;
    padding: 10px 15px 0px 15px;
    display: inline-block;
}
ul.menu li:hover {
    cursor: pointer;
}

ul.material {
    display: table;
    margin: auto;
    padding: 0px;
    text-align: left;
    list-style-position: inside;
}

ul.teoria li {
    margin-bottom: 8px;
}


ol li {
    margin-top: 5px;
}

ol.junto li {
    margin-top: 0px;
}

ol.procedimento {
    line-height: 120%;
}
ol.procedimento li {
    margin-top: 10px;
}

ol.explicar li {
    margin-top: 7px;
}

.explicar li sup {
    line-height: 0;
}

dl > dt {
    font-weight: bold;
    text-indent: 15px;
    margin-top: 15px;
}
dl > dt:first-of-type {
    margin-top: 0px;
}
dt > dd {
    margin-top: 5px;
}


img {
    max-width: 100%;
    min-width: 50px;
    height: auto;
}
img#Rampa-F10-AL11 {
    min-width: 200px;
}
img#Queda-e-Ressalto-F10-AL12 {
    min-width: 250px;
}
img#Osci-explicado-F11-AL21, img#Periodo-explicado-F11-AL21 {
    display: block;
    margin: auto;
    min-width: 300px;
    border-radius: 5px;
}
img#Oxidantes-Q11-AL22, img#Redutores-Q11-AL22 {
    display: block;
    margin: auto;
    min-width: 200px;
    border-radius: 5px;
}
img#Ar-Vidro-F11-AL31 {
    display: block;
    min-width: 200px;
    margin: 20px 0px 15px 0px;
}
img#Difração-F11-AL32 img#Comprimento-de-Onda-F11-AL32 {
    display: block;
    margin: auto;
    min-width: 250px;
}
img#Montagem1-F12-AL122{
    display: block;
    margin: auto;
    min-width: 300px;
}
img#Montagem2-F12-AL122{
    display: block;
    margin: auto;
    min-width: 400px;
}
img#TP-Exame {
    display: block;
    margin: auto;
    min-width: 400px;
    border-radius: 5px;
}


footer {
    width: 100%;
    max-width: 100vw;
    min-height: var(--footer-min-height);
    text-align: center;
    margin-top: 0px;
    padding: 0px 0px 0px 0px;
    color: white;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background-color: var(--simulaFQ-laranja-claro);
    box-shadow: 0 100vh 0 100vh rgb(64, 64, 64);
}
footer p {
    min-width: fit-content;
    margin: 0px;
    padding: 15px 0px 20px calc(100vw - 100%);
}
footer > p > a{
    font-size: large;
}
footer a {
    color: white;
}
footer div.sub-footer {
    display: inline-block;
    margin: 0px 0px -5px 0px;
    padding: 5px 0px 5px 0px;
    width: 100%;
    background-color: rgb(64, 64, 64);
}
footer div.sub-footer div.social-container {
    float: left;
    max-width: 30%;
    margin: auto;
    white-space: normal;
}
footer div.sub-footer div.social-container div.icone-social {
    display: inline;
    width: 30px;
    padding: 0px;
}
footer div.sub-footer div.info {
    float: right;
    max-width: 55%;
    margin: auto;
    padding-top: 8px;
    padding-right: 15px;
    font-size: 60%;
    white-space: normal;
}

div.info p {
    padding: 0px 0px 10px 0px;
}

a.svg-social {
    margin: 10px 10px 10px 10px;
}
