.cabinet {
  position: fixed;
  transition: all ease-in-out;
  transition-duration: 0.3s;
    z-index:2;
    opacity: 0.8;
}

.cabinet-drawer {
  position: absolute;
	top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.cabinet-drawer.drawer-open {
	z-index: 30;
}
.cabinet-drawer.drawer-close {
	z-index: 3;
}

.cabinet-knob {
  position: absolute;
  background-color: #f7f7f7 ;
  border: 1px solid #ddd;
}

.cabinet.cabinet-open .cabinet-drawer.drawer-open .cabinet-knob {
  background-color: #f7f7f7;
  border: none;
  z-index: 10;
}

.cabinet-box {
  position: absolute;
	top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;

  background-color: #f7f7f7;
  padding: 10px;
}

.cabinet-left {
  top: 0px;
  left: 0px;
  height: 300px;
}

.cabinet-top {
  top: 0px;
  right: 0px;
  width: 500px;
}

.cabinet-right {
  top: 95px;
  right: 0px;
  bottom: 0px;
}

.cabinet-right-shrinked {
    top: 68px;    
}

@media (max-width:991px) {
    .cabinet-right {
        top: 58px;
    }

    .cabinet-right-shrinked {
        top: 58px;
    }

}

.cabinet-bottom {
  bottom: 0px;
  left: 50px;
  width: 300px;
}

.cabinet-left .cabinet-knob,
.cabinet-right .cabinet-knob {
  width: 50px;
  height: 100px;
}

.cabinet-left .cabinet-knob p,
.cabinet-right .cabinet-knob p {
	transform: rotate(-90deg);
	transform-origin: left bottom;
  position: absolute;
  bottom: 0px;
  left: 20px;
	right: -50px;
  overflow: hidden;
}

.cabinet-left .cabinet-drawer:nth-child(1) .cabinet-knob,
.cabinet-right .cabinet-drawer:nth-child(1) .cabinet-knob {
  top: 0px;
}
.cabinet-left .cabinet-drawer:nth-child(2) .cabinet-knob,
.cabinet-right .cabinet-drawer:nth-child(2) .cabinet-knob {
  top: calc(100px - 10px);
}
.cabinet-left .cabinet-drawer:nth-child(3) .cabinet-knob,
.cabinet-right .cabinet-drawer:nth-child(3) .cabinet-knob {
  top: calc(200px - 20px);
}
.cabinet-left .cabinet-drawer:nth-child(4) .cabinet-knob,
.cabinet-right .cabinet-drawer:nth-child(4) .cabinet-knob {
  top: calc(300px - 30px);
}
.cabinet-left .cabinet-drawer:nth-child(5) .cabinet-knob,
.cabinet-right .cabinet-drawer:nth-child(5) .cabinet-knob {
  top: calc(400px - 40px);
}

.cabinet-left .cabinet-knob {
	right: -50px;
	border-radius: 0px 10px 10px 0px;
}


.cabinet-right .cabinet-knob {
	left: -50px;
	border-radius: 10px 0px 0px 10px;
}

.cabinet-right.cabinet.cabinet-open .cabinet-drawer.drawer-open .cabinet-knob {
}

.cabinet-top .cabinet-knob,
.cabinet-bottom .cabinet-knob {
  width: 100px;
  height: 50px;
  text-align: right;
}

.cabinet-top .cabinet-knob p,
.cabinet-bottom .cabinet-knob p {
  margin-top: 5px;
  margin-right: 5px;
  overflow: hidden;
}

.cabinet-top .cabinet-drawer:nth-child(1) .cabinet-knob,
.cabinet-bottom .cabinet-drawer:nth-child(1) .cabinet-knob {
  right: 0px;
}
.cabinet-top .cabinet-drawer:nth-child(2) .cabinet-knob,
.cabinet-bottom .cabinet-drawer:nth-child(2) .cabinet-knob {
  right: calc(100px - 10px);
}
.cabinet-top .cabinet-drawer:nth-child(3) .cabinet-knob,
.cabinet-bottom .cabinet-drawer:nth-child(3) .cabinet-knob {
  right: calc(200px - 20px);
}
.cabinet-top .cabinet-drawer:nth-child(4) .cabinet-knob,
.cabinet-bottom .cabinet-drawer:nth-child(4) .cabinet-knob {
  right: calc(300px - 30px);
}
.cabinet-top .cabinet-drawer:nth-child(5) .cabinet-knob,
.cabinet-bottom .cabinet-drawer:nth-child(5) .cabinet-knob {
  right: calc(400px - 40px);
}


.cabinet-top .cabinet-knob {
	bottom: -50px;
	border-radius: 0px 0px 10px 10px;
}


.cabinet-bottom .cabinet-knob {
	top: -50px;
	border-radius: 10px 10px 0px 0px;
}


