@font-face {
  font-family: 'Lato', sans-serif;
  src: url(fonts/Lato/Lato-Black.ttf) format('truetype');
  src: url(fonts/Lato/Lato-BlackItalic.ttf) format('truetype');
  src: url(fonts/Lato/Lato-Bold.ttf) format('truetype');
  src: url(fonts/Lato/Lato-BoldItalic.ttf) format('truetype');
  src: url(fonts/Lato/Lato-Hairline.ttf) format('truetype');
  src: url(fonts/Lato/Lato-HairlineItalic.ttf) format('truetype');
  src: url(fonts/Lato/Lato-Italic.ttf) format('truetype');
  src: url(fonts/Lato/Lato-Light.ttf) format('truetype');
  src: url(fonts/Lato/Lato-LightItalic.ttf) format('truetype');
  src: url(fonts/Lato/Lato-Regular.ttf) format('truetype');
}
.tab .tab-content {
	background-color:#FFF;
}

.tab .tab-content > li h4 {
	width:120px;
	margin:150px auto;
	padding:70px 20px 20px 20px;
	border:solid 5px #dc5147;
	border-radius:120px;
	color:#dc5147;
	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 .tab-legends > li:first-child.active {
	padding-left:16px;
	border-left:0;
}

.tab-horiz .tab-legend .tab-legends > li:last-child.active {
	padding-right:16px;
	border-right:0;
}
.unselectable, .tab .tab-legend .tab-legends > li {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.tab {
  width: 100%;
  margin: 54px 0;
  padding: 0 10px;
  overflow: hidden; }

.tab > .tab-legend, .tab > .tab-content, .tab-legend > li, .tab-legends > li, .tab-content > li {
  margin: 0;
  padding: 0;
  list-style: none; }

.tab .tab-legend .tab-legends {
  font-family: 'Lato', sans-serif;
  overflow: hidden; }

.tab .tab-legend span{
  font-family: 'Lato', sans-serif;
  overflow: hidden;
 }

.tab .tab-legend > li {
  	padding: 4px 0px;
	color: #999999;
	font-size: 13px;
	text-transform: capitalize;
	float: left;
	cursor: pointer;
	text-align: left;
	letter-spacing: 1px;
}

.tab .tab-legends > li {
  	padding: 4px 0px;
	color: #999999;
	font-size: 13px;
	text-transform: capitalize;
	float: left;
	width:100px;
	cursor: pointer;
	text-align: left;
	letter-spacing: 1px;
}

.tab .tab-legend > li {
 }

.tab .tab-legend .active {
  padding: 0px 0px 0px 0px;
  background-color: #FFF;
  }

.tab .tab-content {
  width: 100%;
  min-height: 350px;
  position: relative;
  overflow: hidden; }

.tab .tab-content > li {
  position: relative;
  overflow: hidden; }

/*Horizontal specific*/
.tab-horiz .tab-legend {
  width: 100%; }

.tab-horiz .tab-legend > li {
  border-top: solid 1px #CCC;
  border-right: solid 1px #CCC;
  border-bottom: solid 1px #CCC; }

.tab.tab-horiz .tab-legend .active {
  border-top: solid 4px #dc5147;
  border-bottom: 0; }

.tab-horiz .tab-legend > li:first-child {
  border-left: solid 1px #CCC; }

.tab-horiz .tab-content {
  width: 100%; }

/*Vertical specific*/
.tab-vert .tab-legend {
  	width: 20%;
	float: left;
	padding-top: 80px;
	left: -10px;
	position: relative;
  }
  
  .tab-vert .tab-legends {
  	width: 31%;
	float: left;
	padding-top: 80px;
	left: -13px;
	position: relative;
	top: -72px;
  }


.tab.tab-vert .tab-legend .active {
}

.tab-vert .tab-legend > li {
  width: 100%;
}

.tab-vert .tab-legends > li {
	width: 100%;
	border-bottom: solid 1px #cccccc;
	margin-top: -3px;
}

.tab-vert .tab-legends > li img {
	margin-right: 20px;
}

.tab-vert .tab-legends > li span {
	float: right;
	text-align: left;
	width: 34%;
}
.tab-vert .tab-legend > li.active {
  border-right: 0; }

.tab-vert .tab-content {
  width: 80%;
  display: block;
  float: left; }

.tab-vert .tab-content > li {
  min-height: 100%;
  display: block; }
  
.tab span h2 {
	top: 28px;
	position: relative;
	left: -13px;
	text-transform: uppercase;
	text-decoration: underline;
	color: red;
}
