#board
{
	color: #000;
	text-decoration: none;
	/*
	font: 14px blok-heavy, helvetica, arial, sans-serif;
	*/
	font-size:1.4rem;
	width:100%;
	height:100%;
	overflow:hidden;
	position:absolute;
	left:0;
	top:0;
	z-index:102;
	background-color:#333;
}
#bgVign {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:0;
	background:url(../images/vignettatura.png) no-repeat center;
	background-size:100% 100%;
	opacity: .5;
}

/*New board bgs*/
.bgclassic {
	background:#000 url(../images/game/bgboard/verde.png) repeat center;
}
.phone .bgclassic {
	background-size: 20%;
}
.bgone {
	background:#000 url(../images/game/bgboard/rosso.png) repeat center;
}
.phone .bgone {
	background-size: 20%;
}
.bgtwo {
	background:#000 url(../images/game/bgboard/ciano.png) repeat center;
}
.phone .bgtwo {
	background-size: 20%;
}

.bgthree {
	background:#000 url(../images/game/bgboard/pattern1.png) repeat center;
}
.bgfour {
	background:#000 url(../images/game/bgboard/pattern2.png) repeat center;
}
.bgfive {
	background:#000 url(../images/game/bgboard/flowers.png) repeat center;
}


#boardMsgBox {
	position:absolute;
	display:none;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	width:300px;
	height:67px;
	opacity:0;
	z-index:1000;
	font-size:3.0rem;
	font-weight:bold;
	text-align:center;
	text-shadow: 2px 2px 3px #000;
	color:#fff;
}

.card
{
	position:absolute;
	left:0px;
	top:0px;
	cursor:pointer;
	z-index:100;

	/*
	-webkit-transform: translate(5px, 5px);
	-moz-transform: translate(5px, 5px);
	transform: translate(5px, 5px);

	-webkit-transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-ms-tap-highlight-color: rgba(0,0,0,0);
	*/

	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;

	-ms-backface-visibility: hidden;
	backface-visibility: hidden;

}
.csstransforms3d .card
{
	-webkit-transform: translate3d(5px,5px,0);
}
.card .front
{
	position:absolute;
	left:0;
	top:0;
	z-index:1;
	/*
	-webkit-transform: translate3d(0,0,0,-180deg);
	-moz-transform: translate3d(0,0,0,180deg);

	-webkit-transform: rotateY(-180deg);
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;

	-moz-transform: rotateY(-180deg);
	-moz-transform-style: preserve-3d;
	-moz-backface-visibility: hidden;
	*/

	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;

}
/*
.csstransforms3d .card .front
{
	-webkit-transform: translate3d(0,0,0,-180deg);
}
*/
.card .back
{
	position:absolute;
	left:0;
	top:0;
	z-index:2;
	/*
	-webkit-transform: translate3d(0,0,0,0deg);
	-moz-transform: translate3d(0,0,0,0deg);

	-webkit-transform: rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;

	-moz-transform: rotateY(0deg);
	-moz-transform-style: preserve-3d;
	-moz-backface-visibility: hidden;
	*/

	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
}
/*
.csstransforms3d .card .front
{
	-webkit-transform: translate3d(0,0,0,0deg);
}
*/
.card.revealed .front
{
}
.card.revealed .back
{
}
.card .cardimg
{
	position:absolute;
	left:0;
	top:0;
	z-index:2;

	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;

	-ms-backface-visibility: hidden;
	backface-visibility: hidden;

	-webkit-transition-duration: 0.3s;  /* Chrome 1-25, Safari 3.2+ */
	     -moz-transition-duration: 0.3s;  /* Firefox 4-15 */
	       -o-transition-duration: 0.3s;  /* Opera 10.50–12.00 */
	          transition-duration: 0.3s;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
	-webkit-transition-timing-function: ease-out;  /* Chrome 1-25, Safari 3.2+ */
	     -moz-transition-timing-function: ease-out;  /* Firefox 4-15 */
	       -o-transition-timing-function: ease-out;  /* Opera 10.50–12.00 */
	          transition-timing-function: ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */

  -webkit-transform: rotate(0deg);  -webkit-transform-style: preserve-3d;
     -moz-transform: rotate(0deg);     -moz-transform-style: preserve-3d;
      -ms-transform: rotate(0deg);      -ms-transform-style: preserve-3d;
          transform: rotate(0deg);          transform-style: preserve-3d;
}

