/*
Theme Name: IP Glossary
Theme URI: n/a
Author: Raffaele Malanga / Els van Bloois
Author URI: http://farstudios.com/
Description: Based on the 2012 theme for WordPress.
Version: 1.0
License: no license, use Twenty Twelve instead.
License URI: n/a
Tags: no tags
Text Domain: ipglossary
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* only for print */

.printonly{
	display:none;
}

/* regular styles */

body{
	color:#666;
	font-family:Arial,Helvetica,sans-serif;
	font-size:100%;
}

a{
	color:#0066CC;
	text-decoration:none;
}
.assistive-text,
.screen-reader-text{
	position:absolute;
	top:-4000px;
}
strong,
b{
	font-weight:bold;
}
em,
i{
	font-style:italic;
}

#page{
	min-width:980px;
}
#masthead{
	background:#8FA795;
	padding-top:45px;
}
#masthead .headings,
#site-navigation{
	width:960px;
	margin:auto;
	overflow:hidden;
}
#masthead h1{
	float:left;
	margin-bottom:14px;
}
#masthead h2{
	float:right;
	margin-bottom:14px;
}
#site-navigation{
	padding-top:3px;
	border-top:1px solid #fff;
}
#site-navigation ul{
	float:left;
	font-size:75%;
	margin-bottom:0;
}
#site-navigation ul li{
	float:left;
	text-transform:uppercase;
	margin-right:25px;
}
#site-navigation ul li a{
	float:left;
	color:#fff;
	text-decoration:none;
	padding:10px 0;
}
#site-navigation ul li.current_page_item a,
#site-navigation ul li a:focus,
#site-navigation ul li a:hover,
#site-navigation ul li a:active{
	color:#000;
}
#main{
	padding-bottom:30px;
}
div.contentpage,
#colophon{
	width:960px;
	margin:auto;
	overflow:hidden;
}

#primary{
	float:left;
	width:550px;
	margin-bottom:90px;
}
#primary.popup{
	float:none;
	width:auto;
	padding:10px;
}
#secondary{
	float:right;
	width:360px;
	margin-bottom:90px;
}

h1.entry-title,
h1.page-title,
h1.archive-title{
	color:#000;
	font-size:125%;
	margin-bottom:0.6em;
}
h1.page-title span{
	font-style:italic;
}
p,ul,ol{
	font-size:87.5%;
	line-height:1.3;
	margin-bottom:1.3em;
}
p ul, ul p, p ol, ol p, ul ul, ol ol, ul ol, ol ul{
	font-size:100%;
}
.entry-content h2{
	font-size:100%;
	font-weight:bold;
	margin-bottom:1.3em;
}

ol{
	list-style:decimal;
	padding-left:2em;
}
body.page-id-2 #primary h1{
	color:#000;
	font-size:125%;
	margin-bottom:0.6em;
}
body.page-id-2 #post-2{
	margin-bottom:70px;
}
h2.entry-title{
	font-size:87.5%;
	font-weight:bold;
}
h3{
	font-size:87.5%;
	font-weight:bold;
}
.related-terms h3{
	margin-bottom:2px;
}
#primary ul li{
	padding-left:20px;
	background:url(img/bullet.gif) transparent no-repeat 12px .4em;
}
#primary div.related-terms ul li{
	padding-left:0;
	background:transparent;
}
#primary blockquote{
	padding-left:50px;
}

.type-encyclopedia{
	clear:both;
	margin-bottom:50px;
}
.archive-encyclopedia-php .type-encyclopedia,
.taxonomy-php .type-encyclopedia,
.search-php .hentry{
	margin-bottom:18.2px;
}
.entry-summary p{
	margin-bottom:0;
}

.entry-content{
	margin-bottom:30px;
}
body.single-encyclopedia .type-encyclopedia .entry-content,
body.home .type-encyclopedia .entry-content,
body.home .type-page .entry-content{
	text-align:justify;
}
.entry-meta{
	min-height:1.3em;
	font-size:87.5%;
	line-height:1.3;
	padding:13px 0;
	border-top:1px solid #CBCBCB;
	border-bottom:1px solid #CBCBCB;
	margin-bottom:1.3em;
	overflow:hidden;
}
.entry-meta p{
	float:left;
	width:420px;
	font-size:100%; /* to remain the same size */
	margin-bottom:0;
}
.entry-meta .social{
	float:right;
}

.nav-single,
#nav-below{
	min-height:2.6em;
	font-size:75%;
	line-height:1.3;
	margin-bottom:1.3em;
}
.nav-previous,
.alignleft{
	float:left;
}
.nav-next,
.alignright{
	float:right;
}

.pagenavnrs{
	padding-top:50px;
	min-height:2em;
}
.pagenavnrs span,
.pagenavnrs a{
	float:left; /* needed for IE7 */
	font-size:81.25%;
	padding:2px 4px;
	border:1px solid #D9D9D9;
	margin-right:3px;
	height:1.3em;
	line-height:1.2em;
}
.pagenavnrs span.current{
	background:#EEEEEE;
	color:#000;
}

#secondary h3{
	color:#000;
}

