@font-face {
	font-family: iransans_black;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Black.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Black.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb(FaNum)_Black.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb(FaNum)_Black.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb(FaNum)_Black.ttf') format('truetype');
}
@font-face {
	font-family: iransans_bold;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}
@font-face {
	font-family: iransans_medium;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}
@font-face {
	font-family: iransans_light;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}
@font-face {
	font-family: iransans_ultraLight;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot');
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}
@font-face {
	font-family: iransans;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum).eot');
	src: url('../fonts/iransans/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
		 url('../fonts/iransans/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
		 url('../fonts/iransans/woff/IRANSansWeb(FaNum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
		 url('../fonts/iransans/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}
body {
    direction: rtl;
    text-align: right;
    font-family: iransans;
}
.bold{font-family: iransans_bold;}
.popupbox{max-width: 600px;display: none;margin-left: 15px;margin-right: 15px;width: 100%;}
.popupbox .inner
{
    direction: rtl;
    text-align: right;
}
.popupbox .inner .textfield
{
    border: 1px solid #000;

}
.popupbox .inner form button{background:#aa0304 !important;color: #fff;}
.popupbox .inner form button:hover{background:#580805}
.popupbox .inner form button:before,.popupbox .inner form button:after{display: none;}
.popupbox .tip-errorBox
{
	position: absolute;
	right:10px;
	bottom: -20px;
	color: #aa0304;
	font-size: 12px;
	line-height: 20px;
	font-family: iransans;
}
.popupbox .input-wrp{position: relative;}
.popupbox .tip-error input{border-color: #aa0304 !important;margin-bottom: 5px;}
.popupbox .alert-success,.popupbox .alert-danger
{
	font-family: iransans;
	font-size: 16px;
	opacity: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: all ease-in-out .3s;
    padding: 0;
	text-align: center;
}
.popupbox .alert-danger
{
	font-family: iransans;
	color: #aa0304;
}
.popupbox .alert.active
{
	display: block;
	opacity: 1;
    max-height: 200px;
    margin-top: 20px;
    padding: 15px;
}
.popupbox form button
{
	overflow: visible;
	position: relative;
	margin-top: 35px !important;
}
.popupbox form button .loader {
    width: 50px;
    display: none;
    height: 50px;
    position: absolute;
    left: -50px;
    background: #fff url(../img/loading.gif) no-repeat 50% 50%;
    background-size: 100% auto;
    top: 50%;
    transform: translateY(-50%);
}
.popupbox .inner p{font-family: iransans;text-align: justify;}