/*
 * Copyright (c) 2015 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

:host {
    position: absolute;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: rgb(140, 140, 140) 0 3px 14px;
    background: white;
    justify-content: flex-start;
    align-items: stretch;
}

.widget {
    display: flex;
    flex: auto;
    justify-content: flex-start;
    align-items: stretch;
}

:host-context(.wraps-content) {
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

:host-context(.wraps-content) .widget {
    flex: none !important;
    justify-content: center;
    align-items: center;
}

.dialog-close-button {
    position: absolute;
    right: 9px;
    top: 9px;
}