/*
	CSS for Northen Metal Fab, Inc.
	by Ken Neville (ken.neville@gmail.com)
	(c) 2007 - All Rights Reserved
*/

/* Zero default margin & padding around common elements */
body, dd, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, li, ol, p, ul, div {
margin: 0px;
border: 0px none #FFFFFF;
padding: 0px;
/*list-style: none;*/
}

body {
background-image: url(../assets/gridtall.gif);
background-repeat: repeat-x;
background-color: #243E71;

font-family: Helvetica,Arial,Sans-serif;

}
html>body {

min-width: 750px;
}

/* background and header elements */

#underlayTop {
position: absolute; z-index: 2;
left: 0px; top: 0px;
width: 600px; height: 38px;
background-image: url(../assets/underlayTop.gif);
background-repeat: no-repeat;
background-position: top left;
}
#underlayBG {
position: absolute; z-index: 10;
left: 24px; top: 132px;
width: 224px; height: 500px;
background-image: url(../assets/underlayBG.gif);
background-repeat: repeat-x;
background-position: 0px -1px;
}


#headerMain {
position: relative; z-index: 15; top: 0px;
height: 133px; margin: 0px;
width: 970px;
width: 100%;
background-image: url(../assets/slottedHeader.gif);
background-repeat: repeat-x;
background-position: -6px 38px;
}
html>body #headerMain {
width: 100%;
min-width: 970px;
}
#headerMain img.headerLogo {
position: absolute; z-index: 10;
top: 6px; left: 63px;
border: 0px;
}
#headerMain img.headerText {
position: absolute; z-index: 5;
top: 64px; left: 250px;
}

/* main layout and content positioning */


#bodyMain {
margin-left: 0px;
margin-right: 96px;
position: relative;
left: 48px;

max-width: 1060px;
min-width: 870px;

width: auto !important;
width: 870px;
}

#mainColumn {
background-image: url(../assets/underlayBG2.gif);
background-repeat: repeat-x;
background-position: -1px -2px;
background-color: #192b4f;
border-left: 200px solid #192b4f;

}
html>body #mainColumn {


}

.headspacer {
background-image: url(../assets/headlinesbg.gif);
background-repeat: no-repeat;
background-position: -1px -2px;
position: relative;
z-index: 9;
text-align: left;
height: 20px;
}

#contentMain {
text-align: left;
color: #333;
}

.page_opener {
height: 120px;
background-color: #445;
position: relative;
background-image: url(../assets/openerTile.gif);
background-repeat: repeat;
background-position: -9px -10px;
padding: 0px;
min-width: 550px;
}

.page_opener h1 {
color: #ddd !important;
position: absolute;
bottom: 20px;
left: 30px;
}

.page_opener img {
position: absolute;
top: 0px; right: 0px;

}

.content {
background-color: #fbfbfb;
background-image: url(../assets/underlayBG2.gif);
background-repeat: repeat-x;
background-position: 16px -103px;
overflow: visible;
padding: 25px;
/*
  _brilliant_ ie6 hack for min-height via
  http://www.dustindiaz.com/min-height-fast-hack/
*/
min-height:400px;
height:auto !important;
height:400px;
}

.content h1,.content h2,.page_opener h1{
color: #555;
text-transform: uppercase;
font-family: Helvetica,Arial,san-serif;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 15px;
line-height: normal;
letter-spacing: 2px;
padding-left: 0px;
clear: both;
}

.content h1{
margin: 30px 0px 0px 0px;
padding: 5px 0px 0px 10px;

}

.content h2 {
clear: none;
padding: 0px;
margin: 2px;
font-size: 14px;
letter-spacing: 1px;
font-weight: bold;
color: #3c4453;
}

.content p {
font-size: 13px;
letter-spacing: normal;
font-family: Helvetica,Arial,san-serif;

margin: 15px 10px 10px 15px;
max-width: 400px;
width: 290px;
}
html>body .content p {
width: auto;

}

.content img { border: none; margin: 10px;}

.content ul{
font-size: 14px;
padding-left: 10px;
}


.content img, .content a {
margin: 0px; padding: 0px;
border: 0px;
}
.content p a {
color: #de6916;
text-decoration: none;
border-bottom: 1px dotted #de9f55;
}
.content p a:hover {
border-bottom: 1px solid #de6916;
}
.content a img {
border: 2px solid white !important;
padding: 0px;
margin: 0px;
}
.content a:hover img {
border: 2px solid #fbaf5d !important;
}

.float-right {
position: relative; z-index: 60;
float: right;
width: 300px;
text-align: right;
margin: 0px; padding: 0px;
overflow: hidden;
}

.float-right a {

}

.float-right img {
margin-left: 4px !important;
margin-bottom: 4px !important;
float: right;
}

