/*****************************************************************/
/* HTML Elements */

*, *:before, *:after {
	box-sizing: border-box;
}
body {
	background: #F3F8F8;
	color: #333;
	font: 0.78em/1.6 roboto,ubuntu,tahoma,sans-serif;
	}

ul {
	padding-left: 25px;
	}

a {
	text-decoration: none;
	padding: 0 2px;
	border-radius: 2px;
	}
a:link {
	color: #4D8E8E;
	}
a:visited {
	color: #6BA3A3;
	}
a:hover {
	color: #333;
	background: #FFDFC4;
	border-bottom: solid 1px #BCD9D9;
	}
a:active {
	color: #444;
	background: #fff;
	}


/*****************************************************************/
/* Page Sections */

#container{
	box-shadow: 0 0 3px #ccc;
	background: #fff;
	width: 1000px;
	margin: -10px auto 10px auto;
	}

header {
	padding: 15px;
	height: 170px;
	border-bottom: solid 1px #bbb;
	}

#content {
	width: 80%;
	padding: 10px 20px;
	float: left;
	border-right: solid 1px #bbb;
	min-height: 1536px;
	}

#sidebar {
	width: 20%;
	float: right;
	background: #efefef;
	}

header,
#content,
#sidebar,
#container > footer {
	}

#container > footer {
	clear: both;
	padding: 10px 20px;
	background: #EFF5F5;
	}


/*****************************************************************/
/* Header Elements */

header {
	background: url("header3.png") no-repeat scroll;
	}
/* https://commons.wikimedia.org/wiki/File:1745_Seale_Map_or_Chart_of_the_Mediterranean_Sea_-_Geographicus_-_Mediterranean-seale-1845.jpg
 */

header h1 {margin: 0;}

#tagline {
	font-size: 12px;
	max-width: 40%;
	float: left;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff, 0 0 6px #fff, 0 0 6px #fff, 0 0 6px #fff, 0 0 9px #fff, 0 0 9px #fff, 0 0 9px #fff, 0 0 9px #fff, 0 0 12px #fff, 0 0 12px #fff, 0 0 12px #fff, 0 0 12px #fff;
	}

#googlebar {
	float: right;
	text-align: right;
	font-size: .9em;
	line-height: 1.9;
	color: #333;
	max-width: 60%;
	}
#googlebar p {
	margin: 0;
}

#follow {
	float: right;
	margin-top: -5px;
	clear: both;
}

#follow a,
#follow span {
	color: #bbb;
	font-size: 24px;
	vertical-align: text-top;
	transition: color 1s, font-size 1s;
}
#follow a:hover,
#follow span:hover {
	background: none;
	border: none;
	font-size: 36px;
	color: #444;
}
#follow a.fa-rss-square:hover {
	color: #ff8300;
}
#follow a.fa-twitter-square:hover {
	color: #4F9FDD;
}
#follow a.fa-facebook-square:hover {
	color: #3A5795;
}
#follow a.fa-instagram:hover {
	color: #9b6954;
}
#follow a.fa-youtube-square:hover {
	color: #DF2826;
}
#follow a.fa-pinterest-square:hover {
	color: #C92228;
}
#follow a.fa-linkedin-square:hover {
	color: #007bb6;
}
#follow a.fa-github-square:hover {
	color: #c11;
}
#follow a.fa-wordpress:hover {
	color: #21759b;
}
#follow a.fa-amazon:hover {
	color: #F3A847;
}

/* Adjustments to Google Search */
.cse-branding-bottom {
	background: none !important;
}


/*****************************************************************/
/* Content Elements */

.columns3 {
	-webkit-column-count: 3; /* Chrome, Safari, Opera */
	-moz-column-count: 3; /* Firefox */
	column-count: 3;
	-webkit-column-gap: 30px; /* Chrome, Safari, Opera */
	-moz-column-gap: 30px; /* Firefox */
	column-gap: 30px;
	}
.columns3 p:first-child {
	margin-top: 0;
	}
.columns4 {
	-webkit-column-count: 4; /* Chrome, Safari, Opera */
	-moz-column-count: 4; /* Firefox */
	column-count: 4;
	-webkit-column-gap: 30px; /* Chrome, Safari, Opera */
	-moz-column-gap: 30px; /* Firefox */
	column-gap: 30px;
	}
.columns4 p:first-child {
	margin-top: 0;
	}

#content p,
#content li {
	font-size: 14px;
	}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {margin-bottom: 0px;}
#content h1 {
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	}
#content h1:hover {
	border-top: solid 1px #7D7DAC;
	border-bottom: solid 1px #7D7DAC;
	}
#content h2 {
	border-bottom: solid 1px #ccc;
	}
#content h2:hover {
	border-bottom: solid 1px #8B8BB9;
	}
#content h3 {
	border-top: solid 1px #fff;
	border-bottom: solid 1px #eee;
	}
#content h3:hover {
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	}
#content h4 {
	font-size: 1.08em;
	border-top: solid 1px #fff;
	border-bottom: dotted 1px #eee;
	}
#content h4:hover {
	border-top: solid 1px #eee;
	border-bottom: dotted 1px #ccc;
	}
#content h3,
#content h4 {
	transition: border 1s;
}

#content li {
	padding: 3px 0 0 0;
	}

