/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;               /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;           /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
	background: #fff;
    background-attachment:fixed;
    font-family: Montserrat, sans-serif;
    height:100%;
    margin:0px;
    padding:0px;
    width:100%;
	font-size:2.8vh;
}

@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat-Light.ttf);
	font-weight:normal;
}
@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat-SemiBold.ttf);
	font-weight:bold;
}
@font-face {
    font-family: Montserrat;
    src: url(../fonts/Montserrat-Light.ttf);
	font-weight:400;
}

/* Portrait layout (default) */
.app {
    background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
    position:absolute;             /* position in the center of the screen */
    left:50%;
    top:50%;
    height:50px;                   /* text area height */
    width:225px;                   /* text area width */
    text-align:center;
    padding:180px 0px 0px 0px;     /* image height is 200px (bottom 20px are overlapped with text) */
    margin:-115px 0px 0px -112px;  /* offset vertical: half of image height and text area height */
                                   /* offset horizontal: half of text area width */
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    .app {
        background-position:left center;
        padding:75px 0px 75px 170px;  /* padding-top + padding-bottom + text area = image height */
        margin:-90px 0px 0px -198px;  /* offset vertical: half of image height */
                                      /* offset horizontal: half of image width and text area width */
    }
}

.header{
	position: :absolute;
	top:0; left:0; right:0;
	height:60px; line-height: 60px;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	background-color: #11a7ab;
}

.view{
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	overflow-x:hidden;
	overflow-y:scroll;
	-webkit-overflow-scrolling:touch;
}

.home{
	width:100%;
	height:100%;
	background: url(../img/lh-background.jpg) no-repeat center top;
	background-size:100% 100%;
	z-index:100;
}
.logo{
	position:absolute;
	left:0; top: 5%; right: 0;
}
.logo img{
	width:50vw;
}
.home nav{
	position: absolute;
	left:0; top: 33%; right: 0;
	height: 55%;
	text-align: center;
}

.home nav a{
	font-size:1.4em;
	color:#fff;
	text-decoration:none;
	display: block;
	width: 100%;
	height: 10vh;
	line-height: 10vh;
	float: left;
	text-transform:uppercase;
}
.home nav a:first-child{
	/*border-right:1px solid #1f253d;*/
}
.home nav a active{
	border-top: 3px solid #11a7ab;
}
.home nav a i{
	margin-top: 15px;
}
.dtda {
	position:absolute;
	left:0; bottom: 0%; right: 0;
}
.dtda img {
	width:10vw;
}
.home-ks {
	position:fixed;
	bottom:20vh;
}
.home-ks img {
	width:25vw;
}
.heroes {
	background:#000;
}
.panel .swiper-container .swiper-slide .update {
	height:100%;
	position:fixed;
	top:0;
}
.update2{
	position:fixed;
	right:0;
	top:5.5vh;
	width:18vw;
	z-index:-999;
}
.classHidden{
	display:none;
}
.swiper-container {
	top:2%;
    width: 100%;
    height: 98%;
}
.swiper-container .swiper-slide {
    width: 150px;
    height: 100%;
	text-align:center;
	z-index:-999;
}
.swiper-click {
	position:absolute;
	width:100%;
	height:100%;
}
.swiper-click a {
    float:left;
	width:100%;
	height:100%;
}
.swiper-container .swiper-slide img {
    height: 100%;
}

.panel {
	position:absolute;
	top:0; right:0; bottom:0; left:0;
	transition-duration: 0.5s;
	-webkit-transition-duration: 0.5s;
	max-width:100%;
	max-height:100%;
	overflow-x:hidden;
	overflow-y:scroll;
}
::-webkit-scrollbar {
	width:0px;
	background:rgba(0, 0, 0, 0)
}
.panelHalf{
	width:40%;
	height:100%;
	float:left;
	padding:0 5%;
}
#backPanel{
	z-index:9999;
	position:absolute;
}
#backPanel img{
	width:30vw;
}
.hide{
	visibility:hidden;
}

.heroVisuel {
	/*height:auto;
	overflow-x:hidden;
	overflow-y:scroll;*/
}
.heroVisuel img {
	position:absolute;
	bottom:0;
	left:0;
	max-width:100%;
	max-height:100%;
	width:35vw;
}
.heroesDetails{
	overflow:hidden;
}
.heroInfos{
	overflow-x:hidden;
	overflow-y:scroll;
}
.heroName {
	text-align:center;
}
.heroName img{
	width:55%;
}
#heroDesc {
	margin-bottom:10px;
}
#heroCit {
	margin-bottom:20px;
}
.heroInfos div {
	margin-bottom:10px;
}
.heroInfos ul li {
	list-style:none;
	text-transform:uppercase;
}
.heroInfos ul li a {
	color:#000;
	width:95%;
	padding: 5px 20%;
	margin:0 -15%;
	float:left;
	font-weight:bold;
	font-size:1.2em;
}
.heroInfos ul li a:active, .heroInfos .active {
	color:#fff;
	background:#000;
}
.heroInfos ul {
	float:left;
	padding:0;
	margin:0;
	width:100%;
}

