html, body {
    background: #F7F7F7;
    height: 100%;
}

body {
    font-family: /* "Helvetica Neue", */Arial, Helvetica, sans-serif;
    font-size: 75%;
    color: #B0B0B0;
}

p, ol, ul, dl {
    line-height: 1.5;
}

strong {
    text-transform: uppercase;
    font-size: 90%;
}

em {
    font-style: italic;
}


/* HEADLINES */

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    color: #888;
    margin: 1em 0;
}

#content h1:first-child {
    margin-top: 3px;
}

h1 {
    font-size: 90%;
    color: #A3B01F;
}


/* LAYOUT */

#page, #splash-inner {
    width: 955px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.show-grid #page {
    background: url('../../img/default/grid-bg.png') top center repeat-y;
}

#header img {
    margin-left: 52px;
    margin-top: 110px;
}


/* LINKS */

a {
    text-decoration: none;
    color: #777;
}

a:hover, a:focus, a.hover {
    color: #A3B01F !important;
}

a:focus {
    outline: 0;
}



/* SPLASHSCREEN */

#splash {
    display: none;
    z-index: 9999;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #A3B01F;
    z-index: 2;
}

.fx #splash {
    cursor: pointer;
}

#splash-inner {
    height: auto;
}

#splash div.logo {
    margin-left: 52px;
    margin-top: 110px;
}



/* NAVIGATION */

#nav, #subnav {
    text-transform: uppercase;
    font-size: 90%;
}

#nav {
    position: relative;
    width: 235px;
    margin-right: 5px;
    text-align: right;
    padding-top: 58px;
    float: left;
}

#nav ul {
    margin-right: 17px;
    line-height: 2;
}

#nav li {
    margin-bottom: 0.2em;
}

#nav a, #subnav a, #projects-nav a {
    color: #B0B0B0;
}

#nav li.selected a, #nav li.ancestor a, #subnav li.selected a , #subnav li.ancestor a {
    color: #A3B01F;
}

#subnav {
    width: 710px;
    height: 28px;
    margin-top: 32px;
    margin-left: 240px;
}

#subnav li {
    float: left;
    margin-right: 4em;
}


/* CONTENT */

#content {
    width: 715px;
    margin-bottom: 3em;
    float: right;
    position: relative;
}

p {
    margin: 1em 0;
}

#content p {
    max-width: 475px;
}

#content :first-child, #content .first-child {
    margin-top: 0;
}

/* SCROLLING PANELS */

.scroll {
  overflow: auto;
  position: relative; /* fix for IE to respect overflow */
}

.scrollContainer div.section {
    width: 715px;
}


ul.navigation a.selected {
    color: #A3B01F !important;
}

div.section *:first-child {
    padding-top: 0;
    margin-top: 0;
}

div.section {
    padding: 0;
}

div.section:first-child {
    margin-top: 0;
    padding-top: 0;
}


/* CATEGORIES */

#content ul.categories {
    margin-top: 4px;
}

ul.categories li {
    float: left;
    margin-left: 5px;
}

ul.categories li img {
    border-bottom: 3px solid #F7F7F7;
    padding-bottom: 10px;
}

ul.categories a:hover img, ul.categories a.hover img {
    border-color: #A3B01F;
}

ul.categories li.first-child {
    margin-left: 0;
}


/* PORTFOLIO PHOTOSTRIP */

.photostrip {
    width: 715px;
    height: 256px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: 4px;
}

.photostrip.fx {
    margin-bottom: 0;
}

.photostrip ul {
    position: relative;
    float: left;
    line-height: 0;
    height: 235px;
}

.photostrip li {
    display: inline;
    position: relative;
    margin-left: 5px;
}

.photostrip li.first-child {
    margin-left: 0;
}

.slider-container {
    padding: 0 42px;
    clear: left;
    margin-top: 2px;
    float: left;
    width: 631px;
    height: 19px;
    background: url('../../img/default/slider-bg.png') center left repeat-x;
}

.ui-slider {
    height: 19px;
    position: relative;
    text-align: left;
    width: 630px;
}

.ui-slider-handle {
    width: 88px;
    height: 19px;
    background: url('../../img/default/slider-handle.png') center center no-repeat;
    display: block;
    position: absolute;
    margin-left: -44px;
    top: 0px;
    cursor: move;
}


/* PHOTO ZOOM (FANCYBOX) */

body div#fancy_overlay {
    background-color: #F7F7F7;
}

body div#fancy_close {
    display: none !important;
}

