/*
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
*/


body a:hover {
    color: #f64740 !important;
}

body a {
    color: white !important;
}

h1 {
    line-height : 1.1em;
}

ul {
    margin-top : 10px !important;
    margin-bottom : 10px !important;
}

.wpb_row>.span_12 {
    margin-top: 0 !important;
}

.project-sharing {
    display: none;
}

/* hide title and date */
.portfolio-items .col p {
    text-align: center;
}

.portfolio-items h4 {
    display: none;
}

#portfolio-extra {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000000;
  padding: 30px;
  margin-bottom : 45px;
  position: relative;
  z-index: 1;
}

#portfolio-extra .row-bg,
#portfolio-extra .row-bg-layer,
#portfolio-extra .row-bg-wrap {
  background-color: rgba(255, 255, 255, 0) !important;
}

#portfolio-extra .wpb_wrapper,
#portfolio-extra .wpb_text_column,
#portfolio-extra .testimonial_slider,
#portfolio-extra * {
  color: #000000 !important;
}

#regular_portfolio .container-wrap {
  background-color: #404040 !important;
}

/* .custom-thumbnail {
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain;
  contain-intrinsic-height: auto !important;
} */

.custom-thumbnail {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}

body.lang-fr .element.cede.profinpar-fund-i,
body.lang-fr .element.cede.profinpar-fund-i .inner-wrap,
body.lang-fr .element.cede.profinpar-fund-i .work-item {
  height: auto !important;
  min-height: auto !important;
}

.nectar-social {
    display: none !important;
}

/*ol, ul {
    margin-bottom: 0px !important;
}*/

@media (min-width: 768px) and (max-width: 1024px) {
  .nectar-fancy-ul {
    font-size: clamp(14px, 1.7vh, 17px); /* Adjust to your preferred size */
    line-height: 1.5em;  }
}

  .nectar-fancy-ul {
    font-size: clamp(15px, 1.7vh, 20px); /* Adjust to your preferred size */
    line-height: 1.5em;
}

.team-member.nectar-parallax-enabled h3 {
    margin-bottom:0px !important;
    line-height:1em;
}

.team-member-image {
    margin-bottom: 15px !important;
}

/* Change color of rotating words */
.nectar-rotating-words-title .dynamic-words span {
    color: #f64740;
    background-color: white;
    padding: 0.0em 0.0em;
    font-weight: 500;
/*  display: block; /* or block depending on your layout */

  display: inline;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;  /* ensures it doesn't overflow its container */
}

.nectar-rotating-words-title .dynamic-words {
  padding-right: 0.2em; /* allows extra space before line break decision */
}

.nectar-rotating-words-title .dynamic-words {
  width: auto !important;
}

.nectar-rotating-words-title .text-wrap {
  display: inline;
  white-space: normal;
}

.nectar-rotating-words-title h2.heading {
  line-height: 1.2; /* makes wrapping cleaner */
}

/*
* {
  outline: 1px solid red;
}
*/

/* @media only screen and (max-width: 1000px) {*/
.nectar-rotating-words-title h2 {
    font-size: clamp(32px, 5vh, 60px) !important;
}

.nectar-rotating-words-title h1 {
    font-size: clamp(40px, 6vh, 60px) !important;
    line-height : 1.1em;
}

.number {
    line-height: 40px !important;
    margin-bottom: 0px !important;
}

.nectar_team_member_overlay {
    background-color: black !important;
    color: white !important;
}

.nectar_team_member_overlay li {
    margin-bottom: 10px;
    line-height : 1.3em !important;
}

/* Remove First cap on buttons */
.nectar-button span {
    text-transform: none;
}

/* force button size */
.pf-home .nectar-button {
    min-width: 295px !important;
}

.pf-mission-col li {
    margin-bottom: 15px !important;
}

.pf-download p, .pf-download a {
    font-size: clamp(14px, 1.7vh, 17px);
}

