@font-face{
  font-family: 'Roboto';
  src: url('../../assets/fonts/roboto/Roboto-Thin.ttf');
  font-style: normal;
  font-weight: 300;
}

@font-face{
  font-family: 'Roboto';
  src: url('../../assets/fonts/roboto/Roboto-Regular.ttf');
  font-style: normal;
  font-weight: 400;
}

@font-face{
  font-family: 'Roboto';
  src: url('../../assets/fonts/roboto/Roboto-Bold.ttf');
  font-style: normal;
  font-weight: 700;
}

:root{
  --color-primary: #393E45;
  --color-secondary: #575E69;
  --color-complement: #292e35;
  --color-highlight: #72A7F2;
  --color-success: #385378;
  --color-ok: #387875;
  --color-danger: #C05050;
  --color-warning: #C4AD5C;
  --color-light: #E1E1E1;
  --color-dark: #1c1c1c;  
  --color-gray: #b9b9b9;
  --color-gray-ligth: #D9D9D9;
  --color-white: #FFFFFF;
}

/*Reset*/
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: var(--color-gray);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  overflow: hidden;
}

/*Colors*/
.color-primary{
  color: var(--color-primary);
}

.color-secondary{
  color: var(--color-secondary);
}

.color-complement{
  color: var(--color-complement);
}

.color-highlight{
  color: var(--color-highlight);
}

.color-success{
  color: var(--color-success);
}

.color-ok{
  color: var(--color-ok);
}

.color-danger{
  color: var(--color-danger);
}

.color-warning{
  color: var(--color-warning);
}

.color-light{
  color: var(--color-light);
}

.color-dark{
  color: var(--color-dark);
}

.color-gray{
  color: var(--color-gray);
}

.color-gray-light{
  color: var(--color-gray-light);
}

.color-white{
  color: var(--color-white);
}

/*Backgrounds*/
.bg-primary{
  background-color: var(--color-primary);
}

.bg-secondary{
  background-color: var(--color-secondary);
}

.bg-complement{
  background-color: var(--color-complement);
}

.bg-highlight{
  background-color: var(--color-highlight);
}

.bg-success{
  background-color: var(--color-success);
}

.bg-ok{
  background-color: var(--color-ok);
}

.bg-danger{
  background-color: var(--color-danger);
}

.bg-warning{
  background-color: var(--color-warning);
}

.bg-light{
  background-color: var(--color-light);
}

.bg-dark{
  background-color: var(--color-dark);
}

.bg-gray{
  background-color: var(--color-gray);
}

.bg-gray-light{
  background-color: var(--color-gray-light);
}

.bg-white{
  background-color: var(--color-white);
}

/*Elements*/
dialog{
  margin: auto;
  padding: 10px;
  width: 100%;
  border-width: 0;
  border-radius: 5px;
  box-shadow: 0 0 0 100vw rgb(0 0 0 / 0%);
  transform: scale(0.1);
  transition: all 0.3s ease-in-out;
  min-height: 10vh;
  max-height: 95vh;
  overflow-y: auto;
  z-index: 200;
}

.dialog-full{
  width: 100%;
}

.dialog-lg{
  width: 80%;
}

.dialog-md{
  width: 50%;
}

.dialog-sm{
  width: 30%;
}

.dialog-scale{
  box-shadow: 0 0 0 100vw rgb(0 0 0 / 60%);
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}

/*General*/
.uppercase{
  text-transform: uppercase;
}

.lowercase{
  text-transform: lowercase;
}

.text-left{
  text-align: left;
}

.text-right{
  text-align: right;
}

.text-center{
  text-align: center;
}

.text-justify{
  text-align: justify;
}

/*Menu*/
.menu_sidebar ul {
  padding: 0;
  margin: 0;
}

.menu_sidebar li {
  list-style-type: none;
}

.menu_sidebar input[type=checkbox],
.swanky_toogle_button input[type=checkbox]
{
  display: none;
}

