/* These styles are generated from project.scss. */

@font-face {
  font-family: ahkio;
  src: url(/static/fonts/Ahkio_Regular.otf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: optima;
  src: url(/static/fonts/Optima_Medium.ttf);
  font-weight: normal;
  font-style: normal;
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

body {
  font-family: ahkio;
  /*keep footer down*/
  display: flex;
  flex-direction: column;
  height: 100vh;
}

div .notice {
  color: #ffffff;
  background-color: #1E29A8;
  border-color: #1E29A;

}


div .error-message {
  color: #FFFFFF;
  background-color: #F2665C;
  border-color: #F2665C;

}

.navbar, .bg-light, .navbar-light, .navbar-brand {
  color: #FFFFFF;
  background-color: #22B573;
  border-color: #22B573;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, .9) ;
}

.navbar-dark .navbar-toggler-icon {
  background-image:  url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-dark .navbar-toggler.collapsed {
  border-color: rgba(34,181,115, 0.5);
}

.navbar-dark .navbar-toggler-icon.collapsed {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(34,181,115, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.myTitle {
  color: #1E29A8;
  font-size: 2rem;
  text-align: left;
}

.clave-font {
  font-family: Optima;
  color: #000000;
  font-size: 2rem;
  text-align: left;
}

h1 {
  color: #1E29A8;
  font-size: 2rem;
  text-align: center;
}

h3 {
  color: black;
  font-family: "Century Gothic","Apple Gothic",AppleGothic,"URW Gothic L","Avant Garde",Futura,sans-serif;

}

.error {
  font-family: "Century Gothic","Apple Gothic",AppleGothic,"URW Gothic L","Avant Garde",Futura,sans-serif;
}

.main-content {
    margin: auto;
    width: 350px;
}

footer{
    display: table;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.7rem;
    font-family: "Century Gothic","Apple Gothic",AppleGothic,"URW Gothic L","Avant Garde",Futura,sans-serif;
}

.access, .balance, .history, .calendar {
    font-family: Century Gothic, Futura, sans-serif;
    margin: 35px 10px 30px 10px;
}

.access-help {
    font-family: Century Gothic, Futura, sans-serif;
    font-weight: 400;
}

table {
    width: 100%;
}

.access td, .balance td {
    padding-right: 10px;
}

.calendar td, .history td {
    padding: 5px 0px;
}

.image-adelio {
    display: block;
    margin-left:auto;
    margin-right: auto;
    margin-top: 30px;
}

.image-access-help {
    display: block;
    margin-left:auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*keep footer down*/
.content{
  flex: 1 0 auto;
  padding: 20px;
}

/*Dynamic Input*/

/* Additional indent for form-group because label will move up */
:root {
    --mi-animation-speed: 0.314s;
    --mi-label-default-color: rgba(0, 0, 0, 0.314);
    --mi-indent-top: 15px;
    --mi-indent-left:12px;

    --mi-label-focus-color: dodgerblue;
    --mi-invalid-color: firebrick;
    --mi-bg-color: white; /* should match parent container color */
}

.material-form-group {
    margin-top: var(--mi-indent-top);
    position: relative;
}

/* Move placeholder up on focus and by default (when it is not empty) */
/* .material-form-group input:placeholder-shown + label ---- will overwrite it when empty */

.material-form-group label {
    position: absolute;
    transform-origin: 0 150%;
    margin-left: var(--mi-indent-left);
    transition: var(--mi-animation-speed);
    -webkit-user-select: none;
    user-select: none;
    color: var(--mi-label-default-color);
}

/* The only way to handle if input field is not empty - detect by :placeholder-shown :(( */
.material-form-group input:placeholder-shown + label {
    top: 50%;
    transform: scale(1, 1) translateY(-50%);
    background: transparent;
}

/* Remove placeholders text. Placeholder should not be empty. */
.material-form-group input::-webkit-input-placeholder {
    color: transparent;
}

.material-form-group input:focus + label {
    color: var(--mi-label-focus-color);
}

.material-form-group input:focus + label,
.material-form-group label {
    top: -100%;
    transform: scale(0.8, 0.8) translateY(100%);
    background: var(--mi-bg-color);
}

/* Validation Failed */
.material-form-group input:invalid + label:after {
    color: var(--mi-invalid-color);
    content: "";
    margin-left: 0.314rem;
}

/*Submit Button*/
/* Ripple effect */
.ripple {
  background-position: center;
  transition: background 0.8s;
}
.ripple:hover {
  background: #47a7f5 radial-gradient(circle, transparent 1%, #47a7f5 1%) center/15000%;
}
.ripple:active {
  background-color: #6eb9f7;
  background-size: 100%;
  transition: background 0s;
}

/* Button style */
button {
  border: none;
  border-radius: 2px;
  padding:15px;
  margin: 1px;
  text-transform: uppercase;
  cursor: pointer;
  color: white;
  background-color: #2196f3;
  box-shadow: 0 0 4px #999;
  outline: none;
}

.payment-button {
    width: 58%;
}

.banks-info {
    margin: 5px;
}

.banks-info-title{
    margin-left: 1%;
}

footer{
  position: bottom;
  height: 100px;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #22B573;
}

.vertical-alignment {
    margin-top: 2.5%
}

/* consult quota */

.qa-style {
  max-width: 19.4rem;
  padding: 1rem;
}

.qa-result {
    background-color: #007FFF;
}
