@font-face {
  font-family: 'MonotypeCorsiva';
  src: url('/templates/default/fonts/MonotypeCorsiva.eot?#iefix') format('embedded-opentype'),  url('/templates/default/fonts/MonotypeCorsiva.woff') format('woff'), url('/templates/default/fonts/MonotypeCorsiva.ttf')  format('truetype'), url('/templates/default/fonts/MonotypeCorsiva.svg#MonotypeCorsiva') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'icomoon';
  src:  url('/templates/default/fonts/icomoon.eot?qfba2n');
  src:  url('/templates/default/fonts/icomoon.eot?qfba2n#iefix') format('embedded-opentype'),
    url('/templates/default/fonts/icomoon.ttf?qfba2n') format('truetype'),
    url('/templates/default/fonts/icomoon.woff?qfba2n') format('woff'),
    url('/templates/default/fonts/icomoon.svg?qfba2n#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-01:before {
  content: "\e900";
}
.icon-02:before {
  content: "\e901";
}
.icon-03:before {
  content: "\e902";
}
.icon-04:before {
  content: "\e903";
}
.icon-05:before {
  content: "\e904";
}
#gal-filters {
    margin: 1%;
    padding: 0;
    list-style: none;
    position: absolute;
    width: 27em;
    top: 0;
    left: calc(100% - 1em);
    transform-origin: 0 0;
    font-weight: 500;
    -webkit-transform: rotateZ(90deg);
    -moz-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
}

	#gal-filters li {
		float:left;
	}
	
	#gal-filters li span {
		display: block;
		padding:5px 20px;		
		text-decoration:none;
		color:#666;
		cursor: pointer;
	}
	
	#gal-filters li span.active {
		background: #c2764d;
		color:#fff;
	}
 
#gal-portfoliolist {
    width: calc(100% - 4em);
}
#gal-portfoliolist .gal-portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:31.3%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
}
.profgal, .gal-portf{
	display:none;
}
@media screen and (max-width: 1680px){
	.profgal .row > * {
		padding: 0;
	}
}
.profgal .profcapt{
	display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex: 1;
}

.profgal .profinfo{
	padding:3em 5em;
}

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

.gal-portfolio img {
    max-width: 100%;
    display: block;
    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);
}
	
	.gal-portfolio .label {
		position: absolute;
		width: 100%;
		height:40px;
		bottom:-40px;
    -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);
	}

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

	



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


/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
	.gal-container { 
		width: 95%; 
	}
	
	#gal-portfoliolist .portfolio {
		width:48%;
		margin:1%;
	}		

	#gal-ads {
		display:none;
	}
	
}


/* #Mobile (Landscape) - Note: Design for a width of 480px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.gal-container {
		width: 70%;
	}
	
	#gal-ads {
		display:none;
	}
	
}

/* #Clearing */

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

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

.gal-clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}
.gal-portf a {
    position: relative;
    display: block;
    overflow: hidden;
}
.prof-opis {
    opacity: 0;
    position: absolute;
    transform: translate(0, 20px);
    bottom: 0;
    width: 100%;
    transition: .3s;
    background: #c2764d;
    padding: 0.5em 1em;
    line-height: 1;
    color: #fff;
}
.text-title:hover .prof-opis {
    opacity: 1;
    transform: translate(0, 0);
}