.menu_sidebar label {
  cursor: pointer;
}

::-webkit-scrollbar {
  display: none;
}

main{
  position: relative;
  left: 250px;
  top: 0;
  width: calc(100vw - 250px);
  height: 100vh;
  background-color: var(--color-primary);
  z-index: 1;
  transition: all 0.5s ease-in-out;
}

.menu_sidebar{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  transition: all 0.5s ease-in-out;
  z-index: 1000;
  background-color: transparent;
}

.swanky_toogle_button{
  position:absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 60px;
  color: var(--color-light);
  background-color: var(--color-complement);
  border-radius: 0 5px 5px 0;
  top: 0;
  left: 250px
}

.swanky_toogle_button > label{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  width: 100%;
  height: 100%
}

.swanky_wrapper {
  width: 250px;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-complement);
}

.swanky_wrapper .swanky_button{
  background-color: var(--color-complement);
  border-bottom: 1px solid var(--color-complement);
  font-size: 16px;
  text-decoration: none;
  color: var(--color-light);
  transition: text-indent 0.15s, height 0.3s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 60px;
  padding-left: 10px;
  transition: all 0.2s ease-in-out;
}

.swanky_wrapper .swanky_button:hover{
  border-bottom: 1px solid var(--color-light);
  background-color: var(--color-secondary);
  transition: all 0.2s ease-in-out;
}

.swanky_wrapper .swanky_button i{
  margin-right: 15px;
}

.swanky_wrapper .swanky_button span{
  width: 170px;
}

.swanky_wrapper .swanky_button .lil_arrow {
  width: 7px;
  height: 7px;
  transition: transform 0.2s;
  border-top: 2px solid var(--color-light);
  border-right: 2px solid var(--color-light);
  float: right;
  position: relative;
  transform: rotate(45deg);
}

.swanky_wrapper .swanky_wrapper__content{
 display: none;
 width: 100%;
}

.swanky_wrapper .swanky_wrapper__content a{
  display: block;
  width: 100%;
  background-color: var(--color-gray);
  color: var(--color-dark);
  height: 48px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  padding-left: 15px;
  transition: all 0.2s ease-in-out;
}

.swanky_wrapper .swanky_wrapper__content a:hover{
  background-color: var(--color-gray-ligth);
  transition: all 0.2s ease-in-out;
}

.swanky_wrapper .swanky_wrapper__content li{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  font-size: 14px;
}

.swanky_wrapper .swanky_wrapper__content li i{
  margin-right: 10px;
}
 
/*Estados*/
.swanky_wrapper input[type=checkbox]:checked + label  > .swanky_button{
  border-bottom: 1px solid var(--color-light);
  background-color: var(--color-secondary);
}

.swanky_wrapper input[type=checkbox]:checked + label  > .swanky_wrapper__content{
  display: block;
}

.swanky_wrapper input[type=checkbox]:checked + label .swanky_button .lil_arrow{
  transition: transform 0.2s;
  transform: rotate(135deg);
} 

.swanky_toogle_button input[type=checkbox]:checked + label > i{
  transform: rotate(180deg);
}

.menu_sidebar_closed{
  left: -250px;
  transition: all 0.5s ease-in-out;
}

.content-full{
  width: 100vw;
  height: 100vh;
  left: 0;
  transition: all 0.5s ease-in-out;
}

/*Componentes Formularios*/
.form-floating{
  position: relative;
  display: block;
  border: 0;
  margin: 0;
}

.form-control,
.form-select{
  display: block;
  width: 100%;
  height: 50px;
  border: 0;
  font-size: 16px;
  border-radius: 5px;
  background-color: var(--color-light);
  outline: 2px solid var(--color-gray);
  box-shadow: 0;
  padding: 5px 5px 5px 5px;
  z-index: 1;
}

