/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

@media (max-width:1780px) {
    #header-outer[data-full-width="true"] header > .container, body[data-slide-out-widget-area-style="simple"] #header-outer[data-full-width="true"] #mobile-menu {
        padding: 0 15px 0 0;
        margin-left: -3px;
    }
}

#logo {
    opacity: 1;
    transition: ease 0.3s;
}

.hidden{
    opacity: 0 !important;
    pointer-events: none !important;
}

.team-member p.description, .row .col .team-member p.description {
    border-bottom: 0;
    border-top: 0;
    line-height: 17px;
    
    margin: 0;
    padding: 0;
}

/* W Burger Menu */
#w-burger-container {
  position: absolute;
  right: 10px;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#w-burger {
  position: absolute;
  width: 2rem;
  height: 1.6rem;
  cursor: pointer;
}

#w-burger span {
  display: block;
  position: absolute;
  height: 0.25rem;
  width: 100%;
  background-color: #000;
}

#w-burger span:nth-child(1) {
  top: 0;
}

#w-burger span:nth-child(2) {
  top: 0.7rem;
}

#w-burger span:nth-child(3) {
  top: 0.7rem;
}

#w-burger span:nth-child(4) {
  top: 1.4rem;
}

#w-slider {
  opacity: 1;
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  line-height: 100%;
  text-align: center;
  background-color: #161616;
  z-index: 1000;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
}

@media (max-width: 750px) {
  #w-slider {
    width: 100%;
  }
}
#w-slider-content {
  width: 100%;
  padding: 5%;
}

#w-slider-logo {
  padding-bottom: 10%;
}

#w-slider-close {
  position: absolute;
  right: 5%;
  top: 5%;
  width: 2rem;
  height: 3rem;
  cursor: pointer;
}

#w-slider-close span {
  display: block;
  position: absolute;
  height: 0.25rem;
  width: 100%;
  background-color: white;
}

#w-slider-close span:nth-child(1) {
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  /* Safari and Chrome */
}

#w-slider-close span:nth-child(2) {
  transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  /* IE 9 */
  -webkit-transform: rotate(135deg);
  /* Safari and Chrome */
}

#w-slider-menu {
  width: 100%;
}

#w-slider ul {
  padding: 0;
  margin: 0 0 0 0;
  list-style-type: none;
}

#w-slider ul li {
  padding-bottom: 50px;
  list-style: none;
}

#w-slider ul li a {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
}

#w-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-color: black;
  z-index: 990;
}

#header-outer .transparent {
  pointer-events: none;
}

#logo {
  pointer-events: auto;
}

#client-logo {
    left:0;
    display: inline-block;
    max-height: 25px;
    margin: 0;
}

.client-logo-page {
    max-height: 25px;
}

.sf-menu {
  pointer-events: auto;
}

.mobile-icon {
  pointer-events: auto;
}

.recent-proj-img {
  width: 100%;
  /*max-width: 500px;*/
  height: 300px;
  display: flex;
  justify-content: center;
  /* align horizontal */
  align-items: center;
  /* align vertical */
  text-align: center;
  position: relative;
  
  background-size:     cover;                      /* <------ */
  background-repeat:   no-repeat;
  background-position: center center;
}
.recent-proj-img #link {
  z-index: 101;
  position: absolute;
  width: 100%;
  height: 100%;
}
.recent-proj-img #overlay {
  opacity: 0.1;
  position: absolute;
  background-color: black;
  width: 100%;
  height: 100%;
  transition: ease .3s;
}
.recent-proj-img #text-container {
  z-index: 100;
  margin: 0 5%;
}
.recent-proj-img #text-container #client-logo {
  font-size: 16pt;
  margin: 0;
  color: white;
}
.recent-proj-img #text-container #client-logo img {
  max-height: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.recent-proj-img #text-container #title {
  margin: 5px 0;
  font-size: 20pt;
  line-height: 25px;
  color: white;
}

.recent-proj-img #text-container #description {
  margin: 5px 0;
  font-size: 12pt;
  line-height: 15px;
  color: white;
}

.recent-proj-img:hover #overlay {
  opacity: 0.3;
}

.fg-light .fg-tag-item.fg-selected .fg-tag-link {
  border: none;
  border-bottom: solid 2px black;
}

.fg-light .fg-tag-link:hover {
  color: #555;
  background-color: #0000 !important;
}

.fg-tag-item .fg-tag-link {
  font-family: 'Noto-Serif',serif;
  border-radius: 0px;
  border: none;
}

.fg-paging-container .fg-load-more {
  font-size: 16px;
  border: none;
  border-radius: 0px;
  border-bottom: solid 2px black;
  font-family: 'Noto-Serif',serif;
}

.fg-paging-container.fg-light .fg-load-more:focus, .fg-paging-container.fg-light .fg-load-more:hover {
  background-color: #0000;
  border-color: black;
}

.fg-paging-container.fg-light .fg-load-more {
  border-color: black;
}


.fg-filtering-container {
    max-width: 1390px;
    margin: 0 auto;
}

.fg-image {
    margin-bottom: 0 !important;
    
}