/* fh17.css */

/* For colour scheme see separate text file listing which colour is used where */

*.default { 
  color: black;
  background-color: white;
  font-family: Verdana, Geneva, sans-serif;
  width: 84vw;
  margin-left: 8vw;
  margin-right: 8vw;
   }
#top {
position: absolute;
top: 0px;
height: 0px;
}
.sitename {
  margin-top: 30px;
  line-height: 120px;
  font-size: 1.6em;
  font-weight: bold;
  vertical-align: middle;
  color: #b90000;
    }
/* change height/width in titlepic class if picture is a different size.
Site title in div alongside is centered in remaining space. */    
.titlepic {
    float:left;
    height: 120px;
    width: 120px;
    border:1px solid #bfbfbf;
    font-family: Verdana,sans-serif;
    font-weight: normal;
    color: black;
    font-size: 13px;
    }
.navbar {
    margin: 40px 0;
    }
.marg_norm { 
    margin: 0 10%;
    }
.main {
  font-family: Verdana,sans-serif;
  font-weight: normal;
  font-size: 13px;
  text-align: left;
}
.main_c {
  font-family: Verdana,sans-serif;
  font-weight: normal;
  font-size: 13px;
  text-align: center;
}
.main_b {
  font-family: Verdana,sans-serif;
  font-weight: bold;
  font-size: 13px;
  text-align: left;
}
.bold { 
  font-weight: bold;
}
.center { 
  margin-left: auto;
  margin-right: auto;
  text-align: center;
    }
.small {
  font-size: 83%;
}
.large {
  font-size: 115%;
}
.lpad20 {
  padding-left: 20px;
}
h1 {
  font-size: 1.2em;
  text-align: center;
    color: #b90000;
}
h2 {
  font-size: 0.9em;
  text-align: left;
}
  
.drop_menu {
	background:#d9d9d9;
	padding:0;
	margin:0;
	list-style-type:none;
	height: 32px;
	position: relative;
}
.drop_menu li {
    float:left;
    height: 32px;
}
.drop_menu li a {
    height: 24px;
	padding:8px 13px 0px 10px;
	display: inline-block;
	color: black;
	text-decoration:none;
	font:bold 12px verdana, sans-serif;
	border-left: 3px solid transparent;
}
.drop_menu li a:hover {
    border-left: 3px solid #b90000;
}
    /* Submenu */
.drop_menu ul {
	position:absolute;
	left:-9999px;
	top:-9999px;
	list-style-type:none;
}
.drop_menu li:hover {
    background:#f0f0f0; 
    display: inline-block;
}
.drop_menu li:hover ul {
    position: absolute;
    top: 32px;
    left: inherit;
	background:#d9d9d9;
	padding:0px;
}
.drop_menu li:hover ul li {
	float: left;
	}
.drop_menu li:hover ul li a {
	height: 24px;
	padding: 8px 13px 0 10px;
	background-color:#d9d9d9;
}
.drop_menu li:hover ul li a:hover {
    background:#f0f0f0;
    border-left: 3px solid #b90000;
}
.drop_init {
    width: 483px;
    overflow: hidden;
}
.drop_init li {
    float: left;
    width: 24px;
    padding: 0 8px 0 0;
    text-align: left;
}
.drop_init li a {
    float: left;
    width: 24px;
    padding: 0 8px 0 0;
    text-align: left;
}
/* homenames class very similar to namebar below */
ul.homenames {
	background: transparent;
	padding:0;
	margin: 25px 5% 20px 5%;
	list-style-type:none;
}
.homenames li {
	background:#d9d9d9;
	min-height: 100px;
	margin-top: 15px;
}
.homenames li a {
    height: inherit;
	padding:5px 5px 0px 5px;
	display:block;
	background:#d9d9d9;
	color: black;
	text-decoration:none;
	font: 13px verdana, sans-serif;
	border-left: 3px solid transparent;
	margin-bottom: 5px;
}
.homenames li a:hover {
    background:#f0f0f0; 
    border-left: 3px solid #b90000;
}
.homenames div:first-child {
    float:left;
    margin: 0px 10px 0px 5px;
    height: 100px;
    width: 100px;
    vertical-align: middle;
}
.homenames div:last-child {
    min-height: 100px;
    padding: 3px 5px 5px 0;
    overflow: hidden;
}
.homenames img {
    margin: 5px 0;
    height: 90px;
    width: 90px;
    border:1px solid #bfbfbf;
    }

/* namebar class very similar to homenames above */
.namebar {
	background: transparent;
	padding:0;
	margin:15px 5% 0 5%;
	list-style-type:none;
	vertical-align: top;
}
.namebar li {
	background:#d9d9d9;
}
.namebar li a {
	padding:5px 15px 5px 5px;
	display:block;
	background:#d9d9d9;
	color: black;
	text-decoration:none;
	font: 12px verdana, sans-serif;
	border-left: 3px solid transparent;
	margin-bottom: 5px;
}
.namebar li a:hover {
    background:#f0f0f0; 
    border-left: 3px solid #b90000;
}
.namebar div:first-child {
    width: 30px;
    font-size: 15px;
    font-weight: bold;
    float: left;
    padding: 0 0 2px 8px;
    }
