/* Body. */

html {
	overflow-x:auto;
	overflow-y:auto;
}

html.nonscrollable {
	overflow-x:auto;
	overflow-y:hidden;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9pt;
    background-color: #ffffff;   
    padding: 0px;
    margin: 0px;
    width: 100%;
    height:100%;    
    /*
	scrollbar-face-color: #d9e0ea;
	scrollbar-shadow-color: #74849e;
	scrollbar-highlight-color: #dddddd;
	scrollbar-3dlight-color: #ffffff;
	scrollbar-darkshadow-color: #003333;
	scrollbar-track-color: #dddddd;
	scrollbar-arrow-color: #74849e;
	*/
}

/* Links. */

a:link {
    font-weight: bold;
    color: #003265;
    text-decoration: none;
}

a:visited {
    font-weight: bold;
    color: #003265;
    text-decoration: none;
}

a:hover {
    font-weight: bold;
    color: #003265;
    text-decoration: underline;
}


/* Window. */

#header {
	max-width:100%;
	min-width: 1024px;
	max-heigth:100%;
    min-height: 600px;
	width: expression((documentElement.clientWidth<950) ? "950px" : "100%" );    
}

#window {    
	border: 0px;
    background-color: #ffffff;
    padding: 0px;
    margin: 0px;

}

#pageTitle {
    background-color: #ffffff;    
    background-image: url(../img/fondo_encabezamento.jpg);
    background-repeat: repeat-x;
    text-align: left;
    padding: 0px;
    width: 100%;
}

/* Menu. */

#menu {
	background-color: #EAF1FB;
	color: #003265;
    text-align: left;
    padding: 5px 0px 5px 5px;
    margin: 0px;
    width: 99%;
    border: #74849E 1px solid;
}

#menuWelcome {
    font-weight: bold;
}

#menuLinks a {
    color: #003265;
}

#mainContent{
	width:100%;
}

#menuLateral{
	float:left;
	width:20%;	
	height:405px;	
	text-align:left;
	margin: 2px;
	line-height:200%;
	color: #686F79;
	background-color: #EAF1FB;
    border: #74849E 1px solid;
	list-style:none;
	margin:0;
	padding:0;
}

#menuLateral li {
	margin:2px;
	padding:2px;
	border:#74849E 1px solid;
}

#minWidthed {
	max-width: 100%;
	min-width: 1024px;
	max-heigth: 100%;
    min-height: 600px;
    width: expression((documentElement.clientWidth <300) ? "300px" : "100%" );    
}

/* Content. */

.sectionTitle {
	background-color: #EAF1FB;
	color: #003265;
    text-align: left;
    font-weight: bold;
    padding: 5px 0px 5px 5px;
    margin: 0px;
    width: 98%;
    border: #74849E 1px solid;
}

.minisectionTitle {
	background-color: #EAF1FB;
	color: #003265;
    text-align: left;
    font-weight: bold;
    font-size:8pt;
    padding: 0px 0px 0px 0px;
    margin: 0px;
    height:20px;
    vertical-align: middle;
    width: 98%;
    border: #74849E 1px solid;
}

.chatTitle {
	background-color: #dAe1eB;
	color: #003265;
    text-align: center;
    font-weight: bold; 
    padding: 3px 0px 3px 0px;      
    margin: 0;
    vertical-align: middle;   
    font-size:9pt;    
    border: #74849E 1px solid;
}

.sectionTitleWithoutBox {
	color: #003265;
    text-align: left;
    font-weight: bold;
    padding: 5px 0px 5px 5px;
    margin: 0px;
    width: 98%;
}

.centeredSectionTitleWithoutBox {
	background-color: #EAF1FB;
    border: #74849E 1px solid;
	color: #003265;
    text-align: center;
    font-weight: bold;
    padding: 5px 0px 5px 5px;
    margin: 0px;
    width: 98%;
}

.gamePageMiniTitle {	
    background-color: #dAe1eB;
    border: #74849E 1px solid;
	color: #003265;
    text-align: center;
    font-weight: bold;
    padding: 3px 5px 3px 5px;
    margin: 0;
    font-size:9pt;
    width: 98%;	
    vertical-align:top;        
}

.gamePageResalDiv {	
    background-color: white;
    border: #74849E 1px solid;
	color: #003265;
    text-align: center;   
    padding: 3px 5px 3px 5px;
    margin: 0;
    font-size:8pt;
    width: 98%;	   
}


