﻿charset "utf-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}


html {
  line-height: 1;
}


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;
}


a img {
  border: none;
}


article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}
/***************reset*****************/

a:link {
	color: #333;
	text-decoration: none;
}
@font-face {
    font-family: 'LigatureSymbols';
    src: url('../font/LigatureSymbols-2.11.eot');
    src: url('../font/LigatureSymbols-2.11.eot?#iefix') format('embedded-opentype'),
         url('../font/LigatureSymbols-2.11.woff') format('woff'),
         url('../font/LigatureSymbols-2.11.ttf') format('truetype'),
         url('../font/LigatureSymbols-2.11.svg#LigatureSymbols') format('svg');
    src: url('../font/LigatureSymbols-2.11.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.icon, .lsf-icon:before {
  font-family: 'LigatureSymbols';
  -webkit-text-rendering: optimizeLegibility;
  -moz-text-rendering: optimizeLegibility;
  -ms-text-rendering: optimizeLegibility;
  -o-text-rendering: optimizeLegibility;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.lsf-icon:before {
  content:attr(title);
  margin-right:0.3em;
  font-size:130%;
}

.lsf-icon.amazon:before {
  content: '\E007';
}

.container-full {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.container-full:after {
  content: " ";
  display: block;
  clear: both;
}


.container-restricted {
  position: relative;
  background-color: #111;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 761px) {
#wrapper {
	max-width: 960px;
	margin: 0 auto;
	
}
.container-restricted:after {
  content: " ";
  display: block;
  clear: both;
}

.container {
	display: flex;
	font-size: 3rem;
	color: #fff;
	text-align: center;
}

.container .box1 {
	 flex: 1;
	background-color: #aaa;
	min-height: 260px;
	line-height: 260px;
	
}

.container .box1-2 {
	flex: 2;
}


.container2 {
	display: flex;
	font-size: 3rem;
	color: #fff;
	text-align: center;

}

.container2 .box2 {
	flex: 1;
	min-height: 260px;
	background-color: #ccc;
	line-height: 260px;
}

.box2 {
	transform:
	rotateX(0deg)
	translateZ(130px);
	transition: .5s;
}

.box2:hover {
	transform:
	rotateX(90deg)
	translateZ(-130px);
	transition: .5s;
	z-index: 10;
	min-height: 260px;
	
}

.wrapper {
  display: inline-block;
  width: 310px;
  height: 100px;
  vertical-align: top;
  margin: 1em 1.5em 2em 0;
  cursor: pointer;
  position: relative;
  font-family: Tahoma, Arial;
  perspective: 4000px;
}
 
.item {
  height: 100px;
  transform-style: preserve-3d;
  transition: transform .6s;
}

.item .img {
  display: block;
	width: 310px;
	height: 80px;
  position: absolute;
  top: 0;
  border-radius: 3px;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
  transform: translateZ(50px);
  transition: all .6s;
   
} 
   
.item .information {
  display: block;
  position: absolute;
  top: 0;
  height: 80px;
  width: 290px;
  text-align: left;
  border-radius: 15px;
  padding: 10px;
  font-size: 12px;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
  box-shadow: none;
  background: linear-gradient(top,rgba(236,241,244,1) 0%,rgba(190,202,217,1) 100%);
  transform: rotateX(-90deg) translateZ(50px);
  transition: all .6s;
   
}


.item:hover {
  transform: translateZ(-50px) rotateX(95deg);
}
   
  .item:hover img {
    box-shadow: none;
    border-radius: 15px;
  }

  .item:hover .information {
    box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
    border-radius: 3px;
  }




#contactus .button2 span {
	display: block;
	position: absolute;
	width: 520px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
	pointer-events: none;
}
#contactus .button2 span:nth-child(1) {
	background-color: #333;
	color: #fff;
	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	transform: rotateX(90deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
#contactus .button2 span:nth-child(2) {
	background-color: #26C6DA;
	color: #fff;
	font-weight: bold;
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transform-origin: 50% 50% -29px;
	-moz-transform-origin: 50% 50% -29px;
	transform-origin: 50% 50% -29px;
}
#contactus .button2:hover span:nth-child(1) {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
}
#contactus .button2:hover span:nth-child(2) {
	background-color: #333;
	color: #333;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
}

