body {
	margin: 0;
	padding: 0;
	font-size: .81em;
	font-family: Libre Baskerville;
	font-weight: normal;
}

header {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
	margin: 0;
	/* font-size: 1.5em; */
}

header p {
	margin: 0;
	/* font-size: 1em; */
}

header nav {
	margin-top: 0px;
	/* font-size: 1em; */
}

header nav ul {
	padding: 0.7em 0 0 0;
	margin: 0;
	list-style-type: none;
	display: inline-block;
}

nav ul li {
	display: inline;
	padding: 0 10px 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    position: relative;
}

nav ul li a::after {
	content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #000000;
    transition: width 0.15s ease;
    -webkit-transition: width 0.3s ease;
}

nav ul li a:hover::after {
	left: 0;
    width: 100%;
}

main {
	text-align: justify;
	padding: 137px 0 0 0;
	margin: 0 auto;
	/* font-size: 1.0em; */
	max-width: 37.71em;
	line-height: 157%;
}

section {
	margin: 0 0 50px 0;
}

#extlink {
	display: inline-block;
	padding-left: 2em;
	padding-right: 2em;
	text-align: center;
	color: #1a6680;
}

#extlink:hover {
	color: #13a093;
}


#reflinkbox {
	font-size: 0.81em;
	text-align: right;
}

.email:before {
	content: attr(data-website) "\0040" attr(data-user);
	unicode-bidi: bidi-override;
	direction: rtl;
}

a:link {
	text-decoration: none;
	color: #1a6680;
}

a:visited {
	text-decoration: none;
	color: #1a6680;
}

a:hover {
	color: #13a093;
}

li {
	margin-bottom: 0.7em;
}

p {
	text-indent: 1.73em;
	margin-top: 1em;
	margin-bottom: 0;
}

footer {
	margin: 3em 0 0 auto;
	padding: 1em 0 1em 0;
	text-align: center;
	width: 100%;

	color: white;
	background-color: #373737;
}

footer .container {
	margin: 0 auto;
	width: 37.71em;
	text-align: right;
}

footer .container div {
	margin: 0;
	font-size: .81em;
}

.latex {
}

.latex sub {
	font-size: 0.85em;
	text-transform: uppercase;
	vertical-align: -0.5ex;
	margin-left: -0.1667em;
	margin-right: -0.125em;
}

.latex sup {
	font-size: 0.85em;
	text-transform: uppercase;
	vertical-align: 0.15em;
	margin-left: -0.36em;
	margin-right: -0.15em;
}

footer a:link {
	text-decoration: none;
	color: #bad6f0;
}

footer a:visited {
	text-decoration: none;
	color: #bad6f0;
}

footer a:hover {
	color: #bad6f0;
}
