/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Filterd Map */
#map-container {
	height: 851px;
	width: 100%;
	background-color: #d3d3d3;
	position: relative;
}
#map {
	height: 100%;
	width: 100%;
}
.map-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(0 23 46 / 46%);
	pointer-events: none;
	z-index: 1;
}
.filters.customMap {
    position: absolute;
    left: 30px;
    top: 80px;
    z-index: 9;
    background: rgb(255 255 255 / 88%);
    max-width: 300px;
    width: 100%;
}
.filters.customMap .filterHeading {
    padding: 17px 20px;
    background: #fff;
}
.filters.customMap .filterHeading h2 {
    color: #666666;
    font-size: 16px;
    line-height: 1;
    font-weight: 300;
    padding: 0;
	letter-spacing:0.5px;
}
.filters.customMap .filterBody {
    padding: 30px 20px;
}
.filters.customMap .filterBody .filterItemLink {
    font-weight: 300;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    column-gap: 9px;
	cursor: pointer;
	color:#666666;
}
.filters.customMap .filterBody .filterItemLink img{
	width:26px;
	height:26px;
}
.filters.customMap .filterBody .filterItemLink:last-child{
	margin-bottom:0px;
}
.filters.customMap .filterBody .filterItemLink.active,
.filters.customMap .filterBody .filterItemLink:hover{
	color:#f8692b;
}
.mapPopup{
	width: 100%;
	padding: 0px;
}
.mapPopup h3 {
    font-size: 18px;
    line-height: 24px;
    color: #000;
    font-weight: 500;
    padding: 0px 0px 10px;
}
.mapPopup p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
    color: #000;
}
.mapPopup .viewProjectBtn{
	text-align:right;
}
.mapPopup .viewProjectBtn a {
    margin-left: auto;
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    font-weight: 300;
    color: #000;
    margin-top: 10px;
}
.mapPopup .viewProjectBtn a:hover{
	color: #d3313a;
}
#map-container .gm-style .gm-style-iw-c {
    border-radius: 0 !important;
    padding: 12px 20px 12px 20px !important;
    box-shadow: 0 3px 16px 8px rgba(0, 0, 0, .23);
    min-width: 300px !important;
    max-width: 300px !important;
}
#map-container .gm-style .gm-style-iw-c .gm-style-iw-chr .gm-ui-hover-effect {
    opacity: 1;
    width: auto !important;
    height: auto !important;
	right: -5px;
}
#map-container .gm-style .gm-style-iw-c .gm-style-iw-chr .gm-ui-hover-effect> span {
    margin: 0 !important;
}
#map-container .gm-style .gm-style-iw-d {
    max-height: unset !important;
    min-height: unset !important;
    height: auto !important;
    overflow: unset !important;
}
.custom-map-wrapper #map-container .gmnoprint.gm-style-mtc-bbw,
.custom-map-wrapper #map-container button.gm-control-active.gm-fullscreen-control,
.custom-map-wrapper #map-container .gmnoprint,
.custom-map-wrapper #map-container .gm-style-cc{
    display: none;
}
.openTooltip .gm-style>div>div:not(.custom-map-wrapper.openTooltip .filters.customMap):before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgb(0 0 0 / 30%);
    z-index: 0;
}
/* .custom-map-wrapper.openTooltip .filters.customMap:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgb(0 0 0 / 30%);
    z-index: 0;
    pointer-events: none;
} */
.custom-map-wrapper.openTooltip .filters.customMap {
    pointer-events: none;
    z-index: 3;
}

.custom-setellite-map #map-container #map > div > div:nth-child(3) > div > div > div:nth-child(5) div:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
    height: 100%;
    width: 100%;
	pointer-events:none;
	background: rgb(0 23 46 / 30%);
/*     background: rgb(0 23 46 / 46%); */
}
.ds-portfolio-custom-order .et_pb_portfolio_filters.clearfix {
    display: none;
}
@media(max-width:980px){
	#map-container {
		height: 550px;
	}
	.filters.customMap{
		max-width: 250px;
	}
}
@media(max-width:767px){
	.filters.customMap {
		max-width: 100%;
		position: relative;
		top: 0;
		left: 0;
	}
	.filters.customMap .filterBody {
		padding: 20px;
		display: flex;
		flex-wrap: wrap;
		column-gap: 10px;
	}
	.filters.customMap .filterBody .filterItemLink:last-child{
		margin-bottom: 15px;
	}
	#map-container {
        height: 350px;
    }
}


/* Filterable Portfolio Styling */

.et_pb_filterable_portfolio
.et_pb_portfolio_item h2 {
  width: 100%;
  font-size: 18px;
  text-align: left;
  position: absolute;
  bottom: 10%;
  left: 10%;
  max-width: 200px;
}
.et_pb_filterable_portfolio
.et_pb_portfolio_item h2 a {
  color: #ffffff;
}
.et_pb_filterable_portfolio
.et_pb_portfolio_item p {
  top: 10%; 
  padding-left: 10%;
}
.et_pb_filterable_portfolio
.et_overlay {
  border: none;
}
.et_pb_filterable_portfolio
.et_overlay:before {
  display: none; /*hides overlay icon*/
}
/* Non-Filterable Portfolio Styling */

.et_pb_module_header h2 {
  width: 100%;
  font-size: 18px;
  text-align: left;
  position: absolute;
  bottom: 10%;
  left: 10%;
  max-width: 200px;
}
.et_pb_module_header h2 a {
/*   color: #ffffff; */
}
.et_pb_module_header p {
  top: 10%; 
  padding-left: 10%;
}


/* Portfolio Filters */

.et_pb_portfolio_filters ul.clearfix {
  max-width: 1260px;
  margin: auto !important;
}
@media only screen and ( min-width: 981px ) {
.et_pb_portfolio_filters ul {
  text-align: center;
}
.et_pb_portfolio_filters ul li {
  display: inline-block;
  float: none !important;
}
}
.et_pb_filterable_portfolio.et_pb_filterable_portfolio
.et_pb_portfolio_filters li a {
  border: none;
  background-color: #ffffff;
  border-radius: 0;
}
.et_pb_filterable_portfolio.et_pb_filterable_portfolio
.et_pb_portfolio_filters li a:hover {
  color: #d3313a !important;
  transition: 0.5s;
}
.et_pb_filterable_portfolio.et_pb_filterable_portfolio
.et_pb_portfolio_filters li a.active {
  color: #d3313a !important;
  transition: 0.5s;
}
/* THREE COLUMN PORTFOLIO GRID LAYOUT */
 
@media only screen and ( min-width: 768px ) {
 
.three-column-grid .et_pb_grid_item {
width: 33.333% !important;
margin: 0 0 0 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}
 
.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}
 
}
/* END THREE COLUMN PORTFOLIO GRID LAYOUT */