/*  FULL BODY */
html {
       overflow-y: scroll;
}
body {
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #485E48;
	color: #000000;
}
body img {
	border: 0px;
	text-decoration: none;	
}
/* MENU */

#menu {
  width: auto;
}
#menu ul {
  	list-style: none;
  	margin: 0;
  	padding: 0;
  	border: 0;
 	font-size: 14px;
  	font-family: Helvetica;
  	line-height: 1;
  	background: #485E48 url("../images/pattern.png") repeat left top;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #273327;
	-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
  	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
}
#menu ul:before {
  	content: '';
  	display: block;
}
#menu ul:after {
  	content: '';
  	display: table;
  	clear: both;
}
#menu a,
#menu a:link,
#menu a:visited {
  padding: 15px 20px;
  display: block;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 0 -1px 1px #060706;
  border-right: 1px solid #273327;
}
#menu a:hover {
  color: #060706;
  text-shadow: 0 1px 1px #5e7b5e;
}

#menu li:first-child a:hover {
	-webkit-border-radius: 4px 0 0 4px;
	-moz-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
}

#menu li.last a:hover {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#menu li {
  float: left;
}
#menu ul li ul {
	margin-left: -1px;
	padding: 0;
	position: absolute;
	top: 220px;
	width: 145px;
	display: none;
	opacity: 0;
	visibility: hidden;
	border-radius: 0;
	z-index: 100;
}
#menu ul li ul li {
	display: block;
	color: #fff;
	width: 100%;
	border-bottom: 1px solid #273327;
}
#menu ul li ul li:last-child {
	border: none;
}
#menu ul li ul li a,
#menu ul li ul li a:link {
	display: block;
	width: 145px;
	padding-right: 0;
	padding-left: 0;
	text-align: center;
	border-right: none;
}
#menu ul li:hover ul {
	display: block;
	opacity: 1;
	visibility: visible;
}
/*  MAIN CONTAINER */
#container {
	margin: 10px auto;
	padding: 20px;
	background-color: #ffffff;
	width: 90%;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	max-width: 1000px;
}
/* HEADER */
#banner {
	background-position: center;
	padding: 10px;	
	background-color: #ffffff;
	background-image: url('../../images/headbg.jpg');
	height: 125px;
	background-repeat: no-repeat;
	color: #000000;
}
.logo {
	padding: 0px 0px 0px 0px;
	font-weight: 500;
	color: #485E48;
	background: transparent;
	text-decoration: none;
	text-align: center;
	font-size: 225%;
    margin-top: 1px;
	font-family: 'Della Respira', serif;	
}
/* SITE LINKS */
a:link {
	font-weight: 500;
	/*color: #004145; */
	color: #000000;
	background: transparent;
	text-decoration: underline;
}
a:visited {
	font-weight: 500;
	color: #000000;
	background: transparent;
	padding: 0px;
	text-decoration: underline;
}
a:hover {
	font-weight: 500;
	text-decoration : none;
	background: #C8DEC8;
	color: #000000;
}

.logo a, .logo a:hover {
	text-decoration: none;
	color: #485E48;
	background: transparent;
}
a:active {
	font-weight: 500;
	text-decoration : underline;
	background: #C8DEC8;
	color: #000000;
}

