/********** Fonts **********/
@import 'fonts.css';
@import url('https://fonts.googleapis.com/css?family=Roboto:100&display=swap');


/********** Layout **********/
html {
	height: 100%;
}
body {
	font-family: Open Sans, sans-serif;
    font-size: 14px;
    line-height: 1.6em;
    color: #4d4d4d;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background: rgba(245,245,245,0.8);
    position: relative;
}

/********** Header **********/
#disambig-header{
	width: calc(100vw - 250px);
	margin-left: 10%;
	display: flex;
	justify-content: space-between;
}
.wrapper {
	width: 90%;
	max-width: 1000px;
	margin: 0 auto;
	height: 100%;
}
.wrapper-keepTMalive {
	width: 100%;
	max-width: 1100px;
}
.search-form-disambig > form > input {
	height: 13px;
}
.search-form input {
	border: 1px solid #f5f1ec;
}
.search-form button {
	border: 1px solid #f5f1ec;
	background: linear-gradient(to bottom right, #fff, #b0afaf);
	background: -webkit-linear-gradient(left top, #f5f1ec, #b0afaf);
	background: -o-linear-gradient(bottom right, rgba(239,239,239, 0.5), rgba(255,255,255, 0.5));
	background: -moz-linear-gradient(bottom right, rgba(239,239,239, 0.5), rgba(255,255,255, 0.5));
}

/********** 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: */
	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: */
	border-top: 75px solid transparent;
	margin-top: -75px;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
}
.one-div {
	background: rgba(245,245,245,0.8);
	/* To prevent top part from overlapping with header when jumping: */
	border-top: 75px solid transparent;
	margin-top: -75px;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	margin-bottom: 85px;
	height: calc(100vh + 42px);
}
#disambig-details {
	background: rgba(245,245,245,0.8);
	/* To prevent top part from overlapping with header when jumping: */
	border-top: 75px solid transparent;
	margin-top: -75px;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	margin-bottom: 85px;
	text-align: left;
	width: calc(100vw - 250px);
	overflow-y:scroll;
}
.no-border {
	border-bottom: 1px solid rgba(233,233,233,0.8);
	padding-bottom: 40px;
}
.container {
	margin: 50px auto;
	width: 90%;
	max-width: 1000px;
	height: 90%;
	max-height: 650px;
	position: relative;
}
.container-home {
    height: 75%;
}
.first-container {
	padding: 70px 5px 0 5px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 45px;
	width: 90%;
	max-width: 1000px;
	text-align: center;
}
.second-container 	{
	margin-right: auto;
	margin-left: auto;
	width: 90%;
	max-width: 1000px;
	text-align: center;
}
.last-container {
	width: 100%;
	background: #801515;
	color: #fff; 
	margin-top: 75px;
	padding-bottom: 60px;
}
.flex {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto;
	text-align: justify;
}
.flex-row-start {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto;
	text-align: justify;
}
.flex-column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 auto;
}
.flex-start {
	justify-content: flex-start;
}
#top > .flex {
	height: 90%;
}
#about > .flex {
	margin-right: auto;
	margin-left: auto;
	width: 90%;
	max-width: 1000px;
}
.flex-item {
	flex: 1 0 270px;
	position: relative;
	margin-top: 25px;
}
.flex-items {
	flex: 0 1 auto;
	margin-top: 25px;
	text-align: left;
}
#mailingList {
	position: fixed;
	top: 15px;
	left: 0;
	width: 190px;
	border-top: 2px solid #801515;
	border-right: 2px solid #801515;
	border-bottom: 2px solid #801515;
	border-radius: 0 3px 3px 0;
	background-image: linear-gradient(to bottom right, #801515, #d76d6d);
	padding: 5px 5px 5px 8px;
	line-height: 1.4em;
	color: #fff;
	z-index: 100;
}
#subscriptionCount {
	position: fixed;
	top: 60px;
	left: 0;
	width: 190px;
	border-top: 2px solid #801515;
	border-right: 2px solid #801515;
	border-bottom: 2px solid #801515;
	border-radius: 0 3px 3px 0;
	background-image: linear-gradient(to bottom right, #801515, #d76d6d);
	padding: 5px 5px 5px 8px;
	line-height: 1.4em;
	color: #fff;
	z-index: 100;
}
#mailingList > a, #subscriptionCount a, #on-this-day a {
	color: #a7c965;
}
#middle-content {
	background:rgb(233,233,233);
	border-radius: 5px;
	padding: 35px 15px;
	box-shadow: 0px 4px 4px #b0afaf, -8px 5px 8px #b0afaf, 8px 4px 8px #b0afaf;
	width: 85%;
	position: relative;
}
#big-logo {
	flex: 0 1 auto;
	width: 20%;
	height: 100%;
	margin: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#big-logo img {
	display: block;
	height: 70%;
	margin: 0 auto;
}
#welcome-text {
	flex: 0 1 auto;
	height: 100%;
	width: 60%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}
