div.demo {
	width:99%;
	margin:10px 0 0 0;
	float:left;
	
}
div.demo h2 {
	float:left;
	font-family:arial;
	font-size:18px;
	color:#4b62ab;
	padding:10px 0 10px 10px;
	width:95%;
}

.tab .tab-content {
	background-color:#FFF;
}
.tab .tab-content > li {
	width:95%;
	float:left;
}
.tab .tab-content > li h2 {
	float:left;
	font-family:arial;
	font-size:16px;
	color:#4b62ab;
	padding:10px 0 10px 5%;
	width:95%;
}

.tab .tab-content > li h3 {
	float:left;
	font-family:arial;
	font-size:16px;
	color:#000000;
	padding:0 10px 10px 15px;
	width:94%;
	line-height:25px;
	background:url("../images/arrow.gif") no-repeat left 4px;
	margin-left:5%;
	font-weight:normal;
}

.tab .tab-content > li p {
	float:left;
	font-family:arial;
	font-size:16px;
	color:#000000;
	padding:0 0 0 5%;
	width:95%;
	line-height:25px;
}

.tab .tab-content > li h4 {
	width:120px;
	margin:150px auto;
	padding:70px 20px 20px 20px;
	border:solid 5px #dc5147;
	border-radius:120px;
	color:#ffffff;
	text-align:center;
	position:relative;
	overflow:hidden; 
	
}

.tab .tab-content > li h4:before {
	width:50%;
	margin:0 auto;
	color:#dc5147;
	font-size:3rem;
	text-align:center;
	display:block;
	position:absolute;
	top:10px;
	left:25%;
	
}

.tab .tab-content > li:nth-child(1) h4:before {
	content:"1";
	
}

.tab .tab-content > li:nth-child(2) h4:before {
	content:"2";
}

.tab .tab-content > li:nth-child(3) h4:before {
	content:"3";
}

.tab .tab-content > li:nth-child(4) h4:before {
	content:"4";
}


.tab-horiz .tab-legend > li:first-child.active {
	padding-left:5px;
	border-left:0;
	
}

.tab-horiz .tab-legend > li:last-child.active {
	padding-right:5px;
	border-right:0;
	
}




/***** Table ****/

.rwd-table {
  margin: 1em 0;
  min-width: 300px; // adjust to your needs
  
  tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
  }
  
  th {
    display: none; // for accessibility, use a visually hidden method here instead! Thanks, reddit!   
  }
  
  td {
    display: block; 
    
    &:first-child {
      padding-top: .5em;
    }
    &:last-child {
      padding-bottom: .5em;
    }

    &:before {
      content: attr(data-th)": "; // who knew you could do this? The internet, that's who.
      font-weight: bold;

      // optional stuff to make it look nicer
      width: 6.5em; // magic number :( adjust according to your own content
      display: inline-block;
      // end options
      
      @media (min-width: $breakpoint-alpha) {
        display: none;
      }
    }
  }
  
  th, td {
    text-align: left;
    
    @media (min-width: $breakpoint-alpha) {
      display: table-cell;
      padding: .25em .5em;
      
      &:first-child {
        padding-left: 0;
      }
      
      &:last-child {
        padding-right: 0;
      }
    }

  }
  
  

  .rwd-table {
  background: #34495E;
  color: #fff;
  border-radius: .4em;
  overflow: hidden;
  tr {
    border-color: lighten(#34495E, 10%);
  }
  th, td {
    margin: .5em 1em;
    @media (min-width: $breakpoint-alpha) { 
      padding: 1em !important; 
    }
  }
  th, td:before {
    color: #dd5;
  }
}


@media screen and (max-width: 989px) {

div.demo {
	width:99%;
}	

}

@media screen and (max-width: 480px) {

div.demo {
	width:99%;
}	

}

