/*
  пути к рисункам - относительно текущей папки (css)
*/

/* DEBUG */

/* POSITIONING */

html, body {
  margin: 0;
  padding: 0
}

div {
}

div#container {
  width: 800px;
  margin: 0 auto;
  border: none;
}

  div.left {
    width: 583px;
    margin-right: 200px;
    padding: 8px;
  }
  
  div.right {
    float: right;
    width: 184px;
    padding: 8px;
    margin: 0;
    overflow: hidden /* IE */
  }
  
  html > body div.right {
    overflow: visible /* opera */
  }

  div#top {
    margin-top: 16px;
    height: 120px;
    position: relative;
  }
    
    div#top div.left {
      height: 104px;
      width: 567px; 
      padding-left: 15px;
      padding-right: 14px;
      position: relative;
      border-right: none;
    }
    
    div#top div.right {
      height: 104px;
      border-left: 1px #bfbfbf solid;
      overflow: hidden 
    }
  
  /*div#main {
    height: 600px;
    position: relative;
  }*/
  
/*  html > body div#main {
    min-height: 600px;
    height: auto; /* for-opera */
 /* }*/
  
    div#main div.left {
      padding-right: 40px;
      padding-top: 32px;
      width: 540px;
      border-right: none;
    }
    
    div#main div.left div#content {
    }
  
    div#main div.right {
    }
    
      div#main div.right div#map {
        position: relative;
        left: -64px; 
        top: -8px; 
        width: 256px;
      }
    
      div#main div.right div#stuff {
        margin-top: 16px;
        padding: 0;
        padding: 16px 8px;
        position: relative;
        left: -40px;
        width: 192px;
      }
      
      div#main div.right div#spylog {
        margin-top: 16px;
        padding: 0;
        padding: 16px 8px;
        position: relative;
        left: -40px;
        width: 192px;
      }
      
/* common */

.cleaner {
  clear: both;
  border: none
}

/* DESIGN */

/* common */

body {
  background-color: white;
  color: black;
  font-family: tahoma, verdana, sans-serif;
  font-size: 12px;
  background-image: url('./../images/filler.gif');
  background-position: top center;
  background-repeat: repeat-y
}

body.dark {
  background-color: rgb(183, 193, 208);
}

img {
  border: none;
}

/* blocks */

div#container {
  background-color: white;
}

div.left {
  border-right: 1px #bfbfbf solid
}

div#top {
  border-bottom: 1px #bfbfbf solid;
  background-image: url('./../images/top.jpg');
}

  div#top div.right {
    background-color: white;
    background-image: url('./../images/topright.jpg');
    color: rgb(202, 215, 232);
    font-size: 9px
  }
  
  div#main div.right {
    background-image: url('./../images/right.jpg');
    background-repeat: no-repeat
  }
  
div#footer {
  border-top: 1px #bfbfbf solid;
  padding: 0 8px;
  font-size: 10px;
}

/* forms */
  
form {
  margin: 0
}

  div#content form {
    margin: 8px 0;    
    display: block;
    text-align: center
  }
  
    div#content form div {
      background-color: #efefef  
    }

    div#content form table {
      margin: 0 auto;
      padding-bottom: 8px;
      font-size: 11px;
      width: 99%
    }

      div#content form table td {
        text-align: left;
        vertical-align: top
      }
      
form#tinymce {
  display: none
}

/* tables */

td.emphasize {
  font-weight: bold
}

/* tiny mce editor table td */

td#gettext {
  border: 1px #bfbfbf solid
}

/* text */
  
h1 {
  display: block;
  margin: 2px;
  padding: 1px 2px;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  color: white;
  border-bottom: 2px white solid;
  text-align: left
}


/* заголовок статьи */
h2 {
  display: block;
  padding: 0;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  padding: 4px 30px 4px 15px;
  background-image: url('./../images/header.gif');
  background-repeat: no-repeat;
  text-align: center;
  color: white
}
  
/* заголовок карты */
h3 {
  display: block;
  margin: 0;
  padding: 4px 0;
  font-size: 12px;
  text-align: left;
  border-bottom: 1px #bfbfbf solid;
}
  
