/* Start of CMSMS style sheet 'Layout: gwarek' */
/*****************
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: 75.01%;
   line-height: 1em;
}

/*
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 {
   color: #ffffff;
}

a:visited {
   color: #ffffff;
}


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

}

/*****************
basic layout 
*****************/
body {
   background: #201e1f url(images/tlo-gwarek.gif) no-repeat top center;
   color: #333;
}
#ciemny  {
   background: #201e1f url(images/tlo2-gwarek.gif) no-repeat top center;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width: 885px;
   color: black;
   background: url(images/bg-content-gwarek.gif) repeat-y left top;
}
#ciemny #pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width: 885px;
   color: black;
   background: url(images/bg-content-czarny.gif) repeat-y left top;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 176px;    /* adjust according your image size */
   background: url(images/bg-header-gwarek.gif) no-repeat;           
}
#ciemny #header {
   background: url(images/bg-header2-gwarek.gif) no-repeat;           
}

/* position for the search box */
div#search {
   position: absolute;
   top: 95px;
   margin-left: 645px;
}
#search input {
   font-size: 11px;
   background: #002A00;
   color: #999;
   border: 1px solid #999;
   margin-left: 4px;
}
#search label {display:none;}
div.breadcrumbs {
   padding: 1em 0 1.2em 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: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

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

div#content {
   padding-top: 10px;
   width: 856px;
   _width: 871px;
   background: url(images/bg-gwarek.gif) no-repeat left bottom;
   min-height: 550px;
   height: 100%;
   color: #fff;
   overflow: hidden;
}
#ciemny #content {
   background: url(images/bg2-gwarek.gif) no-repeat left bottom;
}
div#main {
   float: left;
   width: 495px;
   margin-left: 6px;
   overflow: hidden;

}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 177px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
   font-size: 10px;
}
#sidebarR {
   float: right;  
   width: 177px;     
   font-size: 10px;
   display: inline;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #054A00;
   height: 63px;
   background: url(images/bg-footer-gwarek.gif) no-repeat;
   font-size: 0.8em;
   padding: 1.0em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}
#ciemny #footer {
   background: url(images/bg-footer2.gif) no-repeat;
}

div#footer  a {
   color: #054A00; /* needed becouse footer link would be same color as background otherwise */
}
#footer img {margin: 0 15px; vertical-align:middle;}

/* 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;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
#content h2 {
	color: #1A1A1A; 
	font-size: 1.5em; 
	text-align: left; 
	margin-bottom: 10px;
        margin-top: 10px;

}

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;
}
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;
   margin: 0;
}

div#main ul li,
div#main ol li {
   margin: 0;
}

/* 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;
}

a.back:active, .back a:active {
   outline:none;
}

a.back, .back a{
  font-family: Arial;
   display: block;
   width: 76px;
   height: 18px;
   background: url(images/bg-back-gwarek.gif) no-repeat;
   padding: 1px 0 0 15px;
   color: #fff;
   text-decoration: none;
   font-weight: bold;
   font-size: 11px;
   float: left;
}
.back a {padding-top: 2px;}
.back-czerwony {
  margin-top: 20px;
  font-family: Arial;
   display: block;
   width: 76px;
   height: 18px;
   background: url(images/bg-back-czerwony.gif) no-repeat;
   padding: 1px 0 0 15px;
   color: #fff;
   text-decoration: none;
   font-weight: bold;
   font-size: 11px;
}

a.back:hover, .back a:hover { color: #ffffff; background-position: 0 1px; padding-top: 2px; }

/* END LISTS */

