@import url("https://use.typekit.net/xdx1efn.css");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}
a {
  color: #3693d0;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

p {
  margin: 0;
}
#api {
  display: table;
  margin: 0;
  width: 400px;
  background-color: rgba(9, 52, 79, 0.85);
  padding: 15px;
}

#api .intro {
  display: block;
  text-align: left;
}

#api .intro h2 {
  font-weight: 300;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
}

#api .divider {
  display: none;
}

#api .localAccount {
  top: 10px;
  width: 100%;
}

#api .localAccount .intro h2 {
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
}

#api .localAccount .error {
  color: #ff4848;
  text-align: left;
  font-size: 0.85rem;
}

#api .localAccount .pageLevel {
  border-radius: 4px;
  box-shadow: none;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.43;
  letter-spacing: 0.01071em;
  background-color: transparent;
  display: flex;
  padding: 0px;
  margin-bottom: 5px;
  color: #ff4848;
}

#api .localAccount .entry .buttons {
  text-align: left;
}

#api .localAccount .entry .buttons button {
  background-image: none;
  background-color: #3693d0;
  border: 1px solid #dddddd;
  border-radius: 0rem;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  height: inherit;
  line-height: 1.3333333;
  margin-top: 2rem;
  margin-right: 0;
  margin-bottom: 1.2rem;
  margin-left: 0;
  padding: 10px 16px;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  width: inherit;
  -moz-user-select: none;
  -ms-touch-action: manipulation;
  -ms-user-select: none;
  -webkit-user-select: none;
  color: #fff;
  width: 100%;
  text-transform: uppercase;
}

@media screen and (-ms-high-contrast: active) {
  #api .accountButton,
  #api .localAccount .entry .buttons button {
    border: 1px dashed #fff;
  }

  #api .accountButton:hover,
  #api .localAccount .entry .buttons button:hover {
    border: 1px solid #fff;
  }
}

#api .localAccount .entry .buttons button:focus,
#api .localAccount .entry .buttons button:hover {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #003450;
  color: #fff;
}

#api .localAccount .entry .entry-item {
  position: relative;
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
  display: block;
}

#api .localAccount .entry .entry-item label {
  display: none;
}

#api .localAccount .entry .entry-item input:focus {
  border: 1px solid #3693d0;
  box-shadow: 0 0 0 2px rgba(54, 147, 208, 0.2);
}

#api .localAccount .entry .entry-item input {
  outline: 0;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0rem !important;
  color: #fff;
  display: inline-block;
  height: 38px;
  border: 1px solid #dddddd;
  padding: 6px 20px;
  font-size: 0.875rem;
  line-height: 1.4375em;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s !important;
  width: 100% !important;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s !important;
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s !important;
}

#api .localAccount .entry .entry-item #password {
  margin-bottom: 20px;
}

#api .localAccount .entry .entry-item .password-label {
  text-align: left;
  height: 0;
  left: 0;
  width: 100%;
}

.forgot-password {
  text-align: left;
}

.forgot-password.center-height {
  position: absolute;
  bottom: 0;
  clear: right;
  cursor: pointer;
  text-align: right;
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#api .localAccount .entry .entry-item .password-label #forgotPassword {
  position: absolute;
  bottom: -4px;
  clear: right;
  cursor: pointer;
  text-align: right;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.775rem;
}

#api .localAccount .rememberMe {
  margin-top: -2rem;
  text-align: right;
  margin-left: 59%;
  position: relative;
  width: 15rem;
}

#api .localAccount .rememberMe.align-to-left {
  margin-top: 0.5rem;
  text-align: left;
  margin-left: 0;
  width: 100%;
}

.working {
  display: none;
}

#api .claims-provider-list-text-links p,
#api .localAccount .create p {
  text-align: left;
  margin-top: -3rem;
  margin-bottom: 3rem;
}

#api .localAccount .create #createAccount {
  border-radius: 0.5rem;
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  height: inherit;
  line-height: 1.3333333;
  padding: 10px 16px;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  white-space: nowrap;
  -moz-user-select: none;
  -ms-touch-action: manipulation;
  -ms-user-select: none;
  -webkit-user-select: none;
  width: auto;
  margin-top: -3rem;
  cursor: pointer;
  animation: 0.5s ease-out 0s 1 slideInFromRight;
}
#api .localAccount .create {
  display: none !important;
}

#api .social {
  display: table-footer-group;
  position: relative;
  top: 1px;
  width: auto;
}

#api .accountButton {
  background-size: 10% 70%;
  background-position-x: 3%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  display: block;
  font-size: 0.85rem;
  width: 100%;
  margin-left: auto;
  overflow: hidden;
  padding: 10px 16px;
  border: 1px solid #ddd;
  background-color: transparent;
  -moz-border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  border-radius: 0rem;
  margin-top: 10px;
  color: #fff;
}

#api .accountButton:hover {
  color: #fff;
  background-color: #3693d0;
}

.claims-provider-list-text-links-bottom-under-form {
  text-align: left;
}

#AzureADContosoExchange {
  background-image: url("https://portal.middlebyresidential.com/files/midresuserlogin/office-icon_light_and_white.svg");
}

#AzureADContosoExchange:hover {
  background-image: url("https://portal.middlebyresidential.com/files/midresuserlogin/office-icon_light_and_white.svg");
}

#api .social .intro h2 {
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
}

@media (max-width: 100%) {
  #api {
    width: auto;
  }

  #api .social {
    top: 370px;
    width: auto;
  }

  #api .localAccount {
    top: 20px;
  }

  #api .localAccount .entry .entry-item {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  #api .localAccount .entry .entry-item .password-label {
    top: 145px;
  }

  #api .localAccount .entry .entry-item #logonIdentifier {
    height: 40px;
  }

  #api .localAccount .entry .entry-item #password {
    height: 40px;
  }

  #api .localAccount .entry .entry-item:nth-child(2) {
    width: auto;
    float: left;
  }

  #api .localAccount .entry .buttons #next {
    width: auto;
    text-indent: -4px;
    height: 40px;
    line-height: 0;
    position: relative;
    bottom: 5px;
    left: 8px;
  }
}

@media screen and (max-width: 320px) {
  #api {
    width: 100%;
    padding: 0 15px;
  }
  #api .localAccount .rememberMe {
    margin-top: 1.75rem;
    text-align: left;
    margin-left: 0;
    width: 100%;
  }

  #api .localAccount .entry .entry-item .password-label #forgotPassword {
    bottom: -1rem;
  }

  .forgot-password.center-height {
    top: 0;
    right: 12rem;
    position: relative;
  }
}

@media (max-width: 768px) {
  #api {
    width: 100%;
    padding: 5px 15px 15px 15px;
  }
}
