/*
	Theme Name: Effect WP - Blank Tema
	Theme URI: http://www.effectreklam.se
	Description: Blankt (v2) Wordpress-tema av Effect Reklambyrå
	Version: 20201964.1.8
	Author: Erik Wallberg
	Author URI: http://www.effectreklam.se
	Tags: Effect

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 12px/1.4 'Verdana', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:darkgray;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    GALLERY
\*------------------------------------*/

.logo{top:40px; left:40px; display:none;}
.refAnimation{text-align:center; max-width:500px; width:100%; margin:auto; padding-top:50px;}

#container{}

#portfoliolist{display:inline-block;}

#portfoliolist .portfolio{width:32.533333%; margin:0.4%; box-shadow:1px 1px 5px #ccc; /*max-height:241px;*/}

.lity-close{/*padding-top:20px !important; padding-right:40px !important;*/}
.portfolio-wrapper{background-position:center center;}

.video .portfolio-wrapper > a, .portfolio-wrapper > a{height:100%; width:100%; display:block;}

.webHover{width: 100%; height:100%; z-index:5; position:absolute; background-color: rgba(0, 0, 0, 0.5); opacity:0; color:white; font-size:14px; text-transform:uppercase; display:flex; justify-content:center; align-items:center;   
	-webkit-transition: all 200ms ease 200ms;
    -moz-transition: all 200ms ease 200ms;
    -o-transition: all 200ms ease 200ms;
    transition: all 200ms ease 200ms;}
.web > .portfolio-wrapper:hover .webHover{opacity:1;}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:100%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    FRONT PAGE
\*------------------------------------*/


/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

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

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

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

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

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

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

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

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}


/**** CSS FÖR GALLERI? ***/

html {
  overflow-y: scroll;
}

.container { 
	position: relative; 
	width: 1360px; 
	margin: 0 auto; 
	-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;
	display:flex;
	justify-content:center;
}

	#filters li {
		float:left;
	}
	
	#filters li span {
		display: block;
		padding:5px 25px;		
		text-decoration:none;
		color:darkgray;
		cursor: pointer;
	}
	
	#filters li span.active {
		background: #fff;
		color:#999;
		border-bottom:1px solid silver;
	}
 

 
#portfoliolist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	display:none;
	float:left;
	overflow:hidden;
}

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

	.portfolio img {
		max-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%;
		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);
	}

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

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

/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
	.container { 
		width: 95%; 
	}
	
	#portfoliolist .portfolio {
		width:98%;
		margin:1%;
	}
	#filters{flex-wrap:wrap;}
	#filters li{border:1px solid #ccc; margin:5px;}
}

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