/*
Theme Name: C4LJ Responsive
Theme URI: https://journal.code4lib.org
Description: A theme developed for the Code4Lib Journal. Developed by Jonathan Brinley. Updated and made responsive by Ruth Kitchin Tillman.
Version: 3.0
Author: Jonathan Brinley, Ruth Kitchin Tillman

*/


/* COLORS *****************************************/

#content h2, #commentform label, #content h2.author {
	color: #000000;
}

#content .entry pre {
	background-color: #EEEEEE;
	border-color: #DDDDDD;
}

/**************************************************/


body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	margin: 1em;
	background-color: #FFFFFF;
	border-width: 0;
	border-style: none;
	margin: 0;
	padding: 0;
}

h1 {
  color: #522D24;
  line-height: 1;
}

a:link, a:visited {
	text-decoration: none;
	color: #522D24;
}

a:visited {
  color: #522D24;
}

a:link:hover, a:visited:hover {
	text-decoration: underline;
}

ul {
	margin: 1em 0;
	list-style-type: none;
	padding-left: 0;
}

li {
	padding: .1em 0;
}

table {
  border-collapse: collapse;
}


#page {
	margin: 0 auto;
	max-width: 1200px;
}

/* HEADER *********************************/
#header {
	max-width: 97%;
	margin: 2em auto;
	clear: both;
	min-height: 100px;
}

#header h1 {
	font-size: 1.3em;
	margin: 0.4em 0;
	color: #522D24;
}
#header h1 a {
  position: relative;
  z-index: 110;
}

#header h1 a:hover {
	text-decoration: none;
}

#header h2 {
	font-size: 1.1%;
  top: 1.25em;
  color: #522D24;
  font-weight: normal;
}

/* header about */

#headerbackground {
	float: left;
	text-align: left;
}

#about {
	float: right;
	text-align: right;
	width: 75%;
	padding-top: 1em;
}

#about ul li{
	display: inline-block;
	padding: 15px 1.5% 15px 1.5% ;
}

/* SIDEBARS ***************************************/

#meta {
	float: right;
  margin-top: 2em;
	width: 24%;
	padding-left: 3%;
}

#meta h2 {
	margin: .1em 0;
	font-size: 1.1em;
}

#meta ul {
	margin-top: .1em;
}


#forauthors {
	padding-top: .75em;
}

#searchform div {
	margin-bottom: 1.75em;
}

#searchform #s {
	width: 95%;
}

#searchform #searchsubmit {
	background-color: #ffffff;
	color: #522D24;
	font-size: 1em;
	font-weight: bold;
}

/*#searchform, #archives, #forauthors {
  position: relative;
	z-index: 90;
}*/


/* PAGE BODY **************************************/

#content {
	float: left;
	width: 65%;
	margin-left: 2%;
	padding-left: 5%;
	padding-right: 1%;
	min-height: 300px;
}

#content h1 {
	margin: 0.25em 0 .1em;
  padding-top: 0.5em;
  border-top: 3px solid #522D24;
	font-size: 1.2em;
	font-weight: bold;
  color: #522D24;
}

#content h2 {
	font-size: 1.1em;
	font-weight: bold;
}

#content h3 {
	font-size: 1.1em;
	font-weight: bold;
}

#content h4 {
	font-size: 1em;
	font-weight: bold;
}

#content h5 {
	font-size: 0.8em;
	font-weight: bold;
}

#content h6 {
	font-size: 0.75em;
	font-weight: bold;
}

#content img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
	margin-bottom: 1em;
	max-width: 100%;
}

#content .Z3988 img {
  display: inline;
  margin: 0;
  padding: 0 2px;
}

#content ul {
	list-style-type: square;
	margin-left: 1em;
}
#content ol {
	margin-left: 1em;
}
#content li {
	margin-top: 0.75em;
}

#content p {
	margin: 0.75em 0 1em 0;
}

#content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

#content .alignleft {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

#content .alignright {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
}

#content blockquote {
}

#content blockquote cite {
	font-size: 90%;
	padding-left: 2em;
}

#content .entry {
	margin: 2em 0 0 5px;
	font-size: 1em;
}

.entry #byline {
  margin-left: -5px;
  font-weight: bold;
  font-size: 115%;
}

#content .entry p, #content .entry li {
	line-height: 1.35em;
}

#content .entry pre {
	overflow: auto;
	width: 700px;
	border-width: 2px;
	border-style: solid;
	margin: 0;
}


#content .entry pre .dp-highlighter {
	width: 100%;
	margin: 0 !important;
	overflow: visible;
}


/* ARTICLES ********************************/

#content .abstract {
	font-style: italic;
	line-height: 1.3em;
  margin-left: 3em;
  margin-right: 3em;
}

#content .abstract em, #content .abstract cite {
	font-style: normal;
}

#content .abstract a:link, #content .entry a:link {
  color: #2F6E7F;
}
#content .abstract a:visited, #content .entry a:visited {
  color: #0c78ae;
}
#meta a:link, #meta a:visited, #about a:link, #about a:visited {
  color: #2F6E7F;
}

#content .article .entry {
	margin-bottom: 3em;
}

#content .entry h2, #content .entry h3, #content .entry h4, #content .entry h5, #content .entry h6 {
  margin-left: -5px;
  margin-top: 1em;
}
#content .entry h2 {
	margin-top: 2em;
  border-bottom: 3px solid #000000;
}
#content .entry h3 {
	margin-top: 1.5em;
}

