/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*** MDF 32800 CHANGES - 03.16 ***/
.project-content .project-info .project-terms {
  clear: both;
}

.project-filter-bar {
  background-color: #ececec;
  margin-top:30px;
  margin-bottom: 30px;
}

.filter-label-box {
  background-color: #DBDBDB;
  margin-left: 20px;
  float: left;
  width: 29%;
  padding:90px 0;
  text-align:center;
  color: #3786AA;
  font-size: 28px;
  margin-right: 50px;
}

.filter-drops-box {
  float:left;
  height: 39px;
  margin-top:82px;
position:relative;
}

.filter-drops-box .facetwp-type-dropdown {
  float:left;
  width: 211px;
  margin-right: 20px;
  position:relative;
  background-color: #fff;
  height: 37px;
  box-shadow:0 0 0 1px #dddddd inset;
  border-radius: 3px;
  z-index:0;
  overflow: hidden;
}

.filter-drops-box .facetwp-type-dropdown select {
    border: 1px solid #dddddd;
    border-radius: 3px;
    display: block;
    font-size: 14px;
    height: 37px;
    padding: 8px 73px 8px 8px;
    width: 245px;
    background-image:none;
    background-color: transparent;
    position:relative;
    z-index: 9999;
    text-overflow: ellipsis;
    cursor: pointer;
}

.facetwp-loading {
  margin-top:8px;
  margin-left:10px;
}

.filter-drops-box .facetwp-type-dropdown:before {
    background-color: #4a98b7;
    border-radius: 0 2px 2px 0 ;
    content: "";
    right:0;
    position: absolute;
    top: 1px;
    width: 35px;
    height: 35px;
}

.filter-drops-box .facetwp-type-dropdown:after {
  border-color: #fff;
  border-style: solid;
  border-width: 1px 1px 0 0;
  content: "";
  height: 10px;
  position: absolute;
  right: 12px;
  top: 11px;
  transform: rotate(135deg);
  width: 10px;
}

.filter-grid-three {
  box-sizing: border-box;
  width:33.33333%;
  padding: 0 5px;
  margin: 5px 0;
  float:left;
  overflow: hidden;
  position: relative;
}

.filter-grid-three:nth-child(3n+1) {
  clear: both;
}


.filter-grid-four {
  box-sizing: border-box;
  width:25%;
  padding: 0 5px;
  margin: 5px 0;
  float:left;
  overflow: hidden;
  position: relative;
}

.filter-grid-four:nth-child(4n+1) {
  clear: both;
}

.grid-hover-item {
    background-color: rgba(74, 152, 183, 0.85);
    bottom: -90px;
    box-sizing: border-box;
    height: 80px;
    left: 5px;
    margin: 0;
    padding: 14px 14px 14px 30px;
    position: absolute;
    width: calc(100% - 10px);
    opacity:0;
    transition: bottom 200ms, opacity 200ms;
}

.fusion-portfolio-post .fusion-image-wrapper:hover > .grid-hover-item {
  bottom: 0;
  opacity:1;
}

.fusion-image-wrapper .grid-hover-item {
  background-color: rgba(74, 152, 183, 0.85);
  bottom: -90px;
  box-sizing: border-box;
  height: 70px;
  left: 0;
  margin: 0;
  padding: 10px 10px 10px 30px;
  position: absolute;
  width: 100%;
  opacity:0;
  transition: bottom 200ms, opacity 200ms;
}

.filter-grid-four:hover > .grid-hover-item {
  bottom: 0;
  opacity:1;
}

.filter-grid-three:hover > .grid-hover-item {
  bottom: 0;
  opacity:1;
}

.grid-hover-item:before {
  border-color: #fff;
 border-style: solid;
 border-width: 1px 1px 0 0;
 content: "";
 height: 10px;
 left: 8px;
 position: absolute;
 top: 16px;
 transform: rotate(40deg);
 width: 10px;
}

.grid-hover-item .hover-item-title {
  color: #fff;
      display: block;
      font-size: 14px;
      font-weight: bold;
      height: 36px;
      line-height: 17px;
      width: 100%;
}

.hover-location {
  color: #ffffff;
  font-size: 12px;
}

.grid-shortcode-group {
    margin: 0 auto;
    width: 100%;
    max-width: 1088px;
}

.grid-shortcode-wrapping {
    margin-top: 50px;
    margin-bottom: 50px;
    clear: both;
    float: left;
    height: auto;
    width: 100%;
    position:relative;
    overflow: hidden;
}

.fusion-fullwidth {
	clear: both;
}

.facetwp-reset {
   position:absolute;
   left: 0;
   top: 42px;
   color: #3786aa;
   font-size: 13px;
  opacity: .8;
transition: opacity 150ms;
}

a.facetwp-reset:hover {
    color: #3786aa;
    opacity: 1;
}

.facetwp-reset:before {
    content: "\f531";
    font-family: 'dashicons';
    color: #3786aa;
    font-size: 15px; 
   margin-right: 5px;
   position:relative;
   top:3px;
   left: 1px;
}
.filter-wrap {
   margin: 0 auto;
   max-width:1122px;
   width:100%;
   height:170px;
}

.single-avada_portfolio #content {
	width: 100%;
}


/*** additional responsive styles ****/
@media screen and (max-width:1370px) {
  .filter-drops-box {
    display: block;
    float: none;
    margin:  30px auto 0 auto;
    position: relative;
    right: -20px;
    width: 693px;
    transform: translateY(0deg);
    top:20px;
     overflow: hidden;
     zoom:1;
     height: auto;
  }


  .filter-grid-four {
    width: 33.33333%;
  }


  .filter-grid-four:nth-child(4n+1) {
    clear: none;
  }

    .filter-grid-four:nth-child(3n+1) {
      clear: both;
    }

  .filter-label-box {
    width: 100%;
    height: auto;
    padding:20px;
    margin-left:0;
  }
  
  .filter-wrap {
   margin: 0 auto;
   max-width:1122px;
   width:100%;
   height:190px;
}
}

@media screen and (max-width:800px) {
  .filter-grid-four:nth-child(3n+1) {
    clear: none;
  }
  .filter-grid-four:nth-child(2n+1) {
    clear: both;
  }
  .filter-grid-four {
    width: 50%;
  }
  .filter-grid-three:nth-child(3n+1) {
    clear: none;
  }
  .filter-grid-three:nth-child(2n+1) {
    clear: both;
  }
  .filter-grid-three {
    width: 50%;
  }
}

@media screen and (max-width:700px) {
  .filter-drops-box {
    width:235px;
    height: 212px;
  }
  .filter-label-box {
    box-sizing: border-box;
  }
.filter-wrap {
   height: 316px;
}
.facetwp-facet {
    margin-bottom: 23px !important;
}
.facetwp-reset {
    top: 171px;
}
}

@media screen and (max-width:550px) {
  .filter-grid-four:nth-child(2n+1) {
    clear: none;
  }
  .filter-grid-four {
    width: 100%;
    clear: both;
  }
  .filter-grid-three:nth-child(2n+1) {
    clear: none;
  }
  .filter-grid-three {
    width: 100%;
    clear: both;
  }
}