.button {
	font-weight: normal;
	color: #003265;
	background-image: url(../img/fondo_encabezamento.jpg);
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #CCCCCC;
	background-repeat: repeat-x;
	background-position: center;
}

.buttonWidth {
	font-weight: normal;
	color: #003265;
	background-image: url(../img/fondo_encabezamento.jpg);
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #CCCCCC;
	background-repeat: repeat-x;
	background-position: center;
	width:240px;
}

.submitChatButton {
	font-weight: normal;
	color: #003265;
	background-image: url(../img/fondo_encabezamento.jpg);
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #CCCCCC;
	background-repeat: repeat-x;
	background-position: center;
	height:20px;
}

.colorButton {
	vertical-align:middle;
	font-weight: normal;
	color: #003265;	
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #CCCCCC;
	background-repeat: repeat-x;
	background-position: center;
	margin:0px;
	width:80px;
	height:20px;
	position:absolute;
	visibility:hidden;
}

.playButton {
	vertical-align:middle;
	font-weight: bold;	
	font-size:12pt;
	*font-size:11pt;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #CCCCCC;
	background-repeat: repeat-x;
	background-position: center;	
	position: absolute;
	vertical-align:middle;
	color:#ffffff;
	background-color:rgb(88,137,0);
	visibility: hidden;
	width: 70px;
	heigth: 25px;
	z-index: 90;
}

#content {
    margin: 0px;
    float:right;
	text-align: center;
	width:78%;    
}


/* Forms. */

form {
	margin: 0;
    width: 100%;
}

div.field {
    clear: both;
    margin-top:2px;
    margin-bottom:2px;
 	padding-top: 4px; 	
    width: 100%;
    vertical-align: middle;
}

div.field span.label {
    float: left;    
    text-align: right;
    vertical-align: middle;
    font-weight: bold;
    width: 49.5%;
}

div.field span.entry {
    float: right;    
    text-align: left;
    width: 49.5%;
}

div.field span.labelWord{
    float: left;    
    text-align: right;
    font-weight: bold;
    width: 29.5%;
}

div.field span.entryWord{
    float: right;    
    text-align: left;
    width: 69.5%;
}

div.buttonContainer {
    clear: both;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}

div.label {
	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
}

input, select, textarea  {
    background-color: #f4f4f4;
}

/* Table */

table { 
	margin-left: auto;
	margin-right: auto;
}

table.division1 {
	width : 100%;
	cellspacing: 2%;
	rules:all;
}

td.division1 {
	width : 50%;
	cellspacing: 2%;
	rules:all;
	vertical-align: top;
}

/*
td.division1 {
	width: 50%;
	text-align: center;
}
*/


tr.title {
	text-align: center;
	font-weight: bold;
	padding-left: 1.5cm;
}

tr.normal {
	text-align: center;
	padding-left: 1.5cm;	
}

.enhance {
	padding-left: 0.5cm;
	font-weight: bold;
}

/* --- */
/*
div.leftAuth {
	float: left;
	width: 49%;
}

div.rightAuth {
	float: right;
	width: 45%;
	text-align:left;
}

table.authTable{
	float:left;
	clear:both;
	text-align:left;
	width:100%;
}*/

/* AuthenticationContent */
div.authenticationForm {
    padding: 5px 0px 5px 5px;
    margin: 0px;
    width: 98%;
    border-bottom: #74849E 1px solid;
    border-right: #74849E 1px solid;
    border-left: #74849E 1px solid;
/*	float: right;*/
	clear: both;
}

div.fieldRPwd {
	float:right;
	width:49.5%;
	clear:both;
}

div.fieldRPwd {
	margin-top:5px;
}

div.fieldRPwd span.labelRPwd{
	font-size:8pt;
	float: left;
}

div.fieldRPwd span.entryRPwd{
	float:left;
}

div.buttonRPwd {
    clear: both;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    text-align:center;
}

div.greeting {
	float:top;
	font-weight: bold;
	font-size: 11pt;
	clear: both;
	padding-bottom: 40px;	
}

div.buttonAuth {
	clear:both;
	width: 100%;
	text-align:center;
	padding-top: 30px;
	padding-bottom: 5px;
}

/* --- */

/* Chart */
div.chart {
	width:90%;
	margin: 10px 5px 10px 5px;
	clear:both;
}