.card .cardimg.flip
{
	/*
  -webkit-perspective: 300px;
     -moz-perspective: 300px;
      -ms-perspective: 300px;
          perspective: 300px;
    */

	-webkit-transition-duration: 0.2s;  /* Chrome 1-25, Safari 3.2+ */
	     -moz-transition-duration: 0.2s;  /* Firefox 4-15 */
	       -o-transition-duration: 0.2s;  /* Opera 10.50–12.00 */
	          transition-duration: 0.2s;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
	-webkit-transition-timing-function: ease-in;  /* Chrome 1-25, Safari 3.2+ */
	     -moz-transition-timing-function: ease-in;  /* Firefox 4-15 */
	       -o-transition-timing-function: ease-in;  /* Opera 10.50–12.00 */
	          transition-timing-function: ease-in;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */

  -webkit-transform: rotateY(90deg);  -webkit-transform-style: preserve-3d;
     -moz-transform: rotateY(90deg);     -moz-transform-style: preserve-3d;
      -ms-transform: rotateY(90deg);      -ms-transform-style: preserve-3d;
          transform: rotateY(90deg);          transform-style: preserve-3d;

}


/*
.card .cardimg.flip {
	-webkit-animation-name: flip;
	-moz-animation-name: flip;
	-o-animation-name: flip;
	animation-name: flip;
}
@-webkit-keyframes flip {
	20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; }
	20% { -webkit-transform: rotateY(15deg); }
	40% { -webkit-transform: rotateY(30deg); }
	60% { -webkit-transform: rotateY(45deg); }
	80% { -webkit-transform: rotateY(65deg); }
	100% { -webkit-transform: rotateY(90deg); }
}

@-moz-keyframes flip {
	20% { -moz-transform: rotateY(15deg); }
	40% { -moz-transform: rotateY(30deg); }
	60% { -moz-transform: rotateY(45deg); }
	80% { -moz-transform: rotateY(65deg); }
	100% { -moz-transform: rotateY(90deg); }
}

@-o-keyframes flip {
	20% { -o-transform: rotateY(15deg); }
	40% { -o-transform: rotateY(30deg); }
	60% { -o-transform: rotateY(45deg); }
	80% { -o-transform: rotateY(65deg); }
	100% { -o-transform: rotateY(90deg); }
}

@keyframes flip {
	20% { transform: rotateY(15deg); }
	40% { transform: rotateY(30deg); }
	60% { transform: rotateY(45deg); }
	80% { transform: rotateY(65deg); }
	100% { transform: rotateY(90deg); }
}
*/


.card .selection
{
	position:absolute;
	left:0;
	top:0;
	z-index:3;
	display:none;
}
.card.selected .selection
{
	display:block;
}

#deckcount {
	position:absolute;
	z-index:201;
}
#deckcount .label {
	text-align:center;
	text-shadow: none;
	border: 1px solid #fff;
	border-radius: 100%;
	font-family: oswald_regularregular;
	font-size: 1.4rem;
	min-width: 28px;
	line-height: 28px;
	margin: 0;
	padding: 2px;
	background-color: #222;
}
.phone #deckcount .label {
	font-size: 1.2rem;
	min-width: 24px;
	line-height: 22px;
}

#scopeOpponent
{
	font-size:4.0rem;
	font-weight:bold;
	text-align:center;
	cursor: pointer;
}
#scopeOpponent .label
{
	font-size:2.0rem;
	line-height:20px;
	text-shadow: 2px 2px 0 #222;
	color:#fff;
}
.phone #scopeOpponent
{
	width:50px;
	height:30px;
	font-size:2.0rem;
}
#scopePlayer
{
	font-size:4.0rem;
	font-weight:bold;
	text-align:center;
}
#scopePlayer .label
{
	font-size:2.0rem;
	line-height:20px;
	text-shadow: 2px 2px 0 #222;
	color:#fff;
}
.phone #scopePlayer
{
	width:50px;
	font-size:2.0rem;
}

/*new cards*/
.newcard {
	position: absolute;
    cursor: pointer;
    /*
    height: 123px;
    width: 80px;
    */
	-webkit-perspective: 1000;

	-webkit-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	display: none;
}

