none {
   /*behavior: url(png.htc);*/
   behavior: url(iepngfix.htc);
}
html {
  height:100%;
}

body {
  margin: 0;
  background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-color: #fafafa;
  font-family: verdana;
  font-size: 10px;
  position: relative;
  height:100%;
  text-align: center;
  /*text-align: right;
  padding-right: 10%;*/
}
.verticalCeneterer {
  display:inline-block;
  display:inline;
  zoom:1;
  height:100%;
  width:1px;
  vertical-align:middle;
}

#loginFrame {
  display:inline-block;
  *display:inline;
  zoom:1;
  vertical-align:baseline;

  width: 279px;
  position: relative;
  text-align: center;
  color: #878787;
  font-size: 11px;

  margin:auto;
  margin-top: 16em;
  background:white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #888888;
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -webkit-box-sizing: content-box
}

#loginFrame a {
  text-decoration: none;
  font-weight: bold;
  color: #878787;
}
#logo {
  /*background:url("../img/extradoc_logo.png") no-repeat scroll center 0 transparent;*/
  /*height: 45px;*/
  text-align: center;
  width: 279px;
  margin-bottom:10px;
}

#loginDescription {
  position: absolute;
  width: 280px;
  top: 140px;
  text-align:center;
  font-weight: bold;
}

#loginBody {
    /*background: url("../img/login_frame.png") no-repeat scroll 0 0 transparent;*/
    /*height: 175px;*/
    /*width: 279px;*/
}
#loginButton {
  width: 279px;
  height: 62px;
  margin-bottom: 5px;
  cursor: pointer;
}
#loginButtonCaption {
  position: absolute;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  top: 295px;
  width: 279px;
  cursor: pointer;
}
#loginForm {
    background: url("../img/login_frame.png") no-repeat scroll 0 0 transparent;
    padding-bottom: 15px;
    padding-top: 15px;
}
#modalLayer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  visibility: hidden;
  background: black;
}
.description {
  text-align: right;
}
.input {
  border: 1px solid #666666;
}

#_submit {
  background: url(../img/login_button.png);
  background-size: 100%;
  border: medium none;
  color: white;
  font-size: 21px;
  font-weight: bold;
  height: 61px;
  width: 286px;
  cursor: pointer;
  padding: 0px;
  margin: -3px;
}

.copyright {
  padding: 5px;
}

.loginFormInfo {
    padding: 0 10px;
    text-align: center;
    word-wrap: break-word;
}

#error {
    color: red;
}

#loggedInfo {
}

.formWrepper {
  margin: 10px auto;
}

#loggedInfo #loggedUsername {
  color: green;
}

#loggedInfo a {
  color: #0000EE;
  font-weight:normal;
}

#formFrame {
  display:block;
  *display:block;
  zoom:1;
  vertical-align:baseline;

  width: 559px;
  position: relative;
  text-align: center;
  color: #878787;
  font-size: 11px;
  height: 370px;

  margin:auto;
  margin-top: 5em;
  background:white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #888888;
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -webkit-box-sizing: content-box;

  visibility: hidden;
}

#formFrame p {
  padding-top: 10px;
}

#formFrame input {
  width: 380px;
  border: 1px solid #666666;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

#formFrame textarea {
  width: 380px;
  display: block;
  margin-right: 0;
  margin-left: auto;
  border: 1px solid #666666;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

#formFrame #_submit {
  background: url(../img/form_button.png);
  background-size: 100%;
  border: medium none;
  color: white;
  font-size: 21px;
  font-weight: bold;
  height: 61px;
  width: 573px;
  cursor: pointer;
  padding: 0px;
  margin: -3px;
  position: absolute;
  bottom: -2px;
  left: -4px;
}

#formFrame div.labelInput {
  width: 90%;
  margin: 5px auto;
  clear: both;
}

#formFrame div.labelInput.small {
  width: 45%;
  margin: 5px auto;
  float: left;
  clear: none;
}

#formFrame div.labelInput.small.right {
  width: 45%;
  margin: 5px auto;
  float: right;
  clear: none;
}

#formFrame div.labelInput.small input {
  width: 103px;
}

#formFrame div.labelInput label {
  display: block;
  float: left;
  margin-top: 3px;
}

#formFrame div.labelInput input {
  display: block;
  margin-right: 0;
  margin-left: auto;
}

#formFrame div.labelInput textarea {
  display: block;
  margin-right: 0;
  margin-left: auto;
}

#formFrame[name=email] {
  margin-left: 122px;
  width: 103px;
}

#formFrame[name=telephone] {
  margin-left: 100px;
  float: none;
}

.visible {
  visibility: visible;
}

.hidden {
  visibility: hidden;
}

#showContactForm {
  cursor: pointer;
  margin: 0px;
  padding: 2px;
}