body {
  background: #000 url(fon.jpg);
  background-attachment: scroll;
  }

li{
  margin-left: 0px;/* Отступ слева */
  list-style-type: none;
}

ol{
  padding: 0; /* Убираем поля */
  text-indent: 20px; /*красная строка*/
  margin-top: 0px; /* Отступ сверху */
  margin-bottom: 0px; /* Отступ снизу */
  counter-reset: list1;
}

ol li:before {
    counter-increment: list1; /* Увеличиваем значение счетчика */
    content: counter(list1) ". "; /* Выводим число */
   }
   ol ol { counter-reset: list2; } /* Инициируем счетчик вложенного списка */
   ol ol li:before {
    counter-increment: list2; /* Увеличиваем значение счетчика вложенного списка */
    content: counter(list1) "." counter(list2) ". "; /* Выводим число */
   }

ul {
  padding: 0; /* Убираем поля */
  text-indent: 20px; /*красная строка*/
  margin-top: 0px; /* Отступ сверху */
  margin-bottom: 0px; /* Отступ снизу */
}

  p {
    text-indent: 20px; /*красная строка*/
    margin-top: 0px; /* Отступ сверху */
    margin-bottom: 0px; /* Отступ снизу */
  }
  A {
      text-decoration: none; /* Отменяем подчеркивание у ссылки */
    color: #800000; /* Цвет обычной ссылки */
   }
   A:visited {
    color: #008080; /* Цвет посещенной ссылки */
   }

table {
  margin: auto;
  border-width: medium;
  border-style: solid;
  border-color: #202080;
}

.table {
  text-align: center;
  margin: auto;
  border-width: medium;
  border-style: solid;
  border-color: #800080
}

   .ulnach{
     font-family: Georgia, "Times New Roman", Times, serif;
     font-size: 18px;
     text-align: center;
   }

.zag {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 30px;
}

.logo1 {
 font-family: Georgia, "Times New Roman", Times, serif;
 font-size: 18px;
 line-height: 1;
 padding: 15px 15px 10px 30px;
 font-weight: bold;
 border-bottom: 1.7px solid #ccc;
 color: #333;
 margin-bottom: 4px;
 text-decoration: none;
 }

  .logo {
   font-family: Georgia, "Times New Roman", Times, serif;
   font-size: 35px;
   line-height: 1;
   padding: 15px 15px 10px 30px;
   font-weight: bold;
   border-bottom: 1.7px solid #ccc;
   color: #333;
   margin-bottom: 4px;
   text-decoration: none;
   font-variant: small-caps;
   }
  .main {
    width: 900px;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
    text-align: justify;
    display: block;
    padding: 40px;/*отступы от краев*/
    font-size: 17px;
    line-height: 1.3;
    }

.title {
  width: 980px;
  height: 70px;
  background-color: #fff;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  display: block;
}

.vopros{
  margin-top: 20px; /* Отступ сверху */
}

.text{
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: 50px;
  /*font-size: 20px;*/
}
#textmain{
  text-align: left;
  width: 800px;
  height: 50px;
  margin-top: -30px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: auto;
  float:center;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 25px;
  display: block;
  padding: 0px 0px 10px 20px;
  font-weight: normal;
  color: #333;
  text-indent: 20px;
}

#zeli{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  text-indent: 20px;
}

.zbut {
  width: 100px;
  height: 40px;
  margin-top: 0px;
  margin-left: 400px;
  margin-right: 0px;
  text-align: center;
  background-color: #ff4;
  font-family: Times, serif; /* Шрифт с засечками */
  font-style: italic; /* Курсивное начертание текста */
  font-size: 18px;
  text-align: center;
  line-height: 1.1;
}

.rbut {
  width: 100px;
  height: 40px;
  margin-top: -40px;
  margin-left: 800px;
  margin-right: 0px;
  text-align: center;
  background-color: #31117254;
  font-family: Times, serif; /* Шрифт с засечками */
  font-style: italic; /* Курсивное начертание текста */
  font-size: 18px;
  text-align: center;
}
.lbut {
  width: 100px;
  height: 40px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  text-align: center;
  float: left;
  background-color: #31117254;
  font-family: Times, serif; /* Шрифт с засечками */
  font-style: italic; /* Курсивное начертание текста */
  font-size: 18px;
  text-align: center;
}

#testbut {
  width: 150px;
  height: 40px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  text-align: center;
  float: right;
  background-color: #0820;
  font-family: Times, serif; /* Шрифт с засечками */
  font-style: italic; /* Курсивное начертание текста */
  font-size: 18px;
  text-align: center;
}
   .shfoto {
     width: auto;
     height: auto;
     margin-top: 50px;
     margin: 0px 10px 2px 5px;
     text-align: center;
}

.rightimg  {
    float: right; /* Выравнивание по правому краю  */
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
    display: block;
   }

  .web {
    text-align: center;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 28px;
    display: block;
    padding: 15px 0px 10px 19px;
    font-weight: normal;
    color: #333;
  }

.buttons
{
  width: 900px;
  height: 40px;
  /*margin-left: auto;
  margin-right: auto;*/
  position: relative;
  text-align: justify;
  background-color: white;
  display: block;
}
#test{
  text-align: center;
  width: 650px;
  height: 400px;
  margin-top: 25px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  float:center;
  border-style: double;
  border-width: 5px;
  border-color: #D1DBDE;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  display: block;
  padding: 15px 0px 10px 20px;
  font-weight: normal;
  color: #333;
}
#testresult {
  width: 150px;
  height: 40px;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  float: center;
  background-color: #ff4;
  font-family: Times, serif; /* Шрифт с засечками */
  font-style: italic; /* Курсивное начертание текста */
  font-size: 18px;
  text-align: center;
  border-style: double;
  border-width: 5px;
  border-color: #D1DBDE;
}
