/**
 * www.dzhuvinov.com :: Main Page
 *
 * Global style definitions
 *
 * Yellow theme colour: #eae021
 * Grey highlight: #f2f2f2
 * Fine grey line: #dddddd
 *
 * @author Vladimir Dzhuvinov
 * @version 2011-05-27
 */


/*** General ***/

html, body {
	background: #ffffff;
	margin: 0;
	padding: 0;
	font-family: helvetica, sans-serif;
	font-size: 13px;
	color: #3d3d3d;
	text-align: center; /* IE6 fix */
}

a {
	text-decoration: none;
	color: #2f50a9;
}

a:hover {
	text-decoration: underline;
}

img {
	border: none;
}

h2 {
	margin: 0;
	font-size: 20px;
	color: #000000;
	font-weight: normal;
}

h3 {
	color: #000000;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}



/*** Layout ***/

#main {
	clear: both;
	position: relative; /* need relative parent to child elements */
	margin: 15px auto;
	width: 860px;
	height: 500px;
	padding: 0;
	text-align: left;
}


.box {
	position: absolute;
	overflow: hidden;
}

.caption {
	position: absolute;
	overflow: hidden;
	padding: 10px;
	/* see http://robertnyman.com/2010/01/11/css-background-transparency-without-affecting-child-elements-through-rgba-and-filters/ */
	background: rgba(255, 255, 255, 0.8); /* white, 0.8 opacity */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#cc000000); /* IE filter */
}

.caption h2 {
	margin-bottom: 10px;
}

.caption p {
	margin: 5px 0 5px 0;
	text-align: justify;
}

#title-box {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 580px;
	height: 320px;
	background: url("index-title-photo.jpg") #ffffff;
}

#title-box-caption {
	top: 280px;
	right: 0px;
	width: 250px;
}

#title-box-caption img {
	float: left;
	margin: 0 5px 1px 0;
	border: 1px solid #dddddd;
	padding: 2px;
	background: #ffffff;
}

#title-box-caption h3 {
	margin: 0;
	font-weight: bold;
	font-size: 13px;
}

#software-box {
	position: absolute;
	left: 0px;
	top: 320px;
	width: 580px;
	height: 180px;
	border-top: 1px solid #6a6a6a;
	background-color: #fafafa;
}

.software-item {
	display: block;
	float: left;
	margin: 0;
	width: 145px;
	height: 180px;
	padding: 30px 0 10px 0;
	text-align: center;
	opacity: 0.8;
}

.software-item:hover {
	opacity: 1;
	background-color: #f2f2f2;
}

#blog-box {
	position: absolute;
	left: 580px;
	width: 260px;
	height: 300px;
	border-left: 1px solid #6a6a6a;
	background-color: #fafafa;
	padding: 10px;
}

#blog-box ul {
	padding-left: 20px;
	list-style: disc outside url("index-bullet.png");
}

#blog-box ul li {
	padding-top: 3px;
	padding-bottom: 3px;
	font-size: 12px;
}

#blog-box-visit {
	display: block;
	position: absolute;
	bottom: 0px;
	right: 0px;
	padding: 10px;
	font-size: 16px;
}


#photo-box {
	left: 580px;
	top: 320px;
	width: 280px;
	height: 180px;
	border-top: 1px solid #6a6a6a;
	border-left: 1px solid #6a6a6a;
	background: url("index-photoblog.jpg") white;

}

#photo-box-link {
	display: block;
	width: 280px;
	height: 180px;
}

#photo-box-caption {
	display: block;
	bottom: 140px;
	width: 260px;
	height: 87px;
}

#photo-box-caption p {
	color: #3d3d3d;
}


#footer {
	margin-top: 30px;
	font-size: 10px;
}


