* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-size: 1rem;
	font-family: "URW Gothic L", "Helvetica", "Arial", sans-serif;
	max-width: 80%;
	margin: 0 auto;
	counter-reset: article;
}

body > header {
	background-color: rgb(12, 97, 158);
}

body > footer {
	background-color: rgb(12,97,158);
	color: white;
}

 body > footer a, body > footer a:link, body > footer a:visited {
	color: white;
}

 body > footer {
	 margin-top: 1em;
 }

 article > footer {
	 font-style: italic;
	 border: 2px dotted grey;
	 display: flex;
	 justify-content: space-between;
	 margin-top: 10px;
 }

 article > footer > small {
	 box-sizing: border-box;
	 width: 50%;
	 margin: 0px;
	 padding: 0px;
 }

 article > footer > small:nth-of-type(2) {
	 text-align: right;
 }

header > a > img {
	float: left;
}

.flag {
	width: 16px;
	height: 16px;
}

a[hreflang]::before {
	content: "";
	width: 1rem;
	height: 1rem;
	display: inline-block;
	margin-right: 0.5rem;
}

a[hreflang=it]:before {
	background: url(../media/flag-it.svg);
	background-size: 100%;
}

a[hreflang=fr]:before {
	background: url(../media/flag-fr.svg);
	background-size: 100%;
}

a[hreflang=en]:before {
	background: url(../media/flag-en.svg);
	background-size: 100%;
}

header > h1 {
	color: white;
	font-size: 36pt;
}

#clear {
	clear: both;
}

nav {
	background-color: #f5f5f5;
	border: 2px solid rgb(12, 97, 158);
}

nav ul {
	list-style: none;
}

nav > ul {
	padding: 0px;
}

nav a:link {
	color: rgb(12,97,158);
}

#font-size-form {
	float: right;
}

h3::before {
	counter-increment: article;    /* Increment the article counter*/
	content: counter(article); /* Display the counter */
	margin-right: 0.5rem;
}

h3 {
	border-bottom: 1px solid black;
}

#typewriter {
	float: left;
	width: 300px;
}

figcaption {
	word-break: keep-all;
}

figure > img {
	width: 100%;
	height: 100%;
}

article a:link {
	color: black;
}

figcaption {
	color: gray;
}

iframe {
	display: block;
	width: 60%;
	height: 700px;
	border: none;
	border-radius: 8px;
	box-shadow: black 0 0 10px;
}

#variants dt {
	color: rgb(12, 97, 158);
	font-weight: bold;
	list-style-type: none;
}

#variants dd:before {
	content: '⌖';
	margin-right: 1rem;
}

table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}

thead {
	background-color: rgb(12,97,158);
	color: white;
	font-weight: bold;
	border-width: 2px 0px 2px 0px;
	border: solid black;
	font-size: large;
}

td:first-of-type {
	text-align: left;
	font-weight: bold;
}

tr:nth-child(2n) {
	background-color: rgb(219, 230, 239);
}

.calc {
	height: calc(80vw * 0.6 - 0rem); 
}

.ccLogo {
	vertical-align: middle;
}

.greyFooter {
    color: gray;
}

.authorForm input, select, textarea {
	margin-bottom: 7px;
}

.youtube {
	width: 100%;
	height: calc(80vw * 0.5625 - 0rem); 
}

button {
	background-color: rgb(12, 97, 158);
	color: white;
	border-radius: 5px;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

button:hover{
	background-color: rgb(12, 97, 158);
	color: lightblue;
	border-radius: 5px;
}
input:not([type="file"]):not([type="radio"]):not([type="checkbox"]), textarea, select {
	border: 0;
	border-bottom: 1px solid black;
	background-color: #f5f5f5;
}

.authorForm input:not([type="file"]):not([type="radio"]):not([type="checkbox"]), textarea, select {
	width: 100%;
}

input:focus, textarea:focus, input:hover, textarea:hover input:active, textarea:active{
	color: rgb(12, 97, 158);
	border-bottom: 2px solid rgb(12, 97, 158);
}

#font-size-form > label, #font-size-form > input, #font-size-form > output {
	display: inline-block;
	vertical-align: middle;
	padding: 0; margin: 0;
}

fieldset {
	border-radius: 0.4rem;
	border-color: #f5f5f5;
}

.oneLine {
	width: 100%;
}

.searchIcon {
	height: 16px;
	widows: 16px;
}
