/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* my code starts here */



* {
  text-decoration: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
 display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
html {
 -ms-overflow-style: none;  /* IE and Edge */
 scrollbar-width: none;  /* Firefox */
 background: rgba(255,238,198, 0.7);
}
a {
  outline: none;
}

header {
  background-color: white;
  width: 100%;
  height: 214px;
}

.tartan-header {
  width: 100%;
  height: 164px;
  background-image: url('img/Banner03.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display:table;
}

.header-div {
  background-color: rgba(108, 50, 4, 1.0);
  display: block;
  float: left;
  width: 100%;
  height: 130px;
}
.header-div img {
  display: none;
}
.header-div ul {
  margin: 0 auto;
  text-align: center;
  padding-top:25px;
}

.header-div ul li {
  display: inline-block;
  list-style: none;
}

.header-div ul li a img {
  display: none;
}

.tartan-header h1 {
  font-family: 'Castoro Titling', cursive;
  color: rgba(179, 136, 58, 1.0);
  font-size: 36px;
  text-align: center;
  font-weight: 700;
  text-shadow: 2px 2px 8px #111;
  line-height: 45px;
  margin: 0px auto;
}

header nav ul {
  display: block;
  margin: 0 auto;
  /*width: -moz-fit-content;
  width: fit-content;*/
  width: 100%;
  height: 64px;
  padding-top: 100px;
}

header nav ul li {
  font-family: 'Castoro Titling', cursive;
  color: rgba(179, 136, 58, 1.0);
  display: inline-block;
  float: left;
  list-style: none;
  height: 50px;
  padding-top: 8px;
  padding-bottom: 6px;
  text-align: center;
  /*border-style: solid;
  border-color: white;
  border-width: 1px;*/
  box-shadow: inset 0 0 0 1px grey, inset 0 0 0 2px white;
}
h1 a {
  color: inherit;
  text-decoration: none;
}

.box1 {
  background: rgba(62, 63, 21, 1.0);
  width: 12.5%;
  line-height: 25px;
}
.box2 {
  background: rgba(62, 63, 21, 1.0);
  width: 12.5%;
  line-height: 50px;
}
.box3 {
  background: rgba(62, 63, 21, 1.0);
  width: 25%;
  line-height: 25px;
}
.box4 {
  background: rgba(62, 63, 21, 1.0); //rgba(255,194,195, 0.7);
  width: 25%;
  line-height: 25px;
}
.box5 {
  background: rgba(62, 63, 21, 1.0); //rgba(255,194,195, 0.7);
  width: 12.5%;
  line-height: 50px;
}
.box6 {
  background: rgba(62, 63, 21, 1.0); //rgba(255,194,195, 0.7);
  width: 12.5%;
  line-height: 50px;
}

.tabletbox1 {
  background: rgba(62, 63, 21, 1.0);
  width: 30%;
  line-height: 25px;
}
.tabletbox2 {
  background: rgba(62, 63, 21, 1.0);
  width: 40%;
  line-height: 25px;
}
.tablet-bottom-row {
  padding-top: 0px;
}

header nav ul a {
  align-content: centre;
  font-family: 'Castoro Titling', cursive;
  font-size: 16px;
  color: #111;
  text-transform: uppercase;
}

header .header-heritage {
  display: none;
}

.tablet-mobile-view {
  display:block;
}
.desktop-view {
  display:none;
}
/* footer */


footer {
  width: 100%;
  height: 164px;
  /*background-image: url('img/footer-banner.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;*/
  display:table;
  background: rgb(75, 49, 26);
}

footer ul {
  display: block;
  margin: 0 auto;
  /*width: -moz-fit-content;
  width: fit-content;*/
  width: 100%;
  height: 64px;
  /*padding-top: 100px;*/
}

footer ul li{
  height: 64px;
  padding-top: 0px;
  display: inline-block;
  float: left;
  list-style: none;
  text-align: center;
}
.footer-text {
  font-family: 'Castoro Titling', cursive;
  color: rgba(179, 136, 58, 1.0);
  text-transform: uppercase;
  font-weight: 600;
  width: 44%;
  height: auto;
  font-size: 18px;
  line-height: 18px;
  text-align: left;
  margin: 1% 2% 1% 2%;
  padding: 1%;
  background: rgba(90, 198, 199, 0.2);
  display: none; /* desktop/tablet display: contents;? */
}
.footer-links {
  display: block;
  font-family: 'Castoro Titling', cursive;
  color: rgba(179, 136, 58, 1.0);
  font-size: 100%;
  line-height: 120%;
  margin: 0 auto;
  padding: 0;
  width: 100%; /* 50% on desktop/tablet */
  /*background: rgba(90, 198, 199, 0.2);*/
}
.footer-links img {
  width: 20%; /* 10% on desktop/tablet */
  height: auto;
  padding: 0.5% 1% 0% 1%;
}
/*MAIN*/
main hr {
  border: 1px solid black;
}
.entry-wrapper {
  width: 100vw;
  margin: 5vw auto 0 auto;
  padding-top:5vw;
}
.entry-wrapper ul {
  list-style: none;
  display: table;
}
.top-pages-li {
  float: left;
  display: block;
  width: 100%;
  margin: 5px 0px 5px;
}
.top-pages-div {
  border-style: groove;
  border-width: 5px;
  padding: 20px 3vw 10px;
  text-shadow: 2px 2px 4px #111;
  display: block;
  margin: 10px 10px auto;
  background-color: rgb(179,136,58);
  background-image: url(img/fadedring.png);
  background-size: cover;
}
.top-pages-div p {
  font-family: Libre Baskerville;
  font-size: 4vw;
  color: black;
  line-height: 5vw;
  text-align: center;
  margin: 0px 2vw 2vw;
}
.top-pages-div ul {
  display: table;
  margin: 5px auto;
}
.top-pages-div ul li {
  width: 25vw;
  height: 35vw;
  float: left;
  list-style: none;
  text-align: center;
  line-height: 35vw;
  margin: 0px 2vw 2vw;
  outline-style: solid;
  outline-width: medium;
  outline-color: rgba(179,136,58, 0); /*maybe unalpha this page outline?*/
}
.top-pages-div ul li:hover {
  outline-color: rgb(255,134,135);
}
.top-pages-div ul li a {
  font-size: 4vw;
  color: inherit;
  display:block;
}
.inset-pages-div {
  display: none;
}

.entry-text-div {
  font-family: Libre Baskerville;
  font-size: 16px;
  color: black;
  line-height: 20px;
  width: 100% - 50px;
  border-style: groove;
  border-width: 5px;
  margin: 5px auto;
  background-image: url(img/papertiled.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 10px 15px 10px;
}
.entry-text-div a:link {
  color: rgb(0,0,100);
}
.entry-text-div ul li a:link {
  color: rgb(0,0,0);
}
sup {
  vertical-align: baseline;
  position: relative;
  font-size: 12px;
  font-weight: bold;
  top: -0.7em;
  left: 0.2em;
}
u {
  text-decoration: underline;
}
s {
  text-decoration: line-through;
}

.related-searches {
  font-family: Libre Baskerville;
  font-size: 16px;
  color: black;
  line-height: 20px;
  width: 100% - 50px;
  border-style: groove;
  border-width: 5px;
  margin: 5px auto 5px;
  background-image: url(img/papertiled.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 10px 15px 10px;
}

.handwritten {
  border-style: groove;
  border-width: 1vw;
  padding: 4vw 3vw 2vw;
  text-shadow: 2px 2px 4px #111;
  display: block;
  margin: 2vw 2vw auto;
  background-color: rgb(255,238,198);
  background-image: url(img/fadedring.png);
  background-size: cover;
}
.handwritten p {
  font-family: Libre Baskerville;
  font-size: 4vw;
  color: black;
  line-height: 5vw;
  text-align: center;
  margin: 0px 2vw 2vw;
}
.handwritten ul {
  display: table;
  margin: 0 auto;
}
.handwritten ul li {
  width: 25vw;
  height: 35vw;
  float: left;
  list-style: none;
  text-align: center;
  line-height: 35vw;
  margin: 0px 2vw 2vw;
  outline-style: solid;
  outline-width: medium;
  outline-color: rgba(255,238,198, 0); /*maybe unalpha this page outline?*/
}
.handwritten ul li:hover {
  outline-color: rgb(255,134,135);
}
.handwritten ul li a {
  font-size: 4vw;
  color: inherit;
  display:block;
}
.written-hand {
    font-family: Libre Baskerville;
    font-size: 16px !important;
    color: black;
    line-height: 18px !important;
    width: 100% - 50px;
    border-style: groove;
    border-width: 5px;
    margin: 5px auto;
    background-image: url(img/papertiled.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 10px 15px 10px;
    text-shadow: 0px 0px 0px;
    text-align: left !important;
}
.written-hand b {
  font-weight: 600;
}
.written-hand span {
  display: inline-block;
  width: 50px;
}
.written-hand hr {
  border: 1px solid black;
}
.written-hand-sup {
  font-weight: normal;
}


#swap{
  float:left;
  height:100%;
  overflow:hidden;
}
#normalised, #transcript{
  height:100%;
}

.select-normal-trans-div {
  position: relative;
  vertical-align: middle;
  border-style: groove;
  border-width: 5px;
  padding: 15px 5px 5px 5px;
  text-shadow: 2px 2px 4px #111;
  display: table;

  width: 260px;
  background: rgba(62, 63, 21, 1.0);
  background-image: url(img/fadedring.png);
  background-size: cover;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  align-items: center;
}
.select-normal-trans-div p {
  color: rgba(179, 136, 58, 1.0);
  text-align: center;
}
.select-normal-trans-div ul {
  display: table;
  margin: 0px auto;
}
.select-normal-trans-div ul a li {
 height: 40px;
 width: 110px;
 display: block;
 list-style: none;
 text-align: center;
 line-height: 40px;
 /*margin: 5px 5px auto;*/
 outline-style: solid;
 outline-width: medium;
 outline-color: rgba(255,238,198, 0); /*maybe unalpha this page outline?*/
 float: left;
 margin: 5px 5px 5px;
 color: black;
}
.select-normal-trans-div ul a {
  text-decoration: none;
  color: black;
  display: inline-block;
}

.normal-select {
  border-style: double;
  border-width: medium;
  background-color: rgb(255,238,198);
  display: inline-block;
}
.trans-select {
  border-style: double;
  border-width: medium;
  background-color: rgb(255,238,198);
  display: inline-block;
}

/*TABLET VIEW*/
@media only screen and (min-width: 580px) {
  html::-webkit-scrollbar {
   display: block; /* Expose scrollbar for Chrome, Safari and Opera */
  }
  html {
   -ms-overflow-style: auto;  /* Expose scrollbar for IE and Edge */
   scrollbar-width: auto;  /* Expose scrollbar for Firefox */
  }

  .tartan-header h1 {
    font-size: 6.5vw;
    line-height: 70px;
    margin: 20px auto;
  }

  header nav ul li {
    height: 56px;
    padding-top: 10px;
    padding-bottom: 0px;
    display: inline-block;
    float: left;
    list-style: none;
    text-align: center;
  }

  header nav ul a {
    font-size: 22px;
  }
  .header-div ul {
    padding-top:20px;
  }
  .footer-text {
    font-size: 1.5vw;
    line-height: 1.5vw;
    display: block; /* desktop/tablet display: block; */
  }
  .footer-links {
    font-size: 1.5vw;
    line-height: 1.75vw;
    width: 50%; /* 50% on desktop/tablet */
  }
  .footer-links img {
    width: 20%; /* 10% on desktop/tablet */
    padding: 1.5% 2% 0% 2%;
  }
  .entry-wrapper {
    width: 550px;
    padding-top:0;
    margin-top:55px;
    margin-bottom: 0px;
  }
  .top-pages-li {
    display: none;
  }
  .entry-text-div {
    font-family: Libre Baskerville;
    font-size: 16px;
    color: black;
    line-height: 20px;
    position: relative;
    width: 100% - 50px;
    border-style: groove;
    border-width: 5px;
    margin: 5px auto;
    background-image: url(img/papertiled.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 10px 15px 10px;
  }




  .select-normal-trans-div {
    float: left;
    margin: 10px;
  }

  .normal-select {
    border-style: double;
    border-width: medium;
    background-color: rgb(255,238,198);
    display: inline-block;
  }
  .trans-select {
    border-style: double;
    border-width: medium;
    background-color: rgb(255,238,198);
    display: inline-block;
  }


  .inset-pages-div {
    position: relative;
    vertical-align: middle;
    border-style: groove;
    border-width: 5px;
    padding: 15px;
    text-shadow: 2px 2px 4px #111;
    display: table;
    float: right;
    width: 150px;
    background-color: rgb(179,136,58);
    background-image: url(img/fadedring.png);
    background-size: cover;
    margin: 10px;
    align-items: center;
  }
  .inset-pages-div p {
    text-align: center;
  }
  .inset-pages-div ul {
    display: table;
    margin: 0px auto;
  }
  .inset-pages-div ul li {
    height: 150px;
    width: 100px;
    display: block;
    list-style: none;
    text-align: center;
    line-height: 150px;
    margin: 5px 5px auto;
    outline-style: solid;
    outline-width: medium;
    outline-color: rgba(255,238,198, 0); /*maybe unalpha this page outline?*/
  }
  .inset-pages-div ul li:hover {
    outline-color: rgb(10,100,72);
  }
  .inset-pages-div ul li a {
    color: inherit;
    display:block;
  }


  .handwritten {
    vertical-align: middle;
    border-style: groove;
    border-width: 5px;
    padding: 15px;
    display: block;
    float: left;
    width: 90%;
    margin: 10px;
  }
  .handwritten p {
    font-size: 20px;
    line-height: 20px;
    margin: 0px 5px 5px;
  }
  .handwritten ul {
    display: table;
    margin: 0 auto;
    padding-left: 25px;
  }
  .handwritten ul li {
    height: 150px;
    width: 100px;
    line-height: 150px;
    margin: 5px 5px auto;
  }
  .handwritten ul li a {
    font-size: 20px;
  }
}

/*DESKTOP VIEW*/
@media only screen and (min-width: 1100px) {

  header {
      height: 164px;
  }
  .header-div ul li a img {
    display: block;
    width: 100px;
    height: 50px;
    list-style: none;
    padding-left: 50px;
  }

  header nav ul a {
    font-size: 24px;
    color: #111;
    text-transform: uppercase;
    margin-top: 24px;
  }

  .tartan-header h1 {
    font-size: 75px;
    line-height: 70px;
    margin: 40px auto;
  }

  header nav ul li {
    height: 56px;
    padding-top: 8px;
    display: inline-block;
    float: left;
    list-style: none;
    text-align: center;
  }
  .footer-text {
    font-size: 1vw;
    line-height: 1vw;
  }
  .footer-links {
    font-size: 1vw;
    line-height: 1.25vw;
  }
  .footer-links img {
    width: 10%; /* 10% on desktop */
  }
  .tablet-mobile-view {
    display:none;
  }
  .desktop-view {
    display:block;
  }

  .entry-wrapper {
    width: 1000px;
    margin-top: 35px;
  }


  .select-normal-trans-div {
    width: 490px;
  }
  .select-normal-trans-div ul a li{
    float: left;
    line-height: 40px;
    margin: 5px 5px 5px;
    width: 220px;
  }

  /*
  .select-normal-trans-div {
    position: relative;
    vertical-align: middle;
    border-style: groove;
    border-width: 5px;
    padding: 15px 5px 10px 5px;
    text-shadow: 2px 2px 4px #111;
    display: table;
    float: left;
    width: 260px;
    background: rgba(62, 63, 21, 1.0);
    background-image: url(img/fadedring.png);
    background-size: cover;
    margin: 10px;
    align-items: center;
  }
  .select-normal-trans-div p {
    color: rgba(179, 136, 58, 1.0);
    text-align: center;
  }
  .select-normal-trans-div ul {
    display: table;
    margin: 0px auto;
  }
  .select-normal-trans-div ul a li {
   height: 40px;
   width: 110px;
   display: block;
   list-style: none;
   text-align: center;
   line-height: 40px;
   outline-style: solid;
   outline-width: medium;
   outline-color: rgba(255,238,198, 0);
   float: left;
   margin: 5px 5px 5px;
  }
  .select-normal-trans-div ul a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
  }

  .normal-select {
    border-style: double;
    border-width: medium;
    background-color: rgb(255,238,198);
    display: inline-block;
  }
  .trans-select {
    border-style: double;
    border-width: medium;
    background-color: rgb(255,238,198);
    display: inline-block;
  }
  */


  .inset-pages-div {
    width: 370px;
  }
  .inset-pages-div ul li {
    float: left;
    line-height: 150px;
    margin: 5px 5px 5px;
  }

  .handwritten {
    display: block;
    float: left;
    width: 96%;
  }
  .handwritten ul {
    padding-left: 40px;
  }
}
@media only screen and (min-width: 1420px)
{
  .header-div img {
    display: block;
    margin-left: -100px;
  }
  .tartan-header h1 {
    margin-left: -100px;
  }
}



.footer-container {
  display: table; /* Make the container element behave like a table */
  width: 100%; /* Set full-width to expand the whole page */
  max-width: 1500px;
  background: rgb(75, 49, 26);
  margin: auto;
  padding-top: 10px;
}
.footer-container2 {
  display: table; /* Make the container element behave like a table */
  width: 100%; /* Set full-width to expand the whole page */
  max-width: 1500px;
  margin: auto;
  font-family: 'Castoro Titling', cursive;
  color: black;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(62, 63, 21, 1.0);
  box-shadow: inset 0 0 0 1px grey, inset 0 0 0 2px white;
}
.footer-container2 p {
  color: rgba(179, 136, 58, 1.0);
  margin: 20px 20px;
  float: right;
}
.footer-container2 img {
  vertical-align: middle;
  width: 35px;
}

.footer-col {
  font-family: 'Castoro Titling', cursive;
  color: black;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(62, 63, 21, 1.0);
  box-shadow: inset 0 0 0 1px grey, inset 0 0 0 2px white;
  padding: 10px;
  vertical-align: middle;

  display: table-cell; /* Make elements inside the container behave like table cells */
  margin: auto;
  width: 33.3%;
}
.footer-col h1 {
  color: rgba(179, 136, 58, 1.0);
  font-weight: 700;
}
.footer-col a {
  color: black;
  text-decoration: none;
}