.button2 {
	display: inline-block;
	width: 320px;
	height: 60px;
	text-align: center;
	text-decoration: none;
	line-height: 60px;
	outline: none;
margin:30px 0;
font-size:18px;
}
.button2::before,
.button2::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button2,
.button2::before,
.button2::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.button2 {
	position: relative;
	-webkit-perspective: 300px;
	perspective: 300px;
}
.button2 span {
	display: block;
	position: absolute;
	width: 320px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
	pointer-events: none;
}
.button2 span:nth-child(1) {
	background-color: #333;
	color: #fff;
	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	transform: rotateX(90deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button2 span:nth-child(2) {
	background-color: #26C6DA;
	color: #FFFFFF;
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transform-origin: 50% 50% -29px;
	-moz-transform-origin: 50% 50% -29px;
	transform-origin: 50% 50% -29px;
}
.button2:hover span:nth-child(1) {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
}
.button2:hover span:nth-child(2) {
	background-color: #333;
	color: #333;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
}







#wrapper #rotate-btn-block1 {
	height: 60px;
}




.rotate-button {
	position: relative;
	transition: .4s;
	width: 400px;
	margin: 0 auto;
}


.rotate-button span {
	display: inline-block;
	width: 380px;
	height: 50px;
	line-height: 50px;
	color: #fff;
	font-weight: bold;
	font-size: 2rem;
	text-align: center;
}

.rotate-button .first {
	background-color: #333;
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	height: 50px;
	line-height; 50px;
	transform-origin: 50% 50% -25px;
	transform: rotateX(90deg);
	transition: .4s;
}

.rotate-button .second {
	background-color: blue;
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	height: 50px;
	line-height; 50px;
	transform-origin: 50% 50% -25px;
	transform: rotateX(0deg);
	transition: .4s;
}

.rotate-button:hover .first {
	transform: rotateX(0deg);
	transition: .4s;
}


.rotate-button:hover .second {
	background-color: blue;
	transform: rotateX(-90deg);
	transition: .4s;


}



/******************* +p **********************/

#wrapper #rotate-btn-block2 {
	height: 60px;
	margin-bottom: 100px;
}

.rotate-button-p {
	perspective: 250px;
	position: relative;
	transition: .4s;
	width: 420px;
	margin: 32px auto;
	display: block;

}


.rotate-button-p span {
	display: inline-block;
	width: 380px;
	height: 50px;
	line-height: 50px;
	color: #fff;
	font-weight: bold;
	font-size: 2rem;
	text-align: center;
}

.rotate-button-p .first {
	background-color: #333;
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	height: 50px;
	line-height; 50px;
	transform-origin: 50% 50% -25px;
	transform: rotateX(90deg);
	transition: .4s;
	z-index: 1;
}

.rotate-button-p .second {
	background-color: blue;
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	height: 50px;
	line-height; 50px;
	transform-origin: 50% 50% -24px;
	transform: rotateX(0deg);
	transition: .4s;
}

.rotate-button-p:hover .first {
	transform: rotateX(0deg);
	transition: .4s;
}


.rotate-button-p:hover .second {
	background-color: blue;
	transform: rotateX(-90deg);
	transition: .4s;


}


/**************** +p +z ***************/

.rotate-button-p-z {
	position: relative;
	transition: .4s;
	width: 400px;
	margin: 0 auto;
	display: block;
	perspective: 250px;

}


.rotate-button-p-z span {
	display: inline-block;
	width: 380px;
	height: 50px;
	line-height: 50px;
	color: #fff;
	font-weight: bold;
	font-size: 2rem;
	text-align: center;
}

.rotate-button-p-z .first {
	background-color: #333;
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	height: 50px;
	line-height; 50px;
	transform-origin: 50% 50% -25px;
	transform: rotateX(-90deg);
	transition: .4s;
}

.rotate-button-p-z .second {
	background-color: blue;
	position: absolute;
	top: 0;
	left: 0;
	width: 380px;
	height: 50px;
	line-height; 50px;
	transform-origin: 50% 50% -25px;
	transform: rotateX(0deg);
	transition: .4s;
}

.rotate-button-p-z:hover .first {
	transform: rotateX(0deg);
	transition: .4s;
}


.rotate-button-p-z:hover .second {
	background-color: blue;
	transform: rotateX(90deg);
	transition: .4s;


}

.rotate-button-p-z .right-f {
	background-color: red;
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 69px;
	line-height; 50px;
	transform-origin: 0% 0% -100px;
	transform: rotateY(90deg);
	transition: .4s;
}










}



@media screen and (min-width: 0px) and (max-width: 480px) {
	#wrapper {
	text-shadow: 2px 2px 5px #000;
	transition: 2s;
}
.container {
	display: flex;
	flex-direction: column;
	font-size: 3rem;
	color: #fff;
	text-align: center;
}


.container .box1 {
	 flex: 1;
	background-color: #999;
	min-height: 260px;
	line-height: 260px;

}

.container2 {
	display: flex;
	flex-wrap: wrap;
	font-size: 3rem;
	color: #fff;
	text-align: center;

}

.container2 .box2 {
	
	width: 50%;
	min-height: 10rem;
	background-color: #444;
	box-sizing: border-box;
	line-height: 10rem;


}

.container2 .box3 {
	order: -1;
}

.container2 .box4 {
	order: 1;
}


}
