.square-select-container {
  width: 100%;
  letter-spacing: .1px;
  -webkit-transition: all .25s;
  -o-transition: all .25s;
  transition: all .25s;


  &.small {
    font-size: 14px;
  }

  &.medium {
    font-size: 14px;
  }

  &.big {
    font-size: 15px;
  }

  .MuiSelect-select:focus {
    background-color: transparent;
    background: none;
  }

  .MuiInputLabel-outlined {
    z-index: 1;
    pointer-events: none;
  }

  .MuiFormHelperText-root {
    position: absolute;
  }

  &.small.icon {
    .MuiInputLabel-outlined {
      transform: translate(38px, 11px) scale(1);
    }

    .MuiInputLabel-formControl {
      transform: translate(38px, 28px) scale(1);
    }
  }

  &.small {
    .MuiInputBase-root {
      height: 38px;
    }

    .MuiInputLabel-formControl {
      transform: translate(0px, 28px) scale(1);
    }

    .MuiInputLabel-outlined {
      transform: translate(14px, 11px) scale(1);
    }

    .MuiFormHelperText-root {
      top: 35px;
    }
  }

  &.medium.icon {
    .MuiInputLabel-outlined {
      transform: translate(38px, 16px) scale(1);
    }

    .MuiInputLabel-formControl {
      transform: translate(38px, 34px) scale(1);
    }
  }

  &.medium {
    .MuiInputBase-root {
      height: 48px;
    }

    .MuiInputLabel-formControl {
      transform: translate(0px, 34px) scale(1);
    }

    .MuiInputLabel-outlined {
      transform: translate(14px, 16px) scale(1);
    }

    .MuiFormHelperText-root {
      top: 45px;
    }
  }

  &.big.icon {
    .MuiInputLabel-outlined {
      transform: translate(38px, 22px) scale(1);
    }

    .MuiInputLabel-formControl {
      transform: translate(38px, 40px) scale(1);
    }
  }

  &.big {
    .MuiInputBase-root {
      height: 58px;
    }

    .MuiInputLabel-formControl {
      transform: translate(0px, 40px) scale(1);
    }

    .MuiInputLabel-outlined {
      transform: translate(14px, 22px) scale(1);
    }

    .MuiFormHelperText-root {
      top: 55px;
    }
  }

  .square-select-label {
    &.small {
      font-size: 14px;
    }

    &.medium {
      font-size: 14px;
    }

    &.big {
      font-size: 15px;
    }

    /* position: absolute; */
    /* top: 15px; */
    /* left: 11px; */
    /* z-index: 2; */
    /* padding: 0 1px; */
    /* border-radius: 5px; */
    letter-spacing: .1px;
    pointer-events: none;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
  }
}

.square-select-container.disabled {
  opacity: 0.5 !important;
}

.square-select {}


@media only screen and (max-width: 767px) {
  .square-select-container {
    &.small.icon {
      .MuiInputLabel-outlined {
        transform: translate(38px, 9px) scale(1);
      }

      .MuiInputLabel-formControl {
        transform: translate(38px, 27px) scale(1);
      }
    }

    &.small {
      .MuiInputBase-root {
        height: 36px;
      }

      .MuiInputLabel-formControl {
        transform: translate(0px, 27px) scale(1);
      }

      .MuiInputLabel-outlined {
        transform: translate(14px, 9px) scale(1);
      }

      .MuiFormHelperText-root {
        top: 32px;
      }
    }

    &.medium.icon {
      .MuiInputLabel-outlined {
        transform: translate(38px, 14px) scale(1);
      }

      .MuiInputLabel-formControl {
        transform: translate(38px, 30px) scale(1);
      }
    }

    &.medium {
      .MuiInputBase-root {
        height: 42px;
      }

      .MuiInputLabel-outlined {
        transform: translate(14px, 14px) scale(1);
      }

      .MuiFormHelperText-root {
        top: 42px;
      }

      .MuiInputLabel-formControl {
        transform: translate(0px, 30px) scale(1);
      }
    }

    &.big.icon {
      .MuiInputLabel-outlined {
        transform: translate(38px, 16px) scale(1);
      }

      .MuiInputLabel-formControl {
        transform: translate(38px, 34px) scale(1);
      }
    }

    &.big {
      .MuiInputBase-root {
        height: 48px;
      }

      .MuiInputLabel-outlined {
        transform: translate(14px, 16px) scale(1);
      }

      .MuiFormHelperText-root {
        top: 48px;
      }

      .MuiInputLabel-formControl {
        transform: translate(0px, 34px) scale(1);
      }
    }
  }
}

.square-custom-select {
  transition: all 0.25s;

  .square-select-anchor-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-width: 120px;
    border-radius: 10px;
    align-items: stretch;

    .square-select-anchor-text-container {
      display: flex;
      flex-direction: row;
      margin: 12px;
    }

    .square-select-anchor-icon-container {
      border-left: 1px solid transparent;
      margin-right: 9px;
      margin-left: 12px;
      display: flex;
      align-items: center;
    }
  }

  .square-custom-select-icon {
    margin-left: 8px;
  }

  .square-custom-select-icon.open {
    transition: all 0.25s;
    transform: rotate(180deg);
  }
}