@import url('https://fonts.googleapis.com/css?family=Cousine|Open+Sans|Ubuntu&display=swap');

:root {
    --green: #253425;
    --subGr: #426e42;
    --gray: #444;
    --lightGray: #d3d3d3;
}

html {
    scroll-behavior: smooth;
}

html,
body,
#tudo {
    margin: 0;
    padding: 0;
}

body {
    text-align: center; /* hack para o IE */
    font-family: 'Open Sans', sans-serif;
    font-size: 12pt;
}

.htmlarea {
    height: 400px!important;
}


.new-page {
    page-break-after: always;
}


.myborder {
    border-radius: 5px; 
    padding: 10px;
    box-shadow: 0 0 .8rem .45rem rgba(0,0,0,.1);
    margin: 5px; 
    background-color: #f9f9f9;
}


.small {
	font-size: 75%;
	color: #494949;
	
}


.cliente {
    margin: 0;
}

.cliente + h4 {
    display: inline-block;
    font-family: 'Cousine', monospace;
}

.cliente *,
.cliente + h4 {
    margin: 0 12px;
}

.obs {
	font-size: .7em;
	color: #6170b6;
	font-style: italic;
}

.green {
	color: green;
}

.red {
	color: red;
}

.blue {
	color: blue;
}

pre.debug {
    font: 300 .94em 'Courier New', monospace;
    max-width: 100vw;
    background: #efefef;
    border: 1px inset #a1a1a1;
    color: #333;
    padding: 1em;
    border-radius: 5px;
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Mozilla, post millennium */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

span.small,.createdate,.modifydate {
	font-size: 75%;
	color: #494949;
	display: block;
}

.ql-editor .ql-align-justify {
    white-space: pre-line;
}

#editor > .ql-editor {
    min-height: 134.8px;
}

.ql-editor {
    background: white;
    font-family: 'Arial', sans-serif;
}

td > .ql-editor {
    margin: -7px -16px;
    padding: 7px 16px !important;
}

.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor h4,
.ql-editor h5,
.ql-editor h6,
.ql-editor strong {
    font-family: Arial, sans-serif;
}

#editor {
    z-index: initial;
}

#toolbar-container {
    z-index: 1;
}


fieldset {
    font: bold;
}

input[disabled],
select[disabled] {
    box-shadow: 0 0 .6rem .2rem rgba(0, 0, 0, .2);
}

/* <mensagem temporaria> */
#darkMessage {
    padding: 0 .25em;
    margin: 1em 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#darkMessage > div > * {
    margin: .1rem 0;
}

#darkMessage h3 {
    color: rebeccapurple;
}

#darkMessage a {
    color: #555;
    text-decoration: underline;
}

#darkMessage img {
    width: 3.1em;
    height: auto;
}

/* </mensagem temporaria> */

.hugeMarginTop {
    margin-top: 200px;
}

[id^=spantarefa] fieldset {
    margin-bottom: 17px;
    width: calc(95% - 20px);
}

[id^=spantarefa] legend {
    font-size: 1.05em;
    background: #444;
    color: #f8f8ff;
    padding: 3px 6px 5px;
}

[id^=spantarefa] textarea {
    resize: vertical;
}

[name=resposta] {
    width: calc(100% - 12px);
}

[class*=hand-point] {
    font-size: 1.18em;
}

a, h1, h2, h3, h4, h5, h6, strong, th {
    font-family: 'Ubuntu', sans-serif;
}

h1 {
  font-size: 1.55em;
}

h2 {
  font-size: 1.3em;
}

label:not(.stdLabelSize) {
  font-size: 1.2rem;
}

.edit label.inline,
.edit2 label.inline,
label.inline {
    display: inline-block;
}

#selectGrupo {
	font-size: 0.7rem;
	background-color: #04540f; 
	color: white;
    margin-left: 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#main.mainLogin {
    padding-top: 2em;
}

