@import url("reset-fonts.css");
@import url("base-min.css");

/*Move this to ie6 css*/
* html #container {
   height:100%;
}
/*Move this to ie6 css*/

html{
	background: #0e0e0e url(images/nvs_bg.jpg) left top repeat-x;
	margin:0px;
	color:#FFFFFF;
}

body{
	
	margin:0px;
	height:100%;
}



a:link              { color:#CA2E00; text-decoration:none; }
a:visited           { color:#AE2800; text-decoration:none; }
a:hover             { color:#CA2E00; text-decoration:underline;}
a:active            { color:#EA3500; text-decoration:underline; }

table.basic{
	width:100%;
}
table.basic td{
	border:none;
	text-align:center;
}

blockquote {
	margin: 2px;
	padding: .5em 1em;
	border-left: 3px solid #CCC;
}
blockquote p {
	margin: 0; 
}
	
#container{
	background:url(images/bg_container.png) center 40px no-repeat;
	width:960px;
	margin:auto;
	min-height:100%;
  	position:relative;
}

#header{
	background:url(images/bg_searchbar.jpg) left top no-repeat;
	width:960px;
	height:150px;
}

#searchbox{
	text-align:right;
	background:url(images/bg_searchbox.jpg) left top no-repeat;
	width:290px;
	height:27px;
	float:right;
	margin:6px 10px 0px;
}

.screen-reader-text {
     position: absolute;
     left: -1000em;
}

.searchfield, #searchbox #s{
	background:none;
	border:none;
	width:180px;
}

#searchsubmit{
	background:url(images/btn_search.jpg) top left no-repeat;
	border:none;
	cursor:pointer;
	width: 80px;
	height:27px;
	color:#FFFFFF;
	font-weight:bold;
	text-shadow: #333 2px 1px 2px;
}

#primary-nav{
	margin-top:7px;
	clear:both;
	float:right;
}

#primary-nav li{
	background:url(images/bg_nav.png) left -96px;
	display:block;
	float:left;
	list-style:none;
	list-style-image:none;
	height:48px;
	padding-left:1px;
}

#primary-nav li:hover, #primary-nav li.hover{
	background:url(images/bg_nav.png) left -144px;
}

#primary-nav li a{
	background:url(images/bg_nav.png) right 0px;
	display:block;
	float:left;
	padding:16px 15px;
	font-weight:bold;
}

#primary-nav li a:link              { color:#222222; text-decoration:none; font-weight:bold;}
#primary-nav li a:visited           { color:#222222; text-decoration:none; }
#primary-nav li a:hover             { background:url(images/bg_nav.png) right -48px; color:#222222; text-decoration:none; }
#primary-nav li a:active            { color:#222222; text-decoration:none; }

#primary-nav li.first{
	background:url(images/bg_nav.png) right -480px;
	padding-right:1px;
}

#primary-nav li.first a{
	background:url(images/bg_nav.png) left -192px;
}

#primary-nav li.first:hover a, #primary-nav li.first.hover a{
	background:url(images/bg_nav.png) left -240px;
}

#primary-nav li.contact-us{
	background:url(images/bg_nav.png) left -384px;
}

#primary-nav li.contact-us a{
	background:url(images/bg_nav.png) right -288px;
}

#primary-nav li.contact-us:hover a, #primary-nav li.contact-us.hover{
	background:url(images/bg_nav.png) right -336px;
}

#primary-nav li ul{
	position: absolute;
	width: 125px;
	left: -999em;
}

#primary-nav li ul li, #primary-nav li ul li a{
	width: 95px;
}

#primary-nav li:hover ul, #primary-nav li.hover ul{
	left: auto;
	margin:48px 0px 0px -7px;
	z-index:1000;
	background:url(images/blk_40.png) left top no-repeat;
	padding: 0px 8px 8px 5px;
}

#primary-nav li ul li, #primary-nav li ul li:hover, #primary-nav li ul li.hover{
	height:32px;
	background:none;
	padding:none;
}

#primary-nav li ul li a{
	padding: 8px 15px;	
	background:url(images/bg_sub_nav.jpg) left top repeat-x;
}

#primary-nav li ul li:hover a, #primary-nav li ul li.hover a{	
	background:url(images/bg_sub_nav.jpg) left -32px repeat-x;
}

