/* sobreposição PHC */
/* ###################################################################### */

#maintoolbar {
  border-bottom-style: none !important;
}

.required:after {
  content:" *";
  color: red;
}

/* sobreposição bootstrap */
/* ###################################################################### */

.d-none {
  display: none;
}

/* loader */
/* ###################################################################### */

.loader-dark {
  display: inline-block;
  width: 15px;
  height: 15px;
  position: relative;
  border: 2px solid #727272;
  top: 50%;
  animation: loader 2s infinite ease;
  line-height: 30px;
  vertical-align: middle;
}

.loader-text-dark {
  color: #727272; 
  padding-left: 5px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* tab-control */
/* ###################################################################### */

.acid-nav-pills {
  margin: 10px;
}

.acid-nav-content {
  margin: 10px;
  padding:0 !important;
}

/* tabelas */
/* ###################################################################### */

.acid-table {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #e7e7e7;
}

.acid-table td, .acid-table th {
  padding-left: 6px;
  padding-right: 6px;
}

.acid-table tr:nth-child(even) {
  background-color: #fafafa;
}

.acid-table thead tr {
  background-color:rgb(238, 240, 252);
}

.acid-table thead th {
  font-size: 12px;
  font-weight: 300;  
  padding-top: 6px;
  padding-bottom: 6px;  
}

.acid-emptytable tr td {
  padding: 10px;
	font-size: x-small;
}

/* modal */
/* ###################################################################### */

.acid-modal .modal-header .modal-title {
    display: flex;
}

.acid-modal .modal-header .modal-title div:first-child {
    width: 70%;   
}

.acid-modal .modal-header .modal-title div:nth-child(2) {
    width: 30%;
}

.acid-modal .modal-filter {
    padding:10px;
}

.acid-modal label {
    font-size: 11px;
    font-weight: 500;
    display: block;
    margin-top: 8px;
    margin-bottom: 0px;
    color: #757575;
    box-sizing: border-box;
}

.acid-modal .modal-result-count {
    font-size: x-small;
}

.acid-modal .modal-body table thead tr th {
    padding: 3px;
}

.acid-modal .modal-body table tbody tr td {
    padding: 3px;
}

.acid-modal .modal-body table tbody tr:hover {
    background-color: lightyellow;
    cursor: pointer;
    font-weight: bold;
}

.acid-modal table {
  width: 100%;
}

.acid-modal input {
  width:100%;
}

.acid-modal select {
  height: 27px;
}

/* formulário */
/* ###################################################################### */

#acid-form {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 10px -6px rgb(0 0 0 / 41%);
  -moz-box-shadow: 0 0 10px -6px rgba(0,0,0,.41);
  box-shadow: 0 0 10px -6px rgb(0 0 0 / 41%);
  padding-bottom: 20px !important;
}
  
#acid-form .row {
  padding-bottom: 10px;
}

#acid-form input {
  width:100%;
}

#acid-form input:read-only {
  background-color: #f0f0f0;
}


#acid-form input:focus {
  border: 1px solid rgba(253,160,0,.75);
  border-right-width: 7px;
}

/* input com label (inline) */
.acid-input-inline {
  width:auto !important;
}

#acid-form select {
  width:100%;
  height: 27px;
}

#acid-form textarea {
  width:100%;
  height:100%;
}

#acid-form input[type="checkbox"] {
  width:auto !important;
}

#acid-form input[type="checkbox"][readonly] {
  color:red;
}

/* campo com botão à esquerda (melhorar) */
/* ###################################################################### */

.acid-button-input {
  display:flex;  
}

.acid-button-input div:first-child {
  flex:0 0 35px;
  margin-right:2px;
}

.acid-button-input div:first-child button {
  width:35px;
}

.acid-button-input div:last-child {
  flex:1 1;
}

/* campo com botão à direita (melhorar) */
/* ###################################################################### */

.acid-input-button {
  display:flex;  
}

.acid-input-button div:first-child {
  flex:1 1;
  margin-right:2px;
}

.acid-input-button div:first-child button {
  width:35px;
}

.acid-input-button div:last-child {  
  flex:0 0 35px;
}

/* campo com 2 botões à esquerda (melhorar) */
/* ###################################################################### */

.acid-2button-input {
  display:flex;  
}

.acid-2button-input div:first-child {
  flex:0 0 76px;
  margin-right:2px;
}

.acid-2button-input div:first-child button {
  width:35px;
}

.acid-2button-input div:last-child {
  flex:1 1;
}

/* destaca o campo principal do formulário */
/* ###################################################################### */

.acid-mainfield {
  font-size: 13px;
  font-weight: 700;
}

/* labels para inputs ou para spans */
/* ###################################################################### */

/* por cima do input */
.acid-field-label {
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin-top: 8px;
  margin-bottom: 0px;
  color: #757575;
  box-sizing: border-box;
}

/* por em linha com o input */
.acid-field-label-inline {
  font-size: 11px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 0px;
  margin-right:10px;
  color: #0075ff;
  box-sizing: border-box; 
}

.acid-group-label {
  margin-bottom: 0 !important;
  padding-top: 20px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  /*border-color: #0075ff;*/
  width: 100%;
  font-weight: bold;
  font-size: smaller;
  color: #0075ff
}

