/**************** Body and basic styles ****************/

* {
	margin: 0;
	padding: 0;
}

body {
	font: 1em "Lucida Grande", Lucida, Verdana, sans-serif;
	text-align: center;
	color: gray;
	background: #fff;
	line-height: 1.5em;
}

p {
	padding: 5px 0 1.2em 0;
}

/**************** Container and header styles ****************/

#container {
	max-width: 1280px;
	margin: 10px auto;
	padding: 1px 0;
	text-align: left;
	background: #fff;
	color: #303030;
}

#header {
	width: 100%
	margin: 0 1px 10px 1px;
	background: #fff;
	
}
#header img {
	max-width: 100%;
	height: auto;
}

@media only screen and (max-width: 720px) {
  #header {
    text-align: center;
  }
}

@media only screen and (max-width: 1280px) {
  #container {
    padding: 1px 15px;
  }
}


/**************** Navigation styles ****************/

#navigation {
	height: 2.2em;
	line-height: 2.2em;
	width: 100%;
	margin: 0 1px;
	background: transparent;
	border-bottom: 1px solid #c0c0c0;
	border-top: 1px #c0c0c0 solid;
}

#navigation li {
	float: left;
	list-style-type: none;
	white-space: nowrap;
}

#navigation li a {
	display: block;
	padding: 0 8px;
	font-size: 1.1em;
	font-weight: normal;
	text-decoration: none;
	background-color: inherit;
	color: #836652;
}

* html #navigation a {
	width: 1%;
}

#navigation a:hover {
	background: #fff;
	color: #836652;
	text-decoration: underline;
}

#navigation .active {
	color: #836652;
	font-weight: bold;
	text-decoration: underline;
}

.ika-navigaatio {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 18px;
}

.ika-navigaatio a {

    font-size: 14px;
    color: #836652;

}

.ika-navigaatio a:visited {

    color: #836652;

}

/**************** Content styles ****************/

#content {
	float: left;
	width: 78%;
	min-height: 500px;
	font-size: 0.95em;
	padding: 10px 5px 0 5px;
	border-right: 1px solid #c0c0c0;
}

#content p {
	margin: 0;
	padding: 0 0 15px 0;
}

#content h2 {
	margin: 1em 0 0.5em 0;
	font-size: 2.6em;
	line-height: 1.2em;
	font-weight: normal;
	letter-spacing: 1px;
}

#content h2 a {
	text-decoration: none;
}

#content h3 {
	margin: 1em 0 0.5em 0;
	font-size: 2em;
	letter-spacing: 1px;
	font-weight: normal;
	word-break: break-word;
	line-height: 1em;
}

#content h3 a {
	text-decoration: none;
}

#content a:hover,#subcontent a:hover {
	text-decoration: underline;
}

#content ul,#content ol {
	margin: 0 15px 16px 15px;
}

#content dl {
	margin: 0 5px 10px 25px;
}

#content dt {
	font-weight: bold;
	margin-bottom: 1em;
}

#content dd {
	margin: 0 0 10px 15px;
}

#content iframe {
	border: 2px solid black;
}

.section-divider-line {
    width: 98%;
    height:1px;
    background-color:silver;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left:auto;
    margin-right: auto;
}


@media only screen and (max-width: 720px) {
  #content {
    width: 100%;
    float: none;
  }
}


/**************** Subcontent sidebar styles ****************/

#subcontent {
	float: right;
	width: 20%;
	padding: 10px 0 10px 0;
	line-height: 1.4em;
}

#subcontent h2 {
	display: block;
	margin: 0 0 0.5em 0;
	font-size: 1.6em;
	font-weight: normal;
	text-align: left;
	letter-spacing: -2px;
	background-color: inherit;
}

#subcontent p {
	margin: 1em;
	padding: 0;
	font-size: 0.9em;
}

@media only screen and (max-width: 720px) {
  #subcontent {
    width: 100%;
    float: none;
  }
}

/**************** Footer styles ****************/

#footer {
	clear: both;
	width: 100%;
	padding: 1em 0;
	margin: 0 1px;
	font-size: 0.9em;
	color: #999;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #fff;
}

#footer p {
	padding: 0;
	margin: 0;
	text-align: center;
}

#footer a {
	color: #836652;
	background-color: inherit;
	text-decoration: none;
	font-weight: bold;
}

#footer a:hover {
	background-color: inherit;
	text-decoration: underline;
	color: #836652;
}

/**************** Image styles ****************/

a img {
	margin-left: 5px;
	padding: 2px;
	border: 1px solid #455251;
	max-width: 100%;
	height: auto;
}

a img:hover {
	background: #455251;
}

img.left,img.center,img.right {
	padding: 4px;
	border: 0;
}

img.left {
	float: left;
	margin: 0 12px 5px 0;
}

img.center {
	display: block;
	margin: 5px auto 5px auto;
}

img.right {
	float: right;
	margin: 0 0 5px 12px;
}



/**************** Link styles ****************/

a {
	color: #836652;
	font-weight: bold;
	background-color: inherit;
        text-decoration: underline;
}

a:hover {
	background-color: inherit;
	color: #836652;
        text-decoration: none;
}