.newcard .selection {
	position: absolute;
	left:0;
	top:0;
	width:100%;
	height: 100%;
	z-index: 100;
	background-size: 1000% 500%;
	display: none;
}
.newcard.selected .selection
{
	display:block;
	background-position: 100% 100%;
}

.newcard .cardimg {
	position: absolute;
	left:0;
	top:0;
	width:100%;
	height: 100%;
	z-index: 99;
	-webkit-transition-duration: 0.2s;  /* Chrome 1-25, Safari 3.2+ */
	     -moz-transition-duration: 0.2s;  /* Firefox 4-15 */
	       -o-transition-duration: 0.2s;  /* Opera 10.50–12.00 */
	          transition-duration: 0.2s;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
	-webkit-transition-timing-function: ease-out;  /* Chrome 1-25, Safari 3.2+ */
	     -moz-transition-timing-function: ease-out;  /* Firefox 4-15 */
	       -o-transition-timing-function: ease-out;  /* Opera 10.50–12.00 */
	          transition-timing-function: ease-out;  /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */

	-webkit-transform: rotate(0deg);
	 -moz-transform: rotate(0deg);
	  -ms-transform: rotate(0deg);
	      transform: rotate(0deg);
  -webkit-transform: rotateY(0deg);
     -moz-transform: rotateY(0deg);
      -ms-transform: rotateY(0deg);
          transform: rotateY(0deg);

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}
.newcard .cardimg .img{
	width: 100%;
	height: 100%;
	background-size: 1000% 500%;
}

.newcard .cardimg.flip {
  -webkit-transform: rotateY(90deg);
     -moz-transform: rotateY(90deg);
      -ms-transform: rotateY(90deg);
          transform: rotateY(90deg);
}
.newcard .cardimg.flipback {
  -webkit-transform: rotateY(0deg);
     -moz-transform: rotateY(0deg);
      -ms-transform: rotateY(0deg);
          transform: rotateY(0deg);
}
/*
.newcard .cardimg.rotateupsidedown
{
  -webkit-transform: rotate(-180deg);
     -moz-transform: rotate(-180deg);
      -ms-transform: rotate(-180deg);
          transform: rotate(-180deg);
}
.newcard .cardimg.rotateleft
{
  -webkit-transform: rotate(-90deg);
     -moz-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
*/
/*
.newcard .cardimg.rotateleft.flip
{
  -webkit-transform: rotate(-90deg) rotateY(45deg);
     -moz-transform: rotate(-90deg) rotateY(45deg);
      -ms-transform: rotate(-90deg) rotateY(45deg);
          transform: rotate(-90deg) rotateY(45deg);
}
.newcard .cardimg.rotateleft.flipback
{
  -webkit-transform: rotate(0deg) rotateY(45deg);
     -moz-transform: rotate(0deg) rotateY(45deg);
      -ms-transform: rotate(0deg) rotateY(45deg);
          transform: rotate(0deg) rotateY(45deg);
}
*/
/*
.newcard .cardimg.flip.rotateleft
{
  -webkit-transform: rotateY(90deg);
     -moz-transform: rotateY(90deg);
      -ms-transform: rotateY(90deg);
          transform: rotateY(90deg);
  -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.newcard .cardimg.flipback.rotateleft
{
  -webkit-transform: rotateY(0deg);
     -moz-transform: rotateY(0deg);
      -ms-transform: rotateY(0deg);
          transform: rotateY(0deg);
  -webkit-transform: rotate(-90deg);
     -moz-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
*/
.newcard .cardimg.rotateright
{
  -webkit-transform: rotate(90deg);
     -moz-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
/*
.newcard .cardimg.flip.rotateright
{
  -webkit-transform: rotateY(90deg);
     -moz-transform: rotateY(90deg);
      -ms-transform: rotateY(90deg);
          transform: rotateY(90deg);
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.newcard .cardimg.flipback.rotateright
{
  -webkit-transform: rotateY(0deg);
     -moz-transform: rotateY(0deg);
      -ms-transform: rotateY(0deg);
          transform: rotateY(0deg);
  -webkit-transform: rotate(90deg);
     -moz-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
*/

.newcard .cardDragHandler {
	position: absolute;
	z-index: 101;
	width: 100%;
	height: 100%;
}


.cardDragHandler.gu-mirror {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
}
.cardDragHandler.gu-transit {
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
}

.cardDragHandler.gu-mirror .dragContainer {
	position:relative;
}
.cardDragHandler.gu-mirror .cardDragHandler {
	position: absolute;
}
.cardDragHandler.gu-mirror .cardimg {
	position: relative;
}

.imgCard {
	background-size: 1000% 500%;
	background-position: left top;
}
.imgCard.back {
	background-image: url(../images/game/napoletane.png);
}
.imgCard.back.original {
	background-position: left bottom;
}
.imgCard.back.original2 {
	background-position: 11.1% bottom;
}
.imgCard.back.original3 {
	background-position: 22.2% bottom;
}
.imgCard.back.spaghetti1 {
	background-position: 33.3% bottom;
}
.imgCard.back.spaghetti2 {
	background-position: 44.4% bottom;
}
.imgCard.back.spaghetti3 {
	background-position: 55.5% bottom;
}



/* Wrapper 1 */

#wrapper1, #wrapper2, #wrapper3 {
    width:100%;
    height:160px;
    margin: 20px auto 0 auto;
    z-index:1;
    overflow:hidden;
    position:relative;
}
#wrapper1, #wrapper3 {
    height:184px;
}
#scroller1, #scroller2, #scroller3 {
    width:500%;
    height:100%;
    padding:0;
    position: absolute;
    left:0;
    top:0;
}