#welcome-text > h1, #welcome-text > p {
	flex: 0 1 auto;
}
#welcome-text > button {
	flex: 0 1 auto;
	cursor: pointer;
	width: 250px;
	margin-top: 20px;
	padding: 12px 15px 12px 15px;
	font-size: 1.2em;
	background: #801515;
	border-style: none;
	border-radius: 5px;
	color: #fff;
	min-height: 40px;
	box-shadow: 0px 2px 2px #7F7F7F, -4px 2px 4px #7F7F7F, 4px 2px 4px #7F7F7F;
}
.welcome {
	font-family: Open Sans Light, sans-serif;
	font-size: 1.5em;
}
.homepage{
	font-family: Open Sans Light, sans-serif;
	font-size: 1.2em;
}
#welcome-text > a {
	font-size: 0.9em;
	margin-top: 25px;
}
#onefield {
	flex: 0 1 auto;
	margin-top: 40px;
	max-width: 240px;
	display: flex;
	flex-direction: column;
}
#central-search-field {
	flex: 1 0 auto;
	display: flex;
}
#central-search-field > form {
	flex: 0 1 auto;
	margin: 0;
}
#central-search-field > i {
	flex: 0 1 auto;
}
#onefield > p {
	flex: 1 0 auto;
	margin: 8px 0;
	font-size: 0.9em;
	line-height: 1.3em;
	width: 250px;
}
#onefield i {
	padding-left: 5px;
	padding-left: 5px;
	color: #a3382e;
	font-size: 1.2em;
}
#onefield input {
	width: 180px;
	height: 15px;
	border: 1px solid #a3382e;
	border-radius: 5px 0 0 5px;
	padding: 4px;
	font-family: Open Sans;
	font-weight: 300;
	outline: none;
	float: left;
}
#onefield button {
	margin: 0;
	height: 25px;
	width: 32px;
	border: 1px solid #a3382e;
	border-radius: 0 5px 5px 0;
	background: #a3382e;
	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;
}
#homepage-login {
	flex: 0 1 auto;
	margin-bottom: -20px;
	font-size: 0.8em;
	position: absolute;
	bottom: 0;
}
#homepage-login input[type=submit] {
	margin: 0;
	height: 20px;
	width: 50px;
	border: none;
	border-radius: 0;
	background: none;
	font-family: Roboto, sans-serif;
	font-weight: normal;
	font-size: 12px;
	text-shadow: none;
	color: #801515;
	padding: 2px;
	cursor: pointer;
}
#alivebanner {
	position: absolute;
	top: -50px;
	right: 0;
}
#bannerimg {
	max-height: 200px;
	min-height: 80px;
	transform: rotate(25deg);
}
.homepage-highlight {
	width: 88%;
	max-width: 990px;
	margin: 20px auto;
	background-color: #801515;
	color: #fff;
	text-align: left;
	border-radius: 3px;
}
.homepage-highlight > h5 {
	color: #fff;
	padding: 10px 20px;
	margin-bottom: 0;
}
.homepage-highlight > p {
	padding: 5px 35px;
	margin-top: 5px;
	margin-bottom: 5px;
}
.homepage-highlight > p:last-child {
	padding-bottom: 10px;
}
#features {
	height: 100%;
}
.absolutetitle{
	text-align: center;
	position: absolute;
	top: -2px;
	left: 12.5%;
	width: 70%;
	background: rgb(245,245,245);
}
.border-text {
	margin: 10px auto; 
	text-align: justify; 
	font-size: 0.9em;
	line-height: 1.4em;
	padding: 20px; 
	border: 1px solid #801515;
	width: 80%;
	height: 150px;
}
#about1, #about2 {
	width: 40%;
	padding-left: 22px;
	text-align: justify;
	margin-bottom: 35px;
}
#about1 {
	padding-right: 50px;
}
#about2, .extra-margin-top {
	margin-top: 65px;
}
.subtitle {
	color: #8FB93C;
	font-family: RobotoLight, sans-serif;
	font-size: 1em;
	font-weight: bold;
}
.flex2-item {
	flex: 0 1 auto;
	align-self: center;
}
#partner-list {
	width: 80%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.partner-items {
	flex 0 1 auto;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	border-top: 75px solid transparent;
	margin-top: -75px;
	padding-top: 35px;
}
.partner-logo {
	width: 45%; 
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.partner-logo > a {
	flex: 0 1 auto;
	margin-bottom: 10px;
}
.partner-logo > a > img {
	max-height: 105px;
	max-width: 360px;
}
.partner-text {
	width: 50%;
	height: 105px;
	line-height: 105px;
	padding-left: 30px;
	text-align: left;
}
.partner-text > p {
	line-height: 1.5;
 	display: inline-block;
 	vertical-align: middle;
 	margin: 0;
}
.partner-name {
	font-family: RobotoLight, sans-serif;
	text-align: left;
	margin: 0 0 8px 0;
	font-weight: normal;
	font-size: 1.1em;
}
.funding-logo {
	align-items: flex-start;
}
.funding-logo > a > img {
	max-height: 105px;
	max-width: 215px;
}
.eagle {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-end;
	text-align: right;
}
.eagle-child {
	flex: 0 1 auto;
}
.funding-text {
	width: 50%;
	padding-left: 30px;
	text-align: left;
}
.funding-text > p {
	margin: 0;
}
.long-text {
	width: 80%;
	margin: 18px auto;
	text-align: justify;
}
.teaser {
	text-align: justify;
	font-family: RobotoLight;
}
.center-align {
	text-align: center;
}
.justify {
	text-align: justify;
}
.smallcaps {
	font-variant: small-caps;
}
.italic {
	font-style: italic;
}
.bold {
	font-weight: 600;
	font-size: 1.1em;
}
.semibold {
	font-family: Open Sans Semibold;
	color: #4d4d4d;
}
.underline {
	text-decoration: underline;
}
.goto-top {
	width: 140px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 80px;
	padding-top: 20px;
	font-family: RobotoCondensed, sans-serif;
	font-style: bold;
	display: block;
}
div.goto-top img {
	vertical-align: bottom;
}
.margin-top-25 {
	margin-top: 25px;
}
.margin-top-50 {
	margin-top: 50px;
}
.margin-left-25 {
	margin-left: 25px;
}
.info-tooltip {
    position: relative;
    display: inline-block;
}
.info-tooltip .tooltiptext {
    visibility: hidden;
    width: 225px;
    font-family: Open Sans, sans-serif;
    color: #4d4d4d;
    background: rgba(245,245,245,0.9); 
    font-size: 0.7em;
    line-height: 1.5em;
    border: 1px solid #a3382e;
    border-radius: 5px;
    padding: 5px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -35px;
    left: 200%;
}
.info-tooltip:hover .tooltiptext {
    visibility: visible;
}
.info-tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent #a3382e transparent transparent;
}
th .info-tooltip .tooltiptext {
	width: 225px;
	background: rgba(255,255,255,0.9);
	color: black;
	top: -10px;
}
p.no-margin {
	margin: 0;
}
p.no-margin-top {
	margin-top: 0;
}
p.extra-margin-top {
	margin-top: 25px;
}
.quote {
	margin: 0 10px;
	padding-top: 0;
	font-family: RobotoLight, sans-serif;
	font-style: italic;
}
.padding-left50 {
	padding-left: 50px;
}
.mailing-list-top, #mailing-list-title {
	padding: 45px 0 15px 0;
	margin-bottom: 30px;
}
.mailinglist-terms {
	margin-top: 45px;
	margin-bottom: 100px;
}
#subMidBlock {
	border-left: 1px dotted #801515;
	padding-left: 20px;
}
#subscribe, #donate, #adopt, #whatChanges {
	flex: 0 1 auto;
	width: 125px;
	background: rgba(255, 255, 255, 0.8);
	border: 0.5px solid #801515;
	border-radius: 5px;
	padding: 10px;
	margin: 0 auto;
	text-align: center;
	font-family: RobotoCondensed, sans-serif;
    font-size: 16px;
}
#gallery-thumbnails {
	padding-bottom: 100px;
	margin-top: -35px;
}
img#frame-top, img#gallery-highlight, img#frame-bottom {
	flex: 0 1 auto;
	align-self: center;
}
.gallery-flex-item {
	flex: 0 1 auto;
	align-self: center;
	margin: 30px;
}
.gallery-flex-item img:hover {
	transform: scale(4);
}
img#happy-holidays {
	width: 100%;
}
#onthisday-table td {
	line-height: 1.4em;
	padding: 5px;
}
#onthisday-table p {
	margin: 5px 0;
}
#onthisday-table .tooltiptext {
	z-index: 20;
	top: -35px;
	left: -50px;
	width: 150px;
	max-width: 200px;
}
#funfacts {
	width: 100%;
	background-color: #330000;
	color: #fff;
	display: flex;
	flex-flow: row wrap;
	justify-content: left;
	padding: 10px 50px;
}
#on-this-day1 {
	margin: 5px 20px 5px 210px;
	width: 30%;
}
#TM-gallery {
	margin: 5px 20px 5px 20px;
	width: 30%;
}
/********** TM Menu **********/
#tm-menu{
	position: fixed;
	top: 0;
	right: 0;
	border-left: 2px solid #4d4d4d;
	background: rgba(233,233,233,0.8);
	height: 100%;
	width: 250px;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-y: auto;
	z-index: 500;
}
#open-menu {
	position: fixed;
	top: 45%;
	right: 10px;
	cursor: pointer;
	width: 250px;
	padding: 12px 15px 12px 15px;
	font-size: 1.2em;
	background: #801515;
	border-style: none;
	border-radius: 5px;
	color: #fff;
	min-height: 40px;
	box-shadow: 0px 2px 2px #7F7F7F, -4px 2px 4px #7F7F7F, 4px 2px 4px #7F7F7F;
}
.tm-menu-disambig {
	margin-top 75px;
	z-index: 1000!important;
}
#tm-menu::-webkit-scrollbar {
    width: 7px;
}
#tm-menu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 5px;
}
#tm-menu::-webkit-scrollbar-thumb {
    background: rgba(163,56,46,0.8); 
    border-radius: 5px;
}
#tm-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(208,106,102,0.8);
}
#tm-menu h2 {
	color: #0b0b0b;
}
#close-button {
	position: fixed;
	top: 50%;
	right: 230px;
	border: none;
	background: none;
	cursor: pointer;
	z-index: 2000;
}
#close-button img {
	width: 50px;
}
.menu-items {
	width: 85%;
	height: 50px;
	border-radius: 5px;
	flex: 0 1 100%;
	margin: 20px 0 20px 0;
}
#tex {
	background: rgba(163,56,46,0.8);
	z-index: 1000;
	position: relative;
}
img#inscription {
	position: absolute;
	top: -15px;
	left: -15px;
	height: 70px;
}
#ldab {
	background: rgba(163,56,46,0.8);
	z-index: 1000;
	position: relative;
}
img#scroll {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 2000;
	height: 45px;
}
.go-left {
    -webkit-transform: translate(-150px,0);
    -moz-transform: translate(-150px,0);
    -o-transform: translate(-150px,0);
    transform: translate(-150px,0)
}
.go-right {
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0)
}
#langscript {
	background: rgba(163,56,46,0.8);
	z-index: 1000;
	position: relative;
}
.typewriter {
	position: absolute;
	top: 5px;
	left: 5px;
	border-right: 2px solid rgba(255,255,255,.75);
    font-size: 160%;
    color: #fff;
    line-height: 1.8em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);
    animation: typewriter 4s steps(44) 1s 1 normal both,
             blinkTextCursor 500ms steps(44) infinite normal;
}
.invisible {
	display: none;
}
@keyframes typewriter{
  from{width: 0;}
  to{width: 24em;}
}
@keyframes blinkTextCursor{
  from{border-right-color: rgba(255,255,255,.75);}
  to{border-right-color: transparent;}
} 
#coll {
	background: rgba(208,106,102,0.8);
	position: relative;
}
img#louvre {
	position: absolute;
	top: 2px;
	left: -10px;
	height: 50px;
}
.grow {
	-webkit-transform: scale(2);
	-ms-transform: scale(2);
	transform: scale(2);
}
#arch {
	background: rgba(255,156,0,0.8);
	position: relative;
}
#vase {
	position: absolute;
	top: 10px;
	right: 15px;
	height: 50px;
}
#people {
	background: rgba(123,184,72,0.8);
	position: relative;
}
img#people1 {
	position: absolute;
	bottom: 2px;
	right: 5px;
	display: none;
	height: 50px;
}
img#people2 {
	position: absolute;
	bottom: -10px;
	right: 35px;
	height: 50px;
}
img#people3 {
	position: absolute;
	top: -5px;
	left: -20px;
	display: none;
	height: 50px;
}
img#people4 {
	position: absolute;
	top: 4px;
	left: 3px;
	z-index: 500;
	height: 50px;
}
img#people5 {
	position: absolute;
	top: 0;
	left: 15px;
	display: none;
	height: 50px;
}
#places {
	background: rgba(102,102,204,0.8);
	position: relative;
}
img#globe {
	position: absolute;
	top: 10px;
	left: 30px;
	height: 50px;
}
#authors {
	background: rgba(37,4,142,0.8);
	position: relative;
}
#authors > h2 {
	color: #b0afaf;
}
img#herodotos {
	position: absolute;
	top: 2px;
	right: 2px;
	height: 50px;
}
.wiggle-left {
  animation-name: authors-left;
  animation-duration: 3s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}
