 /* Clears global attributes */

 * {
	padding: 0px;
	margin: 0px;
	font-family: Helvetica,Arial,Sans-serif;
	box-sizing: border-box;
}

 /* Defines colour scheme */
:root {
	--main:#002147;
}

/*** HEADER FORMATTING  ***/

#head {
	background-color: var(--main);
    width:100%;
    color: #fff;
    padding: 20px;
    padding-bottom:30px;
}

#head a {
    color: #fff;
    text-decoration: none;
}

#head a:visited {
    color: #fff;
    text-decoration: none;
}

#logo {
	display:inline-block;
	float:right;
}

h1 {
	display: inline-block;
}

#head h4 a {
	margin-top: 20px;
	display: block;
	color:#c8d4e8;
}
	
#head h4 a:hover {
	text-decoration: underline;
}

#head h4 a:visited {
	color:#c8d4e8;
}


/* Side navigation bar */
.sidebar {
    width: 10%;
    display: inline-block;
    vertical-align: top;
    padding-top: 0;
    margin-left:20px;
    padding: 10px;
    height: 100%;
    background-color: lightgrey;
    min-width: 200px;
}


.sidebar ul {
    list-style-type: none;

}

.sidebar a {
    text-decoration: none;
}

#spec-sidebar {
	width: 8%;
	min-width: 150px;
}

/*** BODY FORMATTING  ***/
#main {
    padding-top: 2%;
}

#table-box {
    display:inline-block;
    width: 70%;
    margin-left: 50px;
    align-content: center;
}

#species-name, #species {
    text-align: center;
    width: 100%;
}

/* Month table */

table {
    border:none;
    border-collapse: collapse;
}

table a {
    text-decoration: none;
}

.year {
    text-align: center;
}

tr:nth-child(even) {
    background-color: var(--main);
    color: white;
}
tr:nth-child(4n+3) {
    background-color: #f2f2f2;
    color: white;
}
.subtable tr {
    background-color: transparent;
}


td {
    padding: 8px 20px;
}
