/* The Design Suite 2007
Author: David Montgomery
www.designsuite.co.nz
Description: "Master Style Sheet." */

/* h1 #4f7893 */
/* =gobal
-----------------------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    }
    
body { /* font size correct */  
    background: #ccc;
    text-align: center;
    voice-family: "\"}\""; 
    voice-family: inherit;
    font-size: 12px;
    font-family: "Lucida Grande", Verdana, sans-serif;
    line-height: 1.5;
    color: #666;
    }

html>body { /* be nice to Opera */
    font-size: small;
    }

#container { /* centers page */ 
    width: 750px;
    font-size: 90%;
    font-family: "Lucida Grande", Verdana, sans-serif;
    margin: 0 auto 0 auto; /* space on top and bottom of page */
    text-align: center;
    background: #fff url(/images/site/back_tile2.gif) top left repeat-y;
    line-height: 1.5em;

    }

#img-wrap { /* drop shadow */
    background:  url(/images/site/drop.gif) repeat-y;
    width: 776px;
    text-align:center;
    margin: 0 auto;
    
    
        }
        
.clear {
    clear: both;
    padding: 0;
    margin: 0;
    height: 0;
    clear: both;
    overflow: hidden;
    }
    

#header1 {
    height: 178px;
    background: #4b7994 url(/images/site/new_banner.jpg) no-repeat top left;
    }
    
#header_home {
    height: 216px;
    background: #4b7994 url(/images/site/new_banner_home.png) no-repeat top left;
    }

    
a img {
    border: none;
    }
    
a { text-decoration: none; }



/* =navigation
-----------------------------------------------------------------------------*/
ul#primary-nav {
    margin: 4.5em 0 0 0;
    background: #e2ecf0; /* IE6 Bug */
    font-size: 100%;
    text-align: left;
    float: left;
}

ul#primary-nav { 
    padding: 0;
    width: 143px;
    border-bottom: 1px solid #99BDCF;
    background: #e2ecf0;
    text-align: left;
    float: left;
}

ul#primary-nav ul {
    background-color: #fff;

}

ul#primary-nav li {
    position: relative;
    list-style: none;
    border-top: 1px solid #99BDCF;
    border-left: none;
    border-bottom: 0;
}

ul#primary-nav li a {
    background: transparent url(/images/site/drop_bullet.gif) no-repeat 130px center;
    display: block;
    text-decoration: none;
    color: #4f7893;
    padding: 5px 20px 5px 5px;
    border-left: none;
    border-bottom: none;
    padding-left: 15px; /* left spacing from links */
    font-weight: bold;
}

ul#primary-nav li a:hover {
    color: #333;
    background-color: #fff;
}

/* Fix IE. Hide from IE Mac \*/
/*ul#primary-nav li { float: left; height: 1%; }
ul#primary-nav li a { height: 1%; }*/



/* End */


/* Sub Menu Styles */
ul#primary-nav li ul.subnav {
    padding: 7px 0 17px 0;
    border-top: 1px solid #ccc; 
}

ul#primary-nav li ul.subnav li { 
    border: none;
    margin: 0;
    display: inline;
    
} 

ul#primary-nav li ul.subnav li a {
    background: none;
    font-size: 10px;
    color: #666;
    line-height: 14px;
    padding: 4px 4px 4px 20px;
    font-weight: normal;
   display: block;
}

ul#primary-nav li ul.subnav li a:hover, ul#primary-nav li ul.subnav li.current a {
    color: #1c1c1c;
}

#primary-nav a#current { /* page indicator */
    background: #fff; 
    color: #333;
}   

ul#primary-nav li a#current_sub_parent {
    background: transparent url(/images/site/icons/arrow-down.png) no-repeat 130px center;
    color: #4F7893;
    background-color: #f9fafb;
}
/* =main-content
-----------------------------------------------------------------------------*/
#bread-crumb {
    margin:  12px 0 0 0;
    color: #b8b8b8;
    font-size: 90%;
    float: left;
    width: 265px;
    }

.sub_banner {
    float: right;
    padding-top: 15px;
}
    
