@charset 'utf-8';
ol, ul {  list-style: none;}

table {
  border-collapse: collapse;border-spacing: 0;
}

caption, th, td {
  text-align: left;font-weight: normal;vertical-align: middle;
}

q, blockquote {quotes: none;}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";content: none;
}

[class*="genericon"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1;
  font-family: 'Genericons';
  text-decoration: inherit;
  font-weight: normal;
  font-style: normal;
  vertical-align: top;
}

/* IE7 */
[class*="genericon"] {
  *overflow: auto;
  *zoom: 1;
  *display: inline;
}

.accordion {
  background:#C32603;
  padding:0;margin:0;
  width: 100%;
 /* min-width: 950px;*/
  display: block;
  list-style-type: none;
  overflow: hidden;
  height: 750px;
  font-size: 0;
  text-align:center;
}

.tabs {
  display: inline-block;
 /** width:80px;*/
  width:305px;
 /* width:25%;*/
  height: 100%;
  overflow: hidden;
  position: relative;
  padding:0;margin:0;
  vertical-align: top;
  font-size: 16px;
  -moz-transition: all 0.4s ease-in-out 0.1s;
  -o-transition: all 0.4s ease-in-out 0.1s;
  -webkit-transition: all 0.4s ease-in-out;
  -webkit-transition-delay: 0.1s;
  transition: all 0.4s ease-in-out 0.1s;
}

