body {
	font-family: "Lato", sans-serif;
	max-width:80%;
	margin-left:auto;
	margin-right:auto;
}


h1 { text-align:center; }
h2 { text-align:center; }
figure {
	margin:0px;
	text-align:center;
}

figure img {
	width:20%;
	height:150px;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
td {
	padding:20px;
}

/* Style the tab */
div.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
	max-width:80%;
	margin-left:auto;
	margin-right:auto;
}

/* Style the buttons inside the tab */
div.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
div.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    /*border: 1px solid #ccc;*/
    border-top: none;
	max-width:78%;
	margin-left:auto;
	margin-right:auto;
}

.tabcontent {
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
