/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}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:none}table{border-collapse:collapse;border-spacing:0}



@font-face {
	font-family: 'Yekan';
	src: url('fonts/BYekan.eot?#') format('eot'),
	     url('fonts/BYekan.woff') format('woff'),
	     url('fonts/BYekan.ttf') format('truetype');
}

html {direction: rtl; height: 100%;}
[lang|=en], .ltr {direction: ltr;}

body {background: #373737 url(../img/bg.jpg) repeat; font-family: Yekan, Tahoma, Geneva, sans-serif; font-size: 18px; height: 100%;}
h2, h3, h4, h5, h6 {margin: 4px 0 2px 0; color: #0993e4; text-shadow: 1px 2px 2px #c4c4c4;}
h2 {font-size: 21px;}
h3 {font-size: 20px;}
h4, h5, h6 {font-size: 19px;}
a {color: #0e6488; text-decoration: none; outline: 0 none;}
a:hover, a:active, a:focus {color: #00b3ff;}
input, select, button, label, textarea {font-family: Yekan, Tahoma, Geneva, sans-serif; font-size: 13px; color: #000; display: inline-block; margin: 2px;}
input[type=text], input[type=password], input[type=file], textarea {font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #000;}
input[type=text], input[type=password] {width: 120px; height: 18px; line-height: 18px; padding: 2px;}
textarea {width: 120px; height: 54px; line-height: 18px; padding: 2px;}
input[type=submit], input[type=reset], input[type=button], button {padding: 1px 8px;}
label {height: 24px; line-height: 24px;}
input[type=radio], input[type=checkbox] {width: 13px; height: 13px; padding: 0; vertical-align: bottom; position: relative; top: -4px;}
input[type=text], input[type=password], textarea, select {border: 1px solid #0e6488; outline: 0 none;}
input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {border-color: #00b3ff; -webkit-box-shadow: 0 0 2px 1px #ccf; -moz-box-shadow: 0 0 2px 1px #ccf; box-shadow: 0 0 2px 1px #ccf;}
input[type=radio]:focus, input[type=checkbox]:focus, input[type=file]:focus {outline: 1px solid #00b3ff;}



body.home .main {width: 1000px; padding: 75px 0; margin: 0 auto;}
body.home h1 {text-align: center;}
body.home img {width: 850px; height: 369px;}
body.home .nav {margin-top: 25px; text-align: center;}
body.home ul {display: inline-block;}
body.home li {float: right;}
body.home a {color: #b3b3b3; display: inline-block; height: 32px; line-height: 31px; padding: 0 14px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-transition: all .3s ease-out; -moz-transition: all .3s ease-out; -o-transition: all .3s ease-out; transition: all .3s ease-out;}
body.home a:hover,
body.home a:focus {color: #fff; background: #0f8bbe; background: -moz-linear-gradient(top, #0f8bbe 0%, #0eb7fe 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0f8bbe), color-stop(100%,#0eb7fe)); background: -webkit-linear-gradient(top, #0f8bbe 0%,#0eb7fe 100%); background: -o-linear-gradient(top, #0f8bbe 0%,#0eb7fe 100%); background: -ms-linear-gradient(top, #0f8bbe 0%,#0eb7fe 100%); background: linear-gradient(to bottom, #0f8bbe 0%,#0eb7fe 100%); -webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px; -webkit-box-shadow: 1px 2px 10px 1px #888; -moz-box-shadow: 1px 2px 10px 1px #888; box-shadow: 1px 2px 10px 1px #888;}

#container {width: 100%; min-height: 100%; position: relative;}

#header {width: 850px; height: 74px; padding-top: 26px; margin: 0 auto; text-align: center;}

#nav {width: 850px; padding: 14px 0; margin: 0 auto; text-align: center; font-size: 13px;}
#nav ul {display: inline-block;}
#nav li {float: right; padding-right: 1px; height: 26px; line-height: 25px; background: url(../img/nav-seperator.png) right no-repeat;}
#nav li:first-child {background: none; padding-right: 0;}
#nav a {color: #b3b3b3; margin: 0 10px;}
#nav a:hover,
#nav a:focus {color: #00b3ff;}

#body {width: 850px; padding-bottom: 170px; margin: 0 auto;}
#body .inner-1 {padding: 15px; border: 1px solid #626262; background: #4c4c4c; background: rgba(255,255,255,.1);}
#body .inner-2 {padding: 15px; background: #f6f6f6; -webkit-box-shadow: 0 0 5px 1px #222; -moz-box-shadow: 0 0 5px 1px #222; box-shadow: 0 0 5px 1px #222;}

#featured {height: 190px; padding: 3px; border: 1px solid #e4e4e4; margin-bottom: 15px;}
#featured img {width: 780px; height: 190px; display: none;}
#featured img:first-child {display: block;}

#body-content {color: #666; line-height: 22px;}
#body-content p {padding: 4px 0; text-align: justify;}
#body-content strong,
#body-content b {font-weight: normal; color: #000;}
#body-content ul {padding: 4px 0; margin-right: 18px; list-style: disc inside;}
#body-content ul ul {padding: 0;}
#body-content table {margin: 4px auto; text-align: center;}
#body-content th {padding: 4px 8px; border: 1px solid #444; color: #000; background: #c8c8c8;}
#body-content td {padding: 4px 8px; border: 1px solid #444;}
#body-content tr:nth-child(odd) td {background: #fff;}
#body-content tr:nth-child(even) td {background: #eee;}

#footer {position: absolute; bottom: 0; width: 100%; height: 139px; border-top: 1px solid #1b1b1b; background: #212121; background: rgba(0,0,0,.4); font-size: 13px; text-align: center;}
#footer .inner-1 {height: 138px; border-top: 1px solid #4a4a4a;}
#footer ul {padding: 35px 0 20px; display: inline-block; color: #6b6b6b;}
#footer li {float: right; padding: 0 10px;}
#footer p {padding: 5px 0; color: #ccc;}
#footer a {color: inherit;}
#footer a:hover,
#footer a:focus {color: #00b3ff;}



/* SoroushGallery styles */

.gallery-thumbs span {display: inline-block; vertical-align: top; width: 160px; margin: 5px 18px;}
.gallery-thumbs span a {display: inline-block; width: 150px; height: 150px; background: #fefefe; border: 5px solid #fff; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; -moz-transition: border-color .3s; -webkit-transition: border-color .3s; -o-transition: border-color .3s; transition: border-color .3s;}
.gallery-thumbs span a:hover {border-color: #b0d1e4;}
.gallery-thumbs span img {width: 150px; height: 150px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
.gallery-thumbs span p {margin: 0 5px; padding: 0 !important; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; line-height: normal; word-wrap: break-word; color: #666;}
.gallery-thumbs > img {display: none;}
.gallery-thumbs.loading {height: 100px; background: url(../img/loading.gif) center center no-repeat;}
.gallery-thumbs.error {height: 100px; background: url(../img/broken-img.png) center center no-repeat;}

.pagination {direction: ltr; text-align: center; margin-top: 20px;}
.pagination a {display: inline-block; vertical-align: top; height: 35px; min-width: 27px; color: #fff; font-size: 18px; line-height: 32px; padding: 0 4px; background: url(../img/pagination.png) 0 0 repeat-x;}
.pagination a[href]:hover,
.pagination a.active {color: #00484c;}
.pagination a.prev,
.pagination a.next {width: 25px; min-width: 0; padding: 0; background-repeat: no-repeat;}
.pagination a span {display: inline-block; width: 25px; height: 35px; background-image: url(../img/pagination.png); background-repeat: no-repeat;}
.pagination a.inactive span {display: none;}
.pagination a.prev {background-position: 0 -35px;}
.pagination a.next {background-position: 0 -70px;}
.pagination a.prev span {background-position: 0 -105px;}
.pagination a.prev:hover span {background-position: -1px -105px;}
.pagination a.next span {background-position: 0 -140px;}
.pagination a.next:hover span {background-position: 1px -140px;}

.center-1 {display: table; table-layout: fixed; width: 100%; height: 100%;}
.center-2 {display: table-cell; text-align: center; vertical-align: middle;}
.center-3 {display: inline-block;}

#theater {display: none; min-width: 675px; min-height: 415px; position: absolute; top: 0; right: 0; background: url(../img/black-80.png) repeat; z-index: 9999;}
#stage-wrapper {text-align: right; margin: 7px;}
#stage {width: 660px; height: 400px; position: relative; background: #000;}
#stage-text-wrapper {width: 260px; height: 100%; position: absolute; top: 0; right: 0; overflow: hidden; background: #fff;}
#stage-text {padding: 3px 6px; word-wrap: break-word; color: #666;}
#theater-close {cursor: pointer; width: 10px; height: 10px; padding: 2px; background: url(../img/theater.png) -16px -88px no-repeat;}
#stage-image-wrapper {height: 100%; margin-right: 260px; position: relative;}
#stage-image.loading {width: 16px; height: 11px; background: url(../img/loading-img.gif) no-repeat;}
#stage-image.broken {width: 100px; height: 99px; background: url(../img/broken-img.png) no-repeat;}
#stage-image-wrapper span,
#stage-image-wrapper a {position: absolute; display: block; cursor: pointer; -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; filter: alpha(opacity=0); zoom: 1; -moz-transition: opacity .5s ease-out; -webkit-transition: opacity .5s ease-out; -o-transition: opacity .5s ease-out; transition: opacity .5s ease-out;}
#stage-image-wrapper span.inactive {cursor: default;}
#stage-image-wrapper:hover span,
#stage-image-wrapper:hover a,
#stage-image-wrapper span.inactive:hover {-moz-opacity: .4; -khtml-opacity: .4; opacity: .4; filter: alpha(opacity=40);}
#stage-image-wrapper span:hover,
#stage-image-wrapper a:hover {-moz-opacity: 1; -khtml-opacity: 1; opacity: 1; filter: alpha(opacity=100);}
#stage-image-wrapper span div {position: relative; display: inline-block; width: 27px; height: 45px; top: 50%; margin-top: -22px;}
#theater-prev {width: 20%; height: 100%; top: 0; left: 0; text-align: left;}
#theater-next {width: 80%; height: 100%; top: 0; right: 0; text-align: right;}
#theater-prev div {margin-left: 10px; background: url(../img/theater.png) 0 0 no-repeat;}
#theater-next div {margin-right: 10px; background: url(../img/theater.png) 0 -45px no-repeat;}
#theater-popout {width: 15px; height: 11px; top: 4px; right: 4px; background: url(../img/theater.png) 0 -90px no-repeat;}



/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	/*overflow: hidden;*/
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: none;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
	background:white; 
	filter:alpha(opacity=0); 
	opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	width:100%;
	z-index:8;
	padding: 5px 10px;
	opacity: 0.8;
	overflow: hidden;
	display: none;
	-moz-opacity: 0.8;
	filter:alpha(opacity=8);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
	padding: 15px 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

/*
Skin Name: Nivo Slider Default Theme
Skin URI: http://nivo.dev7studios.com
Description: The default skin for the Nivo Slider.
Version: 1.3
Author: Gilbert Pellegrom
Author URI: http://dev7studios.com
Supports Thumbs: true
*/

.theme-default .nivoSlider {
	position:relative;
	background:#fff url(../img/nivo-loading.gif) no-repeat 50% 50%;
}
.theme-default .nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.theme-default .nivoSlider a {
	border:0;
	display:block;
}
.theme-default .nivo-controlNav {
	display: none;
}
.theme-default .nivo-directionNav a {
	display:block;
	width:36px;
	height:36px;
	top:50%;
	margin-top:-18px;
	background:url(../img/nivo-arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
	opacity: 0;
	-webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.theme-default:hover .nivo-directionNav a { opacity: 1; }
.theme-default a.nivo-nextNav {
	background-position:-36px 0;
	right:-18px;
}
.theme-default a.nivo-prevNav {
	left:-18px;
}
.theme-default .nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
    color:#fff;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled {
	width: 100%;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
	width: auto;
	height: auto;
	background: none;
	margin-bottom: 5px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
	display: block;
	width: 120px;
	height: auto;
}

div.photo {
width: 100%;
}

ul.photo-list {
width: 100%;
clear: both;
margin: 5px;
display: block;
}

.photo-box {
border: 1px solid #888;
display: block;
list-style: none;
width: 167px;
height: 170px;
float: right;
margin:10px;
font-size: 12px;
text-align: center;
}

.photo-box-image {
width: 75px;
margin: 5px auto;
}

.paginator {
clear: both;
}

.paginator ul {
    margin: 30px auto;
    width: 50%;
}

.paginator li {
list-style: none;
    display: block;
    float: right;
    margin: 3px;
    width: 10px;
}