/******** common style ***********/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: normal 100% 'champagne__limousines', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
  font-size: 10px;
}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style: none;
}

img {
  border: none;
}

@font-face {
  font-family: 'champagne__limousines';
  src: url('../font/champagne__limousines-webfont.eot');
  src: url('../font/champagne__limousines-webfont.eot#iefix') format('embedded-opentype'), url('../font/champagne__limousines-webfont.woff') format('woff'), url('../font/champagne__limousines-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/***** common function ***************************/


/*.opacity(@o: 0.5){
  @o-per: @o*100;
  filter: alpha(opacity=@o-per);
  -moz-opacity: @o;
  -khtml-opacity: @o;
  opacity: @o;
}*/


/***** common component *************************/

html {
  font-size: 10px;
}

.container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  min-width: 1024px;
}

header {
  width: 100%;
  height: 60px;
  padding: 0 3%;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

header .logo {
  padding-top: 15px;
  float: left;
}

header .logo img {
  height: 35px;
}

header .nav {
  margin-top: 20px;
  font-size: 24px;
  float: right;
  color: #0a557c;
}

header .nav a {
  margin: 0 15px;
  color: #0a557c;
}

header .nav a:hover {
  border-bottom: 1px solid #0a557c;
}

header .nav .active {
  border-bottom: 1px solid #0a557c;
}

header .nav .lang a {
  margin: 0 2px;
}

header .nav .lang:last-child {
  font-size: 20px;
}

.content {
  position: relative;
  top: 15%;
  width: 100%;
  height: 70%;
}

.sociality {
  position: absolute;
  left: 3%;
  bottom: 8%;
  width: 120px;
}

.sociality .fb-like,
.sociality .twitter-follow-button {
  margin-top: 10px;
  display: block;
  height: 20px;
  overflow: hidden;
}


/*.sociality .fb-like,.sociality .twitter-follow-button,.sociality .ig-follow{
	width:163px;
	height: 33px;
	background:url(../images/facebook.png) 0 0 no-repeat;
	background-size: 100% 100%;
}
.sociality .fb-like>*,.sociality .twitter-follow-button>*,.sociality .ig-follow>*{
	opacity: 0;
	z-index: 999;
	width: 100%;
	height: 100%;
}*/


/*.sociality .twitter-follow-button{
	background-image:url(../images/twitter.jpg);
	background-size: 100% 100%;
}
.sociality .ig-follow{
	background-image:url(http://www.touchpal.com/images/instagram.jpg);
	background-size: 100% 100%;
}*/

footer {
  position: absolute;
  margin: 0 3%;
  bottom: 2%;
  border-bottom: 1px solid #363636;
  border-top: 1px solid #363636;
  height: 22px;
  width: 94%;
  overflow: hidden;
  font-size: 14px;
}

footer a {
  line-height: 22px;
  float: left;
  text-decoration: none;
  color: #363636;
}

footer a:hover {
  color: #fff;
}

footer .user-agreement {
  padding-right: 1.5%;
  border-right: 1px solid #363636;
}

footer .privacy-policy {
  margin-left: 1.5%;
}

footer .copy-right {
  line-height: 22px;
  float: right;
}

html {
  font-size: 10px;
}

.container {
  min-width: 1024px;
  min-height: 60rem;
}

body.ios .container {
  background-image: url(../images/bg-ios-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

body.android .container {
  background-image: url(../images/bg-android-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.page {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}

.android .page-1 {
  display: block;
  background: rgba(61, 102, 158, .6) url(../images/bg-android-1.jpg) center center;
  background-size: cover;
}

.android .page-2 {
  display: none;
  background: url(http://www.touchpal.com/images/bg-android-2.jpg) center center;
  background-size: cover;
}

.android .page-3 {
  display: none;
  background: url(../images/bg-android-3.jpg) center center;
  background-size: cover;
}

.android .page-4 {
  display: none;
  background: url(../images/bg-android-4.jpg) center center;
  background-size: cover;
}

.ios .page-1 {
  display: block;
  background: rgba(53, 73, 100, 0.6) url(../images/bg-ios-1.jpg) center center;
  background-size: cover;
}

.ios .page-2 {
  display: none;
  background: url(../images/bg-ios-2.jpg) center center;
  background-size: cover;
}

.ios .page-3 {
  display: none;
  background: url(../images/bg-ios-3.jpg) center center;
  background-size: cover;
}

.ios .page-4 {
  display: none;
  background: url(../images/bg-ios-4.jpg) center center;
  background-size: cover;
}

header {
  position: fixed;
  top: 0;
  z-index: 999;
}

.content {
  text-align: center;
}

.page-2 .content,
.page-3 .content,
.page-4 .content {
  left: 25%;
  position: relative;
  top: 20%;
  width: 60%;
  min-width: 60%;
  height: 70%;
}

.title {
  height: 18%;
}

.features {
  position: relative;
  top: 7%;
  height: 75%;
  margin: 0 auto;
  font-size: 0;
}

.features .block {
  display: inline-block;
  position: relative;
  height: 240px;
  width: 240px;
  text-align: center;
  vertical-align: top;
}

@media screen and (max-width: 640px) {
  .features .block {
    height: 100px;
    width: 100px;
  }
}

@media screen and (max-width: 1280px) {
  .features .block {
    height: 180px;
    width: 180px;
  }
}

@media screen and (min-width: 1280px) {
  .features .block {
    height: 240px;
    width: 240px;
  }
}

.features .block .feature-des {
  margin-top: 100%;
  height: 24px;
  font-size: 24px;
  color: #fff;
}


/*
00a6e1 00e0c9 
ffde00 f29d00 
bc4cb6 7a22a2
*/

.features .block.t .wrap {
  /*background: url(../images/block-bg-t.png) center center no-repeat;*/
  background-image: -webkit-linear-gradient(to right, #ffde00, #f29d00);
  background-image: linear-gradient(to right, #ffde00, #f29d00);
  background-image: -webkit-gradient(linear, left top, right top, from(#ffde00), to(#f29d00));
  background-size: cover;
}

.features .block.e .wrap {
  /*background: url(http://www.touchpal.com/images/block-bg-e.png) center center no-repeat;*/
  background-size: cover;
  background-image: -webkit-linear-gradient(to right, #00a6e1, #00e0c9);
  background-image: linear-gradient(to right, #00a6e1, #00e0c9);
  background-image: -webkit-gradient(linear, left top, right top, from(#00a6e1), to(#00e0c9));
}

.features .block.c .wrap,
.features .block.l .wrap {
  /*background: url(../images/block-bg-cl.png) center center no-repeat;*/
  background-image: -webkit-linear-gradient(to right, #bc4cb6, #7a22a2);
  background-image: linear-gradient(to right, #bc4cb6, #7a22a2);
  background-image: -webkit-gradient(linear, left top, right top, from(#bc4cb6), to(#7a22a2));
  background-size: cover;
}

.features .block .wrap {
  position: absolute;
  top: 4%;
  left: 4.7%;
  width: 88.7%;
  height: 88.7%;
  -webkit-border-radius: 15%;
  -moz-border-radius: 15%;
  border-radius: 15%;
  overflow: hidden;
  display: table-cell;
  -moz-box-shadow: 7px 7px 25px rgba(0, 0, 0, 0.35);
  /* old Firefox */
  box-shadow: 7px 7px 25px rgba(0, 0, 0, 0.35);
}

.features .block .wrap .letter {
  position: absolute;
  display: inline-block;
  margin: 0 auto;
  top: 20%;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  width: auto;
}

.features .block .wrap .set {
  position: absolute;
  top: 0;
  left: 125%;
  height: 100%;
  width: 100%;
}

.features .block .wrap .hand {
  position: absolute;
  left: 160%;
  top: 54.6%;
  height: 16.9%;
  z-index: 999;
  opacity: 0;
}

.features .block.l .set {
  left: 100%;
  height: 100%;
  width: auto;
}

.features .block.e .feature-des,
.features .block.t .feature-des {
  border-right: 1px solid #fff;
}

.slide-bar {
  position: fixed;
  right: 3%;
  top: 45%;
}

.slide-bar li {
  margin-bottom: 10px;
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.slide-bar li.active {
  width: 10px;
  height: 10px;
  background: #fff;
}

.video-wrap {
  float: left;
  display: inline-block;
  height: 100%;
  width: 40%;
  background: url(../images/phone-android.png) center center no-repeat;
  background-size: contain;
}

.video-wrap img {
  height: 74.5%;
  position: relative;
}

.video-wrap video {
  height: 74.5%;
  top: 12%;
  position: relative;
  left: -0.5%;
  z-index: 99999;
  max-width: 80%;
}

.ios .video-wrap {
  background: url(../images/video-i-bg.png) center center no-repeat;
  background-size: contain;
}

.article-wrap {
  position: relative;
  display: block;
  float: left;
  height: 100%;
  width: 60%;
}

.article-wrap h1 {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 7rem;
}

.article-wrap article {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  font-size: 2.6rem;
  line-height: 1.7;
  color: #fff;
  width: 99%;
}

.article-wrap::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
}

.ig-follow {
  margin-top: 10px !important;
}