.modal-container {
    display:block;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    transition: opacity 0.35s;
}

.modal-wrapper {
    width: 600px;
    max-width: 95%;
    margin: 20px auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 1px white;
    position: relative;
    background: white;
}

#modal-content {
    padding: 10px;
}

.modal-header {
    background: #1E4B74;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 10px 32px 10px 10px;
}

.close-modal {
    padding: 10px;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
}

.close-modal.area {
    width: 100%;
    height: 100%;
    cursor: default;
}

#modal-content > div {
    margin-bottom: 10px;
}

#modal-content select {
    width: 15%;
    min-width: 70px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 4px;
    margin: 9px 0px;
}

.hide {
    display: none;
}

.modal-container.show  {
    animation: bg-fade 0.35s linear;
}

.show .modal-wrapper {
    animation: modal-reveal 0.35s cubic-bezier(.22,.61,.41,1.01);
}

.remove {
    /* animation: fade-out 0.35s linear; */
    opacity: 0;
}

@-webkit-keyframes bg-fade {
    from {background-color: rgba(0,0,0,0);}
    to {background-color: rgba(0,0,0,0.75);}
}

@keyframes bg-fade {
    from {background-color: rgba(0,0,0,0);}
    to {background-color: rgba(0,0,0,0.75);}
}

@-webkit-keyframes modal-reveal {
    from {
        transform:translateY(-60px);
        opacity:0;
    }
    to {
        transform:translateY(0px);
        opacity:1;
    }
}

@keyframes modal-reveal {
    from {
        transform:translateY(-60px);
        opacity:0;
    }
    to {
        transform:translateY(0px);
        opacity:1;
    }
}

@-webkit-keyframes fade-out {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes fade-out {
    from {opacity: 1;}
    to {opacity: 0;}
}