

@font-face {
    font-family: "Rajdhani-Bold";
    src: url('font/Rajdhani/Rajdhani-Bold.ttf');
}

@font-face {
    font-family: "Rajdhani-Regular";
    src: url('font/Rajdhani/Rajdhani-Regular.ttf');
}

@font-face {
    font-family: "ZillaSlab-Regular";
    src: url('font/Zilla_Slab/ZillaSlab-Regular.ttf');
}

#bodyTemplate{
    /*background-color: red;*/
}


/*******************************************************************general*******************************************************/

body{
  font-family: Rajdhani-Regular;
}

a{
  color:#999999;
}


#rulesListUl{
  margin : 0 0 10px 0;
}

input, select{
  margin:0 0 10px 0;
}

.smallText{
  font-size : 0.7em;
}

.buttonGen, #bodyMain .ui-button, #bodyMyScenarios .ui-button {
  font-size: 0.7em;
  display: inline-block;
  background: #1c1c1c;
  color: #fff;
  text-decoration: none;
  width: 100px;
  min-height: 25px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  
  -webkit-box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);
  -moz-box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);
  box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);
  border: 1px solid #CCC;
  
  margin:10px;

}

.errorMessages{
  color: #f00;
  font-weight: bold;
  display: none;
}

.darkClass
{
    background-color: rgba(0,0,0,0.5);
    /*filter:alpha(opacity=50); /* IE */
    /*opacity: 0.5; /* Safari, Opera */
    /*-moz-opacity:0.50; /* FireFox */
    z-index: 20;
    height: 100%;
    width: 100%;
    background-repeat:no-repeat;
    background-position:center;
    position:fixed;
    top: 0px;
    left: 0px;
    text-align: center;
    display: none;
}



.darkClass img
{
    width:100px;
    height: 100px;
    margin-top: 50vh; /* poussé de la moitié de hauteur de viewport */
    transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
}

/******************************************************************header************************************************************/

div#bgd-banner {
    position: fixed;
    bottom: 0px;
    right: -200px;
    width: 200px;
    height: 200px;
    text-align: right;
    z-index: 100;
}

img#bgd-image-bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

#bgd-block{
  position: absolute;
      bottom: 20px;
    right: 20px;
  z-index: 2;
}

img#bgd-image {
    height: 75px;
}

#bgd-banner a.boxclose {
  z-index: 2;
  right: 6px;

}

#bgd-text{
      color: #fff;
}

.slide-left {
  -webkit-animation: slide-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: slide-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-200px);
            transform: translateX(-200px);
  }
}
@keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-200px);
            transform: translateX(-200px);
  }
}


.headerHeight{
  height: 70px;
}

.langHeader{
      position: fixed;
    color: white;
    font-weight: bold;
    /* position: absolute; */
    top: 10px;
    right: 10px;
     font-family:Rajdhani-Regular;
}

.langHeader a{
  text-decoration: none; 
  color: white;
  font-weight: bold; 
}

#headerMenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#headerMenu li{
  display: inline-block;
  width: 165px;
  text-align: center;
}

#headerMenu li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    font-family:Rajdhani-Regular;
    /*border-right: 1px solid #ccc;*/
    
}
#headerMenu li a:hover {
  color: #000;
  /*background-color: #fff;*/
}

#nav {
  position: fixed;
    z-index: 2;
    width: 830px;
    /* float: right; */
    top:0;
    right: 189px;
    margin: 0 0 1em 0;
    padding: 0;
    /* background-color: #000; */
    
    height: 65px;
    background-image: url(/images/headerBg.png);
    background-repeat: repeat-x;
}

#headerStart{
  background-image: url(/images/headerStart.png);
    background-repeat: no-repeat;
    width: 43px;
    height: 65px;
    position: fixed;
    top: 0;
    right: 1018px;
        z-index: 40;
    
}

#headerEnd{
     background-image: url(/images/header_end.png);
    background-repeat: no-repeat;
    width: 189px;
    height: 65px;
    position: fixed;
    top: 0;
    right: 0;

}

#headerMenuCloseButton{
  display: none;
}
/***************************************SIDENAV**************************************/
/* The side navigation menu */
.sidenav {
    /* min-height: 1573px; */
    width: 80px;
    position: fixed;
    z-index: 1;
    top: 65px;
    right: 0;
        /* transition: 0.5s; */
    text-align: center;
}

#sideNavBody{
  background-image: url(/images/sideNavBgBody.png);
  background-repeat: repeat-y;
  width: 170px;
}


