/********** Fonts **********/
@import '../../css/fonts.css';


/********** Layout **********/
* {
	 box-sizing: border-box;
	 -webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	font-family: Open Sans, sans-serif;
    font-size: 14px;
    background-image: url(../../img/aline.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
   	background-position: center right;
    line-height: 1.6em;
    color: #4d4d4d;
    margin: 0;
    overflow-x: hidden;
}

.wrapper {
	width: 90%;
	max-width: 1000px;
	margin: 0 auto;
	height: 100%;
}

/********** Header **********/
#pagetitle {
	font-family: Open Sans Semibold, sans-serif;
    font-size: 18px;
    color: #7bb848!important;
    margin-left: -10px;
}
#pagetitle>a:link {
    color: #7bb848!important;
}
#pagetitle>a:visited {
    color: #7bb848!important;
}
#pagetitle>a:hover {
    color: #7bb848!important;
}
#pagetitle>a:active {
    color: #7bb848!important;
}
.menu li>a:hover { 
	border-bottom: 1px solid #7bb848; 
}
.search-form input {
	border: 1px solid #7bb848;
}
.search-form button {
	border: 1px solid #7bb848;
	background: #7bb848;
}


/********** Content **********/
.bg-light {
	background: rgba(245,245,245,0.8);
	border-bottom: 1px solid #4d4d4d;
	/* To prevent top part from overlapping with header when jumping to lower section: */
	border-top: 75px solid transparent;
	margin-top: -75px;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
}
.bg-dark {
	background: rgba(233,233,233,0.8);
	border-bottom: 1px solid #4d4d4d;
	/* To prevent top part from overlapping with header when jumping to lower section: */
	border-top: 75px solid transparent;
	margin-top: -75px;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	min-height: 600px;
}	
.no-border {
	border-bottom: 1px solid rgba(233,233,233,0.8);
	padding-bottom: 50px;
}
.one-div {
	background: rgba(245,245,245,0.8);
	/* To prevent top part from overlapping with header when jumping: */
	border-top: 90px solid transparent;
	margin-top: -90px;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	border-bottom: none;
	padding-bottom: 50px;
}
.width90 {
	width: 90%;
	margin: 0 auto;
}
.container {
	padding: 30px 5px 0 5px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 45px;
	width: 90%;
	max-width: 1000px;
}
.first-container {
	padding-top: 45px;
}
.second-container {
	border-radius: 5px;
	padding: 20px;
	width: 840px;
	margin: 0 auto;
}
.row {
    margin: 0 -15px 0 15px;
    padding-left: 15px;
    padding-right: 15px;
}
.flex-column {
	display: flex;
	flex-direction: column;
}
.flex-row {
	display: flex;
	flex-direction: row;
}
.flex-space-around {
    justify-content: space-around;
}
.flex-space-between {
    justify-content: space-between;
}
.flex-end {
    justify-content: flex-end;
}
.flex-column-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end
}
.flex-wrap {
	flex-wrap: wrap;
}
.flex-items {
	flex: 0 1 auto;
}
.long-text {
    width: 80%;
    margin: 10px auto;
    line-height: 1.4em;
}
.teaser {
	text-align: justify;
	font-family: RobotoLight;
}
p {
	padding: 5px 0;
	margin: 0;
}
.p-small {
	font-size: 0.9em;
	line-height: 1.5em;
	padding: 2px 0;
}
.division {
	padding-bottom: 15px;
	text-align: left;
}
.padding {
	padding: 5px 0;
}
.padding-left {
	padding-left: 25px;
}
.less-padding {
	padding: 2px 0;
	line-height: 1.5em;
}
.break-before {
	margin-top: 15px;
}
.break-before-lat {
	margin-top: 50px;
}
.break-after {
	margin-bottom: 15px;
}
.display-block {
	display: block;
}
.goto-top {
	margin: 20px auto;
	width: 100px;
	font-family: RobotoCondensed, sans-serif;
	font-style: bold;
	display: block;
}
div.goto-top img {
	vertical-align: bottom;
}
.center-align {
	text-align: center;
}
.right-align {
	text-align: right;
}
.center {
	margin-left: auto;
	margin-right: auto;
}
.smallcaps {
	font-variant: small-caps;
}
.italic {
	font-style: italic;
}
.bold {
	font-family: Open Sans Bold;
}
.semibold {
	font-family: Open Sans Semibold;
}
.underline {
	text-decoration: underline;
}
.justify {
	text-align: justify;
}
.indent {
	padding-left: 100px;
}
.indent20 {
	padding-left: 20px;
}
.superscript {
	vertical-align: super;
	font-size: 10px;
}
.footnote {
	font-size: 11px;
	display: inline-block;
	line-height: 1em;
	font-family: Open Sans, sans-serif;
	font-weight: normal;
}
.highlight {
    color: #3e780e;
}
.warning {
	color: #801515;
}
.smaller-font {
	font-size: 11px;
}
.btn {
	margin: 0 auto;
	border: none;
	background: transparent;
	padding: 5px;
	line-height: normal;
	font-family: Open Sans Bold, sans serif;
	font-size: 0.8em;
	cursor: pointer;
	color: #4d4d4d;
}
.btn-provincia {
	font-size: 14px;
}
.btn:hover {
	color: #ee961f;
}
.infobox {
	border: 1px solid #7bb848;
	border-radius: 3px;
	margin: 30px 0 15px 15px;
	line-height: 1.4em;
	padding: 5px 8px;
	background: rgba(255,255,255,0.5);
}
.infobox-pie {
	margin: 10px 0 30px 15px;
	width: 250px;
}
.infobox-URI {
	width: 300px;
	margin: 20px 0 0 0;
	font-size: 13px;
}
.infobox-RDF {
	width: 200px;
	margin: 20px 0 0 0;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
}
.searchbox {
	margin-bottom: 10px;
	padding: 0 19px;
	display: flex;
	justify-content: center;
}
.searchbox input {
	flex: 0 1 auto;
	width: 170px;
	height: 25px;
	border: 1px solid #7bb848;
	border-radius: 5px 0 0 5px;
	padding: 4px;
	font-family: Open Sans;
	font-weight: 300;
	outline: none;
}
.searchbox button {
	flex: 0 1 auto;
	margin: 0;
	height: 25px;
	width: 32px;
	border: 1px solid #7bb848;
	border-radius: 0 5px 5px 0;
	background: #7bb848;
	font-family: Open Sans, sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-shadow: 0 1px 0 rgba(0,0,0,0.3);
	color: #fff;
}
.info-tooltip {
    position: relative;
    display: inline-block;
}
.info-tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background: rgba(250,250,2450);
    font-family: Open Sans, sans-serif;
    color: #4d4d4d;
    line-height: 1.5em;
    border: 1px solid #7bb848;
    border-radius: 5px;
    padding: 5px 10px;
    /* Position the tooltip */
    position: absolute;
    top: 0;
    right: 30%;
    z-index: 1;
}
#people-networks .info-tooltip .tooltiptext {
	font-size: 0.9em;
	line-height: 1.4em;
	width: 300px;
}
p#links .info-tooltip .tooltiptext {
	font-size: 0.9em;
	line-height: 1.4em;
	max-width: 100px;
	top: -25px;
	right: 0;
	padding: 2px 3px;
}
p.p-small > .info-tooltip > .tooltiptext {
	font-size: 1.1em;
}
.info-tooltip:hover .tooltiptext {
    visibility: visible;
}
th .info-tooltip .tooltiptext {
	 /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 0;
    background: rgba(255,255,255,0.9);
	color: black;
	text-align: right;
}
th .info-tooltip .tooltiptext::after {
	border-color: transparent rgba(255,255,255,0.9) transparent transparent;
}
td .info-tooltip .tooltiptext {
	width: 150px;
	background: rgba(255,255,255,0.9);
	color: black;
	top: -10px;
	left: 20px;
	padding: 8px;
}
#filter-title .tooltiptext::after {
	top: 35%;
    right: 100%;
}
#tooltip-smoothing .tooltiptext {
	top: 0;
    left: 150%;
}
#nav-about {
	width: 100%;
	list-style: none;
	background: rgba(255,255,255, 0.7);
	border-radius: 5px;
	padding: 10px;
	margin: 0 auto;
	text-align: center;
}
#nav-about li {
    display: inline;
    margin: 0 15px;
    font-family: RobotoCondensed;
}
#intro, #definition, #how-to-use, #cite, #coverage, #history, #credits {
	border-top: 75px solid transparent;
	margin-top: -75px;
}
.bring-to-front{
	z-index: 1000;
}
#copy_button {
	height: 18px;
	width: 23px;
	cursor: pointer;
	padding-left: 8px;
}
#copy_text {
	text-align: right;
}
#ref-tex-info, #per-dates {
	margin-top: 20px;
}
#ref-basic-info, #ref-URI, #ref-georef,#fu-ref {
	width: 45%;
}
#ref-URI > .infobox-URI, #export-column {
	align-self: flex-end;
}
#ref-info-general {
	margin-top: 90px;
}
#per-date-prov {
	margin-top: 5px;
}
#per-date, #per-prov, #per-info-general-right, #per-info-general-left {
	width: 45%;
}
.width-100{
	display: inline-block;
	width: 100px;
	/*font-family: 'M PLUS 1p', sans-serif;'M PLUS 1p' or 'Didact Gothic' or 'Source Sans Pro'*/
	weight: 400;
}
#ref-origo, #function {
	margin-top: 15px;
	margin-bottom: 0;
	padding-bottom: 0;
}
#ref-georef > table, #fu-ref > table {
	padding: 5px 0;
}
#nam-row {
	margin-top: 30px;
}
#nam-info, #nam-network {
    width: 48%;
}
#nam-variants, #nam-lang, #nam-type, #nam-extra {
    padding-bottom: 15px;
}
#nam-variants > p.footnote, #nam-lang > p.footnote {
    padding-top: 0px;
}
#nam-network, #per-network {
    height: 400px;
    overflow: hidden;
}
#noGraph {
	margin: 30% auto;
	max-width: 300px;
}
div.iframe {
	width: 100%;
	height: 70%;
	overflow: hidden;
	margin: 15px auto;
	max-width: 575px;
	border: 1px solid #3e780e;
}
div.iframe > iframe {
	border: none;
	margin-left: 5px;
	height: 812px;
	margin-top: -200px;
	width: 650px;
}
#iframe {
	display: block;
}
#people_diagram {
	max-width: 690px;
	border: 1px solid #3e780e;
}
.empty-circle {
	list-style-type: circle;
}
/* dummy div to make sure background entirely covered on ref/index when search for only 1 name */
#dummydiv {
	height: 200px;
}
.ref-decl {
	width: 120px;
}
#per-adopt {
	width: 100%;
}
#per-adopt > p {
	padding-left: 10px;
}
.invisible {
	display: none;
}
#nam-att-general {
	margin-bottom: 30px;
}

