/*  
Theme Name: alzanjani
Theme URI: http://www.alzanjani.ir/
Description: alzanjani theme
Author: Behnam kashani
Author URI: http://www.idek.ir/
Author MAIL: behnam.kashani@gmail.com

*/

* { 
margin : 0; 
padding : 0;
}

a {
	color:#7F443F;
	text-decoration:none;
}

a:active, a:focus {
outline: 0;
}

a img {
	border: none;
}


a:hover {
	color:#FF9933;
	text-decoration:none;
}

ul, li {padding-right:0px; margin-right:0px;}

body {
font-family:Tahoma, Helvetica, Georgia, Sans-Serif;
font-size:13px;
background:#fce9cb;
padding-top:5px;
color:#000000;
direction:ltr;
line-height:20px;

}

#headerx{
width:786px;
height:205px;
background-image:url(images/bg-header.jpg);
background-repeat:no-repeat;
float:left;
}

#all-right{float:left;}

#container {
	width:1000px;
	margin:0 auto;
	direction:rtl;
        display:block;   
}
#content {
	width:786px;
	height:auto;
	float:left;
	position:relative;

}
#content-top {
	background-image:url(images/bg-content-top.jpg);
	background-repeat:no-repeat;
	width:786px;
	height:32px;
}
#content-middle {
	background-image:url(images/bg-content-middle.jpg);
	background-repeat:repeat-y;
	width:786;
	height:auto;
}
#content-bottom {
	background-image:url(images/bg-footer.jpg);
	background-repeat:no-repeat;
	width:786;
	height:112px;
}

#content-bottom-2 {
	background-image:url(images/bg-content-bottom.jpg);
	background-repeat:no-repeat;
	width:786px;
	height:32px;
}

/* ---- SIDEBAR ---- */

#sidebar {
	width:210px;
	float:right;
display:inline;
}

#sidebar-top{
	background-image:url(images/bg-sidebar-top.jpg);
	background-repeat:no-repeat;
	width:210px;
	height:307px;
}

#sidebar-middle{
	background-image:url(images/bg-sidebar-middle.jpg);
	background-repeat:repeat-y;
	width:210px;
	height:auto;
}

#sidebar-bottom{
	background-image:url(images/bg-sidebar-bottom.jpg);
	background-repeat:no-repeat;
	width:210px;
	height:50px;
}

#sidebar-top-txt {
padding-top:101px;
padding-right:60px;
line-height:24px;
font-size:12px;

}

#sidebar-title {
width:185px;
height:35px;
padding: 0 10px;
background-image:url(images/sidebar-h1.gif);
background-repeat:no-repeat;
margin:0 auto;
float:right;

}
#sidebar-title p{
width:185px;
height:35px;
text-align:center;
margin-top:7px;
font-family:tahoma;
font-weight:bold;
color:#800000;
}

#sidebar-txt {
padding-right:30px;
padding-top:20px;
padding-bottom:20px;
color:#74411F;
}

/* ---- BOXES ---- */

#boxes {
	height:246px;
	margin:0 auto;
	width:700px;
	margin-right:25px;
	}
	
#box-right {
	background-image:url(images/bg-box.jpg);
	background-repeat:no-repeat;
	height:246px;
	width:201px;
}

#box-middle {
	background-image:url(images/bg-box.jpg);
	background-repeat:no-repeat;
	height:246px;
	width:201px;
}

#box-left {
	background-image:url(images/bg-box.jpg);
	background-repeat:no-repeat;
	height:246px;
	width:201px;
}

#title-box {
	font-family:tahoma;
	font-size:13px;
	color:#fff;
	text-align:right;
	float:right;
	margin-right:50px !important;
	margin-top:5px;
	margin-right:25px;
}

#title-box a{
	color:#fff;
}
#title-box a:hover{
	color:#F1BE87;
}
#content-box{
	width:165px;
	padding-right:0px;
	padding-left:11px;
	text-align:right;
	float:left;
	height:240px;
	font-size:12px;
	line-height:17px;
	list-style-image: url(images/arrow.gif);
	*float:right;
	*padding-right:50px;
	*width:170px;
	line-height:20px;
}

#content-box a{
color:#363F23;
}

#content-box a:hover{
color:#FF9933;
}

#sprator{
width:500px;
height:1px;
margin:0 auto;
padding:0 0px;
border-bottom:1px dashed #BF975F;

}

/* ---- CONTENT-TEXT ---- */

.content-txt {
width:700px;
margin-right:50px;
padding-bottom:20px;
color:#2F251A;
text-align:right;
}

.content-txt-title {
width:700px;
margin-right:40px;
font-weight:bold;
padding:10px 0 ;
font-size:13px;
list-style-image: url(images/arrow.gif);
}

/*
CSS Name: Default Styles
Description: NextGEN Default Gallery Stylesheet
Author: Alex Rabe
Version: 1.43

This is a template stylesheet that can be used with NextGEN Gallery. I tested the
styles with a default theme Kubrick. Modify it when your theme struggle with it,
it's only a template design

*/

