/* CSS File */

/* can do ID specific things:

#para1 {
	color: red;
}
[...]
<p id="para1">This is a paragraph.</p>

*/

/* Defaults */
html{
}

body {
	background-color: saddlebrown;
	background-image: url("Images/backgroundtable.jpg");
	background-repeat: no-repeat; /* options are repeat-x and repeat-y for horizontal and vertical, and no-repeat */
	background-size: 100% 100%;
	background-attachment: fixed;
	margin: 0 0 0 0;
	padding: 5px;
}

h1 {
	color: white;
	text-align: center;
	font-size: 50px;
	margin-top: 15px;
	text-shadow: 4px 4px saddlebrown;/* rgb(140,140,140);*/
}

h2 {
	color: white;
	text-align: center;
	font-size: 20px;
	/*background-color: rgba(150, 150, 150, .5)*/
}

h3 {
	color: white;
}

h4 {
	color: white;
}

p {
	color: cornsilk;
	font-size: 18px;
	text-align: left;
	text-indent: 25px;
	margin-left: 10px;
	margin-right: 10px;
	letter-spacing: 1.5px;
	background-color: saddlebrown; /*rgba(150, 150, 150, .5); */
}

a {
	color:cornsilk;
}

a.Table{
	color:black;
}

p.Footnote {
	font-size:11px;
	letter-spacing:1px;
}

img {				
	max-width:340px; 
	
	
}

img.Preview {
	max-width:200px;
}

/*img.InSmall {
	max-width:340px;
}*/

img.NarrowPreview {
	max-width:100px;
}

div.ImageContainer {
	align:right;
	width:100%;
}

div.ScrollIfNeeded{
	overflow-x: auto;/* Horizontal scroll if necessary */
	margin-bottom: 1em;
}

div.Content{
	margin-top:70px; /* under the top menu*/
	margin-left:16%;
	width:82%;
	padding-right:1vw;
	padding-left:1vw;
	
}

.Small{
	max-width:700px;
	margin-left: auto;
	margin-right: auto;
}

/* Side Nave Stuff*/

.SideNav {
	margin: 0;
	padding: 0;
	width: 16%;
	background-color: saddlebrown;
	position: fixed;
	overflow: auto;
	left:0;
	height: 100%;
	top:0;
	padding-top: 70px;
}

.SideNav a {
	padding: 6px 8px 6px 16px; /* top right bottom left */
	text-decoration: none;
	font-size: 2vw;
	color:white;
	display:block;
}

.SideNav a:hover {
    background-color:sienna;
}

div.Main {
	margin-top:70px;
	max-width:700px;
	margin-left: auto;
	margin-right: auto;
}

/* Use a media query to add a break point at 700px and 400px: */
@media screen and (max-width:700px) {
  div.Content {
    width: 100%; 
	height:auto;
	position:relative;
	
	margin-left:0;
	margin-top:0;
  }	

  .SideNav {
    width:100%; 
	height:auto;
	position:relative;
	margin-top: 70px;
	top: auto;
	padding-top: 0;
  }
  
  .SideNav a{
	  float: left;
	  font-size: 4vw;
  }
  
}

@media screen and (max-width: 400px) {
  .SideNav a {
    text-align: center;
    float: none;
	font-size:7vw;
  }
}

/* Table Stuff*/

Table{
	color: black;
	max-width: 500px;
    border-collapse: collapse;
    width: 100%;
	
	margin-left:auto;
	margin-right: auto;
}

Table.Bench {
	max-width: 300px;
}

Table.CupHolders {
	max-width: 400px;
}

Table.Order {
	max-width:450px;
	margin-top: 20px;
}

Table.Rails {
	max-width: 350px;
}

Table.Replacement
{
	max-width: 350px;
}

Table.Stains {
	/*margin-left:30px;
	padding-right:30px;*/
}

Table.TableSize{
	max-width: 410px;
}

Table.TableHeight{
	max-width:300px;
}

Table.TableTops{
	max-width:750px;
}

Table.Wood{
	max-width:300px;
}
	
Table td, Table th {
    border: 1px solid #ddd;
    padding: 8px;	
}

Table tr:nth-child(even){background-color: wheat;}
Table tr:nth-child(odd){background-color: #f2f2f2;}

Table tr:hover {background-color: #ddd;}

Table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: saddlebrown;
    color: white;
}




/*Dropdown Menu stuff*/

.Menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

div.TopNav {
	width:100%;
	position:fixed;
	top:0;
	left:0;
	z-index:1;
}


.MenuItem {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 7px 8px;
    text-decoration: none;
}

li.dropdown{
    display: inline-block;
    color: white;
    text-align: center;
    padding: 7px 8px;
    text-decoration: none;
}

.dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 8px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}


/* FAQ stuff */
Button.FAQ {
	text-align:center;
    background-color: saddlebrown;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
	max-width:800px;
    border: none;
    outline: none;
    font-size: 15px;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
    font-weight: bold;
	letter-spacing:1px;
}

Div.FAQs {
}

Button.active, Button.FAQ:hover {
    background-color: sienna;
}

Button.FAQ:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: auto;
	
}

Button.active:after {
    content: "\2212";
}

div.FAQAnswer {
	text-align: justify;
    width: 100%;
	max-width:800px;
	box-sizing: border-box;
	padding: 0 20px;
	/*padding: 0 0;*/
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: peru;
	color:cornsilk;
	margin-left:auto;
	margin-right: auto;
}