div.chartLeft {
	float:left;
}

div.chartRight {
	float: right;
}

/* --- */

/* Chat */
div.chat {
	width:100%;
	min-width: 200px;
    text-align: left;
    padding-right:0px;    
    margin-bottom:5px;    
}

#chatZone {		
	padding:0;margin:0;
	width:100%;	
	height: 330px;	
	margin-top: 2px;	
	border: #74849E 1px solid;	
	background-color:#eaeef0;	
    overflow-x:hidden;
    overflow-y:hidden;
}
	
#chatArea {	 
	padding:0;margin:0;   	
	width:100%;
	color: #003265;
	font-size: 8pt;	      
	line-height:125%;
	background-color:#eaeef0;
    overflow-x:hidden;
    overflow-y:auto;
}

#text {
	width: 99%;
	background-color:#FFFFFF;
    font-weight: bold;
	color: #003265;
    text-align: left;
    border: #74849E 1px solid;
}

#chattext {
	color: #003265;
	width:expression(( 200 + document.documentElement.clientWidth - 1000 - (document.documentElement.clientWidth - 950)/4) + 'px'); 
    text-align: left;
    vertical-align:top;
    border: #74849E 1px solid; 
    font-size:9pt;
    height:16px;      
}


/* --- */

/*
table.list {
	text-align: center;
	border: 1px;
}*/



td.text {
	text-align: left;
	padding-left: 0.5cm;	
}

/* statistics */
td.leftHead{
	text-align:left;
	padding:4px;
}

td.rightHead{
	text-align:right;
	padding:4px;
}

div.statistics{
	width: 100%;
}

table.statistics{
	border-collapse: collapse;
	width: 96%;
}

td.statisticsTitle{
	padding: 3px;
	border: #74849E 1px solid;
	text-align: center;
}

td.statistics{
	padding: 3px;
	border: #74849E 1px solid;
	text-align:center;
}

td.statisticsName{
	padding: 3px;
	border: #74849E 1px solid;
	text-align:left;
}

td.statisticsEnhance {
	padding: 3px;
	border: #74849E 1px solid;
	font-weight:bold;
	text-align:right;
}

/* StatisticsForm.jspf */
div.statisticsLeft{
	width:49%;
	float:left;
	text-align:center;
}

div.statisticsRight{
	width:49%;
	float:right;
	text-align:center;
}

div.multipleInfo{
	padding-top:1px;
	padding-bottom:1px;
	color:red;
	font-size:8pt;
	text-align:center;	
}

div.infoDiv{
	tex-align:center;
	font-size:8pt;
	font-weight:bold;
	color:green;
}

div.badInfoDiv{
	tex-align:center;
	font-size:8pt;
	font-weight:bold;
	color:red;
}

.link{
	color:#222266;
}
.linkSelected{
	color:#435465;
}

/* --- */

/* GamePage Content */

#gameContent {
    margin: 5px 0;
	text-align: center;
    width: 100%;
}

#gamePageOtherLayer{	
	position:absolute;		
	width: expression((documentElement.clientWidth > 950) ? (documentElement.clientWidth - 520)+"px" : "430px" );
	min-width:460px;
	height: expression((documentElement.clientHeight > 800) ? (800)+"px" : documentElement.clientHeight+"px" );	
	visibility: visible;
	margin-top:4px;
	text-align: left;	
	z-index: 1;		
}

#gameLogo{
    background-color: #ffffff;    
    background-image: url(../img/fondo_encabezamento.jpg);
    background-repeat: repeat-x;
    text-align: center;
    padding: 0px;
    width: 100%;
}

#dropDiceButton {
	position:absolute;
	left: 20px;
	top: 20px;
	height: 77px;
	width: 125px;
	visibility: visible;
	z-index: 3;
	cursor:pointer;
}

div.gameHeader {	
	vertical-align:top;
	text-align:left;
}

div.gameHeader span.left {
	float:left;
	text-align:left;
	font-weight: bold;
}

div.gameHeader span.right {
	float:right;
	text-align:right;
}

table.progressBar {
   float: left;
   width: 100%;
   margin: 0 auto;
   border-collapse: collapse;
}
table.progressBar td {
   text-align: left;
   border: #625106 1px solid;
}


table.legend {
   float: left;
   width: 100%;
   margin: 0 auto;
   border: #74849E 1px solid;
   border-collapse: collapse;
}

