html {
	overflow-y: scroll;
	scroll-behavior: smooth;
}
body {
	padding: 0px;
	margin: 0px;
	background-color: white;
	color: #333;
	counter-reset: section;
	counter-reset: subsection;
	counter-reset: figure;
	counter-reset: table;
}
#header {
	background-color: white;
	height: 78px;
	border-bottom: 1px solid black;
	margin-bottom: 40px;
}
#header-content, #footer-content, #content {
	margin: auto;
	width: 708px;
}
#header-content {
	height: 78px;
	vertical-align: bottom;
}
#page-end {
	clear: both;
}
#footer {
	border-top: 1px solid black;
	margin-top: 2em;
	margin-bottom: 2em;
	padding-top: 5px;
}
#footer-content {
	text-align: center;
}
#footer-content a {
	color: black;
	text-decoration: none;
	font-family: monospace;
	letter-spacing: 6px;
	font-size: 120%;
	font-weight: bold;
}
#logo {
	width: 206px;
	height: 97px;
	background-image: url('images/cyCodeBase_logo.svg');
	background-color: white;
	display: inline-block;
}
#menu {
	display: inline-block;
	vertical-align: top;
	padding-top: 60px;
	float: right;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 94%;
	letter-spacing: -0.2px;
}
#menu a {
	color: black;
	text-decoration: none;
	margin-left: 10px;
	font-weight: bold;
}
#menu a:hover, #footer a:hover {
	color: #1eaad7;
}
#menu a:active, #footer a:active {
	color: #1981a3;
}
#content {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 90%;
	text-align: left;
}
.right-content {
	padding-left: 229px;
}

#maintitle {
	height: 1.1em;
}

a {
	color: #1eaad7;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: white;
	text-decoration: underline;
}

h2, h3, h4, h5 {
	margin-top: 2em;
	margin-bottom: 1em;
}

h2 {
	font-size: 120%;
}

h1 {
	text-align: right;
    width: 207px;
    margin-bottom: -0.5em;
}

p {
	line-height: 1.5em;
}

p sup {
	line-height: 0;
}

hr {
	clear: both;
	border-top: 1px solid black;
	border-bottom: 0px;
}

.separator {
	clear: both;
	padding-bottom: 2px;
	border-bottom: 1px solid #1eaad7;
}

code {
	font-size: 130%;
	/*font-weight: bold;*/
	color: black;
}

ul {
	margin-top: 0px;
	margin-bottom: 1em;
}

.news-item {
	position: relative;
	margin: 10px 0px 10px 0px;
	text-align: left;
}
.news-item h1, .news-item h2 {
	position: absolute;
	right: 501px;
	width: 209px;
	font-size: 100%;
	text-align: right;
	margin: 0px;
	padding-top: 0px;
}
.news-item h2 {
	font-weight: normal;
	font-size: 90%;
	margin-top: 17px;
}


.code-release {
	clear: both;
	position: relative;
	margin: 10px 0px 20px 0px;
	text-align: left;
	border-top: 1px solid black;
	padding-left: 229px;
}
.code-release h1, .code-release h3 {
	display: block;
	position: absolute;
    left: 0px;
    width: 209px;
    text-align: right;
	padding-top: 0px;
}
.code-release h1 {
	font-size: 140%;
}
.code-release h1:after {
	display: block;
	content: "code release";
	font-size: 76%;
	font-weight: normal;
}
.code-release h3 {
	top: 80px;
	font-size: 100%;
}
.code-release h3:before {
	display: block;
	content: "DOWNLOAD";
	font-weight: normal;
}
.code-release h2 {
	margin-top: 19px;
	margin-bottom: 3px;
}
.code-release h4 {
	font-size: 100%;
	display: inline;
	margin-top: 10px;
}
.code-release h4:before {
	clear: both;
	content: "";
	display: block;
	margin-top: 1em;
}
.code-release h4:after {
	content: ":";
}


#doc-menu {
	font-size: 120%;
	padding-left: 229px;
}
#doc-menu a {
	padding-right: 16px;
}
.doc-content {
	padding-left: 75px;
	margin-top: 1em;
}
.doxygen-logo {
	margin-bottom: -5px;
}


.solution {
	margin-top: 2em;
	margin-bottom: 2em;
	padding-left: 229px;
	border-top: 1px solid black;
}
.solution h1 {
	display: block;
	width: auto;
	text-align: left;
	position: inherit;
	padding-top: 0px;
	font-size: 140%;
	margin-bottom: 1em;
	margin-top: 1em;
}

#solution-content h1 {
	display: block;
	width: auto;
	text-align: left;
	position: inherit;
	padding-top: 0px;
	font-size: 180%;
	margin-bottom: 1em;
	margin-top: 1em;
	color: black;
}
#solution-content h2 {
	counter-increment: section;
	counter-reset: subsection;
	font-size: 140%;
	margin-top: 2em;
}
#solution-content h2:before {
	content: counter(section) ". ";
}
#solution-content h3 {
	counter-increment: subsection;
}
#solution-content h3:before {
	content: counter(section) "." counter(subsection) ". ";
}


.figure {
	text-align: center;
	margin-top: 2em;
	margin-bottom: 2em;
}
.figure table {
	margin-left: auto;
	margin-right: auto;
}
.figure td {
	text-align: center;
}
.figure img {
	border: 1px solid black;
}
.figure .caption {
	width: auto;
	margin: auto;
	text-align: left;
	display: table;
    font-style: oblique;
	margin-top: 0.5em;
}
.figure .caption:before {
	counter-increment: figure;
	content: "Figure " counter(figure) ": ";
	font-weight: bold;
	font-style: normal;
}

.nobreak {
	display: inline-block;
}



@media screen and (max-device-width: 1024px) {
	#menu {
		display: block;
		float: none;
		padding-top: 1em;
		border-bottom: 3px solid black;
		padding-bottom: 0.4em;
		font-size: 130%;
	}
	#menu a {
		margin-left: 0px;
		margin-right: 0.8em;
	}
	#content {
		margin-top: 6.5em;
	}
	h1 {
		margin-bottom: 0px;
		text-align: left;
	}
	.right-content, .code-release, .doc-content, #doc-menu, .solution {
		padding-left: 0px;
	}
	.news-item h1, .news-item h2 {
		position: unset;
		width: auto;
		text-align: left;
	}
	.news-item h2 {
		margin-top: 0px;
		margin-bottom: 0.5em;
	}
	.code-release h1, .code-release h3 {
		position: unset;
		width: auto;
		text-align: inherit;
		top: 0px;
	}
	#doc-menu {
		margin-top: 1em;
	}
}




/* Black */
body, #header, #logo {
	background-color: #1e1e1e;
}
body {
	color: #ccc;
}
#header, #footer, #menu, hr, .code-release, .solution {
	border-color: #aaa;
}
#footer-content a {
	color: #ccc;
}
#footer-content a:active {
	color: white;
}
#menu a {
	color: white;
}
#menu a:active {
	color: white;
}
#logo {
	background-image: url('images/cyCodeBase_logo_white.svg');
}
.figure img {
	border-color: #aaa;
}
code {
	color: #ffeda5;
}
#solution-content h1, #solution-content h2, #solution-content b {
	color: white;
}
h1, h2, h3 {
	color: white;
}
