/************ LIGHT VERSION  (DESIGN 2) *************/


/********** BASIC STYLING ******/

#title {
	font: 42px 'Yanone Kaffeesatz', arial, serif;
	letter-spacing: 2px;
	margin: 40px 0;
	color: #666;
	text-align: center;
	text-shadow: 0 1px 0 #fff, 0 -1px 1px #000;
}


/***********  STYLING THE TAB SYSTEM ************/

#tab-area4 {
    width: 600px;
    margin: 40px auto 0 auto;
	position: relative;
}


/* Styles for the tabs */
.tab4 {
    position: relative;
    width: 100px;
    height: 38px;
	float: left;
	cursor: pointer;
	font: bold 14px  Calibri, "Myriad Pro", Myriad, Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans serif;
	letter-spacing: 1px;
	border-right:  1px solid #aaa;
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.tab4:first-of-type {
	margin-left: 30px;
	border-left: 1px solid #888;
	-moz-border-radius: 8px 0 0 0;
    -webkit-border-radius: 8px 0 0 0;
    border-radius: 8px 0 0 0;
}

.tab4:nth-of-type(3) {						/* Change this number according to the no. of tabs you have. Unfortunately :last-of-type does not seem to work in this case */
	border-right: 1px solid #888;
	-moz-border-radius: 0 8px 0 0;
    -webkit-border-radius: 0 8px 0 0;
    border-radius: 0 8px 0 0;
}


.tab4 label {
  font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #ffffff;
  text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
	text-decoration:none;
	font-weight:bold;
	letter-spacing:-1px;
	text-transform:capitalize
    display: block;
    height: 38px;
    position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 2;
    color: #fff;
    text-decoration: none;
	text-align: center;
	line-height: 38px;
	outline: none;
	cursor: pointer;
}

input[name=pane4] {
	display: none;
}

/* Style for span tag that causes active/current tab highlighting */
#active4 {
    position: absolute;
	display: block;
    top: -3px;
	width: 110px;
	height: 48px;
    z-index: 1;
	-moz-border-radius: 8px 8px 0 0;
    -webkit-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
	-moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

/* Code to achieve inverted round corners at bottom of #active */
#active4:before4 {
	content: '';
	position: absolute;
	top: 40px;
	left: -10px;
	width: 10px;
	height: 8px;
	background: transparent;
	-moz-border-radius: 0 0 18px 0;
	-webkit-border-radius: 0 0 18px 0;
	border-radius: 0 0 18px 0;
}

#active4:after4 {
	content: '';
	position: absolute;
	top: 40px;
	left: 107px;
	width: 10px;
	height: 8px;
	background: transparent;
	-moz-border-radius: 0 0 0 18px;
	-webkit-border-radius: 0 0 0 18px;
	border-radius: 0 0 0 18px;
}

/* The strip between the tabs and the panes */
.tab-strip4 {
	content: '';
	position: relative;
	clear: both;
	z-index: 1;
	height: 10px;
	width: 560px; /*600px*/
	-moz-border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
	-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}


/* Styles for the panes and their parent wrapper */
.panes-scroll4 {
    width: 560px; /*598px*/
	position: relative;
    overflow: hidden;
	clear: both;
    border: 1px solid #aaa;
	border-top: none;
    -moz-border-radius: 0 0 8px 8px;
    -webkit-border-radius: 0 0 8px 8px;
    border-radius: 0 0 8px 8px;
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.panes-items4 {
	width: 2500px;
	position: relative;
	-webkit-transition: margin-left 500ms ease-in-out ;
	-moz-transition: margin-left 500ms ease-in-out ;
	-o-transition: margin-left 500ms ease-in-out ;
	-ms-transition: margin-left 500ms ease-in-out ;
	transition: margin-left 500ms ease-in-out ;
}

.panes-items4 > div {
    padding: 20px;
	width: 519px;
	height: 0;
	font: 12px/1.4 Calibri, "Myriad Pro", Myriad, Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans serif;
	float: left;
}


/******************** THE TAB SWITCHING FUNCTIONALITY **************/

/* On page load with no hash tag in url, display first pane and highlight first tab */
.panes-items4 > div:first-of-type { height: auto; }
#active4 { left: 27px;}


/* On url hash change set zero height for all panes */
input[name=pane4]:checked ~ .panes-scroll4 .panes-items4 > div { height: 0; }


/* Scroll the required pane into view */
#p14:checked ~ .panes-scroll4 .panes-items4 { margin-left: 0;}
#p24:checked ~ .panes-scroll4 .panes-items4 { margin-left: -560px;}
#p34:checked ~ .panes-scroll4 .panes-items4 { margin-left: -1120px;}
#p74:checked ~ .panes-scroll .panes-items { margin-left: -2240px;}
#p44:checked ~ .panes-scroll .panes-items { margin-left: 0;}
#p54:checked ~ .panes-scroll .panes-items { margin-left: -600px;}
#p64:checked ~ .panes-scroll .panes-items { margin-left: -1200px;}


/* After the previous step now set the height of the appropriate pane */
#p14:checked ~ .panes-scroll4 .panes-items4 > div:nth-of-type(1) ,
#p24:checked ~ .panes-scroll4 .panes-items4 > div:nth-of-type(2) ,
#p34:checked ~ .panes-scroll4 .panes-items4 > div:nth-of-type(3) ,
#p74:checked ~ .panes-scroll .panes-items > div:nth-of-type(4) ,
#p44:checked ~ .panes-scroll .panes-items > div:nth-of-type(4) ,
#p54:checked ~ .panes-scroll .panes-items > div:nth-of-type(5) ,
#p64:checked ~ .panes-scroll .panes-items > div:nth-of-type(6) {
	height: auto;
}


/* And also highlight the appropriate tab */
#p14:checked ~ #active4 { left: 27px;}

#p24:checked ~ #active4 { left: 127px;}

#p34:checked ~ #active4 { left : 227px;}

#p74:checked ~ #active { left : 327px;}

#p44:checked ~ #active { left: 27px;}

#p54:checked ~ #active { left: 127px;}

#p64:checked ~ #active { left : 227px;}