/** basic authentication page
------------------------------ **/
body {
  background: #eee;
  font-size: 14px;
  margin-top: 50px;
}

#ams-basicAuthentication {
  max-width: 460px;
  margin: auto;
}
#ams-basicAuthentication .ams-basicAuthentication-contents {
  margin-bottom: 20px;
  padding: 20px;
  border: solid 1px #ddd;
  border-bottom-width: 2px;
  background: #fff;
}
#ams-basicAuthentication .ams-basicAuthentication-contents h2, #ams-basicAuthentication .ams-basicAuthentication-contents p {
  margin: 0;
}
#ams-basicAuthentication .ams-basicAuthentication-contents h2 {
  border: none;
  background: none;
  padding: 0;
  margin-bottom: 10px;
  font-size: 18px;
}
#ams-basicAuthentication .ams-basicAuthentication-contents p {
  padding: 0 0 5px;
}
#ams-basicAuthentication .ams-basicAuthentication-contents form.ams-basicAuthentication-form {
  margin-top: 5px;
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table {
  width: 100%;
  border-collapse: collapse;
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table th {
  text-align: left;
  font-size: 12px;
  font-weight: normal;
  width: 70px;
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table td button {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  box-sizing: border-box;
  padding: 4px 9px;
  border: solid 1px #BDBDBD;
  border-bottom-width: 2px;
  border-radius: 3px;
  line-height: 19px;
  background: #FAFAFA;
  background: linear-gradient(#ffffff, #f5f5f5);
  color: #212121;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  line-height: 25px;
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table td button.ams-button-primary {
  width: 120px;
  background: #1E88E5;
  border-color: #1565C0;
  color: #fff;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table th, #ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table td {
  padding: 5px;
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table tr:hover {
  background: #eee;
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table tfoot td button {
  margin: 10px 0;
}
#ams-basicAuthentication .ams-basicAuthentication-contents table.ams-basicAuthentication-table input.ams-input.ams-input-wide {
  box-sizing: border-box;
  width: 100%;
  padding: 3px;
  border: solid 1px #BDBDBD;
  border-radius: 3px;
  font-size: 14px;
}
#ams-basicAuthentication .ams-basicAuthentication-footer {
  line-height: 1;
  color: #616161;
  font-size: 12px;
}

/*
 @media screen smartphone
*/
@media screen and (max-width: 480px) {
  body {
    margin-top: 20px;
  }

  #ams-basicAuthentication {
    width: 90%;
    margin: 0 auto;
  }
  #ams-basicAuthentication table.ams-basicAuthentication-table tfoot td button {
    margin: 0 !important;
  }
}
