html, body {
    height:100%;
}

body {
    font-family: 'Lato', serif;
    text-align:center;
    color: #31434a;
    letter-spacing:normal;
    margin: 0;
    background: #fafafa;
}
.container {
    max-width: 992px;
    margin: 0 auto;
}
.spin {
    -webkit-animation: rotate 1s infinite;
    animation: rotate 1s infinite;
}
input:not([type='submit']) {
    border: 1px solid #ced4da;
    border-radius: 5px;
    line-height: 20px;
    width: 100%;
    font-size: 16px;
    padding: 14px;
    margin-top: 5px;
    margin-bottom: 24px;
    background: transparent;
}
input:not([type='submit']):focus {
    outline: none !important;
    border:1px solid #4c9ce5;
}

::placeholder {
    color: #808080;
}

img {
    vertical-align: middle;
}
form {
    width: 300px;
    margin: 0 auto;
}
.form-field {
    display: inline-block;
    width: 300px;
}

label {
    float: left;
    font-size: 14px;
    color: #31434a;
}

.is-hidden {
    display: none;
}

.error {
    position: absolute;
    left: 0;
    right: 0;
    font-size: 12px;
    margin: auto;
    color: #ff0000;
    letter-spacing: normal;
}

.title {
    margin: 0;
    padding-top: 100px;
    padding-bottom: 56px;
    line-height: 1.38;
    font-size: 24px;
    color: #31434a;
    font-weight: normal;
}

.subtitle {
    line-height: 1.38;
    font-size: 24px;
    color: #31434a;
    font-weight: normal;
}

.btn {
    display: inline-block;
    padding: 16px 30px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: none;
    border-radius: 8px;
    color: #fff;
    text-transform: uppercase;
}
.btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}
.btn:focus {
    outline: none;
}
.btn i {
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}
.btn span {
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}
.btn-leaked,
.btn-filled {
    width: 330px;
}
.btn-leaked {
    background-color: #ffffff;
    font-weight: bold;
}

.back {
    color: #555;
    text-align: left;
    text-decoration: none;
    font-size: 14px;
    padding: 16px;
    margin: 16px;
    cursor: pointer;
    position: absolute;
    z-index: 1;
}
.back span {
    font-size: 30px;
}

@media (min-width: 769px) {
    .back {
        position: absolute
    }
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    top: 0;
    border: 0;
}
.spinner {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 100%;
    z-index: 0;
}
.spinner::before, .spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@-webkit-keyframes rotate {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spinner .center-piece-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 100%;
    box-sizing: border-box;
    border: 3px solid #ffffff;
    -webkit-animation: rotate 0.8s linear infinite;
    animation: rotate 0.8s linear infinite;
}
.spinner .center-piece {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 100%;
    box-sizing: border-box;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid #000000;
    -webkit-animation: rotate 0.8s linear infinite;
    animation: rotate 0.8s linear infinite;
}
.spinner-wrapper {
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-areas: "canvas";
}
.spinner-canvas {
    grid-area: canvas;
    align-self: center;
    justify-self: center;
}

.address-cep-error {
    margin-top: -24px;
    font-size: 12px;
    color: red;
}