h4 {
  display: block;
  margin: 8px;
  padding: 1px 2px;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
}
  
p {
  margin: 8px 0;
  padding: 0;
  text-align: justify
}

.c {
  text-align: center
}
  
/* links */
  
a {
  color: #5f5f5f;
  text-decoration: none
}
  
a:hover {
  color: black;
  text-decoration: underline
}
  
/* controls */

input {
  margin: 0
}

input.text {
  padding: 1px;
  border: 1px #bfbfbf solid;
  font-size: 11px;
  font-family: tahoma, verdana, sans-serif;
}

input.button {
  padding: 1px 8px;
  border: 1px #bfbfbf solid;
  background-color: white;
  font-size: 11px;
}

textarea {
  border: 1px #bfbfbf solid;
  background-color: white;
  font-size: 11px;
  font-family: tahoma, verdana, sans-serif;
}

select {
  border: 1px #bfbfbf solid;
  background-color: white;
  font-size: 11px;
  font-family: tahoma, verdana, sans-serif;
}
  
/* lists */
  
ul {
  margin: 8px;
  padding: 0
}
  
ul li {
  margin-left: 16px
}
  
/* other */
  
hr {
  display: block;
  margin: 8px 0;
  height: 1px;
  overflow: hidden;
  border: none;
  border-bottom: 1px #bfbfbf solid
}
  

/* COMPLEX ELEMENTS */

/* navigation */

/* menu */

ul#menu {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0 
}

  ul#menu li {
    display: block;
    float: left;
    margin: 0 15px 0 0;
    padding: 0
  }
  
  ul#menu li.last {
    margin-right: 0
  }
  
  ul#menu li img {
    border: none;
    width: 80px;
    height: 80px
  }
  
  ul#menu li a {
    padding: 0;
    font-size: 11px;
    color: black
  }

/* searchform */

form#search {
  display: block;
  position: absolute;
  margin: 0;
  padding: 0;
  bottom: -29px;
  left: 0;
  padding: 1px 2px 3px 2px;
  width: 200px;
  height: 24px;
  background-image: url('./../images/search.gif');
  background-repeat: no-repeat;
  text-align: center;
}

  form#search img {
    margin-left: 8px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    top: -2px; /* IE */
    position: relative /* IE */
  }
  
  form#search a {
    color: white;
    font-weight: bold;
  }
  
  /* opera */
  html > body form#search img {
    top: 0
  }
  
/* loginform */

/* news */

/* STUFF */

div#stuff {
  border: 1px #bfbfbf solid;
  background-color: white;
  opacity: 0.7;
}

div#spylog {
  border: 1px #bfbfbf solid;
  background-color: white;
  opacity: 0.7;
  text-align: center
}

  div#stuff img {
    vertical-align: middle;
    width: 32px;
    height: 32px;
    margin-right: 16px
  }
  
/* map */

div#map {
}

  div#map ul {
    display: block;
    background-color: white;
    opacity: 0.7;
    margin: 0;
    padding: 0;
    padding-left: 8px;
    list-style-type: none
  }
  
  div#map ul.mainlist {
    border-left: 1px #bfbfbf solid;
    border-right: 1px #bfbfbf solid;
    border-bottom: 1px #bfbfbf solid;
    margin: 1px 24px 8px 24px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  div#map li {
    display: block;
    padding: 1px 2px 1px 8px;
    margin: 0
  }
  
  div#map li a {
    font-size: 11px;
  }

  div#map li.active {
    border-right: 4px red solid 
  }
  
  div#map li.active a {
    color: black !important;
    font-weight: bold
  }
  
/* tree */

div#tree {
  margin: 8px auto
}

  div#tree p {
    margin: 2px 8px;
  }
  
    div#tree p a {
      font-size: 11px    
    }
    
/* tricks */

p.divisor {
  margin: 8px 0;
  height: 1px;
  overflow: hidden;
  border-bottom: 1px #bfbfbf solid
}

/* HINTS */

span.newsdate {
  font-weight: bold;
  color: rgb(200, 150, 130);
}
  