.tabs {
  font-size: 0;
  margin: 25px 0;

}

.tabs:after {
  clear: both;
  content: '';
  display: table;
 
}

.tabs .tab {
  display: inline;
  
}

.tabs .tab-label {
  background: #eee; 
  border: 1px solid #ccc; 
  display: inline-block;
  font-size: 16px;
  font-size: 1rem;
  left: 1px;
  margin-left: -1px;
  padding: 10px; 
  position: relative;
  vertical-align: bottom;
  
}

.tabs .tab > [type="radio"] {
  clip: rect(0 0 0 0);
  height: 1px;
  opacity: 0;
  position: fixed;
  width: 1px;
  z-index: -1;
 
  left: 5px;
  margin-left:4px;
  margin-right:4px;

 
}

.tabs .tab-panel {
  display: inline;
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 0;
  width: 0;
  border-radius: 5px 5px 0 0;

}

.tabs .tab-content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  background: white;
  padding: 0 20px;
  border: 1px solid #ccc;
  float: left;
  font-size: 16px;
  font-size: 1rem;
  margin-top: -1px;
  margin-left:-10px;
  width: 100%;
}

.tabs .tab [type="radio"]:checked + .tab-label {
  background: white;
  border-bottom-width: 0;
  padding-bottom: 11px;
  z-index: 1;
  
  	 color:gray  ;   
	 text-shadow: none; 
	 font-weight: bold;
	  background-color:rgb(244,240,231 ); 
	  -moz-box-shadow: 0 0px 4px rgb(0,0,0, .5);
	  -webkit-box-shadow: 0  0px 4px rgb(0,0,0, .5);
	  box-shadow: 1px -5px 4px rgb(0,0,0, .5);
	  box-shadow: inset 0 10px 6px -10px white;
	  border-bottom: 2px solid #F7F7F7 ;
	  background-color:#F7F7F7 ;
	 
 
}

.tabs label:hover {
  color: #304030    ;
  /*background-image:url('images/btnHover.png');*/
  background-color:#F7F7F7 ; 
  border-color: #B0B0B0;
   border-bottom: none;
  text-shadow: 1px 1px 1px white;
  border-bottom: 1px solid #F7F7F7; 
 
}

.tabs .tab [type="radio"]:checked ~ .tab-panel {
  display: inline;
  left: 5px;
}


/*

=======================================
INTERNET EXPLORER 8 and below 
=======================================

*/
@media \0screen\,screen\9 {
  /* IE7 and IE6 */
  .tabs {
    zoom: 1;
  }
  
  /* IE8 and below */
  .tabs .tab .tab-radio {
    filter: Alpha(opacity=0);
    position: absolute;
    z-index: -1;
  }
  
  /* IE7 and IE6 */
  .tabs .tab .tab-panel, {
    display: none;
    height: auto;
    overflow: visible;
    position: static;
    width: auto;
  }
  
  /* IE7 and IE6 */
  .tabs .tab-content, {
    float: none;
    padding-bottom: 1px;
    padding-top: 1px;
    width: auto;
  }
  
  /* IE8 and below */
  .tabs .checked label {
    background: white;
    border-bottom-width: 0;
    padding-bottom: 11px;
    z-index: 1;
  }
  
  /* IE8 */
  .tabs .checked .tab-panel {
    display: inline;
  }
  /* IE7 and IE6 */
  .tabs .checked .tab-panel, {
    display: inline;
    float: left;
    width: 100%;
  }
}






/*

=======================================
UNIMPORTANT STYLES BEGIN HERE
=======================================

*/
html {
  background: #333;
  color: #DDD;
  padding: 1em;
}

a:link,a:visited,a:hover,a:focus,a:active {
  color: #58C;
}

label {
  cursor: pointer;
  font: 9px  "Helvetica", 'Open Sans Condensed', 'Helvetica Neue',  sans-serif;
  font-size: 13px;
  display: block;
  text-align: left;
  padding: 5px 5px;
  border-radius: 3px 3px 0 0;
  color: gray;
  font-weight: normal;
  height:32px; 
  cursor: pointer;
  position:  relative;
 	border: 1px solid #B0B0B0  ;
	border-bottom: none;
	-moz-border-top-right-radius: 1ex;
	-ms-border-top-right-radius: 1ex;
	-o-border-top-right-radius: 1ex;
	-webkit-border-top-right-radius: 1ex;
	 border-top-left-radius: 0.9ex;
	 border-top-right-radius: 0.9ex;
	 box-shadow: inset 3px 10px 5px -10px white;
	}

.tabs {
  color: #222;
}

.tabs a:link,.tabs a:visited,.tabs a:hover,.tabs a:focus,.tabs a:active {
  color: #36A;
 
}

body > h3 {
  font-variant: small-caps;
  letter-spacing: .0625em;
}

p {
  line-height: 1.5;
  max-width: 50em;
}

code,pre {
  font-family: 'Lucida Console', monospace;
}

pre {
  background: #191919;
  color: #8DA;
  overflow-x: auto;
  padding: 1em;
}

p > code {
  background: #DED;
  margin: -2px;
  padding: 2px;
}

.for {
  display: inline-block;
  position: relative;  
}

.for:after {
  background: #DDD;
  bottom: 150%;
  color: #222;
  font-family: sans-serif;
  font-size: 12px;
  opacity: 0;
  padding: .5em;
  pointer-events: none;
  position: absolute;
  right: 0;
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  white-space: nowrap;
}

.for:hover:after {
  opacity: 1;
}

.for.default-tab {
  color: #8AD;
}

.for.ie8-and-below {
  color: #DA8;
}

.for.default-tab:after {
  content: 'For default tab';  
}

.for.ie8-and-below:after {
  content: 'For IE8 and below';  
}

/* and just for fun... */
@media only screen and (max-width: 50em) {
  .tabs .tab > label {
    background: #BBB;
    border-color: #999;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
  }
  .tabs .tab > [type="radio"]:checked + label {
    background: #222;
    border-color: #444;
    color: #DDD;
  }
}