﻿/* main color: rojo #D90927 */
/* body color: negro #212529 */

::selection {
  color: white;
  background: #D90927;
}

body {
  height: 100vh;
  max-height: 100vh;
  overflow-y: hidden;
  cursor: default;
}

.my-body-content {
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  min-width: min-content;
  display: flex;
  flex-direction: column;
  padding-right: 32px !important;
  padding-left: 32px !important;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

input:focus {
  outline-color: #D90927;
}

select:focus {
  outline-color: #D90927;
}

/* Configuraciones tipicas */
.h-100{
  height: 100%;
}

.w-100{
  width: 100%;
}

.pointer{
  cursor: pointer;
}

.hideScrollbar::-webkit-scrollbar {
  display: none;
}

svg[data-icon]:not(.fa-eye) {
  transition: 0.23s;
  color: #212529;
}

svg[data-icon]:hover {
  transition: 0.23s;
  color: #ff1e3d;
}

.readonly{
  cursor: default;
}

/* Collapse */
.collapseTarget {
  transition: display 0s, opacity 0.5s linear;
}
.hideCollapse {
  display: none !important;
}

.showCollapse {
  display: block !important;
}

/* Main containers */
.main-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 760px;
}

/* Folder tabs */
.folder-tab {
  color: rgba(0, 0, 0, 0.7);
  background-color: #D9D9D9 !important;
}

.folder-tab:hover{
  color: #DE8693;
}

.folder-tab.active{
  color: #D90927;
  background-color: #EDEDED !important;
  border-bottom-color: #EDEDED !important;
}

.folder-bg {
  background-color: #EDEDED;
  border-end-start-radius: 8px;
  border-end-end-radius: 8px;
  border-left: 1px solid #DEE2E6;
  border-right: 1px solid #DEE2E6;
  border-bottom: 1px solid #DEE2E6;
  flex: 1;
  display: flex;
  flex-direction: column;

  min-height: 0;
  min-width: min-content;
}

.folder-container {
  min-height: 0;
  margin: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 8px;
  padding-right: 8px;
  overflow-y: auto;
  border-radius: 4px;
}

.folder-content{
  display: flex !important;
  flex-direction: column;
  max-height: 100%;
}
/* --- */

/* Background */

.bg-grey {
  background-color: #D9D9D9 !important;
}

.bg-lightgrey {
  background-color: #EDEDED !important;
}

/* --- */

/* COLORES Y FORMAS */

.color-red {
  color: #D90927;
}

.color-green {
  color: green;
}

.color-blue {
  color: blue;
}

.color-purple {
  color: purple;
}

.color-inherit {
  color: inherit;
}

.hover-red {
  transition: 0.23s;
}

.hover-red:hover {
  transition: 0.23s;
  color: #D90927;
}

.color-white {
  color: white !important;
}

.infoCircle {
  /*border: solid 1px black;*/
  transition: 0.23s;
  background-color: #308ab2;
  border-radius: 1rem;
  width: 1.5rem;
  height: 1.5rem;
}

.infoCircle:hover {
  /*border: solid 1px black;*/
  transition: 0.23s;
  background-color: #D90927;
  border-radius: 1rem;
  width: 1.5rem;
  height: 1.5rem;
}

/* Colores ReceiptState */

.color_ReceiptState_1 {
  color: inherit;
}
.color_ReceiptState_2{
  color: green;
}
.color_ReceiptState_3{
  color: purple;
}
.color_ReceiptState_4{
  color: red;
}
.color_ReceiptState_5 {
  color: inherit;
}
.color_ReceiptState_6 {
  color: darkorange;
}

/* Colores ContractState */

.color_ContractState_1 {
  color: inherit;
}
.color_ContractState_2 {
  color: green;
}

/* Colores AlertTypes */

.color_AlertType_1 {
  color: green;
}
.color_AlertType_2 {
  color: darkgoldenrod;
}
.color_AlertType_3 {
  color: darkred;
}
.color_AlertType_4 {
  color: orangered;
}
.color_AlertType_5 {
  color: darkblue;
}

/* --- */

/* Botones */
.btn-One {
  height: 32px;
  min-width: min-content;
  background-color: #d80a27;
  color: white;
  box-shadow: 0px 0px 0px 2px #d80a27;
  border: 0px;
  border-radius: 2px;
  transition: 0.46s;

  padding: 0px 12px;
  margin: 2px;
}

.btn-One:hover {
  color: white;
  box-shadow: 0px 0px #FFFFAA !important;
  background-color: #ff1e3d;
  border-radius: 4px;
}

  .btn-One:focus {
    color: white;
    box-shadow: 0px 0px #FFFFAA !important;
    background-color: #ff1e3d;
    border-radius: 4px;
  }

.btn-Two {
  height: 32px;
  min-width: min-content;
  background-color: #999999;
  color: white;
  box-shadow: 0px 0px 0px 2px #999999;
  border: 0px;
  border-radius: 2px;
  transition: 0.46s;

  padding: 0px 12px;
  margin: 2px;
}

  .btn-Two:hover {
    color: #e2bfc4;
    box-shadow: 0px 0px #d80a27 !important;
    background-color: #777777;
    border-radius: 4px;
  }

  .btn-Two:focus {
    color: #e2bfc4;
    box-shadow: 0px 0px #d80a27 !important;
    background-color: #777777;
    border-radius: 4px;
  }

/* Otros elementos */
select{
  height: 30px;
}

.modal{
  height: auto !important;
}

@media (max-width: 992px) {
  .nav-things {
    text-align: start !important;
  }
  .avisos {
    align-items: start !important;
  }
}
.nav-things {
  text-align: center;
}
.avisos {
  align-items: end;
}

.power-on {
  color: #00ff00 !important;
}

.power-off {
  color: #ff0000 !important;
}

#evaluationEvaluation {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  background-image: none;
}

#evaluationReason {
  max-height: 200px;
  overflow-y: auto;
}

/* POPOVER*/
.popover {
  background-color: green; 
  color: #fff; 
  border-color: #000; 
  max-width: none; 
}
.popover-header {
  background-color: purple; 
  color: #fff;
}

.popover-content {
  font-size: 1.5em; 
}

 .popover .popover-content {
   white-space: pre-wrap; 
 }

.popover-body {
  color: #fff; 
}

