
/* common defines */
html {
    font-family: calibri, tahoma, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
}
body, div, p {
    margin: 0;
    padding: 0;
}
div {
    overflow: visible;
}
a img {
    border: none;
}
a.aimg {
    text-decoration: none;
}
.clr {
    clear: both;
}
body {
    background: white url(../images/bg_top.png) top left repeat-x;
    min-width: 960px;
}
.wrapper {
    width: 940px;
    margin-left: auto;
    margin-right: auto;
}
body .wrapper {
    position: relative;  /* IE bugfix */
    z-index: 20;
} 
a:link,
a:visited,
a:hover,
a:active {
    color: #0077cc;
}
em {
    font-style: normal;
    font-weight: bold;
}
strong {
    font-style: normal;
    font-weight: bold;
    color: #0077cc;
}
small {
    font-size: 86%;
}

/* main menu */
#menu {
    position: relative;
    width: 886px;   /* +4px, IE6 bugfix */
    left: 2px;      /* compensator */
    margin-left: auto;
    margin-right: auto;
    height: 75px;
    z-index: 20;

    border1: solid 1px red;
}
#menu a, 
#menu #active {
    display: block;
    float: left;
    height: 75px;
    margin: 0;
    padding: 0;
}

/* top section */
#header {
    position: relative;
    width: 100%;
    top: -15px;
    height: 250px;
    z-index: 10;
}
#header .corners {
    position: absolute;
    width: 100%;
    height: 400px;
    top: 0px;
    left: 0px;
    background: white url(../images/corners.gif) top center no-repeat;
    z-index: 10;
}
#header #logo {
    position: absolute;
    width: 160px;
    height: 200px;
    left: 44px;
    top: 26px;
    z-index: 20;
}
#header #mozaic-top {
    position: absolute;
    right: 30px;
    top: 30px;
    text-align: right;
    overflow: hidden;
    z-index: 20;
}

/* main contect section */
#content {
    position: relative;
    width: 100%;
    top: -20px;  /* -170px */
    z-index: 20;
}
#content .left {
    position: absolute;
    width: 225px;
    left: 30px;
    top: 42px;
//  top: 37px;  /* IE bugfix */
}
#content .right {
    width: 585px;
    margin-left: 305px;
    min-height: 250px;
/*  padding-bottom: 1em; */
}
#content .submenu {
    font-size: 13px;
    margin-left: 8px;
}
#content .submenu a {
    display: block;
    text-decoration: none;
    width: 200px;
    height: 21px;
    padding-left: 10px;
    padding-top: 4px;
    background: url(../images/submenu_item.png) top left no-repeat;
}
#content .submenu a:link,
#content .submenu a:visited {
    background-position: top left;
    color: #0077cc !important;
}
#content .submenu a:hover,
#content .submenu a:active {
    background-position: bottom left;
}
#content p {
    text-indent: 2.15em;
    margin-top: 0.65em;
    line-height: 130%;
    color: black;
}
#content p.first {
    text-indent: 0 !important;
}
#content .project {
    /* it's really empty */
}
#content .project .screenshot {
    width: 500px;
    border: solid 1px #73b6e5;
    margin-top: 8px;
}
#content .project .descr {
    position: absolute;
    width: 205px;
    font-size: 13px;
    line-height: 130%;
    left: -254px;
    top: 0px;
}
#content .project .descr p {
    text-indent: 0 !important;
    margin-top: 0.5em;
}
h1 {
    margin: 0;
    margin-left: -1px;
    margin-bottom: -10px;
    font-size: 1em;
    font-style: normal;
    font-weight: normal;
}
h2 {
    margin-top: 1.375em;
    margin-bottom: 0;
    font-size: 1.150em;
    font-style: normal;
    font-weight: bold;
}

/* home page */
#grid {
    position: relative;
    width: 880px;
    height: 475px;
    margin-left: auto;
    margin-right: auto;
}
#grid .plate {
    position: absolute;
    width: 425px;
    height: 187px;
    background: url(../images/plate.png) bottom left no-repeat;
    margin: 0px !important;
    min-height: 187px !important;
}
#grid .left {
    left: 0px;
}
#grid .right {
    right: 0px;
}
#grid .top {
    top: 0px;
}
#grid .bottom {
    top: 220px;
}
#grid .plate .pic {
    position: absolute;
    left: 255px;
}
#grid .left .pic {
    top: 0px;
}
#grid .right .pic {
    top: 40px;
}
#grid .plate .annot {
    position: absolute;
    left: 20px;
    top: 42px;
    font-size: 15px;
    line-height: 140%;
}
#grid .plate .annot .h {
    margin-left: -1px;
    margin-bottom: 5px;
}
#grid .plate .annot .more {
    font-size: 13px;
    margin-top: 8px;
}
#grid .plate .annot .more img {
    margin-left: 3px;
}
#grid .regards {
    position: absolute;
    left: 475px;
    top: 450px;
    font-size: 15px;
    line-height: 140%;
}

