:root {
--primary: #662d91;
--secondary: #ffffff;
}

body {
    margin: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.login {
    display: flex;
    flex-direction: row;
    height: 95vh;
}

.formulario {
    width: 335px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 25px;
}

.formulario h3 {
    color: var(--primary);
    font-weight: bold;
    text-align: center;
}

.formulario .alertas ul {
    margin-bottom: 0;
}

.formulario label {
    font-weight: bold;
    color: rgb(116, 116, 116);
}

.formulario .condominio p {
    font-size: 12px;
    color: var(--primary);
    font-weight: bold;
}

.formulario input {
    border: 2px solid var(--primary);
    border-radius: 3px;
    padding: 2px 6px;
}

.formulario input::placeholder {
    color: rgb(199, 198, 198);
    font-size: 12px;
}

.formulario button {
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 3px;
    padding: 5px 40px;
}

.formulario a {
    color: var(--primary);
    text-decoration: none;
}

.logo {
    width: 300px;
}

.logo img {
    width: 100%;
}

.rodape p {
    text-align: center;
    color: rgb(116, 116, 116);
}

.rodape p img {
    height: 16px;
    margin-bottom: 4px;
}

.quadro {
    height: 108vh;
    background-color: rgba(102, 45, 145, 0.5);
    width: 480px;
    border-radius: 30px;
    transform: rotate(341deg);
    position: absolute;
    left: -9%;
    top: -5%;
    z-index: 99;
    background-image: url("../images/loginpage-background.jpg");
    background-size: cover;
    background-position: 35% 100%;
}

.fundo {
    height: 108vh;
    background-color: rgba(102, 45, 145, 0.5);
    width: 480px;
    border-radius: 30px;
    transform: rotate(341deg);
    position: absolute;
    left: -9%;
    top: -5%;
    z-index: 999;
}

.quadro-menor {
    height: 58vh;
    background-color: rgb(232 232 232);
    width: 370px;
    border-radius: 25px;
    transform: rotate(315deg);
    position: absolute;
    left: 0%;
    top: -1%;
}

.topo {
    height: 65px;
    background-color: var(--secondary);
    display: flex;
    flex-direction: row;
    box-shadow: 0px -6px 10px 0px rgba(0,0,0,0.53);
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.topo .condominio {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.topo .condominio .foto {
    height: 45px;
    margin-right: 15px;
}

.topo .condominio .foto img {
    max-height: 100%;
}

.topo .condominio .nome {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 0;
}

.topo .usuario {
    display: flex;
    flex-direction: row;
}

.topo .usuario .foto {
    height: 45px;
    margin-right: 5px;
}

.topo .usuario .foto img {
    max-height: 100%;
    border-radius: 50%;
}

.topo .usuario .info {
    color: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topo .usuario .info p {
    margin: 0;
    font-size: 12px;
}

.topo .usuario .sair {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.topo .usuario .sair svg {
    height: 20px;
    fill: var(--primary);
}

.conteudo {
    min-height: calc(100vh - 65px);
    background-color: #f0eded;
    padding-bottom: 2.5rem;
}

.conteudo .titulo {
    color: var(--primary);
    text-align: center;
    padding-top: 4rem;
    margin: 0;
    font-weight: bold;
}

.conteudo .nome-funcionario {
    color: var(--primary);
    text-align: center;
    padding: 2rem 0 2.5rem;
    font-size: 29px;
    margin: 0;
}

.conteudo .criar-qr {
    color: var(--primary);
    text-align: center;
    padding: 2rem 0 2.5rem;
    font-size: 20px;
    margin: 25px auto 0;
    font-weight: bold;
    border-top: 1px solid var(--primary);
    width: 55%;
}

.conteudo .add-checklist {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    width: 55%;
    margin: 0 auto;
}

.conteudo .add-checklist div {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    padding: 15px 50px;
    font-size: 21px;
    background-color: var(--primary);
    color: var(--secondary);
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.75);
    cursor: pointer;
}

#condominio-lista {
    background-color: #e5c8fc;
    margin-top: 5px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--primary);
}

#condominio-lista ul {
    padding: 10px 5px;
}

#condominio-lista ul li {
    cursor: pointer;
    padding: 2px 18px;
}

