.tabs {
  position: relative;

}

.tabs input {
	position: absolute;
	z-index: 1000;
	width: 125px;
	height: 60px;
	left: 0px;
	top: 0px;
	opacity: 0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
	cursor: pointer;
	vertical-align: middle;
}
.tabs input#tab-2{
	left: 125px;
}
.tabs input#tab-3{
	left: 250px;
}
.tabs input#tab-4{
	left: 375px;
}

.tabs label {
  font-size: 13px;
  line-height: 18px;
  height: 60px;
  position: relative;
  padding: 0 10px;
  float: left;
  display: block;
  width: 105px;
  color: #000;
  font-weight: bold;
  text-align: center;
  
}

.tabs label:after {
  content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	display: block;
}

.tabs input:hover + label {
  background: #d4d2ff;
}

.tabs label:first-of-type {
    z-index: 4;
}

.tab-label-2 {
    z-index: 3;
}

.tab-label-3 {
    z-index: 2;
}

.tab-label-4 {
    z-index: 1;
}

.tabs input:checked + label {
	z-index: 6;
}

.clear-shadow {
	clear: both;
}

.content {
z-index: 5;
}

.content div {
  position: absolute;
  top: 100px;
  left: 25px;
  z-index: 1;
    opacity: 0;
}

.tabs input.tab-selector-1:checked ~ .content .content-1,
.tabs input.tab-selector-2:checked ~ .content .content-2,
.tabs input.tab-selector-3:checked ~ .content .content-3,
.tabs input.tab-selector-4:checked ~ .content .content-4 {
	z-index: 100;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 0.9;
    background: #fff;
    padding: 0 15px;
    width: 500px;

    -webkit-transition: opacity ease-out 0.2s 0.1s;
    -moz-transition: opacity ease-out 0.2s 0.1s;
    -o-transition: opacity ease-out 0.2s 0.1s;
    -ms-transition: opacity ease-out 0.2s 0.1s;
    transition: opacity ease-out 0.2s 0.1s;
}