.beauty-modal .background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 998;
}

.beauty-modal .modal {
    display: none;
    width: 600px;
    background-color: #FFF;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    overflow: auto;
}

@media screen and (max-width:600px) {
    .beauty-modal .modal {
        width: 90%;
        height: 90%;
    }
}

.beauty-modal .modal.active {
    display: block;
}
.beauty-modal .modal .content {
    padding: 10px 30px;
    overflow: auto;
}
.beauty-modal .modal .content p {
    padding: 10px 0;
}
.beauty-modal .modal .header {
    background-color: #3d66a6;
    width:100%;
    display: inline-block;
    height: 80px;
}

.beauty-modal .modal .header .content {
    color: white;
    padding: 5px 30px;
}

.beauty-modal .modal .header .content h2 {
    margin: 0;
    padding: 20px 0;
    font-size: 25px;
}

.beauty-modal .modal .close span {
    transform: rotate(45deg);
    display: block;
}
.beauty-modal .modal .buttons {
    width: 600px;
    bottom: 0;
    height: 50px;
    background-color: #FFF;
}

@media screen and (max-width:600px) {
    .beauty-modal .modal .buttons {
        width: 100%;
        display: block;
    }
}

.beauty-modal .modal .buttons a {
    width: 50%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    float: left;
    background-color: #EEE;
    color: #4d5c6e;
    transition: 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}
.beauty-modal .modal .buttons a:hover {
    background-color: #e1e1e1;
}
.beauty-modal .modal .buttons a:nth-of-type(2) {
    float: right;
    color: #FFF;
    background-color: #00c06d;
}
.beauty-modal .modal .buttons a:nth-of-type(2):hover {
    background-color: #00a75f;
}