#overlay {
    position: absolute;
    background: black;
    opacity: 0.5;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
}
#dialog .content {
    position: relative;
    z-index: 10;
    width: 365px;
    background: white;
    padding: 10px;
    opacity: 0.9;
    overflow: hidden;
    margin: 3% auto 0;
}
#dialog h4 {
    font-size:1.2em;
}
#dialog a[href="#close"] {
    float:right;
    color: #ddd;
    text-decoration: none;
}
#dialog a[href="#close"]:hover {
    color: black;
}

#dialog p {
    margin: 10px 0;
}
#dialog h2 {
    font-size: 1.2em;
}
#dialog .size span[role] {
    border: 1px solid #ccc;
    height:25px;
    line-height:23px;
    text-align:center;
    width:43px;
    display:inline-block;
}
#dialog .size span[role] input {
    border: none;
    margin: 0;
    width:100%;
    height:23px;
    line-height:23px;
    text-align:center;
}
#dialog code {
    display: block;
    padding: 5px;
    background-color: #EEE;
    border: 1px solid #888;
    color: black;
    line-height: 1.2em;
    word-wrap: break-word;
    border-radius:0px;
}