#scroller1 ul, #scroller2 ul, #scroller3 ul {
    list-style:none;
    width:150%;
    height:100%;
    padding:0;
    margin:0;
    text-align:left;
}

#scroller1 li, #scroller2 li, #scroller3 li {
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -o-box-sizing:border-box;
    box-sizing:border-box;
    display:block; float:left;
    width:400px;
    height:160px;
    text-align:center;
    font-size:1.8rem;
}
#scroller1 li, #scroller3 li {
    height:174px;
}


.cards#wrapper1 {
    width:160px;
    margin:0 auto;
    padding-top:10px;
    float: none;
	background: rgba(255,255,255,0.7);
	border-radius: 5px;
}
.cards #scroller1 {
	width:1600%;
}
.cards #scroller1 ul li{
	width:160px;
	color:#383838;
	font-size:2.4rem!important;
	text-shadow:none;
	margin: 0;
}
.cards #scroller1 ul li img{
	height:120px!important;
	margin-top:10px;
}
.carte.carouselNav {
	width:280px;
	margin:0 auto;
}

.cardsback#wrapper3 {
    width:160px;
    margin:0 auto;
    padding-top:10px;
    float: none;
	background: rgba(255,255,255,0.7);
	border-radius: 5px;
}
.cardsback #scroller3 {
	width:400%;
}
.cardsback #scroller3 ul li{
	width:160px;
	color:#383838;
	font-size:2.4rem!important;
	text-shadow:none;
	margin: 0;
}
.cardsback #scroller3 ul li img{
	height:120px!important;
	margin-top:10px;
}
.carteback.carouselNav {
	width:280px;
	margin:0 auto;
}

.sfondi#wrapper2 {
	background: rgba(255,255,255,0.7);
	border-radius: 5px;
    width:160px;
    margin:0 auto;
    padding-top:10px;
    float: none;
}
.sfondi #scroller2 {
	width:700%;
}
.sfondi #scroller2 ul li{
	width:160px;
	color:#383838;
	font-size:2.4rem!important;
	text-shadow:none;
	margin: 0;
}
.sfondi #scroller2 ul li img{
	height:120px!important;
	margin-top:10px;
	border-radius: 6px;
    border: 1px solid #333;
}
.sfondi.carouselNav {
	margin:0 auto;
}


.boardDetailsPanel .cardsContainer {
	position: relative;
}
.boardDetailsPanel .imgCard {
	position: absolute;
	z-index: 50;
}
.boardDetailsPanel .imgCard.scopa {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;

  -webkit-transform: rotate(90deg);
     -moz-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}

#board .lastHandContainer {
	position: absolute;
	z-index: 1200;
	width: 100%;
}
#board .lastHand {
	max-width: 360px;
	margin: 0 auto 0 auto;
	padding: 10px;
	text-align: center;
	display: none;
}
#board .lastHand .innerBox{
	padding: 20px;
}
#board .lastHand p {
	font-family:Arial, Helvetica, sans-serif;
	font-size:1.4rem;
	line-height: 16px;
}
#board .lastHand .imgCard {
	margin: 0 auto 5px auto;
}
#board .lastHand .buttons {
	margin-top: 10px;
}

