/*------------  DEFAULTS  ---- ОБЩИЕ НАСТРОЙКИ -----------*/
*{
    margin: 0px;
    padding: 0px;
}

img{                   /* убираю рамки картинок */
    border: 0px;
}

img.png {
    behavior: url("pngbehavior.htc");
}

a{
    text-decoration: none;
}

body{
    background: #ffffff;
    text-align: center;
    width: 100%;
    font-family: arial, verdana, sans-serif;
    font-size: 12px;
}

ul{                       /* убираем маркеры в списках */
    list-style: none;
}

div#wrap{
       min-width: 1000px;
       position: relative;
       z-index: 1;
       overflow: hidden;

}

/*------------------------------  HEADER  -----------------------------*/

div#header{
     width: 100%;
     height: 122px;

}

div#header div.top_right_links{                   /* верхняя строка со ссылками справа  */
      width: 100%;
      height: 15px;
      text-align: right;
      font-family: arial, sans-serif;
      font-size: 13px;
      margin-top: 3px;
      color: #797979;
}


div#header div.top_right_links a.gray{            /* серая ссылка "Настроить маркет" */
      color: #797979;
      text-decoration: underline;
}

div#header div.top_right_links a.black{            /* черная ссылка с адресом */
      color: #000000;
      text-decoration: underline;
}

div#header div.top_right_links a.blue{             /* синяя ссылка "Выйти" */
      color: #2e71d7;
      text-decoration: underline;
}

                                              /*---------- MAIN_LOGO ------------*/
img#header_main_logo{                     /* главный логотип в хедере */
      width: 94px;
      height: 41px;
      position: absolute;
      top: 10px;
      left: 19px;

}                                             /*--------  TOP_STRING ----------*/

div#header div.top_string{
      width: 545px;
      position: absolute;
      left: 156px;
      top: 27px;
      text-align: center;

}

div#header div.top_string div.market{        /* ссылка на МАРКЕТ */
      width: 87px;
      height: 100%;
      margin: auto;
      float: left;
      text-align: left;
}

div#header div.top_string div.market a{
      display: block;
      margin-top: -3px;
      font-family: tahoma, sans-serif;
      font-size: 20px;
      text-decoration: underline;
      color: #db0000;
}

div#header div.top_string div.new_messages{      /* новые сообщения */
      width: 158px;
      height: 100%;
      margin: auto;
      float: left;
      text-align: left;
	  
}

div#header div.top_string div.new_messages img{            /* иконка "Новые сообщения" */
      width: 13px;
      height: 9px;
      vertical-align: -10%;
}

div#header div.top_string div.new_messages p{            /* стиль абзаца для ссылки */
      margin-top: 4px;
}

div#header div.top_string div.new_messages a{         /* стиль самой ссылки */
      margin-top: 12px;
      font-family: tahoma, sans-serif;
      font-size: 11px;
      color: #db0000;
      text-decoration: underline;
}

div#header div.top_string div.time_and_date{         /* время и дата */
      width: 200px;
      height: 100%;
      margin: auto;
      float: right;
      text-align: right;
}

div#header div.top_string div.time_and_date p{
      font-family: arial, sans-serif;
      color: #3f3f3f;
      font-size: 11px;
      margin-top: 4px;
}

div#header div.top_string div.time_and_date p span{
      font-size: 13px;
}

                                     /*----------- TITLE ---------------*/
div#header div.title{
      width: 590px;
      position: absolute;
      top: 81px;
      left: 155px;

       text-align: left;
       font-family: arial, sans-serif;
       font-size: 24px;
       color: #000000;
}

div.gray_line{
       width: 470px;
       height: 1px;
       border-top: #e5e5e5 solid 1px;
       position: absolute;
       left: 156px;
}

/*-------------------  MAIN -------------------------------------*/

div#main{
      width: 100%;
      height: 600px;
      overflow: hidden;
      margin-left: 156px;
}

/*--------------------- PART1 ------------------------*/

div#part1{
      width: 22%;

      position: absolute;
      top: 180px;
      left: 156px;
      z-index: 1;

      font-family: arial, sans-serif;
      font-size: 13px;
      color: #000000;

      text-align: left;
}

div#part1 p{
      margin-bottom: 10px;
}

/*--------------------- PART2 ------------------------*/

div#part2{
      width: 17%;

      position: absolute;
      top: 180px;
      left: 40.5%;
      z-index: 1;

      font-family: arial, sans-serif;
      font-size: 13px;
      color: #000000;

      text-align: left;
}

div#part2 p{
      margin-bottom: 10px;
}

/*--------------------- PART3 ------------------------*/

div#part3{
      width: 22%;

      position: absolute;
      top: 180px;
      left: 62.3%;
      z-index: 1;

      font-family: arial, sans-serif;
      font-size: 13px;
      color: #000000;

      text-align: left;
}

div#part3 p{
      margin-bottom: 10px;
}

/*--------------------- PART4 ------------------------*/

div#part4{
      width: 22%;

      position: absolute;
      top: 377px;
      left: 156px;
      z-index: 1;

      font-family: arial, sans-serif;
      font-size: 13px;
      color: #000000;

      text-align: left;
}

div#part4 p{
      margin-bottom: 10px;
}

div#part4 p a{
      color: #002f97;
      text-decoration: underline;
}



/*--------------------- PART5 ------------------------*/

div#part5{
      width: 22%;

      position: absolute;
      top: 377px;
      left: 47%;
      z-index: 1;

      font-family: arial, sans-serif;
      font-size: 13px;
      color: #000000;

      text-align: left;
}

div#part5 p{
      margin-bottom: 10px;
}

/*-------------------- SUBMIT --------------------------*/

div#submit{
     width: 505px;
     height: 56px;
     text-align: left;

     position: absolute;
     top: 509px;
     left: 53px;

     background: url(../img/submit_bg.gif) no-repeat;
}

div#submit input{
     margin: 17px 0px 0px 95px;
}


/*------------------ SINGLE LINK -------------------------*/

div#single_link{
     width: 233px;

     position: absolute;
     top: 509px;
     left: 61%;

     font-family: arial, sans-serif;
      font-size: 13px;
      color: #000000;
}

div#single_link a{
      color: #002f97;
      text-decoration: underline;
}

div.message {
	float:left;
	background-color:#EEECE1;
	height:20px;
	text-align:left;
	padding:10px 0 10px 20px;
	color:black;
	width:400px;
	border:2px solid #D2CAB8;

}


div.auth {
	background-color:#DCDCCC;
	width:217px;
	height:165;
	padding:10px;
	line-height:14px;
}

div.auth a {
	color:#002F97;
	text-decoration:underline;
	font:11px Tahoma;
}

div.auth input[type="text"],  div.auth input[type="password"] {
	font:18px Arial;
	width:215px;
}