#condominio-lista ul li:hover {
    background-color: var(--secondary);
}

.conteudo .titulo-checklists {
    color: var(--primary);
    text-align: center;
    padding: 3rem 0;
    margin: 0;
    font-weight: bold;
}

.table-villa {
    overflow-x: auto;
    padding: 0 15px;
}

.table-villa table {
    width: 100%;
    min-width: 600px;
    text-align: center;
    margin: 10px 0 30px;
    box-shadow: 0px 3px 7px -4px rgba(0,0,0,0.75);
    border-collapse: collapse;
}

.table-villa .table-config-qr {
    width: 75%;
    min-width: 500px;
    text-align: center;
    margin: 10px auto 30px;
    box-shadow: 0px 3px 7px -4px rgba(0,0,0,0.75);
}

.table-villa .table-config-qr .qrcode {
    width: 120px;
    margin: 0 auto;
}

.table-villa .table-config-qr .qrcode img {
    width: 100%;
}

.table-villa .table-config-qr .botoes {
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 6px 0;
}

.table-villa .table-config-qr .botoes .baixar-qr {
    color: #26b702;
    text-decoration: none;
}

.table-villa table thead {
    color: var(--primary);
    background-color: #c3c2c2;
}

.table-villa table thead th,
.table-villa table tbody td {
    padding: 8px;
    border-left: 2px solid var(--secondary);
    border-right: 2px solid var(--secondary);
}

.table-villa table tbody {
    color: #6f329e;
    font-size: 13px;
}

.table-villa table tbody tr:nth-child(odd) {
    height: 80px;
    min-height: 80px;
    background-color: #b16fe33d;
}

.table-villa table tbody tr:nth-child(even) {
    height: 80px;
    min-height: 80px;
    background-color: #fff;
}

.table-villa table .botoes {
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    margin: auto;
    padding: 6px 0;
}

.table-villa table .botoes .detalhes {
    color: var(--primary);
    text-decoration: none;
}

.table-villa table .botoes .editar {
    color: #ffb203;
    text-decoration: none;
    margin: 6px 0;
}

.table-villa table .botoes .excluir {
    color: #f70404;
    text-decoration: none;
}

.conteudo .titulo-checklist {
    color: var(--primary);
    text-align: center;
    padding: 4rem 0 3rem;
    margin: 0 auto;
    width: 55%;
    border-bottom: 1px solid var(--primary);
    font-weight: bold;
}

.conteudo .protocolo-checklist {
    color: var(--primary);
    text-align: center;
    padding: 2rem 0 3rem;
    margin: 0 auto;
    width: 55%;
    border-bottom: 1px solid var(--primary);
    font-weight: bold;
    font-size: 20px;
}

.conteudo .titulo-editar-checklist {
    color: var(--primary);
    text-align: center;
    padding: 4rem 0 0;
    margin: 0 auto;
    width: 55%;
    font-weight: bold;
}

.conteudo-form {
    margin: 2.5rem auto 0;
    border: 2px solid var(--primary);
    border-radius: 5px;
    padding: 5rem 7rem;
    width: 75%;
}

.form-config-qr {
    margin: 0 auto;
    border-radius: 5px;
    padding: 0 0 4rem;
    width: 55%;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    font-weight: bold;
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 8px;
}

.add-ocorrencia .add-ocorrencia-label {
    margin-bottom: 2rem;
    font-size: 22px;
    text-align: center;
}

.add-ocorrencia .inputs {
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
}

.form-group .form-control {
    border: none;
    border-radius: 9px;
    box-shadow: 1px 2px 8px -4px rgba(0,0,0,0.75);
    padding: 9px 15px;
    color: var(--primary);
    font-weight: bold;
}

.form-control:focus {
    color: var(--primary) !important;
    border-color: 0 !important;
    outline: none !important;
    box-shadow: 1px 2px 8px -4px rgba(0,0,0,0.75) !important;
}

.inputs label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.inputs input[type="radio"] {
    display: none;
}

