﻿body
{
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #666666;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%;
    background-color: #e8e8ee;
    background-image: url(../images/bkgr.jpg);
    background-repeat: repeat-x;
}
a:link, a:visited
{
    color: #292461;
    text-decoration: none;
}
a:hover, a:active
{
    text-decoration: underline;
}
#container
{
    width: 960px; /* the auto margins (in conjunction with a width) center the page */
    text-align: left; /* this overrides the text-align: center on the body element. */
    background-image: url(../images/Rachel_Stubbs_logo.jpg);
    background-repeat: no-repeat;
    padding: 0px;
    margin: 0 auto 50px auto;
    font-size: 12px;
}
#header
{
    height: 330px;
    position: relative;
}

.home-header
{
    background: url(/images/banners/bg_home.jpg) top right no-repeat;
}

.firm-header
{
    background: url(../images/banners/bg_firm.jpg) top right no-repeat;
}

.lawyers-header
{
    background: url(../images/banners/bg_lawyers.jpg) top right no-repeat;
}

.services-header
{
    background: url(../images/banners/bg_services.jpg) top right no-repeat;
}

.publications-header
{
    background: url(../images/banners/bg_publications.jpg) top right no-repeat;
}

.contact-header
{
    background: url(../images/banners/bg_contact.jpg) top right no-repeat;
}

#phone
{
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    background-image: url(../images/phone.gif);
    background-repeat: no-repeat;
    position: absolute;
    left: 400px;
    top: 45px;
    height: 30px;
    width: 180px;
    text-indent: 35px;
    text-align: left;
    padding-top: 3px;
}

#headertext
{
    width: 360px;
    top: 140px;
    left: 180px;
    position: absolute;
    font-family: Georgia, "Times New Roman" , Times, serif;
    font-style: italic;
    font-size: 24px;
    color: #CECADF;
    text-align: center;
    font-weight: normal;
}



/*- Main Navigation --------------------------- */

#navcontainer
{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 30px;
    line-height: 30px;
    margin: 0;
    padding: 0;
}

#navcontainer ul
{
    list-style-type: none;
    text-align: center;
    width: 960px;
    font-size: 20px;
    font-family: Georgia, "Times New Roman" , Times, serif;
    font-weight: normal;
    height: 30px;
    margin: 0;
    padding: 0;
}

#navcontainer li
{
    display: inline;
    height: 30px;
    margin: 0;
    padding: 0;
}

#navcontainer li a
{
    text-decoration: none;
    color: #FFF;
    padding: .3em .75em;
}

#navcontainer li a:hover
{
    background-color: #FFFFFF;
    color: #272262;
}
/*- end Main Navigation --------------------------- */

#mainframe
{
    border-right: 10px solid #CECADF;
    border-bottom: 10px solid #CECADF;
    border-left: 10px solid #CECADF;
    border-top: 1px solid #fff;
    background-color: #FFFFFF;
    padding: 0px;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-left: 0;
}

/*- Navigation 2 --------------------------- */

#nav2
{
    float: left; /* since this element is floated, a width must be given */
    width: 170px; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 0px 10px; /* padding keeps the content of the div away from the edges */
    text-align: center;
    background-image: url(../images/left_nav.jpg);
    background-repeat: no-repeat;
    position:relative;
    min-height:465px;
}
* html #nav2 /* ie6 hack */
{
    height:465px;
}
#nav2 ul
{
    list-style: none;
    margin: 45px 0;
    padding: 0;
}
#nav2 ul li
{
    margin: 0;
    padding: 0;
}
#nav2 li a
{
    text-decoration: none;
    border-bottom-width: 3px;
    border-bottom-style: dotted;
    border-bottom-color: #CCCCCC;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    color: #999999;
    display: block;
    padding: 12px;
}
* html #nav2 li a /* ie6 hack */
{
    width: 146px;
}

#nav2 li a:hover,
#nav2 li.selected a
{
    color: #292461;
}
/*- end Navigation 2 --------------------------- */

#appointment
{
    float: right;
}

/*- Navigation 3 --------------------------- */

#nav3
{
    float: right; /* since this element is floated, a width must be given */
    width: 160px; /* the background color will be displayed for the length of the content in the column, but no further */
    margin: 20px;
    text-align: center;
}

#nav3 h3
{
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #292461;
    margin: 20px 0 0 0;
    padding: 5px;
}
#nav3 ul
{
    list-style: none;
    padding: 10px 0;
    background-color: #eeeeee;
    margin: 0;
}
#nav3 ul li
{
    margin: 0;
    padding: 0;
}
#nav3 li a
{
    text-decoration: none;
    font-size: 12px;
    text-align: left;
    margin: 0 7px;
    color: #666666;
    display: block;
    padding: 5px 3px 5px 15px;
}

#nav3 li a:hover,
#nav3 li.selected a
{
    color: #292461;
}
/*- end Navigation 3 --------------------------- */


