@charset "utf-8";
/* CSS Document */

/* Universal settings */
@media (orientation: portrait) {
	body { flex-direction: column; }
}

@media (orientation: landscape) {
	body { flex-direction: row; }
}

section, article, nav, aside, header, footer, main { display: block;  }

.content {
    display: table;
	position: relative;
}

* { box-sizing: border-box; }

/* TEXT SIZE REFERENCE medium is 12pt = 16px = 1em = 100% */

h1, h2, h3, h4 {
	color: black;
	text-align: center;
}

body {
   height: 100vw;
   width: 100vw;
   display: table;
   margin: 0;	
   background-color: white;
   font-size: 3.5vw;
   color: black;
   padding: 1.2em;
   font-family: Optima, Verdana, Geneva, sans-serif;
   //font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
   //font-weight: bold;
}

@media only screen and (min-width: 320px) {
body {
	font-size: 105%;
}
header { font-size: 120%; }
}

@media only screen and (min-width: 375px) {
 /* iPhone 6 */
body {
	font-size: 110%;
	//color: pink;
    font-family: Optima, Verdana, Geneva, sans-serif;
}
header { font-size: 125%; }
}

@media only screen and (min-width: 414px) {
body {
	font-size: 115%;
    font-family: Optima, Verdana, Geneva, sans-serif;
}
header { font-size: 130%; }
}

@media only screen and (max-width: 568px) {
.navlist ul {
  margin-left: 0;
  padding-left: 0;
  padding-right: 1em;
  list-style-type: none;	
}

.navlist ul li {
  display: block;
  padding-right: 1em;	
}	
}

@media only screen and (min-width: 569px) {
.navlist ul {
  margin-left: 0;
  padding-left: 0;
  padding-right: 1em;
  list-style-type: none;	
}

.navlist ul li {
  display: inline;
  padding-right: 1em;	
}
	
body {
	font-size: 120%;
	/* font-family: "Courier New", Courier, monospace; */
}
header { font-size: 150%; }
}

@media only screen and (min-width: 640px) {
body {
	font-size: 125%;
	/* font-family: Tahoma, Geneva, sans-serif; */
}
header { font-size: 175%; }
}

@media only screen and (min-width: 960px) {
body {
	font-size: 130%;
	/* font-family: "Comic Sans MS", cursive; */
}
header { font-size: 200%; }  
}

@media only screen and (min-width: 1024px) {
body {
	font-size: 135%;
	/* font-family: Georgia, "Times New Roman", Times, serif; */
}
header {
	font-size: 250%;
} 
}

@media only screen and (min-width: 1280px) {
body {
	font-size: 150%;
	/* font-family: "Courier New", Courier, monospace; */
}
header {
	font-size: 300%;
}
}

/* This will contain the title bar within the viewport */
img { max-width: 100%; }

tr { vertical-align: top; }

a {
	text-decoration: none;
	color: black;
	border-bottom: 1px dashed #0000ff;
}

a:hover { 
    background-color: #fffff0;
	font-weight: bold; 
	font-style: italic;
	padding: .25em .25em .25em .25em;
}

a:visited {
	text-decoration: none;
	color: #6a0dad;
	border-bottom: 1px dashed #6a0dad;
}

.homeicon {
	border-radius: 1.5em;
}
	 

.updatetime {
	font-size: 62%; 
	background-color: #ffffee;
	color: blue; 
	font-weight: bold;
    font-variant: small-caps;
}

nav {
	display: block;
	background-color: #eeeeee;
}

 
 .caption {
   font-size: smaller;
   font-weight: bold;	 
 }
 
 .superscript {
   font-size: small;
   vertical-align: super;	 
}

.h4button { 
	 border: .2em ridge #dddddd;
	 padding .2em;
	 cursor: pointer; 
	 border-radius: 2em;
	 box-shadow: 0 0 .2em #003300; 
}

.pagesection {
	background-color: white;
    display: none;
    visibility: hidden;
	overflow-y: auto;
}

.bulletpoint {
   cursor: pointer;	
}

 @media only screen and (min-width: 569px) {
.pagesection {
	background-color: white;
    display: block;
	visibility: visible;
	overflow-y: auto; 
 }
}


/* PARISHCONTAINER */

.parishcontainer {
  display: flex; 
  flex-direction: column;	
}

.parishbox {
   //font-size: 95%;	
}

@media only screen and (min-width: 767px) {
.parishcontainer { 
  display: flex; 
  flex-direction: row;
}  
.parishbox {
  //font-size: 100%;
}
}



/* CONTAINERBOX2 */

.container2 {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	visibility: none;
	background-color: white;
}

.box2 {
	padding-right: 2em;
}

@media only screen and (min-width: 569px) {
.container2 {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	visibility: visible;
	background-color: white;
	opacity: 1;
} 
}



/***** GENERAL PURPOSE DO-DADS WIDGETS ***/

.shamrock {
	font-size: small;
	font-weight: bold;
}

.checkmarkbigbold {
	font-size: large;
	color: #006600;
	font-weight: bold;
}

