body {
  margin: 0px;
  background: #302F2A url(images/layout/whitebg.png) repeat-y center center;
}
body, html { height: 100%; }
body, td {
  font-family: Tahoma, Geneva;
  font-size: 12px;
}

h1 {
  background: #FFFFFF url(images/layout/marvin.png) no-repeat right bottom;
  height: 70px;
  margin: 0 50px 0 0;
}
h1 span { display: none; }
h2 {
  margin: 10px 40px 10px 0;
  font-size: 11px;
  text-align: right;
  font-weight: normal;
}
h2 span {
}

h3 {
  font-family: Arial;
  font-size: 16px;
  font-weight: bold;
  color: #302F2A;
  background: url(images/layout/bulletlight.png) no-repeat 30px 3px;
  padding-left: 55px;
}

p { padding: 0 30px 0 30px; }

a { color: #E7BE00; }
a:hover { color: #666666; }

#container {
  background-color: #FFFFFF;
  width: 882px;
  height: 100%;
  margin: 0 auto 0 auto;
}

#focuscontent {
  clear: both;
  position: relative;
  margin-left: -32px;
  margin-right: -38px;
  background-image: url(images/layout/focusbg.png);
  width: 950px;
  height: 293px;
}

#menu {
  clear: both;
  display: table;
  width: 92%;
  border: dotted #BBBBBB;
  border-width: 1px 0 1px 0;
  margin: 0 auto 20px auto;
}
#menu ol, #menu tr {
  display: table-row;
  padding: 0px;
  list-style-type: none;
}
#menu li, #menu td {
  display: table-cell;
  text-align: center;
  padding: 5px 20px 5px 20px;
}
#menu a {
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000000;
  border: 1px solid white;
  padding: 2px 4px 2px 4px;
}
#menu a:hover {
  border: 1px solid #BBBBBB;
}
#menu .selected {
  font-weight: bold;
}

#submenu {
  margin: -20px auto 0px auto;
  display: table;
}
#submenu ol, #submenu tr {
  display: table-row;
  padding: 0px;
  list-style-type: none;
}
#submenu li, #submenu td  {
  display: table-cell;
  text-align: center;
  padding: 10px 25px 10px 25px;
}
#submenu a {
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
  color: #999999;
  border: 1px solid white;
  padding: 2px 4px 2px 4px;
}
#submenu a:hover {
  color: #000000;
  border: 1px solid #BBBBBB;
}
#submenu .selected {
  font-weight: bold;
}

#indexbanner strong { display: none; }
#indexbanner, .banner { padding: 48px 0 0 76px; }
#indexbanner div { background-repeat: no-repeat; height: 190px; float: left; width: 792px;}
#mainbanner1 { background-image: url(images/content/index/mainbanner1.jpg); background-position: top left;  }
#mainbanner2 { background-image: url(images/content/index/mainbanner2.jpg); background-position: top right; }
#mainbanner3 { background-image: url(images/content/index/mainbanner3.jpg); background-position: top left;  }
#mainbanner4 { background-image: url(images/content/index/mainbanner4.jpg); background-position: top right; }

#aboutbanner strong, #aboutbanner a span { display: none; }
#aboutbanner { padding: 48px 0 0 80px; }
#aboutbanner div { background: url(images/content/about/window-crafters/banner.jpg) top left no-repeat; height: 185px; }
#aboutbanner a {
  display: block;
  background: url(images/content/about/window-crafters/map.png) top left no-repeat;
  height: 188px; width: 323px;
  margin-left: auto;
  margin-right: 81px;
}

#frontbuttons { display: table; width: 93%; margin: 30px auto 30px auto; }
#frontbuttons ul, #frontbuttons tr { display: table-row; list-style: none; }
#frontbuttons li, #frontbuttons td { display: table-cell; text-align: center; }
#frontbuttons em { display: none; }
#frontbuttons span { display: block; height: 147px; width: 2px; background-color: #CCCCCC; }
#frontbuttons a {
  width: 240px;
  height: 145px;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #CCCCCC;
  display: block;
  margin: 0 auto 0 auto;
}
#frontbutton1 { background-image: url(images/content/index/news.jpg); }
#frontbutton2 { background-image: url(images/content/index/casestudies.jpg); }
#frontbutton3 { background-image: url(images/content/index/gallery.jpg); }


#footer {
  clear: both;
  width: 92%;
  border: dotted #BBBBBB;
  border-width: 1px 0 1px 0;
  margin: 30px auto 20px auto;
  background: url(images/layout/ce.png) no-repeat left center;
  text-align: right;
}
#footer span { display: block; padding: 3px 0px 3px 150px; }

.gallery { padding: 0 30px 0 30px; height: 147px; }
.gallery div {
  float: left;
  border: 1px solid #302F2A;
  border-width: 0 1px 0 1px;
  height: 147px;
  width: 746px;
  overflow: hidden;
}
#gallery {
  display: block;
  width: 10000px;
  height: 147px;
}
.gallery a.left, .gallery a.right {
  float: left;
  display: block;
  width: 27px;
  height: 147px;
  background: url(images/layout/leftarrow.png) no-repeat center left;
  margin: 0 10px 0 0;
}
.gallery a.right { background-image: url(images/layout/rightarrow.png); margin: 0 0 0 10px; }
.gallery a.left:hover, .gallery a.right:hover { background-position: center right; }
.gallery a em { display: none; }
.gallery img {
  margin-left: 10px;
  padding: 10px;
  border: 1px solid #CCCCCC;
}

#galleryframe { padding: 48px 0 0 80px; }
#galleryframe #focus {
  display: block;
  width: 10000px;
  height: 184px;
}
#galleryframe a.left, #galleryframe a.right {
  float: left;
  display: block;
  width: 30px;
  height: 184px;
  margin: 0 5px 0 0;
  background: url(images/layout/mainleftarrow.png) center left no-repeat;
}
#galleryframe a.right { margin: 0 0 0 5px; background-image: url(images/layout/mainrightarrow.png); }
#galleryframe a.left:hover, #galleryframe a.right:hover { background-position: center right; }
#galleryframe em { display: none; }
#galleryframe div {
  float: left;
  border: 1px solid #333333;
  height: 184px;
  width: 712px;
  overflow: hidden;
}
#galleryframe .corner {
  background: url(images/layout/curvedcorner.png) top left no-repeat;
  width: 78px;
  height: 74px;
  margin: -1px 0 0 -1px;
}
#galleryframe img {
  margin: 18px 0 0 10px;
  padding: 10px;
  border: 1px dotted #333333;
}

a.delete, a.add {
  position: absolute;
  display: block;
  background-image: url(images/layout/removepage.png);
  background-color: #7F7F7F;
  border: 1px solid #999999 !important;
  width: 7px;
  height: 7px;
  padding: 0 !important;
  margin: -10px 0 0 -7px;
}
a.delete:hover, a.add:hover {
  border: 1px solid #FF0000 !important;
  background-color: #FF0000;
}
a.add {
  background-image: url(images/layout/addpage.png);
  margin: -8px 0 0 0;
}

#floatingcorner {
  position: absolute;
  z-index: 1000;
  width: 75px;
  height: 75px;
  background: url(images/layout/corner.png) no-repeat top left;
}