.unit-m2:after {
  content: " [m\00B2]";
  color: rgb(120 120 120);
  font-size: x-small;
  font-weight: bold;
}

.euro:after {
  content: " [€]";
  color: rgb(120 120 120);
  font-size: x-small;
  font-weight: bold;
}

/* nav */
/* ###################################################################### */

#acid-form .nav.nav-pills li.active>a
, #acid-form .nav.nav-pills li.active>a:focus
, #acid-form .nav.nav-pills li.active>a:active {
  color: #636363;
}

#acid-form .nav.nav-pills li>a
, #acid-form .nav.nav-pills li>a:focus
, #acid-form .nav.nav-pills li>a:active {
  background-color: #e2e2e2;
  border-radius: 4px;
  border-left-style: none !important;
  margin-top: 1px;
}

#acid-form .nav.nav-pills li.active>a
, #acid-form .nav.nav-pills li.active>a:focus
, #acid-form .nav.nav-pills li.active>a:active {
  background-color: white;
  border-radius: 4px;
  border-left-style: none !important;
}

#acid-form .nav.nav-pills>li.active {
  border-style: none;
}


/* lixo */
/* ###################################################################### */

.acid-pencil {
  color:rgba(6, 106, 153, 0.74);
  cursor:pointer;
}

/* lixo */
/* ###################################################################### */

.acid-trash {
  color:red;
  cursor:pointer;
}

/* diálogos */
/* ###################################################################### */

#dialogues-history {
  display: flex;
  flex-flow: column;
  border-style: solid;
  border-width: 1px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 10%;
  padding-right: 10%;
  border-width: 1px;
  border-color: rgb(231 231 231);
  background-color: #f3f3f3;
  margin-top: 5px;
}

#dialogues-history .dialogues-error {
  color: red;
  font-size: xx-small; 
  padding:20px; 
}

#dialogues-history .dialogues-nodata {
  font-size: xx-small; 
  padding:20px; 
}

#dialogues-history .dialogues-date {
  background-color: #4a4a4a;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  border-radius: 5px;
  color: white;
  margin-bottom: 5px;
}

#dialogues-history .dialogue-mine {
  position: relative;
  background-color: #66a16b;
  text-align: center;
  margin-right: auto;
  width: 60%;
  border-radius: 0px 5px 5px 5px;
  color: white;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

#dialogues-history .dialogue-mine:after {
  content: '';
  position: absolute;
  right: 100%;
  top: 0; 
  border-top: 12px solid #66a16b;
  border-left: 12px solid transparent; 
}

#dialogues-history .dialogue-other textarea {
  cursor:pointer;
}

#dialogues-history .dialogue-unreaded {
  border-radius: 5px;
  border-bottom-style: solid !important;
  border-bottom-color: red !important;
}

#dialogues-history .dialogue-other {
  position: relative;
  background-color: #5088a7;
  text-align: left;
  width: 60%;
  margin-left: auto;  
  border-radius: 5px 0px 5px 5px;;
  color: white;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  cursor:pointer;
}

#dialogues-history .dialogue-other:after {
  content: '';
  position: absolute;
  left: 100%; 
  top: 0;
  border-top: 12px solid #5088a7;;
  border-right: 12px solid transparent;  
}

#dialogues-history .dialogue-other2other {
  position: relative;
  background-color: #dbdbdb;
  text-align: left;
  width: 60%;
  margin-left: auto;  
  margin-right: auto;  
  border-radius: 0px 5px 0px 5px;;
  color: black;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

#dialogues-history .dialogue-from-to {
  color: rgb(2 2 2);
  font-size: xx-small;
  text-align: left;
  padding-bottom: 5px;
}

#dialogues-history .dialogue-from {
  padding-right: 5px;
}

#dialogues-history .dialogue-to {
  padding-right: 5px;
}

#dialogues-history .dialogue-to-arrow  {
  padding-left: 5px;
  padding-right: 5px;
}

#dialogues-history .dialogue-message {
  background-color: transparent;
  border: none;
  overflow: auto;
  outline: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  font-size: small;
}

#dialogues-history .dialogue-time {
  text-align: right;
  margin-left: auto;
  color: #dddddd;
  padding-top: 5px;
  font-size: x-small;
}

#dialogues-new {
  background-color: #b3b3b3;
  padding: 10px;
}

#dialogues-to-user
, #dialogues-cc-user 
, #dialogues-to-dep {
  background-color: #f1f1f1;
  border-style: none;
  margin: 3px;
}

#dialogues-new-message {
  background-color: #f1f1f1;
  border-style: none;
  margin: 3px;
}

#dialogues-send {
  text-align: right;
  font-size: large;
  cursor: pointer;
  color: #36703a;
}

#dialogues-send i:hover {
  color: #287ac1;
}

#sqlt41 {
  color: #337AB7;
}

.acid-sub-container {
  border-style: solid;
  border-width: 1px;
  margin-top: 10px;
  border-color: silver;
}

/* logotipo */
.logotipo.left img {
  display: none;
}

.logotipo.left a:before {
  content: '';
  background-image: url(../pimages/maxfinance-prestige.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 6em;
  height: 1.8em;
  display: block;
}