html {
    background: #363942;
}

#container {
    min-width: 750px;
    background: #f2f2f2 url("../images/back.jpg") repeat top left;
}

#header {
    position: relative;
    min-width: 750px;
    width: 100%;
    height: 175px;
    background: black url("../images/hf.png") repeat-x top left;
}

#headercontent {
    position: relative;
    min-width: 750px;
    max-width: 952px;
    width: 97%;
    height: 100%;
    margin: 0 auto;
}

#headercontent img {
    display: none;
}

#headercontent a {
    text-decoration: none;
}

#headercontent span a {
    position: absolute;
    bottom: 5em;
    right: 0;
    color: #e6e6e6;
    text-transform: uppercase;
    font-size: 0.75em;
}

#headercontent span a:hover {
    color: #f9f9f9;
}

#headercontent h1 {
    position: absolute;
    top: 45px;
    left: 0;
    height: 62px;
    width: 279px;
    background: url("../images/logo.png") no-repeat top left;
}

#headercontent h1 span {
    display: none;
}

#menu {
    position: absolute;
    bottom: 0.5em;
    left: 0;
    width: 100%;
    height: 2.5em;
}

#menu ul {
    min-width: 750px;
    max-width: 952px;
    width: 97%;
    margin: 0 auto;
    list-style: none;
    height: 100%;
}

#menu ul li {
    display: inline;
    height: 100%;
}

#menu ul li a {
    float: left;
    text-align: center;
    height: 100%;
    width: 20%;
    font-size: 0.9em;
    display: block;
    padding-top: 0.5em;
    color: #808080;
}

#menu ul li a strong {
    color: #e6e6e6;
    text-transform: uppercase;
    display: block;
    font-size: 1em;
}

#menu ul li a:hover {
    text-decoration: none;
    background: transparent url("../images/hf.png") repeat-x bottom left;;
}

#menu ul li a:hover strong {
    color: #f9f9f9;
}

#menu ul li a.currentpage {
    background: transparent url("../images/back_pattern.png") repeat top left;
}

#menu ul li a.currentpage strong {
    color: #f9f9f9;
}

#watermark {
    position: absolute;
    left: 63%;
    top: 35px;
    width: 37%;
    height: 413px;
    background: transparent url("../images/logo.png") no-repeat bottom center;
}

#content {
    position: relative;
    min-height: 500px;
    min-width: 750px;
    max-width: 952px;
    width: 97%;
    margin: 0 auto;
    margin-top: 15px;
}

#maincontent {
    width: 63%;
}

#specific {
    height: 150px;
}

#partners #specific {
    height: 0;
}

#index #specific #image {
    height: 100%;
    background: transparent url("../images/index.jpg") no-repeat top left;
}

#company #specific #image {
    height: 100%;
    background: transparent url("../images/company.jpg") no-repeat top left;
}

#services #specific #image {
    height: 100%;
    background: transparent url("../images/services.jpg") no-repeat top left;
}

#machine_vision #specific #image {
    height: 100%;
    background: transparent url("../images/services.jpg") no-repeat top left;
}

#careers #specific #image {
    height: 100%;
    background: transparent url("../images/careers.jpg") no-repeat top left;
}

#contact #specific #image {
    height: 100%;
    background: transparent url("../images/contact.jpg") no-repeat top left;
}

#contact_form #specific #image {
    height: 100%;
    background: transparent url("../images/contact_form.jpg") no-repeat top left;
}

#breadcrumb {
    padding: 0.25em 0;
    float: left;
    font-size: 0.8em;
}

#print {
    padding: 0.25em 0.25em 0 0;
    float: right;
}

#pagetext {
    clear: both;
    padding-bottom: 5em;
}

#pagetext p {
    padding: 1.5em 2em 0 2em;
}

#pagetext h1 {
    padding: 1em 2em 0 0;
    font-size: 1.5em;
    font-weight: bold;
    height: 1.5em;
    width: 90%;
    background: transparent url("../images/icons.png") repeat-x bottom left;
}

#pagetext h2 {
    margin: 0 0 0 1em;
    padding: 1em 2em 0 0;
    font-size: 1.25em;
    font-weight: bold;
    height: 1.5em;
    width: 90%;
    background: transparent url("../images/icons.png") repeat-x bottom left;
}

#pagetext ul {
    margin: 1em 1em 0 5em;
    padding: 0;
    list-style: disc;
}

#partners #pagetext ul {
    margin: 0;
    list-style: none;
}

#partners #pagetext li {
    margin-top: 2em;
}

#sidebar {
    position: absolute;
    top: 0;
    left: 63%;
    width: 37%;
    height: 100%;
    background: transparent url("../images/back_pattern.png") repeat top left;
}

#sidebar a {
    font-weight: normal;
}

#sidebartext {
    color: black;
}

#sidebartext h1 {
    font-size: 1.25em;
    font-weight: bold;
    padding: 0 1em;
}

#sidebartext h2 {
    font-size: 1em;
    font-weight: bold;
    margin: 0 1em;
    height: 1.75em;
    background: transparent url("../images/icons.png") repeat-x bottom left;
    margin-bottom: 1em;
}

#sidebartext p {
    padding: 0 1em;
}

#sidebartext p+p {
    padding-top: 1em;
}

#sidebartext ul {
    margin: 1em 1em 1em 3em;
    list-style: disc;
}

#contactinfo {
    padding-top: 2em;
    width: 100%;
}

#contactinfo p {
    text-align: center;
    margin: 1em;
    font-size: 1em;
}

#footer {
    position: relative;
    min-width: 750px;
    width: 100%;
    height: 49px;
    color: #808080;
    background: transparent url("../images/hf.png") repeat-x left -175px;
}

#footer a {
    text-decoration: none;
    color: #e6e6e6;
}

#footer a:hover {
    color: #f9f9f9;
}

#footercontent {
    position: relative;
    min-width: 750px;
    max-width: 952px;
    width: 97%;
    height: 30px;
    margin: 0 auto;
}

#footercontent .separator {
    position: absolute;
    top: 0;
    left: 63%;
    width: 37%;
    height: 30px;
    background: transparent url("../images/back_pattern.png") repeat top left;
}

#footertext {
    text-align: left;
    width: 63%;
    font-size: 0.75em;
    padding-bottom: 1em;
}

#footertext p {
    padding-top: 1em;
    padding-right: 1em;
}

#extra1 {
    position: absolute;
    top: 175px;
    left: 0;
    min-width: 750px;
    width: 100%;
    margin: 0 auto;
    height: 15px;
    background: transparent url("../images/back_pattern.png") repeat top left;
}
