 /* CSS Mastery: Advanced Web Standards Solutions - Simon Collison's tutorial *//* the appropriate background class will be applied based on class attached to the body */body {margin: 0;padding: 0;font:70% 'Lucida Grande',Verdana, Helvetica, sans-serif;background-image:url(NEGbg30.jpg);}/*#three {background-image:url(NEGbg30.jpg);}#two {background-image:url(NEGbg30.jpg);}#one {background-image:url(NEGbg30.jpg);}*//* default links */a:link {background-color: transparent;/*text-decoration: underline;*/color: #660099;}a:hover {/*background-color: #FFC;*/text-decoration: underline;color: #990000;}a:visited {background-color: transparent;/*text-decoration: underline;*/color: #660099;}/* headers here */h1 {margin: 0;padding: 30px;font-size: 150%;color: #FF0000;text-indent: -9000px;}h2 {margin: 0 10px 0 10px;padding: 2px;font-size: 110%;/*font-size: 130%;*/color: #FFFFCC;background: #660099;}h4 {/*text-transform: uppercase;*/display: inline;font-size: 92%;margin: 10px 5px 0 5px;padding: 2px;}/* and then these h3 statements, unique to whichever section has been attached above, will give the headers the appropriate background color */h3 {/*text-transform: uppercase;*/display: inline;font-size: 92%;margin: 10px 5px 0 5px;padding: 2px;}h4 {/*text-transform: uppercase;*/display: inline;font-size: 92%;margin: 10px 5px 0 5px;padding: 2px;}.default h3 {/*background: #F6CE45;*/}.careers h3 {background: #F762E0;}.newest h4 {font-size: 110%;font-style:italic;}.newest h3 {font-size: 110%;/*background: #B18FD1;*/}.upcoming h4 {font-size: 110%;font-style:italic;}.upcoming h3 {font-size: 110%;/*background: #B18FD1;*/}.interviews h3 {font-size: 110%;background: #D7D493;}.profiles h3 {background: #C4DDB8;}/* main wrapper that holds it all centrally */#wrapper {width:780px;margin:0 auto;background-image:url(NEGbg05.jpg);padding: 0 0px 10px 0px;}/* default masthead holding the banner and mainNav */#header {width: 780px;height: 75px;background:url(header.gif);}/* now the three main columns, named in order of importance and display when styles switched off */#primaryContent {float:left;width:780px;display:inline;margin: 0 0 20px 0;}/* note here that specifying threeColLayout in the body will activate the following div instead of the default primaryContent */#threeColLayout #primaryContent {float:left;width:350px;margin: 0 0 20px 215px;}/* note here that specifying twoColLayout in the body will activate the following div instead of the default primaryContent */#twoColLayout #primaryContent {float:left;width:565px;margin: 0 0 20px 215px;}/* just incase twoColLayout is specified in body, and secondaryContent is left in, we turn it off - not ideal, but it works */#twoColLayout #secondaryContent {display: none;}#secondaryContent{float:left;width:200px;/*margin: 0 0 20px 15px;*/margin: 0 0 20px 15px;}#sideContent{float:left;width:200px;margin: 0 0 20px -780px;}/* just incase oneColLayout is specified in body, and these are left in, we turn them off - not ideal, but it works */#oneColLayout #secondaryContent, #oneColLayout #sideContent {display: none;}/* twoColContent - used to span two right-hand columns - ONLY LEAVE THIS IN IF I DISCUSS IT - box used only if no selector */#twoColContent{width:555px;float:left;margin: 0 0 20px 195px;}/* cbSide controls non-rounded boxes in the thinner left column, known as sideContent *//*.cbSide {width:160px;margin: 5px 0 0 10px;padding: 10px 0 5px 0;background: #FFF;}.cbSide p {margin: 0;padding: 0 5px 2px 5px;font-size: 90%;color: #666;}*//* box is the shaded area that holds a rounded corner box or flat box, fitting the given width of the column it is in. Usually combined with another class to control inner elements, eg box default */.box {/*margin: 15px 0 0 0;*/margin: 20px 0 5 0;/*padding: 5px 0 5px 0;*/padding: 0px 0 0px 0;background-image:url(NEGbg10.jpg);}#logo {margin:10px 0 10px 0;padding:0px;}#logo img {float:none;margin: 0px 0 0px 0px;border: 0;}/*hope this works*/#nav {margin:10px 0 10px 0;padding:0px;background-image:url(NEGbg10.jpg);/*background-image:url(NEGbg15.jpg);*/background-repeat: repeat;overflow: hidden;/*font-size:16px;*/}#nav ul {list-style-type: none;margin: 0;padding: 0;border: none;font-size: 105%;/*font-size:16px;*/}#nav li {display: block;margin:0;padding: 0;text-decoration:none;font-size: 105%;/*font-size:16px;*/}#nav a {/*display:inline;*/display: block;width: 175px;height: 19px;line-height: 19px;color:#660099;margin:0;padding: 0;text-decoration:none;font-size: 105%;/*font-size:16px;*/}#nav a:hover {color: #FFFFCC;/*background-image:url(h1.gif);*/background-color: #660099;width: 170px;height: 19px;font-size: 105%;/*font-size:16px;*/}#active a{display: block;color: #FFFFCC;/*background-image:url(h1.gif);*/background-color: #660099;width: 170px;text-decoration:none;font-weight:bold;}/*hope that works*//* Styling of the boxes if there is no JavaScript support */.record ul {list-style-type:none; }#record cover {float:left}.cbb {/*margin: 0 10px 0 10px; old old*/margin: 5px 5px 5px 5px;/*margin: 0 5px 0 5px;*/background-image:url(NEGbg15.jpg);/*background: #FFF;*/padding: 0;/*padding: 5px 0 5px 0;*/line-height: 100%;/*line-height: 170%;*/}/* paragraph styles for any main boxes */.cbb p, .cb p {margin: 5px 5px 5px 5px;/*margin: 0;*/padding: 0px;/*padding: 5px 5px 5px 5px; *//*padding: 0 5px 5px 50px; old old*/color: #333;}/* Insert the custom corners and borders for browsers with sufficient JavaScript support */.cb {margin: 0.5em 0;line-height: 170%;	}/* Rules for the top corners and border */.bt {	background:url(box.png) no-repeat 100% 0 !important;	background:url(box.gif) no-repeat 100% 0;	margin:0 0 0 18px;	height:27px;	}.bt div {	height:27px;	width:18px;	position:relative;	left:-18px;	background:url(box.png) no-repeat 0 0 !important;	background:url(box.gif) no-repeat 0 0;	}/* Rules for the bottom corners and border */.bb {	background:url(box.png) no-repeat 100% 100% !important;	background:url(box.gif) no-repeat 100% 100%;	margin:0 0 0 12px;	height:14px;	}.bb div {	height:14px;	width:12px;	position:relative;	left:-12px;	background:url(box.png) no-repeat 0 100% !important;	background:url(box.gif) no-repeat 0 100%;	}/* Insert the left border */.i1 {	padding: 0 0 0 12px;	background:url(borders.png) repeat-y 0 0 !important;	background:url(borders.gif) repeat-y 0 0;	}/* Insert the right border */.i2 {	padding: 0 12px 0 0;	background:url(borders.png) repeat-y 100% 0 !important;	background:url(borders.gif) repeat-y 100% 0;	}/* Wrapper for the content. Use it to set the background colour and insert some padding between the borders and the content. */.i3 {	background:#FFF;    border: 1px solid #FFF;	border-width:1px 0;	padding:0 5px;	}/* CSS for the box ends here *//* date and posted control the small text info in article blurbs */.date {font-size: 110%;font-weight: bold;color: #666;}.posted {display: block;/*text-align:right;*/margin: -1px 0px 0 0px;/*margin: -5px 0 0 50px;*/padding: 0 0 10px 0;font-weight: bold;color: #666;}.buy {display: block;/*text-align:right;*/margin: -1px 0px 0 0px;/*margin: -5px 0 0 50px;*/padding: 0 0 10px 0;font-weight: bold;color:#990000;}.itunes {display: block;/*text-align:right;*/margin: -1px 0px 0 0px;/*margin: -5px 0 0 50px;*/padding: 0 0 10px 0;font-weight: bold;color:#990000;}.postedUnderline {display: block;margin: 0 5px 5px 0px;/*margin: 0 5px 5px 50px;*/padding: 0 0 5px 0;font-weight: bold;color: #666;border-bottom: 1px solid #999;}address {margin-left: 50px;}/* erm, the footer */#footer{clear:both;width: 780px;height: 25px;/*height: 75px;*/background-image:url(footer.gif);background-color:#990000;padding: 0px;}#footer p {margin: 0px 0px 0 0;/*margin: 10px 10px 0 0;*/padding: 0px 0px 0px 0;/*padding: 50px 4px 4px 0;*/font-weight: bold;}#footer a:link, #footer a:visited {color: #000000;text-decoration:none;}#footer a:hover {color: #990000;text-decoration:none;/*background: #D7D493;*/}/* image control. First we define stuff common to ALL images on the page. It is then up to other styles to override these. By default, all images will have a 2px border, and bottom and right margins of 5px. They will all float left. */img {float: left;margin: 0px 0 2px 5px;border: 2px solid #C5BDBD;}.contact img {float: right;margin: 0px 0 2px 5px;border: 2px solid #C5BDBD;}/* For any images in the default boxes - the pencil icons - I don't want the 2px border. So I set border to 0 */.default img {border: 0;}/* For these larger images, I don't want them to float, for that causes the h3 above to be pushed to the right. I also declare a top margin to space the header and image apart, and also increase the border width slightly.  We also set it to display:block so that if body id is twoColLayout, the image will force the header and other bits to wrap around it */.mainImage {display: block;float: none;margin-top: 4px;border: 3px solid #C5BDBD;}/* drop shadow effect for the gallery thumbnails. Sadly this requires a div to be wrapped around the image markup, which is a shame */.img-wrapper {margin: 20px 40px 0 0;background: url(shadow.gif) no-repeat bottom right;float:left;line-height:0;} .img-wrapper img {float:none;margin:0;background:#fff;padding:4px;border:1px solid #C5BDBD;position:relative;left:-5px;top:-5px;}.verse {font-style:italic;font-weight:bold;}.bigtitle {font-size: 16px;font-weight:bold;text-align:center;}#credits ul {list-style-type: none;margin: 0;padding: 0;border: none;}#credits li {display: block;margin: 0 0 8px 0;padding: 0;text-decoration:none;}/* used to ensure all our floated thumbnails stay the right width away from the left side of the box */.thumbnails {margin: 0 0 20px 50px;}/* spacer used immediately after the floated gallery thumbnails to ensure the box expands to hold them all */.spacer {clear: both;}/* Highlighting the current page */body.home #mainNav a#home, body.gallery #mainNav a#gallery, body.contact #mainNav a#contact {   color: #fff;text-decoration: underline;}body.home #mainNav a:hover#home, body.gallery #mainNav a:hover#gallery, body.contact #mainNav a:hover#contact {   color: #000;}