*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

body {
	font-family: sans-serif;
	background: #f6f9fa;
}

h1 {
	color: #ccc;
	text-align: center;
}

a {
  color: #ccc;
  text-decoration: none;
  outline: none;
}

/*Fun begins*/
.tab_container {
	width: 100%;
	margin: 0 auto;
	padding-top: 15px;
	position: relative;
}

/*input, section {
  clear: both;
  padding-top: 10px;
  display: none;
}*/

/*label {
  font-weight: 700;
  font-size: 18px;
  display: block;
  float: left;
  width: 30%;
  padding: 1.5em 0.5em;
  color: #757575;
  cursor: pointer;
  text-decoration: none;
  text-align: center;

}*/

label.table-tab{ width: 16%;}

label.ttb_lab{ margin-bottom:0px; background:#079701; color:#000;}
label.remove_bg{ background:none;     text-align: left;
    padding: 5px 15px; }

section.tab-bgspace{ padding-top:36px !important;}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2 {
  display: block;
  padding: 10px;
  background: #fff;
  color: #999;
  border-bottom: 2px solid #f0f0f0;
}

.tab_container .tab-content p,
.tab_container .tab-content h3 {
  -webkit-animation: fadeInScale 0.7s ease-in-out;
  -moz-animation: fadeInScale 0.7s ease-in-out;
  animation: fadeInScale 0.7s ease-in-out;
}
.tab_container .tab-content h3  {
  text-align: center;
}

.tab_container [id^="tab"]:checked + label {
  background: #fff;
  box-shadow: inset 0 3px #079701;
}

.tab_container [id^="tab"]:checked + label .fa {
  color: #0CE;
}

label .fa {
  font-size: 1.3em;
  margin: 0 0.4em 0 0;
}

.forgot-tab a{ color:#4b4f4c; text-decoration:underline;}
.forgot-tab a:hover { color:#4b4f4c; text-decoration:none;}

/*Media query*/
@media only screen and (max-width: 930px) {
  label span {
    font-size: 14px;
  }
  label .fa {
    font-size: 14px;
  }
  
  label.remove_bg {
    text-align: left !important;}
}

@media only screen and (max-width: 768px) {
  label span {
    display: none;
  }

  label .fa {
    font-size: 16px;
  }

  .tab_container {
    width: 98%;
  }
  
  label {
 
  width: 50%;
  }
  
  label.table-tab {
    width: 25%;
}
}


@media only screen and (max-width: 576px) {
  label.table-tab {
    width: 50%;
}
}

/*Content Animation*/
@keyframes fadeInScale {
  0% {
  	transform: scale(0.9);
  	opacity: 0;
  }
  
  100% {
  	transform: scale(1);
  	opacity: 1;
  }
}