@import "../../styleConstants.scss";

.ui-dialog {
    position: relative;
    top: 50%;
    left: 50%;
    outline: 0 none;
    padding: 0!important !important;
    z-index: 101;
    background-color: #fff;
    border: 1px solid #f6f6f6;
}

.ui-dialog.react-draggable .ui-dialog-titlebar {
    cursor: move;
}

.ui-dialog .ui-dialog-titlebar {
    position: relative;
    font-size: 1em;
    border-radius: 0.5em;
    padding: 0.5em;
    height: 3em;
    border-bottom: 1px solid #f6f6f6;
}

.ui-dialog .ui-dialog-titlebar .title {
    float: left;
    margin-right: 0.5em;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1.5em;
}

.ui-dialog .ui-dialog-content {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    overflow: auto;
    position: relative;
    padding: 0.5em;
}

.ui-dialog .ui-dialog-buttonpane {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: right;
    border-width: 1px 0 0;
    border-top: 1px solid #f6f6f6;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    padding: 0.5em;
}

.ui-dialog .ui-dialog-buttonpane button {
    margin: 0 0.5em;
    cursor: pointer;
    background-color: #f6f6f6;
    padding: 0.5em 1em;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.modal {
    text-align: center;
    padding: 0!important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-title {
    color: $whiteColor;
}

.modal-header {
    background: $blueColor;
}

.modal-content {
    border-radius: 7px;
}

.generic-dialog-box {
    min-width: 30%;

    .btn-success, .btn-success:active, .btn-success:hover, .btn-success:focus {
        background-color:  $accentColor !important;
        border: none !important;
        cursor: pointer;
        &:focus, &:hover {
            box-shadow: 0 0 0 0.1rem lighten($accentColor, 0.9) !important;
        }
    }

    .btn-secondary {
        background-color: $whiteColor;
        color: $darkGreyColor;
        cursor: pointer;
    }
}

.highlighted-item {
    font-weight: $font-weight;
}

.installation-scheduling {
    width: 35%;
}

.dialog-input {
    margin-top: 1rem;
}

.dialog-close {
    color: $whiteColor;
    position: absolute;
    right: 1rem;
    cursor: pointer;
}
