/*     Base Typography Styles  ***************************** */
html {
  font-size: 62.5%;
}

body {
  color: #222;
  padding: 0;
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 1;
  background-color: #000;
  background: url(../SupplierDS/images/pageBG.png);
  background-repeat: repeat;
}

#display-error {
width: 400px;
border: 1px solid #D8D8D8;
padding: 5px;
border-radius: 5px;
font-family: Arial;
font-size: 11px;
text-transform: uppercase;
background-color: rgb(255, 249, 242);
color: rgb(211, 0, 0);
text-align: center;
}

a {
  color: #004b9b;
  text-decoration: none;
  line-height: inherit;
  transition: color .25s ease-in-out;
  -moz-transition: color .25s ease-in-out;
  -webkit-transition: color .25s ease-in-out;
}
a:visited {
  color: #004b9b;
}
a:hover, a:focus {
  color: #e72e2f;
  cursor: pointer;
  text-decoration: none;
}
a:hover img, a:focus img {
  border: none;
}

p {
  line-height: 1.4;
  text-rendering: optimizeLegibility;
  margin: 10px 0;
}

/* Default header styles */
h1, h2, h3, h4, h5, h6 {
  font-family: "Lato", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: #1f2228;
  text-rendering: optimizeLegibility;
  margin: 10px 0;
  line-height: 1.1;
}

h1 {
  font-size: 20px;
  font-size: 2rem;
  text-transform: uppercase;
}

h2 {
  font-size: 20px;
  font-size: 2rem;
}

.clearfix, .homeMiddleCol > .ms-rtestate-field, .ssgSpecificArea > .ms-rtestate-field {
  *zoom: 1;
  clear: both;
}

.clearfix:before, .homeMiddleCol > .ms-rtestate-field:before, .ssgSpecificArea > .ms-rtestate-field:before, .clearfix:after, .homeMiddleCol > .ms-rtestate-field:after, .ssgSpecificArea > .ms-rtestate-field:after {
  content: " ";
  display: table;
}

.clearfix:after, .homeMiddleCol > .ms-rtestate-field:after, .ssgSpecificArea > .ms-rtestate-field:after {
  clear: both;
}

.blueHeadline {
  color: #FFF;
  padding: 15px;
  border-radius: 5px 5px 0 0;
  font-size: 16px;
  font-size: 1.6rem;
  margin: 0;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#014a8d+0,0255a1+49,0361b3+100 */
  background: #014a8d;
  /* Old browsers */
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #014a8d 0%, #0255a1 49%, #0361b3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #014a8d 0%, #0255a1 49%, #0361b3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#014a8d', endColorstr='#0361b3',GradientType=0 );
  /* IE6-9 */
  line-height: 1.3;
}