#primary-nav li ul li.first a{
	background:url(images/bg_sub_nav_first.jpg) left top repeat-x;
}

#primary-nav li ul li:hover.first a, #primary-nav li ul li.hover.first a{
	background:url(images/bg_sub_nav_first.jpg) left -32px repeat-x;
}

#primary-nav li ul li.last a{
	background:url(images/bg_sub_nav_last.jpg) left top repeat-x;
	padding:9px 15px;
}

#primary-nav li ul li:hover.last a, #primary-nav li ul li.hover.last a{
	background:url(images/bg_sub_nav_last.jpg) left -37px repeat-x;
}


#logo-container{
	background:url(images/nvs_logo.png);
	width:220px;
	height:105px;
	margin:8px 0px 0px 30px;
	float:left;
}

#logo-container h1{
	position:absolute;
	left:-1000px;
}

#banner{
	background:url(images/bg_banner_body.png) left top no-repeat;
	width:940px;
	height:90px;
	margin:0px 10px;
	position:absolute;
	top:118px;	
}

.homepage #banner{
	height:215px;
	top:115px;
}

#banner h1{
	color:#ffcd00;
	margin:25px 0px 0px 30px;
	padding-top:25px;
	font-size:24px;
	text-shadow: #000000 2px 2px 2px;
}

#banner #opt-image{
	width:600px;
	height:90px;
	position:relative;
	top:-80px;
	right:-340px;
}

#content{
	
	margin:55px 10px 0px;
	height:100%;
}

#content .middle{
background:url(images/bg_content.jpg) left top repeat-y;
}

.homepage #content{
	
	margin-top:180px;
}

#content .top{
	background:url(images/bg_content_top.jpg) left top no-repeat;	
}

.homepage #content .top{
	background:url(images/hp_content_top.jpg) left top no-repeat;
}

.homepage #content .middle{
	background:url(images/bg_hp_content.jpg) top left repeat-y;
}

#content .bot{
	background:url(images/bg_content_bot.jpg) left bottom no-repeat;
	min-height:300px;
	padding-top:55px;
}

.homepage #content .bot{
	background:url(images/hp_content_bot.jpg) left bottom no-repeat;
}

#main-content{

	margin:0px 20px 30px 40px;
	width:590px;
	float:left;
}

.homepage #main-content{

	margin:0px 0px 30px 40px;
	width:900px;
	float:none;
}

#secondary-content{
	width:230px;
	float:left;
	margin:0px 20px 30px 20px;
}

#content{
	color:#333333;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6{
	color:#333;
}

#content h1,
#content h2,
#content h3{
	margin:0px 0px 5px 0px;	
}

#content h1 a,
#content h2 a,
#content h3 a,
#content h4 a,
#content h5 a,
#content h6 a{
	color:#ca2e00;
}

.callout{
	margin-bottom:25px;
}

#footer-wrapper{
	background:url(images/bg_footer_wrapper.jpg) left bottom repeat-x;
}

#footer {
	background:url(images/bg_footer.jpg) 50% top  no-repeat;
    width:100%;
    height:104px;   /* Height of the footer */
	position:absolute;
}

#footer-nav{
	text-align:center;
	position:relative;
	top:22px;
}

#footer-nav li{
	display:inline;
	list-style:none;
	list-style-image:none;
}

#footer-nav a:link              { color:white; text-decoration:none; font-weight:bold;}
#footer-nav a:visited           { color:white; text-decoration:none; font-weight:bold}
#footer-nav a:hover             { color:white; text-decoration:underline; }
#footer-nav a:active            { color:white; text-decoration:none; font-weight:bold}

#footer p#copyright{
	color:#FFFFFF;
	text-align:center;
	position:relative;
	top:37px;

}

.clearBoth{
	clear:both;	
}

html, body, #container {height: 100%;}

body > #container {height: auto; min-height: 100%;}

#main {padding-bottom: 104px;}  /* must be same height as the footer */

#footer-wrapper {
	position: relative;
	margin-top: -104px; /* negative value of footer height */
	height: 104px;
	clear:both;
} 

p.nocomments, p.linklove{
	display:none;
}


#sidebar ul{
	margin:0px;
}

#sidebar ul li.widget{
	list-style:none;
	list-style-image:none;
	margin-bottom:25px;
}

blockquote.widget{
	margin-bottom:25px;
}