#content a {padding: 0px;}

#content h1:first-child {
	border: none;
}

/* For bibliographic references */
li.ref {
	list-style-type: none;
	margin-left: 25px;
	text-indent: -25px;
	margin-bottom: 5px;
	color: #333;
	line-height: 1.2;
	}

.refbib {
	font-family: monospace;
	}

li.refnote {
	list-style-type: none;
	margin-left: 50px;
	text-indent: -25px;
	margin-top: -7px;
	line-height: 1.2;
	}

/* definition lists - for glossaries */

dl {
	color: #333;
	width: 90%;
	margin: 12px auto;
	}

dt {
	font-weight: bold;
	margin-bottom: 2px;
	font-size: 14px;
	}

dd{
	margin-left: 35px;
	line-height: 1.4;
	font-size: 14px;
	}

dt + dd{
	margin-bottom: 14px;
	}

/* To indent from the left */
.ind {
	margin: 0 12px 0 48px;
	}

/* For grouping sets of links */
.linkset {
	margin-left: 60px;
	padding-left: 10px;
	border-left: solid 4px #ccc;
	}
.linkset ul li {
	margin-left: -10px;
	padding: 3px 0 0 0;
	list-style-type: circle;
	}


/*****************************************************************/
/* Sidebar Elements */

#sidebar h3 {
	margin: 0;
	padding: 2px 0;
	color: #fff;
	background: #4D8E8E;
	text-align: center;
	font-variant: small-caps;
	letter-spacing: 1px;
	font-size: 14px;
	}

#sidebar .fa-fw {
	margin-right: 6px;
	vertical-align: middle;
}

ul.menu {
	margin: 0;
	padding: 0;
	}
.menu li {
	list-style-type: none;
	padding: 0;
	}
.menu a {
	display: block;
	line-height: 1;
	padding: 4px 15px;
	border-radius: 0;
	border-bottom: solid 1px #93C0C0;
	color: #444;
	vertical-align: middle;
	}
.menu li:last-child a {
	border-bottom: none;
	}
.menu a:hover {
	background: #FFDFC4;
	color: #444;
	}
a.current {
	background: #FFDFC4;
	font-weight: bold;
	}

ul#ads {
	padding-left: 0;
	}
ul#ads li {
	list-style-type: none;
	text-align: center;
	}

a.image {
	padding: 4px 10px;
	}
a.image:hover {
	background: none;
	}

/*****************************************************************/
/* Footer Elements */

.footerlinkblock {
	float: left;
	margin-right: 30px;
	}
.footerlinkblock p {
	margin-bottom: 8px;
	font-weight: bold;
	}

	#container > footer ul {
	margin-left: 3px;
	padding-left: 6px;
	border-left: dotted 2px #ddd;
	list-style: none;
	}


/*****************************************************************/
/* Special Sections */

.left {float: left;}
.right {float: right;}
.clear {clear: both;}
.printonly {display: none;}
.mobileonly {display: none;}
.new:after {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #f00;
	content: '\f058';
	margin-left: 3px;
}
.newdemo:after {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #f00;
	content: '\f058';
	margin-left: 0px;
}
.updated:after {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #00f;
	content: '\f139';
	margin-left: 3px;
}
.updateddemo:after {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	color: #00f;
	content: '\f139';
	margin-left: 0px;
}
.emphasis {
	border: double 3px #f99;
	padding: 0 1em;
}

/* Links */
#content a.pdf::after ,
#content a.external::after ,
#content a.epub::after,
#content a.zip::after,
#content a.image::after {
	font: normal normal normal 12px/1 FontAwesome;
	margin-left: 4px;
}
#content a.pdf::after {
	content: '\f1c1';
	color: #f00;
}
#content a.epub::after {
	content: '\f02d';
	color: #0066CD;
}
#content a.zip::after {
	content: '\f1c6';
	color: #555;
}
#content a.external::after {
	content: '\f08e';
	font-size: 10px;
	color: #0B0080;
	}
#content a.image::after {
	content: '\f1c5';
	font-size: 10px;
	color: #777;
	}

/* Print Button */
#print-icon .fa-print {
	position: fixed;
	top: 10px;
	left: 10px;
	font-size: 26px !important;
	color: #ddd;
	transition: color 1s;
}
#print-icon .fa-print:hover {
	color: #555;
}

/* Vertical Accordion Collapse */
/* Because the jQuery collapse script changes the h2 elements into clickable links
This bit styles them the same way as non-clickable h2 elements */
#ds-collapse h2 a {color: #444;}
#ds-collapse h2 a:hover {background: #eee;}
#ds-collapse .ind h3 {
	border: none;
	border-bottom: solid 1px #ccc;
	margin-left: 0;
	}
/* Added for Lit Project */
#top h2 a,
.ds-collapse h2 a {
	color: #444;
}
.ds-collapse h3 a {
	color: #555;
}
.ds-collapse h2 a:hover,
.ds-collapse h3 a:hover {
	background: #eee;
}

/* Sharing Buttons */
.share {
	float: right;
	padding-top: 6px;
}

/* Document modification */
#docmod {
	font-size: 80%;
	color: #888;
	text-align: right;
	}

/* Font Awesome stuff */
	.fa-new {color: #f00;}
	.fa-blue {color: #001CCD;}
