
/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/*	Typography presets
	------------------	*/

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
}

.huge, h1 {
	font-size: 32px;
	line-height: 36px;
	letter-spacing: 0px;
}

.large, h2 {
	font-size: 18px;
	line-height: 20px;
	font-weight: normal;
	color: #535a73;
}

.bigger, h3 {
	font-size: 26px;
	font-weight: normal;
	line-height: 36px;
}

.big, h4 {
	font-size: 22px;
	line-height: 30px;
}

body {
	font: 14px/24px 'Lato',sans-serif;
}

.small, small {
	font-size: 12px;
	line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}

div.clear{
	clear: both;
}

form{
	margin:0;
	padding:0;
}


#topBar{
	padding: 0;
	height: 10px;
	margin: 0;
	background-color: #6A8471;
}

#header{
	padding: 0;
	margin: 0;
	background-color: #d1d1d1;


}

#headerLeft{
	padding: 10px 0 10px 10px;
	margin:0;
	float:left;
	width: 200px;
}

#headerLeft img{
	border-radius: 4px;
}

#headerText{
	float:left;
	padding: 0;
	padding-top: 40px;
	margin:0;
	color: #707071;
}

#headerText h1 a, #headerText h2 a{
	color: #707071;
	text-decoration: none;
}

#headerMenu{
	display: none;
}

#searchInput, #searchInput2, #search-term, input[type="text"], select{
border: 1px solid #707071;
border-radius: 4px;
padding: 5px;
margin-bottom: 5px;
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15) inset;
background-color: #e9e9e9;
}

option{
border-bottom: 1px solid #707071;
padding: 5px;
background-color: #e9e9e9;
}

label{
	cursor: pointer;
	font-weight: bold;
	color: #707071;
}

div.multiSelect {
    height: 150px;
    padding: 5px;
    overflow: auto;
    border: 1px solid #CCC;
    margin-bottom: 10px;
}

#footer{
	padding: 0;
	margin: 0;
	background-color: #847777;
	color: #FFF;
}

#footerLeft{
	padding: 10px;
	margin:0;
	float:left;
}

#footerRight{
	float:right;
	padding: 10px;
	margin:0;
	text-align: right;
}

#footerRight img{
	margin-bottom: 10px;
}

#footerLeft a{
	color: #FFF;
	text-decoration: none;
}

#footerLeft a:hover, #footerRight a:active{
	text-decoration: underline;
}

#navBar{
	float:right;
	margin: 5px 0px 30px 10px;
}

#varsDiv{
	display:none;
}

.navButton{
	float:left;
}

.navButton a{
	color: #707071;
	text-decoration: none;
	margin-right: 20px;
	border-bottom: 2px solid #FFF;
	display: inline-block;
	margin-bottom: 10px;
}

.navButton a:hover, .navButton a:active, a.current{
	border-bottom: 2px solid #37443A;
	color: #37443A;
}

#navCompact{
	display: none;
}

#main{
	margin-bottom: 20px;
	padding:0;
}

#searchBoxOuter{
	position: static;
	width: auto;
	margin-left: 10px;
	
}

#subMenuBox{
	width: auto;
	text-align: center;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
}

#searchBoxHeader, #searchBox{
display: none;
}

#intro{
	margin-left: 0px;
	width: 90%;
}

#sbCurrent{
	float:left;
	padding: 3px 0;
}

#changeView, .contentButton{
	float:right;
	display: inline-block;
	background-color: #FFF;
	color: #707071;
	border: 1px solid #FFF;
	padding: 2px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
}

#changeView:hover, #changeView:active, .contentButton:hover, .contentButton:active{
	background-color: #37443A;
	border: 1px solid #37443A;
	color: #FFF;
}


#searchBox h4{
	font-size: 18px;
	line-height: 18px;	
}

#searchBox a{
	display: inline-block;
	background-color: #FFF;
	color: #707071;
	border: 1px solid #FFF;
	padding: 2px;
	border-radius: 4px;
	cursor: pointer;
	margin: 10px 0;
	text-decoration: none;
}


