/*
THEME NAME: SEO Basics
DESCRIPTION: Orange, black, and gray combined to create a clean, great-looking theme. Includes an SEO control panel. Supports rotating 125x125 sidebar ads, widgets, gravatars, and microformats. Valid XHTML and CSS. Based on Sandbox.
VERSION: 1.1.2
AUTHOR: SEO Design Solutions
AUTHOR URI: http://www.seodesignsolutions.com/
TAGS: fixed-width, two-columns, right-sidebar, orange, black, custom-header, theme-options, microformats
*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
#header h1 {
	margin: 0;
	padding: 0;
}

a {
	color: #000;
}

a:hover {
text-decoration:underline;
}

a img {
	border: 0 none;
}

body {
font-family: Tahoma, Arial, Helvetica, Verdana, Sans-serif;
font-size: 14px;
background-image:url('images/bg.png');
margin-bottom: 20px;
}

#wrapper {
width: 1000px;
margin: 0 auto;
position: relative;
background-color: #fff;
-moz-box-shadow:inset 0 0 5px #000000;
-webkit-box-shadow:inset 0 0 5px #000000;
box-shadow:inset 0 0 5px #000000;


}

#content {
	padding: 1em;
}

body.home div#container, body.page div#container {
	margin-top:5px;
}

#header {
background-image:url('images/bg-body.png');
width: 1000px;
height: 143px;
}

#logo {
float: left;
background-image:url('images/uap-logo1.png');
width: 154px;
height: 143px;
}

#access {
float: left;
}

#access div.menu {
	float: left;
}
/* NAV */
/* Navigation - first level */

.nav { 
padding-top: 30px;
padding-left: 20px;
position: relative;
}

.header ul.nav {
background-image:url('images/menu-bg.png');
height: 40px;
line-height: 40px;
padding: 0 0 0 35px;
float: left;
position: relative;
text-transform: uppercase;
font-size: 12px;
font-weight: bold;
}

.header ul.nav li {
	float: left;
	margin: 0 32px 0 0;
	position: relative; 
}

.header ul.nav li a {
	display: block;
	height: 40px;
	color: #FFF;
	position: relative;
        text-decoration: none;
}
li.current_page_item a, li.current_page_parent a, li.currrent_page_ancestor a {
	color: #FFF !important;
}

.header ul.nav li.hover, .header ul.nav a:hover { 
position: relative; 
text-decoration: underline;
}

#header-rss {
	float: right;
	margin-right: 10px;
}

.entry-title {
	margin: 0;
	padding: 0;
}

.entry-title a {
	color: #F58E0E
}

.sidebar, .sidebar a, .entry-date, .entry-meta, .entry-meta a {
	color: #666;
}

.ngg-widget entry-content {
float: right;
}

.entry-title {
	font-size: 1.5em;
}

.entry-date {
	color: #666;
	margin-bottom: 1em;
}

.entry-date abbr, .entry-meta abbr {
	border: 0;
}

.entry-meta {
	margin-bottom: 3em;
	font-style: italic;
}

body.single .entry-meta {
	margin-bottom: 0;
}

#comments-list .comment-author .n {
	font-weight: bold;
}

#comments-list .comment-meta {
	font-style: italic;
}

#comments-list .comment-author img.avatar {
	float: left;
	margin-right: 0.5em;
}

.sidebar {
	border-left: 0px dashed #191919;
	font-size: 0.9em;
}

.sidebar ul {
	margin: 0 0 0 15px;
	padding: 0;
}

#footer {
padding: 10px;
width: 980px;
}

#footer-section {
background-image:url('images/bg-body.png');
width: 980px;
height: 80px;
border: 2px solid #CCCCCC;
}

#footer, #footer a, #footer a:hover {
	color: #999;
}

#footer a, #footer a:hover {
	text-decoration: none;
	background: none;
}


/*
LAYOUT: Two-Column (Right)
DESCRIPTION: Two-column fluid layout with one sidebars right of content
*/
div#container {
float:left;
margin:0 -300px 0 0;
width:100%;
}

div#content {
margin:0 20px 0 20px;
}

div.sidebar {
float:right;
overflow:hidden;
width:290px;
}

div#secondary {
clear:right;
}

div#footer {
clear:both;
width:100%;
}


/* Misc styles */

.clear {
	clear: both;
}

div.sidebar .title {
	font-weight: bold;
	font-size: 1.1em;
}

div.skip-link {
	display: none;
}


/* Ad styles */

div.sidebar #ads ul {
	margin: 0;
	padding: 0;
}

div.sidebar #ads li {
	float: left;
	padding: 0;
	margin: 0 10px 10px 0;
	list-style-type: none;
}

