.afflogin {
    border: 1px solid rgb(149, 101, 165);
    margin: 0px auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.06);
    font-size: 12px;
    display: block;
    overflow: hidden;
    width: 300px;
    color: rgb(251, 239, 239);
    margin-top: 10px;
    background: #c8adcc;
}
.afflogin a{
        color: rgb(58, 25, 68);
    text-decoration: underline;
    text-shadow: 1px 1px 1px #604369;
    font-size: 13px;
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: 4px 10px;
    border-top: 1px solid #CBC39F;
}

.afflogin h1 {
          font-size: 15px;
    text-shadow: 0 1px 0 black;
    text-align: center;
    padding: 6px 0;
    position: relative;
    color: rgb(149, 101, 165);
    margin-top: 7px;
    margin-bottom: 7px;
}

    .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)); /* For Safari */
    }

label {
    color:rgb(117, 68, 134);
    display: block;
    padding-bottom:0px;
}

.inputtext {
         width: 90%;
    padding: 1px 5px;
    background: #fff1f1;
    border: 1px solid #daa3e2;
    box-shadow: 0 1px 0 rgba(255,255,255,0.1);
    border-radius: 0.1em;
    margin-bottom: 0px;color: #000;
}

    .inputtext:hover {
        background:#ffffff;
    }

.padd {
    padding: 10px 5px;
      font-size: 16px;
      width:240px;
}

label[for=remember] {
    color: white;
    display: inline-block;
    padding-bottom: 0;
    padding-top: 5px;
}

input[type=checkbox] {
    display: inline-block;
    vertical-align: top;
}

.p-container {
    padding: 0 20px 10px 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: 0.3em;
  background: #18165A;
  color: white;
  float: right;
  font-weight: bold;
  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: #fff;
}
.p {
text-align:center;
}


.userlogintitle {
 background: #5E3B25;
height: 44px;
border: 1px solid #41200B;
color: rgb(239, 194, 133);
text-align: center;
border-radius: 0px;
padding-top: 0px;
font-size: 19px;
}


.userlogintext {
  font-size: 14px;

padding: 20px;
line-height: 23px;
min-width: 250px;
}
    .userlogintext img
    {
        width:100%;
    }
     .logintxt {
            overflow: hidden;
            display: block;
            height: auto;
            background: rgb(247, 250, 255);
            border: 1px solid #A7B4D7;
            border-radius: 5px;
            margin: 1px auto 0 auto;
            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: rgb(241, 238, 255);
            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;
        }