/* layout.css */
/* project */

*{box-sizing:border-box;}
DIV#WRAPPER {
    padding: 0px;
    width: 800px; /*auto to fit to whole page*/
    height: 600px;
    overflow: auto;
    margin: 0px auto;  /* trick for centering webpage*/
}   
.box {
    border: solid red 5px;;
    overflow: auto; /* SOOOO importnant! for overflow wrapping */
} 

html {
    background-color:tan;
    background-image:url('garage_shop.jpg');
    background-repeat:no-repeat;
    background-position:center center;
    background-attachment: fixed; /* we don't want it to scroll */
    background-size: cover;
}

a:link{color: pink;}
a:visited{color: darkred;}  /* what happens after visited */
a:hover{color: green; background-color:;}   /* mouse */
a:active{color:white; background-color:;}  /* mouse */

body {
    /*background-color: grey; */
}

header#home{
    background-color: blue;
    color: gold;
    text-align: center;
    width:100%;
    top:0px;
    left:0px;
}
header#services{
    background-color: darkred;
    color: lightgrey;
    text-align: center;
}
header#contactus{
    background-color: grey;
    color: powderblue;
    text-align: center;
}

footer {
    font-family:Arial;
    font-size: 14px;
    color:gold;
    position:fixed;
    left:0px;
    bottom:0px;
    width:100%;
    background-color:purple;
}

.content {
    font-family: Arial;
    font-size: 18px;
    font-color: white;
    width:62%;
    float:left;
}

/* my own 5 CSS stuff */
#p1 {
    color: White;   
    font-size:: 12px;  
    font-family:courier; 
    text-align:center;
}

#p2 {
    color: White; 
    font-size: 20px;
}
.imgcenter {
    text-align: center;
}
img#oil {
    height:auto;
    width:  90%;
    margin-left: auto;   
    margin-right: auto;
    display: block;
    /*padding: 0px 5px 0px 5px;*/ /* TOP-RIGHT-BTTM-LEFT*/
}

#ermergers {
    height: 150px;
    width:  32%;
    /*padding: 0px 15px 0px 40px;*/ /* TOP-RIGHT-BTTM-LEFT*/
}

div#left {
    float:  left;
    width:  19%;
    height: 150px;
    border-style: solid;
    color:#515;  
    background:#0bb;
    /*margin: 0px;*/        /* super important, does the aligning */
    padding: 0px 1px 1px 1px; /* T R B L */
}
div#right {
    float:  right;
    width:  19%;
    word-wrap: break-word;
    border-style: solid;
    color:#238;  
    background:#cab;
    /*margin: 5px;*/        /* super important, does the aligning */
    padding: 5px 1px 5px 5px; /* L R T B */
}

#divBorder {
  margin: auto;        /* super important, does the aligning */
  width: 450px;  
  padding:0px 10px 0px 10px;
  border:6px solid #521; 
  background:#0af;
  color:#515;  
}

#divOil {
  margin: auto;        /* super important, does the aligning */
  width: 450px;  
  padding:0px 10px 0px 10px;
  border:6px solid #521; 
  background:#afc;
  color:#515;  
}
#divGasket {
  margin: auto;        /* super important, does the aligning */
  width: 450px;  
  padding:0px 10px 0px 10px;
  border:6px solid #521; 
  background:lightgrey;
  color:#515;  
}

li a {
    display: block;
    color: #000;
    padding: 8px 0px;
    text-decoration: none;
}

li a.active {
    background-color: #4CAF50;
    color: white;
}

li a:hover:not(.active) {
    background-color: #555;
    color: white;
}

#ulleft :hover{
    border-style:dotted;
    border-color: yellow; 
    font-color:red;
}