.gameCallsContainer .imgCard {
	margin: 5px 2px;
	display: inline-block;
}

.settingsform .cards .imgCard, .settingsform .cardsback .imgCard {
	margin: 0 auto;
	float: none;
}

.triangle-isosceles {
	position:relative;
	z-index: 1300;
	padding:5px;
	margin:5px auto;
	color:#000;
	background:#f3961c; /* default background for browsers without gradient support */
	/* css3 */
	background:linear-gradient(rgb(255, 255, 255), #b5b5b5);
	border:2px solid #222;
	border-radius:10px;
	min-height: 40px;
	max-width: 260px;
	font-size: 1.2rem;
}
.triangle-isosceles p {
	line-height: 16px;
	margin: 0;
	padding: 0;
}
/* creates triangle */
.triangle-isosceles:after {
  content:"";
  position:absolute;
  top:-18px; /* value = - border-top-width - border-bottom-width */
  right:20px; /* controls horizontal position */
  border-width:0 15px 18px; /* vary these values to change the angle of the vertex */
  border-style:solid;
  border-color:#222 transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}
.chatboardbaloon {
	margin-top: 60px;
	max-height: 60px;
	overflow: hidden;
}



/*BOARDNAV*/

#boardNav .boardNavMessages .label {
	font-size: 1.4rem;
	font-weight: normal;
	line-height: 20px;
    padding-left: 22px;
}
/*
body.phone #boardNav .boardNavMessages img.playerthumb {
	width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
}
.phone #boardNav .boardNavMessages .label {
	font-size: 14px;
	line-height: 20px;
    padding-left: 22px;
}
*/
#boardNav .playerDeclarations {
	display: none;
}

#boardNav .boardNavContent {
	/*background-color: #222;*/
    margin: -3px auto 0 auto;
    border: 1px solid #222;
    min-height: 46px;
}
.phone.portrait #boardNav .boardNavContent {
	/*background-color: #222;*/
	margin: 0 auto;
	border: 0;
	min-height: 44px;
}

#boardNav .boardNavMessages {
	margin: -44px auto 0 auto;
}
.phone.portrait #boardNav .boardNavMessages {
	margin: -44px auto 0 auto;
}

#boardNav .boardNavMessages img.playerthumb {
	width: 38px;
	height: 38px;
	min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
}

#boardNav .msgContent{
	margin: 2px 44px 0 44px;
}
.phone #boardNav .boardNavMessages p.boardMsgLabel {
	margin-top: 2px;
	line-height: 18px;
}

/*
#boardNav .boardNavMessages .progress {
	margin-top: -1px;
}
*/


/*FROM BOARD INTERNATIONAL*/

#mainPlayerMessages {
	display: none;
	text-align: center;
	z-index: 1410;
	width:100%;
	position: absolute;
	top:-36px;
	z-index: 1;
}
.phone #mainPlayerMessages {
	top:-30px;
}
#mainPlayerMessages .label{
	border: 0px solid #fff;
    border-radius: 4px;
	font-family: oswald_regularregular;
    text-transform: uppercase;
	font-size: 1.2rem;
    text-shadow: none;
    line-height: 28px;
    padding: 0 10px;
}
.phone #mainPlayerMessages .label{
    font-size: 1.0rem;
    line-height: 22px;
}

#mainPlayerCardsContainer .loaderContainer {
	position: absolute;
	top:-50px;
	width: 100%;
	text-align: center;
}
.phone #mainPlayerCardsContainer .loaderContainer {
	top:-40px;
}
.phone.landscape #mainPlayerCardsContainer .loaderContainer {
	top:-36px;
}
#mainPlayerCardsContainer .loaderContainer .playtimer{
    width: 200px;
    height: 8px;
    border: 1px solid #fff;
    margin: 0 auto;
	display: none;
}
.phone #mainPlayerCardsContainer .loaderContainer .playtimer{
    width: 160px;
    height: 8px;
}
#otherBoardMessages {
	display: none;
	text-align: center;
	z-index: 2;
	width:100%;
	position: absolute;
	top:-48px;
}
.phone #otherBoardMessages {
	top:-40px;
}
#otherBoardMessages .label{
	border: 1px solid #222;
    border-radius: 4px;
    font-family: oswald_regularregular;
    text-shadow: 1px 1px #222;
    font-size: 1.5rem;
    line-height: 20px;
    margin: 0 auto;
    padding: 3px 7px;
    white-space: normal;
    display: block;
    min-height: 48px;
    max-width: 400px;
    box-sizing: border-box;
    text-transform: uppercase;
}
.phone #otherBoardMessages .label{
    font-size: 1.3rem;
    line-height: 16px;
    min-height: 34px;
    max-width: 80%;
    margin: 0 auto;
}


