.main {
    background: #aaa url(../images/bg.jpg) no-repeat;
    width: 800px;
    height: 600px;
    margin: 50px auto;
}
.panel {
    background-color: #444;
    height: 34px;
    padding: 10px;
}
.panel a#login_pop, .panel a#join_pop {
    border: 2px solid #aaa;
    color: #fff;
    display: block;
    float: right;
    margin-right: 10px;
    padding: 5px 10px;
    text-decoration: none;
    text-shadow: 1px 1px #000;

    /*-webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;*/
}
a#login_pop:hover, a#join_pop:hover {
    border-color: #eee;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.9);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 9999;

    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup {
    background-color: #fff;
    border:none;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 40%;
    visibility: hidden;
    z-index: 99999;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
/*
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;*/

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
    color:black;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.close {
 /*   background-color: #ffa92e;*/
    height: 30px;
    line-height: 30px;
    position: absolute;
    right:-5px;
    text-align: center;
    text-decoration: none;
    top: 1px;
    width: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}
.close:before {
    color: #000;
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
} 
.popup p, .popup div {
    margin-bottom: 10px;
}
.popup label {
    display: inline-block;
    text-align: left;
    width: 120px;
}
.popup input[type="text"], .popup input[type="password"] {
    
}
.popup input[type="text"]:hover, .popup input[type="password"]:hover {
    /*border-color: #555 #888 #888;*/
}


.txtClass {

     border: 1px solid #C8C8C8;
    box-shadow: 0 1px 0 #FFFFFF, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    color: #777777;
    font: 13px Helvetica,Arial,sans-serif;
    margin: 0 0 10px;
    padding: 15px 10px 15px 40px;
    transition: all 0.5s ease 0s;
    width: 80%;
}
.buttonClass {
    /*background: -moz-linear-gradient(center top , #FEE79A 0%, #FEC151 100%) repeat scroll 0 0 transparent;
    border: 1px solid #D69E31;
    border-radius: 30px 30px 30px 30px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    color: #85592E;
    cursor: pointer;
    float: left;
    font: bold 15px Helvetica,Arial,sans-serif;
    height: 35px;
    margin: 20px 0 35px 15px;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    width: 120px;*/
	float:left; margin:0; padding:0 15px;	
	 background:#272729;
    border:none;
    border-radius: 0;
    box-shadow: none;
    color: #FFFFFF;
    cursor: pointer;
    float: left;
    font-size:15px ;
	font-weight:normal;
    height: 48px;    
    position: relative;
    text-shadow:none; 
}

}

.popup #divPhoneNumber  h2{
	margin:0; padding:5px 10px; border:none; color:#fff; background:#ffa92e;
}

.popup #divPhoneNumber input#PhoneNumber,
.popup #divVerficationCode input#txtVerificationCode{ 
	border: 1px solid #C8C8C8;
    border-radius:0;
    /*box-shadow: none;*/
    color: #333;
    font: 13px;
    margin: 0 0 10px;
    padding: 15px 10px 15px 15px;
    transition: all 0.5s ease 0s;
    width:200px;
	float:left;
	}
.popup #divPhoneNumber input#cmdRegister,
.popup #divVerficationCode input#cmdVerficationCode,
.popup #divVerficationCode input#cmdResendCode{
	float:right; margin:0; padding:0;	
	 background:#272729;
    border:none;
    border-radius: 0;
    box-shadow: none;
    color: #FFFFFF;
    cursor: pointer;
    float: left;
    font-size:15px ;
	font-weight:normal;
    height: 48px;    
    position: relative;
    text-shadow:none;
    width: 120px;	
}
