@media screen {
    html, body, div, span, h1, h2, h3, h4, p, a, img, ul, li {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
    }

    html {
	font: 12px Arial, Helvetica, Verdana, sans-serif;
    }

    acronym {
	border-bottom: none;
    }

    a {
	text-decoration: none;
    }

    a:hover {
	text-decoration: underline;
    }

    a[href^="mailto:"] {
	padding-right: 16px;
	background: transparent url("../images/icons.png") no-repeat right -2px;
    }

    a[href^="mailto:"]:after {
	content: " " attr(title);
    }

    #pagetext a[href^="http"] {
	/*    text-decoration: none;
	      border-bottom: 1px dotted #bbb;*/
	padding-right: 14px;
	background: transparent url("../images/icons.png") no-repeat right -100px;
    }

    #partners #pagetext a[href^="http"] {
	padding-right: 0;
	background: transparent;
    }

    textarea {
	overflow: auto;
    }

    #contactform {
	width: 100%;
	padding-top: 1em;
	margin: 0;
    }

    #contactform p {
	padding: 0;
	margin: 0;
    }

    #contactform label {
	float: left;
	width: 8em;
	text-align: right;
	margin-right: 1em;
	clear: left;
    }

    #contactform input[type="text"], #contactform textarea {
	float: left;
	width: 60%;
	margin-bottom: 10px;
	background: #f2f2f2;
	opacity: .7;
    }

    #contactform input[type="submit"] {
	float: left;
	margin-left: 8em;
	clear: left;
    }

    #contactform textarea:focus, #contactform input[type="text"]:focus {
	border: 2px solid gray;
	background: white;
    }

    #contactform .error, #contactform textarea.error:focus, #contactform input[type="text"].error:focus {
	border: 3px groove red;
    }

    #contactform .extra {
	display: none;
    }

    #contact_form #pagetext p {
	clear: left;
    }

    p.errortext {
	color: red;
	font-weight: bold;
	margin-left: 8em;
    }

    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("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAFeCAYAAABEunUfAAAAAXNSR0IArs4c6QAAAI9JREFUOMtjyNvI8J+JgYGBgYmdm4GBiYOXgQHCRSO+f2RgYPr1nYGB6d9fxmcMBkZW/5FkmZiZGZhYWFix66UxwcjIOLh0jDpo1AuYBAMDA4MNhGVsavOWiZGRUQgiy8bOwcDEyckFVfz//39kvQguTglKuFQ0FJ/PR8GQBh1VEUxMDAwMjHACJ3dAJSBcAP63N1CoyLi6AAAAAElFTkSuQmCC") 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("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAFeCAYAAABEunUfAAAAAXNSR0IArs4c6QAAAI9JREFUOMtjyNvI8J+JgYGBgYmdm4GBiYOXgQHCRSO+f2RgYPr1nYGB6d9fxmcMBkZW/5FkmZiZGZhYWFix66UxwcjIOLh0jDpo1AuYBAMDA4MNhGVsavOWiZGRUQgiy8bOwcDEyckFVfz//39kvQguTglKuFQ0FJ/PR8GQBh1VEUxMDAwMjHACJ3dAJSBcAP63N1CoyLi6AAAAAElFTkSuQmCC") repeat-x bottom left;;
    }

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

    #menu ul li a.currentpage {
	background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAA6mAAAOpgBhycYwgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAbSURBVCiRY+yoijBiIBMwkatxVPOo5lHNOAAAvZMBqgGrRuYAAAAASUVORK5CYII=") 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("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAA6mAAAOpgBhycYwgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAbSURBVCiRY+yoijBiIBMwkatxVPOo5lHNOAAAvZMBqgGrRuYAAAAASUVORK5CYII=") 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("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAFeCAYAAABEunUfAAAAAXNSR0IArs4c6QAAAI9JREFUOMtjyNvI8J+JgYGBgYmdm4GBiYOXgQHCRSO+f2RgYPr1nYGB6d9fxmcMBkZW/5FkmZiZGZhYWFix66UxwcjIOLh0jDpo1AuYBAMDA4MNhGVsavOWiZGRUQgiy8bOwcDEyckFVfz//39kvQguTglKuFQ0FJ/PR8GQBh1VEUxMDAwMjHACJ3dAJSBcAP63N1CoyLi6AAAAAElFTkSuQmCC") 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("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAA6mAAAOpgBhycYwgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAbSURBVCiRY+yoijBiIBMwkatxVPOo5lHNOAAAvZMBqgGrRuYAAAAASUVORK5CYII=") 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("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAA6mAAAOpgBhycYwgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAbSURBVCiRY+yoijBiIBMwkatxVPOo5lHNOAAAvZMBqgGrRuYAAAAASUVORK5CYII=") repeat top left;
    }
}

@media screen and (max-device-width: 480px) {
    #container, #header, #headercontent, #menu ul, #content, #footer, #footercontent {
	min-width: 0;
    }

    #menu ul li a span, #menu a.currentpage, #sidebar, #watermark, #extra1, #footercontent .separator {
	display: none;
    }

    #menu ul li a {
	width: 25%;
    }

    #maincontent, #footertext {
	width: 97%;
    }
}

@media print {
    html {
	background: white;
    }

    body {
	font-family: Georgia, serif;
	color: black;
    }

    a {
	color: black;
	text-decoration: underline;
    }

    #container {
	width: 100%;
	margin: 0;
	padding: 0;
    }

    #headercontent h1 {
	font-size: 1.5em;
	padding-bottom: 1em;
    }

    #headercontent a, #menu, #breadcrumb, #footer, #sidebartext p, #sidebartext ul, #sidebartext h1, #sidebartext h2 {
	display: none;
    }

    #pagetext p {
	padding: 0 3em;
    }

    #pagetext h1 {
	font-size: 1.5em;
    }

    #pagetext ul {
	padding: 0 6em;
	margin: 0;
    }

    #pagetext ul li b {
	font-weight: normal;
    }

    #contactinfo {
	padding-top: 2em;
    }

    #contactinfo p {
	display: inline;
    }

    #contactform {
	width: 100%;
	padding-top: 1em;
	margin: 0;
    }

    #contactform p {
	padding: 0;
	margin: 0;
    }

    #contactform label {
	float: left;
	width: 8em;
	text-align: right;
	margin-right: 1em;
	clear: left;
    }

    #contactform input[type="text"], #contactform textarea {
	float: left;
	width: 60%;
	margin-bottom: 10px;
    }

    #contactform input[type="submit"] {
	display: none;
    }

    #contactform .extra {
	display: none;
    }

    #contact_form #pagetext p {
	clear: left;
    }
}