#saveNav
{
    position: fixed;
    background-image: url(/images/bgSaveButtons.png);
    background-repeat: no-repeat;
    width: 500px;
    height: 65px;
    top: 65px;
    right: 0;
    background-position: bottom;
    text-align: center;
}

#sideNavHaut{
  background-image: url(/images/sidenavBgHaut.png);
  background-repeat: no-repeat;
   width: 170px;
  height: 24px;
}

#sideNavBas{
  background-image: url(/images/sidenavBgBas.png);
  background-repeat: no-repeat;
  width: 170px;
  height: 24px;
}


.sidenav{
  width: 170px;
}

.sidenav h2 {
  color:#fff;
}
/* The navigation menu links */
/*.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}*/

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#bodyEdit #main {
    /*transition: margin-left .5s;
    margin-left: 80px;
    padding: 20px;*/
    width: 1000px;
    margin: auto;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

/*********************LOGIN*******************/

#loginBlock, #subscribeBlock{
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 40%;
  padding: 10px;
}

#centerLine{
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  width: 2px;
  height: 400px;
  background-color: black;
}

#subandlogBlock{
  width: 100%;
  display: none;
}

#centerBlock{
  width: 50%;
  margin: 0 auto; 
  text-align: center;
}

.nbForm{
  font-size: 0.8em;
}

#phase2, #lostphase2{
  display: none;
}

#subandlogBlock input[type=text],#subandlogBlock input[type=password]{
  width: 300px;
}

/*********************************EDIT*****************************/




#batcave_3_TemplateTabButton, #batcave_3_TemplateTab{
  display: none;
}

#templateChoiceRadio{
  margin-top: 20px;
}

#templateChoiceBlock{
  text-align: center;
}

.ui-checkboxradio-label{
  font-family: Rajdhani-Regular;
}

.ui-checkboxradio-checked{
  background-color: #2aaecf!important;
  color: #fff!important;
  
}

#versusButtonsContainer{
  text-align: center;
}

.templateButton{
  position: relative;
  width: 180px;
  height: 45px;
  text-align: center;
  display: inline-block;
  vertical-align: bottom;
  background-color: #ccc;
    padding: 13px;
    display: inline-block;
    font-size: 2.5em;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    z-index: 9;
}

.versusButton{
  position: relative;
  width: 350px;
  height: 45px;
  text-align: center;
  display: inline-block;
  vertical-align: bottom;
  background-color: #ccc;
    padding: 13px;
    display: inline-block;
    font-size: 2.5em;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    z-index: 9;
}

.versusButton.active{
   height: 47px;
  background-color: #7fd6ed;
  color: #fff;
-webkit-box-shadow: 2px -1px 5px 2px rgba(0,0,0,0.75);
-moz-box-shadow: 2px -1px 5px 2px rgba(0,0,0,0.75);
box-shadow: 2px -1px 5px 2px rgba(0,0,0,0.75);
  z-index: 10;
      margin-right: 2px; 
  
}

.templateButton.active{
   height: 47px;
  background-color: #7fd6ed;
  color: #fff;
-webkit-box-shadow: 2px -1px 5px 2px rgba(0,0,0,0.75);
-moz-box-shadow: 2px -1px 5px 2px rgba(0,0,0,0.75);
box-shadow: 2px -1px 5px 2px rgba(0,0,0,0.75);
  z-index: 10;
      margin-right: 2px; 
  
}

.templateButton.active:after {
    background-color: #7fd6ed;
    height: 5px;
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0px;
        right: -15px;
}

.templateButton a{
  text-decoration: none;
}

.templateButton.active a{
  color: #fff;
}

#templateTabsContainer{
  border: 5px solid #7fd6ed;
  width: 1000px;
}

.loadingWheel{

  width: 150px;

}


.loadingWheel{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align:center;
  display: none;
}

.equipmentUnit{
  position: relative;
  margin-top: 10px;
}

#ListPicturesContainer{
  width: 50%;
  display: inline-block;
  vertical-align: top;
}

#generalInfosContainer{
  width: 47%;
  display: inline-block;
  vertical-align: top;
      margin-left: 30px;
}

.heroItemContainer{
  position: relative;  
}

.heroItemContainer.inList{
  margin-top: 20px;
  border-top: 3px solid #ee8d22;
}


a.addEquipmentButton {
    margin: 0 10px;
    font-size: 1.3em;
    text-decoration: none;
    border: 3px solid #ee8d22;
    background-color: #002131;
    width: 20px;
    display: inline-block;
    color: white;
}



