@import '../../lib/commonStyles/colors';

.root {
  width: 100%;
  height: 100%;
  position: relative;
}

.wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-left: 5px;
  // Safari will have strange behavior so disable it
  // transform: translateZ(0);
}

.withAnimation {
  transition: height 0.15s 0s ease-in-out;
}

.content {
  position: relative;
  height: 100%;
  top: 0;
  right: 0;
  padding: 0;
}

.extendIcon {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  box-sizing: border-box;
  border-radius: 8.5px;
  width: 36px;
  height: 17px;
  margin-left: -18px;
  margin-top: -8.5px;
  cursor: pointer;

  .extendInner {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -5px;
    margin-left: -4.5px;
    z-index: 1;
    height: 7px;
    width: 7px;
    border-left: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    box-sizing: border-box;
    transform: rotate(-45deg);
  }

  .extended {
    margin-top: -1.5px;
    transform: rotate(135deg);
  }
}