#menu_horiz {
   position: relative;
   display: block;
   top: 128px;
   left: 210px;
   width: 650px;
   text-align: right;
}
#menu_horiz ul {
  list-style-type: none;

}
#menu_horiz li{
   display: block;
   float: right;
   margin-right: 40px;
   height: 50px;
}
#menu_horiz li a{
   text-decoration: none;
   padding-bottom: 9px;
}
#menu_horiz li a:hover {
   border-bottom: 3px solid #ffffff;
}
#menu_horiz h3 {
   border-bottom: 3px solid #ffffff;
   padding-bottom: 10px;
}
#tresc-top {
  background: url(images/bg-photo-top-gwarek.gif) center top no-repeat;
  padding: 15px 24px 2px;
  font-size: 24px;
  margin: 0 4px;
}
#tresc {
  padding: 20px 24px 0;
  margin: 0 4px;
  background: url(images/bg-tresc.gif) 0 10px no-repeat #1E1E1E;
}
#tresc p {
  line-height: 1.5em;
}
#tresc h3 {margin-bottom: 10px;}
#tresc-bottom {
  background: url(images/bg-news-bottom-gwarek.gif) center bottom no-repeat;
  height: 30px;
  margin: 0 4px 10px;
}
.r {float: right; }
.l {float: left; }
.rezerwuj a {
  font-family: Arial;
  display: block;
  background: url(images/bg-rezerwuj-gwarek.gif) no-repeat;
  width: 104px;
  height: 18px;
  text-decoration: none;
  text-align: center;
  color: #fff;
  padding: 2px 5px 0 0;
  font-weight: bold;
  font-size: 11px;
  text-transform: lowercase;
}
.rezerwuj a:hover {
  color: #fff;
  padding-top: 3px;
  background-position: 0 1px;
}
#rezerwuj {
  padding: 10px;
}
#rezerwuj #content, #rezerwuj p {
  line-height: 1.5em;
}
.kup a {
  font-family: Arial;
  display: block;
  background: url(images/bg-rezerwuj-gwarek.gif) no-repeat;
  width: 118px;
  height: 18px;
  text-decoration: none;
  color: #fff;
  padding: 2px 0 0 10px;
  font-weight: bold;
  font-size: 11px;
  text-transform: lowercase;
}

.kup a:hover {
  color: #fff;
  padding-top: 3px;
  background-position: 0 1px;
}
#nms {
    line-height: 1.2em;
}
#nms input {width: 130px; margin: 2px 0;}
#nms-submit input {width: 60px;}

.sidebar-txt {
      font-family: Arial;
     width: 145px;
     margin:0 10px 10px 4px; 
     padding: 8px 10px 12px 12px; 
     background: url(images/bg-txt-tpl-gwarek.gif) no-repeat center bottom;
}
.sidebar-txt img {margin-bottom: 8px;}

.sidebar-txt h3 {font-size: 15px; color: #ffffff; font-weight: bold;}
.sidebar-txt h4 {font-size: 12px; color: #1a1a1a; padding: 2px 0; } 
.sidebar-txt strong {font-size: 11px; color: #1a1a1a; font-weight: bold;}
.sidebar-txt hr {position:relative;top:0;left:0; color: #FE0106; background: #FE0106; height: 1px; border:0; margin-bottom: 10px;}
.sidebar-img {
      background: url(images/bg-txt-tpl-gwarek-img.gif) no-repeat right top;  
}
#ciemny .sidebar-txt hr {color: #fff; background: #fff; }
#ciemny .sidebar-txt {
     background: url(images/bg-txt-tpl-czarny.gif) no-repeat center bottom;
}
#ciemny .sidebar-img {
      background: url(images/bg-txt-tpl-czarny-img.gif) no-repeat right top;  
}

#nms-submit input{
   font-size: 11px;
   padding: 0 2px;
   background: #201E1F;
   color: #999;
   border: 1px solid #999;
}

#stat {position: relative; top:0; left: 0; float: right; width: 60px; margin-right: 50px;}

#zont {position:relative; bottom: 10px; right:40px; color: #054A00; text-align: right; font-size: 10px;}
#zont a {color: #054A00;}

#ciemny #zont {color: #171717;}
#ciemny #zont a {color: #171717;}
/* End of 'Layout: gwarek' */