.inputs .custom-radio {
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary);
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 10px;
}

.inputs .custom-radio::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    margin: 3px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.inputs input[type="radio"]:checked + .custom-radio::before {
    opacity: 1;
}

.form-group #data_hora,
.form-group #nome_local,
.form-group #protocolo {
    background-color: var(--secondary);
}

.form-group .foto-checklist {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
}

.form-group .foto-checklist img {
    width: 100% !important;
    transform: none !important;
}

.form-group .foto-checklist video {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
}

.tira-foto-container {
    border: none;
    border-radius: 9px;
    box-shadow: 1px 2px 8px -4px rgba(0,0,0,0.75);
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 3rem;
    height: 24rem;
    position: relative;
    background-color: var(--secondary);
    overflow: hidden;
    width: 99.4%;
}

.form-group .tira-foto,
.form-group .tirar-outra-foto {
    background-color: var(--primary);
    color: var(--secondary);
    position: absolute;
    font-weight: bold;
    padding: 8px 50px;
    border-radius: 5px 5px 0 0;
    border: none;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 9999 !important;
}

.form-group .input-foto {
    font-weight: 400;
    width: 70%;
}

.buttons input,
.buttons a {
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    text-decoration: none;
    padding: 7px 30px;
    border-radius: 4px;
    line-height: 22px;
}

.buttons a:hover {
    color: var(--secondary);
}

.conteudo-detalhes {
    margin: 2.5rem auto 0;
    border: 2px solid var(--primary);
    border-radius: 11px;
    padding: 5rem 7rem;
    width: 65%;
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 1px 2px 8px -4px rgba(0,0,0,0.75) !important;
}

.conteudo-detalhes h5 {
    margin-bottom: 3rem;
    text-align: center;
    font-weight: bold;
}

.conteudo-detalhes .detalhes-checkin,
.conteudo-detalhes .detalhes-ocorrencia {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--primary);
    margin-bottom: 2rem;
}

.conteudo-detalhes .detalhes-ocorrencia .detalhes {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.conteudo-detalhes .detalhes-ocorrencia .imagem {
    width: 35%;
    min-width: 180px;
}

.conteudo-detalhes .detalhes-ocorrencia .imagem img {
    width: 100%;
}

.conteudo-detalhes .detalhes-ocorrencia .descricao {
    width: 65%;
    margin-left: 2rem;
}

.conteudo-detalhes .detalhes-edicoes a {
    color: var(--primary);
}

.select-personalizado{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("../images/seta-select.png") 98% / 20px no-repeat #ffffff;
}

.titulo-buscar-checklist {
    color: var(--primary);
    text-align: center;
    padding: 4rem 0 2.5rem 0;
    border-bottom: 1px solid var(--primary);
    margin: 0 auto 2rem;
    font-weight: bold;
    width: 55%;
}

.border-bottom-buscar {
    border-bottom: 1px solid var(--primary);
    width: 55%;
    margin: 0 auto;
    padding-bottom: 3rem;
    text-align: center;
}

.titulo-resultado {
    color: var(--primary);
    text-align: center;
    margin: 0 0 4rem 0;
    font-weight: bold;
}

.footer {
    background-color: #c2c2c2;
    height: 110px;
    color: var(--primary);
    padding: 15px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
}

.footer .logo-footer {
    width: 250px;
}

.footer .logo-footer img {
    width: 100%;
}

.footer .dados-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 70px;
}

.footer .dados-footer .endereco {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer .dados-footer .telefone {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 40px;
}

.footer .dados-footer .email {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer .dados-footer i {
    font-size: 25px;
}

.footer .dados-footer p {
    margin: 0 0 0 10px;
}

.mensagens {
    width: 70%;
    margin: 0 auto;
}

.cameraqrcode {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-top: 20px;
}

#readerqrcode {
    margin-bottom: 30px;
}

#readerqrcode video {
    width: 34vw !important;
    max-height: 400px;
}

#readerqrcode #qr-shaded-region {
    border-width: 75px 120px !important;
}

