
/*
** HTML elements
*/
@import url(https://fonts.googleapis.com/css?family=Crimson+Text:400,600,400italic,600italic,700,700italic);

body {
  background: #fafafa no-repeat top right; /* LTR */
  font-family: "Crimson Text";
  font-size: 14pt;
  color: #222;
  line-height: 125%; 
}
a:link {
  color: #68a;
}
a:visited {
  color: #68a;
}
a:active {
  color: #ccc;
}
h1, h2, h3, h4, h5 {
  max-width: 6in;
  line-height: 105%;
}
p {
  margin: 0em 1em 1em 0; /* LTR */
  padding: 0 0 0 0;
  max-width: 6in;
  line-height: 165%;
}
table {
  font-size: 1em;
}

/* highlight tweaks */
pre {
	background-color: white;
}
pre>code {
    display: block;
    padding: 10px;
    line-height: 150%;
}
.hljs {
    background-color: #ffffff !important;
    color: #444;
    line-height: 150%;
}
.hljs-string {
    color: #385;
}
.hljs-function {
}
.hljs-keyword {
    color: #b82;
}

/*
** Page layout blocks / IDs
*/
#main {
  float: left;
}
#header .title {
  padding-top: .75em;
}
#subnavlist {
  font-size: 0.8em;
}
ul.links li {
  border-left: 1px solid #888; /* LTR */
}
ul.links li.first {
  border: none;
}

/*
** Common declarations for child classes of node, comment, block, box etc
*/
.node .submitted {
  color: #7c7c7c;
  font-size: 0.9em;
  float: left; /* LTR */
  padding: 0.5em 0em 0.5em 1em; /* LTR */
}
.node .taxonomy {
  color: #7c7c7c;
  font-size: 0.9em;
  float: right; /* LTR */
}
.node .content {
  clear: both;
  padding-left: 1em; /* LTR */
}
.node .links {
  padding: 1em 0 1em 0.2em; /* LTR */
  margin-bottom: 0.5in;
}
.comment {
  border: solid 1px #777;
  margin: 0.5em 0;
  padding: 0.5em;
}
.block {
  margin-bottom: 10px;
  font-size: 0.8em;
}
.block .content {
  border: dotted 1px #aaa;
  border-top: none;
  margin: 0;
  padding: 8px 5px 5px 5px;
}
.block h2 {
  margin: 0;
  padding: 2px 5px;
}
.block h2 {
  margin-bottom: 0px;
  font-size: 1.1em !important;
background: #c6ebff; /* Old browsers */
background: -moz-linear-gradient(left, #c6ebff 0%, #eee 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#c6ebff), color-stop(100%,#eee)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #c6ebff 0%,#eee 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #c6ebff 0%,#eee 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #c6ebff 0%,#eee 100%); /* IE10+ */
background: linear-gradient(to right, #c6ebff 0%,#eef 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c6ebff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */

}

#sidebar-content .block {
    width: 100% !important;
}
#sidebar-content .block h2 {
    display: none !important;
}
#sidebar-content .block .content {
    border: none !important;
}


/*
** Administration page styles
*/
div.admin-panel .description {
  color: #999;
}

div.admin-panel .body {
  background: #f4f4f4;
}

div.admin-panel h3 {
  background-color: #888;
  color: #fff;
  padding: 5px 8px 5px;
  margin: 0;
}

/*
** Module specific styles
*/
.item-list ul li {
  list-style-image: url(bullet.png);
}
.path, .path a, .path a:visited {
  color: #888;
}

.navlinks {
	font-family: monospace;
}

@media (max-width: 640px) {
    .block { display: none; }
	.content { margin: 0 !important; width: 100%; }
	#sidebar-left, #sidebar-right { padding: 0px !important; }
	#content { padding: 0px !important; }
	body { padding: 0.5em !important; }
	#header { text-align: center; }
	#header img { float: none !important; }
	.navlinks { text-align: center; }
	h2.title { text-align: center; }
}
@media (max-device-width: 640px) {
    .block { display: none; }
	.node .content { 90vw; margin: 0 !important; padding: 0 !important;}
	#sidebar-left, #sidebar-right { 
		padding: 0px !important; 
		width: 0px;
		display: none;
	}
	#main { 
		float: none;
		padding: 0 !important;
	}
	#content { padding: 0px !important; }
	body { 
		padding: 0.5em !important; 
		font-size: 20px !important;
	}
	#header { text-align: center; }
	#header img { float: none !important; }
	.navlinks { text-align: center; }
	h2.title { text-align: center; }
	pre { 
		width: 90vw;
		font-size: 18px !important; 
		display: block; 
		overflow: auto;
		overflow-x: scroll; 
	}
	#sidebar-content { display: none; }
}
