.declinedQuote {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: none;
    z-index: 10005;
    transition-duration: .4s;
    -webkit-transition-duration: .4s;
}

.declinedQuote.open {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow-y: scroll;
    background: rgba(30, 30, 30, .87);
}

.declinedQuote__bg {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
}

.declinedQuote__block {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: auto;
    padding: 35px;
    margin: 20px;
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
    z-index: 10010;
}

/* Content inside */

/* Close button */
.declinedQuote__close {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 6px;
    z-index: 10;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #555;
    cursor: pointer;
}

.declinedQuote__close svg {
    fill: transparent;
    opacity: .8;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: stroke .1s;
}
/* END Close button */

.declinedQuote__image {
    width: 100px;
    height: auto;
}

.declinedQuote__text {
    font-size: 17px;
    line-height: 1.35;
}

/* Declined quote text */
.declinedQuoteText__link {
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    text-decoration: underline;
}

.declinedQuoteText__link:hover {
    text-decoration: none;
}

/* Media */
@media (max-width: 575.98px) {
    .declinedQuote__image {
        width: 70px;
    }
    .declinedQuote__text {
        font-size: 15px;
    }
    .declinedQuote__block {
        padding: 25px 15px;
    }
}

@media (max-height: 440.98px) {
    .declinedQuote.open {
        height: 100%;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .declinedQuote__block {
        padding: 25px 15px;
    }
}

@media (max-height: 320px) {
    .declinedQuote__image {
        width: 70px;
    }
    .declinedQuote__text {
        font-size: 15px;
    }
}