.checkmarkbold {
    color: #00aa00;
	font-weight: bold;	
}

/* Page last updated */
.accent {
    color: red;
	font-weight: bold;
	font-size: smaller;
}

/* used on civil parish pages */
.indent {
	margin-left: 1.5em;
}

/* whitespace */
.ws { color: white; }

/* green bullet point ; use &bull; */
.greenbull {
	font-size: 150%;
	font-weight: bold;
    color: darkgreen;
}

.redbull {
	font-size: 150%;
	font-weight: bold;
	color: red;
}

.nobulletlist {
	list-style-type: none;
}

.name {
	font-weight: bold;
	font-style: italic;
}

.surnamecontainer { 
  display: flex; 
  flex-direction: row;
  flex-wrap: wrap;
  background-color: white;
}

.thing {
  border-width: .1em;
  outline-width: .1em;
  // border and padding break the flex column wrap
  padding: .3em;
  margin: .4em;
}

/* Items stacked on each other separated by line break */
.itemlist {
  padding-left: 1em;
  margin-left: 1em;
  line-height: 150%;	
}

.surname {
	font-weight: bold;
	padding: .1em;
	border:  .1em groove darkorange;
	outline: .1em groove darkorange;
	background-color: #fffff0;
}

.inputfield {
    border: .15em inset darkgreen;
	background-color: #fffff0;
	font-size: inherit;
	font-family: inherit;	
}

.agnomina {
	outline: .1em inset darkgreen;
	border:  .1em ridge #ffffbb;	
}

/* LINK LIST */

.linklist {
	 padding-left: 1em;
	 margin-left: 1em;
	 list-style-type: none;	
}

.linklist li {
	 padding-bottom: .5em;
}


/****************/
/* COLOR THEMES */                 
/****************/

/* SURNAMES */
.snamecolor {
    background-color: #ffffbb;
}

.snamecolor2 {
	background-color: #fffff8;
	width: 50%;
}

/* PLU DISTRICTS */
.districtcolor {
	color: white;
	background-color: #444F48;
}

.districtcolor2 {
 	background-color: #a0b0a0;   	
}

/* ADMINISTRATIVE */
.admincolor {
	background-color: #C1CDF5;
}


/* BARONIES */
.baronycolor {
    background-color: #a0e8ff;	
}

/* CIVIL PARISHES */
.cpcolor {
	background-color: #eeeef8;
}

/* ROMAN CATHOLIC */
.rccolor {
    background-color: #88bbee;
}

.rccolor2 {
    background-color: #eeeeee;
}

/* CHURCH OF IRELAND */
.coicolor {
   background-color: #ff6600;
}

/* TITHE */
.tabcolor {
   background-color: #eeffee;
}

/* SUBMISSION PAGES */
.submitcolor {
   background-color: #eeffee;	
}

/* LINK COLOR */
.linkcolor {
	background-color: #BCC6CC;
}

/* WEBSITE */
.aboutcolor {
    background-color: #F5F5DC;	
}