/*Board Areas*/
.boardAreasContainer {
	position: absolute;
	z-index: 11;
	width: 100%;
	height: 100%;
}
.boardArea {
	z-index: 11;
	position: absolute;
	height: 100%;
	background-color: rgba(0, 0, 0, .15);;
	box-sizing: border-box;
}
.boardArea .gu-transit {
	display: none;
}

.openingDropArea .gu-transit {
	display: none;
}

#AreaDeck {
	background-color: rgba(0, 0, 0, .5);
	cursor: pointer;
}
#board.bgclassic #AreaDeck {
	border-color: #222;
}

#AreaTeamA {
	border-right-width: 0;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	cursor: pointer;
}
#AreaTeamB {
	border-left-width: 0;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.portrait #AreaTeamA {
	border-top-right-radius: 0;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 5px;
	cursor: pointer;
}
.portrait #AreaTeamB {
	border-top-right-radius: 5px;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 0;
}

.lblArea {
	position: absolute;
	color: #fff;
	text-shadow: 1px 1px #222;
	font-size: 1.6rem;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	text-align: right;
	font-family: oswald_regularregular;
    text-transform: uppercase;
	font-size: 1.2rem;
	padding: 0 5px 0 0;
}
#AreaTeamA .lblArea {
	top:0;
	left:0;
	width: 100%;
}
.landscape #AreaTeamA .lblArea {
	top:auto;
	bottom:0;
	left:0;
}
#AreaTeamB .lblArea {
	bottom:0;
	left:0;
	width: 100%;
}

.phone .lblArea {
	line-height: 16px;
	height: 16px;
	font-size: 1rem;
	/*
	transform: rotate(90deg);
	transform-origin: left top 0;
	*/
}
/*
.phone.landscape .lblArea {
	line-height: 16px;
	height: 16px;
}
.phone #AreaTeamA .lblArea {

}
.phone #AreaTeamB .lblArea {

}
*/
.lblMatchDesc {
	position: absolute;
	z-index: 16;
	color: #fff;
	text-shadow: 1px 1px #222;
	font-size: 1.6rem;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	text-align: center;
	font-family: oswald_regularregular;
    text-transform: uppercase;
	font-size: 1.1rem;
	top:0;
	left:0;
	width: 100%;
}
.portrait .lblMatchDesc {
	top:auto;
}
.landscape .lblMatchDesc {
	top:2px;
	width: 93%;
	text-align: right;
}
.phone .lblMatchDesc {
	line-height: 16px;
	height: 16px;
	font-size: 1rem;
}
.lblMatchDesc span{
	margin: 0 5px;
}

/*
.phone.portrait #AreaTeamA {
	border-right-width: 1px;
	border-top-width: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
.phone.portrait #AreaTeamB {
	border-left-width: 1px;
	border-bottom-width: 0;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
*/
.boardObjectsContainer .topButtonsContainer {
	text-align: center;
	position: absolute;
    width: 100%;
    z-index: 1369;
}
.boardObjectsContainer .innerTopButtons{
	position:relative;
    min-height: 44px;
    max-width: 440px;
    margin: 0 auto;
	background: #222;
    border-bottom: 1px solid #222;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.phone .boardObjectsContainer .innerTopButtons {
    min-height: 40px;
    height: 40px;
	border-radius: 0;
	border: 0;
}

