.dwidgetout {
    width: 400px;
    height: 200px;
    float: left;
    text-align: center;
}

.dwidgetin {
    clear: both;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 400px;
    height: 200px;
    line-height: 30px;
}

.widgetcontainer {
    width: 800px;
    text-align: center;
    overflow: hidden;
    margin: 0 auto;
}

.dwidgetout_off {
    /*width: 400px;*/
    max-width: 500px;
    /*height: 27em;*/
    /*    float: left;*/
    text-align: center;
    margin: 0 auto;
}

.dwidgetin_off {
    clear: both;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    /*width: 400px;*/
    max-width: 500px;
    /*height: 200px;*/
    line-height: 30px;
}

.dwidgetin_off a {
    line-height: 30px;
}

.widgetcontainer_off {
    /*width: 1000px;*/
    text-align: center;
    overflow: hidden;
    margin: 0 auto;
}

.mvalignie {
    /*    top: 30%;*/
    position: relative;
}

#ssdiv {
    overflow: hidden;
    /*width: 830px;*/
    margin: 0 auto 20px auto;
    position: relative;
}

#servers {
    font-weight: bold;
    text-align: center;
    position: absolute;
    /*top: 45px;
    left: 425px;*/
    left: 30px;
}

.sip {
    display: inline-block;
    padding: 5px;
    width: 105px;
}

.scnt {
    display: inline-block;
    padding: 5px;
    width: 40px;
    text-align: right;
}

#speeds {
    font-weight: bold;
    text-align: center;
    position: absolute;
    /*top: 45px;
    left: 608px;*/
    left: 185px;
}
.ifname {
    width: 125px;
    display: inline-block;
    padding: 5px 5px 5px 0;
}
#balance_sms {
    font-weight: bold;
    position: absolute;
    /*top: 95px;
    left: 613px;*/
    top: 40px;
    left: 30px;
}
#balance_sms_buh {
    font-weight: bold;
    width: 215px;
    margin: 0 auto;
}
.varname {
    width: 160px;
    display: inline-block;
    padding: 5px 5px 5px 0;
}
.varval {
    /*width: 40px;*/
    display: inline-block;
    text-align: right;
    padding: 5px;
}
.speed {
    display: inline-block;
    padding: 5px;
    width: 35px;
    text-align: right;
}

#pppoff {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

#pppoffst {
    width: 840px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    margin: 0 auto;
}

#pppoffst th {
    text-align: center;
    font-weight: bold;
    border-color: gray;
    border-left-width: 0;
    background: #6688CC;
    color: white;
}

#pppoffst td, #pppoffst th {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    padding: 3px;
}

#notifies {
    width: 100%;
    margin-bottom: 20px;
}

#nottable {
    width: 840px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    margin: 0 auto;
}

#nottable th {
    text-align: center;
    font-weight: bold;
    border-color: gray;
    border-left-width: 0;
    background: #6688CC;
    color: white;
}

#nottable td, #nottable th {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    padding: 3px;
}

#web_query {
    width: 840px;
    margin: 0 auto 20px;
}

#wbtable {
    width: 100%;
    border-top: 1px solid black;
    border-left: 1px solid black;
    margin: 0 auto;
}

#wbtable th {
    text-align: center;
    font-weight: bold;
    border-color: gray;
    border-left-width: 0;
    background: #6688CC;
    color: white;
}

#wbtable td, #wbtable th {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    padding: 3px;
}

#mpays {
    width: 100%;
    margin-bottom: 20px;
}

#paytable {
    width: 98%;
    border-top: 1px solid black;
    border-left: 1px solid black;
    margin: 0 auto;
}

#paytable th {
    text-align: center;
    font-weight: bold;
    border-color: gray;
    border-left-width: 0;
    background: #6688CC;
    color: white;
}

#paytable td, #paytable th {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    padding: 3px;
}
.RestoreAgr{
    background: none;
    padding:0;
    margin:0;
    border:none;
    font-size:14px;
    color: #000000;
    height:27px;
}
.RestoreAgr:hover {
    cursor: pointer;
    background: none;
    padding:0;
    margin:0;
    border:none;
    font-size:14px;
    color: #FF0000;
    height:27px;
    text-decoration:none;
}
.dialog{
    text-align: center;
}
.ButtonOk{
    position: absolute;
    right:170px;
} 
.ButtonCancel { 
    position: absolute;
    right:165px;
}
.werror .ui-widget-header {
    border: 1px solid #e3a1a1;
    background: #cc0000 url(start/images/ui-bg_highlight-soft_15_cc0000_1x100.png) 50% 50% repeat-x;
    color: #ffffff;
    font-weight: bold;
}