html, body, table, fieldset{
    margin: 0px;
    padding: 0px; 
    position: relative; 
    line-height: 1.2em;
    font-family: Verdana;
    font-size: 14px;
	height:100%; /* Задаём 100% высоту для html и body */ 
}

a {
    text-decoration: underline;
    color: #000000;
}
label {
    padding-right: 1em;
    position: relative;
    text-align: right;
    font-weight: bold;
    top: 0.1em;
    width: 12em;
}
label .left{
    text-align: left;
}
select {
    border: 1px solid #444444;
    padding: .1em .2em;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    background-color: #F7F7F7;
}
option:disabled {
    padding: .1em .2em;
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
	text-align: center;
    color: inherit;
    background-color: #F7F7F7;
}
input .free{
    border: 1px solid #444444;
    padding: .1em .2em;
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    background-color: #F7F7F7;
}
th{
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    background-color: #F7F7F7;
}
a:hover {
    text-decoration: none;
}
#all {
    font-family: Verdana;
    font-size: 14px;
    z-index: 1;
    min-width: 1000px;
	min-height:94%; /* Задаем минимальную высоту 100% */
	_height:100%; /* Задаем высоту 100% в ИЕ6 с помощью хака */ 
    width: auto;
}
.memo {
    font-weight: normal;
	font-style: italic;
	font-size: 10px;
}
.memo_red {
    font-weight: normal;
	font-style: italic;
	color: red;
	font-size: 10px;
}
.logo {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
}
.logo img {
    left: 30px;
    position: absolute;
    top: 20px;
    z-index: 15;
}
.glass {
    background-image: url("img/glass.png");
    height: 423px;
    left: 0;
    top: 0;
    width: 369px;
    z-index: 20;
}
.topad {
    left: 0;
    top: 0;
    margin-left: 100px;
    height: 220px;
    padding-top: 10px;
    position: relative;
}
.result {
    font-family: Verdana;
    font-size: 12px;
}

.textleft {
    text-align: left; 
    position: relative; 
    left: 0px;
}
.textright {
    text-align: right; 
    position: relative; 
    left: 0px;
}
.textcenter {
    text-align: center; 
    position: relative; 
    left: 0px;
}

#container {
    position: relative; 
    display: block; 
    border-left: solid 250px transparent;
    border-right: solid 160px transparent;
    z-index: 30;
}
#inner {
    display: block;
    position: relative;
    margin-left: -250px;
    margin-right: -160px;
    padding: 0;
}

#left {
    float: left; 
    position: relative; 
    width: 230px;
    left: 0px;
}
.mainmenu {
    margin-top: 170px;
    z-index: 40;
    position: relative;
}

.mainmenu ul {
    padding: 0px;
	list-style: none;
}
.mainmenu ul li {
    text-align: right;
}
.mainmenu ul li a {
    display: block;
    font-size: .857em;
    padding: 3px 0;
    font-weight: bold;
    color: #888888;
    text-decoration: none;
}
.mainmenu ul li a:hover {
    color: #000000;
    text-decoration: none;
}
.flags {
    text-align: right;
    padding: 5px 10px;
}
.flags a {
    text-decoration: none;
}
.flags span {
    padding-left: 3px;
}
.leftad {
    padding: 5px 5px 5px 10px;
    text-align: right;
}
.rightad {
    padding-top: 10px;
    text-align: left;
}
#right {
    float: right; 
    position: relative; 
    width: 160px;
    right: 0px;
    z-index: 50;
}
#center {
    margin-left: 250px;
    margin-right: 160px;
    position: relative; 
    display: block;
    height: 1%;
    z-index: 50;
}

.content {
    padding: 0px;
    position: relative;
    top: 0px;
}
.foot {
    display: block;
    padding: 1px;
    z-index: 50;
	position:relative; 

}
.footer {
    text-align: center;
    padding: 5px 0;
    color: #BBBBBB;
    font-weight: bold;
    font-size: .8em;
    border-top: 3px solid #BBBBBB;
	height:31px; /* высота футера */
	margin-top:-31px; /* отрицательный маргин, равный высоте футера */

}
.footer .pic {
    padding-right: 5px;
    vertical-align: middle;
}

.clearfix {
    clear:both;
}

/******************************************************************************/
/******************************************************************************/

h2 {
    font-size: 1.4em;
    padding-top: .5em;
    padding-bottom: .8em;
    margin-bottom: .8em;
    padding-left: 0px;
    margin-left: 0px;
    background-image: url('img/sat_r.png');
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
	color:#666666;
}