.boardObjectsContainer .bottomButtonsContainer {
	position: absolute;
	left: 0;
	bottom:0;
	width: 100%;
	background-color: rgba(0, 0, 0, .7);
	z-index: 980;
	text-align: center;
}
.boardObjectsContainer .bottomButtonsContainer.nocontrols {
	background-color: transparent;
}
.boardObjectsContainer .bottomButtonsContainer>.cardDragHandler, .cardDragHandler .cardDragHandler.gu-transit, .cardDragHandler + .cardDragHandler.gu-transit {
	display: none;
}
.boardObjectsContainer .bottomButtonsContainer button{
	position: absolute;
	width: 50px;
	height: 50px;
	top:-50px;
	background-color: rgba(0, 0, 0, .7)!important;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    padding: 2px 0 0 0;
    font-size: 2.2rem;
    font-family: Arial, sans-serif;
    z-index: 3;
}
.phone .boardObjectsContainer .bottomButtonsContainer button{
	width: 40px;
	height: 40px;
	top:-40px;
}
.boardObjectsContainer .bottomButtonsContainer.nocontrols button{
	display: none;
}

/*
.phone.landscape .boardObjectsContainer .bottomButtonsContainer button{
	width: 30px;
	height: 30px;
	top:-30px;
}
*/
.boardObjectsContainer .bottomButtonsContainer button.left {
    border-top-right-radius: 4px;
    left:0;
}
.boardObjectsContainer .bottomButtonsContainer button.right {
	right:0;
    border-top-left-radius: 4px;
}
.boardObjectsContainer .bottomButtonsContainer button.btnReorder.a {
	background-image: url(../images/game/ico_seme.png);
	background-position: center 60%;
	background-size: 80%;
}
.boardObjectsContainer .bottomButtonsContainer button.btnReorder.b {
	background-image: url(../images/game/ico_a.png);
	background-position: center 60%;
	background-size: 80%;
}
.boardObjectsContainer .bottomButtonsContainer button.btnExpandCards.a {
	background-image: url(../images/game/ico_su.png);
	background-position: center 60%;
	background-size: 80%;
}
.boardObjectsContainer .bottomButtonsContainer button.btnExpandCards.b {
	background-image: url(../images/game/ico_giu.png);
	background-position: center 60%;
	background-size: 80%;
}
/*
.boardObjectsContainer button.topbuttons {
	position: absolute;
	top:0;
	left: 0;
	z-index: 1010;
	width: 100%;
	width: 44px;
	height: 44px;
	margin:0 0px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
}
.boardObjectsContainer button.topbuttons.left {
    border-bottom-right-radius: 5px;
}
.boardObjectsContainer button.topbuttons.right {
    border-bottom-left-radius: 5px;
	right: 0;
	left:inherit;
}
.phone .boardObjectsContainer button.topbuttons {
	width: 40px;
	height: 40px;
}
.boardObjectsContainer button.topbuttons.btnChat{
	background-image: url(../images/game/ico_chat.png);
    background-size: 100%;
    text-align: right;
    padding: 20px 5px 0 0;
}
.boardObjectsContainer button.topbuttons.btnChat span{
	display: none;
}
.boardObjectsContainer button.topbuttons.btnPrevMove{
    background-size: 94%;
}
.boardObjectsContainer button.topbuttons.btnSettings{
	background-image: url(../images/game/ico_opzioni.png);
    background-size: 100%;
}

.boardObjectsContainer button.topbuttons.btnChat{
	background-image: url(../images/game/ico_chat.png);
    background-size: 100%;
    text-align: right;
    padding: 20px 5px 0 0;
}
.boardObjectsContainer button.topbuttons.btnChat span{
	display: none;
}
*/

/*
#boardNav .boardNavMessages .progress {
	margin-top: -1px;
}
*/

button.btnSettings, button.btnSettings:hover, button.btnSettings:active, button.btnSettings:focus {
	background-image:url(../images/ico_settings.png);
    background-size: 70%;
    background-position: 9px 9px;
   	background-repeat: no-repeat;
	position: absolute;
    z-index: 208;
    top: 0;
    left: 0;
    box-shadow:none;
    border-bottom-right-radius: 6px;
}
.phone button.btnSettings {
    background-position: center;
}

button.btnChangeScreenSize, button.btnChangeScreenSize:hover, button.btnChangeScreenSize:active, button.btnChangeScreenSize:focus {
    background-size: 76%;
    background-position: center;
   	background-repeat: no-repeat;
	position: absolute;
    z-index: 208;
    top: 0;
    left: 60px;
    box-shadow:none;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}
button.btnChangeScreenSize.full {
	background-image: url(../images/ico_top/full.png);
}
button.btnChangeScreenSize.small {
	background-image: url(../images/ico_top/out_full.png);
}
.phone #board .btnChangeScreenSize {
	display: none;
}

