div.ui-dialog.popup-box {
    background-color: #fff;
    border-width: 2px;
    border-style: solid;
}

div.ui-dialog.popup-box button {
    min-width: 6em;
}

div#popupbox dl {
    font-size: 100%;
    padding: 0 0 0 6em;
    margin: 0.5em 0 0 0;
    background-repeat: no-repeat;
    background-position: 4px 0;
    min-height: 56px;
}

div#popupbox dl.fixed {
    max-width: 360px;
}

div#popupbox dt {
    margin-bottom: 0.5em;
    font-weight: bolder;
}

div#popupbox dd {
    font-size: 8pt;
    margin-left: 2em;
}

/* Информация */
div.ui-dialog.popup-box.inf dl {
    background-image: url(img/inf.png);
}

div.ui-dialog.popup-box.inf .ui-dialog-titlebar {
    background: #248;
    background: -webkit-linear-gradient(top, #57b 0%, #359 40%, #248 100%);
    background: -ms-linear-gradient(top, #57b 0%, #359 40%, #248 100%);
    background: -moz-linear-gradient(top, #57b 0%, #359 40%, #248 100%);
    background: linear-gradient(top, #57b 0%, #359 40%, #248 100%);
}

div.ui-dialog.popup-box.inf {
    color: #248;
    border-color: #57b #248 #248 #57b;
}

/* Подтверждение */
div.ui-dialog.popup-box.cnf dl {
    background-image: url(img/cnf.png);
}

div.ui-dialog.popup-box.cnf .ui-dialog-titlebar {
    background: #711;
    background: -webkit-linear-gradient(top, #b44 0%, #922 40%, #711 100%);
    background: -ms-linear-gradient(top, #b44 0%, #922 40%, #711 100%);
    background: -moz-linear-gradient(top, #b44 0%, #922 40%, #711 100%);
    background: linear-gradient(top, #b44 0%, #922 40%, #711 100%);
}

div.ui-dialog.popup-box.cnf {
    color: #711;
    border-color: #a44 #711 #711 #a44;
}

/* Ошибка */
div.ui-dialog.popup-box.err dl {
    background-image: url(img/err.png);
}

div.ui-dialog.popup-box.err .ui-dialog-titlebar {
    background: #c00;
    background: -webkit-linear-gradient(top, #f33 0%, #d11 40%, #c00 100%);
    background: -ms-linear-gradient(top, #f33 0%, #d11 40%, #c00 100%);
    background: -moz-linear-gradient(top, #f33 0%, #d11 40%, #c00 100%);
    background: linear-gradient(top, #f33 0%, #d11 40%, #c00 100%);
}

div.ui-dialog.popup-box.err {
    color: #c00;
    border-color: #f33 #c00 #c00 #f33;
}


/* Локальное меню */
#page-local-menu-back {
    /*position:absolute;*/
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
}

#page-local-menu {
    position: absolute;
    z-index: 3;
    display: block;
    padding: 0 0 0.3em 0;
    background-color: menu;
    border: solid 1px #888;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
}

#page-local-menu p,
#page-local-menu a {
    display: block;
    text-decoration: none;
    font-size: 100%;
    margin: 0;
    text-align: left;
}

#page-local-menu p {
    padding: 0.3em 0;
    margin: 0 0 0.3em 0;
    color: #fff;
    background-color: #aaa;
    text-align: center;
    font-weight: bold;
}

#page-local-menu a {
    margin: 0 0.3em;
    padding: 0.4em 1em;
    color: menutext;
}

#page-local-menu a:nth-child(1) {
    margin-top: 0.3em;
}

/*#page-local-menu a:hover {
    color: highlighttext;
    background: highlight;
}*/
#page-local-menu hr {
    border: 0;
    height: 2px;
    background: url(img/hr.png) repeat-x;
    margin: 0.5ex;
}