@keyframes authors-left {
  0% { transform: translateX(-30px) rotate(-8deg); }
  33% { transform: translateX(-60px) rotate(8deg); }
  66% { transform: translateX(-90px) rotate(-8deg); }
  100% { transform: translateX(-150px) rotate(0deg);}
}
.wiggle-right {
  animation-name: authors-right;
  animation-duration: 3s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}
@keyframes authors-right {
  0% { transform: translateX(-90px) rotate(8deg); }
  33% { transform: translateX(-60px) rotate(-8deg); }
  66% { transform: translateX(-30px) rotate(8deg);}
  100% { transform: translateX(0px) rotate(0deg);}
}
#gods {
	background: rgba(39,85,0,0.8);
	position: relative;
}
#bicross1a_rejected {
	background-image: linear-gradient(to right, rgba(6,60,114,0.8), rgba(199,108,40,0.8));
	position: relative;
}
#bicross1a_new {
	background-image: linear-gradient(to right, rgba(6,60,114,0.8), rgba(230,161,0,0.8));
	position: relative;
}
#bicross1b {
	background-image: linear-gradient(to right, rgb(6,60,114), rgb(230,161,0));
	position: relative;
}
#bicross1b_new {
	background-image: linear-gradient(to right, rgba(6,60,114), rgba(230,161,0));
	position: relative;
}
#bicross2a_rejected {
	background-image: linear-gradient(to right, rgba(6,60,114,0.8), rgba(230,152,59,0.8));
	position: relative;
}
#bicross2a_new {
	background-image: linear-gradient(to right, rgba(6,60,114,0.8), rgba(255,186,23,0.8));
	position: relative;
}
#bicross2b {
	background-image: linear-gradient(to right, rgb(6,60,114), rgb(230,152,59));
	position: relative;
}
#bicross2b_new {
	background-image: linear-gradient(to right, rgba(6,60,114), rgba(255,186,23));
	position: relative;
}
#bicross3a_rejected {
	background-image: linear-gradient(to right, rgba(25,64,159,0.8), rgba(230,124,47,0.8));
	position: relative;
}
#bicross3a_new {
	background-image: linear-gradient(to right, rgba(25,64,159,0.8), rgba(230,161,0,0.8));
	position: relative;
}
#bicross3b {
	background-image: linear-gradient(to right, rgb(25,64,159), rgb(230,124,47));
	position: relative;
}
#bicross3b_new {
	background-image: linear-gradient(to right, rgba(25,64,159), rgba(230,161,0));
	position: relative;
}
#bicross4a_rejected {
	background-image: linear-gradient(to right, rgba(81,165,190,0.8), rgba(230,152,59,0.8));
	position: relative;
}
#bicross4a_new {
	background-image: linear-gradient(to right, rgba(64,145,197,0.8), rgba(230,161,0,0.8));
	position: relative;
}
#bicross4b_rejected {
	background-image: linear-gradient(to right, rgb(81,165,190), rgb(230,152,59));
	position: relative;
}
#bicross4b_new {
	background-image: linear-gradient(to right, rgba(64,145,197), rgba(230,161,0));
	position: relative;
}
#bicross5a {
	background-image: linear-gradient(to right, rgba(64,145,197,0.8), rgba(240,189,98,0.8));
	position: relative;
}
#bicross5a_new {
	background-image: linear-gradient(to right, rgba(64,145,197,0.8), rgba(255,186,23,0.8));
	position: relative;
}
#bicross5b {
	background-image: linear-gradient(to right, rgb(64,145,197), rgb(240,189,98));
	position: relative;
}
#bicross5b_new {
	background-image: linear-gradient(to right, rgb(64,145,197), rgb(255,186,23));
	position: relative;
}
#calendar {
	background: #c49400;
	position: relative;
}
img#twosix {
	position: absolute;
	top: 2px;
	right: 12px;
	height: 40px;
	transform: rotate(-10deg);
}
#words {
	background: rgba(65,172,137,0.8);
	position: relative;
}
img#scrabble {
	position: absolute;
	top: 2px;
	left: 12px;
	height: 40px;
}
#texirr {
	background: rgba(0,108,100,0.8);
	position: relative;
}
img#asterix {
	position: absolute;
	top: 5px;
	right: 10px;
	height: 20px;
}
#abbform {
	background: rgba(0,42,46,0.8);
	position: relative;
}
#abbform > h2 {
	color: #b0afaf;
}
img#leftbracket {
	position: absolute;
	top: 3px;
	left: 25px;
	height: 40px;
}
.squeezeleft {
	-webkit-transform: translate(20px,0);
    -moz-transform: translate(20px,0);
    -o-transform: translate(20px,0);
    transform: translate(20px,0)
}
img#rightbracket {
	position: absolute;
	top: 3px;
	right: 25px;
	height: 40px;
}
.squeezeright {
	-webkit-transform: translate(-20px,0);
    -moz-transform: translate(-20px,0);
    -o-transform: translate(-20px,0);
    transform: translate(-20px,0)
}
#petitions
{
	background: rgba(0,154,168,0.8);
	position: relative;
}
#seals {
	background: rgba(118,48,14,0.8);
	position: relative;
}
img#stamp {
	position: absolute;
	top: -2px;
	left: 5px;
	height: 50px;
}
.spin {
  /* Animation to spin and move the sphere */
  -webkit-animation: spin 1000ms linear infinite, moveLeftToRight 5s linear infinite;
  -moz-animation: spin 1000ms linear infinite, moveLeftToRight 5s linear infinite;
  -ms-animation: spin 1000ms linear infinite, moveLeftToRight 5s linear infinite;
  animation: spin 1000ms linear infinite, moveLeftToRight 5s linear infinite;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}
