@font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: bold;
	src: url('../../fonts/iranyekan/eot/iranyekanwebbold(fanum).eot');
	src: url('../../fonts/iranyekan/eot/iranyekanwebbold(fanum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */
	url('../../fonts/iranyekan/woff2/iranyekanwebbold(fanum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
	url('../../fonts/iranyekan/woff/iranyekanwebbold(fanum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('../../fonts/iranyekan/ttf/iranyekanwebbold(fanum).ttf') format('truetype');
  }
  @font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: 300;
	src: url('../../fonts/iranyekan/eot/iranyekanweblight(fanum).eot');
	src: url('../../fonts/iranyekan/eot/iranyekanweblight(fanum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */
	url('../../fonts/iranyekan/woff2/iranyekanweblight(fanum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
	url('../../fonts/iranyekan/woff/iranyekanweblight(fanum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('../../fonts/iranyekan/ttf/iranyekanweblight(fanum).ttf') format('truetype');
  }
  @font-face {
	font-family: iranyekan;
	font-style: normal;
	font-weight: normal;
	src: url('../../fonts/iranyekan/eot/iranyekanwebregular(fanum).eot');
	src: url('../../fonts/iranyekan/eot/iranyekanwebregular(fanum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */
	url('../../fonts/iranyekan/woff2/iranyekanwebregular(fanum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
	/* FF3.6+, IE9, Chrome6+, Saf5.1+*/
	url('../../fonts/iranyekan/ttf/iranyekanwebregular(fanum).ttf') format('truetype');
  }


	
/* === Reset === */
body{font-family:'iranyekan',Arial,Helvetica, Verdana, sans-serif;margin:0;padding:0;direction: rtl;}
ol,ul,li{list-style:none;margin:0;padding:0;border:0}
a{text-decoration:none;}
::-moz-selection{background-color:#adcdea;color:#333;text-shadow:none}
::selection{background-color:#adcdea;color:#333;text-shadow:none}
textarea, input { outline: none; }

/* === page content === */
#pagewrap{min-height:100%}
.container{margin:0 auto;width:960px}
#wrapper .container{margin:25px auto}

/* === home button === */
.button{
	background:#fff;
	display:inline-block;
	background-color:#f0f0f0;
	color:#3987cc;
	vertical-align:middle;
	text-align:center;
	text-shadow:0 1px white;
	font-weight:500;
	line-height:18px;
	-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 3px rgba(0,0,0,0.5);
	-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 3px rgba(0,0,0,0.5);
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.15),0 1px 3px rgba(0,0,0,0.5);
	border:none;
	padding:13px 30px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
	font-size:18px;
}
.button:hover{opacity:0.9 !important;color:black}

/* === header === */
#header{height:52px;position:fixed;width:100%;position:relative;z-index:999;background:#fff;border-bottom:1px solid #e5e5e5}
#header .container .logo{height:42px;margin:5px 0; vertical-align:middle;border:0}
#header .container .link{font-weight:700; font-size:18px; line-height:18px; color: #222; font-family: "MuseoSans-700",Helvetica,Arial,Verdana,sans-serif; vertical-align:middle;}

/* === footer === */
#footer{font-size:11px;line-height:11px;color:#666666;overflow:hidden;clear:both;position:relative;text-shadow:rgba(255,255,255,0.3) 0px 1px;padding:0px;}
#footer .container{padding:0 0 10px}
#footer .container .copyright_info{float:left;width:450px}
#footer .container .copyright_info li{float:left;margin-right:10px}
#footer .container .links{float:right;width:450px}
#footer .container .links li{float:right;margin-left:10px}

#main-content{position:relative;margin-bottom:-100px}
.duck-animation{background-position:-1000px 30%;background-repeat:no-repeat;height:100px}


/* === Media Query === */
@media screen and (min-width: 768px){
	#errorpage #header{border-bottom:none;box-shadow:0px 1px 3px rgba(0,0,0,0.25)}
	#errorpage #parallax_wrapper{width:1920px;min-height:100%;position:relative;margin-left:-960px}
	#errorpage #content{width:590px;margin:0 auto;color:#fff;text-align:center;z-index:2;position:fixed;top:50%;left:50%;margin:-385px -300px 0}
	#errorpage #content .button{margin-top:35px;cursor:pointer;position:relative;z-index:99999;}
	#errorpage #content h1{font-color:#fff;font-family:"iranyekan",Helvetica,Arial,Verdana,sans-serif;font-size:80px;font-weight:normal;line-height:65px;text-shadow:0px 1px 3px rgba(0,0,0,0.45)}
	#errorpage #content p{font-family:iranyekan,Arial,Verdana,sans-serif;font-size:18px;font-weight:normal;width:512px;margin:0 auto;line-height:26px;text-shadow:0px 1px 3px rgba(0,0,0,0.45)}
	#errorpage.error404{background: url(../images/bg.jpg)}
	#errorpage.error404 #content{width:590px;z-index:9999}
	#errorpage.error404 h1{margin:0 auto;padding:200px 0 20px}
	#errorpage.error404 p{width:440px}
	#errorpage.error404 p a{color:#fffbe5;font-weight:bold;text-decoration:underline}
	#errorpage.error404 .scene{position:absolute;bottom:-100px;display:block;width:1920px}
	
	/* === scene's === */
	#errorpage.error404 .scene.scene_1{height:336px;background:url(../images/scene_1.png) no-repeat left top;pozition:relative; z-index:3;}
	#errorpage.error404 .scene.scene_2{height:500px;background:url(../images/scene_2.png) no-repeat left top;pozition:relative; z-index:2;}
	#errorpage.error404 .scene.scene_3{height:500px;background:url(../images/scene_3.png) no-repeat left top;pozition:relative; z-index:1;}
	
	/* === footer === */
	#errorpage.error404 #footer .container{color:#111;margin-top:0;font-size:12px;text-shadow:none}
	#errorpage.error404 #footer .container a{color:#111}
	#errorpage #footer{background-image:none;border:none;box-shadow:none;z-index:9999;height:30px;margin-top:-30px}
	#errorpage #wrapper{padding:0;overflow:hidden;position:relative}}

@media screen and (max-width: 767px){
	#errorpage #header .container{width:auto}
	#errorpage #content{background:#fff;padding:20px;margin:20px;border:1px solid #ccc;text-align:center;border-radius:5px;box-shadow:0px 1px 0px rgba(0,0,0,0.05)}
	#errorpage #content h1{font-size:24px;line-height:28px;margin:0 0 10px}
	#errorpage #content p{font-size:14px;line-height:18px;color:#666;margin:0 0 10px}
	#errorpage #footer {display:none}
}