#sidebar ul li.widget ul li{
	list-style-position:outside;
	list-style-type:disc;
	margin-left:15px;
}

#contact-address{
	float:left;
	margin-left:20px;
	margin-top:5px;
	width:230px;
}

#contact-form{
	display:block;
	padding-top:20px;
	margin-top:20px;
	border-top:1px solid #CCC;
}

#contact-form h2{
	margin-bottom:20px;
}

#cformsform{
	margin-left:50px;
}

.cform{
	width:100% !important;
}

.cform textarea, .cform input{
	width: 220px!important;	
}

.cform textarea:hover, .cform input:hover{
	width: 220px!important;	
	background:CCCCCC !important;
}

#sendbutton{
	width:100px !important;
}

.post-edit-link{
	clear: both !important;
	padding-top:30px !important;
}

.callout-content{
	margin-top:5px;
}
.learn-more{
	display:block;
	margin-top:10px;
	margin-right:10px;
	text-align:right;
}

p.cf-sb{
	text-align:left !important;
	margin-left:93px !important;
}

.alignleft{
	float:left;
	margin: 3px 10px 10px 0px;
}

.col3{
	width:260px;
	float:left;
	margin-right:40px;
}

.blog .post{
	margin-bottom: 40px;
}

.single .post{
	margin-top: 20px;
}

.post{
	position:relative;
}

.wp-caption-text{
	text-align:center;
	margin-top:5px;
}

div.failure, li.cf_li_err, div.cf_info.failure{
	color:#900 !important;
	border:none !important;
	background:none !important;
	background:#000;
}

.blog-tabs{
	position:absolute; width:50px; height:76px; background:url(images/tab.png) top left no-repeat; text-align:center; font-weight:bold; color:#000000; left:-70px;top:2px; padding:12px 5px 5px;font-size:14px;
}

.alignleft, .alignright{

}

.alignright{
	float:right !important;
	margin:3px 0px 10px 0px !important;
}

.homepage #banner{
	background:url(images/banner_placeholder.png) left top no-repeat;
	width:940px;
	height:215px;
}

.homepage #banner h1{
	color:#ffcd00;
	margin:40px 0px 0px 30px;
	padding-top:25px;
	font-size:24px;
	text-shadow: #000000 2px 2px 2px;
}

.homepage #banner .subtext{
	margin:5px 0px 0px 30px;
	width:460px;
	font-size:14px;
	font-weight:bold;
	text-shadow: #000000 2px 2px 2px;
	z-index:900;
}

.feature-img{
	position:absolute;
	right:0px;
	top:31px;
}

.post img{
	border: 1px solid #666;
	padding:1px;
}

.widget_tag_cloud a{
	font-size:12px !important;
}

.widget ul{
	margin-bottom:20px;
}

#simplemodal-overlay {background-color:#000;}
#simplemodal-container {background-color:#333; border:8px solid #444; padding:12px;}

#simplemodal-container a.modalCloseImg {
	background:url(http://www.newvisionsales.com/wordpress/wp-content/themes/nvs-blk/images/x.png) no-repeat; /* adjust url as required */
	width:25px;
	height:29px;
	display:inline;
	z-index:3200;
	position:absolute;
	top:15px;
	right:24px;
	cursor:pointer;
}
/* social media links */
#facebook
{
    width:79px;
	height:25px;
	display:inline;
	/*z-index:1;*/
	position:absolute;
	top:6px;
	left:131px;
	cursor:pointer;
}
#linkedin
{
	width:87px;
	height:25px;
	display:inline;
	/*z-index:1;*/
	position:absolute;
	top:6px;
	left:22px;
	cursor:pointer;
}
#twitter
{
	width:100px;
	height:25px;
	display:inline;
	/*z-index:1;*/
	position:absolute;
	top:6px;
	left:230px;
	cursor:pointer;
}
#youtube
{
	width:69px;
	height:25px;
	display:inline;
	/*z-index:1;*/
	position:absolute;
	top:6px;
	left:345px;
	cursor:pointer;
}
#nvsrss
{
	width:25px;
	height:25px;
	display:inline;
	/*z-index:1;*/
	position:absolute;
	top:6px;
	left:450px;
	cursor:pointer;
}
#contactatonce
{
	display:inline;
	/*z-index:1;*/
	position:absolute;
	top:105px;
	left:805px;
	cursor:pointer;
}