.c-container {
  @extend .scroll-style;
  position: fixed;
  height: 100% ;
  left: 240px;
  width: calc(100% - 240px);
  overflow: auto;
  padding: 40px 50px 100px;
  box-shadow: -15px 0px 0px 0px rgba(0, 0, 0, 0);
  transition: all 0.4s;

  @include breakpoint(lg) {
    width: calc(100%);
    left: 0px;
  }
  &--center {
    @include flex(false, false, center, unset);
  }
}

.p {
  &r-35 {
    padding-right: 35px !important;
  }
  &l-57 {
    padding-left: 57px !important;
  }
  &b-4px {
    padding-bottom: 4px !important;
  }
}

.m {
  &-1 {
    margin: 1rem;
  }
  &-y {
    &-2 {
      margin: 15px 0;
    }
  }
  &t {
    &-1 {
      margin-top: 1rem;
    }
    &-28 {
      margin-top: 28px;
    }
  }
  &b {
    &-1 {
      margin-bottom: 1rem;
    }
  }
}

.fz {
  &-20 {
    font-size: 20px !important;
  }
  &-18 {
    font-size: 18px !important;
  }
  &-16 {
    font-size: 16px !important;
  }
  &-14 {
    font-size: 14px !important;
  }
}

.secondary-background {
  background: $secondary-brand !important;
  color: $white !important;
  font-weight: 600;
}

.lightest-background {
  background: $white;
  background-position-x: -700px;
}

.gradient-background {
  padding: 2rem;
  margin: 1rem;
  font-family: "Heebo", sans-serif;
  font-weight: 700;
  display: inline-block;
  vertical-align: top;
  border-radius: 1rem;
  color: $white;
  max-width: 20rem;
  box-shadow: 0 1px 7px rgba(black, 0.3);
  background-image: linear-gradient(to right bottom, #003789, #822f8b, #c52872, #ea4b49, #eb8312);
  &:hover {
    box-shadow: 0 1px 7px rgba(black, 0.5);
  }
  & h1 {
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 800;
    margin: 0.5rem 0rem 1.5rem 0rem;
  }
  & button {
    width: 100%;
    background: $white;
    color: black;
    border-radius: 1rem;
    border: none;
    padding: 0.5rem;
    margin-top: 1.5rem;
    outline: none;
    font-weight: 600;
    &:hover {
      cursor: pointer;
    }
    &:focus {
      background: rgb(233, 237, 250);
      color: purple;
    }
  }
}

.c-title {
  @include flex(false, true, space-between, center);
  font-weight: 500;
  line-height: 26px !important;
  font-size: 20px !important;
  &-blue {
    color: $primary-brand;
  }
}
.center {
  text-align: center !important;
}

.btn-group {
  display: flex;
  gap: 10px;
  &--separated {
    justify-content: space-evenly;
    margin-top: 30px;
  }
}

.c-btn {
  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  outline: none !important;
  transition: box-shadow 0.1s, background 0.1s, transform 0.2s;
  border-radius: 4px !important;
  min-width: 130px;
  height: 30px;
  padding: 0px !important;
  font-size: 12px !important;
  &-mini {
    min-width: 30px !important;
    font-size: 14px !important;
    position: relative;
  }
  &-blue {
    @include btn-color(99, 180, 226);
  }
  &-red {
    @include btn-color(175,27,63);
  }
  &-green {
    @include btn-color(149, 193, 31);
  }
  &-white {
    @include btn-color(91, 100, 114);  
    border:1px solid $border !important;
    
    span {
      color: $dark-gray;
      &.icon {
        font-size: 20px;
        position: absolute;
        top: 0;
        left: 4px;
        width: 20px;
      }
    }
  }
  &:hover {
    &:enabled{
      transform: scale(1.04);
    }
  }
  &:disabled {
    border:1px solid $border !important;
    background:$white !important;
    color: $border !important;
    
    img{
      filter:  brightness(0%) invert(86%);
    }
  }
  
  &-input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    &:hover {
      transform: unset;
    }
  }
}

.c-modal .c-modal__content + button#submit {
  margin-top: 15px;
}

.shadow {
  &-1 {
    transition: all 0.4s;
    box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
    &-hover {
      &:hover {
        box-shadow: 0px 0px 6px 4px rgba(0, 0, 0, 0.08);
      }
    }
    &-nhover {
      box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1) !important;
    }
  }
}

.c-input {
  &[type="textarea"] {
    min-height: 100px;
  }
  @include widhHeight(100%, 285px);
  transition: all 0.2s;
  box-shadow: 0px 0px 1px 1px $primary-brand;
  padding-left: 8px;
  border-radius: 5px;
  border: 1px solid rgb(210, 210, 210);
  &:focus {
    box-shadow: 0px 0px 3px 1px $primary-brand;
    outline: none;
  }
}

.ml-auto {
  margin-left: auto;
}
.text-blue {
  color: $primary-brand;
}
.c-file {
  min-width: 200px;
  margin-top: 20px;
  color: transparent;
  &::-webkit-file-upload-button {
    visibility: hidden;
  }
  &::before {
    content: "Selecciona Archivos";
    min-width: 200px;
    text-align: center;
    outline: none;
    display: inline-block;
    background: linear-gradient(to top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    padding: 4px 8px;
    color: black;
    font-weight: 400;
    font-size: 14px;
    border-radius: 5px;
  }
  &:hover {
    &::before {
      border: 1px solid rgb(114, 114, 114);
    }
  }
  &:active {
    outline: none;
    &::before {
      background: -webkit-linear-gradient(to top, #e3e3e3, #f9f9f9);
    }
  }
  &:active {
    outline: none;
  }
}

.color {
  &-white {
    color: $white;
  }
}

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

.scroll-style {
  &::-webkit-scrollbar {
    width: 8px;
    position: absolute;
    height: 8px;
    &-thumb {
      background-color: $gray;
      border-radius: 6px;

      &:hover {
        background-color: $dark-gray;
      }
    }

    &-track {
      background-color: $tab-background;
      border-radius: 5px;
      margin: 5px 0;
    }
  }
}

.invisible-input {
  display: none;
}

.stripped {
  background-color: $secondary-brand !important;
  &-table {
    overflow: unset !important;
    tr:nth-child(1),
    tr:nth-child(2),
    tr:nth-child(4) {
      background-color: $white !important;
    }
    tr:nth-child(3),
    tr:nth-child(5) {
      background-color: $secondary-brand !important;
    }
  }
}

.text {
  &-center {
    text-align: center !important;
  }
  &-end {
    text-align: end !important;
  }
  &-red {
    color: $error-state;
  }
}

.text-link {
  text-decoration: underline;
}

.grid-commentary {
  grid-column: 2/4;
  @include breakpoint(md) {
    grid-column: 1/3;
  }
  @include breakpoint(s) {
    grid-column: unset;
  }
}

.select-lang {
  span {
    height: 30px !important;
  }
  select {
    width: 55px;
  }
}

.td-plus {
  @include flex(false, false, left, center);
  gap: 10px;
  img {
    cursor: pointer;
  }
}

.cell-container {
  @include flex(false, false, space-between, center);
  button {
    margin-top: 26px;
  }
}

.active-dropdown {
  tr {
    &:nth-child(2) {
      td {
        padding-top: 0 !important;
      }
    }
  }
}

.space-between {
  justify-content: space-between !important;
}

.bg-white {
  background: $white !important;
}
.text-grey {
  color: $gray !important;
}
