/* RESET CSS http://meyerweb.com/eric/tools/css/reset/ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite,
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;
}

/* GENERAL */

body{
	min-height:100vh;
	font-family: 'Roboto', sans-serif;
}

.material-symbols-outlined {
  user-select: none;
}

/*********************/

* {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.5em;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  font-style: italic;
  color: #373fff;
  max-width: calc(100% - 5rem);
  line-height: 1.1;
}

form {
  background-color: #eee;
/*  display: grid;*/
  grid-gap: 1em;
  padding: 1em;
  width: 100%;
}

input[type='text'], input[type='email'] {
  border: 1px solid silver;
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
  padding: 5px;
  width: 100%;
}

button, .a-button {
  background-color: #242A75;
  color: white;
  border: 2px solid #242A75;
  border-radius: .25em;
  cursor: pointer;
  font-size: inherit;
  line-height: 1.4em;
  padding: 0.25em 1em;
  max-width: 30ch;
  margin: 5px;
}
.a-button {
  margin-top: 15px;
  text-decoration: none !important;
  color: white !important;
  display: inline-block;
}

.button-red {
  background-color: rgb(219, 40, 40);
  border: 2px solid rgb(219, 40, 40);
}

#settings {
  color: #EEE;
  font-size: 120%;
  margin-right: 10px;
}
#settings:hover {
  color: #444;
  cursor: pointer;
}

div.header {
  border-top: 22px solid #242A75;
	background: rgba(255, 255, 255, 1);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(240, 240, 240, 1) 100%);
	box-shadow: 0px 5px 8px #767676;
  width: 100%;
  max-height: 100px;
}

div.header img {
  height: 50px;
}

a:link, a:visited {
  text-decoration: none;
  color: #1992ca;
}

a:hover {
  text-decoration: underline;
}
.btn:hover {
  color: #1992ca;
  cursor: pointer;
}

footer {
  position: fixed;
  bottom: 0;
  background-color: #242A75;
  color: white;
  text-transform: uppercase;
  font-size: 80%;
  width: 100%;
  display: table;
  padding: 5px 0;
  line-height: normal;
  height: 35px;
}

footer a:link, footer a:visited {
  color: white;
}
footer span {
  display: table-cell;
  text-align: center;
  width: 33%;
  vertical-align: middle;
}
footer.fwhite {
  box-shadow: 0 -25px 25px white;
}

div.formfooter {
  width: 100%;
}

span.signup, span.login {
  padding: 10px 0;
  float: left;
}

span.privacy {
  float: right;
  color: black;
  padding: 10px 0;
  font-size: 80%;
}
span.privacy a, span.privacy a:visited  {
  color: initial;
}

.signup, .hidden {
  display: none;
}

.right {
  position: absolute;
  right: 1rem;
}

.error {
  color: rgb(219, 40, 40);
  margin: 1em 0;
}

#formdiv, #out, #loading, #failed, #done {
  margin: 0 20px;
}
#formdiv p, #out p, .container > p {
  margin-top: 1em;
  margin-bottom: 1em;
}
#out, .out, #loading, #failed, #done {
  text-align: center;
}
#out img, .out img {
  max-height: 128px;
  margin: 20px 0;
}
#out p, .out p {
  margin-block-start: 0;
}
.container {
  margin: 20px 4rem 70px 4rem;
}

.title {
  padding: 1em;
  font-size: 24px;
  border-bottom: 2px solid black;
}
.title span.help, .title span.userbox {
  font-size: 12px;
  float: right;
  vertical-align: middle;
}
.title span {
  vertical-align: middle;
}
.title p {
  font-variant-caps: small-caps;
  display: inline-block;
}

.acttype {
  padding: 1em;
  font-size: 18px;
}

#admin-for {
  background-color: lightpink;
}

.admin-logs {
  list-style: circle;
  list-style-position: inside;
}
.admin-logs li {
  margin: 10px;
}
.admin-status td {
  padding: 10px;
}
.admin-status td button.warning {
  font-weight: bold;
  color: #db2828;
  margin: 5px 5px 5px 0;
}
#upgrade-status input, #upgrade-status label {
  display: inline;
  width: initial;
}
#upgrade-status label {
  white-space: nowrap;
}

#tab-ht-pending a.clean {
  text-decoration: none;
}

#tab-ht-pending .data-none {
  margin: 20px 40px;
}

.authr-help-div {
  display: none;
}
.authr-help-div td {
  padding: 5px 10px;
}
.authr-help-div td:first-child {
  font-weight: bold;
}

/*   -------- TRANSFER ----------    */

