/*
Theme Name: Andrew Ball Photography
Theme URI: http://www.aballphotography.co.uk/
Description: Designed exclusively for Andrew Ball Photography.
Version: v2.0
Author: Adrian Burns (PEBCOM)
Author URI: http://www.pebcom.co.uk/

The CSS, XHTML and design is exclusively owned by Andrew Ball Photography and
must not be reproduced in any form without express permission of the owner.
*/




/* ------------------------------ LAYOUT ------------------------------ */

body {
font-size: 70%;
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
background: #f4f3f3 url('images/bg-body.png') repeat-x top center;
color: #505050;
text-align: center;
margin: 0;
padding: 0;
}

html, body {
height: 100% ;
}

#centering {
margin-bottom: -277px;    /* half of content height */
width: 100%;              /* required */
height: 50%;              /* required */
float: left;              /* required */
}

#outer-container {
position: relative;       /* positions content on top of distance */
text-align: left;         /* horizontal centering hack for IE */
height: 554px;            /* required - desired height */
width: 100%;              /* required - desired width */
margin: 0 auto;           /* required */
clear: left;              /* required */
}

#header-container {
width: 100%;
height: 81px;
overflow: hidden;
margin: 0;
padding: 0;
clear: both;
text-align: center;
}

#header-content {
width: 900px;
height: 81px;
overflow: hidden;
margin: 0 auto 0 auto;
padding: 0;
clear: both;
text-align: center;
}

#header {
float: left;
width: 380px;
height: 69px;
overflow: hidden;
padding: 0;
margin: 0;
text-align: left;
}

#nav-container {
float: right;
width: 520px;
height: 25px;
overflow: hidden;
margin: 0 -6px 0 0;
padding: 46px 0 0 0;
text-align: right;
}

#page-container {
width: 100%;
overflow: hidden;
margin: 0;
padding: 0;
text-align: center;
background: #f4f3f3 url('images/bg-page-container.jpg') no-repeat top center;
}

#page {
width: 900px;
overflow: hidden;
margin: 0 auto;
padding: 0;
}

#content {
float: right;
overflow: hidden;
width: 609px;
margin: 0;
padding: 15px 15px;
text-align: justify;
min-height: 378px;
max-height: 378px;
height: 378px;
border: 1px solid #ddd;
background-color: #fff;
}

#content-inner {
position: relative !important;
float: left;
overflow: auto !important;
width: 555px;
margin: 0;
padding: 25px 27px 0 27px;
text-align: justify;
min-height: 353px;
max-height: 353px;
height: 353px;
border: 0;
background-color: #f4f3f3;
padding-bottom: 0 !important;
clear: both;
}

#content-no-padding {
float: right;
overflow: hidden;
width: 609px;
margin: 0;
padding: 15px;
text-align: justify;
min-height: 378px;
max-height: 378px;
height: 380px;
border: 1px solid #ddd;
background-color: #fff;
}

#sidebar {
float: left;
overflow: hidden;
width: 212px;
min-height: 378px;
max-height: 378px;
height: 378px;
margin: 0;
padding: 15px;
text-align: left;
border: 1px solid #ddd;
z-index: 1 !important;
background-color: #fff;
}

#footer-container {
width: 100%;
overflow: hidden;
margin: 0;
padding: 0;
text-align: center;
}

#footer {
width: 900px;
overflow: hidden;
margin: 0 auto;
padding: 12px 0 0 0;
text-align: right !important;
color: #b1b1b1;
}

#footer-left {
float: left;
width: 244px;
overflow: hidden;
margin: 0;
padding: 0;
text-align: left !important;
color: #b1b1b1;
}

#footer-right {
float: right;
width: 650px;
overflow: hidden;
margin: 0;
padding: 0;
color: #b1b1b1;
}




/* ------------------------------ IMAGES ------------------------------ */

p img {
padding: 0;
margin: 0;
max-width: 100%;
border: 0;
}

img.aligncentered {
display: block;
margin: 20px auto !important;
border: 1px solid #e8e8e8;
padding: 5px;
}

img.alignright {
margin: 5px 0 30px 25px;
display: inline;
border: 1px solid #e8e8e8;
padding: 5px;
}

img.alignleft {
margin: 5px 25px 30px 0;
display: inline;
border: 1px solid #e8e8e8;
padding: 5px;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}

#header-image {
border: 0;
}

.spacer, .pattern, .icon {
border: 0;
margin-top: 3px;
padding: 0;
}

img.jakki-degg {
margin: 0 17px 0 0 !important;
border: 1px solid #e8e8e8;
padding: 5px;
}




