/* Start of CMSMS style sheet '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;
}
html, body {
	height: 100%;
}
/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;;
   line-height: 1em;
   background: url(images/bg.gif) repeat-x;
   color: #333;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
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: #B42014; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #B42014;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #B42014;
  }

/*****************
basic layout 
*****************/
/* center wrapper, min max width */
div#pagewrapper {
   width: 812px;
   color: black;
   min-height: 100%;
   height: auto !important;
   height: 100%;
   margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */
}



div#header {
   height: 113px;  
   padding: 0; 
    
}

#content {
   margin-top: 30px;
}
/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

#breadcrumbs {
   padding: 0 0 0.5em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin-bottom: 10px;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #999;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
}

div#main {
   margin-left: 178px; 
   margin-right: 10px; /* and some air on the right */
   margin-bottom: 20px;
   padding: 0 10px;
   line-height: 140%;
   width: 520px;
}
#main_top {
  background: url(images/top_main.gif) no-repeat;
  width: 582px;
  height: 11px;
  margin: 0;
  padding: 0;
  font-size: 2px;
}
#main_bottom {
  background: url(images/bottom_main.gif) no-repeat;
  width: 582px;
  height: 11px;
}
#tresc {
   background: url(images/bg_main.gif) repeat-y;
   width: 540px;
   padding: 0 21px;
   overflow: hidden;
   min-height: 500px;
   height: auto !important;
   height: 100%;
}
div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 168px;    /* sidebar width, if you change this please also change #main margins */
   /*display: none;   FIX IE double margin bug */
   margin-left: 10px;
   text-align: center;
}
#sklep #sidebar {
  clear: left;
}
#sklep #main {
  float:right;
  display: inline;
  margin-left: 0;
  margin-right: 90px;
  _margin-right: 0;
}

div#footer {
   height: 50px;
   width: 100%;
   clear: both;       /* keep footer below content and menu */
   background: url(images/bg_footer.gif) repeat-x;
   font-family: verdana,geneva;
   font-weight: bold;
   color: #787878;
   padding-top: 10px;
}
.push {
   height: 60px;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

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;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

#menu_horiz {
position: relative;
top: 60px;
clear: both;
width: 600px;
margin: 0 auto;
padding-top: 21px;
height: 46px;
z-index:3;
}
#link_home {
  text-align: center;
}
#link_home a:hover {
 background: none;
  color: none;
}
  
#menu_horiz ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
#menu_horiz li {
        float: left;
        display: inline;
        list-style: none;
        margin: 0;
        width: 90px;
        height: 28px;
    }
#menu_horiz li a {
        display: block;
        border-right: none;
	height: 20px;
        width: 90px;
	background: url(images/menu_horiz.gif) no-repeat 0 6px;
    }
#menu_horiz a,
#menu_horiz a:link,
#menu_horiz a:active,
#menu_horiz a:visited {
        /* hide from ie/mac \*/
        display: block;
        /* end hide */
        display: inline-block;
        text-decoration: none;
        text-align: center;
        font-weight: bold;
        margin: 0;
        color: #000;
        padding-top: 14px;
    }
#menu_horiz li a:hover {
	background: url(images/menu_horiz_on.gif)  0 4px no-repeat;
        color: #B41F14;
        padding-top: 12px;
        height: 30px;
}
#menu_horiz li .activeparent {
	background: url(images/menu_horiz_on.gif)  0 4px no-repeat;
        color: #000;
        padding-top: 12px;
        height: 30px;
}
#menu_horiz h3 {
	background: url(images/menu_horiz_on.gif) 0 4px  no-repeat;
        font-size: 12px;
        width: 90px;
        height: 28px;
        display: block;
        text-align: center;
        padding-top: 12px;
}
#menu_horiz ul ul {
        display: none;
}
/********************
CONTENT STYLING
*********************/

/* HEADINGS */
div#content h1 {
   font-size: 18px; /* font size for h1 */
   line-height: 1em;
   margin: 0;
   margin-bottom: 5px;
   color: #A20707;
}
div#content h2 {
	color: #A20707; 
	font-size: 1.5em; 
	
/* some air around the text */
	padding-bottom: 1px;
/* set borders around header */
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #A20707; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #A20707; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#main h5 {
   color: #BD0707; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #A20707; 
   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;
}
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%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;

}

#main ul,
#main ol  {
   margin-left: 20px;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
.foto_left10{
   padding-right: 10px;
   padding-top: 0;
   padding-bottom: 8px;
}
.foto_right10{
   padding-left: 10px;
   padding-top: 0;
   padding-bottom: 8px;
}
.foto_left{
   padding-right: 10px;
   padding-top: 0;
   padding-bottom: 0;
}
.foto_right{
   padding-left: 10px;
   padding-top: 0;
   padding-bottom: 0;
}
.back a {
   color: #A20707;
   font-size: 80%;
   background: url(images/arrow_l.gif) no-repeat left bottom;
   padding-left: 17px;

}
.back a:hover {
   color: #B42014;
   background: url(images/arrow_l.gif) no-repeat 3px bottom;
}


/* END LISTS */

/*strona glowna */

.layer100m {
  clear: both;
  padding-left: 40px; 
  padding-right: 40px;
  padding-bottom: 8px;
  margin: 8px 0;
  }
.layer100 {
  clear: both;
  padding-bottom: 0px;
  margin: 0px 0;
  }
.layer50_1 {
  float: left;
  width: 250px;
  border-right: 1px solid #cccccc; 
  padding-right: 6px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin: 8px 0;
}
.layer50_2 {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 6px;
  float: left;
  width: 250px;
  margin: 8px 0;
}
.layer33_1{
  margin: 4px 0;
  width: 165px;
  float: left;
  padding-right: 5px;
  padding-bottom: 0px;
}
.layer33_2{
  margin: 4px 0;
  width: 165px;
  border-left: 1px solid #cccccc; 
  border-right: 1px solid #cccccc; 
  float: left;
  padding-left:5px;
  padding-right: 5px;
  padding-bottom: 0px;
}
.layer33_3{
  margin: 4px 0;
  width: 165px;
  padding-left: 5px;
  float: left;
  padding-bottom: 0px;
}
.layer40_L{
  margin: 4px 0;
  width: 200px;
  padding-right: 4px;
  border-right: 1px solid #cccccc; 
  float: left;
  padding-bottom: 0px;
  margin-right: 6px;
}
.layer60_P {
  margin: 4px 0;  
  padding-bottom: 0px;
}
.layer60_L{
  margin: 4px 0;
  width: 295px;
  padding-right: 4px;
  border-right: 1px solid #cccccc; 
  float: left;
  padding-bottom: 0px;
  margin-right: 6px;
}
.layer40_P {
  margin: 4px 0;  
  padding-bottom: 0px;
}
#osrodki {
 text-align: center;
 height: 35px;
}
#allrights {
  margin-top: 10px;
  margin-bottom: 10px;
}
#lewa {
 background: url(images/lewa.gif) no-repeat;
 margin-left: 5px;
 padding-top: 5px;
 text-align: left;
 height: 100px;
}
#lewa a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0 0.3em 0.3em 0.3em; /* some air for it */
   color: #333; /* this will be link color for all levels */
   background: transparent; 
   border-bottom: 1px solid #fff;
   font-weight: bold;
   min-height:1em; /* Fixes IE7 whitespace bug */ 
   margin-left:5px;
   margin-right: 10px;
}
#lewa a:hover {
   color: #fff;
}
#en {
  position: absolute;
  top: 20px;
  right: 40px;
}
/* End of 'podstawowy' */