form#encyclopedia-searchform{
	background:#F1F1F1;
	padding:22px 19px 0 19px;
	border-top:1px solid #E5E5E5;
}
form#encyclopedia-searchform label{
	display:block;
	font-size:87.5%;
	font-weight:bold;
	margin-bottom:8px;
}
form#encyclopedia-searchform input#s{
	float:left;
	width:290px;
	height:29px;
	border:1px solid #BABABA;
	padding:0;
	margin-bottom:10px;
	-webkit-appearance: none;
	border-radius:0;
}
form#encyclopedia-searchform span.buttonwrap,
.widget_encyclopedia_taxonomies span.buttonwrap{
	float:left;
	height:13px;
	width:13px;
	background:#fff;
	padding:8px 8px 8px 8px;
	border:1px solid #BABABA;
	border-left-width:0;
}
.widget_encyclopedia_taxonomies span.buttonwrap{
	*border-left-width:1px;
}
form#encyclopedia-searchform input#encyclopedia-search-submit,
.widget_encyclopedia_taxonomies input#catsubmit{
	float:left;
	background:#fff;
	color:#000;
	font-size:81.25%;
	font-weight:bold;
	min-height:0;
	height:auto;
	padding:0;
}
.widget_encyclopedia_taxonomies{
	background:#F1F1F1;
	padding:22px 19px;
	border-bottom:1px solid #E5E5E5;
	margin-bottom:40px;
}
form#encyclopedia-searchform h3,
.widget_encyclopedia_taxonomies h3{
	margin-bottom:8px;
}
/* trick to use arrow image */
.widget_encyclopedia_taxonomies div.styledselect{
	float:left;
	width:290px;
	height:29px;
	overflow:hidden;
	background: url(img/select.gif) no-repeat 97% 9px #fff;
	*background:transparent;
	vertical-align:middle;
	border:1px solid #BABABA;
	*border-width:0;
	padding:0;
	margin-bottom:10px;
}
.widget_encyclopedia_taxonomies select{
	width:320px;
	*width:290px;
	height:23px;
	background:transparent;
	line-height:17px;
	vertical-align:middle;
	padding-top:5px;
	border-width:0;
	-webkit-appearance: none;
}
.widget_encyclopedia_taxonomies option{
	width:290px;
	background:transparent;
	vertical-align:middle;
	border-width:0;
}




.sidebarblock{
	background:#F1F1F1;
	padding:22px 19px;
	border-bottom:1px solid #E5E5E5;
	border-top:1px solid #E5E5E5;
	margin-bottom:40px;
}
.sidebarblock h3{
	margin-bottom:8px;
}
.sidebarblock p{
	margin-bottom:0;
}
.button{
	min-height:2em;
	text-align:center;
	padding-top:10px;
}
.button a{
	*display:block;
	*width:8em;
	*margin:auto;
	background:#468CFF;
	color:#fff;
	font-size:81.25%;
	font-weight:bold;
	padding:6px 8px 7px 8px;
	border:1px solid #2775F1;
	border-radius:2px;
}

form#searchform{
	margin-bottom:1.3em;
}

/* contact form on Contribute page */
/* and also on Search results page when no results are found */


form.wpcf7-form p{
	clear:both;
	overflow:hidden;
	margin-bottom:10px;
}
form.wpcf7-form label{
	float:left;
	width:177px;
}
form.wpcf7-form input,
form.wpcf7-form textarea{
	float:right;
	width:366px !important;
	border:1px solid #E7E7E7;
}
form.wpcf7-form p.form-submit{
	min-height:2em;
}
form.wpcf7-form input.wpcf7-submit{
	float:right;
	width:auto !important;
	background:#468CFF;
	color:#fff;
	font-weight:bold;
	padding:6px 8px 7px 8px;
	border:1px solid #2775F1;
	border-radius:2px;
}



/* comments on glossary terms */

h2.comments-title,
h3#reply-title{
	font-weight:bold;
	margin-bottom:25px;
}

ol.commentlist,
ol.commentlist ol{
	list-style:none;
	padding-left:0;
}
ol.commentlist{
	font-size:100%;
	margin-bottom:40px;
}
.commentlist li{
	position:relative;
	padding-left:82px;
}
.commentlist li .commentbox{
	background:#F6F6F6;
	padding:22px;
	border:1px solid #E7E7E7;
	margin-bottom:20px;
}
.commentlist li.bypostauthor .commentbox .vcard cite span{
	font-style:italic;
	text-transform:uppercase;
}
div.avatar{
	position:absolute;
	left:0;
	top:0;
	width:83px;
	background:url(img/says.gif) transparent no-repeat 100% 21px;
}
.commentlist li .comment .vcard{
	font-size:68.75%;
	margin-bottom:9px;
}
.commentlist li .comment .vcard cite{
	font-style:normal;
}
.commentlist li .comment .comment-content{
	font-size:87.5%;
}
.commentlist li .comment .reply{
	font-size:68.75%;
	height:1em;
	
}
.commentlist li .comment .reply a{
	float:left;
	background:#EFF0F0;
	color:#7E7E85;
	padding:1px 3px 1px 6px;
}