h1 {
    font-size: 1.4em;
    padding-top: .5em;
    padding-bottom: .8em;
    margin-bottom: .8em;
    padding-left: 0px;
    margin-left: 0px;
    background-image: url('img/sat_r.png');
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
	color:#666666;
}

form {
    font-size: 1em;
    font-weight: bold;
    color: #666666;
    position: relative;
    padding-bottom: 2em;
    height: auto;
}

form h2 {
    font-size: 1.4em;
    padding-top: .5em;
    padding-bottom: .8em;
    margin-bottom: .8em;
    padding-left: 60px;
    margin-left: 20px;
    background-image: url('img/sat_r.png');
    background-position: left center;
    background-repeat: no-repeat;
    text-align: left;
}

form .formfield {
    width: 600px;
    min-height: 120px;
    max-height: 300px;
    height: auto;
}
form .formfield .left {
    float: left;
}
form .formfield .right {
    float: right;
}
form .formfield .right button {
    padding: 0;
    margin: 0;
    border: none;
}
form .confirm {
    display: block;
    border: none;
    background-color: transparent;
}
form .form_item {
    text-align: left;
    position: relative;
    padding: .3em 0;
    display: block;
}
form .form_item label {
    display: inline-block;
    padding-right: 1em;
    position: relative;
    text-align: right;
    top: 0.1em;
    width: 12em;
}
form .form_item input{
    border: 1px solid #444444;
    padding: .1em .2em;
    width: 272px;
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    background-color: #F7F7F7;
}
input .captcha{
    border: 1px solid #444444;
    padding: .1em .2em;
    width: 100px;
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
    color: inherit;
    background-color: #F7F7F7;
}

form .form_item select {
    border: 1px solid #444444;
    padding: .1em .2em;
    width: 280px;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    background-color: #F7F7F7;
}
form .form_item option:disabled {
    padding: .1em .2em;
    width: 280px;
    font-size: inherit;
    font-family: inherit;
    font-weight: bold;
	text-align: center;
    color: red;
}

#recaptcha_widget_div {
    display: inline-block;
}
.infospan {
    font-size: 1em;
    display: block;
    margin-bottom: 3em;
    margin-top: 3em;
}
.infospan .heads {
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}
.infospan .heads .button {
    display: inline-block;
    margin: 0 .3em;
}
.infospan .info .text {
    margin-top: .5em;
    border: 1px solid #888888;
    padding: 1em;
}

.slogan {
    font-size: 1.1em;
    padding-top: 1em;
    margin-left: 2em;
}
.slogan h2 {
    font-size: 1.2em;
    color: #cc0033;
    text-align: left;
    margin-bottom: .5em;
}
.slogan ul li {
    margin-bottom: .5em;
    font-weight: bold;
}

.filler{
	padding-bottom:31px; /* Задаём нижний отступ, равный высоте футера, можно задать и больше, 
                                    но главное, чтобы не было меньше, иначе футер налезет на контент*/    
}
.err {
    color: red;
    font-size: 1.2em;
    padding: .2em;
}
.warning {
    padding-top: .5em;
    padding-bottom: .8em;
    margin-bottom: .8em;
    padding-left: 50px;
    margin-left: 50px;
    background-image: url('pics/icon/exclamation32.png');
    background-position: left;
    background-repeat: no-repeat;
    text-align: left;
	font-weight:bold;
}
.postlink {
    padding-top: .5em;
    padding-bottom: .8em;
    margin-bottom: .8em;
    padding-left: 50px;
    margin-left: 50px;
    background-image: url('pics/icon/link.png');
    background-position: left;
    background-repeat: no-repeat;
    text-align: left;
	font-weight:bold;
}

.note {
	background-color: #F7F7F7;
	font-style: italic;
	border-radius:6px; 
	-moz-border-radius:5px; 
	-khtml-border-radius:10px;
}
.overlay {
 display: none;
 content: " ";
 height: 100%;
 width: 100%;
 position: fixed;
 left: 0;
 top: 0;
 z-index: 2000;
 background: black;
 background: rgba(0, 0, 0, 0.7);
}

.overlay-modal-window {
 width: 90%;
 height: 90%;
 padding-top: 25px;
 position: fixed;
 left: 5%;
 top: 5%;
 z-index: 2001;
 background: white;
}
.overlay-close {
 position: fixed;
 left: 95%;
 margin-left: -20px;
 top: 5%;
 z-index: 2001;
 cursor: pointer;
 font-size: 21px;
 font-weight: 700;
 font-family: inherit;
}