* {
	margin: 0;
	line-height: 1.5;
	box-sizing: border-box;
}

body {
	font-family: Arial, Helvetica, sans-serif;
}

h1 {
	text-align: center;
}

h2 {
	margin-bottom: 10px;
	color: #191919;
}

p {
	margin-bottom: 20px;
}

/********* TABLE *********/
#tableStudents {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
	max-width: 900px;
	min-width: 700px;
    width: 100%;
}

#tableStudents td, #tableStudents th {
    border: 1px solid #ddd;
    padding: 8px;
}

#tableStudents tr:nth-child(even){background-color: #f2f2f2;}

#tableStudents tr:hover {background-color: #ddd;}

#tableStudents th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #003368;
    color: white;
}

#tableStudentsContainer {
	width: 100%;
	overflow: auto;
}

#tableReg td {
	padding: 5px 0px;
	padding-right: 10px;
}

#tableReg td:first-child {
	min-width: 250px;
}

#tableReg td:last-child {
	min-width: 250px;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea, input[type=date], input[type=number] {
    width: 100%; /* Full width */
    padding: 5px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    /*margin-top: 6px;*/ /* Add a top margin */
    /*margin-bottom: 11px;*/ /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

input[type=date] {
	resize: initial;
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
    background-color: #45a049;
}

input[type=text], select, textarea, input[type=date], input[type=number] {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}

input[type=text]:focus, select:focus, textarea:focus, input[type=date]:focus, input[type=number]:focus {
    border: 1px solid #003368;
}


/****** RADIO ******/
/* The container */
.radio_container {
    position: relative;
    padding-left: 23px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.radio_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio_container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio_container input:checked ~ .checkmark {
    background-color: #002852;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio_container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio_container .checkmark:after {
 	top: 5px;
	left: 5px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: white;
}

header {
	background: #003368;
	padding: 40px;
	color: #ffffff;
}

nav {
	background-color: #ffc900;
	float: left;
	padding: 20px 0px;
	width: 20%;
	height: auto;
}

nav a {
	text-decoration: none;
	display: block;
	padding: 10px 20px;
	color: #000000;
	font-weight: bold;
}

nav a:hover {
	background-color: #ffe200;
}

section {
	display: flex;
}

article {
	width: 80%;
	float: left;
	padding: 30px;
}

aside {
	background-color: #ffe200;
	float: right;
	width: 20%;
	height: 500px;
}

aside div {
	padding: 25px;
}

aside div h3 {
	font-size: 1rem;
	margin-bottom: 5px;
}

aside div p {
	font-size: 0.8rem;
}

footer {
	background: #002852;
	text-align: center;
	color: #ffffff;
}

footer p {
	padding: 20px;
	margin-bottom: 0px;
}

section:after {
    content: "";
    display: table;
    clear: both;
}

#articleHome {
	width: 60%;
}

.active {
	background-color: #ffe200;
}

.registerbtn {
	margin-top: 20px;
}

.button {
	display: block;
	background-color: #003368;
    border: none;
	border-radius: 5px;
    color: white;
    padding: 10px 18px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	transition: all 0.5s;
	cursor: pointer;
	margin-bottom: 10px;
	margin-right: 10px;
}

.button:hover{
	background-color: #00448C;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

@media (max-width: 700px) {
	table {
		width: 100%;
	}
	
	#tableReg td:first-child {
		min-width: initial;
	}

	#tableReg td:last-child {
		min-width: initial;
	}
}
	
@media (max-width: 600px) {
	nav, article {
		width: 100%;
		height: auto;
	}

	nav a {
		text-align: center;
	}

	aside {
		display: none;
	}
	
	section {
		display: initial;
	}
	
	#articleHome {
		width: 100%;
	}
}