.modal-block {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
    background-color: black;
    background-color: rgba(49, 49, 49, .2);
    text-align: center;
}

.modal-dialog {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    width: 500px;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
    margin-top: 50px;
    max-width: 100%;
    box-sizing: border-box;
}

.dialog-title {
    letter-spacing: -1px;
    font-size: 1.3em;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-bottom: 5px;
    text-align: center;
}

.dialog-content {
    margin-bottom: 20px;
    float: left;
    width: 100%;
    text-align: center;
}

.dialog-actions {
    text-transform: uppercase;
    text-align: center;
    margin: 10px auto;
    float: left;
    width: 100%;
}

.dialog-actions a, .dialog-actions button {
    display: inline-block;
    padding: 0px 15px;
    background: #f3f3f3;
    color: #e11428;
    margin-right: 10px;
    font-weight: bold;
    line-height: 35px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    text-transform: uppercase;
}

.dialog-actions a:last-child, .dialog-actions button {
    background: #e11428;
    color: #FFF;
}

.dialog-content input, .dialog-content select {
    border: 1px solid #ddd;
    padding: 0px 10px;
    line-height: 45px;
    height: 45px;
    border-radius: 5px;
    width: 80%;
    margin: 10px 0 0;
    box-shadow: inset 0px 0px 3px 0px rgba(66, 66, 66, .1);
    font-size: 16px;
    color: #333;
}

.dialog-content input:focus {
    box-shadow: 0 0 5px #51cbee;
    border: 1px solid #51cbee;
    color: #333;
}

.dialog-content input.error {
    box-shadow: 0 0 5px #e00;
    border: 1px solid #e00;
    color: #333;
}

.dialog-content .note {
    font-size: 12px;
    color: #888;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 10px;
    padding: 0 10%;
    margin-bottom: -10px;
}

.modal-block {
    background-color: rgb(0 0 0 / 50%);
}

.modal-popup {
    max-width: 750px;
    max-height: 450px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    font-size: 14px;
}

.popup-info {
    float: left;
    width: 50%;
    background: #fff;
    position: relative;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.popup-info a {
    width: 210px;
    display: block;
    background: #c00;
    color: #fff;
    height: 50px;
    border-radius: 25px;
    margin: 10px auto 15px;
}

.popup-info a strong {
    line-height: 40px;
    display: block;
    float: left;
    width: 40px;
    text-align: center;
    margin: 5px;
    border-radius: 50%;
    background: #fff;
    color: #c00;
    font-size: 30px;
}

.popup-info a span {
    display: block;
    float: left;
    font-size: 14px;
    line-height: 1;
    margin: 5px 10px 0;
}

.popup-info a b {
    display: block;
    font-size: 22px;
    float: left;
    letter-spacing: -0.5px;
}

.popup-info ul li {
    color: #131313;
    padding-left: 20px;
    text-align: left;
    margin: 5px 0;
    position: relative;
    margin-left: 20px;
}

.popup-info ul li:before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #c00;
}

.modal-popup form {
    float: right;
    width: 50%;
    background: #ededed;
    position: relative;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.modal-popup form>a {
    position: absolute;
    right: 7px;
    top: 5px;
    font-size: 30px;
    line-height: 1;
}

.modal-popup form label {
    color: var(--color1);
    font-size: 20px;
    margin: 20px 0 5px;
    display: block;
    text-transform: capitalize;
    letter-spacing: -1px;
}

.modal-popup form button {
    background: var(--color1);
    border: 0;
    padding: 10px 20px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-block {
        padding: 10px;
    }

    .modal-popup {
        margin: 10px;
        max-height: unset;
    }

    .popup-info {
        width: 100%;
        padding: 10px;
        height: 225px;
    }

    .popup-info>img {
        max-height: 35px;
    }

    .popup-info>img:last-child {
        max-height: 100px;
    }

    .popup-info a {
        margin: 7px auto;
    }

    .modal-popup form {
        width: 100%;
        margin: 0;
        height: auto;
    }

    .modal-popup form label {
        margin: 10px 0 5px;
        font-size: 16px;
    }

    .modal-popup form label+p {
        font-size: 14px;
    }

    .dialog-content input, .dialog-content select {
        padding: 0px 10px;
        height: 35px;
        margin: 0 0 10px;
    }
}