#main {
    padding-top: 3.82em;
}

#toTop {
    position: fixed;
    bottom: .9em;
    right: .9em;
    transform: scale(0,0);
    background: var(--green);
    color: #f8f8ff;
    font-size: 1.05em;
    padding: .75em .8em;
    border-radius: 1.25em;
    cursor: pointer;
    box-shadow: 0 0 .55rem .25rem rgba(0,0,0,.2);
    transition: .3s;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition: color 99999s ease-out, background-color 9999s ease-out;
    -webkit-transition-delay: 99999s;
}

input:not([type^=sub]), select, textarea {
    margin: 0 5pt;
    border-radius: 5px;
    padding: .1em .25em;
    font-family: serif;
    font-size: 1.05em;
}

input:focus:not(input[type=button]),
select:focus,
textarea:focus {
    background: #dde07e;
    color: #222;
}

a,
a:visited,
.tarefaHeader h4 {
    text-decoration: none;
    color: #131f13;
}

a.botao2,
#btnsalvar,
#btncancel,
a.paginador,
input[type^=sub] {
    display: inline-block;
    color: #042011;
    padding: 5px 14px;
    margin: 3px;
    border: none;
    font-size: .85em;
    cursor: pointer;
    border-radius: 8px;
    transition: .2s;
}

#btncancel,
input[value=Excluir] {
    background: #991933;
}

#btnsalvar,
#btncancel {
    font-family: inherit;
    padding: 4px 10px;
    font-size: .95em;
}

a.botao2:hover,
#btnsalvar:hover,
a.paginador:hover,
input[type^=sub]:hover 	{
    transition: .2s;
}

#btncancel:hover,
input[value=Excluir]:hover {
    background: #83142a;
    transition: .2s;
}

.submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start;
}

.submenu > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    text-decoration: none;
    color: var(--lightGray);
    background: var(--subGr);
    border-right: 1px solid;
    white-space: nowrap;
    width: auto; /* ou remove completamente */
    flex: 0 0 auto; /* <- isso é importante aqui */
}



#tudo {
	margin-top: 0;
	text-align:left; /* "remÃ©dio" para o hack do IE */
}

#conteudo {
	box-sizing: content-box;
	margin: 10px 20px;
	padding: 0px 5px 5px 0px;
}

table {
	border-collapse: collapse;
    margin-top: 5px;
    box-shadow: 0 0 .8rem .45rem rgba(0,0,0,.1);
}

caption {
	color: #f0f9fa;
	background-color: #efc076;
}

th,
td {
    /*border: none!important;*/
    border: none;
    padding: 5px 5px;
}

tr {
    border-bottom: 1px solid #333;
}



th {
	font-weight: normal;
    font-size: .75em;
    color: #f8f8ff;
}

td {
    font-size: 13px;
    vertical-align: top;
}

td > span img[src^=imgusuarios] {
    display: block; 
}

td[align=center] > i,
td[align=center] > a {
    display: block;
    margin: 6pt 0;
}

.atendimento-descricao,
.atendimento-descricao .ql-editor {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.atendimento-descricao .ql-editor {
    display: block;
}

/* td > [href*=idcliente] {
    text-decoration: underline;
} */

#mensagem {
	position: fixed;
	top: 60px;
	left: 50%;
	transform: translateX(-50%);
	width: 50vw;
    box-shadow: 2px 2px 5px 1.5px rgba(0,0,0,.14), -2px 0 4px rgba(0,0,0,.14);
    opacity: 1;
}

#mensagem > ul {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

#mensagem li {
    position: relative;
    background: #3CB371;
    font: 1em "Ubuntu", sans-serif;
    color: #f8f8ff;
    padding: 2px;
}

#mensagem li::first-letter {
    text-transform: uppercase;
}

#mensagem li:not(:last-child) {
    border-bottom: 1px solid #2fa363;
}