/* Spinning the sphere using key frames */
@-ms-keyframes spin {
  from { -ms-transform: rotate(0deg); }
  to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}
/* Move sphere from left to right */
@-moz-keyframes moveLeftToRight {
  0%   { left: 5px; }
  100% { left: 100%; }
}
@-ms-keyframes moveLeftToRight {
  0%   { left: 5px; }
  100% { left: 100%; }
}
@keyframes moveLeftToRight {
  0%   { left: 5px; }
  100% { left: 100%; }
}
@-webkit-keyframes moveLeftToRight {
  0%   { left: 5px; }
  100% { left: 100%; }
}
.shrink {
	-webkit-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform: scale(0.5);
}
#edit {
	background: rgba(37,64,97,0.8);
	position: relative;
}
#edit > h2 {
	color: #0b0b0b;
}
img#prof {
	position: absolute;
	bottom: 0;
	right: 25px;
	height: 50px;
}
.jump-left {
  animation-name: jump-left;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes jump-left {
  0% { transform: translate(-5px,-5px); }
  33% { transform: translate(-10px,-15px); }
  66% { transform: translate(-25px,-35px); }
  100% { transform: translate(-35px,-28px);}
}
.jump-right {
  animation-name: jump-right;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes jump-right {
  0% { transform: translate(-25px,-35px); }
  33% { transform: translate(-10px,-15px); }
  66% { transform: translate(-5px,-5px); }
  100% { transform: translate(0,0);}
}
#networks {
	background: rgba(50,130,189,0.8);
	position: relative;
}
img#spaghetti {
	position: absolute;
	top: -2px;
	left: 0;
	height: 50px;
}
img#spaghetti2 {
	position: absolute;
	top: -14px;
	left: 48px;
	height: 50px;
	-webkit-transform: rotate(160deg);
    -moz-transform: translate(160deg);
    -o-transform: translate(160deg);
    transform: translate(160deg);
	display: none;
}
img#spaghetti3 {
	position: absolute;
	top: -4px;
	left: 120px;
	height: 50px;
	-webkit-transform: rotate(200deg);
    -moz-transform: translate(200deg);
    -o-transform: translate(200deg);
    transform: translate(200deg);
	display: none;
}
#biblio {
	background: rgba(77,77,77,0.8);
	position: relative;
}
img#books {
	position: absolute;
	bottom: -4px;
	right: -5px;
	height: 50px;
}
img#books2 {
	display: none;
	position: absolute;
	bottom: 20px;
	right: -5px;
	height: 50px;
}
img#books3 {
	display: none;
	position: absolute;
	bottom: 45px;
	right: -5px;
	height: 50px;
}
img#books4 {
	display: none;
	position: absolute;
	bottom: 70px;
	right: -5px;
	height: 50px;
}
.drop {
	display: block;
	animation-name: drop;
  	animation-duration: 1s;
  	animation-timing-function: linear;
  	animation-fill-mode: forwards;
}
@keyframes drop {
  	0% { transform: translateY(-25px); }
  	33% { transform: translateY(-10px); }
	66% { transform: translateY(-5px); }
  	100% { transform: translateY(0);}
}
#magic, #academy {
	background: rgba(163,56,46,0.8);
	z-index: 1000;
	position: relative;
}
img#wand {
	position: absolute;
	bottom: -5px;
	left: 5px;
	height: 70px;
}
/********** About pages **********/
#intro {
	margin-bottom: 50px; 
}
#toc {
	margin: 1px auto;
	z-index: 1000;
	width: 90%;
}
#toc-box {
	width: 90%;
	list-style: none;
	background: rgba(255,255,255, 0.7);
	border-radius: 5px;
	padding: 10px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
