#all-page {
    min-width: 760px;
    background-color: white;
}

#start {
    font-size: 500%;
    width: 100%;
    text-align: center;
}

#start a:hover  {
    color: red;
}

#buttons {
    margin: 7em;
    margin-bottom: 3em;
}

#desc {
    width: 60%;
    margin: 0 auto;
    padding: 1em 2em;
}

input#chess_code {
    font: 16pt sans-serif; 
    width: 26em;
}

#message {
    margin: 1em auto;
    padding: 0.4em 3em;
    background: #CCCCFF;
    width: 26em;
}

.figure {
    cursor: pointer;
    cursor: hand;
}

#field table {
    margin: 3em auto;

}

.hr {
    border-bottom: 1px solid silver;
    height:1px;
    margin-bottom: 5px;
}

hr {
    display:none;
}

#footer {
    text-align: right;
    clear: both;
}
#global_links ul {
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
    text-align: left;

}

#global_links ul li {
    display: inline;
    padding-right: 5px;
    list-style-type: none;
}

#global_links ul li.right {
    position:absolute;
    right: 5px;
}

#error {
    margin: 1em auto;
    padding: 0.4em 3em;
    background: #FF6666;
    width: 26em;
}

/* Код для списка ходов - START*/
#moves {
    position:absolute;
    top:9.17em;
    right:2em;
    width:9em;
    height:36.94em;
    overflow-y:scroll;
    overflow-x:hidden;
    border:1px solid silver;
}

#moves table {
    border-collapse: collapse;
}

#moves table td {
    border-top: 1px solid silver;
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
    width: 3.5em;
    height: 1.5em;
    text-align: center;
}

#show-hide-moves {
    position:absolute;
    right:1em;
    top:9.17em;
    width:1em;
    height:37.05em;
    background-color:#FFFFFF;
}

#show-hide-moves-icon {
    position:absolute;
    right:0em;
    top:18em;
    width:1em;
    height:1em;
    text-align:center;
}
/* Код для списка ходов - END*/

/* Блок с настрйоками - start */
div.settings {
    text-align: right;
    clear: both;
}

span.controllink {
    border-bottom: 1px dashed black;
    cursor: pointer;
}
span.controllink:hover {
    background: #CCCCFF;
}

div.settingsBox {
    position: absolute;
    right: 1em;
    top: 4em;
}
/* Блок с настрйоками - end */

