* 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: Calibri, sans-serif;
	font-size: 100%;
	line-height: 0.75em;
}
/*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*/
a, a:link a:active {
/* set all links to have underline */
	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;
/* this is a bluish color, you change this for all default link colors */
	color: black;
}
a:visited {
/* keeps the underline */
	text-decoration:underline;
	background-color: inherit;
/* a different color is used for visited links */
	color: #18507C;
}
a:hover {
/* remove underline on hover */
	text-decoration: none;
	background-color: inherit;
/* using a different color makes the hover obvious */
	color: #385C72;
}
/*****************basic layout *****************/
body {
align: 
	max-width: 1200px;
min-width: 1200px;
margin: 0;
	padding: 20px;
/* default text color for entire site*/
	color: #333;
/* you can set your own image and background color here */
	background: #000000 
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
max-width: 1200px;

	
/* now that width is set this centers wrapper */
	margin: 0 auto;
	background-color: #8a8a8a;
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 {
/* adjust according your image size */
	height: 237px;
	margin: 0;
	padding: 0;

/* you can set your own image here, will go behind h1 a image */
	background: #f4f4f4 url(https://komisjahydrologicznaptg.pl/uploads/images/baner_kolor_ang.png) no-repeat left top;
/* border just the bottom */
	
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
	padding: 1em 1em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
	font-size: 100%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
	margin: 0px;
/* you can set your own image here */
	background: {url(https://komisjahydrologicznaptg.pl/uploads/ngrey/mainleftup.gif)} no-repeat left bottom;

}
div.breadcrumbs span.lastitem {
	font-weight: bold;

}

div#content {
/* some air above and under menu and content */
	padding: 0em 1em 1em 1em;
}
/* 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: 26%;
/* and some air on the right */
	margin-right: 2%;
/* you can set your own image here */
	background: url(https://komisjahydrologicznaptg.pl/uploads/ngrey/mainrt1.gif) no-repeat right top;

}
/* 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: right;
	width: 69%;
/* 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 */
	background: url(https://komisjahydrologicznaptg.pl/uploads/ngrey/mainrt1.gif) no-repeat right top;

}
div.back2 {
/* you can set your own image here */
	background: url(https://komisjahydrologicznaptg.pl/uploads/ngrey/mainleft1.gif) no-repeat left top;

}
div.back3 {
/* you can set your own image here */
	background: url(https://komisjahydrologicznaptg.pl/uploads/ngrey/wbtmleft.gif) no-repeat left bottom;
}
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 */
margin-left: 24%;
margin-top: 0%;
margin-bottom: 2%;
margin-right: 2%;	
padding: 3em 3em 3em 3em;	
     height: relative;
min-height: 350px;
/* you can set your own image here */
	
background-color: #e3e3e3;
}
div.back #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: 10px 30px 0px 15px;
/* you can set your own image here */
	background: url(https://komisjahydrologicznaptg.pl/uploads/ngrey/wbtmleft.gif) no-repeat left bottom;

}
div.back {
/* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
	margin-left: 20%;

/* you can set your own image here */
	background: url(https://komisjahydrologicznaptg.pl/uploads/ngrey/wtopleft.gif) no-repeat left top;

}
div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: left;
margin-left: 2%;	
/* sidebar width, if you change this change div.back and/or div.back1 margins */
	width: 20%;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 1am 1am 1am 1am;
	padding: 0;
/* you can set your own image here */
	background: {url(https://komisjahydrologicznaptg.pl/uploads/ngrey/mainrt1.gif)} no-repeat right top;

}
div#sidebara {
	padding: 0px 5px 0px 0px;
/* you can set your own image here */
	background: {url(https://komisjahydrologicznaptg.pl/uploads/ngrey/mainrtup.gif)} no-repeat right bottom;

}
div#sidebarb {
	padding: 10px 10px 1px 0px;
/* you can set your own image here */
	background: url(https://komisjahydrologicznaptg.pl/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: 1am 1am 1am 1am;
/* you can set your own image here */
	background: {url(https://komisjahydrologicznaptg.pl/uploads/ngrey/wfootrt.gif)} repeat-x right top;


}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
	padding: 0px 0px 0px 0px;
/* color of text, the link color is set below */
	color: #595959;
/* you can set your own image here */
	background: {url(https://komisjahydrologicznaptg.pl/uploads/ngrey/wtopleft.gif)} no-repeat left top;

}
div.leftfoot {
	float: left;
	width: 30%;
	margin-left: 0px
}
div#footer p {
/* sets different font size from default */
	font-size: 0.8em;
/* some air for footer */
	padding: 0.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 {
color:#D4ECFB;
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0.7em;


}
div#content h2 {
color:#D4ECFB;	

/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 2em;
line-height: 1em;
	text-align: left;

/* some air around the text */
padding-top: 10px;
	padding-left: 0.5em;
	padding-bottom: 10px;
/* set borders around header */
	border-bottom: 0px solid #505050;
	border-left: 0.8em solid #505050;
border-color: #D4ECFB;
/* a larder than h1 line height */
font-size: 1.1em;
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0 0;
}
div#content h3 {
	color: #000000;


	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	color: #D4ECFB;
padding-left: 0.5em;
border-left: 0.9em solid #505050;
border-color: #D4ECFB;

	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h5 {
	color: #294B5F;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
h6 {
	color: #294B5F;
	font-size: 1em;
	line-height: 1.5em;
	margin: 0 0 0.5em 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 0 1em;
	line-height: 1.5em;
	padding: 0.5em;
}
blockquote {
	border-left: 10px solid #ppp;
	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 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	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 0 0;
}
/* 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:2em;
	margin: 0 0 0 1em;
}
div#main ul li,
div#main ol li {
font-size: 1.0em;
	line-height: 2em;
	margin: 0 0 0 1em;
}
/* 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 1emem;
}
div#main dl dd {
	margin: 0 0 0 1emem;
}

/* END LISTS */
/* Stylesheet: Layout: Hydrological Commission Modified On 2018-10-15 12:26:20 */
