/*
** GED-GEN Cascading Style Sheet
**
** Do not modify.  This file is automatically generated
** and will be overwritten.
*/
*{
	margin:0 auto;
}
.gg-body, td.gg-body
{
  /*margin:10px 10px 5px 10px;*/
  
  background:#7e0f0f;
  /*background-image:url(background_icon.png);*/
  /*background-attachment:fixed;*/
  
  
  background-repeat:no-repeat;
  font-family:Arial,Helvetica,sans-serif;
  color:#000000;
}

.gg-bfam
{
	
}

.gg-bfam .gg-tblgrp tbody
{
	
	width: 762px;
}
.gg-bsur
{
	color:#fff !important;
	text-align:justify;
	
	padding:2px;
	margin:0 auto;
	padding-left:20px;
	padding-right:20px;
	
}
.gg-bsur .gg-sur
{
	color:#fff !important;
	text-align:left;
	
}
.gg-bsur .gg-sur p
{
	padding-left:96px;
	padding-top:0;
	padding-bottom:0;
	background-color:#ffffff;
	/*color: #000000;*/
	background-image: url(https://thescottishcrown.org.uk/x/profile/genx/JamesIX_006.png);	
	background-position:center;
}
.gg-bsur .gg-sur p:hover
{
	padding-left:96px;
	   
		background-color:#ffffff;
	
}
.gg-bsur .gg-sur p a
{
	
	text-decoration:none;
	margin-top:8px;
	text-align:right;
	margin-bottom:8px;
	color:#ffffff;
	padding:5px;
	margin-left:-50px;
	transition:all 1.3s ease-in-out;
	-moz-transition:all 1.3s ease-in-out;
	-webkit-transition:all 1.3s ease-in-out;
	background-image: url(https://thescottishcrown.org.uk/x/profile/genx/JamesIX_007.png);
	background-size:cover;
	background-position:0 80px;
	opacity:0.875;
	
}
.gg-bsur .gg-sur p a:hover
{

	text-decoration:underline;
	margin-top:8px;
	margin-bottom:8px;
	background-color:#000000;
	color:#ffffff;
	padding:5px;
	margin-left:-50px;
	background-image: url(https://thescottishcrown.org.uk/x/profile/genx/JamesIX_007.png);
	background-size:cover;
	background-position:0 -20px;
	text-align:right;
		transition:all 1.3s ease-in-out;
	-moz-transition:all 1.3s ease-in-out;
	-webkit-transition:all 1.3s ease-in-out;

}
.gg-bidx
{
}
.gg-bbib
{
	
	background-color:#29415c;
	color:#fff !important;
	
}
.gg-bbib p
{
	
	background-color:#29415c;
	color:#fff !important;
	
}
.gg-bbib .gg-bibnav{
	text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-bbib .gg-bibnav a{
text-align: center;
    font-size: 125%;
    color: #f1e018 !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-brep
{
}
.gg-bthm
{
}
.gg-bsld
{
}
.gg-body A:link    { color:#0000ff; }
.gg-body A:visited { color:#800080; }
.gg-body A:active  { color:#ff0000; }

.gg-thmnav img,
.gg-sldnav img,
.gg-idxnav img,
.gg-bibnav img,
.gg-repnav img,
.gg-lnksur img,
.gg-lnkidx img,
.gg-lnkbib img,
.gg-lnkrep img,
.gg-lnkfam img,
.gg-lnkmed img
{
  border:0px;
  vertical-align:middle;
}

/* Dividers */

.gg-bar
{
  border:#F3E212;
}

.gg-bar.mt
{
 margin:0 auto;
  background-color:#FFFFFF;
  padding-bottom:10px;
  padding-top:10px;
  
}
.gg-bar.mb
{
  border-bottom:#F3E212 medium solid;
}
.gg-bar.tt
{
  border-top:#F3E212 thin solid;
  margin-top:10px;
  margin-bottom:5px;
  padding:10px 0px;
  
  background-color:#ffffff;
}
.gg-cbar /* Most common surnames */
{
  margin-left:45%;
  margin-right:45%;
  margin-top:10px;
  margin-bottom:5px;
  border-top:#F3E212 thin solid;
}

/* Titles for Index and Surname pages */

.gg-title
{
  text-align:center;
  font-size:200%;
  margin-top:10px;
  background-color:#000;
  margin:0 auto;
  color:#fff;
}
.gg-subtitle
{
   text-align:center;
  font-size:110%;
  margin-top:10px;
  background-color:#fff;
  margin:0 auto;
  color:#000;
}
.gg-famtitle
{
  text-align:center;
  font-size:140%;
  margin-top:10px;
  margin-bottom:5px;
  background-color:#fff;
  padding:1%;
  margin:0 auto;
}
.gg-namtitle /* Name within titles */
{
  margin:0 auto;
  width:80%;
  text-align:center;
}

/* Main text */

.gg-body pre
{
  margin:0px;
  font-family:"Courier New",Courier,monospace;
  white-space:pre;
}
.gg-idx
{
  font-size:100%;
  white-space:pre;
  font-family:"Courier New",Courier,monospace;
  border-top:20px solid #F3E212;
  margin:0 auto;
  text-align:center;
  padding-top:16px;
}
.gg-idx span
{

    
  color:#FFFFFF !important;
  text-decoration:none;
  width:256px;
	padding:4px;
	/*background-color:blue;*/
	/*border:solid 2px #ffffff;*/
    transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
}
.gg-fam
{
	padding-left: 2ex;
    font-size: 90%;
    /* white-space: pre; */
    width: 742px;
    font-family: "Courier New",Courier,monospace;
	margin:0 auto;
}
.gg-sur
{

	background-color:#fff;
      width: 800px;
  
  }
.gg-body a:link {

}
.gg-sur p
{

    /* background-color: yellow; */
 
	
		
    width: 400px;
    padding: 3px;
    
    border: solid 1px #7e0f0f;
}
.gg-sur p a{
	/*display: grid;*/
}
.gg-sur p a:link{
    /*color: #7e0f0f;*/
    width: 350px;
    display: inline-grid;
	font-size:145%;
    /*background-color: cadetblue;*/
/*display: contents;*/
}
.gg-bib
{
}
.gg-rep
{
}

.gg-lbl /* Group sheet labels */
{
  vertical-align:top;
}
.gg-lblpmt /* Label prompt */
{
}
.gg-date /* Date fields */
{
}
.gg-place /* Place fields */
{
}
.gg-tblimg /* Image table */
{
  width:100%;
  border-collapse:collapse;
  border:0px;
  padding:0px;
}
.gg-tblimg td.gg-tblimggrp
{
  vertical-align:top;
}
.gg-tblimg td.gg-tblimgpic
{
  vertical-align:top;
  text-align:center;
}
.gg-tblgrp /* Group Sheet table */
{

  
    /*border-collapse: collapse;*/
	display:flex;
    padding: 8px;
    border: solid 1px black;
	background-image: url(https://thescottishcrown.org.uk/x/profile/genx/JamesIX_002.png);
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
}
.gg-tblgrp tbody /* Group Sheet tbody */
{
  background-color:#000;
  display:block;
      opacity: 0.94;
}
.gg-tblgrp tbody tr /* Group Sheet tbody */
{
  background-color:#000;
}
.gg-tbllbl /* Label table */
{
  text-align:left;
  border-collapse:collapse;
  border:0px;
  padding:0px;
  width:100%;
}
.gg-tbllbl td
{
  vertical-align:baseline; /* account for superscripts */
}

/* Custom features */

.gg-bio /* Biography link */
{
}
.gg-nar /* Narrative link */
{
}
.gg-lblrel /* Emphasized child labels */
{
  color:#ff0000;
  background:transparent;
}
.gg-rel /* Relationship text */
{
  font-style:italic;
}
.gg-imp /* Imported text */
{
  margin-top:1em;
  margin-bottom:1em;
}
.gg-grp /* Group image area */
{
  text-align:center;
}
.gg-grpimg /* Group image */
{
}
.gg-indimg /* Individual image */
{
}
.gg-cap /* Image caption */
{
  font-size:80%;
}

/* Multimedia Gallery */

.gg-thmlnk /* Link to Gallery */
{
  margin-top:5px;
  margin-bottom:5px;
}
.gg-thmlnk.gg-aind /* Individual */
{
  white-space:normal;
  font-family:Arial,Helvetica,sans-serif;
}
.gg-thmlnk.gg-afam /* Family */
{
}
.gg-thmlnk.gg-asrc /* Source */
{
}
.gg-thmlnk.gg-abib /* Bibliography */
{
}
.gg-thmtitle /* Gallery title */
{
  text-align:center;
  font-size:140%;
  margin-top:10px;
  margin-bottom:5px;
}
.gg-thmgal /* Thumbnail Gallery table */
{
  display:table;
  margin-left:2em;
  margin-right:2em;
  empty-cells:show;
  border-collapse:collapse;
  width:95%;
}
.gg-thmgal td /* Table cell */
{
  display:table-cell;
  vertical-align:top;
  border-collapse:collapse;
  padding:1em;
  text-align:center;
  width: 33%;
}
.gg-thmimg /* Thumbnail image */
{
  text-align:center;
  border-left:thin solid gray;
  border-top:thin solid gray;
  border-right:thin solid black;
  border-bottom:thin solid black;
}
.gg-thmfil /* Thumbnail file name */
{
  text-align:center;
  font-size:80%;
}
.gg-thmcap /* Thumbnail caption */
{
  text-align:center;
  font-size:80%;
}
.gg-thmref /* Thumbnail reference number */
{
  text-align:center;
  color:gray;
  font-size:80%;
}
.gg-thmnav /* Thumbnail navigation links */
{
  margin-top:10px;
  margin-bottom:5px;
  text-align:center;
}
.gg-sldtitle /* Slide title */
{
  text-align:center;
  font-size:140%;
  margin-top:10px;
  margin-bottom:5px;
}
.gg-sldgal /* Slide image area */
{
  text-align:center;
}
.gg-sldimg /* Slide image */
{
  text-align:center;
  border-left:thin solid gray;
  border-top:thin solid gray;
  border-right:thin solid black;
  border-bottom:thin solid black;
}
.gg-slddwn /* Slide download link */
{
  text-align:center;
  font-size:80%;
}
.gg-sldfil /* Slide file name */
{
  text-align:center;
  font-size:80%;
}
.gg-sldcap /* Slide caption */
{
  text-align:center;
  font-weight:bold;
}
.gg-slddate /* Slide date */
{
  text-align:center;
}
.gg-sldref /* Slide reference number */
{
  text-align:center;
  color:gray;
  font-size:80%;
}
.gg-sldnot /* Slide notes */
{
  text-align:left;
}
.gg-sldsrc /* Slide source citations */
{
  text-align:left;
}
.gg-sldnav /* Slide navigation links */
{
  margin-top:10px;
  margin-bottom:5px;
  text-align:center;
}
.gg-objaud /* Object: mm-audio.txt */
{
  width:200px;
  height:50px;
}
.gg-objhtm /* Object: mm-html.txt */
{
  width:100%;
  height:400px;
  color:black;
  background-color:white;
  border:thin solid gray;
}
.gg-objswf /* Object: mm-flash.txt */
{
}
.gg-objoth /* Object: mm-other.txt */
{
}
.gg-objtxt /* Object: mm-text.txt */
{
  width:100%;
  height:400px;
  color:black;
  background-color:white;
  border:thin solid gray;
}
.gg-objvid /* Object: mm-video.txt */
{
  width:320px;
  height:260px;
}

/* Index page */

.gg-idxjmp /* Jump tabs */
{
  text-align:center;
  /*margin-bottom:5px;*/
  font-size:125%;
  padding:2%;
  background-color:#000 !important;
  color:#fff !important;
  text-decoration:none;
}
.gg-idxjmp a /* Jump tabs */
{
  text-align:center;
  color:#FFFFFF;
  text-decoration:none;
  font-size:70%;
	padding:1%;
	
	background-color:black;
	/*border:solid 2px #ffffff;*/
    transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
}
.gg-idxjmp a:hover /* Jump tabs */
{
  text-align:center;
  color:#FAF37A !important;
  text-decoration:none;
  font-size:105%;
  transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
}
.gg-idxlet /* Letters */
{
  font-weight:bold;
  font-size:160%;
  
}
.gg-idxsur /* Surname */
{
  margin-bottom:0px;
  	
	background-color:#000000;
	border-top:solid 0.25px #ffffff;
	border-bottom:solid 0.25px #ffffff;
    text-align:center;
	padding:0.75%;
  color:#FFFFFF !important;
  text-decoration:none;
  font-size:105%;
  transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
}
.gg-idxgvn /* Given Names */
{
  margin:0px;
  
    margin-bottom:0px;
  	
	background-color:#000000;

	border-bottom:solid 0.25px #ffffff;
    text-align:center;
	padding:0.75%;
  color:#FFFFFF !important;
  text-decoration:none;

	background-image: url(https://thescottishcrown.org.uk/x/profile/genx/JamesIX_006.png);
	background-position:-400px 50%;
	background-repeat:no-repeat;
	background-size:cover;
	opacity:0.95;
  font-size:105%;
  transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
}
.gg-idxgvn a/* Given Names */
{
  /*margin:0px;
  
    margin-bottom:0px;
  	
	background-color:#000000;

	border-bottom:solid 0.25px #ffffff;
    text-align:center;
	padding:0.75%;
  color:#FFFFFF !important;
  text-decoration:none;
  font-size:105%;
  */
  background-color:#000000;
  text-align:center;
  width:650px;
    display: table;
	color:#fff !important;
	padding:0px;
  transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
  	font-size:100%;
	border-bottom:solid 1px blue;
}.gg-idxgvn a:hover/* Given Names */
{
  /*margin:0px;
  
    margin-bottom:0px;
  	
	background-color:#000000;

	border-bottom:solid 0.25px #ffffff;
    text-align:center;
	padding:0.75%;
  color:#FFFFFF !important;
  text-decoration:none;
  font-size:105%;
  */
	background-color:#F3E212 ;
  /*text-align:justify;*/
  width:650px;
    display: table;
	padding:8px;
	color:#000 !important;
	font-size:120%;
  transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
}
.gg-idxgvn p
{
  margin:0px 0.1em;
    text-align:left !important;

  
}

a:-webkit-any-link{
	
	    text-decoration: none;
}
a:-moz-any-link{
	
	    text-decoration: none;
}
a:any-link{
	
	    text-decoration: none;
}
.gg-idxnav /* Navigation links */
{
  /*margin-top:10px;
  margin-bottom:5px;*/
  text-align:center;
  
  
  text-align:center;
  color:#FFFFFF !important;
  text-decoration:none;
  font-size:70%;
  padding:2%;
  background-color:#000000;
  margin:0;
    transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
  
}
.gg-idxnav a{
 text-align:center;
  color:#FFFFFF !important;
  text-decoration:none;
  font-size:70%;
	padding:1%;
	/*background-color:blue;*/
    transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;
}
.gg-idxpg /* Page number */
{
  font-weight:bold;
  
   text-align:center;
  color:#FFFFFF !important;
  text-decoration:none;
  font-size:70%;
	padding:1%;
	background-color:white;
	/*border:solid 2px #ffffff;*/
    transition:all ease-in-out 0.5s;
  -webkit-transition:all ease-in-out 0.5s;
  -moz-transition:all ease-in-out 0.5s;

}

.gg-idxico /* Icons */
{
  border:0px;
}

/* Bibliography page */

.gg-bibnbr /* Entry number */
{
  font-weight:normal;
  white-space:pre;
  float:left;
  width:3em;
}
.gg-bibent /* Entry title */
{
  margin-top:1em;
  font-weight:bold;
  text-indent:-3em;
  padding-left:3em;
}
.gg-bibbdy /* Entry body */
{
  margin:0px 3em;
}
.gg-bibtxt /* Text */
{
  margin:1ex 1ex 0ex;
}
.gg-bibcmt /* Comments */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-bibevt /* Events */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-bibagt /* Agency */
{
  font-size:90%;
}
.gg-bibdta /* Data notes */
{
  font-size:90%;
}
.gg-bibrep /* Repository citation */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-bibref /* User reference */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-bibchg /* Change date */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-bibnav /* Navigation links */
{
  margin-top:10px;
  margin-bottom:5px;
  text-align:center;
}

/* Repository page */

.gg-repnbr /* Entry number */
{
  font-weight:normal;
  white-space:pre;
  float:left;
  width:3em;
}
.gg-repent /* Entry title */
{
  margin-top:1em;
  font-weight:bold;
  text-indent:-3em;
  padding-left:3em;
}
.gg-repbdy /* Entry body */
{
  margin:0px 3em;
}
.gg-repcmt /* Comments */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-repadr /* Address */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-reptel /* Phone */
{
  font-size:90%;
}
.gg-repfax /* FAX */
{
  font-size:90%;
}
.gg-repeml /* E-Mail */
{
  font-size:90%;
}
.gg-repweb /* Web */
{
  font-size:90%;
}
.gg-repref /* User reference */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-repchg /* Change date */
{
  font-size:90%;
  margin-top:1ex;
}
.gg-repnav /* Navigation links */
{
  margin-top:10px;
  margin-bottom:5px;
  text-align:center;
}

.gg-secmost /* Most common surnames section */
{
  text-align:center;
  font-size:110%;
  background-color:#000;
  color:#fff !important;
  border-bottom: 2px solid black;
  padding-bottom:4px;
    padding-top:4px;
	margin-bottom:8px;
}
.gg-secchild /* Children section */
{
  font-size:110%;
  font-weight:bold;
  text-align:center;
}

/* Additional information section */

.gg-isec /* Title */
{
  text-align:center;
  font-weight:bold;
  font-size:110%;
  margin-top:10px;
  margin-bottom:5px;
}
.gg-ipmt /* Prompt */
{
  font-weight:bold;
}
.gg-ievt /* Event */
{
  margin-top:0px;
  margin-bottom:0px;
}
.gg-ievt > p /* Event */
{
  margin-top:0px;
  margin-bottom:5px;
  text-indent:-1em; /* hanging indent */
  padding-left:1em;
}
.gg-inote /* Notes; Marriage Notes */
{
}
.gg-enote /* Fact notes */
{
  margin:1ex 1ex;
}
.gg-einote /* Fact notes (inline) */
{
  white-space:normal;
  margin:1ex 1ex;
}

/* Footnotes section */

.gg-ftsec /* Title */
{
	 color:#fff;
  text-align:center;
  font-size:90%;
  margin-top:15px;
  margin-bottom:5px;
  font-weight:bold;
  text-decoration:underline;
}
.gg-ftnote /* Footnote */
{
  font-size:90%;
  color:#fff;
  padding-bottom:8px;
}
.gg-fttxt /* Text */
{
  margin:1ex;
}
.gg-ftcmt /* Comments */
{
  margin:0px;
  font-size:90%;
}
.gg-ftdtl /* Details */
{
  margin:0px;
  font-size:90%;
}

/* Interpage navigation links */

.gg-lnksur /* Surname page */
{
  text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnksur a/* Surname page */
{
  text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnkidx /* Index page */
{
  
  text-align: center;
    font-size: 125%;
    color: #fff;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}

.gg-lnkidx a /* Index page */
{
  
  text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnkbib /* Bibliography page */
{
  text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnkbib a/* Bibliography page */
{
	text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnkrep /* Repository page */
{
  text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnkrep a/* Repository page */
{
	text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnkfam /* Family page */
{
  text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;

}
.gg-lnkfam a{
	text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-lnkmed /* Media Gallery */
{
  text-align: center;
    font-size: 125%;
    color: #fff !important;
    background-color: #000;
    padding: 1%;
    margin: 0 auto;
}
.gg-page
{
  font-size:90%;
}
.gg-ver /* Version */
{
  text-align:center;
  font-size:80%;
  margin:1ex auto;
}
.gg-gg
{
  font-weight:bold;
  font-style:italic;
  font-family:Arial,Helvetica,sans-serif;
}
.gg-rev /* Revised */
{
	text-align: center;
    font-size: 125%;
    color: #fff;
    background-color: #7e0f0f;
    padding: 1%;
    margin: 0 auto;
}
.gg-copy /* Copyright */
{
  text-align: center;
    font-size: 125%;
    color: #fff;
    background-color: #7e0f0f;
    padding: 1%;
    margin: 0 auto;
	border-bottom:solid 2px royalblue;
}
.gg-fntund /* Font Underline */
{
  text-decoration:underline;
}
.gg-fntsc /* Font Small-caps */
{
  font-variant:small-caps;
}