.crumb-here {
    font-weight: bold;
    }
#bread-crumb p a {
    color: #b8b8b8;
    }

#bread-crumb p a:hover {
    color: #333;
    text-decoration: none;
    }
        
#main-content {
    float: right;
    width: 540px;
    text-align: left;
    margin: 0 33px 3em 0;
    min-height: 200px;
    display: inline;
    }

#main-content a {
    color: #4F7893;
    }  
    
#main-content ul {
    margin: 0 0 2.25em 1.5em;
    list-style: none;    
}

#main-content li {
    margin: 0 0 0.5em 0;
    background: transparent url(/images/site/bullet.gif) no-repeat 0 50%;
    padding: 0 0 0 1em;    
}

#main-content a:hover {
    color: #333;
    text-decoration: none;
    }

 #main-content a:hover {
    
    }
                    
#main-content p {
    margin: 0 0 1em  0;
    }
            
#main-content p.list-heading {
    font-weight: bold;
    margin: 0 0 1em 0;
    padding: 0;
    
    }

#main-content #team-photo {
    float: left;
    padding: 0 2em 0 0;
    margin: 0 0 1.25em 0;
    }
    
*html #main-content { /* min-height for IE */
    height: 400px;
    }
    
h1 { /* main headings */
    font-size: 160%;
    margin: 0 0 .25em 0;
    color: #333;
    padding: 10px 0 3px 0;
    }

.project-subhead {
    font-size: 80%;
    color: #333;
    font-style: italic;
    }

h2  { /*sub-heading with rule */
    font-size: 1.2em;
    color: #666;
    padding: 0 0 10px 0;
    margin:  0 0 15px 0;
    border-bottom: 1px solid #83B2C4;
    
    }
    
h3 { /* team headings */ 
    font-size: 120%;
    color: #333;
    margin: 5px 0 .25em 0;
    }
   
#project-wrap h3 a { /* team headings */ 
    font-size: 100%;
    color: #4F7893;
    margin: 5px 0 .25em 0; 
    background: none;
}

#project-wrap h3 a:hover { /* team headings */ 
    text-decoration: none;
    color: #333;
    }



#project-wrap h3 a:hover { /* team headings */ 
    text-decoration: none;
    color: #333;
    }
        
        
.project-title {
    color: #333;
    font-size: 100%;
    font-weight: bold;
    font-style: italic;
    }


h4 { /* pg our work - sub headings */   
    font-weight: bold;
    color: #333;
    font-size: 1.2em;
    margin:  30px 0 15px 0;
    }
    
h5 { /* people - qualification/position */
    color: #333;
    font-style: italic;
    font-weight: normal;
    }

h6 {
    font-size: 1.7em;
    margin: 30px 0 .5em 0;
    color: #333;
    }

p.pull-quote {
    color: #333;
    font-size: 1.1em;
    font-style: italic;
    padding-top: 10px;
    }
    
p#end {
    margin: 0 0 50px 0;
    }
    
.end {
    padding: 0 0 50px 0;
    } 

p.page {
    background: url(/images/site/icons/page.gif) 0 0 no-repeat;
    padding: 0 0 0 17px;
    }


/*-------------------- quote page -------------------*/

#quote-wrap {
    margin:  0 0 100px 0;
    color: #333;
    background: #efeff0 url(/images/site/icons/quote.gif)  10px 15px no-repeat;
    padding: 35px 15px 0px 10px;
    float: right;
    width: 345px;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 110%;
    line-height: 1.7em;
    }
    
#author {
    font-style: normal;
    font-family: "Lucida Grande", Verdana, sans-serif;
    color: #333;
    font-size: 110%;
    font-weight: bold;
    line-height: 1.25em;
    }
        
.qual {
    font-size: 80%;
    color: #666;
    }
        
#quote-wrap img {
    float: left;
    }

#quote-wrap p a {
    color: #000;
    background: url(/images/site/cv.gif) no-repeat 50% left;
    padding:  0 0 0 20px;
    color: #666;
    font-family: "Lucida Grande", Verdana, sans-serif;
    font-style: normal;
    font-size: 90%;
    }

