/********* ANNA SOPHIA - CONTEMPORARY JEWELLERY DESIGNER - BY DB WEBSTART 2010 **********/

/*** REMOVE DEFAULT MARGINS & PADDING ETC FROM ALL ELEMENTS ***/
  * {
  	margin: 0;
	padding: 0;
  }
  img {
  	border: none;
  }


  body {
  	background: #5d5d5d url(images/bg1_1.jpg) repeat-x;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 150%;
  }
  
  
  /******** GENERAL FORMATTING ETC *********/
  h2 {
  	 margin-top: 0;
    letter-spacing: 1.5px;
	 padding: 5px;
	 font-size: 150%;
	 }
	 
	 h1 {
	  background: url(images/bg2.png);
	  margin-top: 20px;
	  margin-bottom: 10px;
	  padding: 5px;
	  font-size: 190%;
	  text-align: center;
	  border: 1px solid #666;
	 }
	
   p {
   	padding: 1em;
   }

	a:link, a:visited {
		color: #875168;
	}
	a:hover {
		color: #ff9999;
	}
	
   /***** WRAPPER DIV STYLING - CONTAINING ALL CONTENT ****/
  #wrapper {
    background: #000;
	 width: 900px;
	 border: 1px solid #666;
	 margin: 20px auto;
	}  
  
  
  /**** HEADER DIV STYLING INCLUDING ALL ELEMENTS WITHIN HEADER DIV **/
  #header {
    background: #5d5d5d;
  	 height: 120px;
	 position: relative;
	 }
    
	img#sub {
  	  position: absolute;
	  right: 0;
	  top: 4px;
  }
  img#branding {
  	background: #191919;
	position: absolute;
	top: 0;
	left: 0;
	}
  img#banner {
  	border-bottom: 1px solid #fff;
	border-top: 1px solid #fff;
	position: absolute;
	top: 29px;
  }
  
  
  /***** SIDEBAR1 DIV STYLING  ****/
  #sidebar1 {
  	 width: 220px;
	 float: left;
	 position: relative;
	 font-size: 0.75em;
  }
  #sidebar1_inner {
  	 padding: 15px 10px;
	 }
	 
	/********* SIDEBAR2 DIV STYLING ********/ 
	 
	 #sidebar2 {
  	   width: 220px;
	   float: left;
	   font-size: 0.75em
   }
  #sidebar2_inner {
  	 padding: 1em;
  }
  
	 
	 /********* MAIN NAVIGATION STYLING *******/
  ul#nav {
  	 list-style: none;
	 margin: 30px 10px 85px 10px;
	 border: 1px solid #333;
	 width: 180px;
  }
  ul#nav li {
  	 border-bottom: 1px solid #666;
	 background: #191919;
  }
  ul#nav a {
  	 text-decoration: none;
	 color: #fff;
	 display: block;
	 padding: 5px 10px;
  }
  ul#nav a:hover {
    background: #641134;
  }
  
  ul#nav li.last {
  	border: none;
  }
  
  body#home a#homelink, body#necklaces a#necklacelink, body#bracelets a#braceletlink, body#earrings a#earringlink,
  body#rings a#ringlink, body#artwork a#artlink, body#contact a#contactlink {
  	background: url(images/bg7.png);
	padding-left: 35px;
  }/********** "YOU ARE HERE" STYLING - HIGHLIGHTS CURRENT PAGE *********/

  
  
  /********** BOX-OUT STYLING *********/
   .box1 {
     margin-top: 75px;
  	  border-bottom: 1px solid #666;
	  width: 380px;
	  background: url(images/bg4.gif) no-repeat top left;
  }
  
	
	.box1 p {
	  line-height: 200%;
	  padding: 7px;
	  border-left: 1px solid #666;
	  border-right: 1px solid #666;
	  margin-top: -5px;
	}
  
  
  .box2 {
  	 width: 180px;
	 margin-left: 10px;
	 background: url(images/bg5.png) no-repeat;
  }
 
  .box2 p {
  	 background: url(images/party2_0.jpg) no-repeat;
	 border-left: 1px solid #666;
	 border-right: 1px solid #666;
	 border-bottom: 1px solid #666;
	 margin-top: -5px;
  }
  
  /******* MAIN_CONTENT DIV STYLING ********/
  #main_content {
  	 width: 460px;
	 float: left;
	 position: relative;
	 font-size: 0.75em;
	 margin-bottom: 100px;
  }
  
  #main_content_inner {
  	 padding: 2em;
  }
  
 
  
 
  
   /******* COMMONLY USED CLASSES & ID'S FOR PARAGRAPH STYLING, IMAGE STYLING ETC. ********/
	p.party {
		background: url(images/party2_0.jpg) no-repeat;
	  }
	
	p.mailing {
	  background: url(images/mailingbg1.jpg) no-repeat;
	  line-height: 250%;
	}
	
	p.dblink {
 	 float: right;
	 margin-top: -30px;
	 color: #006699;
 }
 
 
	
	
	/********* UNORDERED LIST CONTAINING CONTACT DETAILS ********/
	ul#contact_list {
		list-style: none;
		margin: 30px 10px -30px 30px; /***** NEGATIVE MARGIN APPLIED TO BOTTOM OF LIST TO BRING BOX-OUT BELOW UP & NOT AFFECT BOX-OUT POSITION ELSEWHERE ON THE SITE ****/
	}
	ul#contact_list li {
		font-size: 1.2em;
		font-weight: bolder;
		letter-spacing: .1em;
		padding: 20px 10px 20px 40px;
	}
	li#mobile {
	  background: url(images/mobile2.gif) no-repeat left;
	}
	li#email {
		background: url(images/email6.png) no-repeat left;
	}
	li#phone {
		background: url(images/tele1.png) no-repeat left;
	}
	
	
	
	 
	 /********* INDIVIDUAL PAGE STYLING & TWEAKS INCLUDING ADJUSTMENT OF MAIN CONTENT WIDTH FOR GALLERY & CONTACT PAGES DUE TO SIDEBAR BEING REMOVED ******/
	 .gallery #main_content, #contact #main_content {
	 	 width: 680px;
	 }
	 #contact .box1 {
	 	width: 450px;
		background: url(images/bg6.gif) no-repeat;
	 }
	 #contact #main_content_inner {
	 	padding-left: 50px;
	 }
	 
	 .smallpage #main_content {
	 	margin-bottom: 250px;
	 }
	
  
 /***** FOOTER DIV STYLING - INCLUDING ALL ELEMENTS WITHIN FOOTER DIV ****/
   #footer {
  	  clear: both;
	  height: 50px;
	  border-top: 1px dotted #666;
	  font-size: 0.7em;
	  text-align: center;
  }
 
 
 
 /*********** GALLERY DIV STYLING **********/
  .gallery_piece {
    width: 110px;
 	 border: 1px solid #666;
	 float: left;
	 text-align: center;
	 padding: 5px 5px 10px 5px;
	 margin: 10px 30px 10px 6px;
	 background: url(images/galbg3.gif);
	 position: relative;
 }
  
  .gallery_piece img {
  	  margin-bottom: 5px;
	  border: 1px solid #666;
	  padding: 3px;
	  background: #333;
  }
  
  .gallery_piece img:hover {
	  border: 1px solid #fff;
  }
 
  .gallery_bold {
 	 font-size: 1.1em;
	 font-weight: bolder;
	 }
	 
  .price {
  	  background: #641134;
	  padding: 3px 20px;
	  font-weight: bolder;
	  font-size: 1.2em;
	  letter-spacing: 0.3em;
	  border: 1px solid #666;
  }
 
  .g_large {
  	 width: 150px;
 	 margin: 20px 70px 10px 70px;
	 }
	 
	  img.no_stock {
	 	position: absolute;
		top: 90px;
		left: 10px;
		border: none;
		padding: 0;
		opacity: 0.7;
		filter: alpha(opacity=70); /* FOR OPACITY TO WORK IN IE */
	 }
	 img.no_stock:hover {
	 	border: none;
	 }
	
	 
	 /*********** EXTRA STYLING FOR FADESHOW1 *********/
	 #fadeshow1 {
	 	border: 5px solid #666;
		margin-top: 35px;
		}
	 
	 #slide1:target, #slide2:target, #slide3:target {
	 	border:1px solid #fff;
		background: url(images/galbg4.png);
	 }/****** CHANGES BACKGROUND OF TARGET JEWELLERY PIECE WHEN IMAGE IN FADESHOW CLICKED ON HOMEPAGE - DOESN'T WORK IN IE, TARGET SELECTOR NOT SUPPORTED ******/
   
	 #slide1:target img, #slide2:target img, #slide3:target img {
	 	 background: #fff;
	 }
 
 
 
 
 
 