table.legend th {
   border: #74849E 1px solid;
   padding: 5px;   
   background-color: #EAF1FB;
   color: #003265;
}

table.legend td {
   	text-align: left;
	border: #74849E 1px solid;
   	padding: 5px;   
}

#tableGameWindow{
	margin-left:0px;
	margin-top:0px;
}

table.gamePlayersTable {
   width: 100%;      
   cellspacing: 0;
   cellpadding: 0;
   border: #74849E 1px solid;
   border-collapse: collapse;   
   color:#003265;
   z-index:1;
}

table.gamePlayersTable th {
   border: #74849E 1px solid;
   border-collapse:collapse;
   padding: 2px;   
   background-color: #dAe1eB;    
   color: #003265;
}

table.gamePlayersTable td {
	font-size:8pt;
}

table.hhTable {
   width: 90%;
   margin: 5px auto;
   border: #74849E 1px solid;
   border-collapse: collapse;
   clear:both;
}

table.hhTable th {
   border: #74849E 1px solid;
   padding: 5px;   
   background-color: #EAF1FB;    
   color: #003265;
}

/* --- */

/* Manager */
table.managerWords{
	text-align:center;
	border-collapse: collapse;
	width: 60%;
}

tr.managerWords{
	width: 60%;
	border: #74849E 1px solid;
	text-align:center;
}

td.managerWords{	
	text-align:center;
	padding:2px;	
	border: #74849E 1px solid;
	font-size:7pt;
}


/* --- */

/* "Previous" and "Next" links. */
/*Deben introducirse dentro de la tabla en la
ultima fila*/
div.previousNextLinks {
    margin-left: 3%;
    margin-right: 3%;
    width: 85%;    
    margin-bottom: 30px;
}

div.previousNextLinks span.previousLink {
    float: left;
    text-align: left;
    width: 49.5%;
}

div.previousNextLinks span.nextLink {
    float: right;
    text-align: right;
    width: 49.5%;
}

span.logos {
	margin: 15px;
}

/* Error messages. */

.errorMessage {
    font-weight: bold;
    color: red;
    margin-left: 5px;
}

/* Footer. */

#footer {
    border-top: 1px solid #000;
    margin: 0px;
    padding-top: 5px;
    text-align: center;
    width: 100%;
    clear:both;
}

#gameFooter {
    border-top: 1px solid #74849E;
    padding-top: 10px;
    text-align: center;
    width:100%;
    width: expression((documentElement.clientWidth > 950) ? documentElement.clientWidth+"px" : "950px");
    min-width:1000px;
    height:2000px;
    background-color:rgb(199,207,230);
    clear:both;
    position:absolute;
    top:600px;
    left:0px;  
    visibility:hidden;  
    z-index:4;
}

/* Instructions */
#instructionsTitle {
	font-weight: bold;
	color: #003265;
}

#instructionsBody {
    text-align: left;
}



img.filtered {
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale);
}

.drag{
	position:relative;
	cursor:hand;
	filter:alpha(opacity=100);
	opacity:1;
	-moz-opacity:1;
}



.divisionDiv {
	margin-top:20px;
	margin-bottom:5px;
	padding-top:20px;
	padding-bottom:5px;
	text-align:bottom;	
}

.bged {
	background-color:#eaf1fb;	
}

div.highlighted {
	margin-top:20px;
	margin-bottom:10px;
	text-aling:center;
	font-weight:bold;
}

table.wordsTable {
   width: 240px;
   margin: 5px auto;
   border: #74849E 1px solid;
   border-collapse: collapse;   
}

table.wordsTable th {
   border: #74849E 1px solid;
   padding: 5px;   
   background-color: #EAF1FB;    
   color: #003265;
}

.gameHeaderTable {
	text-align:left;
	vertical-align:middle;
	background-color: #ffffff;	
    background-image: url(../img/_fondo_encabezamento.jpg);
    background-repeat: repeat-x;
    text-align:left;
    width:100%;
    height:60px;
    margin-right:5px;    
    *padding-right:5px;
    border-collapse:collapse;
}

img.tile {
	position:absolute;
	visibility:hidden;
	z-index:5;
}

img.mark {
	position:absolute;
	visibility:hidden;
	z-index:8;
}

img.change {
	position:absolute;
	visibility:hidden;
	z-index:8;
}
img.last {
	position:absolute;
	visibility:hidden;
	z-index:8;
}

