/* G L O B A L  S T Y L E S
==================================================================*/

html, body {
	height: 100.01%;
}

.hidden {
	display: none;
}

.button {
	width: 72px;
	height: 22px;
	padding-bottom: 4px;
	margin-right: 4px;
	background: #a81c1c url(../images/bg-button.png) repeat-x left top;
	
	border: 1px solid #650c0c;
	border-left-color: #d85757;
	border-top-color: #d85757;

	color: #fff;
	cursor: pointer;	
}

.button:hover {
	background-position: left bottom;
	text-decoration: none;
}

a.button {
	float: left;
	width: auto;
	padding: 0 8px;
	margin-bottom: 8px;
	line-height: 22px;
}

button.long {
	width: auto;
}

/* L A Y O U T 
==================================================================*/

#wrapper {
	width: 964px;
	margin: 0 auto;
	background: url(../images/bg-header-graphic-big.jpg) no-repeat center top;
}

	#home #wrapper { background-image: url(../images/bg-header-graphic-big.jpg);}
 
	/*
	 * M A S T H E A D
	 */

	#header {
		position: relative;
		height: 175px;
	}
	
		#home #header { height: 175px; }
	
		#header h2 { text-indent: -9999px; }
		
		#header h1 a {
			position: absolute;
			top: 6px;
			left: 20px;
			width: 560px;
			height: 100px;
			text-indent: -9999px;
		}
		
		#home #header h1 a {
			top: 20px;
			left: 20px;
		}

	/*
	 * H E A D E R  N A V I G A T I O N  M E N U
	 */
	
	#navigation {
		overflow: hidden;
		height: 60px;
		background: url(../images/bg-nav.png) no-repeat center center;
		color: #dbe7f3;
	}
	
		#main_navigation {
			float: left;
			width: 685px;
			margin: 0 0 0 10px;
			list-style: none;
			overflow: hidden;
		}
	
			#main_navigation li {
				float: left;
				margin-top: 20px;
				border-right: 1px solid #31669a;
				line-height: 18px;
			}
				
				#main_navigation li.first a { border-left: none; }
				#main_navigation li.last { border-right: none; }
				
				#main_navigation li.selected {
					background-color: #31669a;
					font-weight: bold;
				}

				#main_navigation li.selected a {
					border-right: 1px solid #588cbe;
				}
				
				#main_navigation a {
					display: block;
					padding: 0 12px;
					color: #dbe7f3;
					border-left: 1px solid #7aa5ce;
				}
				
				#main_navigation a:hover {
					
				}
				
	#sitemap_link { 
		overflow: hidden;
		float: left; 
		padding: 0 5px;
		margin-top: 24px;
		width: 13px;
		height: 10px;
		background: url(../images/icon-sitemap.png) no-repeat center bottom;
		border-right: 1px solid #eff4f9;
		text-indent: -9999px;
	}
	
	#contacts_link { 
		overflow: hidden;
		float: left; 
		padding: 0 5px;
		margin-top: 24px;
		width: 14px;
		height: 10px;
		background: url(../images/icon-contacts.png) no-repeat center bottom;
		text-indent: -9999px;
	}
	
	#language_selection {
		float: left;
		margin: 0 0 0 60px;
		list-style: none;
	}
	
		#language_selection li {
			float: left;
			margin-top: 12px;
			line-height: 29px;
		}
		
		#language_selection a {
			overflow: hidden;
			display: block;
			width: 29px;
			height: 35px;
			text-indent: -9999px;
		}
		
		#switch_bulgarian {	background: url(../images/icon-bulgarian.png) no-repeat center center; }
		#switch_english 	{	background: url(../images/icon-english.png) no-repeat center center; margin-left: 8px; }
			
	/*
	 * M A I N  C O N T E N T  L A Y O U T
	 */

	#content {
		margin: 20px 0;
		overflow: hidden;
	}
	
		#home #content { background: url(../images/bg-content-pattern.png) repeat-y left top; }
		
		/* Left column */
		#content .left {
			float: left;
			padding: 0 15px;
			width: 202px;
		}
		
		/*
		 * S U B N A V I G A T I O N  M E N U
		 */		
		 
			#subnavigation {
				margin-bottom: 20px;
			}
			
				#subnavigation ul {
					margin: 0;
					list-style: none;
				}
				
				#subnavigation li {
					padding: 4px 0;
					border-bottom: 1px solid #c3d4de;
				}
				
				#subnavigation li.selected { 
					font-weight: bold; 
				}
		
		/* Center column */
		#content .center {
			float: left;
			padding: 0 15px;
			width: 696px;
		}
		
			#home #content .center { width: 500px; }
		
	/*
	 * F O O T E R
	 */
	 
	#footer {
		overflow: hidden;
		color: #e0e8f0;
		background: #5c91c4 url(../images/bg-inner-footer-pattern.png) repeat-x left top;
		padding-top: 3px;
	}
	
		#home #footer {
			padding-top: 0;
			background: #5c91c4 url(../images/bg-footer-pattern.png) repeat-x left top;
		}
			
		#copyright {
			margin: 0;
			padding: 7px 15px;
			border-top: 1px solid #fff;
			background-color: #e8e8e8;
			color: #005ca3;
			clear: both;
		}
		
