/*  
Theme Name: My Envision
Version: 1.2
Author: Tatoon
Author URI: wp-skins.info
Tags: simple, clean, fixed width, widget-ready, widgets, right sidebar, two columns, valid XHTML, valid CSS
Description: My first wordpress theme
*/

/* Top Elements */
* { margin: 0; padding: 0; outline: 0 }

body {
	background:url(/images/d_bkg.jpg) repeat-x top #E0E3E8;
	margin:0;
	padding:0;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#666;
}

/* links */
a, a:visited {
	text-decoration: none;
  color: #5087D2;
	background: inherit;
}
a:hover {
  color: #5087D2;
	background: inherit;
	text-decoration: underline;
}

/* headers */
h1, h2, h3 {
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;	 		
}
h1 {
	font-size: 150%;	
	font-weight: normal;
  color: #5087D2;
}
h2 {
	font-size: 140%;
	text-transform: uppercase;
  color: #5087D2;
}
h3 {
	font-size: 120%;
	color: #666666; 
}

/* images */
img {
	background: #FAFAFA;
   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 {
	padding: 10px;		
	margin: 0;
}
ul, ol {
	margin: 5px 20px;
	padding: 0 20px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
}
acronym {
  cursor: help;
  border-bottom: 1px dotted #777;
}
blockquote {
	margin: 10px;
 	padding: 0 0 0 28px;  
   border: 1px solid #f2f2f2; 
  	background: #FAFAFA url(images/quote.gif) no-repeat 5px 5px;    
}

/* start - table */
table {
	border-collapse: collapse;
	margin: 10px;	
}
th strong {
	color: #fff;
}
th {
	background: #93BC0C;
	height: 29px;
	padding-left: 12px;
	padding-right: 12px;
	color: #FFF;
	text-align: left;
	border-left: 1px solid #B6D59A;
	border-bottom: solid 2px #FFF;
}
tr {
	height: 30px;
}
td {
	padding-left: 11px;
	padding-right: 11px;
	border-left: 1px solid #FFF;
	border-bottom: solid 1px #ffffff;
}
td.first,th.first {
	border-left: 0px;
}
tr.row-a {
	background: #F8F8F8;
}
tr.row-b {
	background: #EFEFEF;
}
/* end - table */

/* form elements */
form {
	margin:10px; padding: 0 5px;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 	
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding:2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
  color: #5087D2;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
  color: #5087D2;
}
input.button { 
	font: bold 12px Arial, Sans-serif; 
	height: 24px;
	margin: 0;
	padding: 2px 3px; 
	color: #000;
	border: none;
}

/* search form */
.searchform {
	background-color: transparent;
	border: none;	
	margin: 0; padding: 10px 0px 10px 0;	
	width: 190px;
	margin-left: 5px;	
}
.searchform p { margin: 0; padding: 0; }
.searchform input.textbox { 
	width: 120px;
  color: #5087D2;
	height: 18px;
	padding: 2px;	
	border: 1px solid #E5E5E5;
	vertical-align: top;
}
.searchform input.button { 
	width: 60px;
	height: 24px;
	padding: 2px 5px;
	vertical-align: top;
}

/********************************************
   LAYOUT
********************************************/ 
#footer_text {
  text-align: center;
  margin-bottom: 15px;
}
#bar2 {
  margin-left: 1px;
  width: 858px;
}
#bar2 img{
  border: none;
  padding: 0;
}
#wrap {
	background:url(/images/d_middle.png) repeat-y;
	margin: 0 auto;
	text-align: left;
	width:858px;
	height:auto !important;
	min-height: 500px;
}
#content-wrap {
	clear: both;
	width: 800px;
	padding: 0; 
	margin: 10px auto;
	min-height: 500px;
}
#header {
	width: 820px;
	position: relative;
	height: 103px;
	background:url(/images/d_header2.png) no-repeat;
	width:858px;
	height:112px;
	padding: 0;	
	color: #FFF;	
	margin: auto;
	margin-top: 10px;
}
#header h1#logo-text a {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 44px 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #FFF;
	text-transform: none;
	text-decoration: none;
	background: transparent;
	height: 112px;
	width: 350px;
	
	/* change the values of top and left to adjust the position of the logo*/
	top: 25px; left: 37px;	
}
#header p#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: normal 12px '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: 55px;		
}

/* header links */
#header #header-links {
	position: absolute;
	top: 20px; right: 30px;	
	color: #C6DDEE;
	font-size: 10px;	
}
#top_links {
  position: absolute;
  top: 15px; 
  right: 15px;
  color: white;
}

#phone_number{
  margin-left: 7px;
  margin-top: 4px;
}

#top_links a{
  color: white;
  text-decoration: none;
}
  #top_links img {
    padding: 0;
    background: none;
    border: none;
  }