/*****************/
/* CHUNKY BUTTON */
/*****************/
input.button.green, a.button.green, span.button.green {
	font-size: 1.1em;
	text-decoration: none;
    text-align: center;
	display: block;
    background: #cae285;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#cae285), to(#a3cd5a));
    background: -moz-linear-gradient(#cae285, #a3cd5a);
    background: linear-gradient(#cae285, #a3cd5a);
    border: solid .1em #aad063;
    border-bottom: solid 3px #799545;
    box-shadow: inset 0 0 0 1px #e0eeb6;
	color: black;
    text-shadow: 0 1px 0 #d0e5a4; 
}
    
input.button.green:hover, a.button.green:hover, span.button.green:hover {
	font-size: 1.1em;
 	text-decoration: none;
    text-align: center;
	display: block;
    background: #abd164;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#abd164), to(#b9d972));
    background: -moz-linear-gradient(#abd164, #b9d972);
    background: linear-gradient(#abd164, #b9d972);
    border: solid .1em #98b85b;
    border-bottom: solid 3px #799545;
    box-shadow: inset 0 0 0 1px #cce3a1; 
    color: black;
}
    
input.button.green:active, a.button.green:active, span.button.green:hover {
	font-size: 1.1em;
	text-decoration: none;
    text-align: center;
	display: block;
    background: #a4cb5d;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#a4cb5d), to(#9ec45a));
    background: -moz-linear-gradient(#a4cb5d, #9ec45a);
    background: linear-gradient(#a4cb5d, #9ec45a);
    border: solid .1em #6e883f;
    box-shadow: inset 0 10px 15px 0 #90b352; 
    color: black;
}  

/* TEXT TITLE BAR */

@media only screen and (max-width: 568px) {

.texttitlebar {
	width: 98%;
	text-align: center;
	//background-color: rgba(255,255,232,1);
	font-weight: bold;
	font-family: Optima, Verdana, Geneva, sans-serif;
	font-size: 115%;
	color: black;
	line-height: 95%;
	padding-top: .2em;
	padding-bottom: .2em;
	//border: .2em outset #006600;
	//outline: .2em groove orange;	
	position: fixed;
	bottom: 4.5%;
	left: .2em;
	z-index: 1;
	background-color: white;
	border: .2em outset red;
	outline: .2em groove darkblue;
}
}

@media only screen and (min-width: 569px) {
.texttitlebar {
	width: 100%;
	//background-color: rgba(255,255,232,1);
	font-weight: bold;
	font-size: 115%;
	color: black;
	line-height: 95%;
	padding-top: .4em;
	padding-bottom: .4em;
	//border: .2em outset #006600;
	//outline: .2em groove orange;
	position: inherit;
	background-color: white;
	border: .2em outset red;
	outline: .2em groove darkblue;	
}
}

/* HEADER BAR */

@media only screen and (max-width: 568px) {
.headerbar {
	display: table-footer-group;
	text-align: center;
}
}

@media only screen and (min-width: 569px) {
  .headerbar {
	display: table-header-group;
	text-align: center;	  
  } 
}


/* FOOTER BAR */

@media only screen and (max-width: 568px) {
  .footerbar {
	top: 0;
	left: .05em;
	width: 98%;
	display: table-header-group;
	background-color: #ffeeee;
	text-align: center;
	font-size: 75%;
	border: .2em ridge #003300;
	font-weight: bold;
  }	
}
  
@media only screen and (min-width: 569px) {
  .footerbar {
	bottom: .05em;
	left: .05em;
	width: 98%;
	position: fixed;
    display: table-footer-group;
	background-color: rgba(255,232,232,1);
	text-align: center;
	font-size: 75%;
	border: .2em ridge #003300;
	font-weight: bold;
	z-index: 1;
  } 	
}

/* DISTRICTS PAGES */
#market th {
	text-align: left;
}

.tourismdesc {
    background-color: #eeeeee;
	padding-top: 0; 
	padding-bottom: 0; 
	padding-left: .5em; 
	padding-right: .5em;	
}

.districtbar {
    background-color: #003300; 
	padding: .2em; 
	color: white;
	border: .2em groove #ffffef;
	outline: .2em ridge orange;	
}

/* TITHE APPLOTMENT TABLES */

.titheref {
   border: .2em ridge lightgray;
   outline: .2em outset lightgreen;
   font-weight: bold;
   text-align: center;	
}

.annotation {
  font-size: 90%;
  font-weight: bold;
  background-color: #e7ecef;
}

.pagetop {
	font-weight: bold;
	text-align: center;
	background-color: #eeffee;
}

.tithetable {
	width: 100%;
	border-collapse: collapse;
	display: table;
	color: black;
	z-index: -1;
	font-size: 90%;
}

.tithetable caption {
	font-weight: bold;
	text-align: center;
	font-size: 125%;
}

.tithetable th {
	padding: .2em .2em;
	border: thin solid darkgreen;
	text-align: center;
	position: sticky;
	font-weight: bold;
	top: 0;
	background-color: #444444;
	color: white;
}

.tithetable th a {
    color: white;	
}

.tithetable td {
	padding: .2em .2em;
	border: thin solid #ddd;
	text-align: left;
}

.namegroup {
	background-color: #f5f6f5;
	font-size: larger;
	font-weight: bold;
	text-align: center;
}

@media (max-width: 767px) {
	
.tithetable caption {
	display: block;
	font-weight: bold;
	text-align: center;
}

.tithetable thead { display: none; }
	
.tithetable, .tithetable tbody, .tithetable tr, .tithetable td {
		display: block;
		width: 100%;
}
	
.tithetable tr {
		margin-bottom: .6em;
}

}

/* CIVIL PARISH PAGES */
.civilparishpopup {
	position: absolute;
	width: 75%; // percent of view window
	top: 3em;
	left: 10%;
	color: black;
	background-color: white;
	border: .25em ridge #004500;
	display: none;
	visibility: hidden;
	z-index: 1;
}

.civilparishpopup .popuptitle {
	top: 0;
	left: 0;
	width: 100%;
	float: center;
	padding: .15em;
	margin: 0em;
	text-align: center;
	font-size: larger;
	font-weight: bold;
	background-color: #003300;
	color: white;
}

.civilparishpopup .details {
	margin: 5px;
	padding: 5px;
}

.civilparishpopup .closebutton {
	width: 100%;
	left: 0;
	float: center;
	text-align: center;
	font-size: larger;
	font-weight: bold;
	background-color: red;
	color: white;
	font-variant: small-caps;
}

.cptl { cursor: pointer; }

.placelist {
	 padding-left: 1em;
	 margin-left: 1em;
	 list-style-type: none;
}

ul.placelist li {
	 line-height: 1.5em;
	 height: auto;
}




/* SECURITY TABLE */
.security {
	border-collapse: collapse;
	border: .1em outset gray;
}

.security caption {
	font-weight: bold;
}

.security td {
	text-align: left;
	border-collapse: collapse;
	border: .1em outset gray;
}

// SAMPLE BREADCRUMB MENU
// https://css-tricks.com/triangle-breadcrumbs/