#searchBox a:hover, #searchBox a:active{
	background-color: #6A8471;
	border: 1px solid #6A8471;
	color: #FFF;
}

#viewChangeBox p{
	margin-bottom: 20px;
	border-bottom: 1px solid #6A8471;
}

.changeButton{
	text-align:right;
	float:left;
	width: 150px;
	padding-top: 10px;
}

.changeDesc{
	float: right;
	width: 440px;
}

#viewChangeBox .ui-button{
	width: 100%;
}
.padLeft{
	margin-left: 10px;
}

#content{
	width: auto;
	margin: 0px;
}

#content p{
	margin-bottom: 10px;
}

#forTable{
	margin-left: 0px;
}

#content h4{
	color: #37443A;
}

#content h3{
	color: #707071;
	font-size: 22px;

}

#resultsTop{
	margin-bottom: 20px;
}

#content ul{
	list-style: none;
	margin-left: 20px;
	margin-bottom: 20px;
}

#content ol{
	margin-left: 20px;
	margin-bottom: 20px;
}

#content ul li, #content ol li{
	padding: 5px;
}

#htSearch{
	margin: 20px 0px;
}

#htSearch p{
	margin-left: 20px;
}

#recommendedHeader{
	background-color: #707071;
	color: #FFF !important;
	font-weight: normal;
	margin-bottom: 0px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
	padding: 10px;
}

#recommended{
	padding: 10px 10px 10px 0;
	margin-bottom: 20px;
	border: 1px solid #707071;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
}


table{
	border: 1px solid #707071;
	width: 100%;
	border-spacing: 0px;
	border-collapse: collapse;
	margin: 10px 0px;
}

td, th{
	padding: 5px;
}

th{
	background-color: #707071;
	text-align: left;
	color: #FFF;
	cursor: pointer;
}

th a{
	color: #FFF;
	text-decoration: none;
}

th img{
	padding-bottom: 2px;
}

.even{
	border-bottom: 1px solid #707071;
}

.odd{
	border-bottom: 1px solid #707071;
}

table .highlight{
	border: 2px solid yellow;
}

.cardListItem{
	float:left;
	width: 410px;
	margin: 0px 10px 10px 0px;
	border: 1px solid #AAA;
	border-radius: 4px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
}

.cardHighlight{
	border: 2px solid yellow;
}
.cardHeader{
	padding: 5px;
	background-color: #6A8471;
	color: #FFF;
	margin: 2px;
	border-radius: 4px;
}

.cardInner{
	padding: 0 5px;
}

.cardLeft{
	float:left; 
	width: 40%;
}
.cardMiddle{
	width: 20%;
	float:left; 
	text-align:center;
	margin-top: 10px;
}

.cardRight{
	float: right;
	width: 40%;
	text-align:right;
}

.cardStats{
	margin-top: 20px;
	margin-bottom: 10px;
}

.cardStats p{
	margin-bottom: 10px;
}

.cardStats a{
	color: #618471;
}

.cardStats a:hover, .cardStats a:active{
	color: #d850ec;
}

.MID{
	display: none;
}

.cardLabel{
	color: #707071;
}

.forStartEra{
	margin: 10px 0 10px 5px;
}

.metaphorStats{
	border: 0;
	margin: 0;
}

.dateRange00, .dateRange50 {
	float: left;
	font-size: 10px;
	margin: 0;
	padding: 5px;
	text-align: center;
	width: 35px;
	
}

.cardListItem .dateRange00, .cardListItem .dateRange50{
	width: 25px;
}

.dateRange00{
	border-top: 2px solid black;
	padding-top: 0;
	line-height: 1;
	height: 
}

.dateRange50{
	padding-bottom: 0;
	line-height: 1;
}

.dateRange00 img {
	vertical-align: top;
	padding: 0;
	margin-bottom: -3px;
}

.dateRange50 img{
	vertical-align: bottom;
	padding: 0;
}

.dateRangeSelected{
	color: #E32400;
	font-weight: bold;
}

.borderTop{
	border-top: 1px solid #6A8471;
}