#transfer-form, #sign-app, #sign-web, #buttons {
  background-color: #eee;
}
#transfer-form form {
  max-width: 800px;
}
#buttons {
  padding: 15px;
}
#buttons.centered {
  padding: 10px 0 30px 0;
  text-align: center;
}
#buttons button {
  min-width: 10rem;
}
#buttons button.cancel {
  background-color: #aaa;
  color: black;
  margin-right: 20px;
}
.auth-butn {
  min-width: 30%;
}
.buttons {
  text-align: center;
}
.select-css {
  display: block;
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 700;
  color: #444;
  line-height: 1.3;
  padding: .6em 1.4em .5em .8em;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, .04);
  border-radius: .5em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
    linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
}

.select-css::-ms-expand {
  display: none;
}

.select-css:hover {
  border-color: #888;
}

.select-css:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222;
  outline: none;
}

.select-css option {
  font-weight: normal;
}

.transfer-input {
  width: auto;
  padding: 10px 20px;
}

#transfer-confirm {
  display: none;
}

.authr-info {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.credName {
  vertical-align: top;
  color: #1992ca;
  cursor: pointer;
}

/* Step arrows */
/* from http://www.sakurabrae.co.uk/blog/work/css-step-arrows */

.multi-form-steps ul{
  list-style: none outside none;
  width:100%;
  padding:0;
  margin:20px 0 !important;
  display: flex;
}
.multi-form-steps ul li{
  display: inline-block;
  background:#d9e3f7;
  position:relative;
  height:36px; /* double arrow wrapper height */
  overflow: hidden;
}
.multi-form-steps ul li.previous-active .arrow-background,
.multi-form-steps ul li.active{
  background: #242A75;
}
.multi-form-steps ul li .arrow-background{
  position:absolute;
  display:inline-block;
  right:0;
}
.multi-form-steps ul li span.step-text{
  padding:0 20px;
  line-height:100%;
  color: #666;
  display:inline-block;
  vertical-align:middle;
  margin-top:10px;
  height:36px; /* double arrow wrapper height */
  overflow: hidden;
}
.multi-form-steps ul li.active .arrow-background{
  background:#d9e3f7;
}
.multi-form-steps ul li span.arrow-wrapper{
  position:relative;
  display:inline-block;
  vertical-align:middle;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 18px solid #FFF;
}
.multi-form-steps ul li.last span.arrow-wrapper{
  border-left: 18px solid #d9e3f7;
}
.multi-form-steps ul li span.arrow{
  display:block;
  position:absolute;
  top:-12px; /* height of THIS arrow - arrow wrapper - 2px */
  left:-18px; /* width of arrow-wrapper */
  width: 0;
  height: 0;
  border-top: 12px solid transparent;/* arrow wrapper - 2px */
  border-bottom: 12px solid transparent;/* arrow wrapper - 2px */
  border-left: 12px solid #d9e3f7;/* arrow wrapper - 2px */

}
.multi-form-steps ul li.active span.arrow,
.multi-form-steps ul li.last.active span.arrow-wrapper {
  border-left: 12px solid #242A75;/* arrow wrapper - 2px */
}
.multi-form-steps ul li.last.active span.arrow-wrapper,
.multi-form-steps ul li.last.active .arrow-background{
  background:#242A75 !important;
}
/* set the width for the 4 step bar */
.multi-form-steps ul.step-4 li{
  width:25%;
}
.multi-form-steps ul li.active span.step-text{
  color:#fff;
}

#transfer-form table {
  width: 100%
}

#transfer-form table td {
  vertical-align: middle;
  padding: 15px 15px;
  font-size: 18px;
  margin: 10px 0;

}
#transfer-form table.review {
  border-collapse:separate;
  border-spacing:0 15px;
  width:90%;
}
#transfer-form table.review tr {
  border: 1px solid rgba(34, 36, 38, .1) !important;
  border-right: none !important;
  border-top: none !important;
  border: 1px solid #aaa;
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);

  border-radius: 3px;
  padding: 15px 30px;
  justify-content: space-between;
  margin-bottom: 15px;
}
#transfer-form table.review td {
  text-align:left;
  background-color:#FFF;
}
#transfer-form table.review td:first-child {
  font-weight: bold;
  background: rgba(230, 230, 230, 1);
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(230, 230, 230, 1) 100%) !important;
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(20%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(230, 230, 230, 1))) !important;
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(230, 230, 230, 1) 100%) !important;
  background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(230, 230, 230, 1) 100%) !important;
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(230, 230, 230, 1) 100%) !important;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 20%, rgba(230, 230, 230, 1) 100%) !important;
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f0f0f0', GradientType=0) !important;
}

#step-desc {
  padding: 5px 0 25px 20px;
  font-size: 18px;
  font-weight: bold;
}
#sign-app .out, #sign-web .out {
  /*max-width: 800px;*/
  padding: 20px;
}

