::selection {
	background: #cc0000; /* Safari */
}

::-moz-selection {
	background: #cc0000; /* Firefox */
}

* {
	margin: 0;
	padding: 0;	
	font-family: "Verdana", sans-serif;
	font-size: 12px;	
	color: #eeeeee;
}

html {	
	background: url('img/bg.jpg');
	font-size: 1.1em;
}

body {
	background: #000000, url('img/shadow.png') left top repeat-x;
}

a, img, a img {
	border: none;
	text-decoration: none;
}

a.link {
	color: #00aaff;
	border-bottom: 1px solid #00aaff;
	padding: 2px;	
	/*padding-top: 0;*/
	line-height: 20px;
	position: relative;
	bottom: 3px;
}

a.link:hover {
	background: #00aaff;
	color: #ffffff;
}

a.link span.is {
	letter-spacing: 2px;
	color: #00aaff;
}

a.link:hover span.is {
	letter-spacing: 2px;
	background: #00aaff;
	color: #ffffff;
}

a.intext {
	position: relative;
	top: 0px;	
}

ul {
	list-style-type: none;
	display: block;
}

ul li {
	display: block;
	padding-top: 5px;
	padding-bottom: 7px;
	border-top: 1px solid #303030;
}

ul li:first-child {
	padding-top: 0;	
	border-top: none;
}

ul li strong {
	float: right;
}

ul li:hover {
	text-shadow: rgba(255, 255, 255, 0.85) 0 0 5px;
}

/* 
	---------------- LAYOUT --------------- 
*/
a#logo {
	display: block;
	width: 54px;     /* 76 */
	height: 62px;    /* 76 */
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/newlogo.png') center center no-repeat;
	margin-top: 0px;
	margin-bottom: 38px;	
}

a#logo-back {
	display: block;
	width: 63px;     /* 76 */
	height: 53px;    /* 76 */
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/newlogo-back.png') center center no-repeat;
	margin-top: 9px;
	margin-bottom: 38px;
	margin-left: -9px;
}

a#lab {
	display: block;
	width: 35px;     /* 76 */
	height: 19px;    /* 76 */
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/top-links.png') -65px top no-repeat;
	float: right;
	margin-top: 50px;
}

a#cv {
	display: block;
	width: 25px;     /* 76 */
	height: 19px;    /* 76 */
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/top-links.png') -128px top no-repeat;
	float: right;
	margin-left: 20px;
	margin-top: 50px;
}

a#blog {
	display: block;
	width: 50px;     /* 76 */
	height: 19px;    /* 76 */
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/top-links.png') right top no-repeat;
	float: right;
	margin-left: 20px;
	margin-top: 50px;
}

a#lab:hover {
	background: url('img/top-links.png') -65px bottom no-repeat;
}

a#cv:hover {
	background: url('img/top-links.png') -128px bottom no-repeat;
}

a#blog:hover {
	background: url('img/top-links.png') right bottom no-repeat;
}

h1#h1-homepage {
	display: block;
	width: 960px;
	height: 66px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/h1-comma.png') center center no-repeat;		
	margin-bottom: 20px;
}

h2#h2-homepage {
	display: block;
	width: 960px;
	height: 46px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/h2.png') center center no-repeat;	
	margin-bottom: 40px;
}

h3 {
	margin-bottom: 15px;
}

h3#reference {
	display: block;
	width: 120px;
	height: 28px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/reference.png') left center no-repeat;
}

h3#profil {
	display: block;
	width: 69px;
	height: 28px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/profil.png') left center no-repeat;
}

h3#sluzby {
	display: block;
	width: 91px;
	height: 28px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/sluzby.png') left center no-repeat;
}

h3#kontakt {
	display: block;
	width: 97px;
	height: 28px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/kontakt.png') left center no-repeat;
}

h3#mapa {
	display: block;
	width: 84px;
	height: 29px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/h-mapa.png') left center no-repeat;
}

h3#back {
	display: block;
	width: 145px;
	height: 29px;
	text-indent: -5000px;
	overflow: hidden;
	background: url('img/h-back.png') -4px center no-repeat;
}

p {
	font-style: italic;	
	text-align: justify;
	line-height: 22px;
}

em {
	font-style: italic;
	color: #dddddd;
	position: relative;
	top: 4px;
	left: 2px;	
}

div.ref, a.reference {
	display: block;
	width: 290px;
	height: 174px;
	background: url('img/ref-bg.png') center center no-repeat;
}

div.ref img, a.reference img {
	margin: 10px;
	width: 270px;
	height: 154px;
}

div.ref-a4, a.reference-a4 {
	display: block;
	width: 290px;
	height: 402px;
	background: url('img/ref-a4-bg.png') center center no-repeat;
}

div.ref-a4 img, a.reference-a4 img {
	margin: 10px;
	width: 270px;
	height: 382px;
}

a.reference:hover em, a.reference-a4:hover em {	
	color: #00aaff;
}

div.big-ref {
	width: 960px;
	height: 295px;
	background: url('img/big-ref-bg.png') center center no-repeat;
}