.legend{
	border: 1px solid white;
}

.clickToSelect{
	cursor: pointer;
}

.cardListItem h4{
	font-size: 18px;
}

#mySearch{
	background-color: #6A8471;
	color: #FFF;
	padding: 10px;
	margin-bottom: 20px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
}

.right{
	text-align: right;
}

.floatRight{
	float: right;
}

.floatLeft{
	float:left;
}

a.refineButton {
    background-color: #D1D1D1;
    color: #707071;
    border: 1px solid #D1D1D1;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
	text-decoration: none;
}

a.refineButton:hover, a.refineButton:active{
	background-color: #707071;
	border: 1px solid #707071;
	color: #FFF;
}

.rType{
	float: left;
	margin: 0px 10px 0 0;
	padding: 0;
}

.rType a{
	display: block;
	margin-bottom: 0;
    background-color: #D1D1D1;
    color: #707071;
    border: 1px solid #D1D1D1;
    padding: 4px;
	border-top-left-radius:4px;
	border-top-right-radius:4px;
    cursor: pointer;
	text-decoration: none;	
}

.rType a:hover, .rType a:active, .rtCurrent{
	background-color: #707071 !important;
	border: 1px solid #707071 !important;
	color: #FFF !important;
}

#results{
	border-top: 2px solid #707071;
	margin-top: 0px;
	padding-top: 10px;
}


/***
SVG Styles
***/

path.arc {
  fill: #6A8471;
}

.node {
  font-size: 12px;
  cursor:pointer;
}

.node:hover {
  fill: #d850ec;
  font-size: 16px;
}

.l2{
	font-size: 16px;
}

.red{
	fill: #cd0000;
	background-color:#cd0000;
	color: #cd0000;
}

.green{
	fill: #3cb85d;
	background-color:#3cb85d;
	color: #3cb85d;
}

.blue{
	fill: #3c5cb8;
		background-color:#3c5cb8;
	color: #3c5cb8;
}

.connected{
	fill: #d850ec;
	background-color:#d850ec;
	color: #d850ec;
}

.textBackground{
	fill: #796691;
	background-color:#796691;
	color: #796691;
}

.expandedBackground{
	fill: #c77f1f;
	background-color:#c77f1f;
	color: #c77f1f;
}

.selectedBackground, .selectedExpanded, .yellow{
	fill: #f8f657;
	background-color:#f8f657;
	color: #f8f657;
}

.grey, circle{
	fill: #D1D1D1;
	background-color:#D1D1D1;
	color: #D1D1D1;
}

.link {
  fill: none;
  stroke: #d1d1d1;
  stroke-opacity: .4;
}

.linked{
	cursor:pointer;
}

.notLinked{
	cursor: normal;
	pointer-events: none;
}

.link.source, .link.target {
  stroke-opacity: 1;
}

.node.target text{
	font-size: 16px;
  fill: #d850ec !important;
}

.node.target circle, .node.source circle, .sourceG circle {
  fill: #f8f657;
}

.sourceG text{
	font-size: 16px;
}

.link.source {
  stroke: #f8f657;
  stroke-width: 4px;
}

.node.source text{
	font-size: 16px;
  fill: #d850ec !important;
}

.link.target {
  stroke: #f8f657;
  stroke-width: 4px;
}

.curCat{
	font-size: 12px;
	fill: #0096ff;
}

svg{
	margin: 10px 0 0 0;
}

/*****************
* SVG Style Ends *
*****************/

.colorGreen{
	color: #3cb85d !important;
	text-decoration: none !important;
}

.colorRed{
	color: #cd0000 !important;
	text-decoration: none !important;
}

.colorBlue{
	color: #3c5cb8 !important;
	text-decoration: none !important;
}

.colorConnected{
	color: #d850ec;
}

.browseSection{
	padding: 10px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
   border-radius: 2px;
   margin-bottom: 20px;
   color: #707071;
   background-color: #D1D1D1;
}

