/*JAPANESE FONT*/

@font-face {
    font-family: japanese;
/* This font was downloaded from http://www.cufonfonts.com/ */
    src: url(fonts/bonzai-webfont.woff);
/* link: http://www.cufonfonts.com/en/font/5591/bonzai */
}

/*COMMON*/

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}


/*BODY*/

body{
    margin: 0;
    padding: 0;
}

/*HEADER*/

header{
    margin-left: auto;
    margin-right: auto;
    cursor: default;
    
}

header p{
    font-family: japanese;
    margin: 0;
    padding: 0;
    color: #E8DEC7;
    font-size: 100px;
}

/*MAIN CONTENT*/

#main_content{
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1%;
    
    
/*    
 ========================================================
 This pattern is downloaded from www.subtlepatterns.com 
 If you need more, that's where to get'em.
 ========================================================
*/  
    background-image: url(images/grey_jean.png);
    
/* link: http://subtlepatterns.com/grey-jean/ */    
    
    width: 100%;
    border-bottom: 20px solid #672a2a;
    border-top: 20px solid #672a2a;
}

/*TIMER*/

#timer div{
    cursor: pointer;
    font-family: japanese;
    font-size: 32px;
    text-align: center;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    border: 1px grey solid;
    color:#524f4f;
    background-color: #dedede;
    opacity: 0.75;  
}

/*FIELD*/

#field{
    border-radius: 20px;
    border-spacing: 0px;
    border: 4px grey solid;
    min-width: 495px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.block{
    border-collapse: collapse;
}

.cell{
    cursor: pointer;
    font-family: japanese;
    font-size: 40px;
    text-align: center;
    color: grey;
    border-collapse: collapse;
    border: 1px grey dashed;
    width: 50px;
    height: 50px;
}

.cell:hover{
    background-color: #acacac;
}

.darkened{
    background-color: #e5e5e5;
}

.cell.changeable, .cell.solution{
    color: #d00000;
}

.cell.error{
    background-color: rgba(208, 0, 0, 0.28);
}

/*MENU*/

#menu{
    font-family: japanese;
    text-align: center;
    font-size: 24px;
    
}

#menu a{
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
}

#menu a:hover{
    background-color: #bfbfbf;
    border-radius: 7px;
    color: azure;
}

#notes.toggled{
    color: #e60808;
}

#notes.toggled:hover{
    color: #a20404;
}

/*FOOTER*/

footer a{
    color:cadetblue;
}

footer div{
    text-align: right;
    color: azure;
}

/*DIGIT SELECT*/

#select{
    cursor: pointer;
    border-collapse: collapse;
    border-spacing: 0px;
    background-color: #672a2a; 
    border: 2px grey solid;
    text-align: center;
}

#delete{
    background: grey;
}

#delete:hover{
    background: #d3d5d6;
}

.choice{
    color: #ffffff;
    font-size: 15px;
    padding: 5px 9px 5px 9px;
}

.choice:hover{
    background: #d3d5d6;
    text-decoration: none;
}

/*SUCCESS MESSAGE*/

#success_message {
    cursor: pointer;
    color: rgb(248, 248, 248);
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
}

#success_message .content{
    margin-left: auto;
    margin-right: auto;
    margin-top: 300px;
    text-align: center;
    vertical-align: bottom;
    width: 500px;
    height: 175px;
    background-color: rgba(58, 173, 72, 0.46);
    border-radius:100px;
    border-spacing: 0px;
    border: 4px grey solid;
    box-shadow: 0px 0px 10px #000;
}

#success_message .content tr .image{
    width: 200px;
    text-align: right;
}

#success_message .content tr .message{
    width: 150px;
    padding-right: 80px;
    font-size: 55px;
}

#success_message .content tr .message p{
    padding: 0px;
    text-align: center;
    border-collapse: collapse;
}

/*INFO*/
#info_message {
    cursor: pointer;
    color: rgb(0, 0, 0);
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
}

#info_message .content{
    margin-left: auto;
    margin-right: auto;
    margin-top: 175px;
    text-align:left;
    vertical-align: bottom;
    padding: 20px;
    width: 750px;
    height: 350px;
    background-image: url(images/grey_jean.png);
    border-spacing: 0px;
    border: 15px #672a2a solid;
    box-shadow: 0px 0px 10px #000;
}

#info_message .image{
    border: 4px solid grey;
}