/* CSS Document */
html, body, h1, h2, h3, h4, p, ul, ol, li, table, tr, td, img{
  margin: 0; padding: 0; border: 0;
}
body {
  background-color: #151515;
  color: #aaa;
  font-family: Verdana, sans-serif;
  font-size: .65em;
  position: relative;
  _text-align: center;
}
a {
  color: #aaa;
  text-decoration: none;
}
a:hover, a:focus {
  color: white;
  text-decoration: underline;
}
#container {
  width: 800px;
  margin: 0 auto;
  _text-align: left;
}
#head {
  height: 140px;
  float: left;
  background: #f88a00;
  width: 800px;
  margin-bottom: 10px;
  position: relative;
}
#lang {
  height: 30px;
  line-height: 30px;
  width: 800px;
  text-align: right;
  background: #151515;
  vertical-align: middle;
  color: white;
}
#lang span {
  color: #aaa;
}
#lang div {
  margin-right: 4px;
}
#lang a {
  text-decoration: none;
}
#lang a:hover, #lang a:focus {
  color: white;
}

h1 {
  width: 120px;
  height: 60px;
  float: left;
  margin: 20px 0 0 20px;
  position: relative;
}
h1 a{
  display: block;
  width: 120px;
  height: 60px;
  color: white;
  overflow: hidden;
  cursor: pointer;
  cursor: hand;
}
h1 a span{
  background: url('./images/logo.png') left top no-repeat;
  width: 120px;
  height: 60px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
#menu {
  height: 110px;
  float: right;
  margin-right: 20px;
  width: 360px;
}
#menu li {
  display: block;
  height: 110px;
  width: 89px;
  float: left;
  clear: right;
}
#menu li a, #menu li h2 {
  display: block;
  width: 89px;
  vertical-align: middle;
  line-height: 110px;
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  position: relative;
  cursor: pointer;
  cursor: hand;
}
#menu li a span, #menu li h2 span{
  width: 89px;
  height: 110px;
  display: block;
  
  position: absolute;
  top: 0;
  left: 0;
  background-position: top left;
  background-repeat: no-repeat;
}

#menu li a:hover, #menu li a:focus, #menu li h2{
  color: white;
}
#menu a:hover span, #menu a:focus span, #menu h2 span{
  background-position: bottom right !important;
}

#left{
  width: 600px;
  float: left;
  position: relative;
}
#left h2 {
  font-variant: small-caps;
  font-size: 1.5em;
  width: 100%;
  margin: 3em 0 2em 0;
  color: #f88a00;
}
#left h3{
  font-variant: small-caps;
  font-size: 1.3em;
  color: #f88a00;
  position: relative;
  height: 20px;
  width: 298px;
  display: block;
  float: left;
  clear: right;
  margin-bottom: 15px;
}
#left h3 span{
  background: left top no-repeat;
  width: 265px;
  height: 28px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid #aaa;
}
#left h3.wide{
  width: 579px;
}
#left h3.wide span{
  width: 579px;
}
#left #graphic h3 span{
  background-image: url('./images/heading_graphic.png');
}
#left #not-graphic h3 span{
  background-image: url('./images/heading_not-graphic.png');
}
#left h4{
  border-top: 1px solid #aaa;
  position: relative;
  height: 38px;
  width: 273px;
  font-size: 1.3em;
  color: #f88a00;
  vertical-align: middle;
  line-height: 38px; 
}
#left h4 span{
  background: left top no-repeat;
  position: absolute;
  top: 0px;
  left: 0;
  display: block;
  height: 38px;
  width: 273px;
  vertical-align: bottom;
}
#graphic, #not-graphic{
  width: 297px;
  float: left;
  clear: right;
}
#graphic{
  margin-right: 5px;
}
.client{
  background: black;
  height: 110px;
  padding: 12px 12px 15px 12px;
  clear: left;
  float: left;
}
* html .client{
  height: 11em;  
}
.client h4{
  background: black;
}
#left .client h4 {
	line-height: 1.2em;
	padding-top: 10px;
	margin-bottom: 10px;
}
.client p {
  width: 272px;
  height: 62px;
}
#graphic img, #not-graphic img, .appear img{
  margin: 6px 0 3px 0;
  display: block;
  float: left;
  clear: left;
}
.appear{
  height: 366px;
}
* html .appear{
  height: 332px;
}

