﻿/* 
   Lakeland Reeds Bed and Breakfast style sheet 
   Filename: styles.css

   Author:   Bangquan
   Date:     1806
   HTML5 and CSS3 Illustrated Unit F, Lessons
 */

/* reset styles */
html {
   font-size: 12px;
}
a, article, body, div, figure, footer, header, h1, h2, h3, img, nav, p, table, tbody, td, tfoot, th, thead, tr {
   border: 0;
   padding: 0;
   margin: 0;
}
table {
   border-collapse: collapse;
   border-spacing: 0;
}
u1 {
   list-style-type: none;
}

/* General body */
header {
   background:#f7dc6f;     
}
body {
   max-width: 900px;
   margin: 0 auto;
   background: url('background.jpg');
   font-family: 'Roboto', Arial, Helvetica, sans-serif;
   font-size: 14px;
   color: black;
}
.container {
   background-color: lightblue;
   position: relative;
}
 
p {
   font-size: 1.4em;
   line-height: 1.6em;
}
a:link {
  color:black;
}
a:visited {
  color:darkgreen;
}
a:active {
  position: relative;
  top: 1px;
  left: 1px;
}

/* header section */
/*skip navigation link*/
p.skipnavigation a {
  position: absolute;
  left: -10000px;
}
p.skipnavigation a:focus {
  color: #34180f;
  background-color: ivory;
  top: 0.2em;
  left: 0.4em;
  z-index: 2;
}
h1 {
   padding: 0.4em 0.4em 0.3em;
   text-align: center;
   font-family: Verdana, Tahoma, sans-serif;
   font-size: 5em;
   color: ivory ;
   background-color: #F7DC6F;
}

/* site navigation bar */
nav.sitenavigation {
   font-family: 'Roboto', Arial, Helvetica, sans-serif;
   color: darkblue;
   text-align: center;
   font-weight: bold;
}
nav.sitenavigation p {
   display: inline-block;
   padding: 1em;
}
nav.sitenavigation a:link{
   text-decoration: none;
   color: darkblue;
}
nav.sitenavigation a:visited{
   color: forestgreen;
}
nav.sitenavigation a:hover, nav.sitenavigation a:focus {
   color: ivory;
}

/* start content */
article {
   padding: 0 2em;
   background-color: whitesmoke
}
#contentstarthome {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  color: darkgreen;
  text-align: left;
  padding: 1em 2em;
}
#contentstarthome::first-line {
  font-weight: bold;
}

/*Foreword*/
h2 {
   color: darkgreen;
   padding: 1 0.4em; 
   font-family: Bitter, "Times New Roman", Times, serif;
   font-size: 2.4em;
   font-weight: bold;
   font-style: italic;
   text-align: center;
}

/*Content article*/
h3 {
   margin-top: 3em;
   font-size: 1.6em;
   font-family: Bitter, "Times New Roman", Times, serif;
   font-weight: 700;
}
article p {
   padding-top: 0.5em;
   padding-bottom: 0.5em;
}

div.contact {
   padding-bottom: 4em;
}

/* page navigation bar */
nav.pagenavigation {
   margin-top: 2em;
   text-align: center;
   background-color: #b9770e;
   border: 5px double darkgoldenrod;
}
nav.pagenavigation p {
   display: inline-block;
   padding: 0.1em 1em;
   font-size: 1.8em;
   }
nav.pagenavigation a:link {
   text-decoration: none;
   color: #dee9f9;
}
nav.pagenavigation a:visited {
   color: yellowgreen;
}
nav.pagenavigation a:hover, nav.pagenavigation a:focus {
   color: black;
}

/*images*/
article p.imagemap img {
   max-width: none;
   position: relative;
   right: 2.5em;
   padding-bottom: 0px;
}
article figure img{
   position: relative;
   left: 1.5em;
}
article figcaption {
  text-align: center;
}
article .logo{
  max-width: 200px;
  padding-right: 1.5em;
  margin: 0 auto;
  border: 3px solid blue;
}
.logo4 {
  margin-top: 2em;
  padding-right: 1.5em;
}

/* footer section */
footer {
   padding: 1em;
   background-color:#6e2c00; 
   color: ivory;
   text-align: center;
}
footer p {
  position: relative;
  top: 0.1em;
  right: 0.15em;
}

.accent {
   font-weight: bold;
   color: darkgreen;
}

/*main content tables*/
td, th {
    border: 1px solid black;
    padding: 0.4em;
    font-size: 1.3em;
    text-align: center;
}
table {
  width: 100%;
  border: 2px double brown;
  margin-bottom: 5em;
}
th {
  background-color: #aecdf4;
}
.table-heading-column {
  background-color: #f1eace;
}
.table-data-column1 {
  background-color: lightpink;
}
.table-data-column2 {
  background-color: lightblue;
}
.table-data-column3 {
  background-color: lightsalmon;
}

/*CSS tables*/
.contact {
  margin-top: 5em;
  display: table;
  font-size: 1.3em;
  color: darkgreen;
}
.row {
  display: table-row;
  text-align: left;
}
.row div {
  display: table-cell;
  padding: 0.8em 5em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1em;
}
.category{
  font-weight: bold;
}

/*main content list*/
u1{
  position: relative;
  left:5em;
  font-size: 1.3em;
  line-height: 2em;
  list-style-type: square;
  text-align: left;
}

/* print styles */
@media print {
   body, h1, article, footer {
      color: rgb(0,0,0);
      background-color: rgb(255,255,255);
   }
   body {
      max-width: 100%;
      border: 0;
   }
   h1 {
      font-size: 2.6em;
      padding: 0;
   }
   h2 {
      font-size: 2.2em;
   }
   nav {
     display: none;
   }
   article p {
      margin: 0.4em 0 0;
   }
}
@page {
   margin: 0.75in;
}