/********** Table **********/
.relative {
	position: relative;
}
#list {
	padding-bottom: 35px;
}
.table-warning{
    margin-bottom: 15px;
}
#export {
	position: absolute;
	top: -15px;
	left: 5px;
	font-size: 0.8em;
	padding: 3px 10px 0 10px;
	margin-bottom: 40px;
	border: 1px solid #3e780e;
	border-radius: 3px;
	background: rgba(255,255,255,0.5);
}
#pages {
	position: absolute;
	top: -5px;
	right: 5px;
	border-left: 1px solid #3e780e;
	border-top: 1px solid #3e780e;
	border-right: 1px solid #3e780e;
	border-radius: 3px 3px 0 0;
	background: #3e780e;
	color: #fff;
	padding: 3px 5px;
	font-size: 0.8em;
	z-index: 5;
}
#pages a:link {
	color: #fff;
	font-size: 1.5em;
	padding-right: 3px;
}
#pages a:visited {
	color: #fff;
	font-size: 1.5em;
	padding-right: 3px;
}
#pages a:active {
	color: #fff;
	font-size: 1.5em;
	padding-right: 3px;
}
#pages a:hover { 
	color: #ee961f;
	text-decoration: none; 
}
table
{
	width: 100%;
}
.tbl-header{
	background: -webkit-linear-gradient(left, #7bb848, #3e780e); 
  	background: linear-gradient(to right, #7bb848, #3e780e);
  	border-top: 1px solid #3e780e;
  	border-left: 1px solid #3e780e;
  	border-right: 1px solid #3e780e;
	border-radius: 5px 5px 0 0;
	padding: 15px 25px 15px 15px !important;
	color: #fff;
	margin: 0 auto;
	width: 100%;
	z-index: 20;
 }
thead {
	width: 100%;
}
tbody {
	font-weight: 300;
	font-size: 12px;
	width: 100%;
}
.tbl-content{
	width: 100%;
	max-height: 400px;
	overflow-x:auto;
	margin: 0 auto;
	border: 1px solid #3e780e;
	border-radius: 0 0 5px 5px;
	padding: 0 15px 15px 15px!important;
}
th {
	padding: 0 12px;
	text-align: left;
	font-size: 12px;
	color: #fff;
	font-family: Open Sans Bold;
}
th.cite {
	color: #4d4d4d;
}
.credits th.cite {
	width: 40%;
	vertical-align: top;
	padding: 7px 12px;
	font-family: Open Sans Semibold;
}
.credits td {
	width: 60%;
	vertical-align: top;
	font-family: RobotoLight;
}
#fu-ref th, #fu-ref td, #ref-georef td {
	color: #4d4d4d;
	padding: 0 12px 0 0;
	text-align: left;
	vertical-align: top;
	font-size: 12px;
}
tr {
	width: 100%;
}
td {
	padding: 7px 12px;
	text-align: left;
	vertical-align: top;
	line-height: 1.2em;
	color: #4d4d4d;
	border-bottom: solid 1px rgba(255,255,255,0.1);
}
th > a:link { 
	color: #fff;
	text-decoration: none;
	font-family: Open Sans Semibold;
}
th > a:visited { 
	color: #fff;
	text-decoration: none; 
}
th > a:hover { 
	color: #fff;
	text-decoration: none; 
}
th > a:active { 
	color: #fff; 
	text-decoration: none; 
}
th.TM_id, td.TM_id {
	text-align: right;
}
.line {
	text-align: center;
	width: 8%;
}
.date {
    width: 10px;
    padding-left: 5px;
}
.width5 {
    width: 5%;
}
.width8 {
    width: 8%;
}
.width10 {
    width: 10%;
}
.width12 {
	width: 12%;
}
.width15 {
	width: 15%;
}
.width20 {
    width: 20%;
}
.width16 {
    width: 16%;
}
.width17 {
    width: 17%;
}
.width18 {
    width: 18%;
}
.width22 {
	width: 22%;
}
.width25 {
	width: 25%;
}
.width27 {
    width: 27%;
}
.width29 {
    width: 29%;
}
.width30 {
	width: 30%;
}
.width35 {
	width: 35%;
}
.width40 {
	width: 40%;
}
.width50 {
	width: 50%;
}
td.padding-left {
    padding-left: 8px;
}
.dummy-col {
    width: 10px;
}
.export-table thead, .export-table tbody {
	background: rgba(255,255,255,0.7);
}
.export-table th {
	color: #4d4d4d;
}
.export-table td {
	color: #4d4d4d;
}
.credits {
	margin: 0 auto;
}
.credits td {
	color: #4d4d4d;
}
::-webkit-scrollbar {
	width: 10px;
} 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 0 0 5px 0;
} 
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    background: rgba(255,255,255,0.5); 
}