.PictureContainer, .heroItemContainer{
  display: inline-block;
}

.PictureImg img, .heroItemContainer img {
    width: 150px;
}



#overlayEdit{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000FEF;
  opacity: 0.5;
  z-index: 60;
  display: none;
}

div#skelosContener,  #skelosContener2{
    display: inline-block;
    vertical-align: middle;
}

.versusMode{
  display: none;
}

img#bonusSeparator {
    display: inline-block;
    vertical-align: middle;
        width: 135px;
}

div#listTiles {
    height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.elementNbr {
    position: absolute;
    top: -19px;
    left: 0;
}

#elementsTargetsList {
    position: absolute;
    top: 33px;
    left: 78px;
}

.GameElementToPut{
  position: absolute;
}

#elementsTargetsBg{
  width: 490px;
}

#elementsTargetsContainer{
  width: 490px;
  display: inline-block;
  height: 550px;
  vertical-align: top;
  position: relative;
}

#elementsContener{
padding-left: 40px;
    width: 465px;
    display: inline-block;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 550px;
    vertical-align: top;
    text-align: right;
}


#pawnsContenerMap{
  height: 300px;
  width: 50%;
  overflow-y: scroll;
  overflow-x: hidden;
  display: inline-block;
}

div#mapChoiceBlock {
    width: 49%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}



.heroesListAddButton img{
  width: 150px;
}

#firstHeroesList, #secondHeroesList, #thirdHeroesList{
  text-align: center;
}


.editHeroesChoice {
        width: 32%;
    display: inline-block;
    padding-right: 10px;
    vertical-align: top;
}

#chooseYourHeroes{
  text-align: right;
}

#description{
  width: 1000px;
}

div#generalInfos, #endConditionsBlock, #winConditionsBlock, #energyBlock {
    padding-left: 50px;
}

#PicturesContainer a span, #PicturesContainer a span {
    position: absolute;
    top: 0;
    right: 0;
    /* background-image: url(/images/bgHeadersOrange.png); */
    /* background-size: 100%; */
    background-color: #f09421;
    color: #fff;
    font-family: Rajdhani-Regular;
    display: block;
    padding: 10px;
    border-radius: 0 0 0 15px;
  }

#PicturesContainer a {
    display: inline-block;
     position: relative;
}

#PicturesContainer {
    text-align: right;
}

#PictureLeft img {
    width: 122px;
    position: absolute;
    top: 52px;
    left: 42px;
}

#PictureRight img{
  width: 200px;
  position: absolute;
  top: -13px;
  left: 5px;
}

#PictureRight{
  background-image: url(/images/pictureRightBg.jpg);
  width: 200px;
  height: 222px;
  position: relative;
}

#PictureLeft{
  background-image: url(/images/pictureLeftBg.jpg);
  width: 200px;
  height: 222px;
  position: relative;
}



.rulesTextFieldGen{
  width: 200px;
}

#bonusTile{
  border:thin solid black;
      width: 90px;
    height: 135px;
  display: inline-block;
  vertical-align: middle;

}

#river, #river2{    
  width: 740px;
 height:185px;
 margin: 0;
 padding: 0;
overflow: visible;
  
}

.tilesBoxItem, .riverItem, .borderItem, .hurtItem{ 
  display: block;
  width:123px; 
  height: 185px;
  display: inline-block;
  position: relative;
}

.tilesBoxItem span, .riverItem span{
  display: none;
}

.tilesBoxItem span.versus, .riverItem span.versus{
  text-align: center;
  display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 1.5em;
    font-weight: bold;
    font-family: arial;
    text-shadow:0px 1px 0 rgb(255,255,255),0px -1px 0 rgb(255,255,255),1px 0px 0 rgb(255,255,255),-1px 0px 0 rgb(255,255,255),1px 1px 0 rgb(255,255,255),1px -1px 0 rgb(255,255,255),-1px 1px 0 rgb(255,255,255),-1px -1px 0 rgb(255,255,255);
-webkit-text-shadow:0px 1px 0 rgb(255,255,255),0px -1px 0 rgb(255,255,255),1px 0px 0 rgb(255,255,255),-1px 0px 0 rgb(255,255,255),1px 1px 0 rgb(255,255,255),1px -1px 0 rgb(255,255,255),-1px 1px 0 rgb(255,255,255),-1px -1px 0 rgb(255,255,255);
-moz-text-shadow:0px 1px 0 rgb(255,255,255),0px -1px 0 rgb(255,255,255),1px 0px 0 rgb(255,255,255),-1px 0px 0 rgb(255,255,255),1px 1px 0 rgb(255,255,255),1px -1px 0 rgb(255,255,255),-1px 1px 0 rgb(255,255,255),-1px -1px 0 rgb(255,255,255);
}