#toc-box li {
    flex: 0 1 auto;
    margin: 5px 35px;
    font-family: RobotoCondensed;
}
.si-items table {
	width: 80%;
	margin: 20px auto;
	text-align: left;
	margin-bottom: 35px;
}
.si-items td {
	vertical-align: top;
	padding-right: 10px;
}
.table-entity {
	width: 33%;
}
.table-human {
	width: 33%;
	padding-left: 115px;
}
.table-type {
	width: 20%;
}
.table-uri {
	width: 38%;
	text-align: left;
}
#si-citing .table-uri {
	width: 33%;
	padding-left: 45px;
}
.table-publ {
	width: 42%;
}
.left-column {
	width: 50%;
	padding-right: 20px;
	text-align: right;
	vertical-align: top;
}
.right-column {
	width: 50%;
	padding-left: 20px;
	text-align: left;
	vertical-align: top;
}
.coverage-maps {
	margin: 0 auto;
	width: 340px; 
	height: 200px;
}

/********** Disambiguation page **********/
.accordion-wrapper {
	max-width: 800px;
}
#accordion-box {
	background-color: #ffffff;
	border: 1px solid #dddcdc;
	box-shadow: 1px 1px 20px 1px #b0afaf;
	margin: 1em -0.5em;
	padding: 18px;
	width: 100%;
	max-width: 800px;
}
.accordion {
  background-color: #f2f2f2;
  color: #444;
  margin: 10px 0 20px 0;
  padding: 18px 18px 0 18px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 14px;
  transition: 0.4s;
  position: relative;
  cursor: default;
}
.focus {
  background-color: #ccc; 
}
button.fa-stack {
	background-color: transparent;
	border: none;
}
button.fa-stack:focus {
	outline: none;
}
.fa-stack > .fa-circle {
	color: #a3382e;
	font-size: 28px;
	position: absolute;
	bottom: -10px;
	left: -3px;
}
.fa-stack-1x {
	left: 0;
	bottom: 0;
}
.fa-stack .fa-plus-circle, .fa-stack .fa-minus-circle {
	color: #f2f2f2;
	font-size: 30px;
}
.accordion .fa-plus-circle:hover, .accordion .fa-minus-circle:hover {
	color: #ccc;
	cursor: pointer;
}
.fa-circle > .focus-icon {
	color: #ccc;
}
.panel {
  margin-left: 10px;
  padding: 5px 18px;
  display: none;
  background-color: white;
  overflow: hidden;
  border-left: 2px solid #ccc;
}
.panel > p {
	margin: 0;
}
.accordion-searchterm {
	font-family: Open Sans Semibold;
}
.accordion-alternatives {
	padding: 0 10px;
	margin-bottom: 0px;
}
#disambig-results {
	margin: 40px 0 5px 0;
	width: 100%;
	max-width: 800px;
}
.subheader {
	margin-top: 0;
}
#disambig-table {
	margin: 0 -0.5em;
	width: 100%;
	max-width: 800px;
}
table{
	table-layout: fixed;
	width: 100%;
}
.tbl-header{
	background: -webkit-linear-gradient(left, #d06a66, #a3382e); 
  	background: linear-gradient(to right, #d06a66, #a3382e);
  	border-top: 1px solid #a3382e;
  	border-left: 1px solid #a3382e;
  	border-right: 1px solid #a3382e;
	border-radius: 5px 5px 0 0;
	padding: 15px !important;
	color: #fff;
	margin: 0 auto;
	width: 100%;
 }
thead {
	width: 100%;
}
tbody {
	font-weight: 300;
	font-size: 12px;
}
.tbl-content{
	width: 100%;
	max-height: 400px;
	overflow-x:auto;
	margin: 0 auto;
	border: 1px solid #a3382e;
	border-radius: 0 0 5px 5px;
	padding: 0 15px 15px 15px!important;
	/*background: -webkit-linear-gradient(left, #d06a66, #aa5381);
  	background: linear-gradient(to right, #d06a66, #aa5381);*/
}
th{
	text-align: left;
	font-size: 12px;
	line-height: 1.9em;
	font-family: Open Sans Bold;
	padding: 0 7px;
}
td{
	padding: 7px 5px;
	text-align: left;
	vertical-align: middle;
	line-height: 1.2em;
	color: #4d4d4d;
	border-bottom: solid 1px rgba(255,255,255,0.1);
}
.table-tm-number {
	width: 8%;
	text-align: right;
	padding-right: 10px;
}
.table-language {
	width: 14%;
	text-align: center;
}
.table-publication, .table-collection, .tableprovenance {
	width: 22%;
}
.table-date {
	width: 12%;
	text-align: center;
}
table a:link { 
	color: #9b5f00;
	text-decoration: none;
	font-family: Open Sans Semibold;
}
table a:visited { 
	color: #9b5f00;
	text-decoration: none; 
}
table a:hover { 
	color: #00664a;
	text-decoration: none; 
}
table a:active { 
	color: #9b5f00; 
	text-decoration: none; 
}
::-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); 
}
#highlight-alternatives {
	width: 100%;
	border: 1px solid #a3382e;
	border-radius: 5px;
	background: rgba(255,255,255,0.9);
	padding: 5px 10px;
}
/********** Footer **********/
footer div.wrapper {
	border-top: 1px double #a3382e;
}
.dummy
	position: relative;
    min-height: 1px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    float: left;
    width: 25%;
	line-height: 2;
	font-family: RobotoLight;
	font-size: 0.9em;
	text-align: center;
}
.social:hover > i {
	color: #801515;
}

