/*style .css
/* DAniel GRover
/* javaScript final project
*/

* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
   margin: 0;
   padding: 0;
   border: 0;
   font-size: 100%;
   font: inherit;
   vertical-align: baseline;
}


article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
   display: block;
}



body {
   line-height: 2;
   width: 1050px;
   margin: 0 auto;
   font-family: garamond, 'times new roman', times, serif;
   background-color: #00AE58;
   background-position: top center;
   background-repeat: no-repeat;
   background-size: cover;

}

ol, ul {
   list-style: none;
}

blockquote, q {
   quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
   content: '';
   content: none;
}

table {
   border-collapse: collapse;
   border-spacing: 0;
}

a:link, a:visited {
   text-decoration: none;
   color: inherit;
}

a:hover {
   text-decoration: none;
   color: inherit;
}

a:active {
   text-decoration: none;
   color: inherit;
}


div.container {
   float: left;
}



div#wrapper {
   margin: 0 auto;   
}



header {
	margin: 0 auto;
   padding: 60px 10px;
   text-align: center;
   line-height: 3.8em;
   background: none;
   width: 1050px;
   float: left;
   color : #C6C8CA;
}

header h1 {
   font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
   font-size: 48pt;
   text-transform: uppercase;
   color: #efefef;
   text-shadow: 1px 1px 1px #000;
   font-weight: bold;
   
}


article {
   background-color:#6E298C;
   width: 1050px;
   float: left;
   margin: 0 auto;
   padding: 40px;
   border-radius: 4px;
 
}

article h2 {
   font-size: 60px;
   font-weight: bold;
   text-align: center;
   font-family:"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
   color: #efefef;
   text-shadow: 1px 1px 1px #000;
   padding-bottom: 40px;

}

article h3 {
   font-size: 18pt;
   font-weight: bold;
   text-align: center;
   padding-bottom: 10px;
}


form {
   width: 661px;
   margin: 0 auto;
   padding-bottom: 15px;
}

fieldset {
   position: relative;
   padding: 5px 30px 70px 30px;
   background: #D5C99E;
   border-radius: 5px;
   margin-left: 15px;
   margin-right: 15px;
   margin-bottom: 25px;
   
}

fieldset:last-of-type {
   margin-bottom: 0;
}

legend {
   color: #444;
   font-weight: bold;
   font-size: 36px;
   font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
   position: absolute;
   padding: 0px 0;
}

input, label, select, textarea, fieldset p, div.errorMessage, #ccNumErrorMessage, #cvvErrorMessage {
   position: relative;
   top: 60px;
   line-height: 1.2em;
}

textarea {
   min-width: 70%;
   min-height: 100px;
}

label, input {
   display: block;
}

div#ship-where {
   float: right;
   clear: right;
   width: 75%;
	display: inline;
	padding-top: 25px;
}

.cookie input, .cookie label {
   float: left;
   clear: none;
	display: inline !important;
}

#buttonContainer {
   width: 100%;
   text-align: center;
}

#orderButton {
   margin: 60px auto;
   background-color: #235;
   font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
   font-size: 24px;
   color: #fff;
   display: inline-block;
   padding: 10px 15px;
   border-color: #999;
}

fieldset.same input, div.same input {
   float: left;
   margin-right: 5px;
}

fieldset.same textarea {
   margin:0px 21px;
   padding: 0px 22px;
   width: 90%;
   height: 50px;
}

fieldset.text label {
   width: 8em;
   text-align: right;
   float: left;
   clear: left;
   margin-right: 20px;
   margin-top: 5px;
}

fieldset.text div.cookie {
   width: 70%;
}

fieldset.text div.cookie label, fieldset.text div.cookie input{
   display: inline !important;
   clear: none;
}

fieldset.text input, fieldset.text select {
   margin-top: 5px;
   margin-right: 10px;
}

fieldset div.errorMessage, #ccNumErrorMessage, #cvvErrorMessage {
   display: none;
   color: red;
   margin-top: 10px;
}

fieldset#orderInfoBox textarea {
   white-space: pre-wrap;
}

#ccNumErrorMessage, #cvvErrorMessage {
   margin-left: 8.5em;
}

div.same label {
   width: auto;
   text-align: left;
   float: none;
   clear: none;
}

div.inline label, div.inline input, div.inline select, div.inline div {
   display: inline-block;
   float: none;
   text-align: center;
   width: auto;
}

div.inline option {
   text-align: left;
}

#accountFName, #accountLName, #shipFName, #shipLName, #accountCity, #shipCity {
   width: 15em;
}

#accountStreet, #shipStreet, #accountEmail, #shipEmail {
   width: 20em;
}

#accountZip, #shipZip {
   width: 10em;
}

#ccquantity, #lcquantity, #sdquantity, #dsquantity, #tmquantity {
	width: 2em;
}

/* footer */
footer {
   width: 1050px;
   color: #000;
   background: rgba(255,255,255, 0.6);
   font-size: 26px;
   padding: 20px;
   text-align: center;
   float: right;
   letter-spacing: 2px;
}