.riverItem span.versus{
  top: 5px;
    left: 5px;
    font-size: 1em;
}

.riverItem{
  width: 90px;
  height: 135px;
}

#skelosNbr{
      background: url(../images/skelos/bgRiver.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
      width: 720px;
  margin: 0; padding: 0;
}

#skelosNbr div{
  width: 90px;
  display: inline-block;
  text-align: center;
}
#skelosNbr div img{
  width: 50px;
}




#heroesTotalList,#ListPicturesRight, #ListPicturesLeft{
  display:none;
    z-index: 70;
    position: fixed;
    width: 50%;
    background-color: #fff;
    margin-left: 500;
    margin-right: -500;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 50%;
    top: 300px;
    padding : 50px;
}


.newButton {
  -webkit-animation: glowing 2000ms infinite;
  -moz-animation: glowing 2000ms infinite;
  -o-animation: glowing 2000ms infinite;
  animation: glowing 2000ms infinite;
}
@-webkit-keyframes glowing {
  0% { /*background-color: #000;*/ -webkit-box-shadow: 0 0 3px #B20000; }
  50% { /*background-color: #FF0000;*/ -webkit-box-shadow: 0 0 60px #F00000; }
  100% { /*background-color: #000;*/ -webkit-box-shadow: 0 0 3px #B20000; }
}

@-moz-keyframes glowing {
  0% { /*background-color: #000;*/ -moz-box-shadow: 0 0 3px #B20000; }
  50% { /*background-color: #FF0000;*/ -moz-box-shadow: 0 0 60px #FF0000; }
  100% { /*background-color: #000;*/ -moz-box-shadow: 0 0 3px #B20000; }
}

@-o-keyframes glowing {
  0% { /*background-color: #000;*/ box-shadow: 0 0 3px #B20000; }
  50% { /*background-color: #FF0000;*/ box-shadow: 0 0 60px #FF0000; }
  100% { /*background-color: #000;*/ box-shadow: 0 0 3px #B20000; }
}

@keyframes glowing {
  0% { /*background-color: #000;*/ box-shadow: 0 0 3px #B20000; }
  50% { /*background-color: #FF0000;*/ box-shadow: 0 0 60px #FF0000; }
  100% { /*background-color: #000;*/ box-shadow: 0 0 3px #B20000; }
}

textarea{
  height:200px;
}

#MiseEnPageButton{
 /* display:none;*/
}

li.ui-state-active{
      background-color: rgba(255, 75, 0, 0.5)!important;
      border: 1px solid rgba(255, 100, 0, 0.5)!important;
}

.mandatoryItem{
  text-align:center;
}

.mandatoryItem a{
  
  text-decoration:none;
  color:#000;
  font-family:Rajdhani-Regular;
}
.searchTiles, .searchPawns, #searchScenarios {
    padding: 6px 15px 6px 30px;
    margin: 3px;
    height: 30px;
    background: url(../images/search.png) no-repeat 8px 2px #fff;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

#scenarioMandatory li {
    position: relative;
    display: inline-block;
    width: auto;
    background-color: rgba(255, 75, 0, 0.5);
    margin: 10px 5px 0 0;
    color: white;
    border-radius: 10px;
    padding: 5px 30px 5px 5px;
}

#mandatoryList li{
    display: inline-block;
    margin:0 30px 30px 0;
}

#mandatoryList li img{
  width:100px;
}

input[type='checkbox'] {
  margin-right: 10px;
}

h2{
  font-family: Rajdhani-Regular;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.rulesListButtons{
  text-align:right;
}

.ruleTitle{
  font-weight:bold;
}
.rulesLi{
    border: thin solid #969696;
    padding: 10px;
    background: #2aaecf;
    color:#fff;
}

.rulesLi a.boxbutton{
  margin-right:10px;

}

#title, #ruleTitleField{
  width:200px;
}

.ui-tooltip {
    display: none!important;
}
.mce-branding-powered-by{
  display:none!important;
}

.formLabels {
    width: 250px;;
    display: inline-block;
}


a.boxedit {    
    background: url("../images/edit.png");   

    background-size: 100% 100%; 
}

.listTilesGen{
  overflow-x:scroll;
  height: 280px;
}



.tilesBoxItem{ 
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  width:123px;
  height: 185px;
  display: inline-block;
  margin-right:20px; 
  margin-top:20px; 
}

.tile_Troops, .tile_Various{
  width:116px;
}

.hoverableTile{
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
}

.transition {

    -webkit-transform: scale(1.2) ; 
    -moz-transform: scale(1.2) ;
    -o-transform: scale(1.2) ;
    transform: scale(1.2) ;
}

.tilesBoxItem:hover{    
  -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 230, 255, 0.85);
  -moz-box-shadow:    0px 0px 30px 0px rgba(0, 230, 255, 0.85);
  box-shadow:         0px 0px 30px 0px rgba(0, 230, 255, 0.85);
}



.colorBlock{
  width: 50px;
  height: 50px;
  display: inline-block;
  border: 3px solid #CCCCCC;
}

.colorBlockSmall{
  width: 25px;
  height: 25px;
  display: inline-block;
  border: thin solid #CCCCCC;
}

.colorBlockSmallSelected{
    border-color: #00CCFF;
}

.red{
  background-color: #;
}
.green{
  background-color: #;
}
.blue{
  background-color: #;
}
.orange{
  background-color: #;
}
.transp{
  background-color: #ffffff;
  background-image: url(../images/colorblockdisable.png);
}

#containment-wrapper, #mapImg, #mapImg-batcave { 
  width: 1000px;
 height:773px;
 }
#mapImg, #mapImg-batcave{
  position: relative;
}

.roundedToolBox{
  border: 1px solid #c5c5c5;
}

#rounded1{
  width: 800px;
}


#rounded2{
  width: 720px;
}

.tilesFirstContener{
  overflow-x: scroll;
    height: 230px;
}

.tilesSecondContener{
  overflow: visible;
    width: auto;
    white-space: nowrap;
}

#pawnsContener{
position: relative;
 /*height: 130px;*/
 width: 50%;
 display: inline-block;
 vertical-align: top;
 /* Or whatever you want (eg. 400px) */}
#pawns{ 
  /*height: 125px;*/
    white-space: nowrap;
  }
.listPawnsGen{
  padding:5px!important;
}
  .scrollPawsList{
    overflow-y: scroll;
    overflow-x:hidden;
    height: 300px;

  }

.pawnHandle{
  width:45px;height:40px;position:absolute;top:5px;
  z-index: 10;
}

.textEditPawn .pawnHandle{
    position: absolute;
    background: url("../images/move.png");
    background-size: 100% 100%;
    top: -15px;
    left: -5;
    width: 20px;
    height: 20px;
}

.textEditPawn .boxedit{
  top: -15px;
  right: 5px;
}

#tileContener{
    overflow-x: scroll;
    overflow-y: hidden;
}