/* S I T E  E L E M E N T S
==================================================================*/	
		
	/*
	 * N E W S  B L O C K
	 */

		#news {
			float: left;
			padding: 0 15px;
			width: 202px;
		}
		
		.center #news {
			float: none;
			width: auto;
		}
		
		.center #news li {
			border-bottom: 1px dotted #ccc;
			margin-bottom: 15px;
		}
		
		#news ul {
			margin: 0;
			list-style: none;
		}
		
			#news .date {
				padding-left: 15px;
				background: url(../images/icon-news.png) no-repeat left center;
				color: #da251c;
			}
			
	/*
	 * N E W  P R O D U C T S  B L O C K
	 */
		
	 	#new_products {
	 		float: left;
	 		width: 172px;
	 		padding: 0 15px;
	 	}
	 	
	/*
	 * R E P R E S E N T A T I V E  B L O C K
	 */
	 
		#footer #representative {
			float: left;
	 		padding: 25px 15px 0 15px;
			width: 202px;		
			height: 215px;
			background: url(../images/bg-footer-partners.png) no-repeat right top;
		}
		
	 	#representative h2 {
	 		color: #31669a;
	 	}
	 	
	 	#footer #representative h2 { color: #e0e8f0; }
	 	
	 	#representative ul { margin: 0; list-style: none; }
		#footer #representative ul { position: relative;  }
		#footer #representative a {
			position: absolute;
			text-indent: -9999px;
		}
	
		/* This is certainly not a good idea, but will do for now, since 
			 I don't have the vector logos */
		
		#partner_alumil {
			display: block;
			width: 146px;
			height: 55px;
			background: url(../images/logo-alumil.png) no-repeat center;
			text-indent: -9999px;
		}
		
		#footer #partner_alumil {
			top: 8px;
			width: 115px;
			height: 41px;
			background: transparent;
		}
		
		#partner_winkhaus {
			display: block;
			width: 146px;
			height: 85px;
			background: url(../images/logo-winkhaus.png) no-repeat center;
			text-indent: -9999px;
		}
		
		#footer #partner_winkhaus {
			top: 58px; left: 1px;
			width: 105px;
			height: 75px;
			background: transparent;
		}
		
		#partner_thyssen {
			display: block;
			width: 146px;
			height: 85px;
			background: url(../images/logo-thyssen.png) no-repeat center;
			text-indent: -9999px;
		}
		
		#footer #partner_thyssen {
			top: 55px;
			left: 110px;
			width: 100px;
			height: 72px;
			background: transparent;
		}

		#partner_inoutic {
			display: block;
			width: 146px;
			height: 57px;
			background: url(../images/logo-inoutic.png) no-repeat center;
			text-indent: -9999px;
		}
		
		#footer #partner_inoutic {
			top: 2px;
			left: 118px;
			width: 94px;
			height: 41px;			
			background: transparent;
		}
	/*
	 * F O O T E R  -  C E R T I F I C A T E S  B L O CK
	 */
	
	 	#certificates {
	 		float: left;
	 		padding: 25px 15px 0 15px;
	 		width: 500px;
			height: 215px;
			background: url(../images/bg-footer-certificates.png) no-repeat right top;
	 	}
	 	
	 		#certificates p {
	 			width: 200px;
	 		}
	 	
	/*
	 * C O N T A C T S  B L O CK
	 */
	 	
	 	#contacts {
	 		overflow: hidden;
	 		margin: 0 -15px 20px -15px;
	 		padding: 15px 15px 0 15px;
	 		background: url(../images/bg-rounded-box.png) no-repeat top center;
	 	}
	 	
	 	#footer #contacts {
	 		float: left;
	 		width: 172px;
	 		height: 215px;
	 		padding: 25px 15px 0 15px;
	 		margin: 0;
	 		background: transparent;
	 	}
	 	
	 		#contacts h2 {
	 			color: #31669a;
	 		}
	 		
	 			#footer #contacts h2 { color: #e0e8f0; }
	 		
	 		#contacts dl {
	 			overflow: hidden;
	 			padding: 0 15px 15px;
	 			margin: 0 -15px;
	 			background: url(../images/bg-rounded-box.png) no-repeat bottom center;
	 		}
	 		
	 		#footer #contacts dl {
	 			padding: 0;
	 			margin: 0;
	 			background: transparent;
	 		}
	 		
	 		#contacts dt {
	 			float: left;
	 			clear: left;
	 			width: 40px;
 			}
 			
	 		#contacts dd {
	 			padding-left: 40px;
	 		}
	 	
	 		#footer #contacts {
	 			background: url(../images/bg-footer-contacts.png) no-repeat right top;
	 		}
	 		
	/*
	 * T H U M B N A I L S
	 */
	 
	 	.thumb {
	 		border: 1px solid #ccc;
	 		margin-bottom: 10px;
	 	}

	/*
	 * G A L L E R Y
	 */
	 
		.gallery {
			overflow: hidden;
			padding: 10px 0 0 0;
			border-top: 1px dotted #ccc;
			border-bottom: 1px dotted #ccc;
		}
		
			.gallery .photo {
				float: left;
				border: 1px solid #ccc;
				margin-right: 10px;
				margin-bottom: 10px;
			}

	/*
	 * S I T E M A P
	 */
		
	#sitemap h3 {
		padding: 4px 15px;
		background-color: #eee;
		border-bottom: 1px dotted #ccc;
	}
	
		#sitemap h3 a {
			font-weight: bold;
		}
	
	/*
	 * P A G E S
	 */
	 
	.page-title {
		text-transform: uppercase;
	}
	
	/*
	 * P R O D U C T  B O X  /  C A T E G O R Y  I T E M
	 */	 	
	 
	 
	 	.item {
	 		float: left;
	 		width: 340px;
	 		margin-bottom: 20px;
	 	}
	 	
	/*
	 * F O R M S
	 */	 	
	
		fieldset ol {
			margin: 0 0 15px;
			list-style: none;	
		}
		
		fieldset ol li {
			overflow: hidden;
			margin-bottom: 10px;
		}
		
		label {
			float: left;
			width: 150px;
		}
		
		span.required {
			color: red;
		}
		
		textarea, input[type=text] {
			font-size: 11px;
			width: 256px;
			border: 1px solid #b3c6d0;
		}
		
		textarea {
			width: 390px;
			padding: 3px;
		}
		
		button.submit {
			margin: 0 0 15px 150px;
			padding: 0 0 4px 0;
			width: 73px;
			height: 23px;
			border: none;
			background: url(../images/btn-submit.png) no-repeat center;
			font-size: 11px;
			font-weight: bold;
			color: #dbe7f3;
			cursor: pointer;
		}
		
	/*
	 * V A L I D A T I O N  M E S S A G E S
	 */
	 
	.validation-advice {
		margin: 5px 0 15px 150px;
		color: red;
	}