#tx-details {
  margin: 10px auto;
  border: 2px solid;
}

#tx-details td {
  padding: 5px;
  text-align: left;
  border: 1px solid;
}
#tx-details th {
  background-color: #d9e3f7;
  font-weight: bold;
}

/*   ------------------    */

body.index {
  background-image: url("/img/background.png");
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
}

.box-container {
  position: relative;
}

.box {
  position: fixed;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  background: white;
  border: 1px solid;
  width: 500px;
  left: 50%;
}

.box-title {
  width: 100%;
}

.box-title img {
  width: 100%;
  margin-left: 0px;
  padding-top: 10px;
  padding-left: 1%;
  border-bottom: 4px solid #242A75;
}

div.progress {
  width: 250px;
  margin: 0 auto 15px auto;
  border: solid 1px  #242A75;
  height: 7px;
  background-color: whiteSmoke;
  border-radius: 5px;
}

div.progress div {
  width: 100%;
  height: 104%;
  background-color: #242A75;
  border-radius: 3px;
}

#qrcode img {
  margin-left: auto;
  margin-right: auto;
  min-width: 250px !important;
  min-height: 250px !important;
}

.qrid {
  font-weight: bold;
  color: #242A75;
}

/* for 480px or less */
.mob {
  display: none;
}


#div-card {
  width: 500px;
  background: url("img/card.png") top left;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 30px;
  display: inline-block;
}
#div-show-card, #div-shopping, #div-info  {
  margin: 60px 0 0 10px;
  display: inline-block;
  vertical-align: top;
}
.blur {
  color: transparent;
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
}
#div-pan {
  padding: 0;
  margin: 25px 0 0 35px;
}
#div-holder {
  padding: 0;
  margin: 0 0 0 35px;
}
#div-exp {
  padding: 0;
  margin: 40px 0 30px 50px;
}
#card-pan, #card-holder {
  padding: 10px 10px;
  width: 230px;
}
#card-holder::first-letter {
  text-transform: capitalize;
}
#card-month, #card-year, #card-cvc {
  padding: 10px 10px;
  text-align: center;
  display: inline;
}
#card-month {
  margin-left: 40px;
  width: 40px;
}
#card-year {
  margin-left: 25px;
  width: 40px;
}
#card-cvc {
  margin-left: 210px;
  width: 50px;
}

@media screen and (max-width: 480px) {
  .mob {
    display: inherit;
  }
  .qrc {
    display: none;
  }
  .box {
    width: 350px;
    max-width: 100%;
  }
  footer {
    height: auto;
  }
  footer span {
    padding: 0 5px;
  }
  footer span:not(:last-child) {
    border-right: 1px dotted white;
  }
  #loginbut-oob {
    display: none;
  }

  #div-card {
    width: 350px;
  }
  #div-pan {
    margin: 10px 0 0 15px;
  }
  #div-holder {
    margin: 0 0 0 15px;
  }
  #div-exp {
    margin: 22px 0 20px 20px;
  }
  #card-pan, #card-holder {
    padding: 5px 5px;
    width: 220px;
  }
  #card-month, #card-year, #card-cvc {
    padding: 5px 5px;
  }
  #card-month {
    margin-left: 40px;
    width: 30px;
  }
  #card-year {
    margin-left: 20px;
    width: 30px;
  }
  #card-cvc {
    margin-left: 140px;
    width: 40px;
  }
  .htab {
    font-size: 80%;
  }

}

/* account table */

.responsive-table li {
  border-radius: 3px;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.responsive-table  .table-header {
  background-color: #95A5A6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.responsive-table .table-row {
  background-color: #eee;
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
  border: 1px #dbdbdb solid;
}
.responsive-table .col-1 {
  flex-basis: 25%;
}
.responsive-table .col-2 {
  flex-basis: 15%;
}
.responsive-table .col-3 {
  flex-basis: 15%;
}
.responsive-table .col-4 {
  flex-basis: 15%;
}

.responsive-table .col-5 {
  flex-basis: 5%;
  text-align: center;
}

.responsive-table .col-6 {
  flex-basis: 5%;
  text-align: center;
}

ul.responsive-table {
  margin-right: 1rem;
}

@media all and (max-width: 767px) {
  ul.responsive-table {
    padding: 0 10px;
    margin: 5px;
  }
  .responsive-table .table-header {
    display: none;
  }
  .responsive-table li.table-row {
    padding: 5px;
  }
  .responsive-table li {
    display: block;
  }
  .responsive-table .col {
    flex-basis: 100%;
  }
  .responsive-table .col {
    display: flex;
    padding: 5px 0;
  }
  .responsive-table .col:before {
    color: #6C7A89;
    padding-right: 10px;
    content: attr(data-label);
    flex-basis: 50%;
    text-align: right;
  }
  .container {
    margin: 10px 0 100px 0;
  }
  .container > p {
    padding: 0 20px;
  }
  #logonbox {
    max-height: initial;
  }
  #logonbox > span {
    display: block;
   }
  #logonbox div.right {
    position: relative;
    margin-left: auto;
    margin-right: 0;
    right: auto;
    min-width: 105px;
  }
  span.step-text-op {
    display: none;
  }
  #transfer-form table,
  #transfer-form table tr,
  #transfer-form table td,
  #transfer-form table.review,
  #transfer-form table.review tr,
  #transfer-form table.review td {
    display: block;
    width: 100%;
  }
  #transfer-form table tr,
  #transfer-form table.review tr {
    padding: 5px;
    display: inline-block;
  }
  #transfer-form table td,
  #transfer-form table.review td {
    margin: 0;
    padding: 10px;
  }
  #transfer-form form {
    padding-bottom: 0;
  }
  #buttons {
    margin: 0;
    padding: 10px 0 20px 15px;
  }
  #buttons button {
    width: 8rem;
  }
  nav.navbar .fullscreen {
    display: none;
   }

}

