﻿* {
	margin: 0;
	padding: 0;
	list-style-type: circle;
}
fieldset {
	border: 0;
}
img {
	border: 0;
}
textarea {
	font-family: IranSans;
	font-size: 1em;
	width: 273px;
	height: 100px;
}
input {
	font: 1em/1.5em IRANSans;
}
select {
	font: 1em/1.5em IRANSans;
}
body {
	font-family: IRANSans;
	font-size: .9em;
	xfont-weight: 300;
}
table, td {
	font-size: .9em;white-space: nowrap;
}
html {
	background: #F3F1E8 url(back.png) repeat-x center top;
}
a:visited {
	text-decoration: none;
	color: #000;
}
a:link {
	text-decoration: none;
	color: #000;
	text-align: center;
}
a:active {
	text-decoration: underline;
}
a:hover {
	text-decoration: underline;
}
#content {
	background:#fff;
	margin: 0px auto;
	width: 1000px;
	padding: 1px 0px 0px 0px;
	position: relative;
	border: 0px;
-webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.5);
box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.5);}
#error {
	position: absolute;
	top: 350px;
	margin-left: 1em;
	width: 270px;
	color: #C00;
	font-weight: bold;
}
#imgPreview {
	left: 350px;
	line-height: 100px;
	position: absolute;
	text-align: center;
	top: 220px;
	width: 130px;
}
#imgPreview img {
	vertical-align: middle;
}
#footer {
	clear: both;
	color: #6E6E6E;
	padding: 2em .5em .5em;
	font-size: .9em;
	font-family: IRANSans;
	text-align: center;
}
#footer ul {
	list-style-type: none;
	margin-top: 4px;
}
#footer img {
	vertical-align: middle;
}
#footer ul li {
	display: inline;
	border-left: 1px solid #CCC;
	padding-left: 4px;
}
#footer li:first-child {
	border: 0;
}
#footer #stats {
	visibility: hidden;
}
#footer #stats div {
	display: inline;
}
#footer #stats img {
	height: 1px;
}
h1 {
	text-indent: -1000em;
	xmargin: 17px 0px 16px 383px;
	border: 0px;
}
h2{
 margin:7px 0;text-align:right;padding:0px 10px;
 font-size:16px;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 1); 

background: -moz-linear-gradient(left, rgba(153,153,153,0) 0%, rgba(255,255,255,1) 100%);
background: -webkit-linear-gradient(left, rgba(153,153,153,0) 0%,rgba(255,255,255,1) 100%);
background: linear-gradient(to right, rgba(153,153,153,0) 0%,rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00999999', endColorstr='#ffffff',GradientType=1 );

}

#generator {
margin-top: 26px;

	background: #e6b616;
	background: -moz-linear-gradient(top, #e6b616 0%, #ffeb99 100%);
	background: -webkit-linear-gradient(top, #e6b616 0%,#ffeb99 100%);
	background: linear-gradient(to bottom, #e6b616 0%,#ffeb99 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6b616', endColorstr='#ffeb99',GradientType=0 );
	-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomright: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;	width: 673px;
	height: 300px;
	float: left;
	position: relative;
	
}
#generator h2 {
	color:#e6b616
}
}
#generator label {
	float: right;
	font-size: .9em;
	width: 12em;
	width: 90px;
	margin-right: 12px;
}
#generator label.sort {
	width: 11em;
}
#generator label.after {
	float: none;
	font-weight: normal;
	margin: 0;
	width: auto;
}
#generator p {
	line-height: 2.2em;
}
#generator span {
	float: left;
	width: 1em;
}
#generator input {
	padding: 1px;
	width: 12em;
	line-height: normal;
}
#generator #trans {
	margin: 0 0 0 12px;
	width: auto;
}
#generator #layer {
	height: 20px;
	left: 156px;
	position: absolute;
	top: 54px;
	width: 242px;
}
#generator #indicator {
	position: absolute;
	left: 140px;
	top: 180px;
	visibility: hidden;
}
#generator #generateit {
	width: 210px;
	height: 31px;
	float: right;
	margin: 25px 12px 0 0;
}
#generator #typelist {
	background: #FFF;
	border: 1px solid #868686;
	height: 220px;
	left: 156px;
	top: 73px;
	overflow: auto;
	position: absolute;
	width: 240px;
	display: none;
}
#generator #typelist a {
	display: block;
	text-align: center;
	padding: 10px 0;
}
#generator #typelist a:hover {
	background: #DDD;
}
#advertisement {
margin-top: 26px;

	width: 303px;
	height: 300px;
	float: right;
	z-index: 100;
	 text-align:justify; direction:rtl;
	background: #0f8dab;
