/*********************************
* File : layout.css
* Info : Page layout
* URL:  www.softmed2.com
* 
* Authors : David Luksic ,
*           Renato Stojakovic
*
* Version : 0.5  [20/05/2008]
* Copyright: Vegasoft.hr
***********************************/

/*********************
* General definitions 
**********************/

/* Reseting default browser settings */
/* Stupid but works : kill all margins and paddings ! */
* { margin:0; padding:0; }

body {
	background:#232323;
	color:#000;
	text-align: center;
}

/****************************************************
* MAIN layout: 
* Definitions for header, footer, content and wrapper
*****************************************************/
#container {
	background: #fff url(images/main.jpg) top left repeat-y;
	margin: 0 auto;
	text-align: left;
	width: 980px;
}

/*************
*  Header
**************/
#header, #softmed-logo, #headshot, #screenshot, #headquote {position:absolute;z-index:1;}
#header {
	background: #dbecf8 URL(images/header.jpg) top center no-repeat;
	height: 270px;
	width: 980px;
}
/* Header images and quote */
#softmed-logo {
	top: 45px;
	left: 40px;
}
#screenshot {
	top: 12px;
	left: 590px;
}
#headshot {
	top: 12px;
	left: 590px;
}
/* Quotes */
#headquote {
	font-size: 11px;
	top: 150px;
	left: 240px;
	width: 330px;
}
blockquote {
	background-image: url(images/quote-open.gif);
	background-repeat: no-repeat;
	background-position: left 5px;
	padding: 15px 0 5px;
	text-indent: 35px;
}
blockquote span {
	background: url(images/quote-close.gif) right bottom no-repeat;
	display: block;
	padding: 5px 30px;
	text-align: right;
}
/***************
*  Main content
****************/
#main {
	background: url(images/main.jpg) top left repeat-y;
	position: absolute;
	top: 270px;	
	width: 980px;
}
#sidebar {
	background-color: #ffa948;
	border-right:2px solid #ff6411;
	color: #fff;
	float: left;
	width: 298px;
}
/************
*  Footer
*************/
#footer {
	background-color: #232323;
	color: #fff;
	height: 30px;
	width: 980px;
	text-align: center;
	padding-top: 10px;
}

/********************
* Navigation :
* located in sidebar
*********************/
#links ul {
	list-style-type: none;
	margin:0;
	width: 298px;
}
#links li {
	border: 1px dotted #fff;
	border-width: 0 0 1px;
	margin: 0;
}
#links li a {
	color: #fff;
	display: block;
	padding: 10px 15px 10px 35px;
}
/* IE Hack to display properly hover attribute,
*  find a workaround later (maybe hover.htc ?) */
* html #links li a {
	width: 298px;
}
/* End IE hack*/

#links li a:hover {
	background: #fcbe61;
}
#links a em {
	color: #fff;
	display: block;
	line-height: 125%;
}
#links a span {
	color: #125F15;
	line-height: 150%;
}

/**************************************
* Info Box:
* Sales and support info
* Located in sidebar, after navigation
***************************************/
.infobox {
	border: 1px solid #ff7e21;
	background-color: #ff8f30;
	color: #fff;
	margin:30px 0;
	position:relative;
	left: 30px;
	width: 240px;
}
.infobox ul {
	list-style-type:none;
	padding:15px;
	width:200px;
}
.infobox a {
	color: #fff;
}
/*********************************************
* SADRZAJ
* The real page content (news, text, screens)
* Located inside #main div
**********************************************/
#sadrzaj {
	background: #fff;
	padding: 45px 35px 40px 35px;
	float: right;
	width: 610px;
}
#sadrzaj p {
	margin: 8px 0;
	text-indent:35px;
}

/*********************
* Screenshots layout:
*********************/
.screenshots {
	border:0;
	padding:10px;
	text-decoration:none;
}
.screenshots a:link, .screenshots a:visited {text-decoration:none;}
td.screenshots a:hover {
	background:#efefef;
	text-decoration:underline;
}
.screenshots a:active{text-decoration:none;}

/***************
* Fixes:
****************/

.clear {clear: both;} /* Clear floats */
a img {border:0;} /* Kill the blue border around img tag when the img is a link */