#mainContent
{
    margin: 0 210px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
    padding: 15px 0 10px 0; /* remember that padding is the space inside the div box and margin is the space outside the div box */
    font-size: 12px;
    line-height: 150%;
}
#mainContentBody 
{
    /* used on staff list page to fit 2 columns of staff members.  
       identical to mainContent except for right margin. */
    margin:0 20px 0 210px; 
    padding: 15px 0 10px 0; 
    font-size: 12px;
    line-height: 150%;
}
#mainContent h1
{
    font-size: 30px;
    line-height:30px;
    margin-bottom:0;
    font-family: Georgia, "Times New Roman" , Times, serif;
    font-weight: normal;
    color: #292461;
}
* html #mainContent h1 /* ie6 hack */
{
    width:450px;
}
#mainContent h2
{
    font-size: 12px;
    color: #292461;
}
#mainContent h2.staff-name
{
    color:inherit;
    margin:2em 0;
}
#mainContent h2.staff-name em
{
    font-weight:normal;
}
#mainContent img
{
    margin-right: 10px;
}
#mainContent ul
{
    list-style-image: url( '../images/arrow.jpg' );
}
#footer
{
    background-color: #eeeeee;
    margin: 0px;
    background-image: url(../images/footer_bkgr.gif);
    background-repeat: repeat-x;
    height: 190px;
}
#footer .icon
{
    float: left;
    background-image: url(../images/footer_img.gif);
    background-repeat: no-repeat;
    display: block;
    width: 190px;
    height: 180px;
}
#footer .address
{
    float: left;
    margin-top: 50px;
    line-height: 125%;
    margin-left: 20px;
}
#footer .lawsociety
{
    float: right;
    margin-top: 60px;
    margin-right: 45px;
}
#footer h4
{
    font-size: 20px;
    font-family: "Times New Roman" , Times, serif;
    letter-spacing: 125%;
    font-weight: normal;
    margin: 3px 0;
}
#footer p
{
    font-size: 12px;
    margin: 0px;
}
.fltrt
{
    /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
}
.fltlft
{
    /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
}
.clearfloat
{
    /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}
.home1-image
{
    position:absolute;
    height:270px;
    padding-top:180px;
    background:#FFF;
    top:0;
    left:0px;
}
.call-today-container
{
    position:relative;
    height:170px;
    margin-top:20px;
}
.call-today
{
    position:absolute;
    top:0;
    left:-50px;
    height:100%;
    background:url(../images/home2.jpg) no-repeat left;
    padding-left:180px;
}
.call-today p
{
    display:block;
    white-space:nowrap;
    line-height:61px;
    background:url(../images/arrow_big.gif) no-repeat left;
    padding-left:92px;
    font-size: 28px;
    font-family: "Times New Roman" , Times, serif;
    font-weight: bold;
    color: #292461;
    margin-top:35px;
}
#detailed-office-list ul
{
    margin:0;
    padding:0;
}
#detailed-office-list li
{
    list-style:none;
    list-style-image:none;
}

/*** publications page ***/
/* publication search form */
.publication-search
{
    padding-top:20px;
    padding-bottom:5px;
}
.publication-search div
{
    padding-bottom:5px;
}
.publication-search label
{
    display:block;
    float:left;
    width:110px;
}
.publication-search .button
{
    display:block;
    margin-top:5px;
}

/* publication list */
* html .publication-list /* ie6 hack */
{
    width:510px;
}
.publication-list ul
{
    margin:0;
    padding:0;
}
.publication-list li
{
    list-style:none;
    list-style-image:none;
    border-bottom:1px solid #d1d1d1;
    overflow:hidden;
    padding:10px 0 5px 0;
    width:100%;
}
.publication-list li .publish-date
{
    float:left;
    font-size:11px;
    font-weight:bold;
}
.publication-list li .summary
{
    float:right;
    width:440px;
}
.publication-list li .summary .title a
{
    font-weight:bold;
    text-decoration:none;
}
.publication-list li .summary .author
{
    padding-top:2px;
    font-weight:bold;
}
.publication-list li .summary .description
{
    padding-bottom:4px;
}

/* enquiry form */
.enquiry-form
{
    margin-top:20px;
}
.enquiry-form .column-1
{
    float:left;
    width:45%;
}
.enquiry-form .column-2
{
    float:right;
    width:50%;
}
.enquiry-form label
{
    display:block;
}
.enquiry-form .column-1 input,
.enquiry-form .column-1 select
{
    width:213px;
    margin-bottom:10px;
}
.enquiry-form .column-2 select
{
    width:100%;
    margin:10px 0;
}
.enquiry-form .column-2 input.button
{
    float:right;
}
.enquiry-form .column-2 textarea
{
    width:100%;
    height:200px;
    margin-bottom:5px;
}

/* profile page */
.profile-image
{
    float:left;
    position:relative;
}

/* staff list page */
.staff-list
{
    margin:0;
    padding:0;
    overflow:hidden;
}
.staff-list li
{
    float:left;
    width:340px;
    list-style:none;
    list-style-image:none;
    margin-bottom:1em;
}
.staff-list-image
{
    float:left;
    width:67px;
    margin-right:10px;
}
.staff-list li a span
{
    float:left;
    width:200px;
    margin-top:40px;
}
.staff-list li a:hover span
{
    text-decoration:underline;
    cursor:pointer;
}