.portfolio, .similar{
  width: 575px;
  padding: 12px 12px 15px 12px;
  background: black;
  margin-bottom: 6px;
  float: left;
  clear: both;
  _width: 599px;
}
.portfolio h4, .similar h4{
  width: 564px !important;
}
.portfolio h4 span, .similar h4 span{
  width: 564px !important;
}
.portfolio em, .similar em{
  font-style: normal;
  color: #f88a00;
}
.portfolio p, .similar p{
  margin-bottom: 1em;
}
.portfolio ul{
  width: 100%;
  display: block;
  margin-bottom: 1em;
}
.portfolio li{
  list-style-type: none;
}
.similar a{
  width: 272px;
  height: 36px;
  display: block;
  float: left;
  clear: right;
  margin: 12px 0 0 6px;
}
.similar a#first{
  margin-right: 12px;
}
.portfolio a.slideshow{
  float: none;
  display: inline;
  margin: 0;
  padding: 0;
}
.view-portfolio{
  width: 599px;
  height: 321px;
  margin-bottom: 3px;
  margin-top: 6px;
  float: left;
  clear: both;
}
.view-portfolio img{
  width: 599px;
  height: 321px;
}

#right{
  width: 190px;
  float: right;
}
#right h3{
  font-variant: small-caps;
  font-size: 1.3em;
  color: #f88a00;
  border-bottom: 1px solid #aaa;
  position: relative;
  height: 28px;
}
#right h3 span{
  background: url('./images/heading_highlights.png') left top no-repeat;
  height: 27px;
  width: 190px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
#paging, #filterProjects, #highlights {
  text-align: right;
}
#filterProjects {
  margin-bottom: 5em;
}
#paging {
  /*position: absolute;
  bottom: 0;
  right: -200px;*/
  float: right;
  clear: both;
  width: 190px;
  margin-bottom: 10px;
}
#paging h4 {
  border: 0;
  width: 190px;
}
#paging .selected {
  background: #aaa;
  color: black;
  padding: 0.2em 0.5em;
}
.highlight{
  margin: 1em 0 25px 0;
}
.highlight .date{
  font-weight: bold;
  display: block;
  font-size: .95em;
}
.highlight .heading a{
  font-size: .95em;
  color: #f88a00;
  font-weight: bold;
  display: block;
  margin-bottom: 1em;
}
#right h4, #paging h4 {
  font-variant: small-caps;
  font-size: 1.2em;
  color: #f88a00;
  margin-top: 20px;
}

#right a#more, #right a#more:visited{
  color: #f88a00;
  font-weight: bold;
  font-size: .95em;
  text-align: right;
  display: block;
  cursor: pointer;
  cursor: hand;
}
#right a#more:hover, #right a#more:focus{
  color: #aaa;
}
#filterProjects{
  margin: 10px 0;
}
#filterProjects a{
  display: block;
  margin: 2px 0;
}
#right h5{
  color: #f88a00;
  margin-bottom: 8px;
}

#foot{
  clear: both;  
  float: left;
  border: 1px solid #aaa;
  border-width: 1px 0;
  margin: 15px 0;
  padding-left: 60px;
  height: 38px;
  background: url('./images/logo-small.png') 5px 50% no-repeat;
  width: 740px;
  _width: 800px;
}
* html #foot{
  position: relative;
}
#foot div{
  display: table;
  height: 38px;
  margin-bottom: 15px;
}
* html #foot div{
  position: absolute;
  top: 50%;
}
#foot #footer{
  display: table-cell;
  vertical-align: middle;
}
* html #foot #footer{
  position: relative;
  top: -30%;
}
#foot a:link, #foot a:visited{
  color: #f88a00;
}
#foot a:hover, #foot a:focus{
  color: #aaa;
}

.cleaner{
  clear: both;
  height: 0;
  border: 0;
  visibility: hidden;
}

.sliderImg{
  width: 297px;
  height: 321px;
}
.thumbImg{
  width: 297px;
  height: 122px;
}  


