body {
  padding-top: 30px;
}

/* round robin game against himself */
td.hole {
	background:url(hole.gif) no-repeat; 
	background-position: left center; 
}

/* table cells */
th {
	padding: .5em .7em;
	text-align: left;
	vertical-align: middle;
}

div.b {
background-color: black;
color: white;
font-size: 80%;
text-align: center;
border-bottom: 1px solid black;
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
width: 40px;
}

div.w {
background-color: white;
font-size: 80%; 
text-align: center;
border-bottom: 1px solid black;
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
width: 40px;
}

div.f {
text-align: center;
font-size: 80%;
background-color: #FFFF66;
border-bottom: 1px solid black;
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
width: 40px;
}
td.score {
	font-weight: bold;
	text-align: left;	
	font-size: 140%; 
}


/* bold text for footer */
tfoot th,
tfoot td {
	font-weight: bold;
}

th.cct {
	text-align: center;	
	width: 40px;
}

th.centro {
	text-align: center;	
}
.divider-vertical {
height: 50px;
margin: 0 3px;
border-left: 2px solid #e2e2e2;
border-right: 1px solid #FFF;
}

#rd-btn {
    width: 36px !important;
    margin: 2px 0px 2px 0px !important;
}

/* vega result */
    #trn-container{
        margin-top:50px;
        margin-bottom:50px;
     }
	 .trn-adv{
            margin-top: 50px;
	    margin-bottom: 50px;
	    margin-left: 0px;
	    margin-right: 0px;
	    padding: 0px;  
            position: relative;
	 }
         .fixed{
            position:fixed;
            top: 300px;
          }
         /* #trn-adv-1{
            position: relative;
            margin-top: 100px;
          }*/
         .sticky {
		  position: fixed;
		  top: 80px;
         }

         

	.hero-image {
	  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../oweb/sfondo-chess.jpg");
	  height: 200px;
	  background-position: center;
	  background-repeat: no-repeat;
	  background-size: cover;
	  position: relative;
      margin-left: -15px;
      margin-right: -15px;
	}

	.hero-text {
	  text-align: center;
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  color: white;
	}

	.hero-text button {
	  border: none;
	  outline: 0;
	  display: inline-block;
	  padding: 10px 25px;
	  color: black;
	  background-color: #ddd;
	  text-align: center;
	  cursor: pointer;
	}

	.hero-text button:hover {
	  background-color: #555;
	  color: white;
	}
	
/* Gabriele
*/	
	
.white_chess{
   // background: #a5a2a2;
    background: #d2d1d1;
    color: #ffffff;
    padding: 5px;
    border: 1px solid #9e9c9c;
    border-radius: 10px;
}

.black_chess{
    background: #d2d1d1;
    color: #000000;
    padding: 5px;
    border: 1px solid #a2a1a1;
    border-radius: 10px;
}



/* table cells */
th {
	padding: .5em .7em;
	text-align: left;
	vertical-align: middle;
}

div.cb {
background-color: black;
color: white;
font-size: 80%;
text-align: center;
border-bottom: 1px solid black;
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
}

div.cw {
//background-color: white;
font-size: 80%; 
text-align: center;
border-bottom: 1px solid black;
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
}

div.cf {
text-align: center;
font-size: 80%;
background-color: #FFFF66;
border-bottom: 1px solid black;
border-top: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
}

div.res {
font-weight: bold;
text-align: center;	
font-size: 100%; 
}
th.result {
	font-weight: bolder;
	text-align: center;	
	font-size: 140%; 
background-color: Yellow;
}
td.result {
	font-weight: bold;
	text-align: center;	
	font-size: 120%; 
}

.name {
	text-align: center;	
}