background: -moz-linear-gradient(top, #0f8dab 0%, #b5dbf1 100%);
background: -webkit-linear-gradient(top, #0f8dab 0%,#b5dbf1 100%);
background: linear-gradient(to bottom, #0f8dab 0%,#b5dbf1 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f8dab', endColorstr='#b5dbf1',GradientType=0 );
-webkit-border-top-left-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-bottomleft: 5px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;}

#advertisement h2{
	color:#0f8dab
 
}
#advertisement p {
	font-size: .9em;
	float: right;
	color: #FFF;
	margin-right: 5px;
}
#preview {
	margin-top: 26px;
	xbackground: #A91717 url(preview-back.png) repeat-x left top;
	width: 673px;
	float: left;
	height: 433px;
	z-index: 101;
	
	background: #9a0d0d;
background: -moz-linear-gradient(top, #9a0d0d 0%, #d83636 100%);
background: -webkit-linear-gradient(top, #9a0d0d 0%,#d83636 100%);
background: linear-gradient(to bottom, #9a0d0d 0%,#d83636 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9a0d0d', endColorstr='#d83636',GradientType=0 );
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-right-radius: 5px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomright: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;	
	
}
#preview h2 {
	color:#9a0d0d
}
#preview #loaderin li {
	list-style-type: circle;
}
}
#preview #loaderin {
	background:url(preview-text-back.gif) no-repeat left top fuchsia;
	height: 115px;
	width: 344px;
	padding: 40px 24px;
	margin: 52px auto 16px;
	font-size: .9em;
}
#preview #loader {
	background: #fff;
	xheight: 300px;
	xwidth: 344px;
	padding: 20px 24px;
	margin: 32px 30px 10px 30px;
	font-size: .9em;
	text-align: justify;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#preview #loaderin {
	text-align: center;
	line-height: 115px;
}
#preview div ol {
	padding: 12px 30px;
}
#preview #downloadit {
	display: block;
	background: #FFF url(download.gif) no-repeat left top;
	width: 224px;
	height: 31px;
	text-indent: -9000em;
	border: 0;
	cursor: pointer;
	margin: 20px 124px 0 125px;
	font-size: 0;
	color: #000;
}
#top10 {
	margin-top: 26px;
	width: 303px;
	height: 433px;
	float: right;
	background: #647e00;
background: -moz-linear-gradient(top, #647e00 0%, #e6fd8a 100%);
background: -webkit-linear-gradient(top, #647e00 0%,#e6fd8a 100%);
background: linear-gradient(to bottom, #647e00 0%,#e6fd8a 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#647e00', endColorstr='#e6fd8a',GradientType=0 );
-webkit-border-top-left-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-bottomleft: 5px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
#top10 h2 {
color:#647e00;
}
#top10 li {
	line-height: 36px;
	height: 36px;
	list-style-type: none;
	overflow: hidden;
	border-bottom: 1px solid  green;
}
#top10 a {
	display: block;
	text-decoration: none;
	text-align: right;
	margin-left: 10px;
	height: 36px;
}
#top10 img {
	vertical-align: middle;
}
#linkbox a {
	display: inline;
}
#keyb {
	width: 454px;;
	position: absolute;
	background: #E2EBED;
	visibility: hidden;
	border: 1px #317082 solid;
	color: #000;
	text-align: center;
	z-index: 1000;
	display: block;
}
#keyb img {
	border-top: 1px #317082 solid;
	margin-top: 3px;
}
#matn{
	width: 540px;
}
#tazhiblist{
	width:540px;
}
#adv1{
	max-width: 728px;margin:0px auto
}
#adv1 img{
	border: 0px;width: 100%;height: auto; margin:auto
}
@media only screen and (max-width: 768px) {
/*  For mobile phones: */
    
    #content{
		width: auto;margin:0px auto
	}
	#preview,#top10,#advertisement,#generator{
	width:  auto;
	margin:26px 20px 0 20px;
	height:auto;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	}
	#generator{

}
	#footer,#matn,#tazhiblist{
	 width:100%;height:auto; 
	}
	table{ width:100%;xpadding:0 10px
	
}*/
