@font-face {
  font-family: 'Muli';
  src: url('../static/fonts/Muli-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Muli';
  src: url('../static/fonts/Muli-Bold.ttf');
  font-weight: 700;
  font-style: normal;
}

html, body {
  height: 100%;
  font-family: 'Muli';
  color: #222435;
  font-size: 14px;
  font-weight: 400;
}

body {
  display: flex;
  flex-direction: column;
}

button, div.dex-btn {
    background-color: #3864f2;
    color: #fff;
    width: 279px;
    height: 53px;
    margin: 0 auto;
}

button.sign-in {
  display: inline;
}

div.logo {
  margin-bottom: 30px;
}

a.back {
  text-decoration: none;
  display: inline-block;
  margin: 15px 30px;
  color: #222435;
}

a.back:hover {
  text-decoration: underline;
}

h1 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 auto 20px;
}

main.password {
  height: 100%;
}

.dex-error-box {
  display: flex;
  background-color: #F9DBEA;
  width: 250px;
  border-radius: 3px;
  margin: 60px auto;
  padding: 12px;
}

.dex-error-text {
  font-size: 12px;
  top: -1px;
  position: relative;
  color: #DC267F;
}

.dex-btn-text {
  font-family: 'Muli';
  font-size: 14px;
  font-weight: 400;
  float:left;
  margin-top: 8px;
  padding: 0px 6px;
  text-align: left;
}

.dex-btn-icon--local,
.dex-btn-icon--saml,
.dex-btn-icon--ldap {
  margin-top: 8px;
  background-color: #3864f2;
}

.dex-btn-icon--local {
  background-image: url(../static/img/email-icon.png)
}

.dex-btn-icon--msad {
  background-image: url(../static/img/microsoft-icon.png)
}

.theme-btn--primary {
  width: 150px;
  font-weight: 400;
  font-size: 14px;
  margin-top: 22px;
}

.theme-body {
  font-family: 'Source Sans Pro', Helvetica, sans-serif;
}

.theme-navbar {
  background-color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  color: #333;
  font-size: 13px;
  font-weight: 100;
  height: 46px;
  overflow: hidden;
  padding: 0 10px;
}

.theme-navbar__logo-wrap {
  display: inline-block;
  height: 100%;
  overflow: hidden;
  padding: 10px 15px;
  width: 300px;
}

.theme-navbar__logo {
  height: 60px;
}

.theme-heading {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 5px;
}

.theme-form-row {
  display: block;
  margin: 10px auto;
}

.theme-form-input {
  border-radius: 4px;
  border: 1px solid #CCC;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  color: #666;
  display: block;
  font-size: 14px;
  height: 36px;
  line-height: 1.42857143;
  margin: auto;
  padding: 6px 12px;
  width: 250px;
}

.theme-form-input:focus,
.theme-form-input:active {
  border-color: #66AFE9;
  outline: none;
}

.theme-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 4px auto;
  position: relative;
  text-align: left;
  width: 250px;
}

.warning-text {
  margin: 0;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}

.theme-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 2;
}

/* for login page */
.password .theme-panel {
  margin-top: 140px;
}

.signin-login-container {
  padding-top: 1em;
  text-align: center;
}

.disclosure {
  margin: 38px 35px 0px 35px;
  padding: 2em;
  width: 90%;
  max-width: 588px;
  min-width: 279px;
  max-height: 350px;
  border: 2px solid #E6EBEE;
  border-radius: 4px;
  overflow-y: scroll;
  text-align: left;
}

.disclosure h3 {
  margin-top: 0;
}

/* Force the scrollbars to show for UX */
.disclosure::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}
.disclosure::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

i.eye-position {
  margin-top: -26px;
  cursor: pointer;
  left: -10px;
  position: relative;
  float: right;
}