#mensagem.closing {
    opacity: 0;
    transition: .26s ease-out;
}

#closeMensa {
    position: absolute;
    right: -13px;
    top: -12px;
    background: #333;
    color: #f0ffff;
    z-index: 999;
    border-radius: 20px;
    padding: 0 7px 1px;
    cursor: pointer;
    transition: .3s;
}

#closeMensa:hover {
    background: #222;
    color: #f1f1f9;
    transition: .3s;
}

#seconds {
    position: absolute;
    height: 3.5px;
    top: -3.5px;
    right: 0;
    width: 100%;
}

#aviso,
#alerta {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    border-radius: 10px;
    padding: 10px 17px 15px;
    margin: 5px;
}

#alerta {
	background: #e05c5c;
	color: #9b0000;
}

#aviso {
	background: #69aaff;
	color: #002382;
}

#alerta .fas {
	color: #3d0000;
	margin-right: 10px;
}

#aviso i.fas {
    margin-right: 10px;
}

#alertaLogin {
    position: absolute;
    top: 5pt;
    left: 50%;
    transform: translateX(-50%);
}

#dica {
	float: right;
	border-width: 1px;
	border-style: solid;
	border-color: black;
	background-color: silver;
	padding: 5px;
	font-size: 11px;
	width: 30%;
}

.mediumImageMouse {
    position: absolute;
    z-index: 6;
    width: 125px;
    height: auto;
}

.bigImageForm {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,.82);
    z-index: 6;
}

.bigImageForm i {
    position: fixed;
    left: 17px;
    top: 18px;
    color: #f8f8ff;
    cursor: pointer;
    transition: .15s;
}

.bigImageForm i:hover {
    color: rgba(248, 248, 255, .7);
    transition: .15s;
}

.bigImageMouse {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: auto;
    max-width: 100vw;
    z-index: 6;
}

/* LOGIN AREA */
#login {
    padding: 15px;
    margin: 2em auto 25px;
    width: 50%;
    background: #f8f8ff;
    box-shadow: 0 0 .75em .4em rgba(0,0,0,.14);
}

#login label {
    color: #222;
}

#login input {
    width: calc(100% - 20px);
    margin: 0 0px 15px;
    padding: 7px;
    background: #f8f8ff;
    color: #222;
    border: none;
    border-bottom: 1px lightgray solid;
}

#login button {
    width: 100%;
    font-size: 1.3rem;
    background: #222;
    color: #fff;
    border: 1px #222 solid;
    padding: 5px 0;
    cursor: pointer;
    transition: 0.2s ease-in;
}

#login button:hover {
    background: #141414;
    transition: 0.2s ease-out;
}

#login-bg {
    background: url('../../images/login-bg.jpg') top center/cover no-repeat;
    filter: brightness(80%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.head {
    position: absolute;
    top: -29px;
    left: 5%;
    z-index: 999!important;
}

.head img,
#logoClienteHome {
    border-radius: 0 0 25px 25px;
}

.head img[src*=parent] {
    background: #222;
}

/* Menu Front Page */
[id*="Menu"] {
    padding-left: 0;
}

[id*="Menu"] > ul {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    padding-left: 0;
}

#frontMenu > ul {
    /* margin-top: 200px; */
    justify-content: space-evenly;
}

#frontMenu a:not(.quit) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
    font-size: 3.0vh; /*1.5em;*/
    width: 26vw;
    margin: 15px 0;
    padding: 20px;
    min-height: 140px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),
                0 2px 10px 0 rgba(0,0,0,0.12);
    position: relative;
    top: 0;
    transition: .2s ease;
}

#frontMenu > ul li:last-of-type {
    position: absolute;
    top: 0;
    right: 0;
}

#frontMenu .quit {
    display: block;
    color: #f8f8ff;
    padding: 6px 12px;
    font-size: .8em;
    background: indianred;
    border-bottom-left-radius: 10px;
}

