html, body {
    margin:0; padding:0;
    height:100%;
}

body {
    background: #c0c0c0;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 21px;
    color: #000;
    text-align: justify;
}

#siteContainer {
    border: solid 1px #333;
    background: white;
    position:relative;
    clear:left;
    width:1177px;
    margin:0 auto;
}

#header {
    background: url('/templates/templates/front_images/headerbg.png');
    width: 100%;
    height: 66px;
    padding-top: 96px;
}



#dynamic
{
    background: white;
    width: 100%;
}


#content {
    margin:0 auto;
    padding:20px;
    text-align:left;
    width:830px;
}

#footer {
    background: url('/templates/templates/front_images/footerbg.png');
    width: 1027px;
    height: 21px;
    font-size: 11px;
    margin: 0 auto 40px;
    color: #fff;
    padding-left: 150px;
    text-transform: uppercase;
}

#footer a
{
    color: #fff;
}


#banner.home
{
    width: 829px;
    height: 203px;
    background: url('/templates/templates/front_images/banner.jpg');
}

#menu {
    list-style-type:none;
    padding: 0px;
    float: left;
    margin-left: 167px;
}

#menu li {
    margin: 0px 1px 0px 1px;
    background: url('/templates/templates/front_images/menutab.png');
    height: 53px;
    float: left;
    line-height: 30px;
    width: auto;
}

#menu li.selected {
    background: url('/templates/templates/front_images/menutabselected.png');
}

#menu li a {
    margin-top: 20px;
    text-align: center;
    width: 166px;
    font-size: 17px;
    line-height: 20px;
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
}

#menu li.selected a {
    color: #000;
}


#submenu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#submenu li {

padding-left: 15px;
line-height: 20px;
}

#submenu li.selected {
	background: url('/templates/templates/front_images/arrow.png') no-repeat center left;
padding-left: 15px;
line-height: 20px;
}

tr.portfolio, tr.vacancy
{
    background: url('/templates/templates/front_images/tablerowbg.png') no-repeat;
}
tr.portfolio:FIRST-CHILD, tr.vacancy:FIRST-CHILD
{
    background-image: none;
    cursor: auto;
}

table.portfolio, table.vacancy
{
    width: 668px;

}

th.portfolio, th.vacancy
{
    font-size: 14px;
    padding: 10px 0px 10px 10px
}

td.portfolio, td.vacancy
{
    font-size: 12px;
    height: 27px;
    padding: 2px 5px;
    line-height: 14px;
}

div.porttext {
    display: block;
    width: 95%; 
    height: 47px;
    float: right;
}

div.end {
    height: 47px;
    width: 10px;
    display: block;
    float: right;
    background: url('/templates/templates/front_images/tablerowbg.png') no-repeat top right;
    margin-top: -3px;
    margin-right: -10px;
}


#itemDescription
{
    width: 289px;
    height: 500px;
    overflow: auto;
    float: left;
}

#itemGraphics 
{
    width: 340px;
    float: right;
}

#itemPhoto
{
    margin-top: 60px;
    margin-left: 60px;
    width: 100%;
    width: 336px;
    height: 224px;
}

#itemPhoto.portfolio
{
    background-image: url('/templates/templates/front_images/portfolio/itemimage.png');

}
#itemPhoto.vacancy
{
    background-image: url('/templates/templates/front_images/portfolio/itemimage.png');

}


#itemUserPhotos
{
    margin-left: 60px;
    width: 100%;
}

#itemUserPhotos img
{
    width: 93px;
    margin: 10px;
    float: left;
    border: 0px;
}


.sideArrow, .sideArrow a {
    color: black;
    text-transform: uppercase;
    font-size: 12px;
    margin-top: -1px;
    line-height: 20px;
    margin-left: 4px;
}

h1 {
    color: #000;
    margin-top: 5px;
    font-size: 18px;
    text-transform: uppercase;
}

h2 {
    color: #000;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
}

.submit {
    background: #933e22;
    border: none;
    color: #fff;
    font-size: 10px;
    padding: 3px 40px;
}

#list {
    width: 400px;
    border-collapse: collapse;
}

#list tr {
    background: #f8e1c6;
}

#list td {
    padding: 5px 10px;
}

#list td.first {
    font-weight: bold;
}
label {
    margin-bottom: -15px;
    font-weight: bold;
}

input {
    width: 269px;
    font-size: 12px;
    color: #000;
    padding: 3px;
}

input.apply[type="submit"] {
    width: auto;
}

input[type="button"] {
    width: 137px;
    font-size: 12px;
    color: #000;
    padding: 3px;
}

.submitButton {
    background: #4aa942;
    border: none;
    width: 158px;
    margin: 5px;
    padding: 3px;
    color: #fff;
}

#errorBox {
    border: 2px dotted #DE7A7B;
    background-color: #E6C0C0;
    padding-left: 15px;
    padding-top: 3px;
    padding-bottom: 5px;

    color: #CC0055;
    font-size: 11px;
    font-weight: bold;
}

#errorBox h5 {
    font-size: 32px;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
    color: #d5a9a9;
}