fieldset{
  display: block;
  width: 90%;
  float: left;
  margin: 1em auto;
  border: 1px solid #f88a00;
}
legend{
  margin-left: 2em;
  font-weight: bold;
  color: #f88a00;
}
label{
  width: 150px;
  display: block;
  float: left;
  clear: left;
  vertical-align: middle;
  line-height: 22px;
  margin: 2px 0;
}
input, select{
  float: left;
  clear: right;
  margin: 2px 0;
  width: 150px;
}
select{
  width: auto;
}
textarea{
  width: 100%;
  margin: 0 auto;
  font-family: Verdana, sans-serif;
}
.submit{
  clear: left;
  margin-left: 150px;
  min-width: 100px;
}
#taskFieldset label{
  width: 80px;
  margin-left: 10px;
}
.checkbox{
  width: auto;
  margin: 6px 0;
}
.fileInput{
  margin-right: 5em;
}
#imagesFieldset label{
  width: 11em;
}
#imagesFieldset .narrowCheckbox, 
  #taskFieldset .narrowCheckbox, 
  .notThatNarrowCheckbox{
  float: left;
  clear: right;
}
#imagesFieldset .narrowCheckbox label, 
  #taskFieldset .narrowCheckbox label{
  width: 4.5em;
  margin-left: 20px;
}
.notThatNarrowCheckbox label, #taskFieldset .notThatNarrowCheckbox label{
  width: 10em;
  margin-left: 20px;
}
#imagesFieldset .isUploaded{
  width: 10em;
  clear: right;
  float: left;
}
#employees div{
  float: left;
  clear: left;
}
#redirect{
  clear: left;
}
#redirect label{
  clear: none;
  margin-left: 5px; 
  width: 130px;
}
.default, .preview{
  clear: left;
  float: left;
}
.preview{
  margin: 1em auto;
  padding: 5px;
  float: none; 
  width: 90%;
  border: 1px solid #aaa;
}
.updateLink{
  clear: left;
  float: left;
  margin: 5px 0 5px 19%;
}
#dateTime select{
  float: none;
}

table{
  margin: 1em auto;
  width: 90%;
  /*border: 1px solid #aaa;*/
  clear: left;
}
thead{
  background: #aaa;
  color: black;
}
th, td{
  padding: 3px;
  text-align: center;
}
th {
	background: #F88A00;
	color: white;
}
.leftAlign {
  text-align: left;
}

.cakeSqlLog{
  clear: both;
  font-size: .9em;
}
#adminMenu {
  text-align: right;
}
#adminMenu li{
  list-style-type: none;
  margin-left: 10px;
}
.message{
  margin: 1em 2em;
  text-align: center;
}
#successfulMessage{
  color: #f88a00;
}
#failedMessage, #infoMessage{
  color: red;
}
.error_message{
  color: red;
}
.orange {
  color: #f88a00;
}

#contactForm {
  width: 575px;
}
#contactForm label {
  color: #F88A00;
  font-weight: bold;
  margin-top: 0.5em;
  margin-right: 100px;
}
#contactForm input, #contactForm textarea{
  background: #F88A00;
  clear: left;
  color: black;
  border: 1px solid #333;
  line-height: 1.5em;
  font-size: 1.5em;
  vertical-align: middle;
}
#contactForm input {
  width: 160px;
  height: 20px;
  margin-right: 250px;
}
#contactForm textarea {
  height: 120px;
  width: 378px;
}
#contactForm #topPart{
  position: relative;
}
#contactForm #topPart, #contactForm #bottomPart {
  width: 100%;
}
#contactForm div {
  float: left;
  width: 170px;
  margin-right: 400px;
  _margin-right: 0;
  _width: 125px;
}
#contactForm #topPart .narrowInputDiv {
  width: 170px;
  margin-right: 45px;
  _width: 125px;
  _margin-right: 0;
}
#contactForm #topPart #clearLeft {
  clear: left;
  
}
#contactForm #topPart .narrowInputDiv label{
  margin-right: 40px;
}
#contactForm #topPart .narrowInputDiv input{
  margin-right: 20px;
}
#contactForm #topPart #description {
  width: 150px;
  height: 140px;
  position: absolute;
  top: 0px;
  right: 25px;
  _right: 10px;
  margin-right: 0;
}
#contactForm #bottomPart div {
  margin-right: 20px;
  width: 380px;
  float: left;
}
#contactForm #submit{
  background: #222;
  border-color: #F88A00;
  height: 120px;
  width: 150px;
  color: #F88A00;
  font-weight: bold;
  line-height: 90px;
  text-align: bottom;
  margin-right: 25px;
  _margin-right: 10px;
  _margin-left: -20px;
  margin-top: 30px;
  float: right;
  clear: right;
  cursor: pointer;
  cursor: hand;
} 
#contactForm #submit:hover, #contactForm #submit:focus {
  color: #222;
  background: #f88a00;
  border: 
}
.contact p {
  width: 300px;
}
.space {
  margin: 0 0.5em;
}
#map {
  float: right;
  margin-top: -115px;
}
.hidden {
  display: none;
}

.newsBlock {
  float: left;
  margin-bottom: 1em;
  width: 600px;
}
#left .newsBlock h3,
#left .newsBlock h4 {
  border-top: 0 !important;
  height: 1.5em;
  line-height: 1.5em;
  width: 600px;
}
#left .newsBlock h3 {
	margin: .5em 0 .2em 0;
}
#left ul {
	margin-bottom: .2em;
}
#left ul li {
	list-style-position: inside;
	margin-left: .5em;
}
#pagingLeft {
  width: 600px;
  float: left;
  text-align: right;
}

.cleaner {
  clear: both;
}