@font-face {
	font-family: 'Avenir-Book';
	src: url('fonts/Avenir-Book.eot');
	src: url('fonts/Avenir-Book.eot?#iefix') format('embedded-opentype'),
	url('fonts/Avenir-Book.svg#Avenir-Book') format('svg'),
	url('fonts/Avenir-Book.ttf') format('truetype'),
	url('fonts/Avenir-Book.woff') format('woff'),
	url('fonts/Avenir-Book.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}



html {
  overflow-y: scroll;
}

body{
	font-family: 'Avenir-Book';
	margin: 0;
}

header{
	width: 100%;
	height: 96px;
	position: fixed;
	top: 0;
	background: #0095cc;
	z-index: 9999;
	color: #fff;
}

header ul{
	list-style: none;
	line-height: 96px;
	margin-top: 0;
}

header ul li{
	float: left;
	margin-right: 16px;
}

header ul li a{
	color: #fff;
	text-decoration: none;
}

section.container{
	margin-top: 96px;
	padding: 16px;
}

/* Start Page */

.port_container {
	position: relative; 
	width: 100%;
	-webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
 
#filters {
	margin:1%;
	padding:0;
	list-style:none;
}

	#filters li {
		float:left;
	}
	
	#filters li span {
		display: block;
		padding:20px 30px;
		text-decoration:none;
		color:#212529;
		cursor: pointer;
	}
	
	#filters li span.active {
		background: #0095cc;
		color:#fff;
	}

@media only screen and (max-width: 767px) {
    #filters li {
        width: 50%;
    }
}
 
#portfoliolist .portfolio, #productlist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:31%;
	margin:0.8%;
	display:none;
	overflow:hidden;
}

	.portfolio-wrapper {
		overflow:hidden;
		position: relative !important;
		background: #666;
		cursor:pointer;
	}

	.product .portfolio-wrapper{
		background: #fff !important;
	}

	.portfolio img {
		/*max-width:100%;*/
		width: 100%;
		position: relative;
		top:0;
    -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);		
	}
	
	.portfolio .label {
		position: absolute;
		width: 100%;
		max-height:150px;
		bottom:-150px;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	}

		.portfolio .label-bg {
			background: #0095cc;
			width: 100%;
			height:100%;
			position: absolute;
			top:0;
			left:0;
		}
	
		.portfolio .label-text {
			color:#fff;
			position: relative;
			z-index:500;
			padding:8px 8px;
			font-size:inherit;
		}
			
			.portfolio .text-category {
				display:block;
				font-size:1rem;
			}
	
	.portfolio:hover .label {
    bottom:0;
  }
	.portfolio:hover img {
    top:-30px;
  }

@media only screen and (min-width: 1500px) {

	#portfoliolist .portfolio, #productlist .portfolio {
		width:23%;
		margin:0.8%;
	}
}

/* #Tablet (Portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.port_container {
		width: 100%;
	}

	#portfoliolist .portfolio, #productlist .portfolio {
		width:48%;
		margin:0.8%;
	}
}


/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
	.port_container {
		width: 100%;
	}
	
	#portfoliolist .portfolio, #productlist .portfolio {
		width:98%;
		margin:0.5%;
	}		

	#ads {
		display:none;
	}
	
}

/* Detail Page */

.detail_container{
	width: 80%;
	margin: 0 auto;
}

.ac-detail-headline h1{
	margin-block-start: 16px;
	margin-block-end: 16px;
	font-size: 150%;
}

.ac-detail-subtitle h2{
	font-size: 120%;
	margin-block-start: 0em;
	margin-block-end: 16px;

}

.ac-detail-content{}

.ac-detail-content-video{
	margin-block-end: 16px;
}

.ac-detail-content-text{
	margin-block-end: 16px;
}

#ac-detail-video-placeholder{
	background-position: 50%;
	background-repeat: no-repeat;
}

#ac-detail-video-placeholder-overlay{
	position: absolute;
	background: rgba(0,0,0,0.2);
	background-image: url('play_button_2.png');
	background-size: 144px;
	background-position: 50%;
	background-repeat: no-repeat;
}

/* Clearing */

/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.row:after,
.clearfix:after {
  clear: both; }
.row,
.clearfix {
  zoom: 1; }

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.full-screen-overlay{
	position: absolute;
	top: 0;
	opacity: 0.8;
	width: 100%;
	height: 100%;
	background: #2d2d2d;
	display: none;
}

.overlay#video-overlay{
	position: absolute;
	margin: 15% 25%;
	width: 50%;
	height: auto;
	background: #fff;
	top: 0;
	z-index: 9999;
	box-shadow: 5px 5px 5px #2d2d2d;
	display: none;
}

.overlay div.header{
	line-height: 200%;
	font-size: 200%;
	text-align: right;
	padding: 16px;
}

.overlay div.header span#close-overlay{
	cursor: pointer;
}
