/* Start of CMSMS style sheet 'montimaniacy default' */
/* 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: Tahoma, Verdana, 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 {
	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: #578C0C;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color:#578C0C;
/* 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: #578C0C;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #333;
/* you can set your own image and background color here */
	background: #ededed url(uploads/images/page_bg.jpg) repeat-x left top;
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
	max-width: 995px;
	min-width: 995px;
/* now that width is set this centers wrapper */
	margin: 0 auto;
	color: black;
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {

        height: 305px;
	margin: 0;
	padding: 0;
	background: url(uploads/images/header_bg.jpg) no-repeat;
}

div#header_subpage{

        height: 100px;
	margin: 0;
	padding: 0;
	background: url(uploads/images/top_menu_front.jpg) no-repeat 0px 40px;
padding-bottom:0px;

}

div#header h1 a {
/* you can set your own image here */
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 100px;
/* this hides the text */
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
	line-height: 0;
	font-size: 0;
}
div#header h2 {
/* this is where the site name is */
	float: left;
	line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
	font-size: 1.5em;
/* keeps the size uniform */
	margin: -135px 65px 0px 10px;
/* adjust according your text size */
	color: #f4f4f4;
}
div.crbk {
/* sets all to 0 */
	margin: 0;
	padding: 0;
/* you can set your own image here */
	background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
	padding: 1em 0em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
	font-size: 90%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
	margin: 0px;
/* you can set your own image here */
	background: url(uploads/ngrey/mainleftup.gif) no-repeat left bottom;
}
div.breadcrumbs span.lastitem {
	font-weight: bold;
}
div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
	width: 27em;
	text-align: right;
	padding: 0.5em 0 0.2em 0;
	margin: -50px 36px 0px 0px;
height:29px;
line-height:29px;
background:url(uploads/images/search_field_bg.png) no-repeat 10% 70% ;

}
div#search form{height:29px;}
/* a class for Submit button for the search input box */
input.search-button {
	border: none;
	height: 26px;
	width: 66px;
	margin-left: 5px;
	padding: 0px;
vertical-align:100%;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
}
.search-label{vertical-align:50%;}
.search-input{
          margin-right:13px;
          margin-top:5px;
          border:none;
          width:220px;
          height:16px;
          font-size:13pt;
font-weight:bold;
         vertical-align:top;
         line-height:18px;
}
div#content {
/* some air above and under menu and content */
	margin: 0em 22px 0em 0;
	padding: 0px;
background: #fff url(uploads/images/main_body_bg.png) no-repeat left top;
}

div#content_subpage {
/* some air above and under menu and content */
	margin: 0em 22px 0em 0;
	padding: 0px;
background: #fff url(uploads/images/main_body_subpage_bg.png) no-repeat left top;
}

/* this gets all the outside calls that were used on the div#main before  */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
	margin-left: 0;
/* and some air on the right */
	margin-right:270px;
/* you can set your own image here */

}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
	float: left;
	width: 700px;
/* and we take this out or it will stop at the bottom  */
	margin-left: 0%;
/* and some air on the right */
	margin-right: 10px;
/* you can set your own image here */
}
div.back2 {
/* you can set your own image here */
}
div.back3 {
/* you can set your own image here */
}
div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
	padding: 35px;
/* you can set your own image here */
}

div#main p{
font-family:Arial,helvetica,sans-serif;
font-size:14px;
line-height:1.4em;
}
div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: right;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
	width: 270px;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 0px -10px 20px;
	padding: 0px;

}
#content_subpage #sidebar{margin-top:10px;}
div#sidebarb {
	padding: 10px 15px 10px 20px;
/* this one is for sidebar with content and no menu */
	background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div#sidebarb div#news {
/* less margin surrounding the news, sidebarb has enough */
	margin: 2em 0 1em 0em;
}
div#sidebara {
	padding: 10px 15px 15px 0px;
/* this one is for sidebar with menu and no content */
	background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.footback {
/* keep footer below content and menu */
	clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
	padding: 0px 10px 0px 0px;
/* you can set your own image here */
}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
	padding: 0px 0px 0px 10px;
/* color of text, the link color is set below */
	color: #595959;
/* you can set your own image here */
}
div.leftfoot {
	float: left;
	width: 30%;
	margin-left: 20px
}
div#footer p {
/* sets different font size from default */
	font-size: 0.8em;
/* some air for footer */
	padding: 1.5em;
/* centered text */
	text-align: center;
	margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #595959;
}