.pawn{background: transparent;}

.pawnItemContener{
  text-align: center; 
  width: 72px; 
  vertical-align: top;
  white-space: normal;
  font-size: 0.8em;
  display: inline-block;
}

#movingPawn{
  display: none;
  position: absolute;
  width: 129px;
  height:129px;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  overflow: hidden;
  z-index: 10;
  background-color: #fff;
}
#movingPawnImg{
  position: relative;
  left: -23px;
  top: -23px;
  width: 129px;
}


.elementsItem,.pawnsItem{margin: 0 auto; }
.griddragg,.elementsItem,.pawnsItem,.leadersItem, .templatePawnsItem, .circleItem {width:50px; height:50px; background-size: 100% 100%}
/*.MapItem, .pawnItemContener{display: inline-block;}*/
.MapItem{
    text-align: center;
   width: 100px; 
   height: 150px;
   vertical-align: top;
   display: inline-block;
}
.MapThumb{width:100px; height: 100px; margin: 0 auto; }
.griddragg{border:none;position: absolute; top: 0; left: 0; margin: 0; padding: 0;}
.draggable {}
.ui-widget-header p, .ui-widget-content p { margin: 0; }
#snaptarget { height: 140px; }

.elementClone{
  position: relative;
}

a.boxbutton{
    cursor: default;
    color: #fff;
    width: 20px;
    height: 20px;
    display: inline-block;
    text-decoration: none;
    position: absolute;
    top: 0;
    right: 0;

}

.pawn a.boxclose{
      top: -10px;
    right: -10px;
}
a.boxclose {   
    background: url("../images/del.png");
    background-size: 100% 100%;
    margin: -5px -5px 0 0;
    
}