div.big-ref img {
	margin: 10px;
	width: 940px;
	height: 275px;		
}

div.vspace1 {
	height: 33px;
}

div.vspace2 {
	height: 65px;
}

div.vspace3 {
	height: 45px;
}

div#photo {
	margin-top: 30px;
	width: 290px;
	height: 290px;
	background: url('img/photo.jpg') center top no-repeat;
}

div#photo:hover {
	background: url('img/photo.jpg') center bottom no-repeat;
}

div#social {
	width: 267px;
	height: 39px;
	overflow: hidden;	
	margin-top: 20px;	
}

div#social a {
	display: block;
	width: 34px;
	height: 39px;
	float: left;
	margin-right: 14px;
	text-indent: -5000px;
}

div#social a#dribbble {
	background: url('img/social.png') 0px -48px no-repeat;
}

div#social a#dribbble:hover {
	background: url('img/social.png') 0px 5px no-repeat;
}

div#social a#forrst {
	background: url('img/social.png') -48px -48px no-repeat;
}

div#social a#forrst:hover {
	background: url('img/social.png') -48px 5px no-repeat;
}

div#social a#facebook {
	background: url('img/social.png') -96px -48px no-repeat;
}

div#social a#facebook:hover {
	background: url('img/social.png') -96px 5px no-repeat;
}

div#social a#twitter {
	background: url('img/social.png') -144px -48px no-repeat;
}

div#social a#twitter:hover {
	background: url('img/social.png') -144px 5px no-repeat;
}

div#social a#rss {
	background: url('img/social.png') -192px -48px no-repeat;
}

div#social a#rss:hover {
	background: url('img/social.png') -192px 5px no-repeat;
}

/*
a#order {
	margin: 35px;
	display: block;
	width: 216px;
	height: 50px;
	background: url('img/button-mam-zajem.png') center top no-repeat;
}

a#order:hover {
	background: url('img/button-mam-zajem.png') center bottom no-repeat;
}
*/
a#order {
	margin: 30px 67px;
	display: block;
	width: 148px;
	height: 41px;
	background: url('img/big-button.png') center top no-repeat;
}

a#order:hover {
	background: url('img/big-button.png') center bottom no-repeat;
}

/* 
	---------------- GRID --------------- 
*/
/* A container should group all your columns. */
.container {
  width: 960px;
  margin: 0 auto;
}

/* Sets up basic grid floating and margin. */
div.span-1, div.span-2, div.span-3 {
	float: left;
	margin-right: 45px;
}

/* The last column in a row needs this class. */
div.last { 
	margin-right: 0; 
}

/* Use these classes to set the width of a column. */
.span-1  { 
	width: 290px;	
}

.span-2  { 
	width: 625px;	
}

.span-3, div.span-3 { 
	width: 960px; 
	margin: 0; 	
}

/* Add these to a column to append empty cols. */
.append-1  { 
	padding-right: 335px;	
}

.append-2  { 
	padding-right: 670px;
}

/* Add these to a column to prepend empty cols. */
.prepend-1  { 
	padding-left: 335px;	
}

.prepend-2  { 
	padding-left: 670px;
}

/* Use these classes on an element to push it into the next column, or to pull it into the previous column.  */

.pull-1 { 
	margin-left: -335px;
}

.pull-2 { 
	margin-left: -670px;
}

.pull-3 { 
	margin-left: -1005px;
}

.pull-1, .pull-2, .pull-3 {
	float: left;
	position: relative;
}

.push-1 { 
	margin: 0 -335px 1.5em 335px;	
}

.push-2 { 
	margin: 0 -670px 1.5em 670px;	
}

.push-3 { 
	margin: 0 -1005px 1.5em 1005px;
}

.push-1, .push-2, .push-3 {
	float: right;
	position: relative;
}

/* Clearing floats without extra markup */
.clearfix:after, .container:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix, .container {
	display: inline-block;
}

* html .clearfix, * html .container {
	height: 1%;
}

.clearfix, .container {
	display: block;
}

/* Regular clearing apply to column that should drop below previous ones. */
.clear { 
	clear: both; 	
}

.fade {
	color: #888888;
}

/* Safari BUG fix */
form {
	display: block;
	width: 250px;
	height: 345px;
	padding: 10px;
}

input.text {
	width: 95%;
	border: 1px solid #999999;
	padding: 5px;
	margin-bottom: 20px;
	-moz-border-radius: 3px;
	border-radius: 3px;				
	font-family: sans-serif;
	color: #666666;
}

textarea {
	width: 95%;
	border: 1px solid #999999;
	padding: 5px;
	margin-bottom: 20px;
	height: 150px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-family: sans-serif;
	color: #666666;
}

input.submit {
	padding: 5px;
	color: #666666;
}

label {
	font-size: 11px;
	color: #666666;
}

input:focus, textarea.focus {
	bodrer: 1px solid #00aaff;
}

.inv {
	display: none;
}

div#info {
	color: #666666;
	width: 250px;				
	font-family: sans-serif;
	margin-left: 10px;
	margin-bottom: 5px;
}