/********** Export pages **********/
#export-meta {
	width: 40%;
}
#export-column {
	width: 60%;
}


/********** Footer **********/
footer div.wrapper {
	border-top: 1px solid #7bb848;
}
.social:hover > i {
	color: #7bb848;
}

/********** Simple search **********/
.searchframe {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    max-width: 1000px;
    position: relative;
}
.searchframe > p {
    max-width: 850px;
    margin: 0 auto;
}
#tree {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}
#parents {
    flex: 0 1 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}
#father,#mother {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}
.name {
    flex: 0 1 auto;
    width: 50%;
    height: 35px;
    margin: 0 auto;
    text-align: center;
}
#children > .name {
    height: 65px;
}
.tree-layout {
    flex: 0 1 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}
.tree-line-boxes {
    flex: 0 1 auto;
    width: 50%;
    height: 25px;
}
#lines-father {
    border-left: 1px solid #0b0b0b;
    border-bottom: 1px solid #0b0b0b;
}
#lines-mother {
    border-right: 1px solid #0b0b0b;
    border-bottom: 1px solid #0b0b0b;
}
#children {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
#lines-1child {
    border-right: 1px solid #0b0b0b;
}
#parents input, #children input {
    width: 150px;
    height: 30px;
    font-family: Open Sans, sans-serif;
    font-weight: normal;
    font-size: 14px;
    padding: 3px 5px;
    border: 1px solid #3e780e;
    border-radius: 2px;
    outline: none;
}
#children input {
    width: 250px;
    border: 2px solid #265500;
}
#children input::placeholder {
    width: 250px;
    font-size: 0.9em;
}
#tree button {
	flex: 0 1 auto;
	align-self: center;
	height: 25px;
	width: 60px;
	margin-top: 10px;
	border: 1px solid #265500;
	border-radius: 3px;
	background-color: #265500;
	color: #fff;
	font-family: RobotoCondensed, sans serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
}
#simple-search-results > container {
	margin-bottom: 0;
}
#simple-search-table {
	padding-top: 0!important;
}
.more-options {
	position: absolute;
	top: -120px;
	right: -150px;
	width: 350px;
	padding: 0 10px 20px 10px;
	background: #fff;
	border: 1px solid #b0afaf;
	border-radius: 5px;
	text-align: left;
	z-index: 20;
	visibility: hidden;
}
.show {
	visibility: visible;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
}
@-webkit-keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}
@keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}
.popup-button {
	cursor: pointer;
	color: #7bb848;
	text-decoration: underline;
}
#closeOptions {
	font-family: Open Sans Semibold, sans-serif;
	font-size: 11px;
	cursor: pointer;
}
#closeOptions:hover {
	color: #7bb848;
}

