:root {
    --laranja: rgba(251, 132, 0, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background-color: #f5f5f5;
}

main.login {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.alterarApi {
    color: #ffffff70;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
    background-color: #fff;
    border-radius: .3rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.txt-laranja {
    color: var(--laranja);
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}


/* teste de css */

.form-controlLabel {
    /* width: 320px;
    font-family: Verdana, sans-serif; */
    position: relative;
    margin: 20px auto;
}

.form-controlLabel input {
    display: block;
    outline: none;
    width: 100%;
    border: 1px solid #f4f4f4;
    background-color: #f4f4f4;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 400;
    margin-top: 5px;
    padding: 10px;
    font-size: 16px;
    color: #495057;
}

.form-controlLabel input:focus {
    border: 1px solid #2c7ac9;
}

.form-controlLabel label {
    display: block;
    position: absolute;
    left: 10px;
    top: 8px;
    color: #aaa;
    font-size: 20px;
    -webkit-transition: .2s;
    transition: .2s;
}

.form-controlLabel input:valid+label,
.form-controlLabel input:focus+label {
    top: 0;
    font-size: 12px;
}

.error {
    display: none;
}


/* leitor de QRcode */

#webcodecam-canvas {
    background-color: #272822;
}

.well {
    position: relative;
    display: block;
}

.scanner-laser {
    position: absolute;
    margin: 20px;
    height: 30px;
    width: 30px;
    opacity: 0.3;
}

.laser-leftTop {
    top: 0;
    left: 0;
    border-top: solid red 5px;
    border-left: solid red 5px;
}

.laser-rightTop {
    top: 0;
    right: 0;
    border-top: solid red 5px;
    border-right: solid red 5px;
}

.laser-rightBottom {
    bottom: 0;
    right: 0;
    border-bottom: solid red 5px;
    border-right: solid red 5px;
}

.laser-leftBottom {
    bottom: 0;
    left: 0;
    border-bottom: solid red 5px;
    border-left: solid red 5px;
}

a {
    text-decoration: none;
    color: #4e5157;
}

a:hover {
    color: var(--laranja);
}

.dark-color {
    /* background: #0dcaf0; */
    background: #4a4a4a;
}

.txtVersao {
    font-size: .7rem;
    color: var(--laranja);
    font-weight: bold;
}

.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox {
    display: block !important;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.header-inicial {
    background-color: rgb(255, 255, 255);
}
.btnSobre, .alterarApi{
    color: #495057;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(15px);
    -ms-transform: translateX(15px);
    transform: translateX(15px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* button.close {
  border: none;
} */

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

@media only screen and (max-width: 500px) {
    #modalSobre h4 {
        font-size: calc(1.205rem + .3vw);
    }
}


/* MODAL LOADING */

.loading {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.errorLoading {
    display: none;
}

.titleLoading {
    margin-top: 5%;
    text-align: center;
}

.modalLoading {
    margin-top: 50%;
}

.laranja {
    background-color: rgba(251, 132, 0, 1);
    animation: go-back-preto 2s infinite alternate;
}

.preto {
    background-color: rgb(121, 121, 121);
    animation: go-back-laranja 2s infinite alternate;
}

.quadrado {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

@keyframes go-back-preto {
    from {
        transform: translateX(100%);
        background-color: rgb(121, 121, 121);
    }

    to {
        transform: translateX(0);
        background-color: rgba(251, 132, 0, 1);
    }
}

@keyframes go-back-laranja {
    from {
        transform: translateX(100%);
        background-color: rgba(251, 132, 0, 1);
    }

    to {
        transform: translateX(0);
        background-color: rgb(121, 121, 121);
    }
}