/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 10px;
   line-height: 14px;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 10px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #c41f18; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #c41f18;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: inherit;
   color: #5f5b57;
}

/*****************
basic layout 
*****************/
body {
   background-color: #b3b3b3;
   color: #383838;
   margin:0;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   width: 950px;
   background: #f3f3f3 url(images/kreatyw/bg_txt.jpg) repeat-y 0 0;
   color: #383838;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 386px; /* adjust according your image size */
  width: 950px;
  overflow:hidden;
   background: #f1f1f1;           
}
div#header_left {
	float:left;
	display:inline;
	height: 386px;
	width: 590px;
	overflow:hidden;
	background: url(images/kreatyw/ng_left.jpg) no-repeat 0 0;
}

div#header_left img {
	margin: 25px 0 0 55px;
}
div#header_right {
	float:right;
	display:inline;
	height: 386px;
	width: 360px;
	overflow:hidden;
	background: url(images/kreatyw/ng_right.jpg) no-repeat 0 0;
}

div#search {
   float: right;
   width: 27em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 0 0 0 20px;
   font-size: 10px;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 0px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }


div#content {
   margin: 0;
   width:950px;
   overflow:hidden;
   position:relative;
   z-index:1;
}
div#content_left {
	width:690px;
	float:left;
}
div#main {
   padding: 20px;
}

div#content_right {
	width:250px;
	float:right;
}

div#sidebar {
   margin: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding-right: 20px;
}

div#footer {
   clear:both;
   color: #5c5855;
   background: #b3b3b3 url(images/kreatyw/bg_foot.jpg) repeat-x 0 0;
   margin-top:20px;
}

div#footer p {
   font-size: 10px;
   padding: 10px;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #5c5855;
}
div#footer p a:hover{
   color: #ffffff;
}
div#foot_kr {
   clear:both;
   color: #fff;
   background: transparent;
   padding:10px;
}
div#foot_kr p{
	font-size:10px;
	color:#b0b0ae;
	text-align:right;
	line-height:12px;
}
div#foot_kr p a{
	color:#b0b0ae;
}
div#foot_kr p a:hover{
	color:#c41f18;
}
/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

div#main_chemo{
	width:310px;
	height:180px;
	padding:0px;
	background:url(uploads/images/main/main_chemo.jpg);
	float:left;
	overflow:hidden;
}
div#main_termo{
	width:310px;
	height:180px;
	padding:0px;
	background:url(uploads/images/main/main_termo.jpg);
	margin-left:10px;
	float:left;
	overflow:hidden;
}
div#main_gf{
	width:310px;
	height:180px;
	padding:0px;
	background:url(uploads/images/main/main_gf.jpg);
	margin-top:10px;
	float:left;
	overflow:hidden;
}
div#main_rada{
	width:310px;
	height:180px;
	padding:0px;
	background:url(uploads/images/main/main_rada.jpg);
	margin-top:10px;
	margin-left:10px;
	float:left;
	overflow:hidden;
}
div#main_chemo h4.main_offer, div#main_termo h4.main_offer{
	color:#000000;
	font-size:10px;
	margin-top:50px;
	margin-bottom:15px;
	margin-left:10px;
}
div#main_chemo h5.main_offer, div#main_termo h5.main_offer{
	color:#615e59;
	font-size:10px;
	margin-top:10px;
	margin-left:20px;
	line-height:12px;
}
div#main_chemo h5.main_offer a, div#main_termo h5.main_offer a, div#main_gf h5.main_offer a, div#main_rada h5.main_offer a{
	color:#615e59;
}
div#main_chemo h5.main_offer a:hover, div#main_termo h5.main_offer a:hover, div#main_gf h5.main_offer a:hover, div#main_rada h5.main_offer a:hover{
	color:#c41f18;
}
div#main_gf h4.main_offer, div#main_rada h4.main_offer{
	color:#000000;
	font-size:10px;
	margin-top:65px;
	margin-bottom:15px;
	margin-left:10px;
}
div#main_gf h5.main_offer, div#main_rada h5.main_offer{
	color:#615e59;
	font-size:10px;
	margin-top:10px;
	margin-left:20px;
	line-height:12px;
}