.more-options th {
	font-family: RobotoCondensed, sans-serif;
	font-weight: normal;
	letter-spacing: 1px;
	color: #4d4d4d;
	padding: 15px 0 0 0;
	width: 100%;
}
.more-options td {
	padding: 3px 0;
}
td.options-input {
	margin-top: 0;
	font-size: 0.9em;
	width: 200px;
}
td.options-input > input {
	border: 1px solid #3e780e;
	border-radius: 2px;
	width: 200px;
	padding: 2px 4px;
}
#compound-info p, #god-info p {
	font-size: 0.8em;
	line-height: 1.2em;
}


/********** Advanced search form Ref **********/
#ref-search {
	width: 100%;
}
#ref-search-form {
	width: 55%;
	margin: 20px 5px 20px -50px;
}
#ref-search-info {
	width: 45%;
	margin: 20px -10px 20px 5px;
	padding-left: 15px; 
}
table.search-table {
	width: 80%;
	margin: 0 auto;
}
#ref-search-form tbody {
	font-weight: normal;
	font-size: inherit;
	margin: 0 auto;
}
td.search-label {
	text-align: right;
	color: #4D4D4D;
	width: 190px;
	border: none;
	padding: 7px 5px;
	vertical-align: middle;
}
td.search-input {
	width: 303px;
	padding-right: 0;
	padding: 7px 5px;
}
td.flex-row {
	width: 305px;
	padding-right: 0;
}
td.caption {
	width: 100%;
}
.search-input > input {
	width: 300px;
	font-family: Open Sans, sans-serif;
	font-weight: normal;
	font-size: inherit;
	padding: 3px 5px;
}
.info-link {
	width: 18px;
}
input.short-input {
	width: 80px;
	height: 23px;
	font-weight: normal;
	font-size: inherit;
	padding: 3px 5px;
}
span.short-label {
	padding: 7px 5px;
}
.search-input .search-label {
	padding: 7px 5px;
}
.search-input input::placeholder, input.short-input::placeholder {
	color: #b0afaf;
	font-size: 0.8em;
}
#filloutForm th {
	font-family: RobotoCondensed, sans-serif;
	font-weight: 500;
	font-size: inherit;
	color: #7bb848;
	padding: 10px 0 5px 0;
}
#ref-search-form button {
	height: 25px;
	border: 1px solid #7bb848;
	border-radius: 3px;
	background-color: #7bb848;
	color: #fff;
	font-family: RobotoCondensed, sans serif;
	font-size: 16px;
	font-weight: 400;
}
.tab-panel {
	display: none;
}
.tab-panel.active {
	display: block;
}
#search-info-default, #name-att, #name_element,#per-gender, #role-ref, #construction, #language_ref, #publication, #editor, #publ_date, #inventory, #material, #language, #provenance, #date, #reuse, #author, #archive, #type, #compound-info, #god-info {
	padding-top: 255px;
	margin-top: -255px;
	padding-bottom: 0;
}
#compound-info, #god-info {
    padding-bottom: 50px;
}
.pseudoLink {
	color: #7bb848;
}
#listGender, #listRole-ref, #listConstruction, #listLanguages_ref, #listEditor, #listInventory, #listMaterial1, #listMaterial, #listLanguages, #listProv1, #listProv2, #listProv3, #listProv4, #listTime1, #listTime2, #listTime3, #listReuse, #listAuthorworks, #listArchives, #listTypes, #listCompounds1, #listCompounds2, #listGods1, #listGods2, #listGods3, #listDNFormulae {
	height: 150px;
	width: 100%;
	overflow-y: scroll;
	margin: 15px 0;
	font-size: 0.9em;
	border: 0.5px solid #4D4D4D;
	border-radius: 3px;
	padding: 5px 0;
	display: flex;
	justify-content: flex-end;
	cursor: pointer;
}
.more-options #listCompounds1, .more-options #listCompounds2, .more-options #listGods1, .more-options #listGods2, .more-options #listGods3 {
	margin-top: 0;
}
.flex-end {
	flex: 0 1 auto;
	width: 90%;
}
#listGender p, #listRole-ref p, #listConstruction p, #listLanguages_ref p, #listLanguages p, #listReuse p, #listMaterial p, #listMaterial1 p, #listTime1 p, #listTime2 p, #listTime3 p, #listProv1 p, #listProv2 p, #listProv3 p, #listProv4 p, #listAuthorworks p, #listInventory p, #listEditor p, #listArchives p, #listTypes p, #listCompounds1 p, #listCompounds2 p, #listGods1 p, #listGods2 p, #listGods3 p, #listDNFormulae p {
	padding: 5px 0;
	line-height: 1.4em;
}
.search-input >label {
	padding-left: 2px;
}
#nmvrcsrf-element label {
	font-size: 0.9em;
}
#nmvrcsrf-element input {
	margin-left: 0;
	padding-left: 0;
	margin-right: 8px;
}
#check-element {
	margin-top: 2px;
}
/********** Disambiguation form **********/
#disambig-results-ref {
	margin: 40px auto;
	width: 100%;
}
#disambig-results-ref > h4 {
	text-align: left;
	margin-left: 0;
	margin-bottom: 0;
}
.fa-stack > .fa-circle {
	color: #7bb848;
}

