/*
Theme Name: Divi Plus Interior Designer
Theme URI: https://diviextended.com/product/divi-plus/
Description: Divi Plus plugin based ready-to-use Divi child theme designed for Interior Designer.
Author: Divi Extended
Author URI: https://diviextended.com/
Template: Divi
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/*------ Portfolio --------*/




.dct_ptf .et_pb_portfolio_filters {
	text-align: center;
	margin-bottom: 10px;
}
.dct_ptf .et_pb_portfolio_filters li {
	float:none;
	display:inline-block;
}
.dct_ptf .et_pb_portfolio_filters li a:hover {
	background-color:var(--color-1);
	color:#fff;
}
.dct_ptf .et_pb_portfolio_filters li a {
	border-radius: 5px !important;
	background:var(--color-2);
	color:#fff;
	border:none;
	font-size:13px;
	overflow:visible;
	font-weight:600;
	line-height:26px;
	padding:8px 20px 6px;
	text-transform:uppercase;
	letter-spacing:.5px;
	margin:0 5px 20px;
	display:inline-block;
	position:relative;
-webkit-transition:all .3s linear;
-moz-transition:all .3s linear;
-o-transition:all .3s linear;
-ms-transition:all .3s linear;
transition:all .3s linear
}
.dct_ptf .et_pb_portfolio_filters li a:before {
	content:"";
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:-1;
	opacity:0;
	border-radius: 5px !important;
}
.dct_ptf .et_pb_portfolio_filters li a.active {
	border-color:var(--color-2);
	background:var(--color-1);
	color:#fff
}
.dct_ptf .et_pb_portfolio_filters li a.active:before {
	background:var(--color-2);
	left:-7px;
	top:-7px;
	opacity:1;
-webkit-transition:all .3s linear;
-moz-transition:all .3s linear;
-o-transition:all .3s linear;
-ms-transition:all .3s linear;
transition:all .3s linear
}
.dct_ptf .et_pb_portofolio_pagination {
	border:none !important;
	margin-top: 20px;
}
.dct_ptf .et_pb_portofolio_pagination ul {
	float: right;
	position:relative;
	display:inline-block
}
.dct_ptf .et_pb_portofolio_pagination ul:before {
	width:100%;
	height:2px;
	display:block;
	background:#e8e8e8;
	content:'';
	position:absolute;
	top:50%;
	z-index:-1;
	left:0;
	transform:translateY(-50%)
}
.dct_ptf .et_pb_portofolio_pagination ul li {
	border-radius: 5px;
	background:#000;
	position:relative;
	z-index:1;
	padding:5px 15px!important;
	margin-right:20px;
	border-color:#000;
	color:#fff
}
.dct_ptf .et_pb_portofolio_pagination ul li:last-child {
	margin-right: 0px;
}
.dct_ptf .et_pb_portofolio_pagination ul li a {
	color:#fff !important;
}



.dct_ptf .project{position:relative;overflow:hidden;-webkit-transition: all 0.8s;
-ms-transition: all 0.8s;
transition: all 0.8s;}

.dct_ptf .project:hover{transform: scale(1.05);
-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
-o-transform: scale(1.05);
z-index: 1;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.35);}



.dct_ptf .project .et_overlay {opacity:1;z-index:1;
bottom: 0;
left: 0;
width: 100%;
height: 100%;border: none;
padding: 30px;
background: rgba(33, 37, 41, 0.2);}

.dct_ptf .project .post-meta{writing-mode: tb-rl;
float: right;
margin: 0;
color: #fff;
font-weight: 300;position: absolute;
top: 30px;z-index: 9;
right: 30px;
letter-spacing: 3px;
-webkit-transition: all 0.8s;
-ms-transition: all 0.8s;
transition: all 0.8s;}

.dct_ptf .project .post-meta a{color:#fff;}

.dct_ptf .project .et_pb_module_header{position: absolute;
bottom: 20px;
padding-right: 20%;
margin: 0;
-webkit-transition: all 0.8s;
-ms-transition: all 0.8s;
transition: all 0.8s;
font-weight: 700;
color: #fff;
z-index: 9;
font-size: 18px;
left: 20px;
line-height: 25px;}

.dct_ptf .project .et_overlay:before{width: 50px;
height: 50px;
position: absolute;
top: 30px;
left: 30px;
z-index: 1;
transition: background 0.5s ease;
-moz-transition: background 0.5s ease;
-webkit-transition: background 0.5s ease;
    transition-delay: 0s;
transition-delay: 0s;
-ms-transition: background 0.5s ease;
-o-transition: background 0.5s ease;
transition-delay: 0.5s;
-moz-transition-delay: 0.5s;
-ms-transition-delay: 0.5s;
-o-transition-delay: 0.5s;
-webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
text-align: center;
line-height: 46px;
margin: 0;
font-size: 23px;}

.dct_ptf .project:hover .et_overlay:before{background: var(--color-1);
transition-delay: 0s;}

.dct_ptf.clm2 .alignleft,
.dct_ptf.clm3 .alignleft{position:absolute;left:0px;}
.dct_ptf.clm2 .alignright,
.dct_ptf.clm3 .alignright{position: absolute;right: 0;}


.dct_ptf.clm2 .et_pb_ajax_pagination_container,
.dct_ptf.clm2 .et_pb_portfolio_items_wrapper .et_pb_portfolio_items{display: grid;
grid-gap: 5px;
grid-template-columns: repeat(2, 50%);}

.dct_ptf.clm3 .et_pb_ajax_pagination_container,
.dct_ptf.clm3 .et_pb_portfolio_items_wrapper .et_pb_portfolio_items {display: grid;
grid-gap: 5px;
grid-template-columns: repeat(3, 33.33%);}

.dct_ptf.clm3 .et_pb_portfolio_filters, 
.dct_ptf.clm2 .et_pb_portfolio_filters{text-align: center;
width: 100%;
display: block;
}


.dct_ptf .project .et_portfolio_image:before{content:'';opacity: 1;
z-index: 1;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
padding: 30px;
background: rgba(33, 37, 41, 0.2);position: absolute;
top: 0;display: block;}


@media only screen and (max-width : 767px) {
.dct_ptf.clm3 .et_pb_ajax_pagination_container,
.dct_ptf.clm3 .et_pb_portfolio_items_wrapper .et_pb_portfolio_items,
.dct_ptf.clm2 .et_pb_ajax_pagination_container,
.dct_ptf.clm2 .et_pb_portfolio_items_wrapper .et_pb_portfolio_items{display: grid;
grid-gap: 5px;
grid-template-columns: repeat(1, 100%);}
	
	.dct_ptf.clm2 .et_pb_portfolio_filters,
	.dct_ptf.clm3 .et_pb_portfolio_filters{position:relative;top: 0;}
	
	.dct_ptf .et_pb_portfolio_filters li{width:auto !important;}
	
}



@media only screen and (min-width: 768px) and (max-width: 980px){
	
	.dct_ptf.clm3 .et_pb_ajax_pagination_container,
.dct_ptf.clm3 .et_pb_portfolio_items_wrapper .et_pb_portfolio_items{display: grid;
grid-gap: 5px;
grid-template-columns: repeat(2, 50%);}} 


/*------ Single Portfolio  --------*/

.dct_s_ptf .et_pb_blurb_content .et_pb_blurb_container{display:flex;}
.dct_s_ptf .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header{margin-right: 50px;}