div#main_kontakt{
	width:226px;
	height:153px;
	padding:0px;
	background:url(uploads/images/main/kontakt_right.jpg);
	margin: 0 auto;
	overflow:hidden;
	position:absolute;
	bottom:0;
}
div#main_kontakt p{
	color:#676153;
	font-size:12px;
	font-weight:bold;
	text-align:center;
	line-height:20px;
	padding-top:5px;
}

div#main_nagrody{
	width:226px;
	height:396px;
	padding:0px;
	background:url(uploads/images/nagrody/nagrody_prawa.jpg);
	margin: 0 auto;
	overflow:hidden;
	position:absolute;
	bottom:0;
}

table.tab_nagrody{
	width:90%;
	margin:0 auto;
}
table.tab_nagrody td{
	width:49%;
	text-align:center;
	vertical-align:middle;
	padding: 10px 10px 20px 10px;
	font-size:12px;
	font-weight:bold;
}
table.contactform
{
	width:100%;
}
table.contactform td{
	text-align:left;
	vertical-align:middle;
	padding: 2px;
	font-size:10px;
}
table.contactform td input{
	text-align:center;
	vertical-align:middle;
	padding: 3px;
	font-size:10px;
	width:180px;
	background:#fff;
	border: 1px solid #5e5a57;
}
table.contactform td textarea{
	text-align:left;
	vertical-align:middle;
	padding: 3px;
	font-size:12px;
	width:180px;
	height:50px;
	background:#fff;
	border: 1px solid #5e5a57;
}
table.contactform td.wiadomosc textarea{
	text-align:left;
	vertical-align:middle;
	padding: 3px;
	font-size:12px;
	width:180px;
	height:80px;
	background:#fff;
	border: 1px solid #5e5a57;
}


table.contactshort
{
	width:auto;
	margin:0 auto;
}
table.contactshort td{
	text-align:right;
	vertical-align:middle;
	padding: 2px;
	font-size:10px;
}
table.contactshort td input{
	text-align:center;
	vertical-align:middle;
	padding: 3px;
	font-size:10px;
	width:180px;
	background:#fff;
	border: 1px solid #5e5a57;
}
table.contactshort td textarea{
	text-align:left;
	vertical-align:middle;
	padding: 3px;
	font-size:12px;
	width:180px;
	height:50px;
	background:#fff;
	border: 1px solid #5e5a57;
}
table.contactshort td.wiadomosc textarea{
	text-align:left;
	vertical-align:middle;
	padding: 3px;
	font-size:12px;
	width:180px;
	height:80px;
	background:#fff;
	border: 1px solid #5e5a57;
}
/********************
CONTENT STYLING
*********************/
div#content p{
	font-size:10px;
}

/* HEADINGS */
div#content h1 {
   font-size: 16px;  /* font size for h1 */
   line-height: 28px;
   margin-bottom: 10px;
   color:#343434;
}
div#content h2 {
   color: #383431; 
   font-size: 16px; 
   text-align: left; 
   padding:5px 0 5px 40px;
   line-height: 20px;
   margin: 0 0 5px 0;
   background: #fff url(images/kreatyw/bullet_h2.gif) no-repeat 5px 5px;
}
div#content h3 {
   color: #615e59; 
   font-size: 13px;
   line-height: 16px;
   margin: 0 0 5px 0;
}
div#content h3 a{
   color: #515151;
   padding-left:20px;
}
div#content h3 a:hover{
   color: #c41f18;
   padding-left:20px;
}
div#content h4 {
   color: #615e59; 
   font-size: 12px;
   line-height: 14px;
   margin: 0 0 3px 0;
}
div#content h5 {
   font-size: 11px;
   line-height: 12px;
   margin: 0 0 3px 0;
}
h6 {
   font-size: 10px;
   line-height: 12px;
   margin: 0 0 3px 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 10px;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 10px;
   line-height:16px;
   margin:5px 0 5px 25px;
}
div#main ul li,
div#main ol li {
   margin:5px 0 5px 15px;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */