/*
Theme Name: DNBrokers
Theme URI: http://www.n7studios.co.uk
Description: DNBrokers
Version: 1.0
Author: n7 Studios
Author URI: http://www.n7studios.co.uk/
Tags: fixed width
*/

/* Tag Declarations */
body {
    font: 0.75em/160% Helvetica, Arial, Verdana, sans-serif;      
    background: url(../images/background.gif) repeat-x #f6f9fa;    
    color: #000; 
}
h1 {
    font-size: 1.6em;
}
h2 {
    font-size: 1.2em;
}
p {
    line-height: 1.6em;
    padding: 0 0 15px 0;
}
a {
    color: #B72547;
    text-decoration: none;
}
a:hover {
    color: #000;
}

/* Forms */
form {
    clear: both;
    width: 100%;
}
form p {
    clear: both;
    float: left;
    width: 100%;
    margin: 0;
    padding: 0 0 5px 0;
}
form p label {
    clear: both;
    float: left;
    width: 25%;
}
form p input.text {
    float: left;
    width: 70%;
    background: #e0f1f8;
    border: 1px solid #000;
    padding: 3px 5px;
}
form p textarea {
    float: left;
    width: 70%;
    height: 100px;
    margin: 0 0 5px 0;
    font: inherit;
    background: #e0f1f8;
    border: 1px solid #000;
    padding: 3px 5px;
}
form p input.description { color: #a09d9d }
form p input.usertext { color: #000 }
form p input.button { margin: 5px 0 0 0; }

/* Tiny Contact Form */
form label {
    clear: both;
    float: left;
    width: 25%;
    margin: 0 0 5px 0;
}
#tcf_sender, #tcf_email, #tcf_subject, #tcf_msg {
    float: left;
    width: 60%;
    margin: 0 0 5px 5%;
}
#contactsubmit {
    clear: both;
    float: left;
}

/* Contact Form 7 Overrides */
div.wpcf7-validation-errors, div.wpcf7-response-output { border: none !important; }
span.wpcf7-not-valid-tip {
    clear: both;
    float: left;
    margin: 0 0 0 25%;
    font-weight: bold;
    color: #c13636; 
    background: none !important;
    border: none !important;
    font-size: 1em !important;
    left: 0 !important;
    padding: 0 0 0 0 !important;
    position: relative !important;
    top: 0 !important;
    width: 70% !important;
}

/* Newsletter Form */
form.newsletter {
    width: 190px;
    padding: 10px 0 0 35px;
}
form.newsletter p { width: 150px; }
form.newsletter p input.text { width: 100%; }

/* Helper Classes */    
.bold { font-weight: bold; }
.underline { text-decoration: underline; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.clearLeft { clear: left; }
.clearRight { clear: right; }
.border { border: 1px solid #999; }
.pad { padding: 3px; }
.margin { margin: 3px; }
.container { width: 960px; margin: 0 auto; }
.hidden { display: none; }

/* Layout */
#header {
    float: left;
    width: 100%;
    height: 108px;        
}
a#logo {
    float: left;
    width: 242px;
    height: 59px;
    margin: 25px 0;
    background: url(../images/logo.png) top left no-repeat;
    text-indent: -9999px;
}

/* Menu */
#menu {
    float: right;
    height: 32px;
    margin: 76px 0 0 0;
}
#menu ul li {
    display: inline; 
}
#menu ul li a {
    display: block;
    float: left;
    background: url(../images/menu_background.gif) 0% 100% no-repeat;
    width: 103px;
    height: 33px;
    line-height: 33px;
    margin: 0 2px;
    text-align: center;
    text-decoration: none;
    color: #fff;    
}
#menu ul li.current_page_item a, #menu ul li a:hover {
    background: url(../images/menu_background.gif) 0% 0% no-repeat;
}

/* Splash */
#splash {
    clear: both;
    float: left;
    width: 100%;
    height: 230px;
    background: url(../images/header_background.jpg) top left repeat-x;
}           
#splash #copy {
    float: left;
    width: 632px;
    color: #fff;
    padding: 20px 0 0 0;
}
#splash #copy h1 {
    padding: 0 0 15px 0;
    font-size: 1.4em;
    line-height: 1.6em;
    font-weight: normal;
    text-indent: -9999px;
    width: 632px;
    height: 55px;
    background: url(../images/header_text.png) top left no-repeat;
}

.buttons {
    float: left;
    display: block;
    overflow: hidden;
    width: 207px;
    height: 67px;
    margin: 0 5px 0 0;
}
#splash #photoFrame {
    float: right;
    width: 320px;
    height: 230px;
    background: url(../images/photo_frame.jpg) top center no-repeat transparent !important;
}
#splash #photoFrame img {
    background: transparent !important;
}

