	  
$default-border-color: #5F9EA0;

$default-font-color: #ffffcc;
$intro-font-color: lighten(#333, 10%);
$default-font-family: "Architects Daughter", "Helvetica", "sans-serif";

@mixin user-select($select){
  -webkit-user-select: $select;
    -moz-user-select: $select;
    -ms-user-select: $select;
    user-select: $select;
}

@mixin border-radius($borderRadius...){
-moz-border-radius: $borderRadius;
-webkit-border-radius: $borderRadius;
border-radius: $borderRadius;
}


@mixin radial-gradient($from, $to) {
    background: -moz-radial-gradient($from, $to);
    background: -webkit-gradient($from, $to);
    background: -webkit-radial-gradient($from, $to);
    background: -o-radial-gradient($from, $to);
    background: -ms-radial-gradient($from, $to);
    background: radial-gradient($from, $to);
}

#reset{      
    /*color: #fff;*/
    background-color: #286090;
    
	
	color: #fff;
   
    border-color: #5cb85c;;
	margin-top:10px;	
	margin-bottom:10px;
	font-weight: 400;
    text-align: center;
	ne-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    }
	
	button.start-game{      
    color: #fff;
    background-color: #5cb85c;;
    border-color: #5cb85c;;
	margin-top:10px;	
	margin-bottom:10px;
	font-weight: 400;
    text-align: center;
	ne-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
	
    }

body{
  font-size: 2em;
  font-family: $default-font-family;
  color: $intro-font-color;
   @include user-select(none);
}

h1{
  text-align: center;
  padding: 20px 0;
}

.well{
	
  /*position: relative;
  width: 480px;*/
  height: 460px;
  padding: 0px;
  margin: 0px auto;
  text-align: center; 
  
}

.logo {
    font-size: 1em !important;
    font-weight: bold;
}

 button.start-game{
  margin-top:10px;
  padding-bottom:10px;
  font-size: 0.8em;
  @include border-radius(5px);
  @include radial-gradient($default-border-color, white);
     &:active,
     &:focus,
     &:visited{
       outline: none;
     }
     &:hover{
       @include radial-gradient(white, $default-border-color);       
      }
}

.choose-game{
  p{
    padding: 40px 0px;
  }
}

#choose-level{
  display: none;
  p{
    padding: 40px 0px 20px 0px;
  }
  
  .disabled{
      color: lighten($intro-font-color, 30%);
    }
}

.players-names{
  display: none;
    input{
     height: 30px;
     margin-bottom: 30px;
     font-size: 0.8em;
       &:focus{
        outline: none;
        border: 2px solid lighten($default-border-color, 20%);
       }
    }
    p{
      padding:30px 0px;
    }
  ::-webkit-input-placeholder{
      font-size: 0.7em;
    }
}

.choose-sign{
  display: none;
    p{
      padding: 50px 0px 30px 0px;
    }
    button{
      padding: 5px 15px;
      border-radius: 5px;
      &:focus{
        outeline: none;
      }
    }
}

.fields{
  display: none;
}

.scores{
  font-size: 1.5em;
  color: $default-font-color;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  display: none;
}

.result{
	font-size: 0.7em;
}

.player1-score{
float: left;
font-size: 0.7em;
}

.player2-score{
float: right;
font-size: 0.7em;
}

.turn-info{
  position: absolute;
  font-size: 0.6em;
  font-weight: bold;
  color: $default-font-color;
  top:-35px;
  display: none;
}

table{
  margin: 0px auto;
  font-size: 1.8em; 
}

td{
  width: 100px;
  height: 100px;
  border-style:solid;
  border-color:#5fabde;
  cursor: pointer;
}

tr:not(:last-child){
 border-bottom: 5px solid $default-border-color;
}

.td-winning-color{  
  opacity: 1;
}

footer {
    text-align: center;
    padding: 15px;
    background: #333;
    color: white;
    width: 100%;
	font-size:18px !important
}