/* COLUMN WRAPPER */
#column-wrapper {
	clear: both;
}
/* MAIN CONTENT AREA */
#content {
	margin-right: 0px;
	margin-left: 0px;
	padding: 5px;
	text-align: justify;
	vertical-align: top;
}
/* SURNAME LIST *//*
#surnames {
/*  border: 1px solid #485E48;
	border-radius: 8px;
	text-decoration: none;
	width: 80%;
	margin-left: 78px;
	margin-top: 30px;
} 
#surnames ul {
	display:inline-block;
    list-style-type: none;
    float:none;
}*/
/* FOOTER */
#footer {
	border-top: 2px solid #485E48;
	clear: both;
	padding: 5px;
	background-color: rgb(255, 255, 255);
	text-align: center;
	font-size: 80%;
	font-weight: normal;	
}
#footer p {
	margin-top: 0px;
	margin-bottom: 0px;
}
hr {
	width: 100%;
	text-align: center;
	background-color: #485E48;
	height: 1px;
	border: 0;
}
/*
hr {
	width: 90%;
	text-align: center;
	background-color: #004145;
	height: 5px;
}
	border-top: 2px solid #485E48;
	clear: both;
	padding: 5px;
	background-color: rgb(255, 255, 255);
	text-align: center;
	font-size: 80%;
	font-weight: normal;
	}
*/
#footer-logo {
	background-position: center;
	background-color: #ffffff;
	background-image: url('../../images/logogreen.gif');
	height: 18px;
	background-repeat: no-repeat;
	color: #000000;
}
/* HEADER TAGS */
h1, h2, h3, h4 {
	color: #485E48; /*dk green*/;
	background-color: inherit;
	font-family: 'Della Respira', serif;
}
h1 {
	font-size: 1.5em;
}
h2 {
	font-size: 1.2em;
}
h3 {
	font-size: 1.2em;
}
h3.larger{
	font-size: 1.5em;
}
h4 {
	font-size: 1.5em;
}
/* MISC STYLES */
.center {
	text-align: center;
}
.no-margin {
	margin: 0px;
}
.smtxt {
font-size: small;
}
.childtable {
font-size: 0.950em;
 }
.centertable {
    margin-left:auto; 
    margin-right:auto;
  }
.tllinks{
	text-align: center;
	text-decoration : none;
	font-size: 1.0em;
	color: #485E48; /*dk green*/;
	background-color: inherit;
	font-family: 'Della Respira', serif;
  }
p.sources {
    font-style: italic;
} 
.centerlink {
    margin-left:auto; 
    margin-right:auto;
	text-align: center;
	padding-top: 10px;
} 
b {
	font-weight: 600;
}
b a {
	font-weight: bold !important;
}

/* NAME INDEX PAGE STYLES */
	/* Family Tree Name Styles */ 
i{
	font-family: 'Della Respira', serif;
	font-size: 85%;
	padding: 5px;	
	color: #485E48;
}

	/* Anchor Link Styles */ 
a.indexstyle {
	    color: #485E48;
		font-family: 'Della Respira', serif;
		font-size: 1.2em;
		font-weight: bold; 
}

	/* Back to Top Link Styles */ 
a.indexstylebtt {
	    color: #485E48;
		font-family: 'Della Respira', serif;
		font-size: .75em;
		font-weight: normal !important;
}
	/* Anchor Padding */ 
a.menuspacer {
		padding-top: 35px;
}

/* Sticky menu CSS for surname page */
#stickymenudiv {
	background: #fff;
	z-index: 10;
}

body.is-sticky #stickymenudiv {
	width: 100%;
	left: 0;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

#stickymenudiv ul { 
	padding: 5px;
	list-style-type: none;
	display: flex;
	justify-content: space-around;
	align-items: center;
	max-width: 1000px;
	text-align: center;
}

@media(max-width: 767px) {
	#stickymenudiv ul {
		display: block 
	}
}
#stickymenudiv li {
	display: inline-block;
	
}

body.is-sticky #stickymenudiv ul {
	margin: 0 auto; 
}
/* end sticky */

/* surname list box */

.surname-btn-wrapper {
	text-align: center;
	margin: 10px 0;
}
#view-surname {
	color: #485E48;
	font-family: 'Della Respira', serif;
	font-size: 1.2em;
	font-weight: bold; 

}
#surname-list {
	display: none;
	list-style-type: none;
	flex-wrap: wrap;
}

#surname-list.open {
	display: flex;
}
#surname-list  li{
	width: 25%;
	margin: 5px 0;
}

	@media(max-width: 767px) {
#surname-list  li{
	width: 50%;
}
	}
	
/* beginning of hidden surnames */
.surname-listings blockquote {
	display: none;
}

.surname-listings h3 {
	padding-left: 25px;
	position: relative;
	cursor: pointer;
}
.surname-listings h3:before {
	content: '';
	display: block;
	width: 10px;
	height: 2px;
	background: #485E48;
	position: absolute;
	left: 5px;
	top: 13px;
}
.surname-listings h3:after {
	content: '';
	display: block;
	width: 2px;
	height: 10px;
	background: #485E48;
	position: absolute;
	left: 9px;
	top: 9px;
	transition: all 0.1s;
}
.surname-listings h3.open:after {
	opacity: 0;
}
