@font-face {
    font-family: 'BYekan';
    src:url('fonts/BYekan.eot?#') format('eot'),url('fonts/BYekan.ttf') format('truetype'); 
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* ------- Remove Chrome's border around active fields ------- */

*:focus {
	outline: none;
}

/* ------- Disable background and border for input fields ------- */

input {
	background: transparent;
	border: 0;
}



/* --------------------------------------------------------------- */

/* ------- Body ------- */

body {
	background: #eeeeee url(../images/login/bg.jpg) top left repeat;
}


/* ------- Container ------- */

#container {
	margin: auto;
	margin-top: 100px;
	width: 524px;
	height: 262px;
	text-align: left;
	font-family: Verdana, Arial;
	font-weight: normal;
	font-size: 12px;
	color: #ffffff;
}


/* ------- Login Form ------- */

.welcome {
	background: url(../images/login/form-bg.png) top left no-repeat;
	width: 524px;
	height: 262px;
	padding-top: 1px;
}
.setting {
	background: url(../images/login/setting-bg.png) top left no-repeat;
	width: 524px;
	height: 262px;
	padding-top: 1px;
}

.login, .welcome-user {
	width: 400px;
	float: right;
    text-align:center;
	margin-top: 33px;
	margin-left: 120px;
	font-size: 20px;
    font-family: 'bYekan';
}

.username-text {
	width: 170px;
	float: right;
	margin-top: 20px;
	margin-right: 30px;
    direction:rtl;
    text-align:right;
    font-family: 'bYekan';
}

.password-text {
	width: 220px;
	float: right;
	margin-top: 20px;
	margin-right: 40px;
    direction:rtl;
      text-align:right;
      font-family: 'bYekan';
}

.Question-text {
	width: 170px;
	float: right;
	margin-top: 3px;
	margin-right: 30px;
    direction:rtl;
    text-align:right;
    font-family: 'bYekan';
}

.Answer-text {
	width: 180px;
	float: right;
	margin-top: 3px;
	margin-right: 40px;
    direction:rtl;
      text-align:right;
      font-family: 'bYekan';
}

.welcome-text {
	width: 360px;
	float: left;
	margin-top: 50px;
	margin-left: 40px;
	line-height: 16px;
}
.capcha-field {
    width: 168px;
	height: 38px;
	float:right;
    text-align:center;
	margin-top: 3px;
	margin-right: 20px;
	background: url(../images/login/capcha-field.png) center right no-repeat;
}
.company-field {
    width: 168px;
	height: 38px;
	float:right;
    text-align:center;
	margin-top: 3px;
	margin-right: 20px;
}
.capcha-field input {
text-align:center;
}

.capcha-txt-field {
	width: 200px;
	height: 38px;
	float:right;
    text-align:right;
	margin-top: 3px;
	margin-right: 20px;
	background: url(../images/login/capcha-field.png) center right no-repeat;
}

.fiscal-field {
	width: 200px;
	height: 38px;
	float:right;
    text-align:right;
	margin-top: 3px;
	margin-right: 20px;
}

.username-cmb-field {
	width: 168px;
	height: 38px;
	float:right;
    text-align:right;
	margin-top: 3px;
	margin-right: 20px;
}
.username-field {
	width: 168px;
	height: 38px;
	float:right;
    text-align:right;
	margin-top: 3px;
	margin-right: 20px;
	background: url(../images/login/username-field.png) center right no-repeat;
}

.username-field:hover {
	background: url(../images/login/username-field-hover.png) center right no-repeat;
}


.password-field {
	width: 200px;
	height: 38px;
	float:right;
    text-align:right;
	margin-top: 3px;
	margin-right: 20px;
	background: url(../images/login/password-field.png) center right no-repeat;
}

.password-field:hover {
	background: url(../images/login/password-field-hover.png) center right no-repeat;	
}
.capcha-image {
width: 168px;
	height: 30px;
    margin-top:3px;
     border-radius:5px;
}
.cmb {
width: 168px;
height: 30px;
direction:rtl;
    border:0px;
     border-radius:5px;
     margin-top:5px;
}
.txtbox{
	width: 120px;
	height: 16px;
	margin-top: 10px;
	margin-right: 10px;
	font-family: 'bYekan';
	font-size: 12px;
	color: #2d2d2d;
    text-align:right;
}
input[type="password"] {
	width: 120px;
	height: 16px;
	margin-top: 10px;
	margin-right: 10px;
	font-family: Arial;
	font-size: 14px;
	color: #2d2d2d;
    text-align:right;
}
/* ------------ Custom Checkbox ------------------------------- */

