/* site.css */


header, footer {
    background-color: lightgray;
    border: solid 1px black;
    font-family: 'Times New Roman', serif;
}


/* title logo */
.bordered-image {
    border: solid 1px #444;
    padding: 4px;
    border-radius: 4px;
}

footer {
    padding: 10px;
    border-radius: 3px;
}
body {
    font-family: Segoe UI, Arial, Helvetica, sans-serif;
    font-size: 18px;
    background-image: url("../img/leather-background.png"); 
    background-repeat: repeat;
}
html, body {
    padding: 0;
    margin: 0;
}
#main {
    border: solid 1px #ccc;
    border-radius: 5px;
    color: #202020;
    margin: 20px 0;
    padding: 5px;
}


/* Product categories table on main product page */
#mainCatalog {
    -webkit-column-width: 989px; 
    -moz-column-width: 989px;
    column-width: 989px;
}
#mainCatalog th{
    display: inline-block;
    padding: 2px;
    height: 240px;
    border: darkgrey ridge 4px;
}

#mainCatalog img{
    margin: 5px;
    max-width: 210px;
    max-height: 210px;
}


/* specific product catalog pages and cooresponding tables */
#subCatalog {
    margin: auto;
    -webkit-column-width: 989px; 
    -moz-column-width: 989px;
    column-width: 989px;
}
#subCatalog th {
    display: inline-block;
    padding: 2px;
    width: 240px;
    height: 240px;
    border: darkgrey ridge 4px;
}
#subCatalog img{
    margin: 2px;
    max-width: 230px;
    max-height: 230px;
}

/* table images with transition captions */
figure { 
  margin: auto 0.55em;  
  display: block; 
  position: relative; 
  overflow: hidden; 
}
figcaption { 
  font-size: 65%;
  position: absolute; 
  background: rgba(0,0,0,0.75); 
  color: white; 
  padding: 2px 55px; 
  opacity: 0;
  bottom: -30%; 
  left: 0;
  -webkit-transition: all 0.6s ease;
  -moz-transition:    all 0.6s ease;
  -o-transition:      all 0.6s ease;
} 
figure:hover figcaption {
  opacity: 1;
  bottom: 0;
}
figure:before { 
  content: "?"; 
  position: absolute; 
  background: rgba(255,255,255,0.75); 
  color: black;
  width: 24px;
  height: 24px;
  -webkit-border-radius: 12px;
  -moz-border-radius:    12px;
  border-radius:         12px;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  bottom: 10px;
  left: 10px;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  opacity: 0.75;	
}
figure:hover:before {
  opacity: 0;
}
#secondary {
    border: solid 1px #ccc;
    border-radius: 5px;
    margin: 20px 0;
    padding: 5px;
}
#secondary h2 {
    text-align: center;
}
#results {
    padding: 2px;
    width: 600px;
    display: inline-block;
    vertical-align: top;
}



/* image slideshows */
.slideshow { 
    float: right;
    box-shadow: 0px 0px 6px black;
    margin: 0 auto;
    width: 560px;
    height: 400px;
    position: relative;
    overflow: hidden;

}
.slideshow img  { 
    display: block;
    position: absolute; 
    transition: opacity 2s;
    opacity: 0;
    width: 560px; 
    height: auto;
}
.slideshow img:first-child { 
    z-index: 2; 
    opacity: 1;
}
.slideshow img:last-child {
    z-index: 1; 
    opacity: 1;
}

/* PayPal form add to cart picture */
.paypalform input[type=image] {
    width: 120px;
    height: 40px;
    background-color: inherit;
    border: 0;
    padding: 0;
    margin-top: 2px;
}
.paypalform input[type=text] {
    width: 120px;
    height: 20px;
    
    border: 0;
    padding: 0;
    margin-top: 2px;
}

/* Pay Pal view Cart Button */
.viewcart {
    float: right;
    position: relative;
    background-color: inherit;
}
.viewcart input[type=image] {
    width: 200px;
    height: 35px;
    background-color: inherit;
    border: 0;
    padding: 0;
    margin-top: 2px;
}


/* contact us form */
.simple-form {
    padding: 2px;
    width: 500px;
    display: inline-block;
    vertical-align: top;
}
.simple-form label {
    font-weight: bold;
}

.simple-form{
    margin: 0 auto;
    width: 500px;
}
input, textarea {
    width:500px;
    height:27px;
    background:#efefef;
    border:1px solid #dedede;
    padding:10px;
    margin-top:3px;
    font-size:0.9em;
    color:#3a3a3a;
    right: auto;
}
input, select {
    width: 500px;
    margin-top: 3px;
}
.simple-form input[type=button] {
    background-color: saddlebrown;
    color: white;
    border-radius: 15px;
    padding: 3px;
    margin-top: 5px;
    cursor: pointer;
}
.container {
    width: 989px;
    margin: 0 auto;
    background-color: #e6dcdb;
    padding: 5px;
}



/* navigation bar */
.nav ul {
    list-style: none;
    background-color: #444;
    text-align: center;
    padding: 0;
    margin: 0;
    z-index: 1;
}
.nav li {
    font-family: 'Oswald', sans-serif;
    width: 193px;
    border-bottom: none;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    display: inline-block;
    margin-right: 0px;
}
.nav a{
    text-decoration: none;
    color: #fff;
    display: block;
    padding-left: 15px;
    border-bottom: 1px solid #888;
    transition: .3s background-color;
}
.nav a:hover {
    background-color: #005f5f;
}
.nav a.active {
    background-color: #aaa;
    color: #444;
    cursor: default;
}
.nav li li {
    font-size: 14px
}
.nav > ul > li {
    text-align: left;
}
.nav > ul > li > a {
    padding-left: 4px;
}



/* Nav bar Sub Menus */
.nav li ul {
    position: absolute;
    display: none;
    width: inherit;
}
.nav li:hover ul {
    display: block;
}
.nav li ul li {
    display: block;
}



/* contact us information */
.info {
    float: right;
    padding-right: 55px;
}
