.save-dialog-background {
    z-index: 1;
    opacity: 0.5;
    background-color: white;
    position: absolute;
    filter: grayscale(100%) brightness(5%);
    width: 100%;
    height: 100%;
    display: none;
}

.save-dialog-container {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 320px;
    border-radius: 10px;
    padding: 0 20px;
    box-shadow: 0 0 10px black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    display: none;
}

.save-dialog-container h2 {
    margin-top: 5px;
}

.save-dialog-container label {
    width: 100px;
    display: inline-block;
}

#mission-name, #mission-description {
    width: 184px;
    padding: 3px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid black;
}

#mission-description {
    vertical-align: top;
    resize: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#save-errors {
    height: 40px;
    font-size: 14px;
    color: #cb0000;
}

.save-row {
    margin-bottom: 10px;
}

.save-btns {
    margin-top: 20px;
}


.close {
    position: absolute;
    right: 20px;
    top: 10px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    cursor: pointer;
}
.close:hover {
    opacity: 1;
}
.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 5px;
    background-color: #333;
}
.close:before {
       transform: rotate(45deg);
}
.close:after {
       transform: rotate(-45deg);
}