/********** Links **********/
a:link { 
	color: #699e3d;
	text-decoration: none;  
}
a:visited { 
	color: #699e3d;
	text-decoration: none; 
}
a:hover { 
	color: #265500;
	text-decoration: none; 
}
a:active { 
	color: #699e3d; 
	text-decoration: none; 
}
a > img {
	vertical-align: middle
}

/********** Headings **********/
h1 {
    font-weight: normal;
    font-family: RobotoLight, sans-serif;
    color: #7bb848;
    font-size: 3em;
    line-height: 1.2em;
    border-bottom: 1px solid #b3b3b3;   
    margin: 30px 0 15px 0;
    padding: 0 0 15px;
    display: inline-block;
}
h2, h3, h4 {
    font-weight: normal;
    color: #4d4d4d;
}
h2 {
	font-family: RobotoCondensed, sans-serif;
	font-weight: bold;
    font-size: 1.8em;
    padding: 0 0 15px;
    line-height: 30px;
}
h3 {
	font-family: RobotoRegular, sans-serif;
    font-size: 18px;
    margin: 30px 0 5px 0;
}
#ref-onomastic-info > h3, #ref-prosopographic-info > h3, #ref-family-info > h3 {
	margin: 75px 0 15px 0;
}
h4 {
	font-family: RobotoRegular, sans-serif;
    font-size: 18px;
    margin: 13px 0 25px 0;
}
#per-att-general h4, #nam-att-general h4, #namvar-att-general h4 {
	margin-bottom: 5px;
}
h4.otherregion {
	margin-bottom: 5px;
}
h5 {
	font-family: RobotoCondensed, sans-serif;
	font-weight: normal;
	font-size: 16px;
	margin-top: 15px;
	margin-bottom: 0;
	letter-spacing: 1px;
}
.more-options > h5 {
	font-size: 14px;
	color: #3e780e;
	display: inline-block;
}
h6, .no-att {
	font-family: RobotoRegular, sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

/********** Ancient scripts **********/
.greek { 
	font-family: IFAOGrecA, SuperGreek, Odyssea;	
}
.demotic {
	font-family: IFAOtimes;	
}
.coptic	{ 
	font-family: IFAOCopteII;	
}
.unicode {
	font-family: "Gentium", "Gentium Plus", "Gentium Basic", "Lucida Grande", "New Athena Unicode", Arial;
	font-size: 0.9em;
}

/********** Peoplechart **********/
.google-visualization-tooltip {
  border:solid 2px #7bb848!important;
  border-radius: 5px!important;
  background-color: #f6f6f6!important;
  position: absolute;
  font-family: Open Sans, sans-serif!important;
  font-size: 12px;
  padding: 0px;
  max-width: 190px;
  margin: 0!important
}
.google-visualization-tooltip-item-list {
  list-style-type: none;
  margin: 0!important;
  padding: 0!important;
}
.google-visualization-tooltip-item:first-child {
  margin: 0!important;
  padding-top: 5px!important;
}
.google-visualization-tooltip-item {
  margin: 0!important;
  padding: 5px!important;
}
.path {
  stroke: #555;
}

/********** Pie charts **********/
.filterbar-WD {
	width: 90%;
	background: rgba(255,255,255, 0.7);
	border-radius: 5px;
	font-size: 1.5em;
	margin-left: 40px;
}
#filter-WD-title {
	padding: 10px;
	font-size: 0.6em;
	width: 50%;
}
#namvarWeighed {
	margin: 30px 0;
}
#perWeighedDates #filter-WD-title {
	width: 100%;
}
#filter-WD-perInNam {
    padding: 10px;
	font-size: 0.6em;
	width: 50%;
}
#filter-WD-options {
	width: 50%;
	align-self: flex-end;
	padding-left: 40px;
	display: flex;
	align-items: flex-start;
}
.filter-WD-text {
	flex: 0 1 auto;
	padding: 10px 0;
	font-size: 0.6em;
}
#min_date, #max_date {
    padding: 6px;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    font-family: Open Sans, sans-serif;
    font-size: 0.8em;
    color: #4d4d4d;
}
#min_date, #max_date select {
    font-family: Open Sans, sans-serif;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}
