html {    height:100%;width:100%; }

body{
    background: #1a1a27 url('/images/bg.png') 50% 50% repeat-x scroll;
    font:normal 12px Tahoma, Helvetica, sans-serif;
    margin:0px;
    padding:0px;
    height:100%;
    min-height: 450px;
}

img, button{ border:0px; outline:none; }
input, select {    outline:none; }
.clearing{ clear:both; height:0px; font-size:0px; }

a:link, a:focus, a:visited {color:#86d8e8;text-decoration: underline;outline:none; }
a:hover, a:active {color:#86d8e8;text-decoration:none;}

p, h1, h2, h3, h4, h5, h6, fieldset, form, input, textarea {
    margin:0px;
    padding:0px;
}

p { line-height:18px; }

input.text {
    border: 2px solid #333746;
    color:#333;
    font-size:13px;
    font-weight:bold;
    height: 27px;
    margin: 0px 0px 0 0;
    width: 185px;
    padding: 3px 3px 3px 3px;
    background: #FFF url('/images/input_text_bg.gif') repeat-x;
}

input.text:focus {
    border: 2px solid #9acdd7;
    -webkit-box-shadow: 0px 0px 15px rgba(154,205,215,0.55);
    -moz-box-shadow: 0px 0px 15px rgba(154,205,215,0.55);
    box-shadow: 0px 0px 15px rgba(154,205,215,0.55);
    background-position: 0 -30px;
}

.main {
    width: 100%; height: 100%;
}
.container {
    /*border: 1px solid #00F;*/
    top: 50%;
    left: 50%;
    width: 600px;
    height: 400px;
    position: absolute;
    margin-top: -200px;
    margin-left: -300px;
    color:#FFF;
}
.inner {
    /*border: 1px solid #86d8e8;*/
}

.footer {position: absolute; bottom: 3%; left:2%;color:#FFF;}
.footer div {float: left; margin-right: 10px;}

.product_logo {  width: 600px;  height: 200px;}
.product_type {
    width: 420px;
    font:normal 32px Tahoma, Helvetica, sans-serif;
    margin: -75px 0 50px 180px;
    color: #E9E9E9;
    text-shadow: 0px 2px 8px rgba(0,0,0,0.3);
}

.form_block_site {margin: 0 auto;}
.form_block {left: 50%; margin-left:-245px; width:490px; position: relative;}

.form_title {margin: 10px 0;}
.title_name {float: left; width: 200px; margin: 0 10px 0 0}
.title_pass {float: left; width: 200px; margin: 0 10px 0 0}


.form_fields {margin: 10px 0;}
.field_name {float: left; width: 200px; margin: 0 10px 0 0}
.field_pass {float: left; width: 200px; margin: 0 10px 0 0}
.field_site {float: left; width: 100px; margin: 0 10px 0 0}
.field_site select {
    width: 100px;height:27px;
    border: 2px solid #333746;
    padding: 2px;
    line-height:19px;
    background: #FFF url('/images/input_text_bg.gif') repeat-x;
}

.form_options {margin: 10px 0;}
.keeploggedin {float: left; width: 200px;font-size: 11px;margin: 0 10px 0 0}
.keeploggedin input {
    float: left;
}
.keeploggedin label {float: left;
   padding: 0 0 0 5px;}

.iforgot {float: left; width: 200px;font-size: 11px;}


a.but_login {
    float: left;
    display:block;
    width:66px;
    height:24px;
    background: url('/images/login_but.png') no-repeat 0 0;
    font-size:11px;
    padding:5px 0px 0px 0px;
    color:#FFF;
    text-decoration:none;
    text-align:center;
    margin:0;
    font-weight:normal;
}
a.but_login:hover {
    background-position: 0 -29px;
    text-decoration:underline;
}

@media only screen and (max-width: 640px) {
    .product_logo {  width: 100%; height: 100%;}
    .product_logo img {  width: 100%;}

    .container {
        top: 0%;
        left: 0%;
        width: 100%;
        position: relative;
        margin-top: 0px;
        margin-left: 0px;
    }
    input.text {
        width:100%
    }

    .product_type {
        width: 80%;
        font:normal 24px Tahoma, Helvetica, sans-serif;
        margin: -20px 10px 0;
    }

    .footer {bottom: 1%;}
    .footer div {float: none; margin-right: 10px;}

    .form_block {width:100%;margin: 0 10px;}
    .form_block_site {margin: 0 10px;}

    .title_site {float: none; width: 90%; margin: 0; position: absolute; top:150px;}
    .title_name {float: none; width: 90%; margin: 0; position: absolute; top:200px;}
    .title_pass {float: none; width: 90%; margin: 0; position: absolute; top:250px;}

    .field_site {float: none; width: 90%; margin: 0; position: absolute; top:170px;}
    .field_name {float: none; width: 90%; margin: 0; position: absolute; top:220px;}
    .field_pass {float: none; width: 90%; margin: 0; position: absolute; top:270px;}

    .field_site select { width: 100px; }

    .keeploggedin {float: none; width: 90%;margin: 0;position: absolute; top:305px;}
    a.but_login {float: none; margin:0; position: absolute; top:325px;}
    .iforgot {float: none; width: 100px;position: absolute; top:330px;left:100px;}
}