.form-control:focus,
.form-select:focus
{
  outline: 2px solid rgb(82 140 222 / 100%);
  box-shadow: 0 0 5px 5px rgb(82 140 222 / 80%);
}

.form-control::placeholder{
  color: #1a1a1a;
  opacity: 0.8;
  font-weight: 700;
}

.form-floating label{
  position: absolute;
  top: 10px;
  left: 5px;
  color: transparent;
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
  transition: all 0.1s ease-in-out;
}

.form-floating .form-control:focus,
.form-floating .form-control:not(:placeholder-shown),
.form-floating .form-select{
  padding-top: 16px;
}

.form-floating .form-control:focus + label,
.form-floating .form-control:not(:placeholder-shown) + label,
.form-floating .form-select + label{
  position: absolute;
  color: #000;
  display: block;
  font-size: 12px;
  font-weight: 700;
  top: 5px;
  left: 5px;
  z-index: 100;
  transition: all 0.1s ease-in-out;
}

.form-floating .form-control:focus::placeholder  {
  color: transparent;
}


.checkbox-wrapper-14 input[type=checkbox] {
  --active: #275EFE;
  --active-inner: #fff;
  --focus: 2px rgba(39, 94, 254, .3);
  --border: #BBC1E1;
  --border-hover: #275EFE;
  --background: #fff;
  --disabled: #F6F8FF;
  --disabled-inner: #E1E6F9;
  appearance: none;
  height: 23px;
  outline: none;
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin: 0;
  cursor: pointer;
  border: 1px solid var(--bc, var(--border));
  background: var(--b, var(--background));
  transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
}
.checkbox-wrapper-14 input[type=checkbox]:after {
  content: "";
  display: block;
  left: 0;
  top: 0;
  position: absolute;
  transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
}
.checkbox-wrapper-14 input[type=checkbox]:checked {
  --b: var(--active);
  --bc: var(--active);
  --d-o: .3s;
  --d-t: .6s;
  --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
}
.checkbox-wrapper-14 input[type=checkbox]:disabled {
  --b: var(--disabled);
  cursor: not-allowed;
  opacity: 0.9;
}
.checkbox-wrapper-14 input[type=checkbox]:disabled:checked {
  --b: var(--disabled-inner);
  --bc: var(--border);
}
.checkbox-wrapper-14 input[type=checkbox]:disabled + label {
  cursor: not-allowed;
}
.checkbox-wrapper-14 input[type=checkbox]:hover:not(:checked):not(:disabled) {
  --bc: var(--border-hover);
}
.checkbox-wrapper-14 input[type=checkbox]:focus {
  box-shadow: 0 0 0 var(--focus);
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch) {
  width: 21px;
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):after {
  opacity: var(--o, 0);
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked {
  --o: 1;
}
.checkbox-wrapper-14 input[type=checkbox] + label {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  margin-left: 4px;
}

.checkbox-wrapper-14 input[type=checkbox]:not(.switch) {
  border-radius: 7px;
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):after {
  width: 5px;
  height: 9px;
  border: 2px solid var(--active-inner);
  border-top: 0;
  border-left: 0;
  left: 7px;
  top: 4px;
  transform: rotate(var(--r, 20deg));
}
.checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked {
  --r: 43deg;
}
.checkbox-wrapper-14 input[type=checkbox].switch {
  width: 38px;
  border-radius: 11px;
}
.checkbox-wrapper-14 input[type=checkbox].switch:after {
  left: 2px;
  top: 2px;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  background: var(--ab, var(--border));
  transform: translateX(var(--x, 0));
}
.checkbox-wrapper-14 input[type=checkbox].switch:checked {
  --ab: var(--active-inner);
  --x: 17px;
}
.checkbox-wrapper-14 input[type=checkbox].switch:disabled:not(:checked):after {
  opacity: 0.6;
}


.checkbox-wrapper-14{
  width: auto;
}

.checkbox-wrapper-14 * {
  box-sizing: inherit;
}
.checkbox-wrapper-14 *:before,
.checkbox-wrapper-14 *:after {
  box-sizing: inherit;
}

/*Headers*/
.top-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-primary);
}