#min_date, #max_date select:focus {
    outline: none;
}
.piechart {
	margin-bottom: 50px;
	margin-left: -20px;
	width: 30%;
	position: relative;
}
.reset-pie {
	position: absolute;
	top: 1px;
	right: 0;
	max-width: 300px;
	z-index: 15;
	font-family: Open Sans Bold;
}
.reset-pie:hover {
	color: #4d4d4d!important;
}
.piechart th {
	color: black;
	font-family: Open Sans Semibold, sans-serif;
	font-size: 0.8em;
	background-image: none;
	background: rgba(255,255,255, 0.7);
}
.piechart td {
	color: black;
	font-family: Open Sans, sans-serif;
	font-size: 0.9em;
	background-image: none;
	background: rgba(255,255,255, 0.7);
	padding: 3px!important;
}
.dropdown-pie {
	position: absolute;
	top: 5px;
	right: -40px;
	max-width: 150px;
	z-index: 15;
}
.dropdown-list {
	max-width: 150px;
}
#geo_choice select {
	font-family: Open Sans Bold;
	font-size: 14px;
	color: #7bb848;
	padding: 5px;
	border: none;
	box-shadow: none;
	background-color: transparent;
	background-image: none;
	-webkit-appearance:none;
	-moz-appearance: none;
	appearance: none;
}
.weighedDates {
	display: inline-block;
	width: 100%;
}
.dropdown-WD {
	flex: 0 1 auto;
}
a.charttype:link { 
	color: #4d4d4d!important;
	text-decoration: none;  
}
a.charttype:visited { 
	color: #4d4d4d!important;
	text-decoration: none; 
}
a.charttype:hover { 
	color: #ee961f!important;
	text-decoration: none; 
}
a.charttype:active { 
	color: #7bb848!important; 
	text-decoration: none; 
}
/* Fix for google charts blinking tooltip */
svg > g > g:last-child { pointer-events: none; } 

