html {
background: #e4e4e4; /* Old browsers */
background: -moz-linear-gradient(top,  #e4e4e4 0%, #e4e4e4 19%, #ffffff 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4e4e4), color-stop(19%,#e4e4e4), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #e4e4e4 0%,#e4e4e4 19%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #e4e4e4 0%,#e4e4e4 19%,#ffffff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #e4e4e4 0%,#e4e4e4 19%,#ffffff 100%); /* IE10+ */
background: linear-gradient(to bottom,  #e4e4e4 0%,#e4e4e4 19%,#ffffff 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e4e4', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
body {background:url(../images/lines.png) repeat-x;
    font-family: 'Roboto', sans-serif;
    margin:0;
}
button {
    background-color: #70AF70;
    border: solid 2px #4d4c4c;
    border-radius: 0 0px;
    color: #ffffff;
    font-family: 'Oswald', serif;
    font-weight:700;
    font-size: 1.8em;
    padding: 0 8px 5px 8px;
}
button:hover {
    background-color: #4d4c4c;
    border: solid 2px #70AF70;
    cursor: pointer;
}
h1 {
    color: #d22228;
    font-family: 'Oswald', serif;
    font-weight:700;
    margin: 10px;
    padding: 0;
}
h2 {
    color: #d22228;
    font-family: 'Oswald', serif;
    font-weight:700;
    font-size:1.8em;
    margin: 0;
    padding: 0;
}
h3 {
    font-family: 'Oswald', serif;
    margin: 0;
}
h4 {
    color: #d22228;
    margin-bottom: 0;
}
a:link, a:visited {color:#70AF70}
a:hover, a:active {text-decoration:none;}
#logo {
    /*float: left;*/
/*    margin-left: 20px;
    margin-top: 15px;
*/
}
#phone {
    color: #d22228;
    font-size: 1.5em;
    font-weight: bold;
/*    position: absolute;
    right: 40px;
    top: 20px;
*/
    float: right;
}
#top {
    /*float: left;*/
    /*margin-left: 20px;*/
    overflow: auto;
/*    padding-top: 5px;
    padding-bottom: 20px;
*/    /*position: relative;*/

    padding: 10px 10px 4px 10px;
}
#menu {
    /*float: left;*/
    margin: 4px;
}
#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#menu ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}
#menu ul li a {
    color: #ffffff;
    background-color: #d22228; /*#4d4c4c;*/
    border: solid 2px #000;
    font-family: 'Oswald', sans-serif;
    font-size:1.2em;
    font-weight:700;
    border-radius: 0px 0;
    display: block;
    /*float: left;*/
    margin: 0 0 0 3px;
    padding: 0 25px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
}
#menu ul li:first-of-type a {margin:0 !important;} 
#menu ul li a:hover {
    /*background-color: #AAAAAB;*/
    border: solid 2px #fff;
    /*color: #d22228;*/
    text-decoration: underline;
}
#sub {
    z-index: 9999;
}
#sub ul {
    margin: 0;
    padding: 0;
}
#sub ul li {
    /*display: inline;*/
    margin: 0;
    padding: 0;
}
#sub ul li a {
    color: #000000;
    background-color: transparent;
    border: none;
    border-radius: none;
    display: inline;
    float: left;
    margin: 0;
    padding: 0;
    height: auto;
    line-height: normal;
    text-decoration: none;
}
#sub ul li a:hover {
    background-color: transparent;
    color: #d22228;
}
#wrap {
    position: relative;
    display: block;
    float: left;
}
#sub {
    background-color: #dddddd;
    position: absolute;
    left: 10px;
    top: 34px;
    border: solid 2px #4d4c4c;
    border-radius: 0 10px;
    padding: 10px;
    /*display: none;*/
}
#tabs {
    list-style: none;
    margin: 0 0 0px 0;
    padding: 0;
}
#tabs li {
    color: #ffffff;
    display: inline-block;
    background-color: #4d4c4c;
    border-radius: 0 10px 0 0;
    padding: 5px 15px;
    margin: 0 2px 0 0;
}
#tabs li:hover:not(.selected) {
    background-color: #AAAAAB;
    color: #d22228;
    cursor: pointer;
    text-decoration: underline;
}
#container {
    border-radius: 0px;
    /*height: 600px;*/
    width: 800px;
    /*padding: 20px;*/
    margin: auto;
    overflow: auto;
}
#content {
    background:rgba(255,255,255,0.5);
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: auto;
}
#contentPage {
    background:rgba(255,250,250,.5);
    padding: 20px;
    border-top: solid 10px #000;
    overflow: auto;
    min-height:500px;

}
#footer {
    background-color: #000;
    color: #ffffff;
    font-size: 0.7em;
    margin: 20px auto 0 auto;
    padding: 5px;
    text-align: center;
}
#footer a {
    color: #ffffff;
}
#cartCount {
    font-weight: bold;
}
#modal {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}
#modalWindow {
    background: #555555;
    position: fixed;
    height: 80%;
    width: 80%;
    left: 10%;
    top: 10%;
}
#modalContent {
  background-color: #ffffff;
  position: absolute;
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 5px;
  padding: 10px;
  overflow: auto;
}
#partImage {
    max-height: 400px;
    max-width: 600px;
}
.dialogIsOpen #container {
    pointer-events: none;
}
.dialogIsOpen #modal {
    opacity: 1;
}
.dialogIsOpen #modalWindow {
    pointer-events: auto;
}
.tabPage {
    /*background-color: #f0f0f0;*/
    border: solid 2px #4d4c4c;
    /*border-radius: 0 80px 0 0;*/
    padding: 20px;
    overflow: auto;
}
.hidden {
    display: none;
}
.selected {
    background-color: #d22228 !important;
    color: #ffffff !important;
}
.center {
    text-align: center;
}
.left {
    float: left;
}
.right {
}
.smTitle {
    color: #4d4c4c;
    font-size: 0.7em;
}
.accessory {
    max-width: 150px;
    max-height: 100px;
}
.partNote {
    font-size: small;
    font-style: italic;
}
.price {
    font-size: 1.3em;
    font-weight: bold;
}