#bodyEdit .buttonGen.MiseEnPageButton, #bodyEdit .buttonGen.SaveButton, #bodyEdit .buttonGen.DisplayButton, #bodyEdit .buttonGen.DownloadButton, #bodyEditLayout .buttonGen.SaveButton, #bodyEditLayout .buttonGen.RetourButton{
  width: 120px;
  padding-top: 10px;
}

.DisplayButton:before{
  font-family: FontAwesome;
  content: "\f1c1"; 
  padding: 10px; 
}

.MiseEnPageButton:before{
  font-family: FontAwesome;
  content: "\f1c5"; 
  padding: 10px; 
}

.SaveButton:before{
  font-family: FontAwesome;
  content: "\f0c7"; 
  padding: 10px; 
}
.SaveButton span{
  text-indent: 10px;
}

.DownloadButton:before{
  font-family: FontAwesome;
  content: "\f019"; 
  padding: 10px; 
}

.RetourButton:before{
    font-family: FontAwesome;
    content: "\f137"; 
    padding: 10px; 
}

.textEditPawn{
  min-width: 100px;
  min-height: 15px;
  height: auto;
  width: auto;
  background-color: #2d3e41;
  color: #fff;
  font-family: "Arial";
  font-weight: bold;
      text-align: center;
    /* vertical-align: middle; */
    padding: 10px;
}

.playerBlock{
  border:3px solid black;
  border-radius: 10px;
  width: 45%;
  display: inline-block;
  vertical-align: top;
}

.playerBlock_0{
  border-color:#;
  color:#;
}
.playerBlock_1{
  border-color:#;
  color:#;
}
.playerBlock_2{
  border-color:#;
  color:#;
}
.playerBlock_3{
  border-color:#;
  color:#;
}

.playerBlock_0 path{
  fill:#;
  fill-rule:evenodd;
}
.playerBlock_1 path{
  fill:#;
  fill-rule:evenodd;
}
.playerBlock_2 path{
  fill:#;
  fill-rule:evenodd;
}
.playerBlock_3 path{
  fill:#;
  fill-rule:evenodd;
}

.playerBlock_0 div span:first-of-type, .playerBlock_1 div span:first-of-type, .playerBlock_2 div span:first-of-type, .playerBlock_3 div span:first-of-type{
    display: inline-block;
    font-weight: bold;
    padding: 5px 0px 5px 0px;
}

.helmet_img{
  vertical-align:top;
  width:50px;
}


.unit_type{
  margin-bottom: 10px;
}

.unit_gen {
  display: inline;
}

.unit_gen li {
    font-size: 0.8em;
    position: relative;
    display: inline-block;
    width: auto;
    /* padding-right: 30px; */
    background-color: black;
    margin-right: 5px;
    /* border: 3px solid #CCC; */
    color: white;
    border-radius: 10px;
    padding: 5px 30px 5px 5px;
}

.playerBlock_0 .unit_gen li{
  background-color:#;
}
.playerBlock_1 .unit_gen li{
  background-color:#;
}
.playerBlock_2 .unit_gen li{
  background-color:#;
}
.playerBlock_3 .unit_gen li{
  background-color:#;
}

.unit_list{
  display: inline-block;
}

.recruitment_points{
  display: none;
      margin-top: 15px;
}

.recruitment_points input{
  width:50px;
}

/*.unit_bg1{
  background-color:#930115;
}
.unit_bg2{
  background-color:#009303;
}
.unit_bg3{
  background-color:#206183;
}
.unit_bg4{
  background-color:#935a00;
}

.unit_border1{
  border-color:#930115;
}
.unit_border2{
  border-color:#009303;
}
.unit_border3{
  border-color:#206183;
}
.unit_border4{
  border-color:#935a00;
}*/

.elementTarget{
  border: thin solid black;
  width: 50px;
  height: 50px;
  display: inline-block;
  background-color: #fff;
}

.elementTarget.bis {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 52px;
    left: 25px;
}
/***************INDEX**************************************************************************************************************************************************************************/

#bodyMain #searchScenarios{

  background: url(../images/search.png) no-repeat 5px 11px #fff;
}

#bodyMain #justForHeigth{
  height:0;
}

.nrVotes{
  padding-bottom: 10px;
}

#listContener{
  width:100%; /*height: 100%;*/
  text-align: left;
  margin-top:20px;
}

#listScenariosSpinner, #listScenarios{
  width:90%; /*height: 100%;*/
  text-align: left;
  padding-left: 10%;
}

