.tabs {
    position: relative;
	margin: 40px auto;
	width: 100%;
}

.tabs input {
	position: absolute;
	z-index: 1000;
	width: 40%;
	height: 40px;
	left: 0px;
	top: 0px;
	opacity: 0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
	cursor: pointer;
}
.tabs input#tab-1{ right:0 }
.tabs input#tab-2{
	right: 40%;
	 width: 40%;
}
.tabs input#tab-3{
	right: 75%;
}

.tabs label {
	background:  #EEEEEE;
	line-height: 40px;
	height: 40px;
	position: relative;
	padding: 0 20px;
    float: right;
	display: block;
	width: 40%;
	text-align: center;
	border-left:1px solid #fff;

}

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

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

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

}

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

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

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

.tabs input:checked + label {
    background: #fff;
	z-index: 6;
	border:1px solid #DDDDDD;
	border-bottom:none;
}

.clear-shadow {
	clear: both;
}

.content {
    background: #fff;
	position: relative;
    width: 100%;
   padding:5% 2.5%;
	z-index: 5;
	overflow: hidden;
   border:1px solid #DDDDDD;
   min-height: 350px;
}

.content div {
    position: absolute;
	top: 0;
	padding: 10px 40px;
	z-index: 1;
    opacity: 0;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    transition: all linear 0.3s;
}

.content-1, .content-3,.content-2, .content-4 {
	-webkit-transform: translateX(-250px);
	-moz-transform: translateX(-250px);
	-o-transform: translateX(-250px);
	-ms-transform: translateX(-250px);
	transform: translateX(-250px);
}


.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 {
	 position:relative;
    -webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-o-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform: translateX(0px);
	z-index: 100;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition: all ease-out 0.2s 0.1s;
    -moz-transition: all ease-out 0.2s 0.1s;
    -o-transition: all ease-out 0.2s 0.1s;
    -ms-transition: all ease-out 0.2s 0.1s;
    transition: all ease-out 0.2s 0.1s;
}

.content div h2,
.content div h3{
	color: #398080;
}
.content div p {

	text-align: right;
	margin: 0;



}

@media screen and (min-width:100px) and (max-width:559px) {
 .content div{ padding:10px; }


}