#quote-wrap p a:hover {
    color: #333;
    text-decoration: none;
    }
        
#quote-wrap p {
    float: right;
    width: 310px;
    }   

/*-------------------- end quote page -------------------*/ 
    

#project-wrap {
    padding: 10px 10px 20px 0px;
    margin: 0 0 5px 0;  
    border-bottom: 1px solid #e2ecf0;
    }

#project-wrap p {
    margin: 6px 0 7px 0;
    padding: 0;
    }
        
        
#project-wrap img {
    border:none;
}

#project-wrap div.ds {
    margin: 7px 24px 13px 0;
    float: left;
}
    
#project-wrap a {

    }

#project-wrap a:hover {
    color: #333;
    text-decoration: none;
    }
            
.sub-head {
    font-weight: bold;
    color: #333;
    font-size: 1.15em;
    }
                
#quote-section {
        margin: 25px 0 0 0;
    }
/* =about us
-----------------------------------------------------------------------------*/

ul#content-list {
    margin: 1em 0 0 1em;
    list-style: none;
    font-size: .9em;
    
    font-weight: normal;
    }

#content-list a {
    text-decoration: none;
    font-size: 1em;
    color: #5C8EA6;
    background: url(../images/site/drop_bullet.gif) no-repeat 50% left;
    padding: 0 0 0 1em;
    }

#content-list a:hover {
    text-decoration: underline;
    }

#projects #sub-projects {
    margin: 0 0 1.5em 2.5em;
    padding: 0;
    }
    
#projects #sub-projects li {
    line-height: .4em;
    list-style: none;
    background: none;
    }
    
ul.projects {
    margin: 0 0 2.25em 1.5em;
    list-style: none;
    }

ul.projects li {
    line-height: 1.75em;
    margin: 0 0 0.5em 0;
    background: transparent url(/images/site/bullet.gif) no-repeat 0 50%;
    padding: 0 0 0 1em;
    }   

    ul.profile-list {
        margin: 0 2em 2.25em 2em;
        list-style: none;
        float: left;
        }
        
    ul.profile-list li {
        margin: 0 0 .5em 0;
        background: transparent url(/images/site/bullet.gif) no-repeat 0 50%;
        padding: 0 0 0 1em;
        
        }
        



/* =contact us
-----------------------------------------------------------------------------*/
.address-title {
    color: #333;
    font-size: 120%;;
    font-weight: bold;
    display: block;
    margin: 6px 0 6px 0;
    }
    
ul.address {
    list-style: none !important;
    line-height: 1.75em !important;
    margin: 0.5em 0 15px 0 !important;
    padding: 0 1.5em 0 0em !important;
    font-size: 100% !important;
    background: none !important;
}


ul.address li {
    line-height: 1.75em;
    margin: 0 !important;
    padding: 0 !important;  
    background: none !important;     
}

.address a:hover {
    color: #333;
    text-decoration: none;
    }
    
.address-team { /* team members contacts */
    float: left;
    }
.address-main { /* physical address */
    float: right;
    margin: 0 5em 0 0 ;
    }
    
.address-head {

    font-size: 1.25em;
    margin:  0 0 0 0em;
    }
    
.address .address-name  a {
    color: #4f7893;
    font-size: 120%;;
    font-weight: bold;
    display: block;
    }

.address .address-name  a:hover {
    color: #333;
    text-decoration: none;
    }
.contact-type {
    color: #333;
    font-weight: bold;
    }   
    
/* =Bottom-nav
-----------------------------------------------------------------------------*/ 
.pic {
    border: 1px solid #000;
    }   
    
/* =footer 
-----------------------------------------------------------------------------*/
#footer {
    clear: both;
    padding: 0 2em 2em 0;
    background: #4b7994 url(/images/site/footer_tile.gif) top right repeat-x ;
    color: #EEEEEE;
    font-size: 10px;
    line-height: 1.5em;
    border-top: 1px solid #000;
    }