#listScenariosSpinner{
  display: none;
}

#bodyMain .scenarioBlock *, #bodyScenario .scenarioBlock *{
  cursor: pointer;
}

.scenarioBlock{
  display: inline-block;
  /*border: 2px solid rgba(255, 75, 0, 0.5);*/
  width: 20%;
  height: 460px;
  vertical-align: top;
  text-align: center;
  margin: 10px 10px 10px 10px; 
  position: relative;
  overflow: hidden;
  font-size:0.9em;
}

#bodyScenario .scenarioBlock{
  height: 615px;
}


#bodyMyScenarios .scenarioBlock{
  height: 650px;
}

.scenarioBlock img.mapImg{
  width: 80%;
  height: auto;
  -webkit-box-shadow: 0 10px 0px rgba(255,255,255,0.1) inset, 0 0px 10px rgba(0,0,0,0.7);
  -moz-box-shadow: 0 10px 0px rgba(255,255,255,0.1) inset, 0 0px 10px rgba(0,0,0,0.7);
  box-shadow: 0 10px 0px rgba(255,255,255,0.1) inset, 0 0px 10px rgba(0,0,0,0.7);
}

#scenarioPage #listScenarios{
  text-align: center;
}

#scenarioPage .scenarioBlock{

  display: inline-block;
  /*border: 2px solid #000;*/
  width: 60%;
  height: auto;
  vertical-align: top;
  text-align: center;
  margin: 10px 10px 10px 10px; 
  position: relative;
  overflow: hidden;
}

#scenarioPage .scenarioBlock img{
  width: 60%;
}

.novote{
  display: none;
  height: 45px;
}

.small{
  font-size: 0.8em;
}

.scenarioFooter, .scenarioHeader, .scenarioBody{
   
  background-repeat: no-repeat;
  background-size: 100%;
}

.scenarioBody{
  background-image:url("/images/scenarioBlockBody.png");
  background-repeat:repeat-y;
}

.scenarioFooter img, .scenarioHeader img{
  width: 100%;
}

.scenarioHeader{
  /*background-image:url("/images/scenarioBlockHaut.png");
  height: 18px;*/
  margin-bottom: -3px;
}

.scenarioFooter{
  /*background-image:url("/images/scenarioBlockBas.png");
  height: 119px;*/
}

.scenarioTitle a{
 
  display: block;
  font-size: 1.7em;
  font-weight: bold;
  text-decoration: none;
  color: #FFF;
  /*margin: 10px 10px 10px 10px; */
  margin-bottom:10px;
  padding-top:30px;
  
  font-family:Rajdhani-Regular;

}

.scenarioUser{
  font-family: Rajdhani-Bold;
  font-size: 1.2em;
  color: #FFF;
}
  
.scenarioMandatory{
  height: 45px;
}

#pagination{
  text-align: center;
}

#pagination a{
  display: inline-block;
  width: 40px;
  height: 30px;
  padding-top: 10px;
  text-decoration: none;
  color: #fff;
  background-color: #7fd6ed;
  font-size: 1.3em;
  font-family: Rajdhani-Regular;
}

/********************************************************************************RUBAN CONSTRUCTION******************************************************/
/* The ribbons */

.corner-ribbon{
  width: 200px;
  background: #e43;
  position: absolute;
  top: 25px;
  left: -50px;
  text-align: center;
  line-height: 50px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  filter:alpha(opacity=50); /* IE */
  opacity: 0.5; /* Safari, Opera */
  -moz-opacity:0.50; /* FireFox */
}

/* Custom styles */

.corner-ribbon.sticky{
  position: absolute;
}

.corner-ribbon.shadow{
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}

/* Different positions */

.corner-ribbon.top-left{
  top: 25px;
  left: -50px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.corner-ribbon.top-right{
  top: 25px;
  right: -50px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-left{
  top: auto;
  bottom: 25px;
  left: -50px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.corner-ribbon.bottom-right{
  top: auto;
  right: -50px;
  bottom: 25px;
  left: auto;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Colors */
.corner-ribbon.blue{background: #0078ff;}
.corner-ribbon.red{background: #e43;}
.corner-ribbon.green{background: #1948cf;}


/***sidenav search content****/

.buttonGen, #bodyMain .ui-button, #bodyMyScenarios .ui-button {
font-size: 0.7em;
    display: inline-block;
    background: #7fd6ed;
    color: #fff;
    text-decoration: none;
    width: 100px;
    min-height: 25px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);
    -moz-box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);
    box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);
    border: 1px solid #f8951d;
    margin: 10px;

}

#bodyMain .ui-button, #bodyMyScenarios .ui-button {
    width: 120px;
    min-height: 10px;
    margin: 5px 0 0 0;
}

#bodyMain .ui-checkboxradio-checked{
  background: #fff;
  color: #1c1c1c;
}



#sidebarButton
{
  display: none;
}

#playersNbrTitle, #addonsTitle, #mapsTitle{
  font-size: 1.1em;
  color: white;
  font-weight: bold;
}

