/* general */

body, p, img {margin:0; padding:0;}
p { margin-bottom: 5px; }
body {background:#fff url('../images/body-bg.jpg?1') repeat-x left top; font: 13px/19px Helvetica, Arial, sans-serif; color:#102940;}
pre {
white-space: normal;
}
img {border: none;}
a {color:#227dd3; text-decoration:underline; outline: none;}
a:hover {text-decoration: none;}

h1, h2, h3 {font-family: Helvetica, Arial, sans-serif; color:#0081c5; margin:0; padding:0 0 10px 0;}
h1 {/*font-size:30px; line-height:40px; font-size: 16px;*/font-size: 14px; line-height: 16px;}
h2 {font-size:14px; line-height:14px; font-weight: bold; color: #999;}
h3 {font-size: 14px; color: black; font-weight: bold;}

form {padding:0; margin:5px 0 0 0;}

.clearer {clear: both; font-size: 1px;  line-height: 1px;  height: 1px;}
.left {float: left;}
.right {float: right;}
.small {font-size:10px; line-height:20px;}

div#header {
        position: relative;
padding:71px 0 20px 30px;
background: url('../images/header-bg4.jpg?1') no-repeat;
  overflow: hidden;
}
#header h1, #header h1 a {font-size: 30px; line-height:40px; color:#fff; display: block; width: 240px; font-weight: normal; padding-left: 5px; text-decoration: none;}
#header .h2 {font: 12px/54px Arial, Helvetica, Tahoma; color:#FFF; margin-left: 20px; text-transform: uppercase; letter-spacing:8px; display:inline;}
#header .h2 div {display:inline;}
div#mainmenu {left:342px; position:absolute; bottom: 0; width: 540px;}
#mainmenu a {font-size: 17px; line-height:33px; color: #fff; margin-right:10px; padding:0 4px 0px 4px; text-decoration:none; display: inline-block; }
#mainmenu a:hover {color:#0081c5; text-decoration: none;}
#mainmenu a.active {color:#fff; font-weight: normal; border-bottom: 6px solid #9fd8f5;}

div#sidebar {float: left; width:246px; padding:0 0 0 30px;}
.lang {background: #9fd8f5 url('../images/north_submenu-bg.png?1') repeat-x bottom; padding:6px 20px 6px 20px;}
.lang a {color:#000; text-decoration:none; margin-right:5px;}
.lang a:hover {text-decoration:underline;}
.lang a.active {color:#0081c5; font-weight: bold; text-decoration:none;}
.search {background: #cfefff; padding:10px 15px 10px 20px;}
  .search input.textbox {margin:0; padding:2px; border: 1px solid #b2dff6; width:180px;}
  .search input.submit {width:13px; border: 0px; background: url('../images/submit.png?1') no-repeat; margin-top:5px;}
	.latestnews, #yritused {border: 8px solid #cfefff; padding:15px 20px 20px 20px;}
#yritused {
margin-top: 8px;
background: #eaf5ff;
}
  .latestnews .newstitle, #yritused .newstitle {width:150px; overflow:hidden;}
  .latestnews a.title, #yritused a.title {text-decoration:none; color:#102940; font-size: 13px;}
  .latestnews a.title:hover, #yritused a.title:hover {text-decoration:underline;}

.date {color:#102940; margin-right:5px; float:left;}
.body, #gallery, #blog {
padding:28px 0 0 4px;
min-height: 10px;
}

div#content {float: left; width:680px; margin:0 0 0 20px;}

#submenu {margin:0; padding: 8px 0 5px 0; border-bottom: 1px solid #809bb4; width: 940px;}
#submenu a {
  color:#5c6d7c;
  text-decoration:none;
  padding: 0 0;
  line-height: 32px;
  margin-right: 10px;  
}  
  #submenu a:hover {text-decoration:underline;}
  #submenu a.active {font-weight: bold; text-decoration:none; color: #102940;}
#content .textbox {background: #CFEFFF; width:514px; margin-top:30px; padding:0;}
  #content .textbox .L, #content .textbox .R {width:217px; padding:15px 20px 20px 20px; overflow:hidden;}
  #content .textbox h1, #content .textbox h2, #content .textbox h3 {font-size:15px; line-height:15px;padding:0 0 15px 0;}
  /* #content {margin:5px;} */
#blog .date, #blog h1, #blog .author {margin-right:5px;}
  #blog h1 a {text-decoration:none;}
  #blog h1 a:hover {text-decoration:underline;}
  #blog h1 b {color:#858c93; font-weight:normal;}
  #blog h1 i {font-weight:normal; color:#000; font-style:normal;}
#comments {padding:0px 0 0 4px;}
  #comments h2 {margin:20px 0 0 24px;}
  #comments .odd, #comments .even {
   float: left;
   width:470px;
   margin:0 0px 0 0px;
   padding:19px 20px 15px 20px;
   }
  #comments .odd {background:#CFEFFF;}
  #comments .L {float:left; width:85px; padding-right:5px;}
  #comments .R {float:right; width:380px;}
#commentsAdd {display:block; border: 5px solid #CFEFFF; margin:20px 0 0 4px;padding:15px 16px;}
   #commentsAdd .formtitle {width:80px; margin-top:15px;}

   #commentsAdd input.textbox, #commentsAdd textarea {width:225px; max-width:225px; padding:3px 5px 5px 5px; margin:10px 10px 0 10px; border: 1px solid #0081c5; font: 14px/19px 'Palatino Linotype';}
   #commentsAdd input.submit {width:130px; border:0;border-bottom:1px solid #0081c5; background-color:#fff; color:#0081c5; padding:0; margin:0; font: 14px/19px 'Palatino Linotype';}
   #commentsAdd input.submit:hover {cursor:pointer;}
   #commentsAdd textarea {height:100px;}
   #commentsAdd .add {display:block; position:relative; top:95px;}
#gallery {margin-right:0px; width:520px;}
  #galleryItem {margin:19px 0 0 0; border:0px; padding:0 10px 0 0;}
  #gallery .thumb {padding: 19px 7px 0 0; float:left;}
  #gallery .thumb img {border: 1px solid #f8e3b7; padding:0 0 0 0; margin:0;}
  #gallery h3 {font-size: 10px; color:#000; font-weight:normal; padding:5px 0 0 0;}
#footer {margin:30px 0 0 0; padding:22px 28px; font-size:11px; line-height:18px; background: #e5f6ff;}
#footer .a {padding-left:15px;}
.footerhr {width:797px; font-size:1px; line-height:1px; margin: 15px 0 10px 58px; padding:0; border-top: 1px solid #ede9e9;}

#footer .left {
  display: block;
  width: 934px;
}
#mainmenu li, #submenu li {
  display: inline-block;
}

/* forms */

   .form_area {

      margin: 20px 0;

}

.form_field {

  margin: 0 0 5px;

}
.form_field label {
  display: block;
  font-weight: bold;
}

.form_error {

  color: red;

  font-weight: bold;

  border: 1px dotted red;

  padding: 5px;

}

.form_field_error {

  color: red;

  font-size: 10px;
  line-height: 14px;

}

.form_notice {

  color: green;

  border: 1px dotted green;

  padding: 5px;

}
.form_field_size_large {

width: 100%;

}

.form_field_size_medium {

width: 50%;

}
.form_field_size_small {

width: 25%;

}

#nu-mainmenu {
margin-top:52px;
margin-bottom: 8px;
}
#nu-mainmenu a {
color: #a4d2e9;
font-size: 16px;
text-decoration: none;
margin-right: 20px;
font-weight: bold;
}
#nu-mainmenu a:hover {
text-decoration: underline;
}
#nu-mainmenu a.active {
color: white;
}
#banners {
width: 120px;
float: left;
}
#logo {
float: left;
margin-top: 1px;
}
#slogan {
float: left;
font-size: 26px;
color: white;
margin-left: 30px;
padding-top: 12px;
}
.news-article {
margin-bottom: 10px;
}
.news-article a {
color: #102940;
font-size: 13px;
text-decoration: none;
}
.news-article a:hover {
text-decoration: underline;
}
.news-date {
color: #858c93;
}
#blog, .body, #comments {
width: 540px;
padding:0;
float: left;
margin-right: 20px;
}
#commentsAdd {
width: 498px;
float: left;
}
.body img {
border: 5px solid #c5c5c5;
}
#edicy {
float: left;
}
#container {
background: url('../images/rahvariba.jpg?1') repeat-x left top;
}
#banners img {
margin-bottom: 10px;
}
#cont1 {
width: 990px;
}
#header-inner {
width: 990px;
}