nav.navbar{
	position:relative;
	height:50px;
	background-color:#3c3c3c;
	z-index:2;
  background-color: #F4F4F4;
  box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
  border-radius: .28571429rem;
  border: 1px solid rgba(34,36,38,.15);
  font-size: 120%;
  font-variant-caps: small-caps;
}
nav.navbar .material-symbols-outlined {
  font-variant-caps: normal;
}
nav.navbar .fullscreen {
  vertical-align: 4px;
}
nav.navbar ul {
  display: flex;
}
nav.navbar li {
  padding: 10px;
  width: 25%;
  text-align: center;
}

nav.navbar a:link, nav.navbar a:visited {
    text-decoration: none;
    color: black;
}
nav.navbar a:hover {
  color: #1992ca;
}

/** Config **/

h1 {
  margin: 20px auto;
  padding: 5px;
  font-size: 120%;
  font-style: normal;
  color: white;
  background-color: #242A75;
  text-align: center;
}
table.config {
  margin: 20px;
  width: 90%;
}
table.config tr {
  border-top-color: #1992ca;
  border-top-style: dashed;
  border-top-width: 1px;
}
table.config tr:first-of-type {
  border-top: hidden;
}
table.config tr td:first-of-type {
  text-align: right;
}
table.config td {
  padding: 5px 5px;
  vertical-align: middle;
}
table.config input {
  display: inherit;
  font-size: inherit;
  margin-bottom: auto;
  padding: inherit;
  width: inherit;
}
#buttons.config {
  margin-top: 20px;
}

.configs {
  display: flex;
  flex-wrap: wrap;
}
.configs div {
  flex: 1 1 250px; /*  Stretching: */
  margin: 5px;
}

select[multiple] {
  field-sizing: content;
  overflow: auto;
  max-height: 90px;
}

#policy-desc {
  width: 100%;
  border-collapse: collapse;
}
#policy-desc td {
  padding: 0 5px;
  border: solid 1px black;
}
#policy-desc td:first-child {
  background-color: #ddd;
  text-align: right;
}
#policy-desc ul {
  list-style: inside;
}

input.admin {
  width: 35%;
  display: inline-block;
}

.sensitive {
  display: none;
}

.htab {
  padding: 5px 10px;
  color: rgb(110, 110, 110);
  background-color: #ececec;
  display: inline-block;
  line-height: normal;
  margin: 5px 0 0 0;
  outline: 1px solid black;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.htab-box {
  margin: 1em 0;
  padding: 0 1em;
  font-size: 20px;
}

.htab-active {
  color: black;
  outline: 2px solid black;
  background-color: #c4c4c4;
}
.tab {
  /* don't use "display:none" so that sensitive display toggling applies to all tabs */
  visibility: collapse;
  height: 0;
}
.tab-active {
  visibility: visible;
  height: auto;
  padding-bottom: 20px;
}

#admins {
  margin: 15px;
}

#users-filter {
  margin-top: 10px;
}
#users-filter td {
  padding: 5px 15px;
}
#users-filter td:first-of-type {
  text-align: right;
}
#users-filter td:first-of-type a {
  float: left;
  margin-right: 10px;
}
#users-filter input, #users-filter select {
  display: initial;
  width: auto;
}
#no-user td {
  font-weight: bold;
  font-style: italic;
  padding: 20px 0 40px 15px;
}
.working {
  cursor: not-allowed !important;
}
button.working {
  background-color: lightgray;
  border-color: lightgray;
}
span.working, span.working:hover {
  color: lightgray;
}
.working:hover {
  text-decoration: none;
}