#frontMenu i {
    font-size: 2.5em;
    margin-bottom: 5px;
    transition: .2s;
}

#frontMenu a:hover {
    top: -5px;
    transition: .2s ease;
}

#frontMenu a:hover > i {
    transition: .2s;
}

#frontMenu i.fa-door-open,
#frontMenu .menu-logo,
#frontMenu .menu-pln,
#frontMenu .menu-user {
    display: none;
}

/* Top Menu */
#topMenu > ul,
#topMenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--green);
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 3px 4px rgba(0,0,0,.11);
    z-index: 1;
}

#topMenu a,
.toggle {
    display: inline-block;
    padding: 17px 10px;
    text-decoration: none;
    color: var(--lightGray);
    transition: .15s;
    font-size: .9em;
}

.toggle {
    display: none;
    font-size: 1.74em;
}

#topMenu a:hover {
    transition: .15s;
}

#topMenu .quit:hover {
    color: darkred;
}

#topMenu > ul > li.menu-logo {
    display: flex;
    flex-flow: row nowrap;
    max-height: 54px;
}

#topMenu .menu-pln {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
}

#topMenu .menu-pln select,
#topMenu .menu-pln input {
    max-width: 12rem;
    height: 30px;
    font-size: .85em;
}

#topMenu .menu-user {
    margin-left: auto;
}

#topMenu div.user {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    color: #f8f8ff;
}

#topMenu div.user a {
    padding: 0;
    color: #f8f8ff;
}

#topMenu div.user a[href$=envfoto] img {
    transition: .2s;
}

#topMenu div.user a[href$=envfoto]:hover img {
    filter: brightness(90%);
    transition: .2s;
}

#topMenu div.user a:hover {
    color: rgba(255,255,255,.85);
    background: transparent;
}

#topMenu i {
    margin-right: 3pt;
}

.parentToggle {
    position: relative;
}

.submenu-drop {
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none;
    left: 0;
    right: -75%;
    top: 100%;
    font-size: .8em;
    max-height: 80vh;
    overflow-y: auto;
}

.submenu-drop a {
    width: calc(100% - 20px);
}

.submenu-drop :last-child > a {
    color: #434343 !important;
    font: bold .8em 'Courier New', monospace;
}

.submenu-drop :first-child {
    position: static !important;
}

#topMenu .logoMenu {
    margin: 0 15px;
}

#logoCliente {
    box-sizing: border-box;
    border-radius: 5pt;
    padding: 3px;
    height: 54px;
    width: auto;
}

#logoClienteHome {
    position: relative;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    max-width: 27em;
    min-width: 15em;
    /*width: 70vw;*/
    height: 10vw;
}

/* All */
#bg1,
#bg2 {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#bg1 {
    background: #1C4751;
    -webkit-clip-path: polygon(72% 74%, 100% 27%, 100% 100%, 5% 100%);
    clip-path: polygon(72% 74%, 100% 27%, 100% 100%, 5% 100%);
    z-index: -1;
}

#bg2 {
    background: #173a43;
    -webkit-clip-path: polygon(63% 69%, 100% 9%, 100% 100%, 5% 100%);
    clip-path: polygon(63% 69%, 100% 9%, 100% 100%, 5% 100%);
    z-index: -2;
}

/* Documentos clientes */
#docs {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
}

.documento {
    max-width: 7.5em;
    width: 100%;
    text-align: center;
    margin: 0 10px 25px;
}

.documento_titulo p {
    position: relative;
    font-size: .87em;
    margin: 0;
    border-top: 1.27pt solid #5e5e5e;
}

.documento_titulo p > a {
    display: block;
    padding: .25em .5em;
}

.documento_titulo a {
    position: relative;
    z-index: 5;
}

.documento_titulo p::after,
.documento_titulo p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 25%;
    border-left: 1.27pt solid #5e5e5e;
    border-right: 1.27pt solid #5e5e5e;
    z-index: 4;
    transition: .27s;
}

