.pop-up {
    display: none;
}

.pop-up.active {
    display: block;
}

.pop-up .pop-wrapper {
    background-color: rgba(0,0,0,0.2);
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 2;
}

.pop-up .pop-wrapper .pop-inner {
    background-color: #FFF;
    border-radius: 5px;
    border: 1px solid #EDF0FF;
    left: 50%;
    min-width: 300px;
    padding: 20px;
    position: absolute;
    top: 45%;
    transform: translate(-50%, -50%);
}

.pop-up .pop-wrapper .icon.close {
    background-image: url('/static/img/nextfin/close_black_24dp.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    height: 24px;
    margin: auto -4px auto auto;
    width: 24px;
}

.pop-up #customrange-wrapper label {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 3px 0;
    text-transform: uppercase;
}

.pop-up .pop-wrapper .pop-inner label{
    font-size: 20px;
    font-weight: 700;
}

.pop-up .pop-wrapper .buttons {
    display: flex;
    margin: 20px 0 0 auto;
    max-width: min-content;
}

.pop-up .pop-wrapper .button {
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin: auto 0 auto 10px;
    min-width: max-content;
    padding: 6px 20px;
}

.pop-up .pop-wrapper .button.cancel {
    border: 2px solid rgba(46, 56, 78, 0.5);
    color: #2E384E;
    opacity: 0.7;
}

.pop-up .pop-wrapper .button.cancel:hover {
    opacity: 1;
}

.pop-up .pop-wrapper .button.confirm {
    background-color: #2e5eec;
    border: 2px solid #2e5eec;
    color: #FFF;
    line-height: unset;
    padding: 7px 20px;
}

.pop-up .pop-wrapper .customrange {
    display: none;
}

.pop-up .pop-wrapper .customrange.active {
    display: block;
}

.pop-up .pop-wrapper .pop-inner .date {
    margin-top: 8px;
}

.pop-up .pop-wrapper .pop-inner .date input,
.pop-up .pop-wrapper .pop-inner select,
.pop-up .pop-wrapper .pop-inner textarea {
    background: transparent;
    border-radius: 3px;
    border: 1px solid #767676;
    color: #333;
    display: block;
    font-size: 14px;
    margin-top: 15px;
    padding: 5px 8px;
    width: 100%;
}

.pop-up .pop-wrapper .pop-inner .date input {
    margin-top: 0;
}

.pop-up input[type="date"] {
    font-family: 'Open Sans', sans-serif;
    width: calc(100% - 18px)!important;
}