/* Content */
#main {
    clear: both;
    float: left;
    width: 100%;
    padding: 17px 0;
}
#content {
    float: left;
    width: 645px;
}
#content div.entry {
    clear: both;
    float: left;
    width: 100%;
    margin: 0 0 20px 0;
    background: #fff;
}
#content div.entry div.top {
    float: left;
    width: 100%;
    height: 5px;
    overflow: hidden; /* To allow IE6 to accept 5px height */
    background: url(../images/content_top_background.gif) top center no-repeat;
}
#content div.entry div.middle {
    float: left;
    border-left: 1px solid #c6c6c6;
    border-right: 1px solid #c6c6c6;
    padding: 2px 5px;
    width: 633px;
}
#content div.entry div.middle div.inside {
    float: left;
    padding: 10px;
    width: 613px; 
    background: #fafafa;
}
#content div.entry div.middle div.inside h1 {
    padding: 0 0 0.8em 0;
    color: #b72547;
}
#content div.entry div.middle div.inside div.header h1 {
    float: left;
}
#content div.entry div.middle div.inside div.header h2 {
    float: right;
    background: url(../images/icons/calendar_day.png) top left no-repeat;
    padding: 0 0 0 20px;
}
#content div.entry div.bottom {
    float: left;
    width: 100%;
    height: 5px;
    overflow: hidden; /* To allow IE6 to accept 5px height */
    background: url(../images/content_bottom_background.gif) top center no-repeat;
}

/* Comments */
ul.commentlist div.comment-author {
    float: left;
}
ul.commentlist div.comment-meta {
    float: right;
    background: url(../images/icons/calendar_day.png) top left no-repeat;
    padding: 0 0 0 20px;
}
ul.commentlist em {
    display: none;
}
ul.commentlist p {
    clear: both;
}

/* Sidebar */
#sidebar {
    float: right;
    width: 250px;
}
#sidebar div.entry {
    clear: both;
    float: left;
    width: 100%;
    margin: 0 0 20px 0;
    background: #fff;
}
#sidebar div.entry div.rssIcon {
    float: right;
    width: 64px;
    height: 60px;
    position: relative;
    margin: -125px 0 0 0;
    left: 20px;
}
#sidebar div.entry div.top {
    float: left;
    width: 100%;
    height: 5px;
    overflow: hidden; /* To allow IE6 to accept 5px height */
    background: url(../images/sidebar_top_background.gif) top center no-repeat;
}
#sidebar div.entry div.middle {
    float: left;
    border-left: 1px solid #c6c6c6;
    border-right: 1px solid #c6c6c6;
    padding: 2px 5px;
    width: 238px;
}
#sidebar div.entry div.middle div.inside {
    float: left;
    padding: 5px;
    width: 228px; 
    background: #fafafa;
}
#sidebar div.entry div.middle div.inside h1 {
    padding: 5px;
    color: #b72547;
}
#sidebar div.entry div.middle div.inside h1.newsletter {
    background: url(../images/icons/email.jpg) top left no-repeat;
    padding: 0 0 0 35px;
    line-height: 25px;
}
#sidebar div.entry div.bottom {
    float: left;
    width: 100%;
    height: 5px;
    overflow: hidden; /* To allow IE6 to accept 5px height */
    background: url(../images/sidebar_bottom_background.gif) top center no-repeat;
}

/* Blockquotes */
blockquote {
    float: left;
    font-size: 1.2em;
    background: url(../images/quote-left.png) top left no-repeat;
    width: 225px;
}
blockquote div.quote {
    float: left;
    font-weight: bold;
    text-indent: 25px;
}
blockquote div.person {
    clear: both;
    float: left;
    background: url(../images/quote-right.png) top left no-repeat; 
    width: 225px;    
    font-weight: bold;
    color: #b72547;
    padding: 10px 0 0 0;
}

/* Footer */
#footer {
    clear: both;
    float: left;
    width: 100%;
    height: 115px;
    line-height: 57px;
    color: #fff;
    background: url(../images/footer_background.png) top center repeat-x;
}
#footer a {
    color: #fff;
    text-decoration: underline;
}
#footer a:hover {
    color: #000;
}
#footer div.container { height: 57px; }
div.pages {
    float: left;
}
div.pages ul li, div.subPages ul li {
    display: inline; 
}
div.pages ul li a {
    display: block;
    float: left;
    padding: 0 20px 0 0;  
}
div.subPages ul li a {
    display: block;
    float: left;
    padding: 0 0 0 20px;  
}