.blackborder {
	border: #000000 1px solid ;
}

.thumbnail {
	margin: 5px 5px 5px 5px;
}

.thumbnailSelected {
	margin: 5px 5px 5px 5px;
	border: 2px solid #ffa0a0;
}

.thumbPreview {	
	border: #cccccc 1px solid;
}	

.thumbSelected {	
	border: #ffaaaa 4px solid;
}


#imagesdiv {
	border:1px solid black;
	height:160px;
	width:89%;	
	overflow:hidden;
	overflow-x:scroll;
	overflow-y:hidden;		
	text-align:left;
	vertical-align:middle;		
	margin-left:5%;
	margin-right:5%;
}

#board {
	position: absolute;
	z-index: 1;
	visibility: hidden;
	top: 10px;
	left: 10px;
	border: 0;
}

#imageRM {
	border: 1px solid black;
	width: 26px;
	height: 26px;
	position: absolute; 
	top: 475px; 
	left: 459px; 
	z-index: 90;
}

#tdbmad {	
	width: 195px;	
	min-width:190px;	
	height: 100%;
	text-align:center;
	vertical-align:top;
	margin-top:2px;
	padding-right:5px; 
	margin-right:5px;
}

#dpx {
	width: 20px;
	height: 20px;
	position: absolute; 
	top: 50px; 
	left: 50px; 
	visibility: visible;
	z-index:4;
}

#rack {
	position: absolute;
	z-index: 2;
	left: 10px;
	top: 517px;
	visibility: hidden;
}



#logo {
	border:0px;
}

#bestMovesList {		
	visibility:hidden;
	width:180px;	
	width:176px;
}

#noMoves {
	width: 176px;
}

#resContainer {
	position:absolute;
	top:425px;
	left:16px;
	z-index:1;
	width:225px;
	height:120px;
	background-color:#cccccc;
	visibility:hidden;
}

.instructionsSectionTitle {
	font-weight:bold;
	padding:3px;
}

.instructionsSectionContent {	
	display:none;	
	padding-right:20px;
	padding-bottom:5px;	
}

.instructionsSectionContent ul {	
	padding:3px 30px 15px 30px;
	margin:0;	
}

.instructionsSectionContent ol {	
	padding:3px 30px 15px 30px;
	margin:0;	
}


.instructionsSectionContent div {
	padding:3px 30px 15px 30px;	
}

#tilesTable {
	padding:10px 30px 20px 30px;	
	margin:0;
}

#tilesTable td {
	width:20px;
	background:#ccccff;
}

/* Engadido do trivial*/
* Envio masivo de correos aos socios/as */
form.sendMassiveEmailForm {
	text-align: left;
	margin-top: 20px;
}

form.sendMassiveEmailForm div.field {
	margin-bottom: 10px;
}

form.sendMassiveEmailForm div.field div.label {
	font-weight: bold;
	margin-bottom: 5px;
}

form.sendMassiveEmailForm input, textarea {
	border: 1px #7E9DB9 solid;
	width: 700px;	
}

form.sendMassiveEmailForm {
text-align:left;
}
form.sendMassiveEmailForm div.playersSelectionBox {
	float: left;
	width: 100%;
	padding-bottom: 20px;
}

form.sendMassiveEmailForm div.playersSelectionBox div.title {
	font-weight: bold;
	margin-bottom: 5px;
	margin-top: 15px;
}

form.sendMassiveEmailForm div.playersSelectionBox div.playersList {
	width: 300px;
	float: left;
}

form.sendMassiveEmailForm div.playersSelectionBox div.playersList select {
	width: 300px;
}

form.sendMassiveEmailForm div.playersSelectionBox div.buttons {
	width: 100px;
	float: left;
	text-align: center;	
	margin-top: 30px;
}

form.sendMassiveEmailForm div.playersSelectionBox div.buttons input {
	width: 25px;
}

form.sendMassiveEmailForm div.sendButton { 
	float: none;
	margin-left: 250px;
}

form.sendMassiveEmailForm div.sendButton input { 
	width: 200px;
}

#sendMassiveEmailSuccess {
	margin-top: 50px;
	font-size: 12px;
	font-weight: bold;
}

#sendMassiveEmailSuccess div.sendAnotherEmail {
	margin-top: 20px;
}

#sendMassiveEmailSuccess div.sendAnotherEmail a {
	text-decoration: none;
}


