.panel-modal {
    width: 400px;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    overflow: hidden;
    outline: none;
    opacity: 0;
    visibility: hidden;
}
.panel-modal > div {
    position: relative;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 6px;
}
.panel-modal div.header,
.panel-modal div.content,
.panel-modal div.bottom {
    padding: 10px;
}
.panel-modal div.header {
    border-bottom: 1px solid #e5e5e5;
}
.panel-modal div.header:before {
    display: table;
    content: " "
}
.panel-modal div.header:after {
    clear: both;
    display: table;
    content: " ";
}
.panel-modal div.header,
.panel-modal div.header h4 {
    margin-bottom: 0 !important;
}
.panel-modal div.bottom {
    border-top: 1px solid #e5e5e5;
}

div.bottom-left,div.bottom-right {
    display: inline-block;
    width: 49%;
}

div.bottom-right {
    text-align: right;
}

div.bottom-left {
    text-align: left;
}

.panel-modal .close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}
.panel-modal .close:hover {
    opacity: .5;
}
.panel-modal label {
    font-weight: bold !important;
}

span.translation-widget-popup {
    position: absolute;
    z-index: 999;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    border-radius: .25em;
    background-color: #777;
    margin-top: 10px;
    display: block;
    clear: both;
}
span.translation-widget-popup:before {
    content: '';
    position: absolute;
    left: 7px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #777;
    clear: both;
}

.panel-modal input[type="text"] {
    width: 100%;
    background: none;
}

