/* 01 - Стили для основных тэгов */

body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 10pt;
}

body {
  background-color: #ebf0f3;
  background-image: url('images/body_bg.png');
  background-repeat: repeat-x;
  background-position: top left;
}

h1 {
  font-size: 18pt;
  font-weight: normal;
  color: #6d2451;
}

h1#RCSME {
  float: right;
  margin: 0;
  padding: 0;
}

h2 {
  margin: 20px 0 10px 0;
  font-size: 14pt;
  font-weight: normal;
  color: #6d2451;
}

    h2 a {
      text-decoration: none;
      color: #6d2451;
    }

    h2 a:hover {
      text-decoration: underline;
      color: #6d2451;
    }

h3 {
  margin: 20px 0 10px 0;
  font-size: 12pt;
  font-weight: bold;
  color: #6d2451;
}

h4 {
  margin: 10px 0 10px 0;
  font-size: 12pt;
  font-weight: normal;
  color: #6d2451;
}

ul, ol {
  margin: 0 0 0 30px;
  padding: 0;
  line-height: 1.4;
}

ul li, ol li {
  margin-bottom: 10px;
}

ul li ul li, ol li ol li {
  margin: 10px 0 0 0;
}

a {
  color: #407da1;
}

a:hover {
  color: #d54db1;
}

span.italic {font-style: italic;}

p.attached_textBlock {
  margin: 1.5em 0 1.5em -30px;
}

span.black_border {border: 1px solid black;}

/* 02 - Стили для самых больших блоков */

#main_container {
  float: left;
  width: 100%;
  text-align: center;
  background-image: url('images/mainContainer_bg.png');
  background-repeat: repeat-x;
  background-position: bottom left;
}

#page_container {
  min-width: 960px;
  max-width: 1400px;
  width: expression((document.documentElement.clientWidth || document.body.clientWidth) < 960 ? '960px' : (document.documentElement.clientWidth || document.body.clientWidth) > 1400 ? '1400px' : '100%' );
  margin: 0 auto;
  padding: 0;
  text-align: left;
}


/* 03 - Шапка */

#hat {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
}

    #logotype {
      position: absolute;
      top: 20px;
      left: 10px;
      width: 22.82%;
      height: 81px;
      background-repeat: no-repeat;
      background-position: top left;
    }

    #hat_text {
      position: absolute;
      top: 14px;
      left: 12%;
      left: expression(navigator.appName=="Microsoft Internet Explorer" ? '12.1%' : '14.5%');
      width: 65.9%; 
    }

        #actual_date {
          float: right;
          clear: right;
          width: 100%;
          margin-top: 20px;
          font-size: 10pt;
          color: #7b7b7b;
        }


    #search {
      position: absolute;
      top: 0;
      right: 0;
      width: 21.92%;
      margin: 20px 1.04% 0 2.08%;
    }

        #hat_links {
          float: right;
          margin: 25px 0 0 10px;
        }

            #hat_links div {
              float: left;
              width: 34px;
              height: 32px;
              margin-right: 10px;
              background-image: url('images/white_circle.png');
              background-repeat: no-repeat;
              background-position: top left;
            }

                #hat_links div img {
                  margin: 8px 0 0 7px;
                }

                #hat_links div img.sitemap {
                  margin: 8px 0 0 8px;
                }


        #seach_field {
          float: right;
          clear: right;
          margin: 10px 0 0 10px;
        }

            #seach_field input {
              width: 195px;
              height: 25px;
              padding: 3px 0 0 2px;
              color: #7b7b7b;
            }


/* 04 - Основное меню */

#main_menu {
  width: 100%;
  height: 51px;
  float: left;
  font-weight: bold;
  background-image: url('images/mainMenu_bg.png');
  background-repeat: repeat-x;
  background-position: top left;
}

    #main_menu #leftSide {
      float: left;
      width: 10px;
      height: 51px;
      background-image: url('images/mainMenu_bgLeft.png');
      background-repeat: no-repeat;
      background-position: top left;
    }

    #main_menu ul {
      float: left;
      width: 95%;
      margin: 0;
      padding: 0;
      list-style-type: none;
    }

        #main_menu ul li {
          float: left;
          text-align: center;
        }

        #mainMenu_element1 {width: 10%; margin-top: 13px;}
        #mainMenu_element2 {width: 20%; margin-top: 13px;}
        #mainMenu_element3 {width: 12%; margin-top: 13px;}
        #mainMenu_element4 {width: 13%; margin-top: 13px;}
        #mainMenu_element5 {width: 13%; margin-top: 13px;}
        #mainMenu_element6 {width: 21%; margin-top: 13px;}
        #mainMenu_element7 {width: 8%; margin-top: 13px;}

        #mainMenu_eng_element1 {width: 16%; margin-top: 13px;}
        #mainMenu_eng_element2 {width: 16%; margin-top: 13px;}
        #mainMenu_eng_element3 {width: 17%; margin-top: 13px;}
        #mainMenu_eng_element4 {width: 16%; margin-top: 13px;}
        #mainMenu_eng_element5 {width: 17%; margin-top: 13px;}
        #mainMenu_eng_element6 {width: 16%; margin-top: 13px;}

            #main_menu ul li div.separator {
              float: left;
              position: relative;
              width: 2px;
              height: 51px;
              background-image: url('images/mainMenu_separator.png');
              background-repeat: no-repeat;
              background-position: top left;
            }

            #main_menu ul li a {
              color: #063753;
              text-decoration: none;
            }

            #main_menu ul li a:hover {
              color: #407da1;
              text-decoration: underline;
            }

    #main_menu #rightSide {
      float: right;
      width: 10px;
      height: 51px;
      background-image: url('images/mainMenu_bgRight.png');
      background-repeat: no-repeat;
      background-position: top right;
    }

/* 12 - Подвал сайта */

#footer {
	float: left;
	clear: both;
	width: 100%;
	height: 157px;
	margin: 0;
        padding: 0;
	color: #313131;
}

    #footer a {
      color: #063753;
    }

    #footer a:hover {
      color: #407da1;
    }

    #copyright{
    	float: left;
    	width: 25%;
    	margin: 30px 0 0 1.04%;
        text-align: left;
    }

    #contacts {
    	float: left;
    	width: 31.25%;
        margin: 30px 0 0 6.25%;
    	text-align: left;
    }

    #autorized_entry {
      float: right;
      width: 16.67%;
      margin: 30px 0 0 0;
      text-align: left;
    }
