html, body {
    min-height: 280px;
}

#dialogBody {
    margin-bottom: 20px;
    overflow: hidden;
}

#items {
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
}

#items .item {
    clear: both;
    float: left;
    width: 600px;
    margin-top: 5px;
}

#items .item .label {
    float: left;
    width: 120px;
    text-align: right;
    padding-right: 10px;
    line-height: 20px;
}

#items .item .component {
    float: left;
}

#items .item .component select, #items .item .component input {
    width: 380px;
    height: 18px;
}

#titles {
    float: left;
    width: 605px;
    height: 300px;
}

.itemselector {
    float: left;
    padding-left: 30px;
    margin-right: 5px;
    padding-top: 10px;
    width: 500px;
}

.itemselector .legend {
    height: 18px;
}

.itemselector .from {
    float: left;
    width: 200px;
}

.itemselector .from .content {
    width: 200px;
    height: 252px;
    background-color: white;
}

.itemselector select {
    width: 200px;
    height: 255px;
}

.itemselector .to {
    float: left;
    width: 200px;
}

.itemselector .buttons {
    float: left;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 90px;
    width: 40px;
}

.itemselector .buttons button {
    width: 40px;
    margin-bottom: 3px;
}

#sortButtons {
    float: left;
    width: 65px;
    height: 190px;
    padding-top: 110px;
    margin-left: 0;
}

#sortButtons button {
    margin-top: 5px;
    width: 55px
}

#dialogBody #buttons {
    clear: both;
    margin-top: 12px;
    width: 605px;
}

#dialogBody #buttons .button {
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 80px;
}