/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Global styles */

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

body {
  background-color: #ebf9fa;
  font-family: 'Ubuntu', sans-serif;
  color: #444;
  overflow-y: auto;
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(1, minmax(0px, 1fr));
  place-items: center;
  min-height: 100vh;
  padding: 32px 12px;
  line-height: 1.5;
}

h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
  color: #1f1f5c;
}

a {
  color: #1f1f5c;
  text-decoration: underline;
}

a:hover, 
a:focus {
  text-decoration: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

.logo {
  margin-bottom: 12px;
}

.logo img {
  width: 130px;
  height: 70px;
}

.container {
  width: 100%;
  max-width: 580px;
}

.main {
  position: relative;
  border-radius: 0.75rem;
  background-color: white;
  padding: 2rem;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.succes.pageLevel, 
.error.pageLevel {
  margin-bottom: 0.5rem;
}

.succes.itemLevel, 
.error.itemLevel {
  padding-bottom: 8px;
}

.succes.itemLevel:empty, 
.error.itemLevel:empty {
  display: none;
}

#api {
  display: grid;
  grid-auto-flow: row;
}

#api .intro {
  margin-bottom: 1.5rem;
}

#api input {
  width: 100%;
  border-radius: 0.5rem;
  border-width: 2px;
  border-color: rgb(229 231 235);
  padding: 0.5rem 0.7rem;
  transition: 0.3s border-color ease;
}

#api input:focus {
  border-color: #3CBECF;
  outline: 0;
}

#api button:not(#cancel) {
  border-radius: 2rem;
  padding: 0.6rem 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 500;
  background-color: #fcbc2c;
  color: #1f1f5c;
  transition: 0.3s background-color ease;
}

#api button:not(#cancel):hover,
#api button:not(#cancel):focus {
  background-color: #fd9e26;
}

#api button#cancel {
  display: block;
  padding: 0 0.5rem;
  color: #1f1f5c;
  text-decoration: underline;
  background: none;
}

#api button#cancel:hover, 
#api button#cancel:focus {
  text-decoration: none;
}

#api label {
  display: block;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: #1f1f5c;
}

#api .entry,
#api #attributeList > ul {
  display: grid;
  grid-auto-flow: row;
  gap: 1rem;
}

#api .entry > .entry-item > label,
#api .entry > .entry-item > .password-label,
#api .attrEntry > label {
  margin-bottom: 4px;
}

#api .entry > .entry-item label {
  display: inline-block;
}

#api .entry > .entry-item input {
  display: inline-block;
}

#api .entry > .working:empty {
  display: none;
}

#api .divider {
  display: none;
}

#api .create {
  margin-top: 1rem;
}

#api .create a {
  margin-left: 0.2em;
}

#api #forgotPassword {
  margin-bottom: 4px;
}

#api .password-label {
  display: grid;
  grid-auto-flow: row;
  justify-content: space-between;
}

#api > form > div.buttons,
#api .entry .buttons,
#api .verificationControlContent .buttons {
  display: grid;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

#api .entry .buttons {
  margin-top: 0;
}

#api > form button[aria-disabled="true"] {
  cursor: not-allowed;
  background-color: #fdeabe;
  color: #bfcec9;
}

#api .tiny {
  display: none;
}

#api .newPassword_li {
  border-spacing: 0.5rem;
  border-top: 2px solid rgb(229 231 235);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

#api .error {
  color: #cc5b49;
}

#api .succes {
  color: #2DAA66;
}

#simplemodal-container {
  background-color: white !important;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0 / 0.25) !important;
}

@media (min-width: 640px) {
  .main {
    padding: 3rem;
  }

  #api > form > div.buttons,
  #api .entry .buttons,
  #api .verificationControlContent .buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
  }

  #api button#cancel {
    text-align: left;
  }

  #api .password-label {
    grid-auto-flow: column;
  }
}