.cons_overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.65;
    z-index: 99999;
}

.cons_content {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 648px;
    max-width: 648px;
    height: 548px;
    padding: 24px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    z-index: 99999;
    line-height: 1.5em;
    font: 14px/1.21 Helvetica Neue, Arial, sans-serif;
    color: #2a2a2a;
}

.cons_content h1 {
    margin: 8px 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2a2a2a;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}

.cons_text {
    position: relative;
    width: 100%;
    max-height: 300px;
    margin-bottom: 20px;
    padding-right: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 14px;
    font-weight: 400;
    color: #2a2a2a;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}

.cons_text p {
    margin: 14px 0;
}

.cons_text strong {
    color: #1ea3b6;
}

.cons_message {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 1px;
    margin: 0;
    border: 0;
    background: none;
}

.cons_is {
    position: absolute;
    bottom: 180px;
    width: calc(100% - 45px);
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.cons_content p,
.cons_content h1,
.cons_content a {
    line-height: 1.5em;
}

.cons_button {
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 8px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    background: #2a2a2a;
    cursor: pointer;
}

.cons_accept {
    padding: 14px 8px;
    border: none;
    color: #fff;
    background-image: linear-gradient(to right, #2bb214 0%, #309527 51%, #2bb214 100%);
    box-shadow: 0 0 20px #eee;
    transition: 0.5s;
}

.cons_accept:hover {
    background: #2a2a2a;
    text-decoration: none;
}

.cons_decline {
    color: #2a2a2a;
    background: #f4f4f4;
}

.cons_decline:hover {
    color: #202020;
    background: #e0e0e0;
}

.cons_footer,
.cons_footer a {
    margin: 5px 0 -5px;
    color: #afafaf;
    text-align: center;
    text-decoration: none;
}

@media only screen and (max-width: 670px) {
    .cons_content {
        top: auto;
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        height: 532px;
        padding: 24px 24px 0;
        transform: none;
    }

    .cons_footer,
    .cons_footer a {
        margin: -4px 0 -5px;
    }

    .cons_is {
        bottom: 165px;
    }

    .centered-line {
        position: absolute;
        top: 15px;
        left: 50%;
        width: 90px;
        height: 6px;
        background-color: #d8d8d8;
        border-radius: 6px;
        transform: translateX(-50%);
    }
}