.itens {
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.itens .form-group {
    margin: 0;
    display: block;
    align-items: center;
}

.itens .form-group label {
    margin-bottom: 0;
}

.itens .form-group input[type="checkbox"] {
  appearance: none; /* padrão moderno */
  -webkit-appearance: none; /* necessário para Safari */
  width: 18px;
  height: 18px;
  border: 1px solid var(--primary);
  background-color: #fff;
  margin-right: 5px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* ESTILO DO CHECK MARCADO */
.itens .form-group input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* OPCIONAL: desenhar um "check" manual */
.itens .form-group input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.info-itens {
    background-color: #eacfff;
    border-radius: 5px;
    /*margin: 20px auto;*/
    padding: 20px;
    margin: 20px 0;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-itens h3 {
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

@media screen and (max-width: 1150px) {
    #readerqrcode video {
        width: 46vw !important;
    }

    .form-group .tira-foto-container {
        height: 17rem;
    }

    .form-group .tira-foto {
        padding: 8px 25px;
    }

    .form-group .input-foto {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .footer .dados-footer {
        margin: 20px 0 0 0;
    }

    .footer .dados-footer .telefone {
        margin: 0 15px;
    }
}

@media screen and (max-width: 900px) {
    #readerqrcode video {
        width: 59vw !important;
    }

    #cameras {
        width: 280px !important;
    }

    .quadros {
        display: none;
    }

    .form-logo {
        width: calc(100% - 30px) !important;
        margin: 0 30px;
    }

    .form-logo .formulario {
        width: calc(100% - 30px);
    }

    .logo {
        width: 270px;
    }

    .formulario button {
        padding: 5px 20px;
    }

    .formulario a {
        font-size: 13px;
    }

    .conteudo .add-checklist {
        width: 80%;
    }

    .conteudo .add-checklist div {
        padding: 15px 15px;
    }

    .conteudo .titulo-checklist {
        width: 80% !important;
    }

    .conteudo .criar-qr {
        width: 90% !important;
    }

    .form-config-qr {
        width: 80% !important;
    }

    .conteudo-form, .conteudo-detalhes {
        width: 90%;
    }
}

@media screen and (max-width: 750px) {
    #readerqrcode video {
        width: 70vw !important;
    }

    .form-group {
        width: 100% !important;
        display: flex;
        flex-direction: column;
    }

    .espaco {
        display: none;
    }

    .footer .dados-footer {
        align-items: flex-start;
    }

    .footer .dados-footer .endereco,
    .footer .dados-footer .telefone,
    .footer .dados-footer .email {
        flex-direction: column;
    }

    .footer .dados-footer .endereco p,
    .footer .dados-footer .telefone p,
    .footer .dados-footer .email p {
        margin: 10px 0 0 0;
    }
}

@media screen and (max-width: 650px) {
    #readerqrcode video {
        width: 83vw !important;
    }

    .conteudo-detalhes .detalhes-ocorrencia .imagem,
    .conteudo-detalhes .detalhes-ocorrencia .descricao {
        width: 100%;
    }

    .conteudo-detalhes .detalhes-ocorrencia .descricao {
        margin: 15px 0 0 0;
    }

    .conteudo-detalhes .detalhes-ocorrencia .detalhes {
        flex-direction: column;
    }

    .topo .condominio .nome {
        display: none;
    }

    .conteudo-form, .conteudo-detalhes{
        padding: 2rem 1rem;
    }

    .footer .dados-footer {
        flex-direction: column;
        align-items: center;
    }

    .footer .dados-footer .endereco,
    .footer .dados-footer .telefone,
    .footer .dados-footer .email {
        flex-direction: row;
    }

    .footer .dados-footer .endereco p,
    .footer .dados-footer .telefone p,
    .footer .dados-footer .email p {
        margin: 0 0 0 10px;
    }

    .footer .dados-footer .telefone {
        margin: 15px auto;
    }
}

@media screen and (max-width: 520px) {
    #readerqrcode video {
        width: 90vw !important;
    }

    #readerqrcode #qr-shaded-region {
        border-width: 30px 55px !important;
    }

    .topo .usuario .info {
        display: none;
    }
}
