/*
Theme Name: af-it theme
Theme URI: 
Description: Theme designed for af-it
Version: 1.0
Author: Gemma Peter
Tags:
*/
/*Generic styles*/
body {
	margin: 0; padding: 0;
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #666;
	background: #FFF url(images/body_bg.png) repeat-x scroll;
	line-height: 150%;
}
.clear {
	display: block;
	clear: both;
}
p {
	margin-top: 0;
	margin-bottom: 1em;
}
a:link, 
a:visited {
	color: #666;
	text-decoration: underline;
}
a:hover {
	color: #0090D3;
	text-decoration: underline;
}
ul {
	list-style-type: none;
}

/*Page structural elements*/
#page {
	width: 980px;
	/*width: 945px;*/
	/*width: 1200px;*/
	margin: auto;
	padding-left: 11px;
	padding-right: 11px;
	background: #FFF url(images/page_bg.png) repeat-x scroll;
}

#main {
	background: transparent url(images/content_bg.png) repeat-x scroll;
}

.sidebar {
	display: block;
	width: 25%;
}


/*Page header*/
#header {
	display: block;
	background: #FFF url(images/banner.php) no-repeat scroll top center;
}

.header-box {
	display: block;
	width: 25%;
	height: 147px;
	background-color: #FFF;
}

#header-box1 {
	float: left;
	text-align: left;
}
#header-box1 img {margin: 15px;}
#header-box2 {
	text-align: center;
	float: right;
	border-left: 1px solid #FFF;
}
#header-box2 object {margin: 30px;}


/*Header horizontal navigation*/
#top-nav {
	height: 36px; /*Needed for IE6*/
	/*height: 2em;*/
	color: #FFF;
	background: #A3A2A2 url(images/top_nav_bg.png) repeat-x scroll;
}
#top-nav a:link, #top-nav a:visited {
	line-height: 36px; /*vertical-centre the text*/
	text-decoration: none;
	color: #FFF;
	font-weight: bold;
}
#top-nav img {vertical-align: middle;}
#top-nav .top-nav-item {
	float: left;
	height: 36px;
	width: 25%;
	background: transparent url(images/white_pixel.gif) repeat-y scroll center right;
	text-align: center;
}


/*Left Sidebar main site navigation*/
#main-nav {
	float: left;
	height: 486px;
	background: transparent url(images/menu_bg.png) no-repeat scroll top right;
	color: #151A65;
	font-weight: bold;
}

#main-nav ul {
	margin: 0; padding: 0;
	list-style-type: none;
}
#main-nav li {
	height: 36px;
	line-height: 36px;
	background-position: 1em 0%;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-color: transparent;
}
#main-nav a:link, #main-nav a:visited {
	display: block;
	width: auto;
	padding-left: 56px;
	color: #151A65;
	text-decoration: none;
}
#main-nav a:hover {
	background-color: rgba(128, 128, 128, 0.3);
	color: #1090D3;
	text-decoration: none;
}
/*Menu item images*/
#nav-home {background-image: url(images/home.png); }
#nav-about-us {background-image: url(images/about_us.png); }
#nav-hardware {background-image: url(images/hardware.png); }
#nav-software {background-image: url(images/software.png); }
#nav-networking {background-image: url(images/networking.png); }
#nav-voip {background-image: url(images/voip.png); }
#nav-hosted-services {background-image: url(images/hosted_services.png); }
#nav-remote-services {background-image: url(images/remote_services.png); }
#nav-security {background-image: url(images/security.png); }
#nav-web-development {background-image: url(images/web_dev.png); }
#nav-contact {background-image: url(images/contact.png); }


/* Widget Sidebar */
#widgets {
	float: right;
}

.widget {
	margin: 11px;
	padding-bottom: 36px;
	background: #EAEBEA url(images/top_nav_bg.png) repeat-x scroll bottom right;
}

.widget ul {
	list-style-type: none;
	margin: 11px;
}

.widget-title {
	height: 35px; /*image is 36px, this removes bottom border*/
	line-height: 35px;
	padding-left: 11px;
	background: #A3A2A2 url(images/top_nav_bg.png) repeat-x scroll top right;
	border-bottom: 1px solid #F7F7F7;
	color: #FFF;
}

.widget-title a:link, 
.widget-title a:visited {
	color: #FFF;
	font-weight: bold;
	text-decoration: underline;
}


/* Content */
#content {
	/*1% narrower, IE6 rounds up and breaks the page else*/
	width: 49%;
	margin-left: 25%;
	padding-top: 11px;
}
#content-wrapper {
	margin-left: 22px;
	margin-right: 22px;
	padding-top: 11px;
}

#content h2 {
	font-weight: bold;
	font-size: 120%;
	color: #151A65;
	margin-bottom: 1.5em;
}
#content h2 span {
	font-weight: bold;
}
#content p.leadin {
	color: #0090D3;
	font-weight: bold;
	margin-bottom: 1.5em;
}
#content ul {
	list-style-type: disc;
	padding-left: 1em;
	margin-bottom: 1em;
}


/* Footer */
#footer {
	text-align: center;
}

.textwidget {line-height: 100%;}
