.sideBar {
  position: fixed;
  width: 90%;
  overflow-y: auto;
  height: 100%;
  top: 0%;
  right: 0%;
  z-index: 10;
  display: none;
  font-family: 'VFSans';
  box-shadow: -3px 2px 14px 0 rgba(255, 255, 255, 0.59);
  background-color: var(--navy);
  &__header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    .btn_close {
      background-color: transparent;
      border: none;
      &::after {
        content: '';
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='20' viewBox='0 0 21 20'%3E%3Cg stroke='%23FFF' stroke-width='2' fill='none' fill-rule='evenodd' stroke-linecap='round'%3E%3Cpath d='m1.16 1 17.893 18M19 1 1.106 19'/%3E%3C/g%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        width: 21px;
        height: 20px;
        display: block;
      }
    }
  }
  &__body {
    width: 100%;
    position: relative;
    display: block;
  }
  &link {
    &.bg-Gray{
      background-color: rgba(216, 216, 216, 0.2);
      .groupSearch {
        display: flex;
        align-items: center;
        .field {
          position: relative;
          input{
            width: 90%;
          }
          .search-icon {
            svg {
              width: 20px;
              height: 20px;
              fill: #fff;
            }
          }
          .blockresultsSearch { 
            position: absolute;
            min-height: 203px;
            left: 0%;
            top: 120%;
            width: 100%;
            height: 100%;
            overflow-y: auto;
      
            .results-group {
              &--item {
                background-color: #012644;
                &,
                a,
                a:hover {
                  //@extend %openSans-font;
                  font-size: 16px;
                  font-weight: 300;
                  line-height: 1.38;
                  color: #fff;
                }
              }
            }
          }
        }
      }
    }
    &__dropdowns {
      display: grid;
      grid-template-columns: 75% 25%;
      justify-content: center;
      border: solid 1px #385c72;
      border-left: none;
      border-right: none;
      border-radius: 0px;
      a{
        order: 1;
      }
      .sideBarlink_collapse{
        background-color: transparent;
        border: none;
        order: 2;
      }
    }
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1rem;
    &[aria-expanded='true'] {
      background-color: rgba(35, 196, 255, 0.36);
      +a {
        background-color:rgba(35, 196, 255, 0.36);
        color: var(--a-blanco);
      }
      &::after {
        content: '';
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='%230092d1'%3E%3Cpath d='M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
      }
    }
    &[aria-expanded='false'] {
      +a{
        background-color: transparent;
      }
      &::after {
        content: '';
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='%230092d1'%3E%3Cpath d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
      }
    }
    &.first {
      padding: 1rem 3rem;
    }
    &__btn {
      padding-right: 25px;
      &:hover {
        background-color: #23c4ff;
        font-weight: bold;
      }
      a {
        color: var(--a-blanco);
        &:hover {
          color: var(--a-blanco);
        }
      }
    }
  }
}

.aside-blue {
  background-color: var(--navy);
  .itemLink,
  .accordion-button,
  .accordion-header,
  a {
    color: var(--a-blanco);
    font-weight: 600;
  }
  .itemContent,
  .accordion {
    border: none;
    text-align: center;
    &:hover {
      color: var(--a-blanco);
    }
    &.blue {
      background-color: var(--a-azul-unops);
    }
    &.orange {
      background-color: var(--b-cereza);
    }
    &.gray {
      background-color: rgba(216, 216, 216, 0.2);
    }
  }
}

.v-show {
  display: block;
  animation-name: v-show;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}

@keyframes v-hidden {
  0% {
    right: 0%;
  }

  100% {
    right: -100%;
  }
}

.v-hidden {
  display: block;
  animation-name: v-hidden;
  animation-duration: 0.5s;
  animation-timing-function: ease;
}

@keyframes v-show {
  0% {
    right: -100%;
  }

  100% {
    right: 0%;
  }
}