#browseStrengthBox{
	width: 300px;
	padding: 10px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15);
	color: #FFF;
	background-color: #37443A;
	border-radius: 4px;
	margin-bottom: 20px;
}

.browseRed{
	border-top: 10px solid #cd0000;
}

.browseGreen{
	border-top: 10px solid #3cb85d;
}

.browseBlue{
	border-top: 10px solid #3c5cb8;
}

.browseSection a{
	text-decoration: none;
	color: #707071;
	display: block;
}

.browseSectionInner{
	padding: 0px;
	background-color: #FFF;
	color: #000;
	margin-top: 10px;
}

.browseSectionInner ul{
	list-style: none;
	margin-left: 0 !important;
}

.browseSectionInner ul li a{
	color: #000;
	display: block;
	padding: 5px 0 5px 10px;
}

.browseSectionInner ul ul li a{
	display: inline;
}

.browseRed .browseSectionInner ul a:hover, .browseRed .browseSectionInner ul a:active, .browseRed .browseSelected{
	color: #FFF;
	background-color: #cd0000;
}


.browseGreen .browseSectionInner ul a:hover, .browseGreen .browseSectionInner ul a:active, .browseGreen .browseSelected{
	color: #FFF;
	background-color: #3cb85d;
}

.browseBlue .browseSectionInner ul a:hover, .browseBlue .browseSectionInner ul  a:active, .browseBlue .browseSelected{
	color: #FFF;
	background-color: #3c5cb8;
}

.browseSectionInner ul ul{
	list-style: none;
	padding: 10px;
	border: 1px solid #D1D1D1;
	border-top: 0;
}

.browseSectionInner img{
	vertical-align: text-top;
}

.browseRed ul ul .browseSelected, .browseBlue ul ul .browseSelected, .browseGreen ul ul .browseSelected{
	background-color: #847777;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.browseConnectionList{
	border: 1px solid #847777;
	background-color: #FFF;
	margin-right: 10px;
	padding: 5px;
}

.even a, .odd a, td a, .browseSectionInner ul ul a{
	color: #6A8471;
	text-decoration: underline;
	
}

.even a:hover, .even a:active, .odd a:hover, .odd a:active, td a:hover, td a:active, .browseSectionInner ul ul a:hover, .browseSectionInner ul ul a:active{
	color: #d850ec;
}
.browseSectionInner ul ul a:hover, .browseSectionInner ul ul a:active{
	background-color: transparent !important;
	color: #d850ec !important;
}

.crumb{
	margin-bottom: 10px;
}

.crumb a{
	color: #6A8471;
	text-decoration: none;
}

.crumb a:hover, .crumb a:active{
	text-decoration: underline;
	color: #707071;
}

.searchButton{
	background-color: #707071;
	color: #FFF !important;
	border: 1px solid #707071;
	padding: 4px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
}


.searchButton:hover, .searchButton:active{
	background-color: #6A8471;
	border: 1px solid #6A8471;
}

.searchKeywords, .searchKeywordsHT{
	display: block;
	text-align: justify;
	margin-top: 5px;
}

.browseSectionInner ul li span.searchKeywords{
	display: block;
	text-align: justify;
	margin-top: 5px;
	padding-left: 10px;
	padding-right: 5px;
}

.searchKeywordsToggle, .searchKeywordsToggleHT{
	float: right;
	background-color: #6A8471;
	text-decoration: none !important;
	color: #FFF !important;
	padding: 0 5px !important;
	border-radius: 4px;
}

.searchKeywordsToggle img, .searchKeywordsToggleHT img{
	padding-top: 5px;
}

.searchKeywordsToggle:hover, .searchKeywordsToggleHT:hover, .searchKeywordsToggle:active, .searchKeywordsToggleHT:active{
	background-color: #6A8471 !important;
	color: #FFF;
}

.browseSectionInner ul li a.searchKeywordsToggle:hover, .browseSectionInner ul li a.searchKeywordsToggleHT:hover{
	background-color: #6A8471 !important;
	color: #FFF !important;
}

.browseSectionInner ul li a.searchKeywordsToggle img{
	padding-top: 0px;
}
