@font-face {
    font-family: 'Segoe UI Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Regular'), url('../font/Segoe UI.woff') format('woff');
}

body,
html {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  font-size: 16px;
  color: #404e6f;
  margin: 0;
  height: 100%;
  font-family: "DM Sans", sans-serif;
}

body {
  margin: 0;
}

.login-content {
  background-size: cover;
  background-position: center;
  min-height: 100%;
  min-width: 320px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.login-content .box {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
  margin: auto;
  background-repeat: no-repeat;
  background-position-x: 28.5rem;
  border-radius: 25px;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.login-content .box .content-wrapper {
  width: 100%;
  height: 100%;
  max-width: 450px;
  padding: 40px;
  box-sizing: border-box;
}

.login-content .box .box-container {
  width: 100%;
  max-width: 450px;
  box-sizing: border-box;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 64px);
}

.login-content .box .logo {
  display: block;
  margin: 30px auto 0px;
}

.title {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: normal;
  margin: 0 0 16px;
  text-align: center;
}

h6 {
  text-align: center;
  font-size: 16px;
  margin: 0 0 16px;
  font-weight: 100;
}

.login-content .box .logo-thumb {
  position: absolute;
  right: 20px;
  bottom: 10px;
}

.login-content .box .application-name {
  width: 270px;
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.83;
  letter-spacing: -0.4px;
  text-align: left;
  color: #0055b8;
  margin-left: 32px;
  margin-top: 40px;
}

/* .login-content .box .form {
    margin-left: 32px;
    margin-top: 55px;
    margin-bottom: -55px;
} */

.login-content .box .login-field-wrapper {
  position: relative;
  margin-bottom: 22px;
}

.login-content .box .login-field {
  display: inline-block;
  width: 100%;
  padding: 3px 14px;
  font-size: 16px;
  color: #404e6f;
  background: #ffffff;
  border: 1px solid #eaecec;
  border-radius: 5px;
  height: 50px;
  margin-bottom: 3px;
  font-weight: 400;
  box-sizing: border-box;
}

.login-content .box .login-field-error {
  font-size: 14px;
  color: #ff5a65;
}

.login-content .box input[type="text"]:focus,
.login-content .box input[type="password"]:focus {
  border-bottom: 2px solid #0055b8;
}

.login-content .box input[type="text"]:-webkit-autofill,
.login-content .box input[type="password"]:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset;
}

.login-content .box .submit {
  background-color: #f18040;
  border-color: #f18040;
  color: #ffffff;
  height: 40px;
  margin-bottom: 15px;
}

.login-content .box .cancel {
  background-color: transparent;
  border-color: transparent;
  color: #404e6f;
  height: 40px;
  margin-bottom: 15px;
}

.button-group {
  display: flex;
  justify-content: center;
}

.login-content .box .button-group .login-field {
  width: auto;
  cursor: pointer;
}

.login-content .box .visibility {
  position: absolute;
  right: 15px;
  top: 14px;
  width: 24px;
  height: 24px;
  opacity: 0.54;
  border: none;
}

.login-content .box .copyright {
  min-width: 320px;
  text-align: center;
  font-size: 14px;
  position: absolute;
  bottom: 10px;
  color: #404e6f;
}

.alert-message-container {
  width: 100%;
  max-width: 450px;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 20px;
}

.alert-error,
.alert-warning,
.alert-info,
.alert-success {
  padding: 10px;
  color: #fff;
  border-radius: 10px;
  max-width: calc(100% - 40px);
}

.alert-error {
  background: #ff5a65;
}

.alert-warning {
  background: #efb456;
}

.alert-info {
  background: #5d92fb;
}

.alert-success {
  background: #77b95c;
}

.alert-error > .message-text,
.alert-warning > .message-text,
.alert-info > .message-text,
.alert-success > .message-text {
  line-height: 1.3;
  text-align: left;
  position: relative;
  display: block;
  font-size: 14px;
}

.identity-providers {
  width: 270px;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.83;
  letter-spacing: -0.4px;
  text-align: left;
  color: #0055b8;
  margin-left: 32px;
  margin-top: 20px;
}

.login-content .box .social-providers {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-content .box .social-link-style {
  width: 100%;
  max-width: 320px;
  height: 36px;
  border-radius: 2px;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #f18040;
  border-style: solid;
  border-color: #f18040;
  margin-top: 0px;
  margin-bottom: 10px;
}

.login-content .box .para {
  font-size: 14px;
  margin: 0 10px 10px;
  text-align: center;
}

.forgot-password,
.help-video,
.privacy-policy,
.privacy-policy-link {
  text-decoration: none;
  color: #404e6f;
  font-size: 14px;
}

.forgot-password {
  display: block;
}

.forgot-password:hover,
.help-video:hover,
.privacy-policy-link:hover {
  color: #f18040;
  text-decoration: underline;
}

.privacy-policy, .logout-other-sessions {
  margin-bottom: 10px;
}

.privacy-policy-link {
  text-decoration: underline;
}

.secondary-options {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #404e6f;
}

.secondary-options > .checkbox > label {
  display: flex;
  align-items: center;
}

.secondary-options > .checkbox > label > input {
  width: 17px;
  height: 17px;
  margin-right: 7px;
}

.login-content .box .box-container.login-config-totp {
  padding-top: 80px;
}

.scrollable-container {
  overflow-y: auto;
  text-align: left;
}

.text-left {
  text-align: left;
}

@media screen and (max-width: 730px) {
  .login-content .box {
    background-image: none !important;
  }

  .login-content .box .box-container {
    max-width: none;
    overflow-y: auto;
  }

  .login-content .box .logo-thumb {
    display: none;
  }
}

@media screen and (max-width: 370px) {
  .privacy-policy {
    display: initial;
  }
}

.ms-btn {
	cursor: pointer;
	font-family: 'Segoe UI Regular';
	font-size: 15px;
	font-weight: 600;
	color: #5e5e5e;
	background: #ffffff;
	border: 1px solid #8c8c8c;
	padding: 0px 12px;
	height: 41px;
	display: flex;
	align-items: center;
}

.ms-btn svg {
    padding-right: 12px;
}