.navPow span {
	font-size:1.5em;
	margin-left:1em;
	font-weight:normal;
}
.powDetails {
	background:#000;
	color:#fff;
	text-align:center;
}
.powVisuel {
	margin-top:30px;
}
.powVisuel img {
	width:80%;
}
#powName {
	font-size:1.4em;
	text-transform:uppercase;
	margin:5px 0 20px 0;
 }
#powDetails {
	font-size:1.3em;
	margin:0 10% 20px 10%;
 }
#powDesc {
	margin:20px;
	text-align:center;
 }
 #powDesc img{
	width:35%;
 }
 #powDesc .rulesH1{
	width:100%;
	font-weight:bold;
}
#powExample {
	margin:20px;
	text-align:left;
 }
 
.navRuleDetails span {
	font-size:1.5em;
	margin-left:1em;
	font-weight:normal;
}
 .rulesInfos{
	 color:#fff;
	 background:#000;
	 overflow-y:scroll;
	 overflow-x:hidden;
 }
.rulesDetails{
	overflow-y:scroll;
}
.rulesName {
	margin: 30px 5% 0 5%;
}
.rulesName img{
	width:100%;
}
#rulesDesc {
	width:85%;
	text-align:left;
	margin:0 8% 10px 8%;
	text-transform:uppercase;
	font-size:0.9em;
}
.rulesInfos nav {
	margin-top:40px;
}
.rulesInfos ul li {
	list-style:none;
	text-transform:uppercase;
}
.rulesInfos ul li a {
	color:#fff;
	width:95%;
	padding: 5px 20%;
	margin:0 -15%;
	float:left;
	font-weight:bold;
	font-size:1.2em;
}
.rulesInfos ul li a:active, .rulesInfos .active {
	color:#000;
	background:#fff;
}
.rulesInfos ul {
	float:left;
	padding:0;
	margin:0;
	width:100%;
}
#ruleDetails span{
	background: url(../img/lh-span-top.png) no-repeat center top / 100% auto, url(../img/lh-span-bottom.png) no-repeat center bottom / 100% auto, url(../img/lh-span-left.png) repeat-y left top / auto auto, url(../img/lh-span-right.png) repeat-y right top / auto auto;
	padding:20px;
	float:left;
}
#ruleName {
	font-size:1.2em;
	font-weight:bold;
	text-transform:uppercase;
	margin:60px 0 10px 0;
 }
#ruleDesc {
	margin-bottom:20px;
	text-align:left;
 }
#ruleDetails {
	margin:0 0 30px 0;
	float:left;
 }
#ruleDetails p, #ruleDetails li{
	float:left;
	margin:0 0 10px 0;
 }
#ruleDetails p{
	width:100%;
 }
#ruleDetails img{
	max-width:100%;
	display:block;
	margin: 20px auto 20px auto;
 }
#ruleDetails .noMargin{
	margin:2px auto 2px auto;
}
#ruleDetails .rulesH1{
	width:100%;
	font-weight:bold;
}
#ruleDetails .example{
	background : url(../img/lh-span-top-b.png) no-repeat center top / 100% auto, url(../img/lh-span-bottom-b.png) no-repeat center bottom / 100% auto, url(../img/lh-span-left-b.png) repeat-y left top / auto auto, url(../img/lh-span-right-b.png) repeat-y right top / auto auto;
	color:#fff;
	background-color:#000;
}

.max20{
	max-width:20%;
	padding-right:10%;
}
.max80{
	max-width:70%;
	text-align:right;
}
.max20L{
	max-width:20%;
	padding-left:10%;
}
.max80L{
	max-width:70%;
}
 
.languageInfos{
	 margin:38vh 25% 0 25%;
 }
#languageTitle{
	font-size:1.4em;
 }
 .languageInfos ul {
	list-style:none;
	padding:0;
}
 .languageInfos ul li {
	float:left;
	width:50%;
}
.languageInfos ul li a {
	filter:grayscale(100%);
	-webkit-filter:grayscale(100%);
}
.languageInfos ul li a:active, .languageInfos .active {
	filter:grayscale(0%);
	-webkit-filter:grayscale(0%);
}
.languageInfos ul li a img {
	width:90%;
}

/*.left{transform: translate3D(-100%, 0, 0);}
.center{transform: translate3D(0%, 0, 0);}
.right{transform: translate3D(100%, 0, 0);}
.centerLeft{transform: translate3D(-50%, 0, 0);}
.centerRight{transform: translate3D(50%, 0, 0);}*/

