#mbo_cancellation > form > div {
    display: flex;
    margin: 1rem 0 0 0;
    flex-wrap: wrap;
}

#mbo_cancellation > form > div > label {
    width: 15rem;
    text-align: right;
    padding: 0 2rem 0 2rem;
}

#mbo_cancellation > form > div > input, #mbo_cancellation > form > div > textarea {
    flex-grow: 1;
    max-width: 500px;
    background-color: #ddd;
    min-width: 300px;
}

#mbo_cancellation > form > div > input:disabled {
    color: #aaa;
    border: 2px solid #aaa;
    cursor: not-allowed;
}

#mbo_cancellation_cancellationType,
#mbo_cancellation_cancellationReason,
#mbo_cancellation_endOfContract {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
}

#mbo_cancellation label[class="required"]::after {
    content: "*";
}

#mbo_cancellation ul {
    margin: 0 0 0 1rem;
    padding: 0;
    list-style: none;
    font-weight: bold;
    color: #ff0000;
}

#mbo_cancellation  input[type="submit"] {
    flex-grow: unset;
    background-color: #76BC21;
    border: 2px solid #76BC21;
    margin-top: 1rem;
}

#mbo_cancellation  input[type="submit"]:hover {
    background-color: #ffffff;
    border: 2px solid #76BC21;
    color: #76BC21;
}

#mbo_cancellation label[for="mbo_cancellation_requestedDate"] {
    visibility: hidden;
}

#cancellation_dialog {
    padding: 1rem;
    border: solid;
    border-color: #ff0000;
    border-width: 2px;
    border-radius: 15px;
    max-width: 500px;
    margin: 1rem 0 0 19rem !important;
}

@media only screen and (max-width: 800px) {
    #cancellation_dialog {
        margin: 0 !important;
    }


}

#mbo_cancellation h1 {
    text-align: center;
    padding: 0 0 1em 0;
    margin: 0 0 1em 0;
    border-bottom: solid;
    border-width: 1px;
    border-color: #c2c2c2;
    font-size: 40px;
    font-weight: normal;
    line-height: 1.2;
    color: #4a4a49;
}

#submit-cancellation-button-box {
    justify-content: left;
    margin-left: 19rem !important;
}

@media only screen and (max-width: 810px) {
    #submit-cancellation-button-box {
        margin-left: 0 !important;
    }

    #mbo_cancellation  input[type="submit"] {
        width: 100%;
    }
}