/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME:		CoolWater
   TEMPLATE CODE: 	S-0019
   VERSION:          1.0     
	DATE:					November-07-2007     	
 *******************************************/
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { margin: 0; padding: 0; outline: 0; }

body {
	background: #caced1;
	font: 70%/1.5em  Tahoma, arial, sans-serif;
	color: #777;
	text-align: center;
	margin: 15px 0;
	direction:rtl;
}

/* links */
a, a:visited {
	text-decoration: underline;
	
	color: #FB9233; 
}
a:hover {
	text-decoration: underline;
	
	color: #93C600;
}

/* headers */
h1, h2, h3 { font-family:  Tahoma, Sans-serif;  }
h1 {
	font-size: 180%;	
	font-weight: normal;	
	color: #555;
}
h2 {
	font-size: 160%;
	color: #88ac0b;
	font-weight: normal;
}
h3 {
	font-size: 135%;	 
	color: #666666;
}

/* images */
img {
	background: #fff;
   border: 1px solid #E5E5E5;
	padding: 5px;
}
img.float-right { margin: 5px 0px 10px 10px;  }
img.float-left { margin: 5px 10px 10px 0px; }

h1, h2, h3, p {
	margin: 10px 15px;
	padding: 0;
}
ul, ol {
	margin: 5px 15px;
	padding: 0 25px;
}

code {
  margin: 5px 0;
  padding: 15px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em tahoma, 'courier new', monospace ;
  /* white-space: pre; */
  border: 1px solid #E5F0FB;  
  background: #F4F8FD;
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #777;
}
blockquote {
  margin: 10px 15px;
  padding: 0 0 0 25px;  
  font: bold 1.3em/1.5em  Tahoma, arial, Sans-serif; 
  color: #2361BA;
  border: 1px solid #E5F0FB;   
  background: #F4F8FD url(quote.jpg) no-repeat 8px 6px;
}

/* start - table */
table {
	border-collapse: collapse;
	margin: 10px 15px;	
}
th strong {
	color: #fff;
}
th {
	background: #306bc1 url(button-bg.jpg) repeat-x 0 0; 
	height: 35px;
	padding-left: 12px;
	padding-right: 12px;
	color: #fff;
	text-align: left;
	border: 1px solid #306bc1;
	border-bottom-width: 2px;
}
tr {
	height: 32px;
	background: #fff;	
}
td {
	padding-left: 12px;
	padding-right: 12px;
	border: 1px solid #E5F0FB; 
}
/* end - table */

/* form elements */


/* search form */
.searchform {
	background-color: transparent;
	border: none;	
	margin: 0; 
	padding: 5px 0 5px 0;	
	width: 180px;	
}
.searchform p { margin: 0; padding: 0; }
.searchform input.textbox { 
	width: 95px;
	color: #777; 
	height: 20px;
	padding: 2px;	
	border: 1px solid #D2E8F7; 
	vertical-align: top;
}
.searchform input.button { 
	width: 70px;
	padding: 2px 5px;
	vertical-align: top;
	font: bold 10px Tahoma, Sans-serif; 
	height: 25px;
	margin: 0;
	padding: 5px 3px; 
	color: #fff;
	background: #306bc1 url(button-bg.jpg) repeat-x 0 0; 
	border: 1px solid #306bc1;
}

/********************************************
   LAYOUT
********************************************/ 
#wrap {
	width: 790px;
	background: #CCC url(content.jpg) repeat-y center top;
	margin: 0 auto;
	text-align: left;
}
#content-wrap {
	clear: both;
	width: 760px;	
	margin: 5px auto;
	padding: 0; 	
}
#header {
	position: relative;
	height: 131px;
	/*background: #caced1 url(header.jpg) no-repeat center top;*/
	padding: 0;	
	color: #fff;	
}
#header h1#logo-text a {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 55px tahoma, Arial, Sans-serif;
	letter-spacing: -3px;
	color: #fff;
	text-transform: none;
	text-decoration: none;
	background: transparent;
	
	/* change the values of top and left to adjust the position of the logo*/
	top: 18px; left: 35px;	
}
#header span#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 13px 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #FFF;
	
	/* change the values of top and left to adjust the position of the slogan*/
	top: 70px; left: 50px;		
}

/* header links */
#header #header-links {
	position: absolute;
	color: #C6DDEE;
	font: bold 14px Tahoma, Sans-serif;
	top: 20px; right: 20px;	
}
#header #header-links a {	
	color: #fff;
	text-decoration: none;	
}
#header #header-links a:hover {
	color: #D4FF55;	
}

