html{height: 100%;}

@font-face {
  font-family: 'Roboto-Light';
  src: url('../fonts/Roboto-Light.eot');
  src: url('../fonts/Roboto-Light.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Roboto-Light.woff') format('woff'),
  url('../fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Bold';
  src: url('../fonts/Roboto-Bold.eot');
  src: url('../fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Roboto-Bold.woff') format('woff'),
  url('../fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Black';
  src: url('../fonts/Roboto-Black.eot');
  src: url('../fonts/Roboto-Black.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Roboto-Black.woff') format('woff'),
  url('../fonts/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Regular';
  src: url('../fonts/Roboto-Regular.eot');
  src: url('../fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Roboto-Regular.woff') format('woff'),
  url('../fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto-Medium';
  src: url('../fonts/Roboto-Medium.eot');
  src: url('../fonts/Roboto-Medium.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Roboto-Medium.woff') format('woff'),
  url('../fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

body{ margin: 0; padding: 0;height: 100%;
  background: url(../images/newfiles/bg.jpg) no-repeat center center fixed #2985c6;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.main {
  height: 100%;
  width: 100%;
  display: table;
}
.wrapper {
  display: table-cell;
  height: 100%;
  vertical-align: middle;
}
.login-container {
  background: #ffffff;
  padding: 40px 40px 60px 40px;
  width: 400px;
  margin: 12% auto 0 auto;
  -moz-box-shadow: 0 0 10px #666;
  -webkit-box-shadow: 0 0 10px #666;
  box-shadow: 0 0 10px #666;
  position: relative;
}

.logo {
  width: 100%;
  text-align: center;
  position: absolute;
  top: -165px;
  left: 0;
}

.logo img {
  border: 12px solid #2985c6;
  border-radius: 100%;
}

.login-internal-container {

  display: inline;
  width: 100%;
}

.head {
  text-align: center;
  width: 100%;
  padding: 45px 0 30px 0;
}

.head h1 {

  width: 100%;
  color: #2E73A8;
  font-size: 30px;
  text-transform: uppercase;
  font-family: 'Roboto-Medium';
  margin: 0;
}

.head span {

  width: 100%;
  color: #939597;
  font-size: 12px;
  font-family: 'Roboto-Light';

}


/* form starting stylings ------------------------------- */
.form-container .group        {
  position:relative;
  margin-bottom:25px;
}
.form-container input         {
  font-size:12px;
  padding:10px 10px 10px 5px;
  display:block;
  width:100%;
  border:none;
  border-bottom:1px solid #ccc;
  font-family: 'Roboto-Light';
}
.form-container input:focus     { outline:none; }

/* LABEL ======================================= */
.form-container label          {
  color:#999;
  font-size:12px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all;
  -moz-transition:0.2s ease all;
  -webkit-transition:0.2s ease all;
  font-family: 'Roboto-Light';
}

/* active state */
.form-container input:focus ~ label, .form-container input:valid ~ label    {
  top:-20px;
  font-size:12px;
  color:#999;
}

/* BOTTOM BARS ================================= */
.bar  { position:relative; display:block; width:100%; }
.bar:before, .bar:after   {
  content:'';
  height:1px;
  width:0;
  bottom:0px;
  position:absolute;
  background:#2E73A8;
  transition:0.2s ease all;
  -moz-transition:0.2s ease all;
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%;
}

/* active state */
.form-container input:focus ~ .bar:before, .form-container input:focus ~ .bar:after {
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%;
  width:100px;
  top:25%;
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
.form-container input:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from { background:#2E73A8; }
  to  { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
  from { background:#2E73A8; }
  to  { width:0; background:transparent; }
}
@keyframes inputHighlighter {
  from { background:#2E73A8; }
  to  { width:0; background:transparent; }
}

.username {
  width: 100px;
  background: url(../images/newfiles/username.png) no-repeat left top;
  height: 90px;
  background-size: 20px;

}

.password {
  width: 100px;
  background: url(../images/newfiles/password.png) no-repeat left top;
  height: 90px;
  background-size: 15px;

}

.form-container p {
  margin-left: 30px;
}

/*.form-container input:focus ~ .username{
  background: url(../images/username-h.png) no-repeat left top;
  background-size: 20px;
}

.form-container input:focus ~ .password{
  background: url(../images/password-h.png) no-repeat left top;
  background-size: 15px;
}*/


.login-btn {
  background: #2E73A8;
  border: 1px solid #2E73A8;
  font-size: 12px;
  font-family: 'Roboto-Regular';
  width: 80px !important;
  height: 30px;
  text-align: center;
  line-height: 28px;
  display: inline-block;
  color: #ffffff;
  border-radius: 5px;
  text-transform: uppercase;
  padding: 0 !important;
  position: absolute;
  bottom: 30px;
}

.login-btn:hover { background: #ffffff; border: 1px solid #2E73A8; color:#2E73A8;
  text-decoration: none; }

.login-btn:focus{ outline: none; }


.forgot-password{ width: 100%; display: inline-block; margin-bottom: 10px; }
.forgot-password span{ float: left; width: auto; font-size: 11px; color: #939597;
  font-family: 'Roboto-Light';
}


.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 16px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: -10px;
  bottom: -3px;
  background-color: #ffffff;
  -webkit-transition: .4s;
  transition: .4s;
  -moz-box-shadow: 0 0 10px #666;
  -webkit-box-shadow: 0 0 10px #666;
  box-shadow: 0 0 10px #666;
}
input:checked + .slider {
  background-color: #2774aa;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-container{ float: right; }


/********responsive css**********/

@media (max-width: 667px) {
  .login-container{ margin:30% auto 8% auto; }
}




@media (max-width: 480px) {
  .login-container{ width: 100%; }
}

@media (max-width: 414px) {
  .login-container {margin: 40% auto 0 auto;}
}


@media (max-width: 375px) {
  .login-container {margin: 44% auto 0 auto;}
}

@media (max-width: 360px) {
  .login-container {margin: 46% auto 0 auto;}
}

@media (max-width: 320px) {
  .login-container {margin: 64% auto 15% auto;}
}