#footer p {
    margin: 2em 0 0 0;
    }

#footer p a {
    font-size: 110%;
    color: #fff;
    }
    
#footer p a:hover {
    text-decoration: none;
    }
    
/* =gallery
-----------------------------------------------------------------------------*/ 
#main-content ul.gallery_list {
    margin: 0;
    padding: 0;
    background: none;

}

#main-content ul.gallery_list  li {
    margin: 0;
    padding: 0;
    float: left;
}



#bottom-nav {
    clear: both;
    margin-top: 20px;
}
    
.home-bottom-nav {
    background: transparent url(/images/site/home-gallery.jpg) no-repeat 50% 0;
}
    
ul#gallery1 {
    padding-top: 12px;
    margin: 0px auto 0px auto;  /* space on top and bottom of page */
    text-align: center;
    height: 135px;
    }
    
ul#gallery1.home-gallery {
    padding: 0 0px 0px 24px;
    margin: 40px 0 0px 0px;  /* space on top and bottom of page */
    text-align: center;
    }
    
ul#gallery1.home-gallery li {
    width: auto;
}

ul#gallery1.home-gallery li a {
    padding: 105px 0 0 0;
    display: block;
    width: 98px;
    color: #4F7893;
    font-weight: bold;
}

ul#gallery1.home-gallery li a:hover {
    color: #333;
}

#gallery1.people {
    padding: 25px 0px 45px 0px;
    background: #e2ecf0;
    width: 540px;
    margin: 0px auto 0px auto;  /* space on top and bottom of page */
    text-align: center;
    }
            
#gallery1 a.arrow {
    color: #666;
    font-size: .9em;
    }

#gallery1 a:hover {
    text-decoration: none;
    }
        
#gallery1 li {
    list-style: none;
    float: left;
    text-align: center;
    height: 130px;
    width: 135px;
    }
    
#gallery1 img {
    border: none;
    }

#project-info  {
    float: right;
    padding-right: 4px;
    margin-bottom: 20px;
    }
    
#project-info p {
    padding: 0 0 0 18px;
    margin-bottom: 0;
    background: url(/images/site/more_projects.gif) center left no-repeat;
    }
    
#project-info a {
    color: #666;
    background: url(/images/site/go_projects.gif) center left no-repeat;
    padding: 0 0 0 18px;
    }

#project-info a:hover {
    text-decoration: none;
    }

#project-link  {
    margin: 0px 0 0 55px;
    padding:  25px 0 45px 0; /* space from "more project" link to images */
    text-align: left;
    }
    
#project-link p {
    padding: 20px 0 0 0px;
    }
    
#project-link a {
    color: #666;
    background: url(/images/site/go_projects.gif) center left no-repeat;
    padding: 0 0 0 18px;
    }

#project-link a:hover {
    text-decoration: none;
    }   

/* =links
-----------------------------------------------------------------------------*/ 

ul#links {
    list-style: none;
    margin:  0 0 3em 1.5em;
    line-height: 3em;
    }

ul#links li {
    background: none;
    margin: 0;
    padding: 0;        
}

#links a {
    background: url(/images/site/icons/link.gif) center left no-repeat;
    padding: 0 0 0 20px;
    }
    
#links a:hover {
    background: url(/images/site/icons/link.gif) center left no-repeat;
    text-decoration: none;
    }       
                
/* =sitemap
-----------------------------------------------------------------------------*/ 

ul#sitemap {
    margin:  3em 0 0 25px;
    }

ul#sitemap ul {
    margin:  0 0 0 15px;
    }

ul#sitemap ul ul {
    margin:  0 0 0 20px;
    }
    
ul#sitemap ul li { /* second level */
    margin:  0;
    background: none;
    }

ul#sitemap ul li a { /* second level */
    color: #666;
    text-decoration: none;
    background: none;
    font-size: .9em;
    font-weight: normal;
    }

ul#sitemap ul ul li a { /* second level */
    text-decoration: none;
    background: none;
    font-size: 90%
    font-weight: normal;
    }
                    