/********** Links **********/
a:link, a:visited, a:hover, a:active { 
	color: #801515;
	text-decoration: none;  
}
a > img {
	vertical-align: middle
}
#about a:link, #about a:visited, #about a:hover, #about a:active {
	color: #d76d6d;
}
#funfacts a:link, #funfacts a:visited, #funfacts a:hover, #funfacts a:active {
	color: #D79D6D;
}


/********** Headings **********/
h0 {
    font-family: RobotoRegular, sans-serif;
    font-weight: 500;
    font-size: 3em;
    text-transform: uppercase;
    text-align: center;
	letter-spacing: 7px;
	line-height: 2em;
    background: linear-gradient(to right, #801515, #d06a66, #ff9c00, #7BB848, #41ac89, #3282BD, #6666cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding: 0;
}
h1 {
    font-weight: normal;
    font-family: RobotoLight, sans-serif;
    color: #801515;
    font-size: 3em;
    line-height: 1.2em;
    border-bottom: 1px solid #801515;   
    margin: 30px 0 15px 0;
    padding: 0 0 15px;
    display: inline-block;
}
h2 {
	color: #4d4d4d;
	font-family: Open Sans Light, sans-serif;
	text-align: center;
	font-size: 1.2em;
}
.si-items > h2 {
	font-family: RobotoCondensed, sans-serif;
	font-weight: bold;
    font-size: 1.8em;
    padding: 0 0 15px;
    line-height: 30px;
}
#disambig-title {
	margin-top: 150px;
	margin-left: 0;
	padding-left: 10%;
	padding-bottom: 5px;
	border-bottom: 2px solid #4D4D4D;
	text-align: right;
	max-width: 350px;
	font-size: 1.4em;
}
h3 {
	font-family: RobotoLight, sans-serif;
	text-align: left;
	margin: 35px 0;
	font-weight: normal;
	font-size: 20px;
}
.si-items > h3 {
	margin-bottom: 10px;
}
h4 {
	color: #4d4d4d;
	font-family: RobotoCondensed, sans-serif;
	text-align: center;
	font-size: 1.2em;
	padding-bottom: 5px;
	margin: 0;
}
.si-items > h4 {
	margin-top: 15px;
}
#disambig-results > h4 {
	font-family: RobotoRegular, sans-serif;
	font-size: 18px;
	margin: 13px 0 5px 0;
	font-weight: normal;
	text-align: left;
}
h5 {
	font-family: RobotoLight, sans-serif;
	text-align: left;
	font-weight: 100;
	font-size: 18px;
	margin: 35px 0 10px 0;
	color: #801515;
}
#about h5 {
	color: #8FB93C;
	margin: 15px 0;
}
#funfacts h5 {
	color: #fff;
	margin-top: 0;
}
h6 {
	margin: 1.5em 0 1em 0;
	font-size: 14px;
	font-weight: bold;
}

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