/*edit page*/
#bodyEdit #main{
  margin: 20px 0 0 20px;
}
#bodyEdit .sidenav, #bodyScenario .sidenav, #bodyContact .sidenav, #bodyLinks .sidenav, .noSideNav .sidenav {
   display: none;
}

#saveMenu {
    width: 100%;
    position: fixed;
    top: 35px;
    left: 0px;
    z-index: 10;
    background-color: #000;
    text-align: center;
    padding-bottom: 5px;
}

h1{
    width: 100%;
    height: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    /* background-color: rgba(255, 75, 0, 0.5); */
    background-image: url(/images/bgHeadersBleu.png);
    background-repeat: no-repeat;
    background-position: left;
    text-align: right;
    /* vertical-align: middle; */
    line-height: 50px;
    font-size: 37px;
    color: #fff;
    font-family: Rajdhani-Regular;
    padding-right: 10px;
}


/*********************************************************Loading Page********************/
#loadingPdf{
    text-align: center;
    Rajdhani-Regular;
    font-size: 1.5em;
    margin-top: 10%;
}

#loadingPdf img{
width:8%;
}


/*******************contact and links***********************/
#contactBlock, #linksBlock  {
  width: 400px;
  text-align: left;
  margin-right: auto;
  margin-left: auto;
  margin-top: 100px;
}

#linksBlock  {
  width: 500px;
}

#contactBlock h1, #linksBlock h1{
  width:500px;
}

#contactBlock input, #contactBlock textarea{
  width: 400px;
  margin-bottom: 20px;
}

#contactBlock #message{
  height: 250px;
}

#contactTxt, #contactErrorMsg{
  margin-bottom: 20px;
}

#contactBlock input[type="submit"]{
  margin: 0;
}

#contactErrorMsg{
  display: none;
  font-weight: bold;
  color: #c90000;
}

#contactConfirmMsg{
  font-weight: bold;
  color: #26dc13;
}

#linksBlock  div{
  margin-bottom: 10px;
}

/****************************************************************************************Comments****************************************************************************************/

#comments{
  text-align: center;
  width: 800px;
  margin: auto;
}

.commentBlock{
  width: 800px;
  text-align: left;
}

.commentPseudo{
  font-weight: bold;
}

.commentDate{
  color:#929292;
}
.commentText{
  background-color: #CCC;
  padding: 10px 10px 10px 30px;
  margin: 10px 0 10px 0;
  border:solid 1px #AAA;
  border-top: 0px;
  border-left: 0px;
}

/****************************************************************************************Rating****************************************************************************************/
.imgRating{
  vertical-align:middle;
}

#savedVote{
  margin-bottom:50px;
  font-weight:bold;
}

.imgAvgRating{
  width:30px;
}

#mybne{
  position: absolute;
  top: 300px;
  right: 20px;
  width: 120px;
  background-color: white;
}

.bneDiv{
  text-align: center;
  margin-bottom: 20px;
  border-top: thin solid #f39122;
  font-family: Arial;
}

.bneDiv a{
  text-decoration: none;
  font-size: 0.8em;
}

.bneMainImg{
  width: 100px;
}

.bneVendor{
  background: black;
    text-align: left;
    border-radius: 3px;
    color: white;
}

.bneVendor img{
    width: 16px;
    vertical-align: middle;
    margin:5px 5px 5px 5px; 
}

.bneTxt{
  margin:5px 0 5px 0; 
}

.bnePrice{
  color:blue;
  margin:5px 0 5px 0; 
}

a.removeEquipmentButton {
    right: -15px;
    top: 5px;
}

#heroesTotalList a{
  text-decoration: none;
}


#ruleTitleField, #warningTitleField{
  width: 100%;
}

.pawnTypeTitle, .tileTypeTitle{
  border-bottom: thin solid black;
  margin-top: 20px;
}

.tileTypeTitle{
  font-size: 2em;
}