.float-right p {
float: right;
font-size: 12px;
width: 250px;
margin: 5px;
font-style: italic;
}

/* fab/machine highlights */

div.equip_highlight {
position: relative;
background-image: url(../assets/lightgridfade.gif);
background-repeat: repeat-x;
background-position: bottom left;

}

div.equip_highlight h1 {
color: #fffcfa;
height: 21px;
background-image: url(../assets/bluestrip.gif);
text-align: left;
margin: 0px;
padding: 4px 0px 0px 10px;

}

p.equip_info {
/*
position: absolute; z-index: 50;
*/
text-align: left;
width: 260px;
margin: 40px 20px 30px 5px;
padding-left: 20px;
}

p.equip_info br {
margin: 5px;
}

/* info slide; more images */

div.equip_slider {
position: relative; z-index: 40;
float: right;
margin: 0px;
width: 300px;
padding: 10px 8px 4px 8px;
text-align: center;
margin-bottom: 15px;
margin-left: 20px;
}

div.equip_slider h2 {
font-weight: bold;
text-transform: none;
}

div.equip_slider a, div.equip_slider a:hover {
padding: 0px;
margin: 0px;
border: 0px;
}
div.equip_slider a img {
border: 2px solid white;
padding: 0px;
margin: 0px;
}
div.equip_slider a:hover img {
border: 2px solid #fbaf5d;
}

a.infoslideOpener {
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
letter-spacing: 2px;
position: relative; top: -4px;
color: #de6916;
text-decoration: none;
border-bottom: 1px dotted #de9f55 !important;
}
a.infoslideOpener:hover {
border-bottom: 1px solid #de6916 !important;
}

.infoslide {
padding: 0px 0px 10px 2px;
font-size: 12px;
}
.infotray {
background-color: #3c4453;
font-size: 11px;
text-align: left;
color: #ddd;
padding: 5px 10px 5px 10px;
}
.infoslide ul {
list-style: square;
}
.infoslide ul li {
font-size: 11px;
margin-left: 8px;
}
.infoslide ul li ul {
list-style: none;
margin: 0px;
padding: 0px;
line-height: normal;
}
.infoslide ul li ul li {
margin: 0px;
padding: 0px;
font-size: smaller;
}
.infoslide table, .infotray li ul li {
margin: 4px;
font-size: smaller;
}
.infoslide tr {
margin: 1px;
padding: 1px;
}

.more_images {
overflow: auto;
clear: both;
text-align: right;
margin-top: 15px;
padding-right: 15px;
height: 100px;
}

.more_images h3 {
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: .1em;
color: #888;
margin: 0px;
}

.to_top {
clear: both;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: .1em;
color: #777 !important;
text-decoration: none;
border-bottom: 1px dotted #777;
position: absolute;
bottom: 0px; right: 0px;
margin: 3px 10px 3px 0px;
}

/* galleries */

.galleryColumn {
text-align: center;
max-width: 620px;
border-top: 1px dotted #243E71;
border-bottom: 1px dotted #243E71;
margin: 10px;
height: 520px;
padding: 20px;
line-height: 11px;
background-image: url(../assets/lightgreytile.gif);

}

.galleryColumn a{
text-decoration: none;
}

.galleryThumb {

}

.captionThumb {
float:left;
width: 180px;
height: 165px;
position: relative;
}

.galleryThumb img, .captionThumb img {
margin: 5px;
padding: 1px;
border: 1px dotted #484848;

}
.galleryThumb:hover img, .captionThumb:hover img{
border: 1px dotted #222;
}

.captionText {
position: absolute;
top: 130px;
left: 0;
width: 100%;
text-transform: uppercase;
font-size: 10px;
color: #243E71;
text-decoration: none;
border-bottom: none;
}

/* sidebars and footers */

#contentEndCap {
position: relative; z-index: 40;
height: 21px;
background-image: url(../assets/thingreystrip.gif);
background-repeat: repeat-x;
text-align: right;
border-bottom: 1px solid #192b4f;
margin-left: 48px;
margin-right: 48px;

font-size: 10px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: .1em;
color: #777;

max-width: 1060px;
min-width: 870px;

width:auto !important;
width:870px;
}

#contentEndCap span {
position: relative;
top: 5px; left: -90px;
}
#contentEndCap img {
position: absolute;
right: 4px; top: 3px;
margin: 0px; padding: 0px;
border: 0px;
}

.sideColumn {
position: absolute; z-index: 35;
left: 48px; top: 200px;
width: 200px;
min-height: 350px;
text-align: left;
/*
border-top: 1px dotted #fff;
border-bottom: 1px dotted #fff;
*/

}