/* Loader for chart /ref/index */
.loader-element{
	margin: 175px auto;
}
.loader,
.loader:before,
.loader:after {
	border-radius: 50%;
	width: 2.5em;
	height: 2.5em;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation: load7 1.8s infinite ease-in-out;
	animation: load7 1.8s infinite ease-in-out;
}
.loader {
	color: rgba(62,120,14,0.5);
	font-size: 10px;
	margin: 80px auto;
	position: relative;
	text-indent: -9999em;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
.loader:before,
.loader:after {
	content: '';
	position: absolute;
	top: 0;
}
.loader:before {
	left: -3.5em;
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}
.loader:after {
 left: 3.5em;
}
@-webkit-keyframes load7 {
	0%,
	80%,
	100% {
	box-shadow: 0 2.5em 0 -1.3em;
	}
	40% {
	box-shadow: 0 2.5em 0 0;
	}
}
@keyframes load7 {
	0%,
	80%,
	100% {
	box-shadow: 0 2.5em 0 -1.3em;
	}
	40% {
	box-shadow: 0 2.5em 0 0;
	}
}
/* Put last because otherwise overruled by other styles */
.caution {
    color: #801515;
    background-color: #fff;
}
.google-visualization-table-table {
	background: none!important;
	border: 1px solid #7bb848;
	border-radius: 3px;
}
.google-visualization-table-tr-head, .google-visualization-table-tr-even, .google-visualization-table-tr-odd {
	background-color: transparent!important;
	padding-left: 7px!important;
	padding-right: 7px!important;
}
.google-visualization-table .gradient {
	background-image: none!important;
}
.google-visualization-table-th, .google-visualization-table-td {
	background-color: rgba(245,245,245,0.6)!important;
	color: black!important;
	padding-bottom: 7px!important;
}
.google-visualization-table-table th, .google-visualization-table-table td {
	border: none!important;
	padding-left: 7px!important;
	padding-right: 7px!important;
}
.google-visualization-table-table th {
	font-family: Open Sans Semibold, sans-serif!important;
}
.google-visualization-table-tr-head > .google-visualization-table-th:last-child {
	text-align: right!important;
}
#namvarWeighed #googlechart8 {
	margin: 20px 40px;
}
#namvarWeighed #googlechart8 .google-visualization-table{
	margin-left: auto;
	margin-right: auto;
}
/********** Header People **********/
#menu-items.fullscreen {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	padding-left: 40px;
}
.menu-section {
	margin: 33px 20px 0 0 ;
}