.tabs:nth-child(1){background:#DA2B00}
.tabs:nth-child(2){background:#CC2800}
.tabs:nth-child(3){background:#A42408}
.tabs:nth-child(4){background:#6E210F}

.tabs:hover {
 width: 50%
}
.tabs:hover .social-links a:before {
  margin-left: -305px;
}
.tabs:hover .social-links a:after {
  margin-left: 0px;
}
.tabs .paragraph {
  position: relative;
  width: 80%;
  margin-left: 305px;
  padding: 50px 20px 20px 20px;
  padding-right: 100px;
  /*margin-right:305px;*/
  height: 100%;margin-top:0px;
  text-align:left;
}
.tabs .paragraph p{padding-top:30px;}

.tabs .paragraph ul{list-style:none;padding:0;margin:0;}
.tabs .paragraph ul li{
    background:url("../img/line2.png")no-repeat left top;
    font-size:19px;line-height:33px;
    padding-left:40px;margin-top:0!important;padding-top:0px!important;
}

.tabs .paragraph p {
  font-size: 19px;
  line-height:33px;
  padding-right: 30px;
}

.social-links {
  display: block;
}
.social-links a {
  display: block;
  text-indent: -9999px;
  font-size: 0;
  line-height: 0;
   -moz-transition: all 0.4s ease-in-out 0.1s;
  -o-transition: all 0.4s ease-in-out 0.1s;
  -webkit-transition: all 0.4s ease-in-out;
  -webkit-transition-delay: 0.1s;
  transition: all 0.4s ease-in-out 0.1s; 
}
.social-links a:before, .social-links a:after {
  -moz-transition: all 0.4s ease-in-out 0.1s;
  -o-transition: all 0.4s ease-in-out 0.1s;
  -webkit-transition: all 0.4s ease-in-out;
  -webkit-transition-delay: 0.1s;
  transition: all 0.4s ease-in-out 0.1s;
  width: 305px;height: 100%;
  position: absolute;
  text-indent: 0;
  padding-top: 90px;text-align:center;
  display: block;
  color: #fff;
}
.social-links a:after {
  font-size: 23px;padding-top:80px;margin-left:0px;
}



.webdesign-icon a:after {
  background:url("../img/icon01.png")no-repeat 50% 30%;
  content: '平面設計 \A Graphic Design';
  white-space: pre-line;
  line-height: 40px;
  padding-top:350px;
}

.webdesign-icon a:hover:after {
  background:#1B1B1B url("../img/icon01o.png")no-repeat 50% 30%;   
  content: '平面設計 \A Graphic Design';
  padding-top:370px;  
}


.technology-icon a:after {
  background:url("../img/icon02.png")no-repeat 50% 30%;
  content: '網頁設計 \A Web Design';
  white-space: pre-line;
  line-height: 40px;
  padding-top:350px;
}

.technology-icon a:hover:after {
  background:#1B1B1B url("../img/icon02o.png")no-repeat 50% 30%;   
  content: '網頁設計 \A Web Design';
  padding-top:370px;  
}

.system-icon a:after {
  background:url("../img/icon03.png")no-repeat 50% 30%;
  content: '系統程式 \A System Program';
  white-space: pre-line;
  line-height: 40px;
  padding-top:350px;
}

.system-icon a:hover:after {
  background:#1B1B1B url("../img/icon03o.png")no-repeat 50% 30%;   
  content: '系統程式 \A System Program';
  padding-top:370px;  
}


.mobile-icon a:after {
  background:url("../img/icon04.png")no-repeat 50% 30%;
  content: '行動應用軟體開發 \A Ａpp Development';
  white-space: pre-line;
  line-height: 40px;
  padding-top:350px;
}
.mobile-icon a:hover:after {
  background:#1B1B1B url("../img/icon04o.png")no-repeat 50% 30%;   
  content: '行動應用軟體開發 \A Ａpp Development';
  padding-top:370px;  
}
.accordion_more{margin-top:40px;}
.accordion_more a{color:#fff;display:block;
    border:1px solid rgba(255,255,255,0.7);
    border-radius:3px;padding:7px 10px;
    width:160px;text-align:center;}

.accordion_more a:hover{background:#fff;color:#000;}

@media(max-width:1900px){
.tabs {
  display: inline-block;
  width:305px;
  height: 100%;
}

.tabs:hover { width: 40%;margin-top: 0; }
.tabs:hover .social-links a:before {
  margin-left: -305px;
}
.tabs:hover .social-links a:after {
  margin-left: 0px;
}
.tabs .paragraph {
  position: relative;
  width: 72%;
  margin-left: 305px;margin-right:100px;
  padding: 50px 20px 20px 20px;
  padding-right: 100px;

}}


@media(max-width:1500px){
.tabs {
  display: inline-block;width:250px;height:100%;
}

.tabs:hover .social-links a:before {
  margin-left: -250px;
}
.tabs:hover .social-links a:after {
  margin-left: 0px;
}
.tabs .paragraph {
  position: relative;
  width: 74%;
  margin-left: 250px;margin-right:100px;
  padding: 20px 20px 20px 20px;
  padding-right: 100px;
}
.tabs .paragraph p{padding-top:50px;}
.tabs .paragraph ul li{
    background:url("../img/line2.png")no-repeat left top;
    font-size:19px;line-height:33px;
    padding-left:40px;
}

.tabs .paragraph p {
  font-size: 19px;
  line-height:33px;
  padding-right: 30px;
}

.social-links a:before, .social-links a:after {
  width: 250px;height:100%;
  padding-top:90px;display:block;
  color: #fff;
}
.social-links a:after {
 padding-top: 80px;margin-left:0px;
}

.webdesign-icon a:after {
  line-height: 40px;
  padding-top:350px;
}

.webdesign-icon a:hover:after {
  background:#1B1B1B url("../img/icon01o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}

.technology-icon a:after {
  background:url("../img/icon02.png")no-repeat 50% 30%;
  line-height: 40px;
  padding-top:350px;
}

.technology-icon a:hover:after {
  background:#1B1B1B url("../img/icon02o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}

.system-icon a:after {
  background:url("../img/icon03.png")no-repeat 50% 30%;
  line-height: 40px;
  padding-top:350px;
}

.system-icon a:hover:after {
  background:#1B1B1B url("../img/icon03o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}


.mobile-icon a:after {
  background:url("../img/icon04.png")no-repeat 50% 30%;
  line-height: 40px;
  padding-top:350px;
}
.mobile-icon a:hover:after {
  background:#1B1B1B url("../img/icon04o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}

}


@media(max-width:1255px){
.tabs {
  display: inline-block;
  width:250px;height:100%;vertical-align:top;margin-top:0;
}

.tabs:hover .social-links a:before {
  margin-left: -250px;
}
.tabs:hover .social-links a:after {
  margin-left: 0px;
}
.tabs .paragraph {
  position: relative;
  width: 74%;
  margin-left: 250px;margin-right:100px;
  padding: 20px 20px 20px 20px;
  padding-right: 100px;

}
.tabs .paragraph p{padding-top:50px;}
.tabs .paragraph ul li{
    background:url("../img/line2.png")no-repeat left top;
    font-size:19px;line-height:33px;
    padding-left:40px;
}

.tabs .paragraph p {
  font-size:19px;line-height:33px;
  padding-right:30px;
}

}


@media(max-width:1199px){
.tabs {
  display: inline-block;
  width:200px;height:100%;
}

.tabs:hover .social-links a:before {
  margin-left: -200px;
}
.tabs:hover .social-links a:after {
  margin-left: 0px;
}
.tabs .paragraph {
  position: relative;
  width: 74%;
  margin-left: 200px;margin-right:100px;
  padding: 20px 20px 20px 20px;
  padding-right: 100px;

}
.tabs .paragraph p{padding-top:50px;}
.tabs .paragraph ul li{
    background:url("../img/line2.png")no-repeat left top;
    font-size:19px;line-height:33px;
    padding-left:40px;
}

.tabs .paragraph p{
  font-size:19px;line-height:33px;padding-right:30px;
}

.social-links a:before, .social-links a:after{
  width: 200px;height:100%;
  padding-top: 90px;
  display: block;
  color: #fff;
}
.social-links a:after {
 padding-top: 80px;margin-left:0px;
}

.webdesign-icon a:after {
  line-height: 40px;
  padding-top:350px;
}

.webdesign-icon a:hover:after {
  background:#1B1B1B url("../img/icon01o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}

.technology-icon a:after {
  background:url("../img/icon02.png")no-repeat 50% 30%;
  line-height: 40px;
  padding-top:350px;
}

.technology-icon a:hover:after {
  background:#1B1B1B url("../img/icon02o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}

.system-icon a:after {
  background:url("../img/icon03.png")no-repeat 50% 30%;
  line-height: 40px;
  padding-top:350px;
}

.system-icon a:hover:after {
  background:#1B1B1B url("../img/icon03o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}

.mobile-icon a:after {
  background:url("../img/icon04.png")no-repeat 50% 30%;
  line-height: 40px;
  padding-top:350px;
}

.mobile-icon a:hover:after {
  background:#1B1B1B url("../img/icon04o.png")no-repeat 50% 30%;   
  padding-top:370px;  
}



}


@media(max-width:991px){
.accordion {width:100%;display:block;height:auto;}

.tabs {display:block;width:100%;height:100%;}

.tabs:hover{width:100%;}
.tabs:hover .social-links a:before {
 margin-left:-200px;
}
.tabs:hover .social-links a:after {
  margin-left: 0px;
}
.tabs .paragraph {
  position:relative;
  width:74%;
  margin-left:200px;margin-right:100px;
  padding:20px 20px 20px 20px;
  padding-right:100px;

}
.tabs .paragraph p{padding-top:50px;}
.tabs .paragraph ul li{
    background:url("../img/line2.png")no-repeat left top;
    font-size:14px;line-height:33px;
    padding-left:40px;
}

.tabs .paragraph p {
  font-size:14px;line-height:30px;
  padding-right:30px;
}


.social-links a:before, .social-links a:after {
  width: 200px;height:100%;padding-top:90px;
}

.social-links a:after {
  font-size:16px;padding-top:80px;margin-left:0px;
}
.webdesign-icon a:after {
  background:url("../img/icon01s.png")no-repeat 50% 30%;
  line-height: 32px;
  padding-top:260px;
}

.webdesign-icon a:hover:after {
  background:#1B1B1B url("../img/icon01os.png")no-repeat 50% 30%;   
  padding-top:270px;  
}

.technology-icon a:after {
  background:url("../img/icon02s.png")no-repeat 50% 30%;
  line-height: 32px;
  padding-top:260px;
}

.technology-icon a:hover:after {
  background:#1B1B1B url("../img/icon02os.png")no-repeat 50% 30%;   
  padding-top:270px;  
}

.system-icon a:after {
  background:url("../img/icon03s.png")no-repeat 50% 30%;
  line-height: 32px;
  padding-top:260px;
}

.system-icon a:hover:after {
  background:#1B1B1B url("../img/icon03os.png")no-repeat 50% 30%;   
  padding-top:270px;  
}


.mobile-icon a:after {
  background:url("../img/icon04s.png")no-repeat 50% 30%;
  line-height: 32px;
  padding-top:260px;
}
.mobile-icon a:hover:after {
  background:#1B1B1B url("../img/icon04os.png")no-repeat 50% 30%;   
  padding-top:270px;  
}
.accordion_more a{width:120px;}

}