/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1, div#content_subpage h1  {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;

}
div#content h2, div#content_subpage h2  {
	color: #484443;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.5em;
	text-align: left;
/* some air around the text */
	padding-bottom: 1px;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
       font-weight:normal;

}
div#content h3, div#content_subpage h3 {
	color: #484443;
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
       font-weight:normal;


}
div#content h4,div#content_subpage h4  {
	color: #484443;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h5,div#content_subpage h5 {
	color: #484443;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #484443;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.2em 0;
	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 {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
/* Opera 4-6 */
/* Opera 7 */
/* Internet Explorer 5.5+ */
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	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 */
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: 14px;
	line-height: 1.4em;
	margin: 10pt 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */
div#topbar{
width:959px;
margin:auto;
text-align:right;
clear:both;
margin-top:10px;
margin-left:0px;
font-size:0.9em;
}


div#zolta_kartka{
float:left; 
margin-top: 75px; 
margin-left: 15px;

}


div#kartka_papryka{
/* you can set your own image here */
	background: url(uploads/images/kartka_papryka.png) no-repeat right top;
width:284px;
height:188px;
margin-top:-46px;

}
div#kartka_papryka h2{

       font-size:1.5em;
       font-weight:normal;
       color:#FD8A11;
      padding:20px 80px 0px 20px;
border:none;

}

div#kartka_papryka p{

      padding:0px 80px 0px 20px;
border:none;}

div#bezplatnaDieta{
           float:right; 
           width:469px;
           height:184px;
           margin-right:22px;
           margin-top:5px;
}

div#headleft{float:left;}

div#forum_main_page, div#boks_forum_page{

background-color:#f4f3f3;
margin-top:20px;
padding-top:10px;
width:241px;
}

div#forum_main_page H2,div#boks_forum_page h2{
       padding:10px;
      padding-bottom:0px;
}

div#forum_main_page #forum{
padding:10px;
padding-top:0px;
}

#forum .mediumtext_mp a{padding-left:15px;

background:url(uploads/images/orange_dot.png) no-repeat left center;
font-family:Tahoma;
color:#54504F;

}

div#boks_forum_page img{padding:5px;background-color:#fff;}

div#main_content{float:right;width:310px; background:url(uploads/images/main_page_paper_bg.png) repeat-y;}
div#main_content h2{margin-top:-30px;padding:0px 40px;}
div#main_content_content{padding:0px 40px;}
div#main_content_top{width:310px; height:80px;background:url(uploads/images/main_page_paper_bg_top.png) no-repeat;}

div#main_content_bottom{width:310px;height:84px; background:url(uploads/images/main_page_paper_bg_bottom.png) no-repeat;}

div#main_temat{float:left;width:300px;clear:left;padding-top:35px;}
div#main_artykuly{}

div#main{padding-top:25px;}
div#loginform{width:300px;margin:auto;}
.loginform{text-align:right;line-height:0.5em;margin:0px;}
.loginform input{width:120px;}

#main .loginform{margin-right:50px;}
div#main p.loginform{font-size:14px !important;}
/*changesettings*/

#changesettings  td, .contact_form{padding:5pt;}
#changesettings textarea {width:450px;height:50px}
#changesettings .Masa,
#changesettings .Wzrost,
#changesettings .Docelowa
  {width:40px;}

#changesettings tr {vertical-align:top;}

.CGBlogSummary{border-bottom:1px dotted #ccc;}

#dla_leniwych{

margin-left: 10px; margin-top: -5px; margin-bottom: -10px;position:relative;
/*margin-left: 250px; margin-top: -46px; margin-bottom: -60px;*/

}
div#blog1{
width:44%;
float:left;
border-right:1px dotted #ccc;
padding-right:5%;
}

div#blog2{
width:44%;
float:right;
}


.calTable{
width:230px;
height:150px;
border:none;
margin:auto;
background:url(uploads/images/caltablebg.png) no-repeat bottom right;
}
.calDay, .calTerm{
  padding:5px;
  border-bottom:1px solid white;
}

.calDay{
  width:30px;
  height:30px;
  font-size:20px;
  font-weight:bold;
  color:#fff;
  padding-left:10px;
  background:url(uploads/images/caldaybg.png)  bottom right;
}


.calTable th{
background:url(uploads/images/caldaybg.png)  bottom right;
color:#fff;
height:30px;
text-align:center;
font-size:14px;
border-bottom:1px solid #fff;
}

/* End of 'montimaniacy default' */

