/* anDialog */

.an-dialog-blanket {
    opacity: 0.5;
    transition: opacity 0.2s;
    transition-delay: 0.1s;
    visibility: visible;
    background: #000;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2500;
}

.an-dialog-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    display: table;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.an-dialog-wrapper-inner {
    display: table-cell;
    vertical-align: middle;
}

.an-dialog-wrapper-inner .aui-button:not([disabled]),
.an-dialog-wrapper-inner .button-panel-link:not([disabled]) {
    cursor: pointer!important;
}

.an-dialog {
    position: relative;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
    width: 600px;
}

.an-dialog-large {
    position: fixed;
    top: 50px;
    right: 50px;
    bottom: 50px;
    left: 50px;
    width: auto !important;
    height: auto !important;
}

.an-dialog-large .an-dialog-header {
    position: absolute;
    top: 0;
}

.an-dialog-large .an-dialog-footer {
    position: absolute;
    bottom: 0;
}

.an-dialog-large .an-dialog-content {
    position: absolute;
    top: 61px;
    bottom: 51px;
}

.an-dialog-header {
    border-bottom: 1px solid #cccccc;
    background: #f5f5f5;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 56px;
    width: 100%;
    margin: 0;
    overflow: hidden;
    padding: 15px 20px;
    position: relative;
    display: table;
    text-overflow: ellipsis;
    white-space: nowrap;
    top: 0;
    right: 0;
    left: 0;
}

.an-dialog-warning .an-dialog-header {
    background-color: #d04437;
    border-bottom-color: #d04437;
    color: #fff;
}

.an-dialog-header-title {
    color: #333333;
    display: table-cell;
    font-weight: normal;
    font-size: 20px;
    line-height: 1.5;
}

.an-dialog-warning .an-dialog-header-title {
    color: #fff;
}

.an-dialog-header-close {
    color: #707070 !important;
    display: table-cell;
    width: 20px;
    height: 20px;
    padding-left: 5px;
    text-align: right;
    vertical-align: middle;
    line-height: 100%;
    cursor: pointer;
}

.an-dialog-warning .an-dialog-header-close {
    color: #fff !important;
}

.an-dialog-content {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-height: 500px;
    overflow: auto;
    padding: 20px;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.an-dialog-footer {
    border-top: 1px solid #cccccc;
    background: #f5f5f5;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    clear: both;
    height: 51px;
    overflow: hidden;
    padding: 10px 20px;
    text-align: right;
    width: 100%;
    position: relative;
    right: 0;
    left: 0;
    bottom: 0;
}

.an-dialog-footer-hint {
    float: left;
}

.an-dialog-footer-actions {
    float: right;
}

.an-dialog-footer-actions:after {
    content: '';
    display: block;
    clear: both;
}

.an-dropdown2 {
    display: none;
    position: absolute;
    z-index: 3100;
    width: 160px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.an-dropdown2-show {
    display: inherit;
}

.an-dropdown2 .aui-list-truncate a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.an-dropdown2 .aui-list-truncate {
    padding: 0;
}

.an-dropdown2 a {
    color: #333;
    padding: 3px 10px;
    text-decoration: none;
    display: block;
}

.an-dropdown2 a:hover,
.an-dropdown2 a:focus {
    color: #fff;
    background-color: #3b73af;
}

.an-dropdown2-section {
    border-top: 1px solid #ccc;
}

.an-dropdown2-section:first-child {
    border-top: 0;
}