#content .article .entry h2.abouttheauthor {
  margin-top: 3em;
}

#content .editlink {
  float: left;
  margin: 0 2em 0 0;
}

.article #issueDesignation, .issueDesignation {
	text-align: left;
  margin-bottom: 0.5em;
}

#content .sidebar {
	background-color: #eeeeee;
	border-color: #000000;
	border-width: 2px;
	border-style: solid;
	padding: 1.5em;
}

#content .sidebar h2, #content .sidebar h3, #content .sidebar h4, #content .sidebar h5, #content .sidebar h6 {
	text-indent: 0;
	margin-top: 0.5em;
}

#content .entry th, #content .entry td {
	padding: 0.25em;
  border: 1px solid #000000;
}
#content .entry .no-border th, #content .entry .no-border td {
  border: none;
}
#content .entry th {
  background-color: #D3D3D3;
}

/* PAGES ******************************/

#content .page h1.pagetitle {
  margin-top: 1em;
  margin-bottom: -0.5em;
  padding-top: 0;
  border-top-style: none;
}

/* CATEGORIES ******************************/

#content.listpage h1.pagetitle {
  margin-top: -0.75em;
  border-bottom: 3px solid #522D24;
  border-top: 0px solid transparent;
  padding-top: 0;
  margin-top: -0.5em;
  position: relative;
  z-index: 200;
}

#content.listpage .article .articletitle {
	padding-top: 1em;
	margin:0;
  font-size: 1.2em;
}
#content.listpage .article .abstract {
	font-style: normal;
  margin: 0 1em;
  width: auto;
}
#content.listpage .article .abstract em, #content.listpage .article .abstract cite {
	font-style: italic;
}
#content.listpage .article .author {
	margin: 0.5em 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.25em;
	font-size: 1.05em;
}


/* COMMENTS *****************************/

#content ol.commentlist {
	margin: 1em 0;
	padding: 0 1.75em;
}

#content ol.commentlist li {
	margin: 1em;
}

#content ol.commentlist li cite {
	font-style: normal;
  font-size: 100%;
  padding: 0;
}
#content ol.commentlist li .commentheader {
  margin-top: 0;
}

ol.commentlist li .commentbody {
  padding: 1em;
}
ol.commentlist li.oddcomment .commentbody {
	background-color: #EDEDE5; /* light grey */
}

/* COMMENT FORM *************************/
#commentform textarea {
	width: 60%;
}

#commentform label {
	font-size: 90%;
}

/* FOOTER *******************************/
#footer {
  width: 94%;
	clear: both;
  margin: 1em auto;
	padding: 1em;
}


#footer p#login {
  float: left;
  padding-top: 10px;
	text-align: left;
}

#footer p#copyright {
	text-align: right;
  padding-top: 7px;
	border-top: 3px solid #522D24;
}

/* Syntax Highlighter *******************/
.geshi ol {
  margin-left: 0 !important;
}

.geshi li {
  margin-top: 0 !important;
  line-height: 1 !important;
}

.caption {
  text-align: center;
}

/* Archives */
#content.listpage .issue .issuetitle {
  border-bottom: 3px solid #522D24;
}
#content.listpage .issue .issuetitle a:link, #content.listpage .issue .issuetitle a:visited {
  color: #522D24;
}
#content.listpage .issue .issuetitle a:hover {
  text-decoration: none;
}
#content.listpage .issue .titlelist {
  list-style-type: none;
}
#content.listpage .issue .titlelist .articletitle {
  margin: 0;
  font-size: 100%;
}
#content.listpage .issue .titlelist .articletitle a {
  color: #522D24;
}
#content.listpage .issue .titlelist .author {
  font-weight: normal;
  margin: 0 0 0 2em;
}

.mobile-search {
	display: none;
}


@media all and (max-width : 768px) {

		#headerbackground {
			width: 96%;
			padding: 2%;
			text-align: center;
		}
		#about {
			float: left;
			text-align: center;
			width: 96%;
			padding: 1.5%;
    }
		#about ul {
			margin: 0.5em 0;
		}
		#about ul li {
			padding: 5px 1.5% 5px 1.5%
		}
    #content {
        width: auto;
				max-width: 96%;
				padding: 1.5%;
    }
		#content.listpage .article .author {
			margin: 0.5em;
		}
		#content.listpage .article .abstract {
			margin: 0 0.5em;
			text-align: left;
		}
		#content p {
			margin: 0.6em 0 0.6em 0;
		}

		#content .abstract {
			margin-left: 1em;
			margin-right: 1em;
		}

    #meta {
			width: 95%;
			padding: 2.5%;
    }

		#content .entry pre {
			overflow: auto;
			width: 400px;
			border-width: 2px;
			border-style: solid;
			margin: 0;
		}

		.search-sidebar {
			display: none;
		}
		.mobile-search {
			display: inline;
			text-align: right;
		}

		#searchform #s {
			min-width: 30%;
			max-width: 300px;
		}

}

@media all and (max-width : 400px) {

		#about {
			float: left;
			text-align: left;
		}
    #about ul li {
        display: inline;
        width: 94%;
				float: left;
				padding: .1em 0;
    }

		#content .entry pre {
			width: 350px;
			overflow: auto;
		}
		.search-sidebar {
			display: none;
		}
		.mobile-search {
			display: inline;
			text-align: left;
		}

		#searchform #s {
			width: 95%;
		}


}