#sitemap li {
    list-style: none;
    line-height: 2em;
    font-weight: bold;
    background: none;
    margin: 0;
    }   

#sitemap a {
    background: url(/images/site/icons/sitemap.gif) no-repeat center left;
    color: #617c9d;
    padding: 0 0 0 15px;
    }

#sitemap a:hover {
    text-decoration: underline;
    color: #ff7c0a;
    }   


/* =CLEARFIX
    ................................................................. */
.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

/*html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}*/

/* =additional
-----------------------------------------------------------------------------*/
div.table_wrap {
    position: relative;
}

img#col1 {
    position: absolute;
    top: 0;
    left: 0;
}

div.img_wrap {
    background: transparent url(/images/site/bg-img.png) no-repeat 0 0;
    width: 104px;
    height: 106px;
    float: left;
    padding-right: 4px;
    padding-bottom: 7px;
    position: relative;
}

div.img_wrap img {
    position: absolute;
    top: 2px;
    left: 3px;
}

ul#gallery1 li {
    width: auto;

}

ul#gallery1 li.last div.img_wrap {
    padding-right: 0;
} 

ul#gallery1 li div.img_wrap {
    padding-right: 5px;
}

/* =project table
-----------------------------------------------------------------------------*/
.scroller {
    overflow-y: scroll;
    height: 500px;
    position: relative;
    margin-right: -20px;
}

.scroller table.project_table {
    border-top: none;
}

table.project_table th span {
    position: absolute;
    left: -9999px;
    top: 0;
}

table.project_table {
    width: 540px;
}

table.project_table th {
    background-color: #e2ecf0;
    vertical-align: bottom;
    text-align: center;
    padding: 11px 5px 10px 5px;
    height: 144px;
}

table.project_table .first { width: 210px; }
table.project_table .col2 { width: 38px; }
table.project_table .col3 { width: 17px; }
table.project_table .col4 { width: 17px; }
table.project_table .col5 { width: 17px; }
table.project_table .col6 { width: 17px; }
table.project_table .col7 { width: 17px; }
table.project_table .col8 { width: 16px; }
table.project_table .col9 { width: 23px; }
table.project_table .col10 { width: 28px; }
table.project_table .col11 { width: 16px; }

table.project_table td, th {
    border-bottom: 1px solid #cbcbcb;
    border-left: 1px solid #cbcbcb;
}

table.project_table {
    border-top: 1px solid #cbcbcb;
    border-right: 1px solid #cbcbcb;
}

table.project_table td {
    padding: 7px 5px 7px 5px;
    text-align: center;
}

 #main-content table.project_table td.first p {
    display: block;
    background: transparent url(/images/site/icons/table-arrow.png) no-repeat 0 3px;
    padding-left: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: left;
}

/* =project experience
-----------------------------------------------------------------------------*/

div.project_col2, div.project_col1  {
    padding-left: 13px;
    width: 250px;
    float: left;
    margin-top: 34px;
}

div.project_col1 {
    border-right: 1px solid #83B2C4;
    padding-right: 13px;
    padding-left: 0;
}

ul.project_list {
    list-style: none;
    margin-bottom: 6px;
}

div.project_col1 h4, div.project_col2 h4 {
    margin-bottom: 4px;
    margin-top: 0;
    position: relative;
} 

div.project_col1 h4 img, div.project_col2 h4 img {
    position: absolute;
    top: 0;
    left: -21px;
}

a.project_link {
    background: transparent url(/images/site/drop_bullet.gif) no-repeat left center;
    padding-left: 8px;
    display: block;
    margin-bottom: 25px;
}



a.project_button {
    background-color: #e2ecf0;
    padding: 5px 10px;
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
    float: left;
    margin-bottom: 25px;
    display: block;
    cursor: pointer;
}

a.project_button.cv {
    margin-left: 34px;
    font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
}

a.project_button:hover {
    background-color: #f2f2f2;
}

a.project_button strong {
    background: transparent url(/images/site/drop_bullet.gif) no-repeat left center;
    padding-left: 8px;
}




div#yk_debug_info p {
    color: #ccc !important;
}