/*
    Description: Contact form CSS.

    File:     $HeadURL: file:///D:/Development/subversion/websites/critchleys.co.uk/_misc/contact-form.css $
    Revision: $Rev: 136 $
    Date:     $Date: 2009-09-25 15:18:19 +0100 (Fri, 25 Sep 2009) $
    Author:   $Author: Business $
    
    Copyright © 2009, Datrim Web Design Ltd. All rights reserved.
*/

.popup h1 {
    border-bottom: 4px solid #78373D;        /* Burgundy */
    margin-bottom: 1em;
    padding-bottom: 3px;
    font-size: 2em;
    font-weight: normal;
}

.popup h1 span {
    display: block;
    padding: 0.2em 20px;
    background-color: #CFD628;                /* Light green */
    color: #78373D;                            /* Burgundy */
}

#copy-box div.photo {
    float: left;
    margin-left: 10px;
}

#copy-box div.photo div {
    margin: 0 10px 0 0;
    background: url(/assets/images/people/frame.gif) no-repeat;
    padding-top: 11px;
    padding-left: 12px;
    width: 74px;                /* 86 minus 12 padding-left = 74px */
    height: 75px;               /* 86 minus 11 padding-top = 75px */
}

#copy-box div.photo p {
    width: 86px;
    margin: 0.6em 0 0 0;
    padding: 0;
    text-align: center;
    color: #78373D;                            /* Burgundy */
}

.contact form {
    float: left;
}

.popup form {
    width: 410px;
    margin: 0 auto;
}

#copy-box form div {
    clear:both;
/*    padding: 0.8em 0;*/
    padding: 0.5em 0;        /* MSIE requires tighter spacing */
}

#copy-box form div.first {
    padding-top: 0;
}

#copy-box form label {
    clear: both;
    float: left;
    width: 120px;
}

#copy-box form input,
#copy-box form textarea {
    float: left;
}

#copy-box form input.text,
#copy-box form textarea {
    width: 288px;
    border: 1px solid #78373D;                /* Burgundy */
}

#copy-box form select {
    border: 1px solid #78373D;
}

#copy-box form div span input {
    float: none;
}

#copy-box form div .c0 {
    width: 60px;
    text-align: center;
}

#copy-box form div .c1 {
    width: 60px;
    margin-right: 40px;
    text-align: center;
}

#copy-box form div .c2 {
    width: 70px;
    text-align: center;
}

#copy-box form div span {
    display: block;
    float: left;
}

#copy-box form div.t1 label {
    width: 240px;
}

#copy-box form div.t2 label {
    width: 340px;
}

#copy-box form div.t0 .c1 {
    margin-left: 240px;
}

#copy-box form div.t0 .c2 {
    clear: none;
}

#copy-box form div.commit {
    float: right;
    width: auto;
    padding-bottom: 0;
}

#copy-box form div.commit label {
    width: auto;
    float: none;
    color: #78373D;                            /* Burgundy */
    vertical-align: 10px;
}

#copy-box form div.commit input {
    width: auto;
    float: none;
}

#copy-box form #title {
    width: 40px;
}

#copy-box form #postcode {
    width: 80px;
}

#copy-box p.req {
    clear: left;
    font-size: 0.9em;
    margin-top: 1.2em;
    #margin-top: -1.8em;                    /* IE6 and IE7 */
}

#copy-box form div.clearing {
    clear: both;
    margin: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}
