﻿body 
{
	padding:50px;
	direction:rtl;
}

section 
{
	margin: auto;
}

.OneTimeEntranceButton_Ellement.OneTimeEntrance_button_show {
    display: table-row;
}

.login-banner-text {
	background-color: #394472;
	min-width: 405px;
	max-width: 405px;
	min-height: 90px;
	color: white;
	padding:10px;
}

.login-banner-text-text1 {
	line-height: 17px;
	padding-bottom:10px;
}

.login-banner-text-text2 {
    font-family: Iran Sans Web, Tahoma, DownloadTahoma;
    font-size: 8.25pt;
    margin-top: 15px;
}

.footer-login
{
	text-align: right;
	color: gray;
}

.ltr-layout .footer-login
{
	text-align: left;
	color: gray;
}

.login-img
{
	background-image: url(/Images/login-logo.jpg);
	margin-bottom: 20px;
	background-repeat: no-repeat;
	width: 350px;
	height: 90px;
	border: none;
}

.ltr-layout .login-img
{
	background-image: url(/Images/logo.png);
	padding: 0;
}

.horizontal-line
{
	clear: both;
	margin: 3px 0;
	padding: 3px 0;
	border-bottom: 1px solid lightgray;
}

.rightCell, .leftCell{
	width:50%
}

.leftCell > div{
	margin-top:150px;
	margin-right:85px;
}
.Login_Ellement {
    display: table-row;
}
.OneTimeEntrance_Ellement, .Login_OneTimeEntranceCode_Ellement, .OneTimeEntranceButton_Ellement {
    display: none;
}
.Login_OneTimeEntranceCode_Ellement {
    vertical-align: top;
}
    .Login_OneTimeEntranceCode_Ellement .space-div {
        width: 30%;
        height: 100%;
        display: inline-block;
    }
.loginWithOneTimeEntranceCode {
    text-align: center;
    display: inline-block;
    font-size: 1.13em;
    vertical-align: top;
}
    .loginWithOneTimeEntranceCode .lable-WithOneTimeEntranceCode {
        width: 460px;
        text-align: center;
        color: #808080;
        vertical-align: text-bottom;
    }
    .loginWithOneTimeEntranceCode .input-WithOneTimeEntranceCode {
        height: 70px;
        width: 460px;
        vertical-align: bottom;
        display: table-cell;
    }
        .loginWithOneTimeEntranceCode .input-WithOneTimeEntranceCode #labelMessageForOneTimeEntranceCode {
            color: orangered;
            display: block;
            white-space: pre-line;
            width: 420px;
            text-align: right;
            float: left
        }
#Username, #Password, #NationalCode {
    width: 320px;
}
.Login_button_container {
	width: 320px;
	padding-top: 5px;
}
.Login_button_container input {
	width: 49%;
}
.Login_button_container .login-button-other-mode {
	background: #F7F7F7;
	color: #394472;
	border: 1px solid #394472;
}
.Login_button_container .login-button-other-mode.hide {
	display: none;
}
.Login_button_container #login-button:disabled {
	color: gray;
}
#SendCodeViaForSmsToUser:disabled {
    color: white;
    background-color: #DDDDDD;
}
.parentDiv {
    width: 940px;
    margin: 0 auto;
}

.parentDiv > table{
	width:940px;
}

#pageLoadWaitingDiv {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    display: none;
}

#pageLoadWaitingImage {
    background: transparent url('/Images/loading.gif') no-repeat;
    width: calc(100% - 50px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center;
    display: none;
}

@media (max-width: 767px){
	td.rightCell{
		display:none;
	}
	
	td.leftCell{
		width:100%
	}

	.login-img
	{
		background-image: url(/Images/Mobile/login-logo.jpg);
		margin-bottom: 20px;
		background-repeat: no-repeat;
		background-size:130px;
		width: 130px;
		height: 30px;
		border: none;
	}

    .OneTimeEntranceButton_Ellement.OneTimeEntrance_button_show {
        display: block;
        margin-top: 20px;
    }
    
    .leftCell > div{
        margin-right:initial;
        margin-top:60px;
    }

	.leftCell table{
		width:100%;
	}

	#Username, #Password, #NationalCode{
		width:100%;
		height: 23pt;
	}
	
	.Login_button_container {
		width:100%;
		padding-top: 10px;
	}

	.parentDiv{
		width:initial;
	}

	.parentDiv > table{
		width:100%;
	}

	body{
		padding:28px;
		overflow:initial;
	}

	::-webkit-input-placeholder {
	   color:transparent;
	}

	:-moz-placeholder { /* Firefox 18- */
	   color:transparent; 
	}

	::-moz-placeholder {  /* Firefox 19+ */
	   color:transparent; 
	}

	:-ms-input-placeholder {  
	   color:transparent;
	}

	input:not([type=checkbox]).button-left{
		background-color:#2672EC;
		border-style:none;
	}

	.usernameLabel, .passwordLabel, .nationalCodeLabel {
		color:#1F1F1F;
		font-size:9pt;
		font-weight:bold;
		line-height:23pt;
	}

	input[type="submit"]{
		margin-top: 20px;
		height: 30px;
		font-size: 10pt;
	}

	.changeLanguage, .footerLine, .payvastDesktopFooter{
		display:none;
	}

	.KnowledgeReference{
		margin-top:20px;
		display:block;
		font-size: 9pt;
	}

	.payvastSlogan{
		display:block;
		margin-top:22px;
		font-size: 9pt;
	}

	table, td, tr{
		padding:0;
		-webkit-border-horizontal-spacing:0;
		-webkit-border-vertical-spacing:0;
	}

	div.loginFooterLogo img{
		margin-top:80px;
		width:90px;
	}

	div.loginFooterLogo{
		text-align:center;
	}

	.divHeader{
		margin-left:-28px;
		margin-top:-28px;
		margin-right:-28px;
		line-height:58px;
		background-color:#0072C6;
		color:white;
		font-size:10pt;
		text-align:right;
		padding-right:28px;
		font-weight:bold;
		font-family:Iran Sans Web, Tahoma, DownloadTahomaBold;
		border-bottom: solid 2px #D6D6DC;
	}

    #pageLoadWaitingDiv {
        display: none;
    }

    #pageLoadWaitingImage {
        display: none;
    }

}

@media (min-width: 768px){
	.usernameLabel, .passwordLabel, .nationalCodeLabel{
		display:none;
	}

	.KnowledgeReference, .payvastSlogan{
		display:none;
	}

	.loginFooterLogo{
		display:none;
	}

	.divHeader{
		display:none;
	}
}
