fieldset {
    border:2px solid #c8e9fd;
    padding:0 35px 35px 35px;
    position:relative;
}
.legend, 
.legend2 {
    background:#fff;
    color:#80cefd;
    font-size:1.8em;
    padding:0 5px;
    position:absolute;
    top:-12px;
    left:35px;
    z-index:1;
}
html:root .legend {
    left:0;
}
label {
    color:#33a2e8;
    font-size:1.4em;
    font-weight:bold;
    display:block;
    margin:0 0 2px 0;
    padding:0;
    position:relative;
}
label small {
    color:#999;
    font:11px Arial;
    position:absolute;
    right:7%;
    bottom:0;
}
div select, div textarea {
    border:1px solid #a7a6aa;
    padding:3px;
}
div.big-input input[type='text'],
div.big-input input[type='password'],
div.medium-input input[type='text'],
div.medium-input input[type='password'],
div.micro-input input[type='text'],
div.micro-input input[type='password'],
div.comm-check input[type='text'],
div.block-check input[type='text'] {
    border:1px solid #a7a6aa;
    font-size:1.4em;
    padding:3px;
}
div.medium-select {
    font-size:1.2em;
}
div.medium-select label {
    font-size:120%;
}
div.medium-select .comm_text {
    font-size:.9em;
}
span.btn {
    border:6px solid #cfc;
    border-top-width:4px;
    border-bottom-width:4px;
    float:left;
}
span.btn input,
span.btn button {
    padding:3px 5px;
    font-size:1.3em;
}
.btn_bord {
    float:right;
    margin-top:10px;
}
div.btn_bord span.btn {
    border-color:#f8efff;
}
div.btn_bord span.btn input,
div.btn_bord span.btn button {
    width:170px;
}
fieldset div {
    float:left;
    margin-top:17px;
}
div.big-input {width:100%;}
div.medium-input {width:50%;}
div.medium-select {width:50%;}
div.medium-file {width:50%;}
div.big-file {width:100%;}
div.medium-textarea {width:50%;}
div.medium_plus-textarea {width:70%;}
div.textarea {width:100%;}
div.micro-input {width:40%;}
div.comm-check {width:100%; margin-top:3px;}
div.block-check {width:50%;}


div.big-input input {width:95%;}
div.medium-input input {width:90%;}
div.medium-input-upd input {float:left; margin-right:8px;}
div.medium-select select {width:92%; font:1.2em Arial;}
div.medium-textarea textarea {width:92%; height:100px; overflow:auto}
div.medium_plus-textarea textarea {width:95%; height:100px; overflow:auto}
div.textarea textarea {width:98%; height:100px; overflow:auto}
div.medium-file input {width:90%; *padding:3px}
div.big-file input {width:90%; *padding:3px;}
div.micro-input input {width:15%;}
div.comm-check input {float:left; margin:2px 5px 0 0; padding:0; width:14px; height:14px;}
div.block-check input {float:left; margin:2px 5px 0 0; padding:0; width:15px; height:15px; border:0; clear:left}

div.comm-check label {float:left; width:90%; font-size:1.2em; font-weight:normal; color:#999; margin-top:2px; font:1.1em Arial;}
div.block-check label {float:left; width:90%; color:#999; font-size:1.4em; font-weight:normal;}
div.login_check label {float:left;}
div.login_check input {float:left; margin:0 5px 0 0; padding:0; width:15px; height:15px;}

input[type='file'] {*padding:2px 0}
/*
label.comm_check {display:block; margin-top:3px}
label.comm_check input {float:left; margin:0 5px 0 0; padding:0; width:14px; height:14px;
border:0}
*/ 
.comm_text {
    color:#999;
    font:1.1em Arial;
    float:none;
    margin:2px 7px 0 0;
}
.comm b {
    color:#666;
    font-weight:normal;
}
.star {
    border-left:2px solid #f39;
    padding-left:3px;
    position:relative;
    left:-5px;
    float:left;
}
.stars span {
    padding:0 0 0 2px;
    margin:0;
    font-size:12px;
}
.stars span.t2 {
    margin-left:-6px;
    padding:0;
}
.wrap_agreement .agreement {
    border:1px solid #a7a6aa; 
    height:200px; 
    float:none;
    overflow:auto; 
    margin:34px 0 10px;
    padding:3px; 
}
.wrap_agreement .comm-check label {
    color:#33A2E8; 
    font:bold 14px 'Times New Roman'; 
    margin:0; 
    line-height:1;
}
a.help {
    background:url(/i/help.gif) no-repeat 0 4px;
    color:#39c;
    font-size:1.4em;
    padding-left:18px;
    display:block;
}
.kod {
    margin:10px 0 0 30px;
}
.top0 {
    margin-top:0;
}
.top_corners {
    background:url(/i/tr.gif) no-repeat 100% 0;
    position:relative;
    top:11px;
    z-index:1;
}
.bttm_corners,
.bttm_corners2 {
    position:relative;
    top:-11px;
}
.bttm_corners {
    background:url(/i/br.gif) no-repeat 100% 0;
}
.bttm_corners2 {
    background:url(/i/br2.gif) no-repeat 100% 0;
}

.inlineBlVertBttm {
    display:inline-block;
    float:none;
    position:relative;
    *display:inline;
    *zoom:1;
}