.documento_titulo p::before {
    border: none;
    bottom: 0;
    left: 7%;
    right: 7%;
}

.documento:hover p::after {
    bottom: 0;
    transition: .27s;
}

.documento:hover p::before {
    left: 0;
    right: 0;
    transition: .27s;
}

/* Formulários */
/* 1 column */
.edit {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.edit label {
    display: block;
}

.edit span.campo:not(:first-of-type) > label {
    margin-top: .5em
}

.edit input,
.edit textarea,
.edit select,
.edit2 input,
.edit2 textarea,
.edit2 select {
    font-size: .8em;
}

#contratoform label {
    min-width: 200px;
    text-align: right;
}

#contratoform span.campo {
    margin: 3px 0;
    display: inherit
}

/* #atendimentoform .campo:first-of-type {
    max-width: 50%;
} */

div.campo {
    width: 45vw;
    margin-top: 32.5px;
}

div.campo > span.campo {
    display: block;
}

/* 2 columns */
.edit2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 10px 0;
}

.editdados label {
    display: inline-block;
    font-size: .8em;
    min-width: 106.5px;
}

.edit2 label,
.edit label {
    font-size: .9em;
    margin-right: 3px;
}

.edit2 > .campo,
.edit2 > .campo.dual {
    max-width: 47%;
}

.edit2 > .campo.dual {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.edit2 > [type$=mit] {
    align-self: flex-end;
}

.edit2 .campo.tall {
    display: inherit;
    justify-content: flex-end;
}

.editdados {
    justify-content: initial;
}

.editdados .campo,
.editdados .campo.dual {
    text-align: right;
}

.editdados input:not([type=submit]):not([type^=check]):not([type=radio]),
.editdados textarea,
.editdados select {
    width: 360px;
}

.editdados select {
    width: 374px;
}

.editdados input.small {
    width: 116px!important;
}

.editdados .campo,
.editdados .campo.dual {
    min-width: 40vw;
}

/* Tarefas */
.edit2.tarefas {
    margin: 15px 0; 
}

.edit2.tarefas textarea {
    font-size: 1em;
}

.edit2.tarefas .campo {
    width: 45%;
}

.edit2.tarefas.col3 .campo {
    width: 32%;
}

.tarefas p {
    margin: 0;
}

.tarefas .resp {
    margin: 10px 0;
}

.tarefas .prazo {
    text-align: center;
    font-size: .9em;
}

.tarefas section.tarefa {
    padding: 10px;
    font-size: .85em;
    border-radius: 4px;
    box-shadow: 0 2px 7px 1.5px rgba(0,0,0,.14);
    margin: 15px 0;
}

.tarefas section.tarefaurgente {
	box-shadow: 0 2px 7px 1.5px rgba(255,0,0,.8);
}

.tarefas #aviso {
    margin: 15px auto;
    display: block;
}

.tarefaHeader,
.tarefaFooter {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 7px;
}

.tarefaHeader h4 {
    margin: 0;
}

.tarefaBody {
    width: 90%;
    margin: 22px auto;
    overflow: hidden;
    max-height: 5000px;
    transition: .2s;
}

.tarefaBody.collapse {
    max-height: 0;
    margin: 0 auto;
    transition: .35s ease-in-out;
}

.tarefaBody > * {
    opacity: 1;
    transition: .25s ease-in-out .1s;
}

.tarefaBody.collapse > * {
    opacity: 0;
    transition: .25s ease-in-out;
}

label[for=mostrarConcluidas] {
    font-size: 1em;
}

p.resp a[href*=editar_tarefa] {
    margin-left: 15px;
}

.fotinha {
    display: inherit;
    align-items: center;
    font: 1.1em 'Ubuntu', sans-serif;
}

.fotinha img,
#topMenu div.user img {
    margin-right: 6.5px;
    border: 1px solid #a7a7a7;
    border-radius: 5px;
}

