/*****************************************************************/
/* Mobile stylesheet */

/*****************************************************************/
/* HTML Elements */

* {
	box-sizing: border-box;
	max-width: 100%;
}

body {
	background: #fff;
	color: #444;
	font: 0.88em/1.6 roboto,tahoma,sans-serif;
	margin: 0;
	padding: 0;
	}

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{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	}

header {
	margin: 0;
	padding: 15px;
	}

#content {
	width: 100%;
	padding: 10px 20px;
	float: none;
	}

#sidebar {
	width: 100%;
	margin: 0;
	float: none;
	}

header,
#content,
#sidebar,
#container > footer {
	margin: 0 0 1em 0;
	}

#container > footer {
	clear: both;
	padding: 10px 10px 50px 10px;
	width: auto;
	margin: 0;
	}


/*****************************************************************/
/* Header Elements */

header {
	}

header h1 {margin: 0;}

#headerinfo {
	float: left;
	width: 100%;
	}

#googlebar,
#follow {
	max-width: 100%;
	text-align: center;
}

#follow a,
#follow span {
	background: none;
	color: #bbb;
	font-size: 24px;
	vertical-align: text-top;
	transition: color 1s;
}
#follow a:hover,
#follow span:hover {
	background: none;
	border: none;
	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-amazon:hover {
	color: #F3A847;
}


#googlebar input[type='text'] {
	max-width: 100%;
}

#tagline {
	clear: both;
	width: 100%;
	}

#print-icon {
	display: none;
}

/*****************************************************************/
/* 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 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 #eee;
	border-left: solid 4px #ccc;
	border-bottom: solid 1px #eee;
	padding: 2px 5px;
	margin-left: 12px;
	}
#content h3:hover {
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	}

#content li {
	padding: 3px 0 0 0;
	}

#content a {padding: 0px;}

/* For bibliographic references */
li.ref {	color: #444;

	list-style-type: none;
	text-indent: -15px;
	margin-bottom: 5px;
	color: #333;
	line-height: 1.2;
	width: 100%;
	-ms-word-break:   break-all;
	 word-break:       break-word;
	word-wrap:        break-word;
	}
li.refnote {
	list-style-type: none;
	margin-left: 15px;
	text-indent: -10px;
	margin-top: -7px;
	line-height: 1.2;
	}

.refbib {
	font-family: monospace;
	font-size: 120%;
	}

/* definition lists - for glossaries */

dl {
	color: #333;
	width: 90%;
	margin: 12px auto;
	}

dt {
	font-weight: bold;
	margin-bottom: 2px;
	}

dd{
	margin-left: 35px;
	line-height: 1.4;
	}

dt + dd{
	margin-bottom: 14px;
	}

/* To indent from the left */
.ind {
	margin: 0 12px 0 48px;
	}

/* For grouping sets of links */
.linkset {
	margin-left: 0px;
	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;
	background: #4D8E8E;
	text-align: center;
	font-variant: small-caps;
	letter-spacing: 1px;
	font-size: 14px;
	color: #fff;
	}

ul.menu {
	margin: 0;
	padding: 0;
	}
.menu li {
	list-style-type: none;
	padding: 0;
	}
.menu a {
	display: block;
	line-height: 1.4;
	font-size: 0.9em;
	padding: 4px 15px;
	border-radius: 0;
	border-bottom: solid 1px #93C0C0;
	color: #444;
	}
.menu li:last-child a {
	border-bottom: none;
	}
.menu a:hover {
	background: #FFDFC4;
	}
a.current {
	background: #FFDFC4 !important;
	font-weight: bold;
	}


nav .menu:first-child li:first-child {
	border-top: solid 1px #93C0C0;
	}

ul#ads {
	padding-left: 0;
	}
ul#ads li {
	list-style-type: none;
	text-align: center;
	}

.mobileonly li a {
	padding-top: 1em;
	padding-bottom: 1em;
	text-align: center;
	background: #999;
	color: #fff;
	}
.mobileonly li a:hover {
	color: #333;
	}

/*****************************************************************/
/* Footer Elements */

.footerlinkblock {
	float: left;
	margin-right: 30px;
	}
.footerlinkblock p {
	margin-bottom: 8px;
	font-weight: bold;
	}

#container > footer ul {
	margin-left: 0px;
	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: block;}

.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;
}

/* 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;
}

/* 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;
	}

/* Font Awesome stuff */
	.fa-new {color: #f00;}
	.fa-blue {color: #001CCD;}
