/*
    Document   : styles
    Created on : 28.11.2009, 18:57:49
    Author     : Alex aka TPETb Tretyakov
    Description:
        Stylesheet table for "Надежная компания" website
*/

/* Reset styles */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}
/*      Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }
/*      Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }


body {
    width: 100%;
    background: url(../images/body-bg.gif) repeat-x top;
    font-family: "Arial", sans-serif;
    font-size: 14px;
    color: #212b32;
}

a, a:visited, a:hover {
    color: #00aaee;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}


#page-wrapper {
    width: 940px;
    margin: 0 auto;
}
#page {
    float: left;
    width: 100%;
    background: #fff;
}

/* Header styles */
#header {
    float: left;
    width: 920px;
    margin: 0 10px;
}

#logo {
    float: left;
    margin: 25px 0 30px 25px;
    height: 85px;
}

#contact-phone {
    float: right;
    clear: none;
    height: 40px;
    background: url(../images/phone-ico.gif) no-repeat left;
    padding-left: 50px;
    margin: 55px 25px 0 0;
    font-size: 18px;
}
#contact-phone strong {
    font-size: 29px;
    font-weight: normal;
    margin-left: 3px;
}

#main-menu {
    float: left;
    width: 100%;
    clear: both;
    height: 51px;
    background: url(../images/main-menu-bg.gif) no-repeat;
}
#main-menu ul {
    margin: 10px 0 0 7px;
    overflow: hidden;
    width: 100%;
}
#main-menu ul li {
    float: left;
    list-style: none;
    background: url(../images/main-menu-separator.gif) no-repeat left;
    margin-left: -2px;
    padding: 2px 23px 5px;
}
#main-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}
#main-menu ul li a.active {
    color: #fec835;
}

#banner {
    float: left;
    position: relative;
}
#banner .read-more {
    position: absolute;
    bottom: 33px;
    left: 390px;
}

h1 {
    float: left;
    width: 920px;
    height: 70px;
    background: url(../images/page-title-bg.jpg) no-repeat;
    padding: 26px 0 0 25px;
    color: #fff;
    font-size: 33px;
    font-weight: bold;
}

/* Main part styles */
#main-part {
    float: left;
    width: 874px;
    margin: 30px 33px;
}
.homepage #main-part {
    background: url(../images/main-part-vert-separator.gif) repeat-y top center;
}

#main-part .read-more {
    font-size: 11px;
    line-height: 18px;
}

/*      Homepage */
#company-brief h2,
#latest-news h2 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 15px;
}
#latest-news {
    float: left;
    width: 400px;
}
#latest-news ul {

}
#latest-news ul li {
    list-style: none;
    margin-top: 15px;
}
#latest-news .date {
    color: #788185;
    font-size: 11px;
}
#latest-news p {
    font-size: 13px;
}

#company-brief {
    width: 390px;
    float: right;
}
#company-brief p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
}

/* Contact */
#contact-info {
    float: left;
    width: 400px;
}
#contact-form-container {
    float: right;
    width: 432px;
}
#contact-info h2,
#contact-form-container h2 {
    font-size: 18px;
    color: #F78600;
}
#contact-form {
    width: 378px;
    background: url(../images/form-bg.gif) no-repeat top center;
    padding: 18px 27px;
}
#contact-form label {
    float: left;
    clear: both;
    width: 85px;
    height: 25px;
    padding-top: 5px;
}
#contact-form input {
    width: 285px;
    float: left;
    clear: none;
}
#contact-form textarea {
    width: 370px;
    height: 150px;
}
#contact-form .send-button {
    float: right;
    clear: both;
    margin-top: 10px;
    width: 149px;
    height: 34px;
    border: 0;
    background: url(../images/send-button-bg.gif) no-repeat;
    cursor: pointer;
}

/* Common elements */
ol li {
    list-style: decimal;
    list-style-position: inside;
    font-family: "Times New Roman", serif;
    font-size: 20px;
    padding: 10px 0 0 25px;
    margin-top: 20px;
    background: url(../images/service-item-bg.gif) no-repeat left top;
}
ol li * {/*Not the best solution I guess*/
    font-family: "Arial", sans-serif;
}
ol li h2 {
    display: inline-block;
    font-size: 18px;
    color: #f78600;
    margin-bottom: 10px;
}
ol li p {
    border-left: 3px solid #dadada;
    font-size: 14px;
    margin: 0 0 0 25px;
    padding: 0 0 0 15px;
}
h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 20px 0 15px;
}
ul {
    margin: 15px 0 20px 15px;
}
ul li {
    list-style-image: url(../images/bullet.gif);
    padding: 3px;
}


/* Footer styles */
#footer {
    float: left;
    width: 893px;
    margin: 0 10px;
    padding: 10px 0 30px 26px;
    border-top: 2px solid #c9cccd;
    color: #949da2;
    font-size: 11px;
}

table.bordered td {
    border: 1px solid #888 !important;
}