#header #header-links a {	
	color: #FFF;
	text-decoration: none;	
}
#header #header-links a:hover {
  color: #5087D2;
}
#header li {
	list-style: none;
	white-space: nowrap;
	display: inline;
	padding-left: 8px;
}

/* Menu */
#menu {
	clear: both;	
	margin: 0 auto; padding: 0;
  background: #DAE7F8;
	font: bold 12px/37px Verdana, Arial, Tahoma, Sans-serif;
	height: 37px;
	width: 840px;	
}
#menu ul {
	float: right;
	list-style: none;
	margin:0; padding: 0;
}
#menu ul li {
	display: inline;
}
#menu ul li a {
	display: block;
	float: left;
	padding: 0 12px;
  color: #5087D2;
	text-decoration: none;
}
#menu ul li.last a {
	padding-right: 20px;	
}
#menu ul li a:hover {
  color: #5087D2;
}
#menu ul li#current a {	
  color: #5087D2;
}

/* Main Column */
#main {
	float: left;
	width: 70%;
	padding: 0; margin: 5px 0 0 5px;
	display: inline;
}
#main h2 {
	margin-top: 10px;
	font: Bold 140% 'Trebuchet MS', Tahoma, Sans-serif;
  color: #5087D2;
	padding: 5px 0 5px 10px; 	
	border-bottom: 1px solid #EFF0F1;
	text-transform: none;
}
#main h2 a {
	background: none;
  color: #5087D2;
	text-decoration: none;
}

#main ul li {
	list-style-image: url(images/bullet.gif);
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 10px 10px 10px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}
.post-footer .date {
	background: url(images/clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(images/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(images/page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* Sidebar */	
#sidebar {
	float: right;
	width: 26.5%;
	padding: 0; margin: 0;	
  color: #5087D2;
}	
#sidebar h2 {
	margin-top: 10px;
	padding: 5px 5px; 
	font: bold 1.4em 'Trebuchet MS', Tahoma, Sans-serif;
  color: #5087D2;
}
#sidebar ul {
	list-style: none;
	text-align: left;
	text-decoration: none;		
}
#sidebar li.widget li {
	list-style: none;
	margin: 0 2px;	
  color: #5087D2;
}
* html body #sidebar ul li {
	height: 1%;
}
#sidebar ul li a {
	text-decoration: none;	
	background-image: none;	
	color: #666666;			
}
#sidebar ul li a:hover {	
  color: #5087D2;
}
#sidebar ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul li { background: none; }
#sidebar ul ul.sidemenu {
  margin: 0;
  padding: 0;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}
.linkcat {
  margin: 0;
  padding: 0;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


/* Footer */	
#footer {
	color: #C6DDEE;
	clear: both;
	text-align: center;	
	font-size: 92%;	
	background:url(/images/d_footer2.png) no-repeat;
	width:880px;
	height:125px;
}
#footer a { 
	color: #FFF;
	text-decoration: none; 
}
#footer p {
  color: white;
  display: block;
  width: 858px;
  text-align: center;
  padding: 0;
  padding-top: 92px;
}
/* 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; }

/* menu styling */
.menu {
  font-family: arial, sans-serif; 
  width:850px;
  position:relative; 
  font-size:11px; 
  z-index:100;
  margin-left: 7px;
}
.menu ul li a, .menu ul li a:visited {
  display:block; 
  text-decoration:none; 
  color:#000;
  width:154px; 
  height:20px; 
  text-align:left; 
  padding-left: 9px;
  color:#fff; 
  border:1px solid #fff; 
  background:#710069; 
  line-height:20px; 
  font-size:11px; 
  overflow:hidden;
}
.menu ul {
  padding:0; 
  margin:0; 
  list-style: none;
}
.menu ul li {
  float:left; 
  position:relative;
}
.menu ul li ul {
  display: none;
  margin-top: 13px;
}
.menu ul li:hover a {
  color:#fff; 
  background:#F0C375;
}
.menu ul li:hover ul {
  display:block; 
  position:absolute; 
  top:21px; 
  left:0; 
  width:105px;
}
.menu ul li:hover ul li a.hide {
  background:#F0C375; 
  color:#fff;
}
.menu ul li:hover ul li:hover a.hide {
  background:#F0C375;
  color:#000;
}
.menu ul li:hover ul li ul {
  display: none;
}
.menu ul li:hover ul li a {
  display:block; 
  background:#ddd; 
  color:#000;
}
.menu ul li:hover ul li a:hover {
  background:#F0C375; 
  color:#000;
}
.menu ul li:hover ul li:hover ul {
  display:block; 
  position:absolute; 
  left:105px; 
  top:0;
}
.menu ul li:hover ul li:hover ul.left {
  left:-105px;
}
.menu img {
  padding: 0;
  margin: 0;
  border: none;
}
/*end menu*/

