
   *, *:before, *:after {margin: 0; padding: 0; box-sizing: border-box;}
   body { color: #00000; font: 14px 'Open Sans', sans-serif;}

   h2 { font-weight: bold; color: #373a3e; padding-bottom: 20px; font-size: 24px; } 
   h4 {font-weight: bold; text-transform: uppercase; }
   p {margin: 0 0 20px; line-height: 1.5;}
 
   .content {background: #fff; color: #373737; border: 1px solid #c3c3c3; width: 99.2%; margin: -6px 0 0 0; }
   .content > div {display: none; padding: 20px 25px 5px;}
 
   input {display: none;}

@media (min-width: 420px) {  
   label {font-weight: 600; text-align: center;  background: #c8c8c8; color: #000000; width: 100%; border-radius: 20px 20px 0 0; padding: 15px 25px; } /* */
   label:hover {color: #fff; cursor: pointer;  border: 1px solid #000; }
   input:checked + label {background: #373a3e; color: #fff; border: 1px solid #000; position: relative; top: -5px; box-shadow: 5px 7px 3px #888888; } /* } */
}

@media (min-width:768px){  
     label {font-weight: 600; text-align: center;  background: #c8c8c8; color: #000000; width: 19.5%; border-radius: 20px 20px 0 0; padding: 15px 25px; } 
     input:checked + label { background: #373a3e; color: #fff; width: 19.8%;  position: relative; top: -5px; box-shadow: 5px 7px 3px #888888; width}
}
   


.line{
	background: #3498DB;
	width: 20%;
	height: 4px;
	position: absolute;
	top: 56px;
}

#tab-1:checked ~ .line {
	left: 0;
}

 
   #tab1:checked ~ .content #content1 ,
   #tab2:checked ~ .content #content2,
   #tab3:checked ~ .content #content3,
   #tab4:checked ~ .content #content4,
   #tab5:checked ~ .content #content5 {
     display: block;
   }
 
   
table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}   
   
   /* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Name"; }
	td:nth-of-type(2):before { content: "Qualification"; }
	td:nth-of-type(3):before { content: "Designation"; }
}
   
#tablecontainer {
    width: 60%;
    margin: 20px auto;
    float: left;
}

#tablecontainer p { 
    padding: 15px 0 0 0;
}



#primary {
    float: left;
    width: auto;
    padding: 0 20px;
    border-radius: 25px; 
}

#secondary {
    float: left;
    width: auto;
    padding: 0 20px;
    border-radius: 25px; 
}
#content {
    float: left;
    width: auto;
    padding: 0 20px;
    border-radius: 25px; 
}

.md-text-right { text-align: right; margin: 0 -35px 5px 0; }

.myList { margin-left: 15px; line-height: 150%; margin-bottom: 20px; }