/*Global*/
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic&subset=latin,vietnamese);
body {
    /*padding-top: 115px;*/
    font-family: "Roboto", sans-serif !important;
    background-image: url('../images/img-login/bgr.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  padding-left: 1px;
  padding-right: 1px;
}
.row {
  padding-top: 2px;
  margin-left: -1px;
  margin-right: -1px;
}
.row.no-padding-top {
  padding-top: 0;
}
.no-padding-left {
  padding-left: 0;
}
.no-padding-right {
  padding-right: 0;
}
.glyphicon {
  cursor: pointer;
  cursor: hand;
}
div#msg{
  padding: 8px;
  margin-bottom: 5px;
  color: white;
  font-weight: 600;
  border-radius: 4px;
}
div#msg.errors{
  background-color: #dd4b39 !important;
}
/*Pagination*/
.pagination {
    margin: 0;
    background-color: #eeeeee;
}
.pagination>li>a, .pagination>li:first-child>a, .pagination>li:last-child>a, .pagination>li>span, .pagination>li:first-child>span, .pagination>li:last-child>span {
    border-radius: 0;
}
/*End Pagination*/
/*End Global*/

/*Navbar*/
/*Disable Responsive Nav*/
@media (max-width: 960px) {
  /*.navbar{
    display: none;
  }
  */
}
.container .navbar-header,
.container .navbar-collapse {
  margin-right: 0;
  margin-left: 0;
}

/* Always float the navbar header */
.navbar-header {
  float: left;
}

/* Undo the collapsing navbar */
.navbar-collapse {
  display: block !important;
  height: auto !important;
  padding-bottom: 0;
  overflow: visible !important;
  visibility: visible !important;
}

.navbar-toggle {
  display: none;
}
.navbar-collapse {
  border-top: 0;
}

.navbar-brand {
  margin-left: -15px;
}

/* Always apply the floated nav */
.navbar-nav {
  float: left;
  margin: 0;
}
.navbar-nav > li {
  float: left;
}
.navbar-nav > li > a {
  padding: 15px;
}

/* Redeclare since we override the float above */
.navbar-nav.navbar-right {
  float: right;
}

/*End Disable Responsive Nav*/
.navbar-inverse {
  background-color: rgba(0, 159, 233, 0.15);
  width: 100%;
  text-align: right;
  padding-right: 50px;
}
@media (max-width: 960px) {
  .navbar-inverse {
    padding-right: 5px;
  }
}
.navbar-inverse .navbar-nav>li>a {
  opacity: 0.5;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
  background-color: rgba(0, 159, 233, 0.15);
      background: none;
  opacity: 1;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.navbar-inverse .dropdown-menu {
  background-color: white !important;
  width: 320px;
  padding: 20px;
  border: 1px solid #eeeeee;
  margin-top: 17px !important;
  margin-right: -10px;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu {
    position: inherit !important;
    margin-bottom: 5px
  }
}
.dropdown-menu:before {
  position: absolute;
  top: -18px;
  right: 16px;
  display: inline-block;
  border-right: 17px solid transparent;
  /*border-bottom: 17px solid #eeeeee;*/
  border-left: 17px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  content: '';
}
.dropdown-menu:after {
  position: absolute;
  top: -16px;
  right: 17px;
  display: inline-block;
  border-right: 16px solid transparent;
  border-bottom: 16px solid #ffffff;
  border-left: 16px solid transparent;
  content: '';
}
.navbar-inverse .dropdown-menu h5 {
  font-size: 13px;
  margin: 10px -15px 0;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.navbar-inverse .dropdown-menu a {
  color: black;
  text-decoration: blink;
}
.navbar-inverse .dropdown-menu .col-xs-4 {
  padding: 15px;
}
.navbar-inverse .dropdown-menu .col-xs-4 img {
  width: 100%;
  /*border-radius: 10px;*/
}

/*End Navbar*/

/*Footer*/
#footer {
  background-image: url('../images/img-login/bgr_bottom.png');
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 30px;
  font-size: 14px;
  border-top: 5px solid #0589D3;
}
#footer p {
  margin: 0;
}
/*End Footer*/

/*Footer Bottom*/
* {margin:0;padding:0;} 
html, body {height: 100%;}
#wrap {min-height: 100%;}

#main {
  overflow:auto;
}

#footer {
  position: relative;
  padding-bottom: 15px;
  clear:both;
} 

/*Opera Fix thanks to Maleika (Kohoutec)*/
body:before {
  content:"";
  height:100%;
  float:left;
  width:0;
  margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}