.left{
	transform: translate(-100%, 0);
    -o-transform: translate(-100%, 0);         /* Opera */
    -ms-transform: translate(-100%, 0);        /* IE 9 */
    -moz-transform: translate(-100%, 0);       /* Firefox */
    -webkit-transform: translate(-100%, 0);    /* Safari and Chrome */
}
.center{
	transform: translate(0%, 0);
    -o-transform: translate(0%, 0);         /* Opera */
    -ms-transform: translate(0%, 0);        /* IE 9 */
    -moz-transform: translate(0%, 0);       /* Firefox */
    -webkit-transform: translate(0%, 0);    /* Safari and Chrome */
}
.right{
	transform: translate(100%, 0);
    -o-transform: translate(100%, 0);         /* Opera */
    -ms-transform: translate(100%, 0);        /* IE 9 */
    -moz-transform: translate(100%, 0);       /* Firefox */
    -webkit-transform: translate(100%, 0);    /* Safari and Chrome */
}
.centerLeft{
	transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);         /* Opera */
    -ms-transform: translate(-50%, 0);        /* IE 9 */
    -moz-transform: translate(-50%, 0);       /* Firefox */
    -webkit-transform: translate(-50%, 0);    /* Safari and Chrome */
}
.centerRight{
	transform: translate(50%, 0);
    -o-transform: translate(50%, 0);         /* Opera */
    -ms-transform: translate(50%, 0);        /* IE 9 */
    -moz-transform: translate(50%, 0);       /* Firefox */
    -webkit-transform: translate(50%, 0);    /* Safari and Chrome */
}

.home {
	text-align:center;
}

.statsRow p{
	float:left;
	width:50%;
	margin-top:0;
}

a {
	text-decoration:none;
	color:#000;
}
h1{
	float:left;
	width:100%;
	margin-bottom:5px;
}

h2{
	float:left;
	width:100%;
	margin:0 0 5px 0;
}
.textCenter{
	text-align:center;
}
.textRight{
	text-align:right;
}
.textItalic{
	font-style:italic;
}

/*.event {
    border-radius:4px;
    -webkit-border-radius:4px;
    color:#FFFFFF;
    font-size:1em;
    margin:0px 30px;
    padding:2px 0px;
}

.event.listening {
    background-color:#333333;
    display:block;
}

.event.received {
    background-color:#4B946A;
    display:none;
}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}
 
.blink {
    animation:fade 3000ms infinite;
    -webkit-animation:fade 3000ms infinite;
}*/



/* === Game Balance === */

.chooseBalance{
	position:absolute;
	width:100%;
	height:100%;
}
.chooseBalanceTitle{
	width:100%;
	height:40%;
	position:absolute;
	top:0;
}
#balanceTitle {
	font-size:1.2em;
	font-weight:bold;
	text-transform:uppercase;
	margin:50px 0 10px 0;
 }
#launchStats{
	position:absolute;
	top:35%;
	height:60%;
	width:100%;
}
#launchStats span{
	float:left;
	width:100%;
}
#launchStats div{
	float:left;
	width:50%;
	text-align:center;
	margin-bottom:1%;
	font-size:1.2em;
	font-weight:bold;
	text-transform:uppercase;
}
#launchStats input{
	text-align:center;
	color:#fff;
	background:#000;
	border-radius:0;
	border: none;
	display:block;
	margin:1% auto 0 auto;
	padding:10px 60px;
	font-weight:bold;
	font-size:1.3em;
	text-transform:uppercase;
}
#launchStats input:disabled{
	background:#999;
}
#launchStats select{
	border:1px solid #000;
	width:60%;
	padding:5px 2px;
	margin-bottom:3%;
}

.balanceResultats{
	position:absolute;
	width:100%;
	height:100%;
	top:100%;
	display:none;
}
.teamResult{
	position:absolute;
	top:20%;
	width:25%;
	height:60%;
	left:75%;
	text-align:center;
}
.teamResult:nth-child(2){
	left:0%;
}
.teamResult div{
	margin-top:61%;
	font-size:1.2em;
	font-weight:bold;
}
.teamResult span{
	font-size:1.4em;
}
.teamResult p{
	margin:0;
	text-transform:uppercase;
	width:50%;
	padding:0 25%;
}
.fightResult{
	position:absolute;
	top:20%;
	left:25%;
	width:50%;
	height:60%;
	font-weight:bold;
}
.fightResult p{
	float:left;
	width:50%;
	text-align:center;
	margin:7% 0 3% 0;
	text-transform:uppercase;
}
.fightResult div{
	float:left;
	width:40%;
	height:30%;
	padding:0 5%;
	text-align:center;
	text-transform:uppercase;
	font-size:0.9em;
}
.fightResult span{
	width:50%;
	float:left;
	font-size:1.2em;
}
.fightResult img{
	width:30%;
	float:left;
}
.balanceBtn{
	position:absolute;
	width:100%;
	top:86%;
	text-align:center;
}
.balanceBtn button{
	border:1px solid #000;
	background:#fff;
	padding:8px 25px;
	font-weight:bold;
	font-size:1.3em;
	text-transform:uppercase;
}