/* -------------------------------------------------------
   * Filename		screen.css
   * Updated		2009-11-27 | 2010-03-31
   * Author     	Dariusz Pobożniak
   * Website		http://pobozniak.pl
   * Description 	CSS Document main default file
   ----------------------------------------------------- */
   

@import url("reset.css"); 	    /* reset browser defaults  */
@import url("fancybox.css");    /* lightbox gallery styles */


body {
	background: #282a25 url(../gfx/bgBody.jpg) 50% 0 no-repeat;
	color: #d3d3d3;
	font: normal 62.5%/170% Verdana, Arial, Helvetica, sans-serif;
}
body.en {
	background: #282a25 url(../gfx/bgBodyEn.jpg) 50% 0 no-repeat;
}

a, h3, h4, .submit { color: #00baff; }
a { text-decoration: none; }
a:hover { color: #d3d3d3; }
p { margin: 1em 0; }
strong { font-weight: bold; }
h2 { display: none; }
h3 {
    font-size: 130%;
    font-weight: normal;
    margin-bottom: 1em;
}


/* STRUCTURE
 ---------------------------------------------------------------------------- */
#wrapper { 
	font-size: 1.4em;
	line-height: 130%;
	margin: 0 auto;
	width: 900px; 
}
#content, #home #projectlist {
    background: #1d1e1a;
	clear: both;
	margin-bottom: 20px;
	padding: 20px 20px 20px 265px;
	width: 615px;
}
#home.pl #content { background: #1d1e1a url(../gfx/bgPlH2Welcome.gif) 0 0 no-repeat; }
#company.pl #content { background: #1d1e1a url(../gfx/bgPlH2Company.gif) 0 0 no-repeat; }
#projects.pl #content { background: #1d1e1a url(../gfx/bgPlH2Projects.gif) 0 0 no-repeat; }
#services.pl #content { background: #1d1e1a url(../gfx/bgPlH2Services.gif) 0 0 no-repeat; }
#software.pl #content { background: #1d1e1a url(../gfx/bgPlH2Software.gif) 0 0 no-repeat; }
#funding.pl #content { background: #1d1e1a url(../gfx/bgPlH2Funding.gif) 0 0 no-repeat; }
#partners.pl #content { background: #1d1e1a url(../gfx/bgPlH2Partners.gif) 0 0 no-repeat; }
#links.pl #content { background: #1d1e1a url(../gfx/bgPlH2Links.gif) 0 0 no-repeat; }
#contact.pl #content { background: #1d1e1a url(../gfx/bgPlH2Contact.gif) 0 0 no-repeat; }
#home.pl #projectlist { background: #6f706d url(../gfx/bgPlH2Projects1.gif) 0 0 no-repeat; }

#home.en #content { background: #1d1e1a url(../gfx/bgEnH2Welcome.gif) 0 0 no-repeat; }
#company.en #content { background: #1d1e1a url(../gfx/bgEnH2Company.gif) 0 0 no-repeat; }
#projects.en #content { background: #1d1e1a url(../gfx/bgEnH2Projects.gif) 0 0 no-repeat; }
#services.en #content { background: #1d1e1a url(../gfx/bgEnH2Services.gif) 0 0 no-repeat; }
#software.en #content { background: #1d1e1a url(../gfx/bgEnH2Software.gif) 0 0 no-repeat; }
#funding.en #content { background: #1d1e1a url(../gfx/bgEnH2Funding.gif) 0 0 no-repeat; }
#partners.en #content { background: #1d1e1a url(../gfx/bgEnH2Partners.gif) 0 0 no-repeat; }
#links.en #content { background: #1d1e1a url(../gfx/bgEnH2Links.gif) 0 0 no-repeat; }
#contact.en #content { background: #1d1e1a url(../gfx/bgEnH2Contact.gif) 0 0 no-repeat; }
#home.en #projectlist { background: #6f706d url(../gfx/bgEnH2Projects1.gif) 0 0 no-repeat; }

#footer { 
    background: #6f706d;
    float: left;
    margin-bottom: 20px;
    padding: 10px;
    width: 880px;
}
#wrapper:after, #footer:after { 
	content: "."; display: block; font-size: 0; 
	height: 0; clear: both; visibility: hidden; 
}


/* HEADER
 ---------------------------------------------------------------------------- */
h1 {
	float: left;
    height: 92px;
    margin-bottom: 102px;
    width: 460px;
}
h1 a {
    display: block;
    height: 100%;
    width: 220px;
}
.lang {
    color: #a7aaac;
	float: right;
	line-height: 92px;
	padding-right: 1.5em;
	position: relative;
}
h1, #topnav li a {
	overflow: hidden;
    text-indent: -99999px;
}
.rotate {
    display: inline;
	float: left;
	height: 260px;
	margin-left: 20px;
	position: relative;
	width: 430px;
}
.rotate img {
	display: none;
	box-shadow: 5px 5px 15px #222;
	-moz-box-shadow: 5px 5px 15px #222;
	-webkit-box-shadow: 5px 5px 15px #222;
}
#topnav {
	float: left;
	margin: 20px 0;
	width: 900px;
}
#topnav li {
	float: left;
	height: 54px;
	list-style: none;
}
#topnav li a {
    background-repeat: no-repeat;
    background-position: 0 0;
	display: block;
	float: left;
	height: 100%;
}
#topnav li a:hover { background-position: 0 -54px; }
.pl #tab-company a { background-image: url(../gfx/bgPlTabCompany.gif); width: 80px; }
.pl #tab-projects a { background-image: url(../gfx/bgPlTabProjects.gif); width: 97px; }
.pl #tab-services a { background-image: url(../gfx/bgPlTabServices.gif); width: 81px; }
.pl #tab-software a { background-image: url(../gfx/bgPlTabSoftware.gif); width: 190px; }
.pl #tab-funding a { background-image: url(../gfx/bgPlTabFunding.gif); width: 179px; }
.pl #tab-partners a { background-image: url(../gfx/bgPlTabPartners.gif); width: 110px; }
.pl #tab-links a { background-image: url(../gfx/bgPlTabLinks.gif); width: 64px; }
.pl #tab-contact a { background-image: url(../gfx/bgPlTabContact.gif); width: 98px; }

