/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}


.row  {
	width:100%;
	margin: 0px;
	padding:0px;
}

#pagewrap {
	width: 100%px;
	max-width: 96%;
	margin: 0 auto;
}
.wrapper {
	overflow: hidden;
}


.gray-border {
	border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    border-bottom-style: none;
	border-top-style: none;
	-webkit-box-shadow: 3px 0 2px -2px #f1f1f1;
            box-shadow: 3px 0 2px -2px #f1f1f1;
}

.jqx-fill-state-normal div {
	cursor:pointer;
}

.jqx-fill-state-disabled div {
	cursor:default;
}

.jqx-buttongroup div {
	width:50px;
}

.main-tools {
	float:left;
	margin-right:10px;
}

.d-tools  {
	height:70px;
}

/*
.main-tools div {
	height:70px;
	float:left;
}
*/

.acceso-item {
	background-color:#f9f9f9; 
	padding: 5px 5px 5px 5px;
	border: 2px solid #f9f9f9;
    border-radius: 5px;
}

.no-results {
	text-align:right; 
	margin-top:10px;
	padding-right:5px;
	width:100%;
	min-height:30px;
}

#left-column {
}

.jqx-grid-cell {
	text-align:center;
}

/************************************************************************************
COLUMN
*************************************************************************************/
.col {
	float: left;
	margin-left: 3.2%;
	min-height:720px;
	height:720px;
	
}
.fullwidth .col {
	float: none;
	margin-left: 0;
}
/* grid3 col */
.grid3 .col {
	width: 31.2%;
}

.grid3 .central {
	width: 58.4%;
}
.grid3 .lateral {
	width: 17.6%;
}

/* clear col */
.grid3 .col:nth-of-type(3n+1) {
	margin-left: 0;
	clear: left;
}

#portfolio-items-mobile {
	display:none;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* reset cols to 2-column */
@media screen and (max-width: 1360px) {
	/* grid3 */
	#fake-col, #fake-col-after {
		display:none;
	}
	
	.grid3 .col {
		width: 48.4%;
	}

	.grid3 .central {
		width: 69.2%;
	}
	.grid3 .lateral {
		width: 27.6%;
	}

	.grid3 .col:nth-of-type(3n+1) {
		margin-left: 3.2%;
		clear: none;
	}
	.grid3 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
	
	#offset-col {
		margin-left: 3.2%;
		clear: none;
	}
	
	
}

/* reset cols to fullwidth */
@media screen and (max-width: 979px) {
	/* grid4 */
	#fake-col, #fake-col-after {
		display:none;
	}
	
	h1{
		font-size:28px;
	}
	
	h2 {
		font-size:18px;
	}
	
	.col {
		width: 100% !important;
		margin-left: 0 !important;
		clear: none !important;
	}
	
	#portfolio-items-filter {
		display:none;
	}
	
	#portfolio-items-mobile {
		display: inline;
	}
}