/* ------------------------------ TYPOGRAPHY & LINKS ------------------------------ */

p {
margin: 0 0 17px 0;
line-height: 16px;
}

p.center {
margin: 0 0 17px 0;
line-height: 16px;
text-align: center !important;
}

p.right {
margin: 0 0 17px 0;
line-height: 16px;
text-align: right !important;
}

p.icons {
margin: 0;
line-height: 16px;
text-align: center !important;
}

#footer p {
margin: 0;
line-height: 16px;
}

small {
font-size: 0.75em;
}

h2 {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 1.5em;
font-weight: normal;
color: #a82a2a;
margin: 0 0 15px 0;
padding: 0;
text-transform: uppercase;
letter-spacing: 2px;
}

h3 {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 1.25em;
font-weight: normal;
color: #a82a2a;
margin: 0 0 15px 0;
padding: 0;
text-transform: uppercase;
letter-spacing: 1px;
}

h2 a, h2 a:visited, h3 a, h3 a:visited {
text-decoration: none;
color: #a82a2a;
}

h2 a:hover, h3 a:hover {
text-decoration: none;
color: #ba6565;
}

small {
font-size: 1em;
color: #868686;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.85em;
}

a, a:visited {
color: #a82a2a;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

#footer a, #footer a:visited {
color: #b1b1b1;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

#olderposts, #newerposts {
padding-bottom: 30px;
}




/* ------------------------------ CONTACT FORM ------------------------------ */

form {
margin: 0px;
padding: 0px;
}

input.text {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font-size: 1em;
width: 236px;
color: #505050;
border: 1px solid #e8e8e8;
padding: 2px;
background-color: #f6f6f6;
}

textarea.message {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font-size: 1em;
width: 391px;
height: 150px;
color: #505050;
border: 1px solid #e8e8e8;
padding: 2px;
background-color: #f6f6f6;
}

input.image-verification {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font-size: 1em;
width: 40px;
color: #505050;
border: 1px solid #e8e8e8;
padding: 2px;
background-color: #f6f6f6;
}

input.submit {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
font-size: 1em;
width: 120px;
padding: 1px 0;
color: #505050;
margin-top: 5px;
}




/* ------------------------------ LISTS ------------------------------ */

ul {
margin: 0 0 17px 0;
padding: 0;
list-style: disc;
line-height: 16px;
}

ul li {
margin-left: 23px;
margin-bottom: 17px;
padding-left: 3px;
}

ol {
margin: 0 0 17px 0;
padding: 0;
list-style: decimal;
line-height: 16px;
}

ol li {
margin-left: 26px;
padding: 0;
}




/* ------------------------------ NAVIGATION MENU ------------------------------ */

#nav {
float: right;
width: auto;
}

#nav ul {
width: 100%;
padding: 0;
margin: 0;
list-style: none;
}

#nav li {
float: left;
height: 29px;
line-height: 28px;
list-style: none;
margin: 0;
padding: 0;
}

#nav .page_item a, #nav .page_item a:visited {
color: #868686;
text-decoration: none;
margin: 0;
padding: 0 6px 0 6px;
border-right: 1px solid #ddd;
}

#nav .current_page_item a, #nav .current_page_item a:visited {
color: #a82a2a;
}

#nav .page_item a:hover {
color: #505050;
}




/* ------------------------------ NEXTGEN GALLERY ------------------------------ */

.ngg-galleryoverview {
overflow: hidden !important;
margin: 26px 0 16px 2px !important;
width: 528px !important;
clear: both !important; 
padding: 0 !important;
}

.ngg-gallery-thumbnail-box {
float: left !important;
}

.ngg-gallery-thumbnail {
float: left !important;
margin: 0 !important;
}

.ngg-gallery-thumbnail img {
background-color: transparent !important;
border: 1px solid #e8e8e8 !important;
display: block !important;  
margin: 0 0 12px 12px !important;
padding: 3px !important;
position: relative !important;
width: 38px;
height: 38px;
}

.ngg-gallery-thumbnail img:hover {
background-color: #ddd !important;
border: 1px solid #ddd !important;
} 

.ngg-gallery-thumbnail span {
font-size: 100% !important;
padding: 0 !important;
display: block !important;
}

.ngg-clear {
clear: both !important;
}

	
	

/* ------------------------------ MISC STYLING ------------------------------ */

.vvqbox {                 /* viper's video quicktags plug-in */
margin-bottom: 30px !important;
}

object, embed {           /* flash elements etc */
border: 0;
padding: 0;
margin: 0;
}