body {color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); text-align: center; margin-bottom: 20px;} 

img {border: 0px solid}
table {margin-left: auto; margin-right: auto;}

A {text-decoration:none;}
A:link {color:#000099}
A:active {color:#000099}
A:visited {color:#990099}

body.chapterpage {text-align: left}
.tableoverride {margin-left: 0; margin-right: 0;}

td {text-align:center; vertical-align:top;}


.homeLinkTable img {width: 205px; height: 105px; margin: 0 5px 0 5px;}
#homeLinkTable td  {width: 205px;}

.panothumb {width: 755px; height: 105px; margin: 10px 0 10px 0;}

.linkRow {height:30px;}
.travelpic {width: 905px; height: 678px; margin: 10px 0 10px 0;}
.travelpic43 {width: 905px; height: 680px; margin: 10px 0 10px 0;}
.travelpicportrait {width: 678px; height: 905px; margin: 10px 0 10px 0;}
.travelpicother {margin: 10px 0 10px 0;}
.traveldiv {width: 900px; margin-left: auto; margin-right: auto;}
.panobutton {width: 150px; height: 75px; margin: 0 10px 0 10px;}
.panoimg {margin: 10px 0 10px 0;}
.subpageheader {font-size: 200%; text-align: center; font-weight: bold;}
.introtitle {font-size: 200%;}
.introsummary {font-size: 120%;}
.small {font-size: 90%;}
.dailytitle   {font-size: 120%; font-weight:bold;}
.chapterbottom {margin: 0 0 0 40px;}

.chapterpic              {width: 205px; height: 155px; margin: 0 5px 0 5px;}
.chapterpicleft          {width: 205px; height: 155px; float: left;  margin: 0 5px 0 0;}
.chapterpicright         {width: 205px; height: 155px; float: right; margin: 0 0 0 5px;}
.chapterpicleftportrait  {width: 155px; height: 205px; float: left;  margin: 0 5px 0 0;}
.chapterpicrightportrait {width: 155px; height: 205px; float: right; margin: 0 0 0 5px;}

.chapterpicleft2  {width: 205px; height: 134px; float: left;  margin: 0 5px 0 0;}
.chapterpicright2 {width: 205px; height: 134px; float: right; margin: 0 0 0 5px;}
.chapterpicleftportrait2  {width: 134px; height: 205px; float: left;  margin: 0 5px 0 0;}
.chapterpicrightportrait2 {width: 134px; height: 205px; float: right; margin: 0 0 0 5px;}

.letterpic { margin: 50px 0 10px 0; }


.thumbright {float: right; margin: 0 0 0 5px;}
.thumbleft  {float: left;  margin: 0 5px 0 0;}

.bottomlinks {font-size: 120%; text-align: center; margin: 20px 0 0 0;}
.panoramapic {margin: 10px 0 10px 0;}
.panoramatext {text-align: left}

.buttonbar      {margin: 20px 0 0 0;}
.buttonbar  img {width: 150px; height: 75px; margin: 0 10px 0 10px;}

.sidebyside img {margin: 10px 10px 10px 10px;}

.emailpic {width: 618px; height: 35px;}
.indextext {font-size: 150%; text-align: center; font-weight: bold;}

.secondaryTable img {width: 205px; height: 155px; margin: 5px 5px 5px 5px;}
.secondaryThumbSpacer {width: 205px; height: 155px; margin: 0 15px 0 15px;}
.generalImageTable img {margin: 5px 5px 5px 5px; vertical-align: middle; horizontal-align: middle;}

.pictureSpacer img {margin: 10px 0px 10px 0px; horizontal-align: middle;}

.nzIndexThumb     {margin: 0 5px 0 5px; width: 205px; height: 105px}
.nzIndexTable img {margin: 0 5px 0 5px; width: 205px; height: 105px}
.nzIndexTable     {border-spacing: 10px 0px;}

.spacerRow {height: 20px;}

.talkTable table {
align:left;
}
.talkTable td {text-align: left; padding:0px 10px 0px 0px;}

.date {font-weight: bold;}

.darkpage
   {
   background-color:#000000;
   color:#ffffff;
   }
.darkpage A:link{color:green}
.darkpage A:visited{color:magenta}
.darkpage A:active{color:green}

.shortspic     {text-align: center;}
.shortspic img {margin: 10px 0 10px 0;}


/* bike stuff */
.marquee {width: 755px; height: 568px; margin: 10px 0px 10px 0px;}
.bikeText {width: 850px; margin-left: auto; margin-right: auto;}
.partsListHeader {font-size: 24px;}
.partsTable td {text-align: left; border: 1px solid black; padding: 2px 4px 2px 2px; }

.generalImageTable img {margin: 5px 5px 5px 5px; width: 205px; height: 155px;}


/* ========================================================================== */
/* NEW CODE BELOW - MOBILE RESPONSIVE DESIGN */
/* ========================================================================== */

/* These styles only apply on screens smaller than 768px (phones/tablets) */
@media (max-width: 768px) {
  
  /* Make tables stack vertically on mobile instead of side-by-side */
  table, tbody, tr, td {
    display: block !important;
    width: 100% !important;
  }
  
  /* Images scale down to fit mobile screens */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Override fixed widths on images */
  img[style*="width"] {
    width: 100% !important;
  }
  
  /* Add spacing between stacked elements */
  td {
    padding: 10px 0 !important;
  }
  
  /* Make body mobile-friendly */
  body {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  /* Center images on mobile */
  td img {
    display: block;
    margin: 0 auto;
  }
  
  /* Make fixed-width divs responsive */
  .traveldiv {
    width: 100% !important;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  /* Scale down large images */
  .travelpic,
  .travelpic43,
  .travelpicportrait,
  .panothumb,
  .panoramapic,
  .marquee {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
  }
  
  /* Make thumbnail images responsive */
  .chapterpic,
  .chapterpicleft,
  .chapterpicright,
  .chapterpicleftportrait,
  .chapterpicrightportrait,
  .chapterpicleft2,
  .chapterpicright2,
  .chapterpicleftportrait2,
  .chapterpicrightportrait2,
  .thumbright,
  .thumbleft {
    width: 100% !important;
    max-width: 300px;
    height: auto !important;
    float: none !important;
    margin: 10px auto !important;
    display: block;
  }
  
  /* Make button bars stack vertically */
  .buttonbar img,
  .panobutton {
    width: 100% !important;
    max-width: 200px;
    height: auto !important;
    margin: 10px auto !important;
    display: block;
  }
  
  /* Responsive text sizing */
  .introtitle {
    font-size: 150%;
  }
  
  .introsummary {
    font-size: 100%;
  }
  
  .subpageheader {
    font-size: 150%;
  }
  
  /* Make bike text responsive */
  .bikeText {
    width: 100% !important;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  /* Email image responsive */
  .emailpic {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
  }
}
