body {
  margin: 0;
  padding: 0;
  font-family: Arial, Verdana, sans-serif;
  font-size: 12px;
  background-color: #fff;
  background: #D4E5F9;
}

a img,:link img,:visited img {
  border: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#sjs {
  width: 960px;
  margin: 30px auto;
  position:relative;
}

#trail,#main,#heading {
  border-left: 1px solid #08408A;
  border-right: 1px solid #08408A;
}

#menu-main {
  padding: 0;
  margin: 0;
  list-style: none;
  float: right;
  position: relative;
  bottom: -1px;
  z-index: 10;
}

#menu-main li {
  float: left;
  margin: 0 0 0 4px;
}

#menu-main li a {
  display: block;
  padding: 10px 20px;
  background: #F0F7FF;
  border: 1px solid #08408A;
  color: #093F89;
  font-weight: bold;
}

#menu-main li a.active {
  background: #fff;
  border-bottom-color: #fff;
}

#heading {
  border-top: 1px solid #08408A;
  background: url('../images/background-heading.png') no-repeat;
/*  height: 197px; */
  height: 228px;
  position: relative;
}

#heading-text,#heading-image,#heading-image a {
  position: absolute;
  width: 245px;
  height: 160px;
  overflow: hidden;
}

#heading-text {
  z-index: 10;
}

#heading-image {
  z-index: 20;
  background: url('../images/heading.png') no-repeat;
}

#trail {
  height: 16px;
  padding: 10px 20px;
  position: relative; 
}

#trail #logo-goethe {
  position: absolute;
  top: 0;
  right: 0;
}

#trail a {
  color: #fff;
  margin: 0 5px;
}

#trail,#footer {
  background: url('../images/background.png') repeat;
}

#main { 
  /*background-image: url('../images/line.png');*/
  background-color: #fff;
}

#main-left {
  float: left;
  width: 170px;
  padding: 0 15px;
  padding-top: 16px;
}

#main-center {
  float: left;
  width: 550px;
  padding-top: 16px;
}

#main-right {
  float: left;
  width: 170px;
  padding: 0 15px;
  padding-top: 16px;
}

#main-right #history {
  padding-bottom: 15px;
}

#edu-program {
  margin: 10px 0;
}

#footer {
  position: relative;
  height: 65px;
  overflow: hidden;
  padding: 10px 15px 0 15px;
}

#footer a {
  color: #A5C5EB;
  text-decoration: underline;
}

#footer-copyright {
  color: #fff;
}

#footer-founder {
  width: 200px;
  font-size: 11px;
  padding: 0 5px 0 0;
  margin: 0 15px 0 0;
  border-right: 1px solid #A5C5EB;
  color: #A5C5EB;
}

#footer-bottom {
  position: absolute;
  left: 0;
  bottom: -1px;
  background: url('../images/background-footer.gif') no-repeat;
  width: 100%;
  height: 9px;
  overflow: hidden;
  z-index: 20;
}

.fb_link {
  float:left;
  color:#0D438B;
  width: 150px;
}
.fb_link a {
  color:#0D438B;
}
.fb_left {
  float:left;
  margin-right:7px;
  margin-top:5px;  
}

.fb_link img {
  width:30px;
}

/* lang flags */
.lang_flags {
  display: block;
  float: right;
  width: 16px; 
  height: 11px;
  border: 2px solid #adc5e7;
  margin-top: 5px;
  padding: 0px;
  margin: 0px;
}

.lang_flags span  { display: none; }

#en_flag.lang_flags {
  margin-right: 10px;  
  background: url('../images/en_flag.jpg') 0 0 no-repeat;
}

#ru_flag.lang_flags {
  background: url('../images/ru_flag.jpg') 0 0 no-repeat;
}
a.lang_flags:hover  {
  border-color: #08408a;
}

#flags_box {
    position: absolute;    
    right: 0px;
    top: -25px; 
    width: 200px;      
}

