/* Start of CMSMS style sheet 'Layout: podstawowy' */
/*****************
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: Arial, Helvetica, sans-serif;
   font-size: 12px;
   line-height: 1em;
}

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

/*
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: underline;
/* 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: #FFF669; 
}

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


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #FFF669;
}

/*****************
basic layout 
*****************/
body {   background: #1fd2c3 url(images/bg2.jpg) repeat-x;}
wrapper {
   background: url(images/bg2.gif) no-repeat center top;
   color: #333;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 40px auto 0;     /* this centers wrapper */
   width: 839px;
}

div#header {
   height: 115px;
   width: 527px;
   background: url(images/header.gif) right top no-repeat;
   overflow: hidden;
   float: none;
   _float: right;
}
div#header-home {
   height: 175px;
   background: url(images/header-home.gif) right top no-repeat;
   width: 527px;
   overflow: hidden;
   float: none;
   _float: right;
}
#header-home #title {
   margin-left: 20px;
}
#menu_horiz-home {

}  

#adres {
   position: relative;
   top: 20px;
   right:0;
   color: #ffffff;
   text-align: right; 
   margin-right: 20px;
   line-height: 1.4em;
   font-size: 11px;
}
#adres a {color: #ffffff;} 

#title {position:relative; top: 100px; left: 0;}

#content { }
#tresc {
  min-height: 385px;
  padding: 0;
  color: #ffffff;
  line-height: 1.4em;
  overflow:hidden;
}
#tresc-home {
  background: url(images/bottom.gif) no-repeat right bottom;
  min-height: 285px;
  color: #ffffff;
  line-height: 1.4em;
}
#content-home {
  display:inline;
  width: 490px;
  float: right;
  margin-right: 15px;
}

#menu_horiz-home {
margin-left: 330px;
}

div#main {
  background: #013F48 url(images/tresc.gif) repeat-x 0 115px;
  width: 839px;
}
#main2 {
  background: url(images/bottom.gif) no-repeat right bottom;
  width: 839px;
}
div#main-home {
  background: #013F48 url(images/tresc.gif) repeat-x 0 175px;
  width: 839px;
}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 312px;
   display: inline;  /* FIX ie doublemargin bug */
   background: url(images/header2.gif) no-repeat;
}

div#footer {
   width: 844px;
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   background: url(images/footer.gif) no-repeat;
   margin:0;
   height: 60px;
   padding-top: 10px;
}

div#footer p {
   font-size: 0.8em;
   text-align: center; /* centered text */

}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
}



/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #ffffff; 
   font-size: 1.7em; 
   text-transform: capitalize;
   padding-bottom: 1px;
     line-height: 1.5em;
   margin: 0 0 0.4em 0;
}
div#content h3 {
   color: #ffffff; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #ffffff; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   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;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */


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

#tresc ul li {
     list-style-type: none; 
     padding-left: 10px; 
     background: url(images/li.gif) 0 5px no-repeat; 
}

#txt {width: 480px; float:right; display:inline; margin-right: 20px;}

.turkus {color: #1BC4B7;}
.pomarancz {color: #FA7303;}

.ikona {clear:both; margin-bottom: 10px; height: 74px;}
.ikona img {float: left; padding-right: 5px;}
.ikona a {color: #ffffff; text-decoration: none;}
.ikona a:hover {color: #1BC4B7;}

#mapa, #mapa a  {
  color: #013F48;
  line-height: 1.2em;
}
/* End of 'Layout: podstawowy' */

