@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css);
*,
*: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;
}


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

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

label {
  font-family: 'OpenSansL','PretendardL', sans-serif;
  font-weight: 500;
  font-size: 18px;
  display: block;
  float: left;
  width: 20%;
  padding: 1.5em;
  color: #333;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: ;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5 {
  display: block;
  padding: 20px;
  background: #fff;
  color: #999;
  border-bottom: 2px solid #fff;
}

.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;
	font-size: 23px;/*main top*/
	color: #FB5456;
	font-weight: 500;
}

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

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

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

/*Media query*/

@media only screen and (max-width: 1024px) {
#main3{/*y*/
        float:left;
        padding:0 70px 10px 70px;
        width:auto;
        text-align:center;
        border: 0px solid #bcbcbc;
}
#main4{/*y*/
        float:left;
        padding:0 0px 0px 0px;
        width:auto;
	text-align: center;
        border: 0px solid #bcbcbc;
}

}
	
@media only screen and (max-width: 900px) {
  label span {
    display: none;
  }
  
  .tab_container {
    width: 98%;
  }
	.f,
	.h {
		font-size: 1.1rem;
		line-height: 40px;
	}
	.et-hero-tab:hover,
.et-hero-tab { 
	display: none; 
	}
	.arrow-icon{
		display: none;
	}
	ca_h1{
	font-size: 1.4rem;	
}
	.et-hero-tabs-container	{
		display: none;
	}
	.box_s {
	bottom: 0px;
	}
	
}
@media only screen and (max-width: 600px) {
  label span {
    display: none;
  }
	.box-t6 {width: 50%;}
	.et-hero-tab:hover,
.et-hero-tab { 
	display: none; 
	}
	.arrow-icon{
		display: none;
	}
	.et-hero-tabs-container	{
		display: none;
	}
	.box_s {
	bottom: 0px;
	}
}
/*Content Animation*/
@keyframes fadeInScale {
  0% {
  	transform: scale(0.9);
  	opacity: 0;
  }
  
  100% {
  	transform: scale(1);
  	opacity: 1;
  }
}

.no_wrap {
  text-align:center;
  color: #0ce;
}
.link {
  text-align:center;
}