.docentship-outer {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #2227;
    z-index: 99999;
}

.docentship-dialogue {
    width: 30%;
    background-color: #fff;
}

.docentship-header {
    position: relative;
    padding: 5px;
    text-align: center;
    color: #fff;
    background-color: #555;
}

.docentship-header .docentship-close {
    padding: 0 6px;
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
    border-radius: 2px;
    border: 2px solid;
    transition: background-color 300ms;
}

.docentship-header .docentship-close:hover {
    background-color: #f00;
    cursor: pointer;
}

.docentship-form {
}

.docentship-form .docentship-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.docentship-form .docentship-item:not(:last-child) {
    border-bottom: 1px solid #aaa;
}

.docentship-form .docentship-item label {
    min-width: 80px;
    padding: 5px 10px;
    text-align: right;
    color: #f1f1f1;
    background-color: #222;
    align-self: stretch;
}

.docentship-form .docentship-item input {
    width: 100%;
    padding: 5px;
    outline: 0;
}

.docentship-form .docentship-item select {
    width: 100%;
    padding: 5px;
    font-size: 16px;
    border: 0;
    outline: 0;
}

.docentship-form .docentship-item textarea {
    width: 100%;
    padding: 5px 6px;
    resize: none;
    outline: 0;
    box-sizing: border-box;
}

.docentship-form .docentship-item.btn-area {
    padding: 20px 0;
    justify-content: center;
    column-gap: 3px;
}

@media screen and (max-width: 767px) {
    .docentship-dialogue {
        padding: 10px;
        width: 100%;
        height: 100%;
        position: fixed;
    }

    .docentship-form .docentship-item:not(:last-child) {
        flex-direction: column;
        border-bottom: 0;
    }

    .docentship-reqdate {
        width: 100%;
        text-align: center;
    }

    .docentship-form .docentship-item label {
        max-width: 100%;
        box-sizing: border-box;
        text-align: left;
        color: #222;
        background-color: #fff;
    }

    .docentship-form .docentship-item input,
    .docentship-form .docentship-item select,
    .docentship-form .docentship-item textarea {
        width: calc(100% - 20px);
        box-sizing: border-box;
        border-bottom: 1px solid #aaa;
    }

    .docentship-form .docentship-item input:focus,
    .docentship-form .docentship-item select:focus,
    .docentship-form .docentship-item textarea:focus {
        background-color: #f1f1f1;
    }

    .docentship-form .docentship-item.btn-area {
        padding: 10px 10px;
        flex-direction: column;
    }
}
