/* Thomas Andrews's Non-Table CSS Layout for Bridge Deals
** XML and Bridge Publishing: http://bridge.thomasoandrews.com/xml/ */


.diagram .header {
    font-size: smaller;
    margin-left: 0.25em;
    margin-right: 0.25em;
    margin-bottom: 1em;
    margin-top: 0;
    padding: 0.25em;
    border: 0.1em outset;
    width: 6em;
    float: left;
    background: #FFFFFF;
}

.diagram {
    width: 23em;
    clear: both;
overflow: hidden;

}

.diagram  .hand {
    width: 8em;
}

.diagram  .south , .diagram  .north {
    margin-left: 7em; 
}

.diagram .north {
    padding-bottom: 1ex;
}

.diagram  .south {
    clear: both;
    padding-top: 1ex;
}

.diagram  .west {
    float: left;
    clear: left;
    padding-bottom: 10em;
    margin-bottom: -10em;
}

.diagram  .east {
    float:right;
    padding-bottom: 10em;
    margin-bottom: -10em;
}

.red {
    color: red;
}

.hand .seatname {
    margin-left: 1em;
    font-size: smaller;
    font-style: italic;
}

.diagram + p {
    display: block;
    clear: both;
}

.diagram + h1, .diagram + h2, .diagram + h3, .diagram + h4,  {
    display: block;
    clear: both;
}