/********** Media queries **********/
@media screen and (max-width: 1600px) {
	#disambig-details {
		margin-right: 300px;
	}
}
@media screen and (min-width: 1051px) {
	.container {
		width: 90%;
	}
}
@media screen and (max-width: 1050px) {
	.container {
		width: 90%;
	}
	#alivebanner {
		right: -100px;
	}
}
@media screen and (max-width: 990px) {
	#disambig-header {
		margin-left: 5%;
	}
	#header-section-right {
		margin-right: 5%;
	}
	.container {
		width: 90%;
		height: 70%;
	}
	#logo-small {
		display: inline-block;
		height: 75%;
		margin-top: 3px;
	}
	#big-logo {
		display: none;
	}
	#welcome-text {
		width: 100%;
	}
	#homepage-login {
		position: static;
		max-width: 250px;
		margin: 50px 0 0 15px;
	}
	h1 {
		font-size: 2.5em;
	}
	h3 {
		margin-bottom: 35px;
	}
	.si-items table {
		width: 100%;
		font-size: 0.9em;
	}
	.smallScreen {
		display: none;
	}
	#open-menu {
		position: relative;
		top: 55%;
		left: 40%;
	}
}
@media screen and (max-width: 790px) {
	.wrapper {
		width: 100%;
		margin: 0;
	}
	.menu ul {
		border: 1px solid #4d4d4d;
		background: #4d4d4d;
	}
	.toggle-nav:link {
		color: #f5f1ec;
		border: 1px solid #f5f1ec;
	}
	.toggle-nav:hover, .toggle-nav:active, .toggle-nav:visited {
		border: 1px solid #f5f1ec;
		background-color: #4d4d4d;
	}
	#partners, #funding {
		font-size: 0.9em;	
	}
	.container {
		width: 90%;
		height: 60%;
	}
	.search-form input {
		box-shadow: -1px 1px 2px rgba(0,0,0,0.1);
	}
	h1 {
		font-size: 2em;
	}
	h4 {
		margin-bottom: 0;
	}
	h5 {
		margin: 0 0 15px 0;
	}
	.partner-logo > a > img {
		max-width: 90%;
	}
	.border-text {
		height: 130px;
	}
	#about1, #about2 {
		font-size: 0.9em;
	}
	.si-items table {
		width: 100%;
		font-size: 0.8em;
	}
	#disambig-details {
		margin-left: 5%;
	}
	#tm-menu {
		display: none;
	}
	img#inscription, img#scroll, img#writing, img#louvre, img#vase, img#people1, img#people2, img#people3, img#people4, img#people5, img#globe, img#herodotos, img#twosix, img#scrabble, img#asterix, img#leftbracket, img#rightbracket, img#stamp, img#prof, img#spaghetti, img#spaghetti2, img#spaghetti3, img#books, img#books2, img#books3, img#books4, img#wand {
		display: none;
	}
	#abbform > h2, #authors > h2 {
        margin-top: 0;
        color: #0b0b0b;
        height: auto;
        margin-block-start: 0.83em;
        margin-block-end: 0.83em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }
	.smallScreen {
		display: none;
	}
	#mailingList, #subscriptionCount {
		display: none;
	}
	#open-menu {
		position: relative;
		top: 55%;
		left: 20%;
	}
	#close-button {
		display: none;
	}
	#funfacts {
		width: 90%;
	}
	#on-this-day1, #TM-gallery {
		margin: 20px;
		width: 90%;
	}
}
@media screen and (max-width: 655px) {
	#disambig-header {
		width: 100% !important;
	}
	#top > .flex {
		height: 100%;
	}
	#middle-content {
		width: 95%;
		padding-top: 20px;
		padding-bottom: 5px;
	}
	h0 {
		line-height: 1.6em;
		width: 95%;
		font-size: 2.1em;
	}
	#welcome-text p {
		font-size: 0.9em;
	}
	#welcome-text > button {
		margin-top: 15px;
	}
	#welcome-text > a {
		margin: 10px;
	}
	.welcome {
		margin-top: -25px;
	}
	#onefield > p {
		font-size: 0.9em;
		padding-right: 25px;
	}
	.fa-question {
		display: none;
	}
	#disambig-details {
		width: 85%;
		margin-right: 0;
	}
	#contact {
		display: none;
	}
	.no-border {
		padding-bottom: 0;
	}
	#CClicense-img {
		max-width: 55px;
	}
	.smallScreen {
		display: none;
	}
}
@media screen and (max-width: 375px) {
	.toggle-nav {
		margin-right: 10px;
	}
}