.m-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 9997;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, .75);
    -webkit-animation: fadeIn .1s linear;
    -moz-animation: fadeIn .1s linear;
    -o-animation: fadeIn .1s linear;
    animation: fadeIn .1s linear;
    display: none;
}

.m-popup__close {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.m-popup__wrapper {
    display: table;
    margin: 0 auto;
    z-index: 9999;
    height: 100%;
}

.m-popup__container {
    display: table-cell;
    vertical-align: middle;
    -webkit-animation: zoomIn .15s ease-in-out;
    -moz-animation: zoomIn .15s ease-in-out;
    -o-animation: zoomIn .15s ease-in-out;
    animation: zoomIn .15s ease-in-out;
}

.m-discount {
    display: none;
    position: relative;
    max-width: 720px;
    min-height: 300px;
    margin: 20px;
    border: solid 2px #eaeaea;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #fff url(../img/100rub.png) 20px 30px no-repeat;
}

.m-discount__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.m-discount__close::before, .m-discount__close::after {
    content: '';
    display: block;
    width: 15px;
    height: 3px;
    background-color: #ccc;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: relative;
    left: 3px;
    top: 8px;
}

.m-discount__close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 3px;
    top: 5px;
}

.m-discount__title2 {
    padding-left: 320px;
    padding-top: 70px;
    margin-bottom: 20px;
    font-size: 27px;
    font-weight: 600;
}

.m-discount__description {
    padding-left: 320px;
    padding-right: 30px;
    margin-bottom: 50px;
    line-height: 24px;
    font-size: 14px;
}

.m-discount__footer {
    padding: 20px 0;
    background-color: #f3f3f3;
    text-align: center;
}

.u-button {
    position: relative;
    display: inline-block;
    height: 50px;
    line-height: 46px;
    padding: 0 50px;
    background: 0 0;
    border: 2px solid transparent;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    outline: none;
    -webkit-transition: background-color .12s linear,color .12s linear,border-color .12s linear,opacity .12s linear;
    -o-transition: background-color .12s linear,color .12s linear,border-color .12s linear,opacity .12s linear;
    -moz-transition: background-color .12s linear,color .12s linear,border-color .12s linear,opacity .12s linear;
    transition: background-color .12s linear,color .12s linear,border-color .12s linear,opacity .12s linear;
}

.u-button--green {
    background-color: #a0c479;
    border-color: #a0c479;
    color: #fff!important;
}

.u-button--green:hover {
    background-color: #8fb764;
    border-color: #8fb764;
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

button {
    overflow: visible;
    margin: 0;
}