/* special sections */
.new-win {
    margin-left: 1px;
    margin-bottom: -2px;
}
.anchor {
    position: relative;
}
#rnd {
    position: absolute;
    font-size: 13px;
    line-height: 125%;
    left: -254px;
    top: -38px;
//  top: -34px;  /* IE bugfix */
}
#rnd #map {
    position: relative;
    left: -11px;
    bottom: -7px;
//  bottom: -4px;  /* IE bugfix */
}
#rnd #zoom {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 159px;
    right: 25px;
//  top: 156px;  /* IE bugfix */
}
#pdf {
    position: absolute;
    font-size: 13px;
    line-height: 130%;
    left: -254px;
    top: 12px;
//  top: 16px;  /* IE bugfix */
}
#pdf img {
    margin-bottom: -3px;
//  margin-bottom: 0px;  /* IE bugfix */
}
.nota-bene {
    position: relative;
    width: 220px;
    height: 65px;
    left: 0px;
    top: -14px;
    padding-left: 20px;
    padding-top: 15px;
    font-size: 13px;
    line-height: 130%;
    background: url(../images/nota_bene.png) top left no-repeat;
}

/* contact form */
form {
    display: block;
}
form,
form input,
form textarea {
    font-family: calibri, tahoma, sans-serif;
    font-size:  14px;
}
form#feedback {
    width: 380px;
    margin-top: 1.25em;
    margin-bottom: 0px;
}
form#feedback input.field,
form#feedback textarea {
    width: 99%;
    margin-bottom: 0.7em;
}
form#feedback input.button {
    width: 100px;
}

/* bottom section */
#terminator {
    position: relative;
    background: url(../images/bg_bottom.png) bottom left repeat-x;
    margin-top: 100px;  /* -60px */
    z-index: 10;
}
#footer {
    position: relative;
    width: 100%;
    height: 70px;
    font-size: 13px;
    z-index: 10;
}
#footer .corners {
    position: absolute;
    width: 100%;
    height: 200px;
    left: 0px;
    bottom: 60px;
    background: url(../images/corners.gif) bottom center no-repeat;
    z-index: 10;
}
#footer #mozaic-bottom {
    position: absolute;
    width: 200px;
    height: 125px;
    left: 30px;
    bottom: 90px;
    text-align: left;
    overflow: hidden;
    z-index: 20;
}
#footer a#at {
    position: absolute;
    width: 64px;
    height: 67px;
    left: 438px;
    bottom: 38px;
    text-decoration: none;
    z-index: 40;
}
#footer .left,
#footer .right {
    position: absolute;
    width: 400px;
    z-index: 30;
}
#footer .left {
    top: 28px;
    left: 30px;
}
#footer .right {
    top: 21px;
    right: 25px;
    color: #b2b2b2;
}
#footer #bricks {
}
#footer #bricks a {
    display: block;
    float: left;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    text-decoration: none;
    background-color: #d4d4d4;
    overflow: hidden;
}
#footer #logo-gray {
    float: right;
    width: 25px;
    height: 23px;
    overflow: hidden;
}
#footer #copy {
    float: right;
    margin-top: 4px;
    margin-right: 5px;
}

#contact h1 {
  margin: 10px 0 30px;
  font-size: 220%;
}
#contact #contentForm {
  display: block;
  width: 500px;
  margin: 70px auto;/*this line will center the page*/
  padding: 25px;
  border: 1px solid black;
  background-color: white;
}
#contact label {
  display: block;
  float: left;
  clear: left;
  Width: 150px;
  line-height: 20px;
  margin-bottom: 10px;
  margin: 5px 0;
}
#contact input, textarea, select {
  margin: 0;
  padding: 2px;
  font-size: 1em;
  color: #666666;
  background: #F5F5F5;
  border: 1px solid #ccc;
  margin: 5px 0;
}
#contact input:focus, textarea:focus, select:focus {
  border: 1px solid #999;
  background-color: #FFFFFF;
}
#contact input.button {
  cursor: pointer;
  border: none;
  font-weight: bold;
  background: url(../images/submit.jpg) no-repeat left top;
  width: 90px;
  height: 28px;
  margin-left: 150px;
}
#contact span.required{
  font-size: 13px !important;
  color: red !important;
}
#contact .errormsg {
  display: block;
  width: 90%;
  height: 22px;
  line-height: 22px;
  color: #FFFFFF;
  font-weight: bold;
  background: #FF9D9D url(../images/stop.gif) no-repeat 10px center;
  padding: 3px 10px 3px 40px;
  margin: 10px 0;
  border-top: 2px solid #FF0000;
  border-bottom: 2px solid #FF0000;
}
#contact .msgSent {
  font-size: 20px;
  text-align: center;
}

.photos img{
	border: 1px solid #8bb9d0;
	margin: 50px 0px 30px;
}
.photos{
	border-collapse: collapse;
	width: 100%;
}
.photos td{
	width: 25%;
	padding: 30px 10px 0px;
	color: #005683;
	font-weight: bold;
}
.photos .for_img{
	width: 190px !important;
	padding: 0px !important;
}