html {
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', Verdana;
  color: #000;
  font-size: 12px;
  background: transparent url('../images/back.png') left top repeat-x;
}

/* links */

a:link, a:visited {
  color: #5d5d5d;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

a:active {
  color: #5d5d5d;
  text-decoration: none;
}

/* text */

p {
  text-align: justify;
}

/* layout */

#top {
  width: 1000px;
  height: 34px;
  margin: 0 auto;
  padding: 0;
  background-color: #ebebeb;
  background: transparent url('../images/palec.jpg') 429px 0 no-repeat;
}

.top {
  position: relative;
  top: 8px;
  left: 35px;
}

#top ul {
  margin: 0px 0 0 0;
  padding: 0;
  list-style: none;
  float: right;
}

#top ul li {
  height: 26px;
  margin: 2px 25px 0 20px;
  padding: 0;
  float: left;
}

#top ul li.facebook {
  background: transparent url('../images/facebook.png') left top no-repeat;
}
#top ul li.facebook:hover{
  background: transparent url('../images/facebook-hover.png') left top no-repeat;
}
#top ul li.facebook a:hover {
  color: #607ac6;
}

#top ul li.rss {
  background: transparent url('../images/rss.png') left top no-repeat;
}
#top ul li.rss:hover {
  background: transparent url('../images/rss-hover.png') left top no-repeat;
}
#top ul li.rss a:hover {
  color: #e48713;
}

#top ul li a {
  display: block;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  color: #696969;
  margin: 0;
  padding: 5px 0 8px 35px;
}

#header {
  width: 971px;
  height: 156px;
  margin: 0 auto;
  padding: 0 0 0 29px;
  background: transparent url('../images/header2.jpg') right bottom no-repeat;
}

#menu {
  width: 967px;
  height: 71px;
  margin: 0 auto;
  padding: 0 0 0 33px;
  background: transparent url('../images/portfolio.png') 33px bottom no-repeat;
}

#menu h2 {
  width: 153px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  position: relative;
  top: 45px;
  left: 0;
  margin: 0;
  padding: 0;
}

#menu ul {
  list-style: none;
  margin: -1px 0 0 200px;
  padding: 0;
}

#menu ul li {
  float: left;
  height: 40px;
  margin: 0 5px 0 0;
  padding: 0;
  background: transparent url('../images/menu-left.png') left top no-repeat;
}
#menu ul li:hover, #menu ul li.current {
  background: transparent url('../images/menu-left-hover.png') left top no-repeat;
}

#menu ul li a {
  display: block;
  height: 32px;
  padding: 8px 40px 0 20px;
  background: transparent url('../images/menu-right.png') right top no-repeat;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}
#menu ul li a:hover, #menu ul li.current a {
  background: transparent url('../images/menu-right-hover.png') right top no-repeat;
}

#loopedSlider {
  width: 1019px;
  height: 245px;
  margin: 0 auto 20px auto;
  padding: 30px 0 0 0;
  background: transparent url('../images/reference.jpg') 10px top no-repeat;
  text-align: center;
  z-index: 1;
  position: relative;
}

.arrow-left {
  border: none;
  position: absolute;
  top: 100px;
  left: 0;
}
.arrow-right {
  border: none;
  z-index: 3;
  position: absolute;
  top: 100px;
  right: 0;
}

.container {
  position: relative;
  margin-left: 40px;
  width: 960px;
  height: 220px;
  overflow: hidden;
}

.container .slides {
  position: relative;
  width: 939px;
}

.container .slides div.slide-box {
  width: 980px;
  display: none;
}

.reference-box {
  width: 290px;
  height: 200px;
  margin: 0 auto;
  padding: 5px;
  background: #ffffff;
  z-index: 3;
  position: absolute;
  top: 0;
  left: 319px;
}

.fleft-ref {
  position: absolute;
  top: 0;
  left: 0;
}

.fright-ref {
  position: absolute;
  top: 0;
  left: 639px;
}

img.shade1, img.shade2, img.shade3 {
	display: block;
	position: absolute;
	z-index: 2;
	margin: 7px 0 0 0;
}

img.shade1 {
  margin-left: 5px;
}
img.shade2 {
  margin-left: 324px;
}
img.shade3 {
  margin-left: 644px;
}

.reference-box h3 {
  text-align: left;
  margin: 10px 0 0 10px;
  padding: 0;
  font-size: 16px;
}
.reference-box h3 a {
  color: #26292a;
}

.reference-button {
  float: right;
  border: none;
  margin: 2px 0 0 10px;
}

.reference-box p {
  margin: 13px 0;
  padding: 0;
  font-size: 11px;
  font-style: italic;
}

h1 {
  width: 940px;
  font-size: 24px;
  font-weight: normal;
  padding: 0 30px 20px 30px;
  margin: 0 auto 20px auto;
  border-bottom: 1px solid #bababa;
}

#content {
  width: 940px;
  margin: 0 auto;
  padding: 0 30px;
}

#content .box {
  width: 290px;
  margin: 0 auto;
  padding: 5px;
}

#content h2 {
  font-size: 17px;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding: 0;
}

#content .date {
  margin: 5px 0 0 0;
  padding: 0;
  font-size: 10px;
  float: right;
}

#content p {
  margin: 0 0 20px 0;
}

#content a {
  color: #000000;
}

.light {
  color: #048163;
  border-bottom: 1px solid #bababa;
}

#content ul {
  list-style-image: url('../images/content-li.png');
  margin: 0;
  padding: 0;
}

#content ul li {
  margin: 0 0 5px 20px;
  padding: 0;
}

#footer {
  width: 760px;
  height: 57px;
  background: transparent url('../images/footer.png') left top no-repeat;
  padding: 12px 20px 0 220px;
  margin: 50px auto 20px auto;
  font-size: 12px;
}

#footer a {
  color: #000;
}

.reference {
  float: left;
  margin: 0 30px 20px 0;
}

fieldset {
  width: 600px;
  margin: 20px auto;
  padding: 50px;
  border: 1px solid #bababa;
}

fieldset h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  padding: 0;
  text-align: center;
}

fieldset label {
  display: block;
  font-weight: bold;
  text-align: right;
  width: 140px;
  float: left;
}

fieldset label span.small {
  display:  block;
  font-size:  11px;
  font-weight:  normal;
  text-align: right;
  width:  140px;
}

fieldset input {
  float:  left;
  font-size:  12px;
  padding:  4px 2px;
  border: solid 1px #bababa;
  width:  300px;
  margin: 2px 90px 20px 10px;
}

fieldset textarea {
  float:  left;
  font-size:  12px;
  padding:  4px 2px;
  border: solid 1px #bababa;
  width:  400px;
  height: 200px;
  margin: 2px 0 20px 10px;
}

fieldset button {
  clear: both;
  margin: 0 0 0 225px;
  width: 150px;
  height: 31px;
  background: #696969;
  text-align: center;
  line-height: 25px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
}




/* others */

.big {
  font-size: 13px;
}
.bigger {
  font-size: 14px;
}
.bold {
  font-weight: bold;
}
.nob {
  border: none;
}
.left {
  text-align: left;
}
.center {
  text-align: center
}
.right {
  text-align: right;
}
.fleft {
  float: left;
}
.fright {
  float: right;
}
.clear {
  clear: both;
}
.rclear {
  width: 900px;
  height: 1px;
  border-bottom: 1px dashed #bababa;
  padding: 0;
  margin: 20px auto;
  clear: both;
}

.red {
  color: #f00;
}
.green {
  color: #0d0;
}

#content tr {
background-color:#8FE222;
border-bottom:thin solid #333333;
}
