
/*----------------------------------------------PORTFOLIOS----------------------------------------------*/
/*------------Entry page-------------*/
.title_area {
	border-top: 2px solid #DEDEDE;
	border-bottom: 2px solid #DEDEDE;
	background: url("../png/title_arrow.png") no-repeat scroll center bottom #EBEBEB;
	padding: 2em 15px;
	overflow: auto;
	text-align: center;	
}

#row_1, #row_2 {
	margin: 2em auto;
	}
#row_1 {
	width: 89%;
	}
#row_2 {
	/*border-top: 1px solid #008FC5;*/
	clear: both;
	width: 75%;
	}

/*Custom headers for portfolio pages*/
.blue-header {
	background: #4EB1D6;
	margin: 0 3em 2em;
	padding: 5em 1.5em 4em;
}
	
.blue-header img {
	float: right;
	max-width: 200px;
}
	
.blue-header h1 {
	color: white;
	text-align: left;
	line-height: 1em;
}
	
.blue-header p {
	color: white;
	width: 60%;
}
			
	
/*--------------Web design page------------*/
.wp-caption, .gallery-item {
	background: white;
	font-size: .86667em;
	line-height: 1.6em;
	transition: all .15s ease-in-out;
	}
	.wp-caption:hover, .gallery-item:hover {
		transform: scale(1.05);
		-ms-transform: scale(1.05);
		-webkit-transform: scale(1.05);
		}

/*.3-col-gallery .wp-caption, .gallery-item {
	margin: 2em 3em !important;
}	*/	
/*Wordpress galleries*/
.gallery {
	margin: auto auto auto 1em;
	width: 1010px;
	}

.gallery .gallery-item {
	float: left;
	margin-top: 10px;
	margin-right: 2.85em;
	text-align: center;
	width: 28%;
	padding: 5px 0; 
}
img.gallery-icon {
	border: 0;
}
/*Motion graphics*/
.portfolio-mg .wp-video {
    	float: left;
		margin: 0 1em;
}

.tablepress tbody td, .tablepress tfoot th {
    	border-top: 0 !important;
	}

.portfolio-flexbox {
	display: block;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    flex-wrap: wrap;
	text-align: center;
}	
	
.gd-portfolio figure {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	-webkit-flex-basis: 21%;
	-ms-flex-preferred-size: 21%;
	flex-basis: 21%;
	margin: 10px !important;
}	