p.comment-awaiting-moderation{
	color:red;
	font-size:87.5%;
}

form#commentform{
	position:relative;
	padding-bottom:4em;
}
form#commentform p.form-submit{
	position:absolute;
	right:0;
	bottom:0;
}

form#commentform p{
	clear:both;
	overflow:hidden;
	margin-bottom:10px;
}
form#commentform label{
	float:left;
	width:127px;
}
form#commentform input,
form#commentform textarea{
	float:right;
	width:416px !important;
	border:1px solid #E7E7E7;
}
form#commentform input#submit{
	width:auto !important;
	*width:9.5em;
	background:#468CFF;
	color:#fff;
	font-weight:bold;
	padding:6px 8px 7px 8px;
	*padding:6px 0 7px 0;
	border:1px solid #2775F1;
	border-radius:2px;
}
form#commentform p.notify{
/*	clear:none; */
}
form#commentform p.notify label{
	float:none;
	width:auto;
}
form#commentform p.notify input{
	float:none;
	width:auto !important;
}


/* subscription management page */

#primary ul#subscribe-reloaded-list li{
	background:transparent;
	padding-left:0;
}



/* footer stuff */


#colophon{
	clear:both;
	min-height:50px;
	font-size:87.5%;
	line-height:1.3;
	padding-top:1em;
	border-top:1px solid #CBCBCB;
	margin-bottom:1.3em;
}





/* overruling encyclopedia styles */



.post-type-archive-encyclopedia .page-title, .post-type-archive-encyclopedia .entry-meta, .post-type-archive-encyclopedia .comments-link, .post-type-archive-encyclopedia .archive-header, .tax-encyclopedia-category .page-title, .tax-encyclopedia-category .entry-meta, .tax-encyclopedia-category .comments-link, .tax-encyclopedia-category .archive-header, .tax-encyclopedia-tag .page-title, .tax-encyclopedia-tag .entry-meta, .tax-encyclopedia-tag .comments-link, .tax-encyclopedia-tag .archive-header, .single-encyclopedia .entry-meta, .type-encyclopedia .entry-meta {
    display: block;
}


div#thealphalinks{
	padding:15px 0 13px 0;
	border-bottom:1px solid #D9D9D9;
	margin-bottom:45px;
}

.encyclopedia-filter:after {
    clear: none;
    content: "";
    display: inline;
}
.encyclopedia-filter:last-child{
	margin-bottom:0;
}


.encyclopedia-filter a.filter-link{
	float:none;
	min-width: 1.2em;
}


/*
.browse{
	float:left;
	font-size: 0.9em;
	margin: 0 0.5%;
	padding: 8px 0;
}
.encyclopedia-filters{
	margin-left:70px;
}
.encyclopedia-filter{
	background:transparent;
}
*/


.browse{
	display: inline-block;
	font-size: 0.9em;
	margin: 0 0.5%;
	min-width: 1.8em;
	padding: 8px 0;
	text-align: center;
}
.encyclopedia-filters{
	text-align:center;
}
.encyclopedia-filter{
	background:transparent;
	border-width:0;
}




/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		color: #000;
		font-size: 16pt;
	}
	footer a[rel=bookmark]:link:after,
	footer a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	a {
		text-decoration: none;
		color:#000;
	}
	
	.entry-content img,
	.comment-content img,
	.author-avatar img,
	img.wp-post-image {
		border-radius: 0;
		box-shadow: none;
	}
	.site {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	.site-header {
		margin-bottom: 72px;
		text-align: left;
	}

	.author-avatar,
/*	#colophon, */
	#respond,
	.commentlist .comment-edit-link,
	.commentlist .reply,
	.entry-header .comments-link,
	.entry-meta .edit-link a,
	.page-link,
	.site-content nav,
	.widget-area,
	img.header-image,
	.main-navigation {
		display: none;
	}
	.wrapper {
		border-top: none;
		box-shadow: none;
	}
	.site-content {
		margin: 0;
		width: auto;
	}
	.singular .entry-header .entry-meta {
		position: static;
	}
	.singular .site-content,
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular .comments-title {
		margin: 0;
		width: 100%;
	}
	.entry-header .entry-title,
	.entry-title,
	.singular .entry-title {
		font-size: 21pt;
	}
	footer.entry-meta,
	footer.entry-meta a {
		color: #444;
		font-size: 12pt;
	}
	.author-description {
		float: none;
		width: auto;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.comments-area article header cite,
	.comments-area article header time {
		margin-left: 50px;
		margin-left: 3.57142857rem;
	}

	#page,
	#masthead,
	#main,
	#colophon{
		display:block;
		width:100%;
		min-width:500px;
	}
	#masthead h1 img,
	#masthead h2 img{
		display:none;
	}
	#masthead h1,
	#masthead h2{
		font-size:32pt;
	}
	#masthead .printonly{
		display:inline;
		color:black;
	}	

	#thealphalinks{
		display:none;
	}
	#primary{
		width:100%;
		margin-bottom:20px;
	}
	#primary h2{
		font-size:16pt;
		font-weight:bold;
		color:#000;
	}
	.pagenavnrs span.current{
		border-color:black;
	}

}