@media (min-width: 960px) {
  #main {
    padding-bottom: 50px; /* must be same height as the footer */
    min-height: 500px;
  }
  #footer {
    margin-top: -50px; /* negative value of footer height */
    height: 50px;
  }
}
@media (min-width: 460px) and (max-width: 959px) {
  #main {
    padding-bottom: 70px; /* must be same height as the footer */
  }
  #footer {
    margin-top: -70px; /* negative value of footer height */
    height: 70px;
  }
}
@media (max-width: 459px) {
  #main {
    padding-bottom: 90px; /* must be same height as the footer */
  }
  #footer {
    margin-top: -90px; /* negative value of footer height */
    height: 90px;
  }
}
/*End Footer Bottom*/

/*Login*/
#footer.login {
  /*margin-top: -50px;*/
  min-height: 0;
  padding-top: 17px;
  background: #B6E0F0;
  border: none;
  text-align: center;
  color: #353535;
}
#main.login {
  padding-bottom: 50px;
  min-height: calc(100vh - 50px);
}
body#cas.login {
  background-image: url('../images/img-login/bgr.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
#wrap,
#main.login,
#main.login #container,
#main.login #content {
  background: transparent !important;
}
.login-form {
  margin: 20px auto 50px;
  width: 350px;
  position: relative;
  z-index: 2;
}
@media (max-width: 500px){
  .login-form {
    width: 66%;
    margin: 16px auto 20px;
  }
}
@media (max-width: 767px) {
  .login-form {
    position: relative;
    top: auto;
    left: auto;
    margin: 48px auto 20px;
    transform: none;
  }
}
@media (min-width: 768px){
  .login-form {
    position: fixed;
    top: 40%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }
}
.login-form > .row {
  background: rgba(255, 255, 255, 0.33);
  padding: 18px 20px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 90, 160, 0.15);
}
.login-form > .row > div[style] {
  line-height: 1.45;
  color: #333;
}
.login-form img.primaryImage {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 14px;
}
.login-form img.captcha {
  vertical-align:middle;
  height: 35px;
  width: 100%;
  margin-top: 2px;
}
.login-form button {
  width: 100%;
  border: none;
  height: 40px;
  background: #44BAFA; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(top, #239FF7, #0A6DB4); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(bottom, #239FF7, #0A6DB4); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(bottom, #239FF7, #0A6DB4); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom, #239FF7, #0A6DB4); /* Standard syntax */
  border-radius: 5px;
  font-weight: bold;
  color: white;
  font-size: 14px;
}
.login-form button:focus {
  outline: none;
}
.login-form input {
  border-radius: 5px;
  background: #fff;
  border: 1px solid #b0d4e8;
}
@media (max-width: 767px) {
  .login-form img.primaryImage {
    width: 92%;
    max-width: 300px;
    margin-bottom: 10px;
  }
}
/*End Login*/
/*OPT*/
.otp-form {
  text-align: center;
  padding: 18px 20px 14px;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 90, 160, 0.15);
}
.otp-form .row {
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
}
.otp-form > .col-lg-6,
.otp-form > .col-md-6,
.otp-form > .col-sm-12,
.otp-form > .col-xs-12,
.otp-form > .col-lg-12,
.otp-form > .col-md-12,
.otp-form > .col-sm-12,
.otp-form > .col-xs-12 {
  float: none;
  width: 100%;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
}
.otp-form #loginForm {
  width: 100%;
  margin-left: 0;
}
.otp-form .form-group {
  margin-bottom: 8px;
}
.otp-form .col-lg-12 p {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  line-height: 1.45;
  text-align: left;
  font-size: 12px;
}
@media (max-width: 500px){
  .otp-form {
    width: 92%;
    max-width: 420px;
  }
  #loginForm {
    width: 66.67%;
    margin-left: 16.67%;
  }
}
@media (min-width: 500px) and (max-width: 960px){
  #loginForm {
    width: 50%;
    margin-left: 25%;
  }
}
@media (min-height: 960px){
  .otp-form {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    width: 100%;
    max-width: 420px;
    height: auto;
    transform: translate(-50%, -50%);
  }
}



/*@media (min-width: 960px) and (min-height: 700px) {
  .otp-form {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -325px;
    width: 650px;
    height: 500px;
  }
}*/
.otp-form p.title {
  font-weight: 600;
}
.otp-form p.title .username {
  font-weight: 900;
  font-size: 17px;
  color: #0978C7;
}
.otp-form button {
  width: 100%;
  border: none;
  height: 40px;
  background: #44BAFA; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(top, #239FF7, #0A6DB4); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(bottom, #239FF7, #0A6DB4); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(bottom, #239FF7, #0A6DB4); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom, #239FF7, #0A6DB4); /* Standard syntax */
  border-radius: 5px;
  font-weight: bold;
  color: white;
  font-size: 14px;
}
.otp-form button:focus {
  outline: none;
}
.otp-form input {
  border-radius: 5px;
}
/*End OTP*/