button.btnChat, button.btnChat:hover, button.btnChat:active, button.btnChat:focus {
	background-image:url(../images/ico_chat.png);
    background-size: 100%;
    background-position: center;
   	background-repeat: no-repeat;
	position: absolute;
    z-index: 209;
    top: 0;
    right: 0;
    box-shadow:none;
    border-bottom-left-radius: 6px;
}
/*
.boardNavBar button.btnChat.closeChat {
	background-image:url(../images/ico_chiudichat.png);
	background-color: #a73737;
    background-size: 100%;
    background-position: center;
   	background-repeat: no-repeat;
}
*/
.phone button.btnChat {
    background-position: center;
}

button.btnExitMatch, button.btnExitMatch:hover, button.btnExitMatch:active, button.btnExitMatch:focus {
	background-image:url(../images/ico_chiudimatch.png);
    background-size: 80%;
    background-position: center;
   	background-repeat: no-repeat;
	position: absolute;
    z-index: 209;
    top: 0;
    right: 0;
    box-shadow:none;
    border-bottom-left-radius: 6px;
}
.phone button.btnExitMatch {
    background-position: center;
}

button.btnShowBoardInfo, button.btnShowBoardInfo:hover, button.btnShowBoardInfo:active, button.btnShowBoardInfo:focus {
	background-image:url(../images/ico_info.png);
    background-size: 100%;
    background-position: center;
   	background-repeat: no-repeat;
	position: absolute;
    z-index: 209;
    top: 60px;
    right: 0;
    box-shadow:none;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.phone button.btnShowBoardInfo {
    top: 46px;
    background-position: center;
}

body.standalone, .gamebg {
	background:url(../images/game/bg_body.jpg) repeat center;
	background-size: 100%;
}
body.phone, body.phone .gamebg{
	background-size: auto;
}
/*
.btnsi-bluspa, .btnsi-bluspa:active, .btnsi-bluspa:hover, .btnsi-bluspa:focus {
	background-color: #3C87C4;
}
.btnsi-orangespa, .btnsi-orangespa:active, .btnsi-orangespa:hover, .btnsi-orangespa:focus{
	background-color: #FC3535;
}
*/
/*wood box*/
.woodbox {
	color:#fff;
	text-shadow: 3px 0 4px #51230c;

	border-radius: 10px;
	border: 3px solid #c2a797;
	*border: 3px solid #c2a797;

	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);

	background: #ebebeb url(../images/pattern_popup_waves.png) repeat center;

	overflow: hidden;
}

.boxTransparentContainer {
	padding: 7px;
}
.boxTransparentWhite {
	padding: 5px;
	min-height: 40px;
}

#mainProgress .progress-bar .loadPerc{
	color: #fff;
	text-shadow: 2px 2px 0 #222;
}

#pointsMadeMsgBox.scopa {
	background:url(../images/game/scopa.png) no-repeat center;
	background-size:100% 100%;
	width:270px;
	height:125px;
}
#pointsMadeMsgBox.scopa15 {
	background:url(../images/game/15.png) no-repeat center;
	background-size:100% 100%;
	width:250px;
	height:193px;
}
#pointsMadeMsgBox.settebello {
	background:url(../images/game/settebello.png) no-repeat center;
	background-size:100% 100%;
	width:250px;
	height:111px;
}
#pointsMadeMsgBox.scopa_settebello {
	background:url(../images/game/scopa_settebello.png) no-repeat center;
	background-size:100% 100%;
	width:250px;
	height:193px;
}
#pointsMadeMsgBox.rebello {
	background:url(../images/game/rebello.png) no-repeat center;
	background-size:100% 100%;
	width:250px;
	height:111px;
}
#pointsMadeMsgBox.scopa_rebello {
	background:url(../images/game/scopa_rebello.png) no-repeat center;
	background-size:100% 100%;
	width:250px;
	height:173px;
}
#pointsMadeMsgBox.assopigliatutto {
	background:url(../images/game/assopigliatutto.png) no-repeat center;
	background-size:100% 100%;
	width:250px;
	height:108px;
}

#tblrounddone th div {
	color: #fff;
	text-shadow: 2px 2px 0 #222;
}

.matchForm .matchCell.pointsCell {
	width: 100%;
	float: left;
}