#error-report a {
	color: #f5f1ec;
}
.dropmenu > button.dropbtn {
	font-family: RobotoCondensed, sans-serif;
	color: #f5f1ec;
	padding: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	background-color: transparent;
	font-size: 18px;
	font-weight: normal;
	border: none;
	cursor: pointer;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 2px;
    text-align: left;
}
.dropmenu {
  	position: relative;
}
.dropmenu-content {
	display: none;
	position: absolute;
	left: 0;
	top: 30px;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  	z-index: 1;
}
.dropmenu-content a {
	color: black;
	padding: 8px 10px;
	text-decoration: none;
  	display: block;
}
.dropmenu-content a:hover {
	border-bottom: 1px solid #7bb848; 
}
.dropmenu:hover>.dropmenu-content {
  	display: inline;
}
.dropmenu-content > .dropmenu {
	border: 1px solid #7bb848;
}
.dropmenu-content .dropmenu > button.dropbtn {
	font-size: 14px;
}
/********** Media queries **********/
@media screen and (min-width: 1051px) {
	.container {
		width: 90%;
	}
}
@media screen and (max-width: 1200px) {
	.searchframe {
		width: 80%;
	}
	#tree {
		margin-left: auto;
		margin-right: auto;
	}
}
@media screen and (max-width: 1050px) {
	.container {
		width: 90%;
	}
	.searchframe {
		width: 70%;
	}
	#tree {
		font-size: 0.9em;
	}
	#tree .name {
		width: 100%;
	}
	#tree input {
		font-size: 11px;
	}
	#people_diagram {
		max-width: 620px;
	}
}
@media screen and (max-width: 990px) {
	.container {
		width: 90%;
	}
	#material, #language, #date, #daterange select {
		font-size: 0.7em;
	}
	#daterange {
		height: 36px;
		padding-top: 0;
	}
	#daterange > span {
		font-size: 0.6em;
	}
	#from {
		display: none;
	}
	.btn {
		font-size: 11px;
	}
	.reset-pie {
		top: 0;
		max-width: 200px;
		font-size: 0.8em;
	}
	#pages {
		right: 40px;
	}
	th {
		width: 80%;
		font-size: 0.9em;
	}
	td {
		width: 80%;
		font-size: 0.9em;
	}
	td.semibold {
		font-size: 0.7em;
		font-family: RobotoLight, sans-serif;
		padding: 4px 10px;
	}
	td.search-input {
		width: 253px;
	}
	tbody.credits td.semibold {
		font-size: 1em;
		font-family: Open Sans Semibold, sans-serif;
	}
	td.search-label {
		font-size: 14px;
	}
	#people_diagram {
		max-width: 520px;
	}
	.dropmenu > button.dropbtn {
		font-size: 13px;
	}
}
@media screen and (max-width: 790px) {
	.container {
		width: 90%;
	}
	.menu ul {
		border: 1px solid #7bb848;
		background: #7bb848;
	}
	.menu ul:after {
		border-bottom: 7px solid #7bb848;
	}
	.menu div.active {
		display: none;
	}
	#menu-items {
		width: 130px;
		position: absolute;
		top: 80%;
		left: 0;
		padding: 10px 18px;
		box-shadow: 0 1 1 rgba(0,0,0,0.15);
		border-radius: 3px;
		border: none;
		background: #7bb848;
	}
	#pagetitle, #logo {
		color: #fff!important;
		font-family: RobotoCondensed, sans-serif;
	}
	.menu-section {
		margin: 5px 0;
	}
	.dropmenu-content {
		left: 100%;
		top: 0;
	}
	.dropmenu-content a {
		padding: 6px 8px;
		font-size: 13px;
	}
	.toggle-nav:link {
		color: #7bb848;
		border: 1px solid #7bb848;
	}
	.toggle-nav:hover, .toggle-nav:active, .toggle-nav:visited {
		border: 1px solid #7bb848;
		background-color: #7bb848;
	}
	.one-div {
		height: 1162px;
	}
	.long-text {
		font-size: 0.8em;
		max-width: 560px;
		margin-top: 18px;
		margin-left: auto;
		margin-right: auto;
		line-height: 1.5em;
	}
	#material, #language, #date, #daterange select {
		font-size: 0.7em;
	}
	#daterange {
		font-size: 0.4em;
		height: 36px;
		padding-top: 2px;
	}
	.daterange {
		height: 18px;
		margin-top: 6px;
	}
	.btn {
		font-size: 9px;
	}
	.reset-pie {
		right: 330px;
	}
	.infobox-pie {
		margin-top: -15px;
	}
	.width90 {
		width: 100%;
	}
	#people_diagram {
		max-width: 450px;
		transition: transform .2s; /*animation */
	}
	#people_diagram:hover {
		transform: scale(1.4); /* (150% zoom) */
	}
}
@media screen and (max-width: 655px) {
	.no-border {
		padding-bottom: 0;
	}
	.one-div {
		height: 1152px;
	}
	.searchbox input {
		width: 95px;
	}
	#people_diagram {
		max-width: 400px;
	}
}
@media screen and (max-width: 410px) {
	body {
		width: 100vw;
	}
	#people_diagram {
		max-width: 250px;
	}
}