@charset "windows-1251";

body  {
	font: 100% Verdana, Geneva, sans-serif;
	margin: 10px; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
}

#container { 
	width: 95%;  /* this will create a container 80% of the browser width */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
}	

#main {
	float: left;
	padding: 0 1em 0 0;
	width: 44%;
	min-width: 18em;
}

#sidebar {
	float: right;
	padding: 0 1em 0 0;
	width: 52%;
	min-width: 20em;
}

#footer {
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	display: block;
    clear: both;
	background:#D4D0C8;
} 

div #header {
	padding: 1em 1em 0 1em;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	margin-bottom: 5ex;
} 

div #header img {
	padding: 0;
	margin: 3ex 1ex 3ex 2ex;
	width: 100%;
    max-width: 1000px;
}

#header, #footer { 
 font-size: .7em; 
} 
#header ul, #footer ul { 
 list-style: none; 
 margin: 0; 
 padding: 0; 
 padding-top: 4px; 
 } 
#header li, #footer li { 
 display: inline; 
} 

#header a:link, #header a:visited, #footer_main a:link, #footer_main a:visited {
	display: block;
	float: left;
	margin: 0.2ex 0.5ex 0.5ex;
	padding: 0.6ex;
	color: #0B0163;
	background-color: #CCE9EA;
	text-decoration: none;
	border-top: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
	border-bottom: 1px solid #717171;
	border-right: 1px solid #717171;
	white-space: nowrap;
} 

#header a:hover, #footer_main a:hover { 
 border-top: 1px solid #717171; 
 border-left: 1px solid #717171; 
 border-bottom: 1px solid #FFFFFF; 
 border-right: 1px solid #FFFFFF; 
}

#footer a:link, #footer a:visited {
	display: block;
	float: left;
	margin: 0.2ex 0.5ex 0.5ex;
	padding: 0.8ex;
	white-space: nowrap;
} 

#footer a:hover { 
 border-top: 1px solid #717171; 
 border-left: 1px solid #717171; 
 border-bottom: 1px solid #FFFFFF; 
 border-right: 1px solid #FFFFFF; 
}

#footer a img {
	border: 0;
}

div.news, div.ad, div.very, div.main_news, div.sm, div.ecocalendar, div #ad {
	border-style: 0px;
	float: left;
	width: 44%;
	min-width: 10em;
	display:block;
	padding-top: 0;
	padding-right: 0.5em;
	padding-bottom: 1ex;
	padding-left: 0.5em;
}

div.main_news {
	width: 92%;
	min-width: 20em;
	padding-bottom: 2ex;
}

div.sm {
	width: auto;
	min-width: 5em;
	padding-left: 1em;
}

div.ecocalendar { 
width: 95%;
}

div.ad { 
width: 42%;
}

div #ad {
width: 95%;
}

div.very { 
width: 15em;
height: 23ex;
float: left;
}

div.very p, #sidebar ul, #sidebar li {
	font-size: x-small;
}

.rubriki, #main h2, div.news h2, div.news h4, div.ad h2, div.ecocalendar h2 {
	color: #FFFFFF;
	border-style: groove;
	padding: 4px 50px 4px 10px;
	margin: 1ex;
	text-align: left;
	background: #666666;
	font-size: 14px;
	font-weight: bold;
	width: auto;
}

div.news h4 {
		background: #61B46B;
}

div.main_news h3 {
	text-align: center;
	margin: 0.7ex;
	font-size: xx-large;
}

div.ecocalendar h2 {
	color: #006;
	background: #CCE9EA;
	border-right-color: #FFF;
	border-bottom-color: #FFF;
	border-top-color: #CCC;
	border-left-color: #CCC;
	border-style: outset;
}

div.ad h2 {
	font-size: 15px;
	background: #FC9;
	color: #600;
	border-color: #CCC;
}

.green_date {
	color: #063;
	font-weight: bold;
}
.holiday_green {
	font-weight: bold;
	color: #61B46B;
}
.holiday_red {
	font-weight: bold;
	color: #C00;
}
.header {font-size: 16px;}

.news_picture, #main img, div.news img, div.ad img, div.ecocalendar img, div #ad img {
	margin: 0.6ex 0.5em 0px 0px;
	float: left;
}

.news_picture, div.news img {
	width: 100px;
}

div.main_news img {
	width: 200px;
}

.news_body, div.ad p, #main p, div.news p, div.ecocalendar p, div #ad p {
	text-align: justify;
	padding: 2px 0px;
	font-size: small;
	margin: 0 0 auto;
}

.news_name, div.news h3, div.ad h3 {
	padding: 6pt 2em 5pt 0.5em;
	margin: 0;
	text-align: left;
	font-size: medium;
	font-weight: bold;
}

.right_head img {
	width: 100%;
    max-width: 566px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px; 
}

.headers_images img {
	width: 100%;
	max-width: 566;
}
	

#ecocalendar_table th, #ecocalendar_table td {
    width: 2em;
    text-align: right;
}

th.monthname {
    width: auto;
    text-align: center;
}
th.weekname {
	color: #063;
	width: 1.2em;
}

.holiday_red, .holiday_red a {
    color: red;
    font-weight: bold;
}

.holiday_green, .holiday_green a {
    color: green;
    font-weight: bold;
}

table.calendar {
	display: inline;
	padding: 1.2em;
	margin-bottom: 4ex;
}

