/*************************************************************************
TNG GENSTYLES OVERRIDES
*************************************************************************/
body.public {
  color: #000;
  background-color: #ffffff;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
}

/* header: secondary page heading text */
.header {
  color: #333;
}

/* databack: background color for data areas */
/* only override these with theme
.databack {
    background-color: $databack;
    /*these 2 lines added in 5.0
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
}
*/
/* fieldnameback: background color for column and row title sections */
/*
.fieldnameback {
    background-color: $panelback;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
*/
/*
.sideback {
    background-color: $panelback;
    margin:6px;
}
*/
/* Admin page links */
a.admincell:hover, a.leftlink:hover {
  background-color: #ccc;
}

/*small boxes for letters on the surnames page, also for pagination on other pages*/
.snlink {
  background-color: #eee;
  /*same as "databack" background color */
}

a.snlink:hover, .snlinkact, .adminnav .snlinkact {
  background-color: #eee;
  /*same as "fieldnameback" background color */
  color: #000;
}

/*admin tabs - inactive */
#tngnav a {
  color: #333;
  background: #ddd;
}

/*active tab*/
#tngnav a:hover {
  background: #ddd;
  color: #990000;
}

/*active tab*/
#tngnav a.here {
  background-color: #333;
  color: #fff;
}

div.icons {
  display: none;
}

/* links not otherwise styled */
a:link {
  color: #000;
}

a:visited {
  color: #000;
}

a:hover {
  color: #990000;
}

a:active {
  color: #000;
}

.LB_window {
  background: #eee;
  /*same as "databack" background color */
}

.slidedown {
  background: #eee;
  /*same as "databack" background color */
}

div.menucontainer {
  margin-bottom: 5px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

div.innercontainer, ul.tngdd .langmenu, ul.tngdd .stubmenu {
  background-color: #ddd;
}

ul.tngdd .menulink {
  background: #ddd url(../img/ArrowDown.gif) 2px 8px no-repeat;
}

ul.tngdd .menulink:hover, ul.tngdd .menuhover {
  background: #333 url(../img/arrowdown2.gif) 2px 8px no-repeat;
}

/*************************************************************************
CUSTOM HEADER (TOPMENU) STYLES - TOP NAV BAR AND TITLE
*************************************************************************/
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
  margin-bottom: 10px;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #737373;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* The "responsive" class is added to the topnav with JavaScript when the screen narrows. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  /* When the screen is less than 600 pixels wide, hide all links, except for the
  ** first one ("Home"). Show the link that contains should open and close the
  **topnav (.icon)
  */
  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }

  /* The "responsive" class is added to the topnav with JavaScript when the
  ** screen narrows. This class makes the topnav look good on small screens
  ** (display the links vertically instead of horizontally)
  */
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
@font-face {
  font-family: 'Old Script';
  src: url("../Old Script.ttf");
}
.maintitle {
  margin-top: -12px;
  text-align: center;
  font-family: 'Old Script';
  color: #333;
  font-size: 490%;
}

@media screen and (max-width: 600px) {
  .maintitle {
    font-size: 350%;
  }

  .stubmenu-rt {
    display: none;
  }
}
@media screen and (max-width: 300px) {
  .maintitle {
    font-size: 200%;
  }
}
/*************************************************************************
HOME PAGE STYLES
*************************************************************************/
/*
.templatebody {
    width:99%;
}
*/
/*
.topbanner {
    margin: 0px;
    padding: 0px;
    text-align:center;
}
*/
.main-image {
  width: 99%;
  max-width: 1100px;
  display: block;
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
}

div.welcome {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  font-style: italic;
  font-size: 120%;
}

.page {
  padding: 10px 10px 6px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.rightBox {
  box-sizing: border-box;
  float: right;
  margin-left: 1em;
}

.leftBox {
  box-sizing: border-box;
  float: left;
  margin-right: 1em;
}

/*
.crest {
  float: left;
  box-sizing: border-box;
  width: 110px;
  margin-right: 10px;
}
*/
.clear {
  clear: both;
}

/*
.newsletter {
    float:right;
    box-sizing:border-box;
    width:110px;
    margin-left:10px;
}
*/
.article {
  box-sizing: border-box;
  font-size: 16px;
  background: #eee;
  padding: 8px;
}

@media screen and (max-width: 600px) {
  .article {
    font-size: 14px;
  }
}
.bottom-panel {
  box-sizing: border-box;
  font-size: 12px;
  min-height: 150px;
  padding: 1em;
  color: #ddd;
  background-color: #333;
}

.bottom-panel-cell {
  box-sizing: border-box;
  min-width: 33%;
}

.bottom-panel a:link {
  color: #fff;
}

.bottom-panel a:visited {
  color: #fff;
}

.bottom-panel a:hover {
  color: orange;
}

.bottom-panel a:active {
  color: #fff;
}

.bottom-panel ul li {
  line-height: 200%;
}

.bottom-panel ul {
  list-style: none;
}

@media screen and (max-width: 600px) {
  .bottom-panel-cell {
    float: left;
    clear: both;
  }

  ul.tngdd ul.last {
    left: 0px;
  }
}
.astable {
  display: table;
}

.asrow {
  display: table-row;
}

.ascell {
  display: table-cell;
  vertical-align: top;
}

/*************************************************************************
INCLUDED CONTENT PAGES
*************************************************************************/
.page2, .folio, .history, .clippings, #c1col {
  background-color: #eee;
  border: 1px solid #aaa;
  padding: 10px 10px 6px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 14px;
}

/* link top banner back to home page */
/*
a.nodecolink:link {
   text-decoration:none;
   color:inherit;
}
a.nodecolink:visited {
   color:inherit;
}
.linkpanel {
    width:98%;
    padding:10px 0 10px 20px;
    background-color:#eee;
}
*/
.templatefooter {
  padding-top: 6px;
  text-align: center;
  font-size: 80%;
}

.photoCenter {
  text-align: center;
  margin: 0;
  max-width: 1100px;
  min-width: 200px;
}

.photoCenter img {
  width: 100%;
}

/*# sourceMappingURL=templatestyle.css.map */
