/* dialog layout */
.dialog {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
}

.dialog-frame {
    min-width: 100px;
    position: absolute;
}

.dialog-title-bar {
    width: 100%;
    height: 48px;
}

.dialog-title-bar-title {
    left: 20px;
    top: 16px;
    position: absolute;
}

.dialog-title-bar-close-button {
    right: 12px;
    top: 13px;
    width: 24px;
    height: 24px;
    position: absolute;
}

/* dialog style */
.dialog {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50px,rgba(255,255,255,0.5) 50px);
    opacity: 0.0;
    pointer-events: none;

    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5 ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.dialog-open {
    opacity: 1.0;
    pointer-events: all;
}

.dialog-frame {
    border-radius: 4px;
    background-color: rgba(34, 34, 34, 0.95);
    transform: translate(0, 20px);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);

    -webkit-transition: transform 0.5s ease-in-out;
    -moz-transition: transform 0.5s ease-in-out;
    -ms-transition: transform 0.5s ease-in-out;
    -o-transition: transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
}

.dialog-frame-open {
    transform: translate(0, 0);
}

.dialog-title-bar-close-button {
    background-color: transparent;
    background-image: url('data:image/svg+xml;base64,PHN2ZyBpZD0iZmluYWxzXzI0cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPg0KICA8dGl0bGU+aWNvbjwvdGl0bGU+DQogIDxnIGlkPSJfR3JvdXBfIiBkYXRhLW5hbWU9IiZsdDtHcm91cCZndDsiPg0KICAgIDxwYXRoIGQ9Ik03LjMxLDE3LjVBMC41LDAuNSwwLDAsMSw3LDE2LjY1bDEwLTEwYTAuNSwwLjUsMCwwLDEsLjcxLjcxbC0xMCwxMEEwLjUsMC41LDAsMCwxLDcuMzEsMTcuNVoiIGZpbGw9IiNmZmZmZmYiLz4NCiAgICA8cGF0aCBkPSJNMTcuMzEsMTcuNUEwLjUsMC41LDAsMCwxLDE3LDE3LjM1TDcsNy4zNWEwLjUsMC41LDAsMCwxLC43MS0wLjcxbDEwLDEwQTAuNSwwLjUsMCwwLDEsMTcuMzEsMTcuNVoiIGZpbGw9IiNmZmZmZmYiLz4NCiAgPC9nPg0KPC9zdmc+DQo=');
    outline: none;
    border: none;
    opacity: 0.8;
}

.dialog-title-bar-close-button:hover {
    opacity: 1.0;
}

.dialog-title-bar {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #222222;
}

.dialog-title-bar-title {
    color: rgba(255, 255, 255, 1.0);
    cursor: default;
}

.dialog-content {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    etter-spacing: 0.2px;
    color: #fff;
}