﻿/* 
   Lakeland Reeds Bed and Breakfast style sheet 
   Filename: styles.css

   Author:  Phillip Lopez 
   Date:     2/22/26
   HTML5 and CSS3 Illustrated Unit J, Lessons
 */

/* reset styles */
html {
   font-size: 16px;
}
a, article, body, div, figcaption, figure, footer, header, h1, 
h2, h3, img, li, nav, p, section, fieldset, form, legend, input, label, textarea,  ul {
   border: 0;
   padding: 0;
   margin: 0;
}
img {
   max-width: 100%;
   height: auto;
   width: auto;
}
ol, ul {
   list-style-type: none;
}
table {
   border-collapse: collapse;
   border-spacing: 0;
}

/* document-wide styles */
body {
   margin: 0 auto;
   font-family: Arial, Helvetica, sans-serif;
}
a:link {
   color: black;
}
a:visited {
   color: #888;
}

/* skip navigation link */
p.skipnavigation a {
   position: absolute;
   left: -10000px;
}
p.skipnavigation a:focus {
   color: ivory;
   background-color: #34180f;
   top: 0.4em;
   left: auto;
   right: 0.4em;
   z-index: 2;
}

/* header section */
h1 {
   text-align: center;
   font-family: Bitter, "Times New Roman", Times, serif;
   font-weight: 700;
   color: ivory;
   background-color: white;
   font-size: 2.4em;
}

/* site navigation bar */
nav.sitenavigation {
   color: #34180f;
   text-align: center;
   background-color: #B8944D;
}
nav.sitenavigation li {
   margin: 0.3em 0.5em;
   display: inline-block;
   font-size: 1.3em;
   line-height: 1.4em;
}
nav.sitenavigation a:link {
   text-decoration: none;
   color: #34180f;
}
nav.sitenavigation a:visited {
   color: #744f42;
}
nav.sitenavigation a:hover, nav.sitenavigation a:focus {
   color: ivory;
}

/* main content */
article {
   margin: 0 auto;
   padding: 1.4em;
   background: #7eccec;
   background: url("images/water.jpg");
}
.container {
   min-width: 600px;
   max-width: 800px;
   margin: 0 auto;
   padding: 0 3% 1em;
   background-color: ivory;
   overflow: auto;
}
h2 {
   padding: 0.4em;
   text-align: center;
   font-family: Bitter, "Times New Roman", Times, serif;
   font-size: 2em;
   font-weight: 700;
}
h3 {
   margin: 1.4em 0 0.5em;
   font-size: 1.6em;
   font-family: Bitter, "Times New Roman", Times, serif;
   font-weight: 700;
   clear: both;
}
/* form styles (Step 8) */
form {
   padding: 10px;
}

/* fieldset styles (Step 8) */
fieldset {
   margin-bottom: 0.8em;
}

/* Styles specifically for nested boxes */
fieldset fieldset {
   margin-top: 1em;
   padding: 0.8em;
   border: 1px solid #777;
}

legend {
   font-size: 1.25em;
}

/* Targeting specific legends for bolding */
.contactinfo legend,
.reserveinfo > legend,
.additionalinfo legend {
   margin-left: -0.1em;
   font-weight: bold;
}
.schedule {
   position: relative;
}
/* field styles */
.contactinfo input, #stay-nights, textareas {
   border: 1px solid #ccc;
   padding: 0.2em;
   font-size: 1em;
}
select {
   margin-bottom: 0.6em;
}
.contactinfo input {
   position: absolute;
   left: 5em;
}
.schedule input {
   position: absolute;
   left: 10em;
}
#nameinput, #emailinput {
   width: 25em;
}
#phoneinput {
   width: 12em;
}
#stay-nights {
   width: 3em;
}
/*label styles */
label {
   font-size: 1em;
   line-height: 1.6em;
}
.contactinfo label {
   display: block;
   position: relative;
   margin: 0.8em 0;
}
.roominfo label, .occasioninfo label {
   margin-right: 1.6em;
}
.schedule p {
   width: 9.2em;
   float: left;
}
.date-picker label {
   position: absolute;
   left: -10000px;
}
#submit {
   border: none;
   padding: 0.4em 0.6em;
   background-color: #e3d5ba;
   font-size: 1.25em;
   border-radius: 10px;
}
/* footer section */
footer {
   padding: 0.6em;
   background-color: #34180f;
   color: ivory;
   text-align: center;
}
/* print styles */
@media print {
   body, h1, article, footer {
      color: rgb(0,0,0);
      background: rgb(255,255,255);
   }
   body {
      max-width: 100%;
   }
   nav {
      display: none;
   }
}
@page {
   margin: 0.75in;
}