.en #tab-company a { background-image: url(../gfx/bgEnTabCompany.gif); width: 124px; }
.en #tab-projects a { background-image: url(../gfx/bgEnTabProjects.gif); width: 109px; }
.en #tab-services a { background-image: url(../gfx/bgEnTabServices.gif); width: 108px; }
.en #tab-software a { background-image: url(../gfx/bgEnTabSoftware.gif); width: 117px; }
.en #tab-funding a { background-image: url(../gfx/bgEnTabFunding.gif); width: 144px; }
.en #tab-partners a { background-image: url(../gfx/bgEnTabPartners.gif); width: 110px; }
.en #tab-links a { background-image: url(../gfx/bgEnTabLinks.gif); width: 81px; }
.en #tab-contact a { background-image: url(../gfx/bgEnTabContact.gif); width: 107px; }

#company #tab-company a, #projects #tab-projects a, #services #tab-services a, 
#software #tab-software a, #funding #tab-funding a, #partners #tab-partners a, 
#tab-partners a, #links #tab-links a, #contact #tab-contact a {
	background-position: 0 -108px;
}


/* CONTENT
 ---------------------------------------------------------------------------- */
#content h2 + p { margin-top: 0; }
ul + h3, p + h3 {
	 margin-top: 2em;
}
#projectlist, #projectlist ul {
	margin: 0;
}
#projectlist li {
	border-bottom: 1px solid #929292;
	font-size: 120%;
	list-style: none;
	padding: 1.5em 0;
}
#projectlist li:first-child {
	border-top: 1px solid #929292;
}
#projectlist h3 { color: #fff; font-size: 150%; }
#map {
    border: 1px solid #A7AAAC;
    font-size: 12px;
	height: 300px;
	line-height: 130%;
	margin: 2em 0 3em;
	overflow: hidden;
	width:  613px;
}
form { margin-top: 1.5em; }
form p {
	float: left;
	margin: .3em 0;
	width:  100%;
}
label {
	float: left;
	margin-right: 15px;
	text-align: right;
	width: 130px;
}
.input, textarea {
	background: #fff;
	border: 0 none;
	display: block;
	float: left;
    font: 1em Verdana, Arial, Helvetica, sans-serif;
	padding: .2em;
	width: 460px;
}
textarea { overflow: auto; }
.submit {
    cursor: pointer;
	float: right;
	font-size: 120%;
	position: relative;
	right: 5px;
}



/* FOOTER
 ---------------------------------------------------------------------------- */
#footer div {
	float: right;
	margin-top: 15px;
	text-align: right;
}
#footer div p:last-child {
	border-top: 1px solid #929292;
}
#footer a { color: #d3d3d3; }
#footer div span { color: #00baff; }
#footer p {
    margin: 0;
	padding: .4em 0;
}
#footer img {
	float: left;
	margin-right: 10px;
}


/* Markdown & common styles */
.positive, .negative {
	border: 1px solid;
	padding: 1em;
	text-align: center;
}
.positive { border-color: #139136; }
.negative { border-color: #f51616; }
ul, ol { margin: 1em 0 1em 20px; }
ul li, ol ul li { list-style: disc; }
ol li, ul ol li { list-style: decimal; }
/* gallery-box */
.gallery-box {
    border: 1px dashed #222;
    margin: 2em 0;
    padding: 1em;
    text-align: center;
}
.gallery-box dl { text-align: left; }
.gallery-box a img { border: 1px solid #222; padding: 3px; margin: .3em; }
.gallery-box a:hover img { border-color: #282a25; }
/* gallery-desc */
.gallery-desc { float: left; margin: 1em 0; width: 100%; }
#content .gallery-desc ul, .gallery-desc li p { margin: 0; }
#content .gallery-desc ul li { list-style: none; }
.gallery-desc li {
    clear: both; 
    float: left; 
    margin: .5em 0;
    width: 100%;
}
.gallery-desc .left img { float: left; }
.gallery-desc .right img { float: right; }
.gallery-desc .left p { margin-left: 190px; }
.gallery-desc .right p { margin-right: 190px; text-align: right; }
.gallery-desc .center { 
    clear: none; 
    max-height: 210px; 
    overflow: hidden; 
    width: 190px; 
}
* html .gallery-desc .center { height: 210px; }
/* table */
table {
    border: 1px solid #ccc;
    margin: 1em 0;
    border-collapse: collapse;
}
table td, table th { 
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: .2em .4em; 
}
table th { font-weight: bold; }
.ytmovie { clear: both; display: block; margin: .2em auto; }

