﻿/* 
   GiJoeGriff style sheet 
   Filename: styles.css

   Author: Charles Griffith, Jr.   
   Date:   1/08/2018  
   HTML5 and CSS3 Illustrated Unit J, Lessons
 */

/* reset styles */
html {
   font-size: 16px;
}
a, article, body, div, figcaption, figure, footer, form, header, h1, 
h2, h3, h4, img, input, label, li, nav, p, section, textarea, ul {
   border: 0;
   padding: 0;
   margin: 0;
}
img {
   max-width: 70%;
   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: #5e610b;
   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: black;
   background-color: white;
   font-size: 2.4em;
}

/* site navigation bar */
nav.sitenavigation {
   color: #5e610b;
   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: 900px;
   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;
}

h4 {
   margin: 1.4em 0 0.5em;
   font-size: 1.6em;
   text-align: center;
   color: red;
   font-family: Bitter, "Times New Roman", Times, serif;
   font-weight: 700;
   clear: both;
}
p {
	font-size: 1.6em;
	text-align: center;
	text-align: justify;
}

section, div, p {
	text-align: justify;
	clear: both;
}

section form {
	margin-left: auto;
    margin-right: auto;
	padding: 10px;
}

/* form styles */

form {
   padding: 10px;
   position: center;  
}

/* fieldset styles */

fieldset {
   margin-bottom: 0.8em;
}

fieldset fieldset {
  margin-top: 1em;
  padding: 0.8em;
  border: 1px solid #777;  
}

legend {
   font-size: 1.25em;
}

.contactinfo legend,
.reserveinfo > legend,
.additionalinfo legend {
	margin-left: -0.1em;
	font-weight: bold;
}

.schedule {
	position: relative;
}

/* field styles */
.contactinfo input, #stay-nights, textarea {
	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, #emailiput {
	width: 25em;
}
#phoneinput {
	width: 12em;
}
#stay-nights {
	width: 3em;
}
#submit {
	border: none;
	padding: 0.4em 0.6em;
	background-color: #e3d5ba;
	font-size: 1.25em;
	border-radius: 10px;
}
/*label styles */
label {
	font-size: 1em;
	line-height: 1.6em;
}
.contactinfo label, .occasioninfo label {
	display: block;
	position: relative;
	margin: 0.8em 0;
}
.roominfo label, .occasioninfo label {
	margin-right: 1.6em;
}
.roominfo label {
	margin-right: 1.6em;
}

.schedule p {
	width: 9.2em;
	float: left;
}
.date-picker label {
	position: absolute;
	left: -10000px;
}
article figure {
	max-width: 55%
	martin-left: 2em;
	float: right;
}
article figure.monica {
	margin-top: 2em;
}
article figcaption {
	text=align: center;
}



/* footer section */

footer, p {
   padding: 0.6em;
   background-color: #5e610b;
   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;
}