div.sidebar #ads img {
	width: 125px;
	height: 125px;
}

/* Sandbox styles */

div.menu ul,div.menu ul ul {
line-height:1;
list-style:none;
margin:0;
padding:0;
}

div.menu ul a {
display:block;
text-decoration:none;
}

div.menu ul ul ul a {
font-style:italic;
}

div.menu ul li ul {
left:-999em;
position:absolute;
}

div.menu ul li:hover ul, div.menu ul li.sfhover ul {
left:auto;
}

.entry-title,.entry-meta {
clear:both;
}

form#commentform .form-label {
margin:1em 0 0;
}

form#commentform span.required {
background:#fff;
color:#c30;
}

form#commentform,form#commentform p {
padding:0;
}

input#author,input#email,input#url,textarea#comment {
padding:0.2em;
}

div.comments ol li {
margin:0 0 3.5em;
}

textarea#comment {
height:13em;
margin:0 0 0.5em;
overflow:auto;
width:66%;
}

.alignright,img.alignright{
float:right;
margin:1em 0 0 1em;
}

.alignleft,img.alignleft{
float:left;
margin:1em 1em 0 0;
}

.aligncenter,img.aligncenter{
display:block;
margin:1em auto;
text-align:center;
}

div.gallery {
clear:both;
height:180px;
margin:1em 0;
width:100%;
}

p.wp-caption-text{
font-style:italic;
}

div.gallery dl{
margin:1em auto;
overflow:hidden;
text-align:center;
}

div.gallery dl.gallery-columns-1 {
width:100%;
}

div.gallery dl.gallery-columns-2 {
width:49%;
}

div.gallery dl.gallery-columns-3 {
width:33%;
}

div.gallery dl.gallery-columns-4 {
width:24%;
}

div.gallery dl.gallery-columns-5 {
width:19%;
}

div#nav-above {
margin-bottom:1em;
}

div#nav-below {
margin-top:1em;
}

div#nav-images {
height:150px;
margin:1em 0;
}

div.navigation {
height:1.25em;
}

div.navigation div.nav-next {
float:right;
text-align:right;
}

div.sidebar h3 {
font-size:1.2em;
}

div.sidebar input#s {
width:7em;
}

div.sidebar li {
list-style:none;
margin:0 0 2em;
}

div.sidebar li form {
margin:0.2em 0 0;
padding:0;
}

div.sidebar ul ul {
margin:0 0 0 1em;
}

div.sidebar ul ul li {
list-style:disc;
margin:0;
}

div.sidebar ul ul ul {
margin:0 0 0 0.5em;
}

div.sidebar ul ul ul li {
list-style:circle;
}

div.menu ul li,div.gallery dl,div.navigation div.nav-previous {
float:left;
}

div#footer {
text-align:center;
}

input#author,input#email,input#url,div.navigation div {
width:50%;
}

div.gallery *,div.sidebar div,div.sidebar h3 {
margin:0;
padding:0;
}

/* SLIDER */
#slider-wrapper {
    background:url(images/slider.png) no-repeat; /* Slider border and shadows */
    width:948px;
    height:264px;
    margin: 0 auto 0 0px;
    padding-top:17px; /* Push the actual slider into the centre */
    position:relative;
}

#slider {
    position:relative;
    width:630px;
    height:235px;
    margin-left:19px; /* Push the actual slider into the centre */
    background:url(images/loading.gif) no-repeat 50% 50%;
}
#slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    width:630px;
    height:235px;
}
#slider a {
    border:0;
    display:block;
}

.nivo-controlNav {
    background:url(images/controlnav.png) no-repeat; /* Background for the bullets */
    width:251px;
    height:40px;
    position:absolute;
    left:200px; /* Manually position in centre. Not perfect :( */
    bottom:-42px;
    padding:8px 0 0 82px;
    z-index:20; /* Make sure it is visible above the slides */
}
.nivo-controlNav a {
    display:block;
    width:22px;
    height:22px;
    background:url(images/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin-right:3px;
    float:left;
}
.nivo-controlNav a.active {
    background-position:0 -22px; /* Selected bullet */
}

.nivo-caption {
    bottom:40%; /* Vertically centre the captions */
    left:auto;
    right:0px; /* Put them on the right */
    width:auto;
    max-width:630px;
    overflow:hidden;
    background:#fff;
    text-shadow:none;
    font-family: 'Anton', arial, serif; /* Using a Google Font (not required) */
    color:#4c4b4b;
}
.nivo-caption p {
    padding:5px 15px;
}
.nivo-caption a { 
    color:#333;
    font-weight:bold;
    font-size:27px;
    text-transform:uppercase;
}

.ngg-singlepic {
border: 1px solid #cccccc;
}