﻿.dimo-grid-4 {
    width: 100%;
    max-width: 500px;
    margin: 0px auto;
    text-align: center;
}
.dimo-grid-4 table{
    width:95%;
}
.dimo-grid-8 {
    width: 100%;
    max-width: 600px
}

.dimo-btn-signup {
    background-image: url(../images/signup.png);
    background-position: 46px 9px;
    background-repeat: no-repeat;
    width: 70px;
    border-radius: 3px;
    border: none;
    padding: 2px 25px 2px 0;
    color: #000
}

.dimo-btn-login {
    background-image: url(../images/login.png);
    background-position: 40px 9px;
    background-repeat: no-repeat;
    width: 65px;
    border-radius: 3px;
    border: none;
    padding: 2px 25px 2px 0;
    color: #000
}

.dimo-login-chk {
    float: right;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    position: relative;
    top: 7px
}

.afflogin {
    background: #1d1d1d;
    margin: 0 auto;
    border: 1px solid #191919;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 10px 5px rgba(0,0,0,0.2);
    font-size: 12px;
    display: block;
    overflow: hidden;
    width: 100%;
    text-align:right;
    color: #fff;
    margin-top: 10px
}

    .afflogin a {
        color: #f9ff03;
        text-decoration: none
    }

    .afflogin:after {
        content: "";
        display: block;
        position: absolute;
        height: 1px;
        width: 100px;
        left: 20%;
        background: linear-gradient(left,#111,#444,#b6b6b8,#444,#111);
        top: 0
    }

    .afflogin:before {
        content: "";
        display: block;
        position: absolute;
        width: 8px;
        height: 5px;
        border-radius: 50%;
        left: 34%;
        top: -7px;
        box-shadow: 0 0 6px 4px #fff
    }

.inset {
    padding: 20px;
    border-top: 1px solid #19191a
}

.afflogin h1 {
    font-size: 18px;
    text-shadow: 0 1px 0 #000;
    text-align: center;
    padding: 8px 0;
    position: relative;
    color: #fff;
    margin-bottom: 1px
}

    .afflogin h1:after {
        content: "";
        display: block;
        width: 250px;
        height: 100px;
        position: absolute;
        top: 0;
        left: 50px;
        pointer-events: none;
        transform: rotate(70deg);
        -webkit-transform: rotate(70deg);
        background: linear-gradient(50deg,rgba(255,255,255,0.15),rgba(0,0,0,0));
        background-image: -webkit-linear-gradient(50deg,rgba(255,255,255,0.05),rgba(0,0,0,0))
    }

label {
    display: block;
    padding-bottom: 3px
}

.inputtext {
    width: 90%;
    padding: 8px 5px;
    background: linear-gradient(#1f2124,#27292c);
    border: 1px solid #222;
    box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    border-radius: .3em;
    margin-bottom: 4px;
    float:right;
}

    .inputtext:hover {
        background: #27292c
    }

.padd {
    padding: 10px 5px;
    font-size: 16px;
    width: 240px
}

label[for=remember] {
    color: #fff;
    display: inline-block;
    padding-bottom: 0;
    padding-top: 5px
}

input[type=checkbox] {
    display: inline-block;
    vertical-align: top
}

.p-container {
    padding: 0 20px 20px
}

    .p-container:after {
        clear: both;
        display: table;
        content: ""
    }

    .p-container span {
        display: block;
        float: left;
        color: #0d93ff;
        padding-top: 8px
    }

.inputsubmit {
    padding: 5px 20px;
    border: 1px solid rgba(0,0,0,0.4);
    text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3),inset 0 10px 10px rgba(255,255,255,0.1);
    border-radius: .3em;
    background: #18165A;
    color: #fff;
    float: right;
    font-weight: 700;
    cursor: pointer;
    width: 85px;
    margin-right: 34%;
    font: 13px web_yekan
}

    .inputsubmit:hover {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.3),inset 0 -10px 10px rgba(255,255,255,0.1)
    }

label:hover ~ input[type=text], label:hover ~ input[type=password] {
    background: #27292c
}

.p {
    text-align: center
}

.userlogintitle {
    background: #5E3B25;
    height: 44px;
    border: 1px solid #41200B;
    color: #efc285;
    text-align: center;
    border-radius: 0;
    padding-top: 0;
    font-size: 19px
}

.userlogintext {
    font-size: 14px;
    width: 89%;
    padding: 20px;
    line-height: 23px;
    min-width: 250px
}

    .userlogintext img {
        width: 100%
    }

.logintxt {
    overflow: hidden;
    display: block;
    height: auto;
    background: #f7faff;
    border: 1px solid #A7B4D7;
    border-radius: 5px;
    margin: 1px auto 0;
    direction: rtl;
    position: relative;
    text-align: justify;
    width: 100%
}

.login {
    overflow: hidden;
    display: block;
    height: 50%;
    width: 35%;
    border: 12px solid #D7D6FF;
    border-radius: 12px;
    background: #f1eeff;
    margin: 30px auto;
    text-align: center;
    direction: rtl;
    position: relative
}

.line {
    width: 100%;
    height: 3px;
    border-top: 1px solid #969696;
    margin-top: 25px
}

.login span {
    padding-left: 33%
}

#ContentPlaceHolder1_LoginView1_AffiliateControl_Login1 {
    width: 96%;
    margin: 6px
}

.ms_grid_8 {
    width: 55%;
    float: left;
    text-align: justify;
    direction: rtl;
    line-height: 26px
}

.grid_4 {
    float: left;
    width: 309px;
    clear: both
}
