/* Start of CMSMS style sheet 'Ikivihrean sivut' */
/* 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 {
	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: #18507C; 
}
/* a different color can be used for visited links */
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #18507C;
}
/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	background-color: inherit;
	color: #385C72;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* vihrea reunus */
	background: #85cd00  
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the <head> */
	max-width: 80em;
	min-width: 40em;
/* now that width is set this centers wrapper */
	margin: 0 auto;
/* valkoinen tausta */
	background-color: #fefefe; 
	color: black;
}

div#header {
/* adjust according your image size */
/*	height: 30px;                */                  
}
div#header h1 img {
margin-left:0;
}

div#header h2 {
/* this is where the site name is */
	float: right;
/* keeps the size uniform */
	margin: 35px 200px 0px 0px;
}

.otsikko, p {
               margin-left:27px;
} 

div#content {
                padding: 0px 0px 0px 0px;
                margin-left: 190px;
                margin-right: 20px;
                margin-bottom: 40px;
                font-family: "Arial"; 
                font-size: 12px;
	line-height: 17px;
}


div#left_sidebar {
                float: left;
                margin-left: 27px;
}

div#content h3 {
       font-size: 16px;
       margin-bottom: 5px;      
}

div#content h4 {  
      font-weight: normal; 
       font-size: 12px;
       margin-bottom: 10px ;         
}


div#kuvat {
                float: right;
                margin-right: 30px;
}

.palvelut img {
                float: left;
                margin-left: 25px;
                margin-right: 25px;
                margin-bottom: 20px;
}

.palvelut p {
 font-family: "Arial"; 
                font-size: 16px;
	line-height: 17px;
}

br.clear { clear: both;}

div#content_asetelmat {
              margin-left:185px;
}

div#content_istutukset {
              margin-left:185px;
}

div#content_valitys {
              margin-left:185px;
}

div.CGBlogPics {
              float: left;
}             

div.CGBlogSummary {
              margin-left:130px;
              margin-bottom: 40px;
}             


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 */
	background: url(uploads/images/greenfootrt.gif) no-repeat right top; 
}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
	padding: 0px 0px 0px 10px;
/* you can set your own image here */
               background: url(/uploads/images/greentopleft.gif) no-repeat left top; 
}
div#footer p {
/* sets different font size from default */
                margin-top: 0;
                margin-bottom: 0;
	font-size: 1em;
                font-family: "Comic Sans MS"; 
                color: #FFFFFF;
/* some air for footer */
                padding-top: 20px;
                padding-bottom: 20px;
/* centered text */
	text-align: center;
	margin: 0;
}

div#footer a, a:link a:active {
text-decoration: underline;
color: #FFFFFF; 
}


/* 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;
}

.cgfeedback_addcoment  .col70 textarea {
width:460px;
height:100px;
margin-bottom: 10px;
}


/********************CONTENT STYLING*********************/
div#content img { 
/*       float: left;  */ 
       margin-bottom: 10px; 
}
div#content p { 
margin-top: 0;
margin-bottom: 12px; 
font size: 2em;
} 
div#content table { 
margin-bottom: 10px; 
} 
div#content td { 
padding-top: 2px;
padding-bottom: 10px; 
} 

/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
                margin: 0.5em 0 1.5em 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;
}
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: 1.0em;
	line-height: 1.4em;
	margin: 0 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 */
/* End of 'Ikivihrean sivut' */

