* {
    margin: 0;
    padding: 0;
    line-height: 23px;
}

body {
    background-color: #fff;
}

body, td, th {
    font-family: Verdana, Arial, Helvetica, Geneva, sans-serif;
    font-size: 11px;
}

h2, h3 {
    font-size: 11px;
    margin: 10px 0 0 0;
}

#project-detail h2 {
    margin: 0;
}

table {
    margin: 10px 0;
    width: 100%;
}

td, th {
    padding-right: 15px;
}

#content {
    padding-bottom: 50px;
}

#content a {
    color: RGB(195, 187, 178);
    text-decoration: none;
}

#content a:after {
    content: " >";
}

#content a.lined {
    display: block;
    margin: 20px 0;
    padding: 5px 0;
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    color: #000;
}

#wrapper {
    width: 830px;
    padding: 140px 0 0 138px;
}

#logo ul {
    position: absolute;
    top: 55px;
    left: 55px;
    list-style: none;
}

#logo li {
    float: left;
}

.favorite {
    padding: 10px 0;
    margin: 0 0 20px 0;
    border-bottom: 1px dotted #000;
}

.object {
    float: left;
    width: 265px;
    height: 225px;
    margin-right: 10px;
    font-weight: bold;
}

/* .object a */
.favorite h3 a {
    display: block;
    color: #000 !important;
}


.gallery {
    position: relative;
    height: 590px;
    margin-bottom: 15px;
}

.gallery .row {
    position: absolute;
    top: 0;
    left: 0;
}

.gallery .paging {
    background-color: #fff;
    position: absolute;
    right: 0;
    top: 590px;
    font-weight: bold;
    width: 200px;
    text-align: right;
}

.gallery .ds-left, .gallery .ds-right {
    position: absolute;
    top: 0;
    height: 575px;
    width: 415px;
    z-index: 1000;
    cursor: pointer;
}

.gallery .ds-left {    
    left: 0;    
    background: transparent url(../media/spacer.gif) 20px 270px no-repeat;
}

.gallery .ds-left:hover {
    background-image: url(../media/arrow-back.png);
}

.gallery .ds-right {
    right: 0;
    background: transparent url(../media/spacer.gif) 375px 270px no-repeat;
}

.gallery .ds-right:hover {
    background-image: url(../media/arrow-next.png);
}

.hidden, h1, hr {
    position: absolute;
    top: -10000px;
    left: -10000px;
}

@media (min-width: 871px) and (max-width: 1000px) {
	#wrapper {
		padding-left: 20px;
	}
	#logo ul {
		left: 20px;
	}
}

@media (max-width: 870px) {
	body, td, th {
		font-size: 16px;
		line-height: 23px;
	}
	td, th {
		vertical-align: top;
		padding-bottom: 10px;
	}
	h2, h3 {
		padding-top: 20px;
	    font-size: 16px;
	    line-height: 23px;
	}
	p {
		line-height: 27px;
	}
	#logo, #logo ul {
		position: relative;
		top: auto;
		left: auto;
	}
	#logo:after, .gallery:after {
		display: block;
		clear: both;
		content: " ";
	}
	#wrapper {
		width: 100%;
		box-sizing: border-box;
		padding: 20px;		
	}
	#content {
		margin-top: 50px;
		clear: both;
	}
	#content img {
		width: 100% !important;
	}
	.gallery {		
		height: auto;
	}
	.gallery div img {
		width: 100%;
	}
	.gallery .ds-left {    
    	background-position: 20px 45% ;
    	width: 50%;
    }
	.gallery .ds-right {
	    background-position: 90% 45%;
    	width: 50%;
	}
}