.sideColumn {
font-size: 11px;
letter-spacing: normal;
line-height: 125%;
font-family: Arial,sans-serif;
padding: 5px 5px 5px 10px;
margin: 0px 0px 10px 0px;
color: #cdd3df;
}
.sideColumn p {
width: 180px;
}
.sideColumn ul{
list-style: square outside;
margin: 4px;
padding-left: 10px;
clear: both;
}
.sideColumn ul li {
padding: 0px;
}

.sideColumn h4{
font-size: 11px;
letter-spacing: 2px;
text-transform: uppercase;
color: #7e8dab;
font-family: Arial Narrow,sans-serif;
font-weight: normal;
line-height: normal;
padding: 0px;
margin: 0px 0px 2px 5px;
}
.sideColumn a {
margin: 0px; padding: 0px;
border: 0px;
}
.sideColumn a {
color: #de6916;
text-decoration: none;
border-bottom: 1px dotted #de9f55;
}
.sideColumn a:hover {
border-bottom: 1px solid #de6916;
}


#contact {
position: relative; z-index: 45;
left: 48px; top: -122px;
width: 200px; height: 120px;
border-bottom: 1px solid #192b4f;
border-top: 1px solid #ccc;
background-image: url(../assets/silgrad.gif);
background-repeat: repeat-x;
background-color: #b8b8b8;
text-align: center;
font-family: Helvetica,Arial,Sans-Serif;
font-size: 12px;
letter-spacing: normal;
font-weight: normal;
}

#contact p.company { 
padding: 5px 0px 8px 0px;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: .1em;
color: #444;
}
#contact p.address { margin-top: -3px; }
#contact p.phone { margin-top: 3px; }
#contact img.flag { position: relative; top: 5px; left: 4px; }
#contact img.map, #contact img.email {
position: absolute; bottom: 0px;
margin: 0px; padding: 0px;
border: 0px;
}
#contact img.map { left: 0px; }
#contact img.email { right: 0px; }

#footerMain {
clear: both; position: relative; z-index: 30;
width: 100%; height: 75px;
background-image: url(../assets/gridbottom.gif);
background-image: none;
background-repeat: repeat-x;
background-position: bottom left;
}

/* Slimbox photo overlay */

#lbOverlay {
position: absolute; z-index: 75;
left: 0; width: 100%;
background-color: #243E71;
cursor: pointer;
}
#lbCenter, #lbBottomContainer {
position: absolute; z-index: 80;
left: 50%; overflow: hidden;
background-color: #aaa;
}
.lbLoading {
background: #aaa url(../assets/slimbox/loading.gif) no-repeat center;
}
#lbImage {
border: 10px solid #aaa;
}
#lbPrevLink, #lbNextLink {
display: block;
position: absolute;
top: 0;
width: 50%;
outline: none;
}
#lbPrevLink {
left: 0;
}
#lbPrevLink:hover {
background: transparent url(../assets/slimbox/prevlabel.gif) no-repeat 0% 100%;
}
#lbNextLink {
right: 0;
}
#lbNextLink:hover {
background: transparent url(../assets/slimbox/nextlabel.gif) no-repeat 100% 100%;
}
#lbBottom {
font-family: Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #666;
line-height: 1.4em;
text-align: left;
border: 10px solid #aaa;
border-top-style: none;
}
#lbCloseLink {
display: block;
float: right;
width: 78px;
height: 28px;
background: transparent url(../assets/slimbox/orangeclose.gif) no-repeat center;
margin: 5px 0;
}
#lbCaption, #lbNumber {
margin-right: 71px;
}
#lbCaption {
font-weight: bold;
}

/* page-specific/id-specific styles */

#main_opener {
margin: 0px; padding: 0px;
position: relative;
margin-bottom: -75px;
overflow: visible;
}
#main_opener img {
position: relative; z-index: 40;
top: -144px;
left: 32px;
}
#main_opener p {
position: absolute; z-index: 45;
top: 140px; left: 30px;
margin: 0px; padding: 15px;
width: 380px; height: 80px;
background-color: #3c4453;
color: #fff;
font-size: 17px;

filter: alpha(opacity=80);
-moz-opacity: 0.8;
opacity: 0.8;
}

.nmfName{ font-weight:bold; color: #f08138 }

#main_sub_container {
width: 100%;
overflow: hidden;
border-top: 1px dotted #3c4453;
border-bottom: 1px dotted #3c4453;
background-image: url(../assets/lightgreytile.gif);
padding: 10px 0px 20px 0px;
}
.main_sub_left, .main_sub_right {
float: left;
width: 50%;
text-align: center;
}
.main_sub_right {
width: 49%;
}
#main_sub_container h2 {
text-align: center;
}
#main_sub_container img {
margin: 5px;
}
#main_sub_container p {
text-align: left;
margin: 5px; padding: 5px;
}

#services_fabrication {
padding: 0px;
}

