@-webkit-keyframes bgtop {
  0% {
    left: -50%; }

  100% {
    left: 0; } }

@-moz-keyframes bgtop {
  0% {
    left: -50%; }

  100% {
    left: 0; } }

@-o-keyframes bgtop {
  0% {
    left: -50%; }

  100% {
    left: 0; } }

@keyframes bgtop {
  0% {
    left: -50%; }

  100% {
    left: 0; } }

@-webkit-keyframes bgbottom {
  0% {
    right: -50%;
    opacity: 0; }

  100% {
    right: 0;
    opacity: 1; } }

@-moz-keyframes bgbottom {
  0% {
    right: -50%;
    opacity: 0; }

  100% {
    right: 0;
    opacity: 1; } }

@-o-keyframes bgbottom {
  0% {
    right: -50%;
    opacity: 0; }

  100% {
    right: 0;
    opacity: 1; } }

@keyframes bgbottom {
  0% {
    right: -50%;
    opacity: 0; }

  100% {
    right: 0;
    opacity: 1; } }

@-webkit-keyframes fadein {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-moz-keyframes fadein {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-o-keyframes fadein {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@keyframes fadein {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }

@-webkit-keyframes fields {
  0% {
    -webkit-transform: scale(0.9); }

  100% {
    -webkit-transform: scale(1); } }

@-moz-keyframes fields {
  0% {
    -moz-transform: scale(0.9); }

  100% {
    -moz-transform: scale(1); } }

@-o-keyframes fields {
  0% {
    -o-transform: scale(0.9); }

  100% {
    -o-transform: scale(1); } }

@keyframes fields {
  0% {
    transform: scale(0.9); }

  100% {
    transform: scale(1); } }

html, body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  direction: rtl;
  overflow: hidden;
  background: #1f2642; }

.background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 60px;
  background-color: #5c7dc8;
  background-image: -webkit-linear-gradient( #82b1df, #394eb2);
  background-image: linear-gradient( #82b1df, #394eb2);
  -webkit-animation: fadein 0.8s ease-out;
  -moz-animation: fadein 0.8s ease-out;
  animation: fadein 0.8s ease-out; }
  .background div {
    position: absolute;
    width: 100%;
    height: 100%; }
  .background div.glow {
    box-shadow: 0 0 150px #91cbfc inset;
    opacity: 0.6; }
  .background div.bg-bottom {
    background: url(../images/security/login2/str-bottom.png) 100% 100% no-repeat;
    -webkit-animation: bgbottom 1s cubic-bezier(0.22, 0.81, 0.01, 0.99);
    -moz-animation: bgbottom 1s cubic-bezier(0.22, 0.81, 0.01, 0.99);
    animation: bgbottom 1s cubic-bezier(0.22, 0.81, 0.01, 0.99); }
  .background div.bg-top {
    background: url(../images/security/login2/str-top.png) 0 0 no-repeat;
    -webkit-animation: bgtop 1s cubic-bezier(0.22, 0.81, 0.01, 0.99);
    -moz-animation: bgtop 1s cubic-bezier(0.22, 0.81, 0.01, 0.99);
    animation: bgtop 1s cubic-bezier(0.22, 0.81, 0.01, 0.99); }

.main {
  background: url(../images/security/login2/logo.png) 50% 0 no-repeat;
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 45%;
  margin-left: -300px;
  margin-top: -300px;
  -webkit-animation: fadein 1s;
  -moz-animation: fadein 1s;
  animation: fadein 1s; }
  .oldie .main {
    margin-left: 0;
    margin-right: 300px; }
  .main form {
    margin: 300px auto 0 auto;
    width: 250px;
    padding-bottom: 50px;
    background: url(../images/security/login2/fieldsbg.png) 0 100% no-repeat;
    position: relative; }
    .main form .field {
      margin-bottom: 10px;
      position: relative;
      -webkit-animation: fields 1s cubic-bezier(0.22, 0.81, 0.01, 0.99);
      -moz-animation: fields 1s cubic-bezier(0.22, 0.81, 0.01, 0.99);
      animation: fields 1s cubic-bezier(0.22, 0.81, 0.01, 0.99); }
      .main form .field input {
        padding: 10px 90px 10px 10px;
        background: #fff;
        border: none;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
        width: 150px;
        direction: ltr;
        outline: none;
        color: #345; }
        .main form .field input:focus, .main form .field input:active {
          box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2), 0 3px 20px rgba(0, 0, 0, 0.3); }
      .main form .field label {
        position: absolute;
        right: 7px;
        top: 0;
        line-height: 40px;
        color: #646e86;
        padding-right: 25px;
        background: url(../images/security/login2/sprites.png) 100% -140px no-repeat; }
      .main form .field.password {
        -webkit-animation-delay: 0.05s;
        -moz-animation-delay: 0.05s;
        animation-delay: 0.05s; }
        .main form .field.password label {
          background-position: 100% -184px; }
    .main form .options {
      height: 25px; }
      .main form .options a {
        display: block;
        float: right;
        text-decoration: none;
        color: #b9c8e6;
        padding-right: 25px;
        margin-right: 5px;
        margin-left: 10px;
        background: url(../images/security/login2/sprites.png) 100% -235px no-repeat;
        line-height: 25px; }
        .main form .options a.selected {
          background-position: 100% -270px;
          color: #d1def7; }
    .main form .submit {
      height: 55px;
      width: 50px;
      position: absolute;
      left: 0;
      bottom: 0;
      background: url(../images/security/login2/sprites.png); }
      .main form .submit input {
        height: 55px;
        width: 50px;
        border: none;
        background: url(../images/security/login2/sprites.png) 0 -69px;
        opacity: 0;
        cursor: pointer;
        outline: none;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s; }
        .main form .submit input:hover, .main form .submit input:focus, .main form .submit input:active {
          opacity: 1; }

.footer {
  position: absolute;
  height: 60px;
  bottom: 0;
  width: 100%;
  background-image: -webkit-linear-gradient( #181e34 0%, #1d243f 15%, #1f2642 100%);
  background-image: linear-gradient( #181e34 0%, #1d243f 15%, #1f2642 100%);
  -webkit-animation: fadein 2s;
  -moz-animation: fadein 2s;
  animation: fadein 2s; }
  .footer .sglogo, .footer .version {
    display: block;
    float: left;
    height: 43px;
    margin-top: 10px; }
  .footer .sglogo {
    width: 130px;
    border-right: 1px solid #393e53;
    background: url(../images/security/login2/sglogo.png) 50% 50% no-repeat; }
  .footer .version {
    line-height: 43px;
    color: #7f818b;
    padding-left: 20px; }
  .footer .forget-password, .footer .tools {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    display: block;
    float: right;
    line-height: 24px;
    padding: 0 10px;
    text-decoration: none;
    border: 1px solid #7e8cb3;
    color: #b3c4fc;
    margin: 18px 20px 0 0;
    border-radius: 3px; }
  .footer .forget-password:hover {
    background: #d0dbff;
    border-color: #d0dbff;
    color: #1d243f; }
  .footer .tools {
    border-color: #454e6a;
    color: #8289a2; }
    .footer .tools:hover {
      border-color: #7e8cb3;
      color: #b3c4fc; }
    .footer .tools.open {
      background: #7e8cb3;
      border-color: #7e8cb3;
      color: #123; }
  .footer .tools-icons {
    float: right;
    margin-top: 18px;
    margin-right: 10px;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s; }
    .footer .tools-icons.open {
      max-width: 800px;
      opacity: 1; }
    .oldie .footer .tools-icons {
      display: none; }
      .oldie .footer .tools-icons.open {
        display: block; }
    .footer .tools-icons a {
      opacity: 0.7;
      display: inline-block;
      height: 24px;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      transition: all 0.3s; }
      .footer .tools-icons a:hover {
        opacity: 1; }
    .footer .tools-icons img {
      max-width: 32px;
      height: 24px;
      padding: 0 5px;
      vertical-align: middle;
      border: none; }
    .footer .tools-icons .more {
      display: inline-block;
      vertical-align: middle;
      background: url(../images/security/login2/arrow.png) 50% 50% no-repeat;
      width: 20px; }

.errors {
  position: absolute;
  width: 100%;
  bottom: 100px;
  text-align: center;
  -webkit-animation: fadein 0.5s;
  -moz-animation: fadein 0.5s;
  animation: fadein 0.5s; }
  .errors div {
    display: inline-block;
    background: #fca33f;
    padding: 0 20px;
    line-height: 30px;
    clear: both;
    border-radius: 3px;
    margin-bottom: 10px; }
    .oldie .errors div {
      display: inline; }

.dailytip {
  position: absolute;
  top: 40px;
  left: 40px;
  padding: 5px;
  width: 300px;
  -webkit-animation: fadein 2s;
  -moz-animation: fadein 2s;
  animation: fadein 2s; }
  .dailytip .daily-tip-text {
    text-align: left;
    color: #123;
    font-weight: normal; }

.company-logo {
  position: absolute;
  top: 40px;
  right: 40px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-animation: fadein 2s;
  -moz-animation: fadein 2s;
  animation: fadein 2s; }

/* fix chrome 38 wrapping problem */
.main form .options a,
.main form .field label,
.errors div,
.footer .forget-password {
  white-space: nowrap; }
