/* This document has basic styles for Chimera Grid Tools v2.2 Docs */

@import url('https://fonts.googleapis.com/css?family=PT+Serif|Nobile|Lato');

body {
	font-family: "PT Serif", serif;
	font-size: 18px;
	line-height: 1.2;
	padding: 40px;
	width: 100%;
}


h1, h2, h3, h4, h5, h6, figcaption, table caption {
	font-family: "Lato", sans-serif;
}

h1 {
	font-size: 36px;
	font-weight: 600;
}

h2 {
	font-size: 28px;
	font-weight: 600;
}

h3 {
	font-size: 20px;
	font-weight: 600;

}

h4 {
	font-size: 16px;
}

/* Won't be used here */

h5 {
	font-size: 14px;
	line-height: 20px;
}

h6 {
	font-size: 12px;
	line-height: 20px;
}

header, nav, section {
	border-bottom: 1px solid #555;
	margin-bottom: 2em;
	padding-bottom: 1em;
}

header h1, header h2, header h3 {
	font-family: "Nobile", sans-serif;
	font-weight: 500;
	text-align: center;
}

header h1 {
	font-weight: 600;
}

nav .alertBox {
	background-color: #fff;
	border: 3px solid #c00;
	margin: 0 auto;
	padding: 5px 15px;
	position: relative;
	width: 60%;
}

nav .alertBox ol {
	font-size: 1.2em;
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
}

table {
	border: 2px solid #ccc;
	border-collapse: collapse;
	font-size: 0.85em;
	margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 0;
	table-layout: fixed;	
	width: 90%;
}
table caption {
	font-size: 1em;
	font-weight: bold;
	margin: .5em 0 .75em;
}
table tr {
	background: inherit;
	/*border: 2px solid #ccc;*/
	padding: .35em;
}

table tbody tr:hover {
	background-color: #f5f5f5;
}

table th,
table td {
	border: 1px solid #ccc;	
	padding: 1em;
	text-align: left;
}
table th {
	background-color: #f5f5f5;
	font-size: .85em;
	font-weight: bold;
	letter-spacing: .1em;
	text-transform: uppercase;
}

tr.guirow {
	background-color: inherit;
	border-bottom: 2px solid #333;
}

td.tablelegend {
	font-style: italic;
	margin: 1em;
}

.vimeobox {
	height: 0;
	padding-bottom: 56.25%;	/*16x9*/
	position: relative;
}
.vimeobox iframe {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}


table .progname {
	width: 25%;
}
table .progcat {
	width: 25%;	
}
table .desc {
	width: 50%;	
}

#Recent td {
	font-size: 1.1em;
	text-align: center;
}

#Recent tbody tr:hover {
	background-color: inherit;
}

#Recent tbody tr td > a img {
	height: auto;
	width: 100%;
}

#References ol li {
	line-height: 1.3;
	margin-bottom: 0.85em;
}

dl {
	padding: 0.5em;
}
dt {
	clear: left;
	float: left;
	font-weight: bold;
	text-align: right;
	width: 100px;
}
dt::after {
	content: "";
}
dd {
	margin: 0 0 0 120px;
	padding: 0 0 0.7em 0;
}

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

figure img{
	border: 2px solid #333;
}

figure figcaption {
	padding: 10px;
}

@media screen and (max-width: 600px) {
	table {
		border: 0;
	}
	table caption {
		font-size: 1em;
	}
	table thead {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	
	table thead th {
		font-weight: bold;
	}
	table tr {
		border-bottom: 3px solid #ddd;
		display: block;
		margin-bottom: .625em;
	}

	table td {
		border-bottom: 1px solid #ddd;
		display: block;
		font-size: .8em;
		padding: 0 20px;
		text-align: right;
	}
	table td:before {
		/*
		* aria-label has no advantage, it won't be read inside a table
		content: attr(aria-label);
		*/
		content: attr(data-label);
		float: left;
		font-weight: bold;
		text-transform: uppercase;
	}
	table td:last-child {
		border-bottom: 0;
	}

}

