@charset "utf-8";
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

.mbbox {
  position: relative;
  overflow: hidden;
  width:24%; margin:0.2%;
  background: #000000;
  color: #ffffff;
  text-align: left;
  float:left;
}

.mbbox * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.mbbox img {
  max-width: 100%;
  position: relative;
  opacity: 0.9;
}

.mbbox .circle {
  position: relative;
  height: 55px;
  width: 55px;
  top: 0%;
  left: 0%;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  text-align: center;
}

.mbbox .circle:before,
.mbbox .circle:after {
  border: 2px solid white;
  border-right-color: transparent;
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.mbbox .circle:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mbbox .circle:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.mbbox .por_text {
  position: absolute;
  top: 20px;
  left: 20px;
  display: block;
  width: 100%;
  overflow: hidden;
}

.mbbox h2 {
  position: absolute;
  margin: 0;
  color:#fff;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 55px;
  top: 0%;
  left: 0%;
  width: 100%;
  padding: 0 20px;
  opacity: 0;
  -webkit-transform: translateX(-10%);
  transform: translateX(-10%);
}

.mbbox .icon {
  overflow: hidden;
  width: 100%;
  position: absolute;
}

.mbbox i {
  color: white;
  font-size: 48px;
  line-height: 55px;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.mbbox a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.mbbox:hover .circle,
.mbbox.hover .circle {
  background-color: rgba(0, 0, 0, 0);
}

.mbbox:hover .circle:before,
.mbbox.hover .circle:before,
.mbbox:hover .circle:after,
.mbbox.hover .circle:after {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.mbbox:hover h2,
.mbbox.hover h2 {
  opacity: 1;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.mbbox:hover img,
.mbbox.hover img {
  opacity: 0.35;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.mbbox:hover i,
.mbbox.hover i {
  opacity: 0;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}





/*tab common style*/
.tab_area {position:relative; width:990px; margin:40px auto; text-align:center}
.sub_tabs {overflow:hidden; background:#fff; margin-top:10px}
.sub_tabs ul:after {clear:both; display:block; content:"";}
.sub_tabs ul li {float:left; padding:0 3px}


/*.sub_tabs ul li:last-child{border-right:solid 1px #d9d9d9;}*/
.sub_tabs ul li a {display:block; text-align:center; font-size:18px; line-height:40px; color:#222; background:#fff; border:solid 1px #a4a4a4; border-radius:5px; cursor:pointer;}
.sub_tabs ul li a:hover, .sub_tabs ul li a:focus, .sub_tabs ul li a.on {background-color: #e36767; color:#fff; transition:all 1s; -webkit-transition:all 1s; z-index:10; opacity:0.9;}

/*서브탭 컬러 -참고 : 메뉴 순서가 아니라 탭 개수 번호임.*/

#mn2 li{width:49.95%;}
#mn3 li{width:33.3%;}
#mn4 li{width:24.8%;}
#mn5 li{width:19.98%;}
#mn6 li{width:16%;}
#mn7 li{width:14.2%;}
#mn8 li{width:12.49%;}
#mn9 li{width:11%;}
#mn10 li{width:19.98%;}
#mn11 li{width:9.08%;}