body div#fancy_outer {
/*    padding-top: 0;
    padding-bottom: 0;
*/}

body div#fancy_inner {
    border-width: 0;
    background: #F7F7F7;
}

body div#fancy_bg {
    display: none;
}

body div#fancy_loading_overlay {
    background: #F7F7F7;
}


div#fancy_nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    background: #A3B01F;
    z-index: 31;
    display: none;
}

body a#fancy_left, body a#fancy_right {
    width: 45%;
}

body span#fancy_left_ico {
    opacity: 0.5;
    background: transparent url('../../img/default/fancy_nav_left.png') center right no-repeat;
}

body span#fancy_left_ico, body a#fancy_left:hover span {
    left: auto;
    right: 20px;
}

body span#fancy_right_ico {
    opacity: 0.5;
    background: transparent url('../../img/default/fancy_nav_right.png') center left no-repeat;
}

body span#fancy_right_ico, body a#fancy_right:hover span {
    right: auto;
    left: 20px;
}

body a#fancy_left:hover span, body a#fancy_right:hover span {
    opacity: 1;
}

body a#fancy_close {
    position: absolute;
    width: 10%;
    height: 100%;
    left: 50%;
    margin-left: -5%;
    background: url('../../img/default/fancy_nav_close.png') center center no-repeat;
    opacity: 0.5;
    text-align: center;
}

body a#fancy_close:hover {
    opacity: 1;
}


/* PROJECTS NAV */

#projects-nav {
    line-height: 1.4;
    font-size: 90%;
}

#projects-nav ul {
    float: left;
}

#projects-nav li {
    display: inline;
}

#projects-nav a {
    padding: 0 0.5em;
}

#projects-nav li:first-child a {
    margin-left: -0.5em;
}

#projects-nav li.active a {
    color: #A3B01F;
}

#project-title {
    text-transform: uppercase;
    padding-left: 2em;
    float: left;
    line-height: 1.5;
}

a.project-details-link {
    float: right;
    text-transform: uppercase;
}


/* PROJECT DETAILS */

#project-details {
    clear: both;
    width: 715px;
    white-space: normal;
}

.fx #project-details {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 685px;
    height: 205px;
    border: 1px solid #E5E5E5;
    overflow: auto;
    padding: 14px;
    background: url('../../img/default/project-details-bg.png');
    -moz-column-count: 3;
    -moz-column-gap: 15px;
    -webkit-column-count: 3;
    -webkit-column-gap: 15px;
    column-count: 3;
    column-gap: 15px;
}

.fx #project-details *:first-child {
    margin-top: 0;
}

/* PRESS CLIPPINGS */

dl.clippings dt {
    width: 80px;
    float: left;
    color: #A3B01F;
}

dl.clippings dd {
    margin-left: 88px;
    width: 382px;
    cursor: default;
}

dl.clippings .publication {
    text-transform: uppercase;
    font-size: 90%;
}

.fx dl.clippings div.details {
    position: absolute;
    right: 0;
    top: 0;
    width: 235px;
    display: none;
}



/* CLIENTS */

div.clientproject {
    line-height: 1.5;
}

.project-title {
    text-transform: uppercase;
    font-size: 90%;
}



/* CONTACT FORM */

form#contact {
    margin-top: 3em;
    clear: both;
    float: left;
    margin-bottom: 3em;
}

form label {
    display: block;
    width: 196px;
    float: left;
}

form label strong {
    text-transform: none;
    font-size: 111.111%;
    color: #777;
}

input.vTextField, textarea {
    width: 382px;
    margin-bottom: 1px;
    font-size: inherit;
    padding: 2px;
    border: 1px solid #CCC;
}

.buttons {
    margin-left: 196px;
    margin-top: 6px;
}

input.button_good, input.input_submit {
    width: auto;
    padding: 2px 5px 1px 5px;
    background: #FBFBFB;
    border: 1px solid #999;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border-top-color: #CCC;
    border-left-color: #CCC;
    text-transform: uppercase;
    font-size: 90%;
    color: #777;
}

form p.error {
    margin-left: 196px;
    margin-top: 0;
    color: #900;
}



/* GOOGLE MAP */

.gmap-map {
    width: 386px;
    height: 400px;
    border: 1px solid #A3B01F;
}

#contact-address {
    width: 196px;
    float: left;
}

#contact-address strong {
    font-size: 95%;
}

#contact-map {
    margin-left:196px;
}

#contact-map label {
    display: inline;
    float: none;
}