/* navigation */
#menu {
	clear: both;	
	margin: 0 auto; padding: 0;
	background: #81C524 url(menu.jpg) no-repeat;	
	font: bold 16px/40px  Tahoma, Sans-serif;
	height: 40px;
	width: 790px;	
}
#men {padding-right:5px;
padding-top:10px}

/* Main Column */
#main {
	float: left;
	width: 555px;
	margin: 0; padding: 20px 0 0 0; 
	display: inline;
	background: url(box.jpg) no-repeat;
	text-align:justify;
}
#main h2 {
	font: normal 180%  Tahoma, Arial, Sans-serif;
	padding: 0; 	
	margin-bottom: 0;		
	color: #2666c3;
}
#main h2 a {
	color: #2666c3;
	text-decoration: none;	
}

#main p, #main h1, #main h2, #main h3, #main ol, #main ul,
#main blockquote, #main table, #main form {
	margin-left: 20px;
	margin-right: 25px;
}
#main ul li {
	list-style-image: url(bullet.gif); 
}

/* Sidebar */	
#sidebar {
	float: right;
	width: 195px;
	padding: 0; margin: 10px 0 0 0;	
	color: #777;	
}	
#sidebar h2 {
	margin: 15px 5px 10px 5px;
	font: bold 12px  Tahoma, Sans-serif;
	color: #555;
	text-align:right;
}
#sidebar p {
	margin-left: 5px;
}

#sidebar ul {
	list-style: none;
	text-align: right;
	margin: 7px 10px 8px 0; padding: 0;
	text-decoration: none;	
	border-top: 1px solid #A9D4EF;	
}
#sidebar ul li {
	list-style: none;
	padding: 4px 0 4px 5px;
	margin: 0 2px;	
	color: #777;	
	border-bottom: 1px solid #D2E8F7; 
}
* html body #sidebar ul li {
	height: 1%;
}
#sidebar ul li a {
	text-decoration: none;	
	color: #1773BC;				
}
#sidebar ul li a:hover {	
	color: #333;
}
#sidebar ul ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul ul li { border: none; }

/* Footer */	
#footer {
	color: #C6DDEE;
	background: #caced1 url(footer.jpg) no-repeat center top;
	clear: both;
	width: 790px;
	height: 57px;
	text-align: center;	
	font-size: 90%;	
}
#footer p { 
	padding: 10px 0;
	margin: 0;
}
#footer a { 
	color: #fff;
	text-decoration: none; 
}

/* post footer */
.post-footer {
	background: #F4F8FD;
	padding: 5px; margin: 20px 25px 0 25px;
	border: 1px solid #E5F0FB; 
	font-size: 95%;	
}
.post-footer .date {	padding-left: 0px; margin: 0 5px; }
.post-footer .comments { padding-left: 0px; margin: 0 5px; }
.post-footer .readmore { padding-left: 0px; margin: 0 5px; }

.post-by { font-size: .95em;	margin-top: 0;	}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }

	/* --[[ Main Expand Icons ]]-- */
	#imenus0 .imeam span,#imenus0 .imeamj span {width:16px; height:9px; left:-16px; top:3px; background-repeat:no-repeat;background-position:top left;}
	#imenus0 li:hover .imeam span,#imenus0 li a.iactive .imeamj span {background-repeat:no-repeat;background-position:top left;}


	/* --[[ Sub Expand Icons ]]-- */
	#imenus0 ul .imeas span,#imenus0 ul .imeasj span {background-image:url(sample2_sub_arrow.gif); width:10px; height:13px; left:-10px; top:0px; background-repeat:no-repeat;background-position:top left;}
	#imenus0 ul li:hover .imeas span,#imenus0 ul li a.iactive .imeasj span {background-image:url(sample2_sub_arrow.gif); background-repeat:no-repeat;background-position:top left;}


	/* --[[ Main Container ]]-- */
	#imouter0 {border-style:solid; border-color:#111111; border-width:0px; padding:0px; }


	/* --[[ Sub Container ]]-- */
	#imenus0 li ul {background-color:#fef5d8; border-style:solid; border-color:#111111; border-width:1px; padding:5px; }


	/* --[[ Main Items ]]-- */
	#imenus0 li a, #imenus0 .imctitle {color:#333333; text-align:center; font-family: tahoma; font-size:12px; font-weight:bold; text-decoration:none; border-style:none; border-color:#000000; border-width:0px; padding:2px 5px; }

		/* [hover] - These settings must be duplicated for IE compatibility.*/
		#imenus0 li:hover>a {color:#ffffff;}
		#imenus0 li a.ihover, .imde imenus0 a:hover {color:#ffffff; }

		/* [active] */
		#imenus0 li a.iactive {text-decoration:underline; }


	/* --[[ Sub Items ]]-- */
	#imenus0 ul a, #imenus0 .imsubc li .imctitle  {color:#111111; text-align:right; font-size:12px; font-weight:normal; text-decoration:none; border-style:none; border-color:#000000; border-width:1px; padding:2px 5px; }

		/* [hover] - These settings must be duplicated for IE comptatibility.*/
		#imenus0 ul li:hover>a {color:#3366CC; }
		#imenus0 ul li a.ihover {color:#3366CC; }

		/* [active] */
		#imenus0 ul li a.iactive {text-decoration:none; }


