.clear::after {
	content: " ";
	display: table;
	clear: both;
	width: 100%;
}

.tabs input[type=radio] {
	display:none;
}
	  
.tabs {
    display: block;
    list-style: none;
    position: relative;
    padding: 0;
    margin: 0 auto;
    width: 75%;
}

.tabs li {
	display: flex;
}

@media screen and (min-width: 0px) and (max-width: 736px) {
	.tabs {
		margin: 0;
		padding: 0;
		width: 100%;
	}

	.tabs li {
		flex-direction: column;
	}
}

@media screen and (min-width: 737px) and (max-width: 1200px) {
	.tabs {
		margin: 0 auto;
		width: 90%;
	}
}
  
.labels:after {
	content: '';
	display: table;
	clear: both;
}

.tabs label {
	display: inline-block;
	float: left;
	padding: 10px 20px;
	color: #FFFFFF;
	font-size: 1em;
	font-weight: normal;
	background: #2c3e50;
	cursor: pointer;
	position: relative;
}

/*.tabs li input[type=radio]:checked + label{
	background-color: blue;
} */

.tabs [type=radio]:checked + label.label1{
	background-color: #3ca9ec;
}

.tabs label:hover {
	background: #3498db;
}

.tab-content {
	box-sizing: border-box;
	border:1px solid #ccc;
	border-top: 10px solid #08C;
	background-color:#ffffff;
    color: #727272;
	display: none;
	font-size: 20px;
	/* height: auto; */
	left: 0;
	/* line-height: 140%; */
	/* padding: 15px; */
	width: 100%;
}
   
.tab-content::after {
	position: static;
	content: '';
	display: table;
	clear: both;
}

[id^=tab]:checked + [class^='label']{
    background: #08C;
    color: white;
    top: 0;
}
       
[id^=tab]:checked + .tab-content {
    display: block;
}