/* Definition of the main colors */
:root {
  --main-bg-section: #fff;
  --main-bg-body: #ddf;
  --main-bg-color: #00f;
  --main-nav-bg-color: #00a;
  --main-nav-txt-color: #eee;
  --main-nav-bghover-color: #ccf;
  --main-nav-txthover-color: #111;
  --main-subnav-bg-color: #444;
  --main-subnav-txt-color: #eee;
}


/* To not have the bottom menu hidding some parts of the text */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: var(--main-bg-body);
  padding-bottom:50px;
  font-size: 1em;
}

h1 {
  padding: 30px;
  margin: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 40px;
  color: #fff;
  text-align: center;
}

h2 {
	font-size: 1em;
	font-weight: bold;
}


section {
	padding: 20px 20px;
    height: 100%;
	max-width: 960px;
	margin:auto;
	background: var(--main-bg-section);
}

header {
	max-width: 1000px; 
    margin:auto; 
	background-image: url("img/background.png");
}

footer {
	max-width: 1000px; 
    margin:auto;
	}
	
	
.button {
  background-color: var(--main-nav-bg-color);
  border: none;
  border-radius:5px;
  color: white;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}	

.button:hover {
  background: var(--main-nav-bghover-color);
  color: var(--main-nav-txthover-color);
  font-weight: bold;
  }
	
	
.myphoto {	
	margin: auto;
	max-width:100%;
	height:auto;	
}


.navbar {
  overflow: hidden;
  background-color: var(--main-nav-bg-color);
  max-width: 1000px; 
  margin:auto; 
}

/* Properties of the items in the navigation bar */
.navbar a {
  float: left;
  font-size: 16px;
  font-weight: normal;
  color: var(--main-nav-txt-color);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  font-weight: normal;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background: var(--main-nav-bghover-color);
  color: var(--main-nav-txthover-color);
  font-weight: bold;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: normal;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* Bottom bar */

.navbottombar {
  overflow: hidden;
  background-color: var(--main-nav-bg-color);
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 1000px; 
  margin:auto; 
}

.navbottombar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 20px;
  text-decoration: none;
  font-weight: normal;
  font-size: 16px;
}

.navbottombar a:hover {
  background: var(--main-nav-bghover-color);
  color: var(--main-nav-txthover-color);
  font-weight: bold;
}

.navbottombar a.active {
  background-color: #04AA6D;
  color: white;
}


/* Tables */

.myblock {
  display: table-row;
  overflow-x:auto;
}
.myblock div {
  padding: 10px;
}

.mytable {
	border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
}
.mytable td {
	padding: 2px 8px;
}
.mytable thead td {
	background-color: #54585d;
	color: #ffffff;
	font-weight: bold;
	font-size: 11px;
	border: 1px solid #54585d;
}
.mytable tbody td {
	color: #636363;
	border: 1px solid #dddfe1;
}
.mytable tbody tr {
	background-color: #f9fafb;
}
.mytable tbody tr:nth-child(odd) {
	background-color: #ffffff;
}