.article-content a {
        color: #0000EE;
	font-weight: normal;
	background-color: inherit;
        text-decoration: none;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

.article-content a:hover {
	background-color: inherit;
	color: #0000FF;
        font-weight: normal;
        text-decoration: underline;
}

/**************** Comments ****************/

#content h3#comment {
	font-size: 1.2em;
}

#content ol.comments li {
	font-size: 1.2em;
	text-decoration: none;
	letter-spacing: -1px;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	font-weight: bold;
}

#content ol.comments li * {
	font-size: 0.8em;
	font-weight: normal;
	letter-spacing: 0px;
	padding-left: 0px;
	margin-left: 0px;
}

#content ol.comments li * * {
	font-size: 1.0em;
}

#content ol.comments li * strong {
	font-weight: bold;
}

#content ol.comments li small {
	letter-spacing: 1px;
}

#content ol.comments li br {
	line-height: 0px;
	height: 0px;
	font-size: 0px;
}

#content p.post {
	margin: 0 0 1em 0;
	padding: 0px;
	font-size: 1.0em;
	font-style: italic;
}

#txpCommentInputForm {
	margin: 0px 0px 10px 0px;
	font-size: 1em;
	padding-left: 16px;
	padding-right: 16px;
}

.comments_error {
	background: #ffa;
}

div.comments_error {
	border: 1px solid #cc8;
	padding: 0.3em;
}

/**************** Subcontent link styles ****************/

.sidelink {
	margin: 0 0 20px 8px;
	font-size: 0.9em;
}

.sidelink li {
	list-style: none;
	display: block;
	padding: 2px;
	margin-bottom: 2px;
}

.sidelink li a {
	font-weight: bold;
	text-decoration: none;
}

.sidelink li a:hover {
	text-decoration: none;
}

.sidelink li ul {
	margin: 3px 0 3px 15px;
	font-size: 1em;
	font-weight: normal;
}

.sidelink li ul li {
	margin-bottom: 0;
}

.sidelink li ul a {
	font-weight: normal;
}

.sidelink ul {
	margin: 3px 0 3px 15px;
	font-size: 1em;
	font-weight: normal;
}

.sidelink ul li {
	margin-bottom: 0;
}

.sidelink ul a {
	font-weight: normal;
}

.sidelink li .sidelink_active, .sidelink li a.active {
	color: #836652;
	text-decoration: underline;
}

/**************** Searchbar styles ****************/

#searchbar {
	margin: 0 0 1em 0;
}

/**************** Misc classes and styles ****************/

.clear {
	clear: both;
}

.small {
	font-size: 0.9em;
}

.hide {
	display: none;
}

.textcenter {
	text-align: center;
}

.textright {
	text-align: right;
}

.important {
	color: #f02025;
	background-color: inherit;
	font-weight: bold;
}

.box {
	margin: 0 0 1em 0;
	padding: 2px;
	border: 1px solid #c0c0c0;
	background-color: #efecec;
	color: #505050;
	line-height: 1.5em;
}

.feed {
	margin: 5px 0 1em 10px;
	padding: 0 0 5px 20px;
	background-image: url("../images/rss.gif");
	background-repeat: no-repeat;
	background-position: left center;
}

blockquote {
	margin: 10px 0 10px 20px;
	padding-left: 5px;
	border-left: 1px solid olive;
}

/**************** Form and ZCR styles ****************/

fieldset {
	border: 0 none;
	margin: 0;
	padding: 0;
}

fieldset ul {
	color: red;
}

fieldset legend {
	display: none;
}

form div input, form div select, form div textarea, textarea, select, input {
	border: 1px solid #ede;
	background: #efecec;
	padding: 5px;
	margin: 3px 0;
	font-size: 1.2em;
	line-height: 1em;
}

form {
	padding: 0 0 0 5px;
	margin: 0;
	font-size: 1em;
	color: #333;
}

form div {
	clear: left;
	display: block;
	margin: 0;
	padding: 0;
}

form div label {
	display: block;
	width: 100px;
	padding: 0;
	margin: 0px 10px 5px 0px;
	text-align: left;
}

form .contact-form label {
  font-weight: 600
}

form .contact-form > div {
  display: flex;
  flex-wrap: wrap;
}

form .contact-form input[name=remember] {
    margin: 10px 0 10px 10px;
}
form .contact-form label[for=remember] {
    padding: 4px 10px 5px 10px;
    width: auto;
}

form .contact-form #actions > * {
    margin-right: 10px;
    margin-top: 10px;
}



@media only screen and (max-width: 720px) {
    form .contact-form input[type=text],
    form .contact-form textarea
    {
        width: 100%
    }
    form .contact-form input[name=remember] {
        margin: 10px 0;
    }
}


ul.zemError {
	list-style-type: none;
	margin: 5px;
	padding: 2px;
	border: 1px #f00 solid;
	color: #f00;
	background: #fff;
}

.zemRequired {
	font-weight: bold;
}

.zemRequirederrorElement {
	color: #f00;
	font-weight: bold;
}

input.zemRequirederrorElement, select.zemRequirederrorElement,textarea.zemRequirederrorElement {
	background: #e2e2e7;
}

p.red {
	color: red;
	font-weight: bold;
}