.greyBox {
  background: rgba(76,76,76,1);
background: -moz-linear-gradient(left, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(102,102,102,1) 51%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(76,76,76,1)), color-stop(12%, rgba(89,89,89,1)), color-stop(39%, rgba(71,71,71,1)), color-stop(50%, rgba(44,44,44,1)), color-stop(51%, rgba(102,102,102,1)), color-stop(51%, rgba(0,0,0,1)), color-stop(60%, rgba(17,17,17,1)), color-stop(76%, rgba(43,43,43,1)), color-stop(91%, rgba(28,28,28,1)), color-stop(100%, rgba(19,19,19,1)));
background: -webkit-linear-gradient(left, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(102,102,102,1) 51%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
background: -o-linear-gradient(left, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(102,102,102,1) 51%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
background: -ms-linear-gradient(left, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(102,102,102,1) 51%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
background: linear-gradient(to right, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(102,102,102,1) 51%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 5px 5px;
  font-size: 15px;
  font-size: 1.5rem;
  border: 1px solid #e0e0e0;
  padding: 20px;
}

.pageWrapper {
  width: 100%;
  background-color: #000;
  background: url(../SupplierDS/images/pageBG.png);
  background-repeat: repeat;
  min-height: 100vh;
}

.mainContent {
  position: relative;
  top: -20px;
}

.row {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.large-9 {
  width: 65%;
}

.column, .columns {
  float: left;
  padding-right: 20px;
  box-sizing: border-box;
}

.column:last-child, .columns:last-child {
  padding-right: 0;
}

.button, input[type=submit].button {
  padding: 15px;
  font-size: 12px;
  font-size: 1.2rem;
  border-radius: 3px;
  color: #FFF;
  border-style: solid;
  border-width: 0px;
  cursor: pointer;
  letter-spacing: 1px;
  font-weight: normal;
  line-height: normal;
  margin: 0;
  position: relative;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  font-weight: 700;
  -webkit-transition: background-color 300ms ease-out;
  transition: background-color 300ms ease-out;
  -webkit-appearance: none;
  border: none;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#014a8d+0,0255a1+49,0361b3+100 */
  background: #014a8d;
  /* Old browsers */
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #014a8d 0%, #0255a1 49%, #0361b3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #014a8d 0%, #0255a1 49%, #0361b3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#014a8d', endColorstr='#0361b3',GradientType=0 );
  /* IE6-9 */
}
.button:visited, .button:focus, input[type=submit].button:visited, input[type=submit].button:focus {
  color: #FFF;
}
.button:hover, input[type=submit].button:hover {
  color: #FFF;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0e518c+0,136bb2+100 */
  background: #0e518c;
  /* Old browsers */
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #0e518c 0%, #136bb2 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #0e518c 0%, #136bb2 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e518c', endColorstr='#136bb2',GradientType=0 );
  /* IE6-9 */
}
.button.wide, input[type=submit].button.wide {
  padding: 15px 60px;
}

.loginHeaderBG {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px;
  z-index: 2;
  position: relative;
}

.loginWrapper .loginBG {
  position: relative;
  top: -104px;
  z-index: 1;
}
.loginWrapper .loginBG.mobile {
  display: none;
}
.loginWrapper.mainContent {
  top: 0;
}
.loginWrapper .blueHeadline {
  border-radius: 0;
}
.loginWrapper .greyBox {
  background: rgba(89,89,89,0.78);
background: -moz-linear-gradient(left, rgba(89,89,89,0.78) 0%, rgba(71,71,71,0.87) 41%, rgba(28,28,28,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(89,89,89,0.78)), color-stop(41%, rgba(71,71,71,0.87)), color-stop(100%, rgba(28,28,28,1)));
background: -webkit-linear-gradient(left, rgba(89,89,89,0.78) 0%, rgba(71,71,71,0.87) 41%, rgba(28,28,28,1) 100%);
background: -o-linear-gradient(left, rgba(89,89,89,0.78) 0%, rgba(71,71,71,0.87) 41%, rgba(28,28,28,1) 100%);
background: -ms-linear-gradient(left, rgba(89,89,89,0.78) 0%, rgba(71,71,71,0.87) 41%, rgba(28,28,28,1) 100%);
background: linear-gradient(to right, rgba(89,89,89,0.78) 0%, rgba(71,71,71,0.87) 41%, rgba(28,28,28,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#595959', endColorstr='#1c1c1c', GradientType=1 );
  margin-bottom: 0;
  border-radius: 0;
}

.login {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  height: 634px;
}
.login .loginBox {
  width: 43%;
  position: relative;
  right: 0;
  z-index: 2;
  border: 1px solid #FFF;
  box-shadow: 1px 1px 5px #000;
  margin: 20px 0 50px 20px;
  border-radius: 3px;
  margin-bottom: 290px;
}
.login .item {
  margin-bottom: 20px;
}
.login .item label {
  width: 195px;
  color: white;
  display: inline-block;
  float: left;
  margin-top: 8px;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 700;
}
.login .item input[type='text'], .login .item input[type='password']{
  width: -webkit-calc(100% - 105px);
  width: calc(100% - 105px);
  padding: 8px 30px 8px 15px;
}
.login .item .emailInput, .login .item .passwordInput {
  position: relative;
  float: left;
  width: 60%;
}
.login .item .emailInput input, .login .item .passwordInput input {
  width: 100%;
}
.login .item .emailInput .icon, .login .item .passwordInput .icon {
  position: absolute;
  right: 15px;
  top: 31%;
  color: #959595;
  font-size: 16px;
}
.login .item .emailInput .icon {
  font-size: 13px;
  right: 14px;
}
.login .item.ctaBtns {
  margin-bottom: 0;
}
.login .item.ctaBtns label {
  margin-top: 0;
  margin-left: 5px;
}
.login .item.remember {
  margin-bottom: 5px;
}
.login .leftCol {
  float: left;
}

.login .leftCol1 {
  float: left;
  width: 165px;
}

.login .forgotPasswordLink {
  display: block;
  color: orange;
  font-size: 14px;
  font-size: 1.4rem;
}
.login .loginBtn {
  /*float: right; */
}
.login.forgotPassword .intro {
  font-size: 13px;
  font-size: 1.3rem;
  margin-bottom: 20px;
  line-height: 1.5;
  color: white;
}
.login.forgotPassword .intro.no-margin {
  margin-bottom: 0;
}
.login.forgotPassword.success .intro {
  font-size: 15px;
  font-size: 1.5rem;
}
.login.forgotPassword .resetBtn {
  margin-top: 20px;
}
.login.forgotPassword .loginBox {
  width: 60%;
}
.login .postback {
  color: #c00303;
  font-size: 13px;
  font-size: 1.3rem;
  margin-top: 20px;
  line-height: 1.5;
  padding-left: 20px;
}

.login .postback1 {
  color: #FFFFFF;
  font-size: 13px;
  font-size: 1.3rem;
  margin-top: 20px;
  line-height: 1.5;
  padding-left: 20px;
}

.login .postback .fa {
  padding-right: 5px;
  margin-left: -20px;
}
.login.resetPassword .item label {
  width: 150px;
}
.login .recaptcha {
  margin-top: 15px;
}

@media (max-width: 1024px) {
  .login .loginBox {
    width: 75%;
  }
  .login.forgotPassword .item .emailInput {
    width: -webkit-calc(100% - 105px);
    width: calc(100% - 105px);
  }
  .login.forgotPassword .loginBox {
    width: 90%;
  }
}
@media (max-width: 640px) {
  .loginWrapper .loginBG.desktop {
    display: none;
  }
  .loginWrapper .loginBG.mobile {
    display: block;
    top: 0;
  }

  .login .loginBox {
    width: 90%;
    margin: 15px 15px 60px 15px;
    margin-bottom: 50px;
  }
  .login .item {
    margin-bottom: 10px;
  }
  .login .item .emailInput, .login .item .passwordInput {
    width: 100%;
  }
  .login .item label {
    display: block;
    width: 100%;
    float: none;
    margin-bottom: 10px;
    margin-top: 0;
  }
  .login .item input[type='text'], .login .item input[type='password']{
    display: block;
    width: 100%;
    float: none;
    font-size: 16px;
    font-size: 1.6rem;
  }
  .login .item.ctaBtns {
    margin-bottom: 15px;
  }
  .login .item.ctaBtns label {
    margin-left: 20px;
    margin-bottom: 0;
  }
  .login .item .remember {
    display: inline-block;
    float: left;
  }
  .login .leftCol {
    float: none;
    margin-bottom: 15px;
    margin-top: 10px;
  }
  .login .loginBtn {
    float: none;
  }
  .login .loginBtn a {
    display: block;
  }
  .login.forgotPassword {
    display: block;
  }
  .login.forgotPassword .item .emailInput {
    width: 100%;
  }
  .login.resetPassword .item label {
    width: 100%;
  }
  .login.resetPassword .item .passwordInput {
    width: 100%;
  }
  
  /* Mobile error panel adjustments */
  .login-error-panel {
    padding: 12px 15px;
    font-size: 12px;
    font-size: 1.2rem;
  }
  
  .login-error-panel .error-icon .fa {
    font-size: 18px;
    font-size: 1.8rem;
  }
}

.copyright {
  /*float: left;*/
  color: white;
}

/* Validation Styles */
.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #f5c6cb;
  font-size: 13px;
  font-size: 1.3rem;
  display: block;
  clear: both;
}

.success-message {
  background: linear-gradient(135deg, #f0f9f4 0%, #e0f5e9 100%);
  border-left: 4px solid #28a745;
  border-radius: 6px;
  padding: 15px 20px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
  color: #155724;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 500;
  display: block;
  clear: both;
  animation: slideDown 0.4s ease-out;
}

/* Login Error Panel - Beautiful Error Display */
.login-error-panel {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-left: 4px solid #e72e2f;
  border-radius: 6px;
  padding: 15px 20px;
  margin: 15px 0 0 0;
  box-shadow: 0 2px 8px rgba(231, 46, 47, 0.15);
  display: flex;
  align-items: flex-start;
  animation: slideDown 0.4s ease-out;
  clear: both;
}

.login-error-panel .error-icon {
  flex-shrink: 0;
  margin-right: 12px;
  margin-top: 2px;
}

.login-error-panel .error-icon .fa {
  color: #e72e2f;
  font-size: 20px;
  font-size: 2rem;
}

.login-error-panel .error-content {
  flex: 1;
  color: #721c24;
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 500;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes slideDown {
  from {
    opacity: 0;
    -webkit-transform: translateY(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

/* Input Error State */
input.input-error,
input.input-error:focus {
  border: 2px solid #e72e2f !important;
  background-color: #fff5f5 !important;
  animation: shake 0.3s;
}

input.input-error::placeholder {
  color: #e72e2f !important;
  font-weight: 600;
  opacity: 1;
}

input.input-error::-webkit-input-placeholder {
  color: #e72e2f !important;
  font-weight: 600;
  opacity: 1;
}

input.input-error::-moz-placeholder {
  color: #e72e2f !important;
  font-weight: 600;
  opacity: 1;
}

input.input-error:-ms-input-placeholder {
  color: #e72e2f !important;
  font-weight: 600;
  opacity: 1;
}

/* Shake Animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@-webkit-keyframes shake {
  0%, 100% { -webkit-transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { -webkit-transform: translateX(-5px); }
  20%, 40%, 60%, 80% { -webkit-transform: translateX(5px); }
}
