@import url(reset.css);

body {
    font: 13px Tahoma, sans-serif;
    background: #efefef;
}
#wrapper {
    width: 914px;
    margin: 0 auto;
}
#top {
    height: 298px;
    padding: 40px 30px;
    position: relative;
}
#top .background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -100;
    display: block;
}
#top ul {
    height: 60px;
    padding: 0 160px 0 10px;
    background: #fff url(../images/logo.png) no-repeat top right;
    margin: 0;
    list-style: none;
}
#top li {
    float: left;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    height: 60px;
    position: relative;
}
#top ul li:hover {
    background: #dfdfdf url(../images/item-background.png) no-repeat top center;
    border-left: 1px solid #cdcdcd;
    border-right: 1px solid #cdcdcd;
}
#top a {
    font: bold 14px "Arial Narrow", sans-serif;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    display: block;
    padding: 21px 0 2px;
    margin: 0 7px;
}
#top a.selected {
    border-bottom: 2px solid #f00;
}
#top li ul {
    display: none;
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 0 0 12px;
    background: url(../images/submenu-bottom.png) no-repeat bottom left;
    height: auto;
    left: -9px;
    width: 204px;
    top: 60px;
    z-index: 2500;
}
#top li ul li {
    width: 204px;
   /* float: none;*/
    background: url(../images/submenu-background.png) repeat-y;
    border: none;
    height: auto;
}
#top li ul li:hover {
    background: url(../images/submenu-background.png) repeat-y;
    border: none;
}
#top li ul li a {
    border: 1px solid #c3c3c3;
    border-top: none;
    margin: 0 0 0 8px;
    padding: 5px 10px;
    display: block;
    width: 162px;
    height: auto;
    font: 12px Tahoma, sans-serif;
    color: #373737;
    text-transform: none;
}
#top li ul li a:hover, #top li ul li a:active {
    background: #e2e2e2;
}
#top li ul li a.first {
    border-top: 1px solid #c3c3c3;
    margin-left: 8px;
}
#main {
    background: #fff;
    min-height: 700px;
}
#content.wide {
    width: 854px;
    position: relative;
}
#content {
    padding: 30px;
    width: 560px;
}
#content p {
    margin-top: 18px;
}
#content h1 {
    font: bold 26px "Arial Narrow", Tahoma, Helvetica, sans-serif;
    line-height: 35px;
}
#content h2 {
    font: 26px "Arial Narrow", Tahoma, Helvetica, sans-serif;
    line-height: 30px;
    margin-bottom: 10px;
}
#sidebar {
    float: right;
    margin-top: 30px;
    margin-right: 30px;
    width: 255px;
}
#sidebar img {
    display: block;
    border: 1px solid #c4c4c4;
}
#sidebar h2 {
    margin-top: 10px;
    padding: 4px 6px;
    background: #e0e0e0;
    font-size: 14px;
    font-weight: bold;
    color: #3b3b3b;
    text-transform: uppercase;
}
.clear {
    clear: both;
}
#bottom {
    background: #e7e7e7;
    padding: 10px 30px;
    color: #888;
}
#bottom a {
    font: 10px "Arial Narrow", Tahoma, Helvetica, sans-serif;
    color: #888;
    margin-right: 15px;
    text-decoration: none;
    text-transform: uppercase;
}
#bottom a:hover, #bottom a:active {
    text-decoration: underline;
}
#bottom p {
    margin-top: 5px;
    padding: 10px 0 0;
    border-top: 1px solid #cacaca;
    font-size: 11px;
    text-align: right;
}
#content .post {
    margin: 15px 0 0;
    padding: 15px 0 20px;
    border-bottom: 1px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
}
#content .post a {
    color: #7f98bf;
    text-decoration: none;
}
#content .post p {
    color: #7c7c7c;
    margin: 15px 0 0;
}
#content .post h2 {
    font: 42px "Century Gothic", "Times New Roman", serif;
    font-weight: normal;
    color: #303030;
    line-height: 28px;
    margin-left: 65px;
}
#content .post h3 {
    font-size: 12px;
    font-weight: normal;
    color: #303030;
    margin-left: 65px;
    margin-top: 10px;
}
#content .post .date {
    width: 52px;
    height: 52px;
    background: url(../images/calendar.png) no-repeat;
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    padding-top: 1px;
    float: left;
}
#content .post .date span {
    color: #000;
    display: block;
    font-size: 25px;
    padding-top: 2px;
}
#content .post .more {
    padding-top: 25px;
    margin: 0;
    text-align: right;
}
#content .post a:hover, #content .post a:active {
    text-decoration: underline;
}
#wrapper.gallery {
    background: #a7a7a7 url(../images/gallery-background.png) repeat-x;
}
#wrapper.gallery #content {
    margin-bottom: 20px;
}
#location {
    padding: 10px 30px;
    color: #fff;
}
#location a {
    color: #fff;
    text-decoration: none;
}
#location a:hover, #location a:active {
    text-decoration: underline;
}
#wrapper.gallery #top {
    height: 60px;
    padding: 0 30px;
}
#wrapper.gallery #main {
    background: none;
}
#wrapper.gallery h1, #wrapper.gallery h2 {
    color: #fff;
}
#wrapper.gallery .image {
    background: #fff;
    padding: 8px;
    width: 145px;
    height: 145px;
    float: left;
    margin-left: 12px;
    margin-top: 12px;
}
#wrapper.gallery .image.first {
    margin-left: 0;
}
#wrapper.gallery .image img {
    border: 1px solid #cfcfcf;
}
#wrapper.gallery .space {
    height: 20px;
    background: #fff;
}
#wrapper.gallery #content {
    padding-top: 20px;
    padding-bottom: 10px;
}
#wrapper.gallery .consultation {
    position: absolute;
    text-align: right;
    top: 45px;
    right: 30px;
    font-size: 11px;
    color: #383838;
}
#wrapper.gallery .consultation a {
    text-decoration: none;
    display: block;
    margin-top: 8px;
}
.home {
    background: #fff;
}
.home #wrapper {
    background: url(../images/home-background.png) no-repeat;
    width: 909px;
    height: 617px;
    position: relative;
}
.home #top {
    padding-top: 15px;
}
.win {
    font: bold 19px "Arial Narrow", Tahoma, Helvetica, sans-serif;
    position: absolute;
    left: 0;
    top: 151px;
    color: #383838;
    text-transform: uppercase;
}
.win span {
    color: #f00;
}
.menu {
    position: absolute;
    width: 200px;
    left: 45px;
    top: 355px;
}
.menu h2 {
    font: bold 15px "Arial Narrow", Tahoma, Helvetica, sans-serif;
    color: #232323;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.menu a {
    color: #232323;
    font-size: 13px;
    text-decoration: none;
    display: block;
}
.menu a:hover, .menu a:active {
    text-decoration: underline;
}
.intro {
    position: absolute;
    width: 400px;
    left: 270px;
    top: 360px;
}
.intro h1 {
    font: 19px Myriad, Tahoma, Helvetica, sans-serif;
    color: #000;
}
.intro p {
    margin-top: 15px;
    font-size: 13px;
    color: #282828;
}
.intro h1 span {
    color: #1384ed;
}
.portfolio {
    position: absolute;
    width: 155px;
    left: 695px;
    top: 360px;
}
.portfolio img {
    border: 1px solid #d8d8d8;
    display: block;
    margin-bottom: 7px;
}
.portfolio h2 {
    font: bold 15px Myriad, Tahoma, Helvetica, sans-serif;
    color: #000;
}
.portfolio p {
    font-size: 12px;
    color: #3a3a3a;
    margin-top: 3px;
}
.home #bottom {
    position: absolute;
    top: 617px;
    width: 849px;
    font-size: 11px;
    color: #888;
    text-align: left;
    padding: 5px 0;
    background: #fff;
}
#content.testimonials {
    width: 854px;
}
#testimonials {
    width: 900px;
    padding: 0 8px;
}
#testimonials .testimonial {
    width: 447px;
    float: left;
    margin-top: 30px;
}
#testimonials .testimonial.top {
    margin-top: 0;
}
#testimonials .testimonial.second {
    margin-left: 6px;
}
#testimonials .testimonial p {
    color: #282828;
    font-size: 12px;
    margin-top: 14px;
    width: 212px;
    line-height: 14px;
}
#testimonials .testimonial .first {
    margin-top: 4px;
}
#testimonials .testimonial img {
    float: right;
}
#testimonials .testimonial.top p {
    text-align: right;
}
#testimonials .testimonial.bottom {
    width: 430px;
}
#testimonials .testimonial.bottom.second {
    width: 447px;
}
#testimonials .testimonial.bottom p {
    float: right;
    width: 185px;
    margin-right: 10px;
}
#testimonials .testimonial.bottom.second p {
    width: 212px;
    margin-right: 0;
}
#testimonials .testimonial.bottom img {
    float: left;
}