/* Works for browsers with CSS3 support (with or without Javascript) */
/* Works for Internet Explorer 6-8 (without CSS3 support) with Javascript */
/* If Javascript isn't available this doesn't work for Internet Explorer 6-8 */

input[type="checkbox"] {
	position: absolute;
	left: -999px;
}

input[type="checkbox"] + label {
	width: 132px;
	height: 24px;
	float: left;
	margin-top: 26px;
	margin-left: 37px;
	padding-left: 28px;
	display: block;
	position: relative;
	line-height: 24px;
	background: url(/MManagerService/images/login/checkbox-off.png) top left no-repeat;
}

input[type="checkbox"]:checked + label {
	background: url(/MManagerService/images/login/checkbox-on.png) top left no-repeat;
}

input[type="checkbox"]:checked:hover + label, input[type="checkbox"]:checked:focus + label {
	background: url(/MManagerService/images/login/checkbox-on-hover.png) top left no-repeat;
}

input[type="checkbox"]:not(:checked):hover + label, input[type="checkbox"]:not(:checked):focus + label {
	background: url(/MManagerService/images/login/checkbox-off-hover.png) top left no-repeat;
}

/* -------------------------------------------------------------------------- */

.forgot-usr-pwd {
	width: 220px;
	float: left;
	margin-top: 26px;
	margin-left: 0;
	color: #cccccc;
	line-height: 24px;
}

.forgot-usr-pwd a {
	color: #cccccc;
	text-decoration: none;
	font-style: italic;
}

.forgot-usr-pwd a:hover, .forgot-usr-pwd a:focus {
	text-decoration: underline;
}

.stButton {
	width: 85px;
	height: 70px;
	float: left;
	margin-top: -70px;
margin-left: 10px;
	font-family: 'bYekan';
	font-size: 26px;
	color: #ffffff;
}

.stButton-setting {
	width: 85px;
	height: 70px;
	float: left;
	margin-top: 20px;
margin-left: 10px;
	font-family: 'bYekan';
	font-size: 26px;
	color: #ffffff;
}

.stButton:hover,.stButton-setting:hover {
	background: url(../images/login/go-hover.png) top left no-repeat;
}

.home {
	width: 70px;
	height: 73px;
	float: left;
	margin-top: 122px;
	margin-left: 21px;
	font-size: 20px;
	padding: 25px 0 0 15px;
}

.home:hover, .home:focus {
	background: url(../images/login/go-hover.png) top left no-repeat;
}

.home a, .home a:hover, .home a:focus {
	color: #ffffff;
	text-decoration: none;
}

#footer {
	margin: auto;
	margin-top: 50px;
	direction: rtl;
	height: 30px;
	background: url(../images/login/footer-bg.png) bottom center no-repeat;
	text-align: center;
	font-size: 20px;
font-family: 'bYekan';

	color: #8d8d8d;
}

#footer a {
	text-decoration: none;
	color: #8d8d8d;
}

#footer a:hover, #footer a:focus {
	text-decoration: none;
	color: #2d2d2d;
}

.button-setting {
    width:36px;
    height:36px;
    background: url(../images/login/settings.png) top center no-repeat;
    float: left;
	margin-top: 0px;
    margin-left: 35px;
    cursor:pointer;
}

.flipping-first{
	-webkit-transition-duration:0s;-webkit-transform: rotateX(0deg) rotateY(180deg) scale(1.0);
}
.flipping{
	-webkit-transition-duration:1s;
	-webkit-transform: rotateX(0deg) rotateY(360deg) scale(1.0);
}
/*remove highlight border when touch scrren over link*/
* {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);	
}

.error {
        background-color:#faa631;
        border:1px dashed #000;
        padding:5px;
        width: 524px;
        text-align: center;
        border-radius:5px;
	    font-size: 16px;
        font-family: 'bYekan';
	    color: #000;
        direction:rtl;
}