/* */
.w3eden p, .w3eden a {
    display:block;
    font-size: 17px;
    line-height: 1.1em;
    margin-bottom: 0;
}

@media screen and (max-width: 1000px) {
.w3eden p, .w3eden a {
    font-size: 14px;
}
}

.wpdm-download-link a {
    line-height: 1.7em;
}

.package-title a {
  font-size: 20px;
}

.off-canvas-menu-container li {
    line-height: 1.5em !important;
}

.nectar-button.large {
    padding: 10px 34px 10px 34px !important;
}

/* button font size */
.nectar-button.large span {
font-size: clamp(14px, 1.7vh, 17px);
}


/* Override font sizes in Footer*/
.nectar-milestone .number {
    font-family: Staatliches, sans-serif;
    font-size: 40px;
    font-weight: 400;
}

/* Clean-up News item / blog entry 
#footer-outer {
    display: none !important;
}*/

.single-post p, .single-portfolio p {
    font-size: clamp(14px, 1.7vh, 17px);
    line-height: 1.3em;
}

.article-content-wrap .excerpt {
    display: none !important;
}

.cat-post-title {
    line-height : 1.3em ;
}

.grav-wrap {
    margin-top : 15px !important  ;
}

div.row.heading-title.hentry {
    padding-bottom : 0px;
}

.col.section-title.blog-title h1.entry-title {
    font-size: clamp(40px, 5vh, 50px);
    line-height: 1.1em;
}

.meta-category {
    display: none !important;
}

.bottom_controls {
    display: none !important;
}

div#single-below-header, div#author-bio, .related-post-wrap  {
    display: none !important;
}

.masonry.material .masonry-blog-item .article-content-wrap {
    padding: 25px !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

/* Override font sizes in Footer*/
.nectar-milestone .symbol {
    font-family: Staatliches, sans-serif;
    font-size: 30px;
    font-weight: 400;
    padding-left: 0.2em;
}

/*Apply Fullscreen page row css copied from Nectar Slider down arrow*/
.full-page-inner .slider-down-arrow-full {
    height: 60px;
    width: 60px;
    display: block;
    margin: 0 auto;
    position: absolute;
    bottom: 30px;
    z-index: 100;
    left: 50%;
    margin-left: -30px;
}
.full-page-inner .slider-down-arrow-full i.icon-default-style[class^="icon-"] {
    height: 60px!important;
    width: 60px;
    font-size: 60px!important;
    color: white !important;
    line-height: 60px!important;
    animation: 3.4s ease-in-out infinite fadebottom;
    -webkit-animation: 3.4s ease-in-out infinite fadebottom;
}

.toggle {
    background-color: rgba(0, 0, 0, 0.7) !important;
    margin: 0 0 30px 0;
}

.toggles--minimal-shadow .toggle > .toggle-title a {
    padding: 15px 70px 15px 0 !important;
}

.toggle-title a, .toggle-title i {
    color: white !important;
}

.toggle-title a:hover, .toggle-title i:hover {
    color: #f64740 !important;
}

i.fa.fa-minus-circle {
    color: white !important;
}

.inner.toggle.wrap div {
    padding: 0px !important;
}

div.toggle.open.default {
    margin: 0px 0px 15px 0px;
}

div.toggle.default {
    margin: 0px 0px 15px 0px;
}

.tabbed >ul li a {
    font-family : Staatliches !important;
    font-size: clamp(25px, 2.2vh, 40px) !important;
}

@media only screen and (min-width: 1000px) and (max-width: 1300px) {
    #header-outer #top nav .sf-menu > #social-in-menu {
        visibility: hidden !important;
    }
}

.desktop-version {
  display: block;
}
.mobile-version {
  display: none;
}

@media screen and (max-width: 1000px) {
  .desktop-version {
    display: none !important;
  }
  
  .mobile-version {
    display: block !important;
  }

.pf-responsive-text {
  font-size: clamp(14px, 1.7vh, 17px);
  line-height: 1.4em;
}}