.namebar div:last-child {
    padding: 1px 0 0 30px;
    font-size: 13px;
    overflow: hidden;
    }

/* .table1 used for Name Index pages - see .table3 & .table4 for variations;
.table5 has more padding in cells & th centered */

.table1 { 
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    font-size: 13px;
    text-align: left;
 } 
.table1 th { 
    padding: 15px 0 10px 0;
    text-align: left;
    font-size: 110%;
    font-weight: bold;
    color: #b90000;
 }
.table1 td {
    padding: 0 0 5px 0;
    vertical-align: top;
 }

 /* .table2 and additional .t2--- classes used for family pages */
 
.table2 { 
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border-spacing: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    font-size: 13px;
    text-align: left;
}
.table2 th {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 0 0 0;
}
.table2 td { 
    padding: 12px 0 0 0;
    vertical-align: top;
     }
.table2 td:first-child {
      font-weight: bold;
      vertical-align: top;
      padding: 12px 0 0 20px;
}
.t2left { 
    width: 110px;
}
.t2right { 
    width: 110px;
}
.t2pic { 
    text-align: right;
    vertical-align: top;
}
td.t2pic img {
    height: 120px;
    width: 90px;
    border:1px solid #bfbfbf;
    }
.t2ul td {
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 12px;
    }

/* .table3 based on .table1 but with first column bold - used for families.htm, bfams.htm etc & charts.htm */

.table3 { 
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    font-size: 13px;
    text-align: left;
 } 
.table3 th { 
    padding: 20px 0 10px 0;
    text-align: left;
    font-size: 110%;
    font-weight: bold;
    color: #b90000;
 }
.table3 td {
    padding: 0 0 5px 0;
 }
.table3 td:first-child {
      font-weight: bold;
 }
 
 /* .table4 based on .table1 but with columns 1 & 2 bold, extra line height & a bit more vertical
 padding, and th has site theme colour & larger text; used for Places (2 different tables) */
 
.table4 { 
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px; 
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    font-size: 13px;
    line-height: 145%;
    text-align: left;
 } 
.table4 th {
    padding: 5px 0 15px 0;
    text-align: left;
    font-size: 110%;
    font-weight: bold;
    color: #b90000;
 }
.table4 td {
    padding: 2px 0 5px 0;
    vertical-align: top;
 }
.table4 td:first-child {
    font-weight: bold;
}
.table4 td:nth-child(2) {
    font-weight: bold;
 } 
/* .table5 based on .table1 but th centered and more padding in cells - not currently used */
.table5 { 
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    font-size: 13px;
    text-align: left;
 } 
.table5 th { 
    padding: 5px 10px 10px 10px;
    text-align: center;
 }
.table5 td {
    padding: 0 10px 10px 10px;
    vertical-align: top;
 }
 .hrdefault {
    width: 90%;
    height: 2px;
    border: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    color: #bfbfbf;
    background-color: #bfbfbf;
}
 .chart { 
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    border-spacing: 0;
    font: bold 11px Verdana, Geneva, sans-serif;
    text-align: left;
     }
.chart th {
    text-align: left;
    font: bold 12px Verdana, Geneva, sans-serif;
    padding: 10px 0 15px 9px;
}
.arrow { 
    text-align: center;    
 }
td.arrow a {
    padding: 0 6px;
    font-size: 16px; 
    text-decoration: none;
    color: black;
}
td.arrow a:visited { 
    color: black;
     }
td.arrow a:hover {
    color: #b90000;
     }

/* cellm & cellf are identical, but are retained as separate in case any future changes require them to be different */
.cellm {
	background: #d9d9d9;
    margin-top: 0;
    margin-bottom: 0;
	border-left: 3px solid transparent;
    padding: 0;
}
td.cellm a {
    min-height: 40px;
    background: #d9d9d9;
	display:block;
	color: black;
	text-decoration: none;
	margin: 0 0 0 -3px;
	padding: 0;
	border-left: 3px solid transparent;
}
td.cellm a:visited { 
    color: black;
}
td.cellm a:hover { 
    color:black;
    background:#f0f0f0;
    border-left: 3px solid #b90000;
}
td.cellm div {
    height: 34px;
    display: table-cell;
    vertical-align: middle;
    padding: 3px 3px 3px 6px;
}     
.cellf {
	background: #d9d9d9;
    margin-top: 0;
    margin-bottom: 0;
	border-left: 3px solid transparent;
    padding: 0;
}
td.cellf a {
    min-height: 40px;
    background: #d9d9d9;
	display:block;
	color: black;
	text-decoration: none;
	margin: 0 0 0 -3px;
	padding: 0;
	border-left: 3px solid transparent;
}
td.cellf a:visited { 
    color: black;
}
td.cellf a:hover { 
    color:black;
    background:#f0f0f0;
    border-left: 3px solid #b90000;
}
td.cellf div {
    height: 34px;
    display: table-cell;
    vertical-align: middle;
    padding: 3px 3px 3px 6px;
    }     
.chtext {
    font-weight: normal;
    vertical-align: top;
    padding: 5px 3px 0 9px;
}
td.celljoin {
    border-left: 1px solid #bfbfbf;
}