.main-header{
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-align: right;
  border-bottom: 1px solid var(--color-gray);
  padding: 30px;
}

.title-header{
  font-size: 30px;
  color: var(--color-dark);
  text-align: left;
}

.section-header{
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #575E69;
  color: #fff;
  padding: 10px;
  border: 0;
  border-radius: 5px;
}

/*Controles*/
.controls{
  display: block;
}

.controls .container-controls{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-gray);
  padding: 10px;
}

/*Botones*/
.btn{
  display: block;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.btn:hover{
  filter: brightness(130%);
  transition: all 0.2s ease-in-out;
}

.btn-table{
  display: block;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.btn-table:hover{
  filter: brightness(130%);
  transition: all 0.2s ease-in-out;
}

.btn-dashboard{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  height: 100px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.btn-dashboard:hover{
  filter: brightness(130%);
  transition: all 0.2s ease-in-out;
}

/*Tables*/
.table{
  width: 100%;
  height: calc( 100% - 229px);
}

.tabulator-cell{
  height: auto !important;
}

/*Catalog*/
.catalog-header{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
  width: 100%;
}

.catalog-header > div{
  padding: 15px;
}

.catalog-header > div:not(:last-child){
  border-right: 1px solid var(--color-gray);
}

.catalog{
  width: 100%;
  height: calc(100% - 278px);
  margin: auto;
  background-color: var(--color-white);
  overflow-y: auto;
}

.catalog .btn-square{
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

.catalog .level-1{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
}

.catalog .level-1:hover{
  background-color: var(--color-gray-ligth);
}

.catalog .level-1 > div{
  display: flex;
  align-items: center;
  height: 60px;
  padding: 15px;
  border-right: 1px solid var(--color-gray);
}

.catalog .level-1 > div:last-child{
  border-right: 0;
}

.catalog .level-2{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 700;
  background-color: white;
  border-bottom: 1px solid var(--color-gray);
}

.catalog .level-2:hover{
  background-color: var(--color-gray-ligth);
}

.catalog .level-2 > div{
  display: flex;
  align-items: center;
  height: 60px;
  padding: 15px;
  border-right: 1px solid var(--color-gray);
}

.catalog .level-2 > div:first-child{
  padding-left: 45px;
}

.catalog .level-2 > div:last-child{
  border-right: 0;
}

.catalog .level-3{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
}

.catalog .level-3:hover{
  background-color: var(--color-gray-ligth);
}

.catalog .level-3 > div{
  display: flex;
  align-items: center;
  height: 60px;
  padding: 15px;
  border-right: 1px solid var(--color-gray);
}

.catalog .level-3 > div:first-child{
  padding-left: 75px;
}

.catalog .level-3 > div:last-child{
  border-right: 0;
}

.catalog .level-4{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
}

.catalog .level-4:hover{
  background-color: var(--color-gray-ligth);
}

.catalog .level-4 > div{
  display: flex;
  align-items: center;
  height: 60px;
  padding: 15px;
  border-right: 1px solid var(--color-gray);
}

.catalog .level-4 > div:first-child{
  padding-left: 105px;
}

.catalog .level-4 > div:last-child{
  border-right: 0;
}

.hide-entries{
  display: none;
}

.show-entries{
  display: block;
}

/*Company selector*/
.btn-selector{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--color-light);
  width: 350px;
  height: 350px;
  cursor: pointer;
  font-size: 30px;
  font-weight: bold;
  background-color: var(--color-success);
  border-radius: 5px;
  margin: 10px;
  text-align: center;
  text-decoration: none;
}

label input[type=radio]:checked + .btn-selector{
  background-color: var(--color-ok);
}