.fotinha img {
    max-height: 25px;
    height: 100%;
    width: auto;
}

.tarefaPara {
    font-size: .9em;
    margin: 0 3.5px;
}

#topMenu div.user img {
    border-color: #1f311f;
}

i.fa-caret-up.fa-lg.fa-fw {
    cursor: pointer;
    transition: .25s;
}

[id^=spantarefa] label {
    font-size: 1em;
}

[for^=encaminhar] + p {
    display: none;
    flex-direction: column;
    margin: 10px 0 -34px;
}

[for^=encaminhar] + p > * {
    margin: 5px 0;
}

/* Agenda */
#agenda .campo {
    text-align: center;
    width: 60vw;
    margin: 0 auto;
}

#agenda .campo > div {
    box-shadow: 0 0 .7rem .44rem rgba(0,0,0,.13);
}

#agenda table {
    width: 100%;
    margin-top: 0;
    box-shadow: none;
}

#agenda td {
    font-size: 15.5px;
}

#agenda td,
#agenda th {
    text-align: center;
}

#agenda_lista {
    position: relative;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    margin-top: 10px;
}

#agenda_lista a {
    display: block;
    padding: 5px 10px;
    font-size: .9em;
    width: calc(25% - 20px);
    background: #333;
    color: #eee;
    transition: .14s ease-out;
}

#agenda_lista a:not(.agenda_sel):hover {
    box-shadow: 0 0 .8rem .4rem rgba(0,0,0,.3) inset;
    color: #fff;
    transition: .14s ease-in;
}

.agenda_sel {
    background: transparent!important;
    color: inherit!important;
}

/* Processos */
.processo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: stretch;
    margin: .4rem 0 .8rem;
}

.processo-actions .processo-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 96px;
    min-height: 96px;
    padding: .6rem .45rem;
    text-align: center;
    line-height: 1.15;
    white-space: normal;
}

.processo-actions .processo-btn i {
    margin: 0 0 .45rem;
    font-size: 1.9rem;
}

.processo-actions .processo-btn span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

#processo {
    display: flex;
    flex-flow: row wrap;
}

#processo span {
    display: inherit;
    align-items: center;
    justify-content: center;
    width: calc(100% / 4.3);
    padding: 2px 5px;
    text-align: center;
    margin: 2.5px 0;
    font-size: 1.3em;
}

#processo a {
    display: block;
    color: #cecece;
    transition: .25s;
}

#processo a:hover {
    color: #96be69;
    transition: .25s;
}

.proc_sel {
    color: #ddffb7 !important;
    text-decoration: overline;
}

/* Segredo de justiça */
#segredoJustica {
    font-size: .9em;
    font-style: italic;
    color: #222;
    display: block;
    background: red;
    padding: .5em;
    width: 90%;
    max-width: 20em;
    margin: 1em auto;
    text-align: center;
    border-radius: 5pt;
}

#segredoJustica i {
    display: block;
    margin-bottom: 5pt;
    font-size: 1.5em;
}

/* Media queries */
/* @media screen and (min-width: 1400px) {
    #topMenu a {
        padding: 17px;
    }
} */

@media screen and (max-width: 1200px) {
    .editdados label {
        min-width: 96.5px;
        font-size: .7em;
    }

    .editdados input:not([type^=sub]) {
        width: 310px!important;
        font-size: .7em;
    }
    
    .editdados input.small {
        width: 96px!important;
    }

    .editdados select {
        width: 324px;
    }

    #agenda .campo {
        width: 80vw;
    }

    #main.mainLogin {
        padding-top: 0;
    }
}

@media screen and (max-width: 1186px) {
    #main {
        padding-top: 116px;
    }
}