/* added By BEHROOZ */
#imouter0 {padding-right: 8px;}
/* first level */
#imenus0 .imatm {display: block	 ; float: right; width: 13%; margin: 0px 2px 0 3px; padding: 0px; list-style: none; text-align:right;}
/* second level */
#imenus0 .imatm .imsc .imsubc { width:150px; right: 0px;}
/* third level & > */
#imenus0 .imatm .imsc .imsubc .imsc .imsubc {top: -10px; width: 145px; right: 144px;}
#imenus0 .imatm .imsc .imsubc .imsc .imsubc .imsc .imsubc {top: -8px; width: 144px; right: 144px;}

/* design second level */
#imenus0 .ishow .imsc .imsubc a { background-color: transparent /*display:block;color: #FFF; text-decoration: none*/}
/*#imenus0 .ishow .imsc .imsubc a:hover { color: #000; text-decoration: underline; }*/

/* design third level & > */
#imenus0 .ishow .imsc .imsubc .imsc .imsubc a {background-color: transparent;}
/*#imenus0 .ishow .imsc .imsubc .imsc .imsubc a:hover { color: #000; text-decoration: underline; }*/

/* costum design for level 3 */
#imenus0 .ishow .imsc .imsubc .imsc .imsubc ul {}

/* position of first level */

#searchFormSpliter {
	background: transparent url(images/top_nav_bg.gif) no-repeat scroll right top;
	float: right;
	width: 63px;
	display: block;
	height: 105px;
}

div#galleryCategories {
	background-color: #fff;
	width: 170px;
}
#galleryCategories img, #QuickGal td img {
	margin: 3px;
}

#pag a, pag span {
	margin: 0px 4px;
}

#galleryCategories, #QuickGal td {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 2px solid #999;
	border-bottom: 2px solid #999;
}

/* NEWS */
.news-list {
	padding: 0px;
	margin: 0px;
}

.news-list li {
	clear: both;
	padding: 10px;
	margin: 30px auto;
	list-style: none;
	border-bottom: 1px dashed #999;
}

.news-list li img {
	border: 1px solid #333;
	margin: 10px;
}

#leftbody .news-list li h2 {
	background: transparent;
	width: auto;
	border: none;
}

.news-list li h2 a {
	color: #204A73;
	text-decoration: none;
}

.news-list li #news-content {
	text-align: justify;
}


h2 {font-size: 14px;}

#QuickGal, #QuickGalFooter {
	margin: 0px auto;
}

/* poll */
.chart {
	background: url('images/submitbg.gif');
}

/* tabs */
.shadetabs-holder {
	border-bottom: 1px solid #999;
}

.shadetabs {
	margin: 0px auto;
}

.shadetabs a {
	color: #000;
	text-decoration: none;
	padding: 0px 4px;
}

.shadetabs td {
	border: 1px solid #999;
	background: white url('tab/shade.gif');
	border-bottom: none;
	padding: 4px 0px;
}

.shadetabs td.spacing {
	width: 10px;
	border: none;
	background: transparent;
}

.shadetabs td .hideBorder {
	position: relative;
	width: 100%;
	background: white;
	top: 6px;
	height: 3px;
}

.shadetabs td.selected {
	background: white url('tab/shadeactive.gif');
}

/* result */
span.search {
	background-color: yellow; /* high light word */
}
.searchResults {
	padding: 0px;
	margin: 0px;
}

.searchResults li {
	color: #000;
	list-style: none;
	padding: 0px 55px 10px 0px;
	margin: 15px 0px;
	padding-left: 5px;
	background: url('../../../admin/images/search.jpg') no-repeat top right ;
	border-bottom: 1px solid #999;
	_height: 51px;
	min-height: 51px;
	text-align: justify;
}
.searchResults li a{ font-weight:bold}

   /* Right column - Links */
    #links1  ul {margin:15px 0; padding:0; list-style:none;}
    #links1 li {margin:0; padding:0; border-bottom:1px solid #E0E8FA;}
    #links1  li a {display:block; padding:3px 0 3px 22px; background:url("design/ico_links.gif") 5px 6px no-repeat; text-decoration:none;}
    #links li a:hover {background-color:#D3DFF8; color:#192666;}

	
