body,
td,
th,
textarea,
textarea td,
input,
select
{
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 14px;

}

.invisible {
  display: none;
}

img {
  border-width: 0px;
}

body {
  color: #427288;
  margin: auto;
  background-color: white;
}

a {
  text-decoration: none;
}

h2 {
  font-size: 14px;
  font-family: Lato, Arial, Helvetica, sans-serif;
  color: #336529;
  margin: 0px 0px 15px 0px;
  font-size: 17px;
  line-height: 22px;
}

h2 span {
    font-size: 13px;
    color: #444;
    padding-right: 8px;
}

.error {
  border-color: red;
  color: red;
}

main {
  position: relative;
  margin: 10px auto;
  display: block; /*ie11*/
  width: 980px;
  background-image: linear-gradient(to top, rgba(0,0,0,0.05), rgba(0,0,0,0) 40px),
                    url('../_gfx/main_top_bgd.jpg'), url('/_gfx/main_bottom_bgd.jpg');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: left top, right top, calc(100% - 24px) calc(100%  - 18px);
}

header {
  height: 284px;
}

#menu_item1 {
 position:absolute;
 right: 800px;
 top: 50px;
}

#menu_item2 {
  position:absolute;
  right: 700px;
  top: 95px;
}

#menu_item3 {
  position:absolute;
  right: 610px;
  top: 145px;
}

#menu_item4 {
  position:absolute;
  right: 499px;
  top: 170px;
}

#menu_item5 {
  position:absolute;
  right: 370px;
  top: 160px;
}

#menu_logo {
    position: absolute;
    left: 331px;
    top: 26px;
}

.topmenu {
    position: relative;
    bottom: 15px;
    color: olive;
    letter-spacing: 1px;
    font-size: 14px;
}

.topmenu-item:hover * .topmenu,
.topmenu:hover {
    text-shadow: green 0px 0px 1px;
    color: green;
}

.topmenu-item,
.topmenu-item * {
    outline: 0px none;
}

.submenu {
  display: block;
  position: absolute;
  top: 55px;
  left: -10px;
  background-color: white;
  border-color: #ddd #aaa #aaa #ddd;
  border-radius: 10px 10px 10px 10px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 4px 4px 10px #888888;
  padding: 0px 10px;
  z-index: 30;
  width: 160px;
  max-width: 320px;
  max-height: 0vh;
  overflow: auto;
  opacity: 0;
  transition: all 0.5s 0.1s ease-in-out;
}

.topmenu-item:hover .submenu {
  padding: 12px 10px;
  transition: all 0.3s 0s ease-in-out;
  opacity: 1;
  max-height: 50vh;
}

.submenu_link {
    margin-bottom: 3px;
    display: inline-block;
    font-size: 11px;
    color: olive;
    text-shadow: #cfa 0px 0px 2px;

}

.submenu_link:hover {
    text-shadow: green 0px 0px 1px;
}

article {
  width: 570px;
  min-height: 500px;
  margin-left: 300px;
  padding-bottom: 40px;
  color: black;
  font-size: 13px;
  line-height: 1.6;
}

article h1 {
  color: #71c0e8;
  font-weight: bold;
  font-size: 22px;
}

main > aside {
  width: 233px;
  background-image: url('/_gfx/nav_bgd.jpg');
  background-repeat: no-repeat;
  float: left;
  margin-top: 190px;
  padding-left: 20px;
  padding-top: 286px;
}

.curiositywindow {
    position: relative;
    top: 2px;
    left: 4px;
    background-image: url('/_gfx/control_curiosity_background.png');
    background-repeat: no-repeat;
    background-position: top center;
    width: 209px;
}

.curiositywindow-top {
    padding-top: 35px;
    padding-left: 95px;
    font-size: 12px;
    color: #555;
}

.curiositywindow-inner {
    background-image: url("/_gfx/control_curiosity_back_strip.png");
    background-repeat: repeat-y;
    padding-top: 10px;
    color: #df6d1b;
}

.curiositywindow-inner img {
    display: block;
}

.c-news-pager {
  text-align: center;
  margin-top: 2em;
}

.c-news-pager > .pages-list {
  display: inline-block;
}

.c-news-pager > .pages-list > a {
  color: #4d933e;
  font-weight: bold;
  padding: 0px 4px;
}

.c-news-pager > .pages-list > span {
  font-weight: bold;
  padding: 0px 4px;
}

.c-newslist-news {
  margin: 22px 0px 0px 0px;
}

.c-newslist-news > time {
  display: block;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
  color: darkred;
}

.c-newslist-news-link,
.c-newslist-news-link a {
  padding-top: 8px;
  text-align: right;
  color: #444;
  font-weight: bold;
  font-size: 11px;

}

footer {
  position: relative;
  padding: 2px 12px 0px;
  background-color: #dff8c6;
  text-align: right;
  font-size: 11px;
  color: gray;
  height: 16px;
  clear: both;
}

footer > div {
  float: left;
}

footer a {
    color: #4c7523;
}

.control_box_title {
  display: none;
}