/* Image container styles */
.edy-positionable-container-center:first-child,
.edy-positionable-container-left-block:first-child,
.edy-positionable-container-right-block:first-child,
.edy-texteditor-container-wrapper-center:first-child,
.edy-texteditor-container-wrapper-left-block:first-child,
.edy-texteditor-container-wrapper-right-block:first-child {
  margin-top: 0;
}

.edy-positionable-container-center:last-child,
.edy-positionable-container-left-block:last-child,
.edy-positionable-container-right-block:last-child,
.edy-texteditor-container-wrapper-center:last-child,
.edy-texteditor-container-wrapper-left-block:last-child,
.edy-texteditor-container-wrapper-right-block:last-child {
  margin-bottom: 0;
}

.edy-positionable-container-center,
.edy-positionable-container-left-block,
.edy-positionable-container-right-block,
.edy-texteditor-container-wrapper-center,
.edy-texteditor-container-wrapper-left-block,
.edy-texteditor-container-wrapper-right-block {
  margin-top: 20px;
  margin-bottom: 20px;
}

.edy-positionable-container-left,
.edy-texteditor-container-wrapper-left {
  margin-right: 20px;
}

.edy-positionable-container-right,
.edy-texteditor-container-wrapper-right {
  margin-left: 20px;
}

.edy-image-container-with-title:after {
  display: block;
  padding: 4px;
  font-size: 12px;
  line-height: 1.3em;
  content: attr(data-title);
}