.main {
    color: #fff;
    background: linear-gradient(to bottom,#ffcc00 160px,transparent 40px);
    background: url(../img/logo/index_header.png) center top repeat-x;
    background-size: contain;
}
@media screen and (min-width: 400px) {
    body{
        background-size:50%;        
    }
    .main {
        background: url(../img/logo/header-r.png) center top repeat-x;
        background-size: 25px;
    }
    .main .wrap {
        padding: 15px 15px 65px;
        background: url(../img/logo/index_header.png) center top no-repeat;
        background-size: 350px;
    }
}
.main .wrap {
    padding: 15px 15px 65px;
}

.main .wrap .row {
    margin-bottom: 15px;
}

.main .wrap .row:first-child {
    height: 40px;
    padding: 20px 0 55px;
    text-align: center;
}

.main .wrap .row:last-child {
    margin-bottom: 0;
}

.main .brand {
    width: 90px;
    height: 50px;
    margin: auto;
    overflow: hidden;
    display: block;
    background: url(../img/logo/logo.png) center center no-repeat;
    background-size: contain;
}

.main .card {
    padding: 15px;
    overflow: hidden;
    display: block;
    position: relative;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.07);
}

.main .link {
    color: #202021;
}

.main .link-prim {
    color: #d4006f;
}

.main .link-disable {
    color: #919fb1;
    cursor: default;
    opacity: .5;
}

.main .verify,
.main .invite,
.main .referral {
    display: none;
}

.main .verify .resend {
    margin: 15px 0 0;
}

.main .verify .timeout {
    display: block;
    color: #919fb1;
}

.main .verify .link-resend {
    display: none;
}

.main .referral .code {
    padding: 10px 0 0;
    text-align: center;
    color: #fa5252;
    letter-spacing: 1px;
}

.footer {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6000;
    text-align: center;
}

.footer .wrap {
    width: 100%;
    height: 50px;
    max-width: 100%;
    padding: 15px;
}

.footer .link {
    color: #d4006f;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8000;
    background-color: rgba(0,0,0,.2);
}

.modal .card {
    padding: 30px;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    direction: rtl;
    text-align: center;
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.07);
}

.modal .card .text {
    margin-bottom: 30px;
    font-size: 110%;
}

.modal .card .text h2 {
    margin-bottom: 10px;
    font-size: 120%;
}

.modal .card .btn {
    padding: 0 15px;
    border-radius: 5px;
}

.modal .card .link-holder {
    display: block;
    margin-top: 10px;
}

.modal .card .btn-link {
    font-size: 90%;
    color: rgba(0,0,0,.7);
}