/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
    height: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #fff;
}

/* IE6 will ignore this , again I hate IE6 */
/* See also http://www.sitepoint.com/article/browser-specific-css-hacks */
html>body .ngg-album {
    overflow:hidden;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
} 

.ngg-album {
	overflow: hidden;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #cccccc;
}

.ngg-albumtitle {
	text-align: left;
 	font-weight: bold;
	margin:0px;
	padding:0px;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.ngg-thumbnail {
	float: left;
	margin-right: 12px;
}

.ngg-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	margin:4px 0px 4px 5px;
	padding:4px;
	position:relative;
}

.ngg-thumbnail img:hover {
	background-color: #A9A9A9;
}

.ngg-description {
	text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
	float:left;
	height:180px;
	padding-right:6px !important;
	margin:0px !important; 
	text-align:left;
	width:120px;	
}

.ngg-album-compactbox {
	background:transparent url(albumset.gif) no-repeat scroll 0%;
	height:86px;
	margin:0pt 0pt 6px !important;
	padding:12px 0pt 0pt 7px !important;
	width:120px;
}


.ngg-album-compactbox .Thumb {
	border:1px solid #000000;
	margin:0px !important;
	padding:0px !important;
	width:91px; 
	height:68px;
}

.ngg-album-compact h4 {
	font-size:15px;
	font-weight:bold;
	margin-bottom:0px;
	margin-top:0px;
	width:110px;
}

.ngg-album-compact p {
	font-size:11px;
	margin-top:2px;
}

/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
	overflow: hidden;
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-galleryoverview .desc {
/* required for description */
   margin:0px 10px 10px 0px;
   padding:5px;
}

.ngg-gallery-thumbnail-box {
	float: left;
}

.ngg-gallery-thumbnail {
	float: left;
	margin-right: 5px;
}

.ngg-gallery-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	display:block;  
	margin:4px 0px 4px 5px;
	padding:4px;
	position:relative;
}

.ngg-gallery-thumbnail img:hover {
	background-color: #A9A9A9;
} 

.ngg-gallery-thumbnail span {
	/* Images description */
	font-size:90%;
	padding-left:5px;
	display:block;
}

.ngg-clear {
	clear: both;
}

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
	font-size:0.9em !important;
	clear:both !important;
	display:block !important;
	padding-top:15px;
	text-align:center;
        direction:ltr;
	
}

.ngg-navigation span {
	font-weight:bold;
	margin:0pt 6px;
}

.ngg-navigation a.page-numbers, a.next, a.prev, 
				span.page-numbers, span.next, span.prev {
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-navigation a.page-numbers:hover, a.next:hover, a.prev:hover, 
				span.page-numbers:hover, span.next:hover, span.prev:hover {
	background-color: #0066CC;
	color: #FFFFFF !important;
	text-decoration: none !important;
}

/* ----------- Image browser style -------------*/

.ngg-imagebrowser {
	
}

.ngg-imagebrowser h3 {
	text-align:center;
}

.ngg-imagebrowser img {
	border:1px solid #A9A9A9;
	margin-top: 10px; 
	margin-bottom: 10px; 
	width: 100%;
	display:block !important;
	padding:5px;
}

.ngg-imagebrowser-nav {
	padding:5px;
	margin-left:10px;	
}

.ngg-imagebrowser-nav .back {
	float:left;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .next {
	float:right;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .counter {
	text-align:center;
	font-size:0.9em !important;
}

/* ----------- Slideshow -------------*/
.slideshow {
	margin-left: auto; 
	margin-right: auto;
	text-align:center;	
}

.slideshowlink {
	
}

/* ----------- Single picture -------------*/
.ngg-singlepic-wrapper {
	padding: 1px;
}

.ngg-singlepic {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	display:block;  
	margin:4px 0px 4px 5px;
	padding:4px;
	position:relative;
}

.ngg-left {
	float: left;
	padding-right:10px;
}

.ngg-right {
	float: right;
	padding-left:10px;
}

.ngg-center img {
  	margin-left: auto !important;
    margin-right: auto !important;
}

/* ----------- Sidebar widget -------------*/
.ngg-widget,
.ngg-widget-slideshow {
	overflow: hidden;
	margin:0pt;
	padding:5px 0px 0px 0pt;
}

.ngg-widget img {
	border:2px solid #A9A9A9;
	margin:0pt 2px 2px 0px; 
	padding:1px; 
}

/* ----------- Related images -------------*/
.ngg-related-gallery {
	background:#F9F9F9;
	border:1px solid #E0E0E0;
	overflow:hidden;
	margin-bottom:1em;
	margin-top:1em;
	padding:5px;
}
.ngg-related-gallery img {
	border: 1px solid #DDDDDD;
	float: left;
	margin: 0pt 3px;
	padding: 2px;
	height: 50px;
	width:  50px;
}

.ngg-related-gallery img:hover {
	border: 1px solid #000000;
} 

.alignright {border:5px solid red;
}