@media screen and (max-width: 930px) {
    .campo > input:not([type*=check]):not([type=radio]),
    .campo > button,
    .campo > select,
    .campo > textarea {
        width: 200px!important;
    }

    .edit2.tarefas .campo {
        width: 100%;
        margin: 15px 0;
    }

    #agenda .campo > * {
        width: auto!important;
    }

    #agenda_lista a {
        font-size: .8em;
    }

    .editdados label {
        display: block;
        min-width: auto;
        margin: 2px 0 -5px;
    }

    .edit2 .campo input:not([type=checkbox]),
    .edit2 .campo select {
        width: 100%!important;
    }

    .edit2 {
        justify-content: center;
    }

    .edit2 .campo,
    .edit .campo {
        max-width: 100vw;
        width: 50vw;
        text-align: left;
    }

    #atendimentoform .campo:first-of-type,
    #atendimentoform div.campo {
        max-width: 100%;
        width: 100%!important;
    }

    #atendimentoform div.campo > .campo {
        width: 50%!important;
    }
}

@media screen and (max-width: 768px) {
    #darkMessage {
        display: block;
        text-align: center;
    }

    #main {
        padding-top: 62px;
    }

    .edit2 .campo.tall {
        display: block;
    }

    .edit2 .campo.tall textarea {
        width: 100%!important;
    }

    #bg1,
    #bg2 {
        display: none;
    }

    .head {
        left: 50%;
        transform: translateX(-50%)
    }

    .head img {
        /* width: 125px!important; */
        display: none;
    }

    #login {
        width: 90%;
        margin-top: 4em;
    }

    #mensagem {
        width: 85%;
        top: 80px;
    }

    #frontMenu > ul {
        justify-content: center;
    }

    #frontMenu a:not(.quit) {
        width: 70vw;
        min-height: 100px;
        font-size: 6.5vmin;
    }

    #topMenu {
        z-index: 5;
    }

    #topMenu a {
        width: 100%;
    }

    #topMenu ul {
        flex-flow: column nowrap;
        max-height: 0;
        top: 66px;
        transition: .37s;
    }

    #topMenu > ul.active {
        max-height: 3000px;
        transition: .37s;
    }

    #topMenu i {
        display: none;
    }

    #topMenu .toggle {
        display: block;
    }

    #topMenu .activeTog {
        background: var(--gray)
    }

    #topMenu > ul > li.menu-logo {
        position: static;
        flex-direction: column;
        max-height: initial;
        justify-content: center;
        align-items: center;
    }

    #topMenu > ul > li {
        max-width: 100vw;
    }

    #topMenu .logoMenu {
        margin: 0;
    }

    #logoCliente {
        width: 200px;
        height: auto;
    }

    #topMenu .menu-pln {
        flex-wrap: wrap;
        padding: 5px 10px;
    }

    #topMenu .menu-pln select,
    #topMenu .menu-pln input[type=text] {
        flex: 1 1 9rem;
        max-width: none;
    }

    #topMenu .menu-user {
        margin-left: 0;
    }

    #topMenu div.user {
        justify-content: flex-start;
        padding: 5px 10px;
    }

    .submenu {
        flex-direction: column;
        float: initial !important;
        margin: .7rem 0;
    }

    .submenu > a {
        min-width: 40%;
        text-align: center;
        border-bottom: 1px var(--lightGray) solid;
    }

    #docs {
        justify-content: center;
    }

    #agenda .campo {
        max-width: 100vw;
        width: 100%;
    }

    #agenda_lista {
        flex-flow: row wrap;
        width: 100%;
    }

    #agenda_lista > a {
        width: calc(50% - 20px);
    }

    .searchdate {
        display: block;
        margin: 5px auto;
    }

    #contratoform span.campo {
        width: 100%!important;
    }

    #contratoform label {
        display: block;
        text-align: left;
    }

    #contratoform label + * {
        width: 100%!important;
    }

    .parentToggle {
        overflow-y: initial!important;
    }

    .submenu-drop {
        position: static!important;
    }
}
