@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700,900");


#custom-modal-background {
    display: none;
    background-color: #2626341a;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

#custom-modal-popup {
    background-color: #fff;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    animation-name: animatemodal;
    animation-duration: 0.4s;
    font-family: 'Lato', Verdana, sans-serif;
    box-sizing: border-box;
    padding: 1.4rem;
    border-radius: 0.525rem;
    margin: 0.875rem;
}

.custom-modal-header {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.custom-modal-text {
    margin-top: 4rem;
    margin-bottom: 4rem;
    margin-left: 1.6rem;
    margin-right: 1.6rem;
    font-family: 'Lato', Verdana, sans-serif;
}

.custom-modal-content {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.custom-modal-content::-webkit-scrollbar {
    width: 0.375rem;
}

.custom-modal-content::-webkit-scrollbar-thumb {
    background: #CCC;
    border-radius: 10px;
}

.custom-modal-content::-webkit-scrollbar-track {
    border-radius: 100vh;
    background: #edf2f7;
}

.custom-modal-text p:first-child {
    margin-top: 0 !important;
}

.custom-modal-text p {
    margin-top: 17.5px;
    font-size: 14px;
    line-height: 17.5px;
}

.close-icon {
    display: flex;
    width: 24px;
    height: 24px;
}

#close-btn:hover {
    cursor: pointer;
    color: #ff0000;
}

.custom-modal-content .buttons {
    display: flex;
    padding-top: 1.25rem;
    justify-content: flex-end;
    border-top: solid 1px rgba(204, 204, 204, 1);
}

.custom-modal-content .buttons button {
    font-family: 'Lato', Verdana, sans-serif;
}

.redirect-yes {
    margin-left: 10.5px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding-top: 10.5px;
    padding-bottom: 10.5px;
    padding-left: 21px;
    padding-right: 21px;
    border-radius: 0.35rem;
    cursor: pointer;
    background-color: #0067b1;
    color: #fff;
    border: 0;
    line-height: 20px;
}

.redirect-cancel {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding-top: 10.5px;
    padding-bottom: 10.5px;
    padding-left: 21px;
    padding-right: 21px;
    border-radius: 0.35rem;
    cursor: pointer;
    background-color: #fff;
    color: rgb(112, 112, 112);
    border: 0;
    line-height: 20px;
}

.redirect-yes:hover {
    background-color: rgba(0, 113, 195, 1);
}

.redirect-cancel:hover {
    background-color: rgba(239, 239, 242, 1);
}

@media (min-width: 768px) {
    #custom-modal-popup {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 2rem;
        max-width: 50vw;
        max-height: 70vh;
        width: auto;
        height: auto;
        margin: 0;
    }

    .custom-modal-text p {
        font-size: 16px;
        line-height: 20px;
    }

    .redirect-yes {
        margin-left: 28px;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 24px;
        padding-right: 24px;
        font-size: 17px;
    }

    .redirect-cancel {
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 24px;
        padding-right: 24px;
        font-size: 17px;
    }
}

@media (min-width: 992px) {
    #custom-modal-popup {
        max-width: 40vw;
    }
}

/* modal part end */

/* animation part */
@keyframes animatemodal {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 50%;
        opacity: 1;
    }
}

/* animation part end */