/* Portfolio */

/* General classes and terms */
.last {
	margin-right: 0px;
}

.terms {
	height: 30px;
	width:  844px; 
	float: left;
	margin-bottom: 18px;
}

.terms-left {
	background: url(../images/terms-left.jpg);
	float: left;
	height: 60px;
	width: 10px;
	display: none;
}

.terms-right {
	background: url(../images/terms-right.jpg);
	float: right;
	height: 60px;
	width: 10px;
	display: none;
}

#content .terms a:hover {
	text-decoration: underline;
}

#content .terms {
	
}

.terms-tag {
	float: left;
	margin-right: 10px;
}

.terms-tag-main {
	background: #efefef;
	color: #777;
	height: 20px;
	float: left;
	padding: 5px 10px;
}

.terms-tag.current .terms-tag-main {
	background: #e6212e;
	color: white;
}

.layout-switcher {
	float: right;
	width: 111px;
	margin: 5px 0px 42px;
}

.layout-switcher a {
	padding: 3px;
	text-indent: -5000px;
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	background: #efefef no-repeat center center;
	border: 1px solid #ccc;
}

.layout-switcher a.current {
	background-color: #d7d7d7;
}

.layout-switcher a:hover, .layout-switcher a:focus {
	background-color: #d0d0d0;
}

#switcher-layout-gallery {
	background-image: url(../images/portfolio-switcher-gallery.png);
}

#switcher-layout-1-column {
	background-image: url(../images/portfolio-switcher-1-column.png);
	margin-right: 0px;
}

#switcher-layout-2-column {
	background-image: url(../images/portfolio-switcher-2-column.png);
}

#switcher-layout-3-column {
	background-image: url(../images/portfolio-switcher-3-column.png);
}

/* General Portfolio Item */

.portfolio-heading {
	float: left;;
	margin: 0px;
	background: none;
	padding: 0px;
	margin: 0px;
	display: block;
}

.portfolio-item a {
	position: relative;
}

.portfolio-item a img {
	-ms-interpolation-mode:bicubic;
	position: relative;
	z-index: 2;
}

.portfolio-hover {
    position: absolute;
    left: 0px;
    top: 0px;
    background: url(../images/hover-portfolio.png) center center no-repeat transparent;
}

.portfolio-item.video .portfolio-hover {
    background-image: url(../images/hover-portfolio-video.png);
}

/* Layout Gallery */

.layout-gallery .portfolio-item-wrapper {
	width: 300px;
	height: 175px;
	float: left;
	margin: 0px 30px 25px 0px;
	overflow: hidden;
}

.layout-gallery .portfolio-item-wrapper.last {
	margin-right: 0px;
}

.layout-gallery .portfolio-item {
	width: 290px;
	height: 160px;
	border: 1px solid #cfcfcf;
	padding: 4px;
	overflow: hidden;
	background: #eee;
}

.layout-gallery .portfolio-item a {
	display: block;
	height: 160px;
	width: 290px;
	color: #111;
	position: relative;
}

.layout-gallery .portfolio-item img {
	width: 290px;
	height: 160px;
	overflow: hidden;
	position: relative;
	z-index: 2;
	border: none;
}


.layout-gallery .portfolio-heading {
	margin: -40px auto;
	margin-left: 10px;
	z-index: 200;
	position: relative;
	background: black;
	text-align: right;
	width: 250px;
	padding: 7px 10px;
}

.layout-gallery .portfolio-heading a {
	font-size: 15px;
	color: white;
	height: auto;
	width: auto;
}

.layout-gallery .portfolio-hover {
    width: 280px;
    height: 160px;
}

.layout-gallery .excerpt, .layout-gallery .content {
	display: none;
}

/* Layout 1 Column */

.layout-1-column .portfolio-item {
	width: 960px;
	background: none;
	border: none;
	padding: 0px;
	margin-bottom: 36px;
}

.layout-1-column .portfolio-item a.image {
	width: 460px;
	height: 258px;
	float: left;
	margin-right: 36px;
	overflow: hidden;
	background: #efefef;
	border: 1px solid #ccc;
}

.layout-1-column .portfolio-item a.image img {
	width: 450px;
	height: 248px;
	margin: 5px;
}

.layout-1-column .portfolio-item .content {
	float: left;
}

.layout-1-column .portfolio-heading {
	width: 462px;
}

.layout-1-column .portfolio-heading a {
	color: #666;
	font-size: 21px;
}

.layout-1-column .content {
	display: none;

}

.layout-1-column .excerpt {

}

.layout-1-column .portfolio-hover {
    width: 450px;
    height: 248px;
}

/* Layout 2 Column */

.layout-2-column .portfolio-item-wrapper {
	width: 462px;
	height: 143px;
	overflow: hidden;
	float: left;
	margin: 0px 36px 36px 0px;
}

.layout-2-column .portfolio-item-wrapper.last {
	margin-right: 0px;
}

.layout-2-column .portfolio-item-wrapper .portfolio-item {
	width: 462px;
	background: none;
	border: none;
	padding: 0px;
}

.layout-2-column .portfolio-item a.image {
	width: 235px;
	height: 141px;
	float: left;
	margin-right: 18px;
	padding: 0px;
	background: #efefef;
	border: 1px solid #ccc;
}

.layout-2-column .portfolio-item a.image img {
	width: 225px;
	height: 131px;
	margin: 5px;
}

.layout-2-column .portfolio-heading {
	float: left;
	width: 207px;
}

.layout-2-column .portfolio-heading a {
	color: #666;
	font-size: 21px;
}

.layout-2-column .portfolio-hover {
    width: 225px;
    height: 131px;
}

.layout-2-column .excerpt {
	
}

.layout-2-column .content {
	display: none;
}

/* Layout 3 Column */

.layout-3-column .portfolio-item-wrapper {
	width: 300px;
	height: 300px;
	float: left;
	margin: 0px 30px 25px 0px;
	overflow: hidden;
}

.layout-3-column .portfolio-item-wrapper.last {
	margin-right: 0px;
}

.layout-3-column .portfolio-item-wrapper .portfolio-item {
	width: 300px;
	overflow: hidden;
}

.layout-3-column .portfolio-heading {
	margin: 18px 0px 0px;
	width: 300px;
	clear: both;
}

.layout-3-column .portfolio-heading a {
	color: #666;
	font-size: 21px;
}

.layout-3-column .portfolio-item a.image {
	width: 298px;
	height: 168px;
	float: left;
	margin-right: 36px;
	border: 1px solid #cfcfcf;
	background: #eee;
}

.layout-3-column .portfolio-item a.image img {
	width: 290px;
	height: 160px;
	margin: 4px;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.layout-3-column .portfolio-hover {
    width: 300px;
    height: 168px;
}

.layout-3-column .excerpt {
	
}

.layout-3-column .content {
	display: none;
}