/*
Theme Name: DMLHT
Description: Thème enfant de Salient pour le site de la DMLHT
Theme URI:   https://www.extrawowrdinary.com
Author: Extrawordinary
Author URI:  https://www.extrawordinary.com
Text Domain: salient
Template: salient
Version: 1.3.0
*/

/**
 * BODY & HEADINGS
 */
body {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.home h1 {
  font-size: 35px !important;
  line-height: 1.3 !important;
}

h1 {
  font-size: 32px !important;
  line-height: 1.3 !important;
}

h2,
.nectar-inherit-h2,
.single-post .related-post-wrap .related-title {
  font-size: 28px !important;
  line-height: 1.3 !important;
}

h3,
.nectar-inherit-h3 {
  font-size: 24px !important;
  line-height: 1.4 !important;
}

h4,
.nectar-inherit-h4,
.single-post .row.related-posts .article-content-wrap h3 {
  font-size: 20px !important;
  line-height: 1.5 !important;
}

h5,
.nectar-inherit-h5,
.archive.category .blog-archive-header .subheader {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

@media all and (min-width: 690px) {
  body {
    font-size: 18px !important;
  }

  .home h1 {
    font-size: 55px !important;
  }

  h1 {
    font-size: 40px !important;
  }

  h2,
  .nectar-inherit-h2,
  .single-post .related-post-wrap .related-title {
    font-size: 34px !important;
  }

  h3,
  .nectar-inherit-h3 {
    font-size: 30px !important;
  }

  h4,
  .nectar-inherit-h4,
  .single-post .row.related-posts .article-content-wrap h3 {
    font-size: 24px !important;
  }

  h5,
  .nectar-inherit-h5,
  .archive.category .blog-archive-header .subheader {
    font-size: 20px !important;
  }
}

@media all and (min-width: 999px) {
  .home h1 {
    font-size: 70px !important;
  }

  h1 {
    font-size: 55px !important;
  }

  h2,
  .nectar-inherit-h2,
  .single-post .related-post-wrap .related-title {
    font-size: 38px !important;
  }

  h3,
  .nectar-inherit-h3 {
    font-size: 32px !important;
  }

  h4,
  .nectar-inherit-h4,
  .single-post .row.related-posts .article-content-wrap h3 {
    font-size: 26px !important;
  }

  h5,
  .nectar-inherit-h5,
  .archive.category .blog-archive-header .subheader {
    font-size: 22px !important;
  }
}

/**
 * LOGO
 */
body header#top #logo img {
  transition: height 0.3s ease-in-out !important;
}

body .scrolled-down header#top #logo img {
  height: 50px !important;
}

@media all and (min-width: 1000px) {
  body .scrolled-down header#top #logo {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
  }
}

/**
 * MENU
 */
#slide-out-widget-area.slide-out-from-right .inner .off-canvas-menu-container li a::after {
  display: none !important;
}

/**
 * BUTTONS
 */
#header-outer .nectar-header-text-content {
  padding-right: 0 !important;
}

.nectar-header-text-content.mobile-only {
  display: none !important;
}

body[data-form-submit="regular"] .container-wrap input[type="submit"],
.nectar-header-text-content a {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  padding: 16px 32px !important;
  border-radius: 50px !important;
}

.nectar-header-text-content a {
  background-color: #45ACE3 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 12px 32px !important;
}

.nectar-header-text-content a i.nectar-menu-icon {
  position: relative;
  top: -1px !important;
  margin-right: 8px !important;
}

.nectar-cta.has-icon .link_wrap i {
  top: 0 !important;
  margin-right: 8px !important;
}

a.button--secondary,
.button--secondary p > span {
  border-radius: 50px;
  padding: 16px 32px;
  background-color: transparent !important;
}

.button--secondary p > span {
  color: #000 !important;
  border: 1px solid rgba(0,0,0,.2) !important;
}

#footer-widgets a.button--secondary {
  margin-top: 8px;
  color: #fff;
  border: 1px solid #fff;
  display: inline-block !important;
}

body[data-form-submit="regular"] .container-wrap input[type="submit"]:hover,
body[data-form-submit="regular"] .container-wrap input[type="submit"]:active,
body[data-form-submit="regular"] .container-wrap input[type="submit"]:focus,
a.button--secondary:hover,
a.button--secondary:active,
a.button--secondary:focus,
.button--secondary p > span:hover,
.button--secondary p > span:active,
.button--secondary p > span:focus,
.nectar-header-text-content a:hover,
.nectar-header-text-content a:active,
.nectar-header-text-content a:focus {
  background-color: #176792 !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
}

.nectar-header-text-content a:hover::after,
.nectar-header-text-content a:active::after,
.nectar-header-text-content a:focus::after {
  display: none !important;
}

/**
 * MAP
 */
.open-user-map .leaflet-gesture-handling-scroll-warning::after {
  display: none !important;
}

.open-user-map .leaflet-popup,
.open-user-map .leaflet-popup-content-wrapper {
  border-radius: 10px !important;
}

.open-user-map .leaflet-popup .edit-location-button {
  display: none !important;
}

.open-user-map .leaflet-popup h4 {
  margin-bottom: 0 !important;
  text-align: center !important;
}

.open-user-map .marker-cluster {
  background-color: rgba(68, 173, 277, 0.6) !important;
}

.open-user-map .marker-cluster > div {
  background-color: rgba(68, 173, 277, 1) !important;
}

.open-user-map.oum-container-for-fullscreen {
  display: none !important;
}

.open-user-map .leaflet-popup-close-button {
  display: none !important;
}

/**
 * ROTATING WORDS
 */
.dynamic-words .text-wrap {
  text-decoration: underline;
}

/**
 * MILESTONES
 */
.nectar-milestone .number {
  font-size: 50px !important;
}

@media all and (min-width: 690px) {
  .nectar-milestone .number {
    font-size: 60px !important;
  }
}

@media all and (min-width: 999px) {
  .nectar-milestone .number {
    font-size: 100px !important;
  }
}

/**
 * TESTIMONIALS
 */
.testimonial_slider[data-style="multiple_visible"] blockquote span.title {
  max-width: 300px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.testimonial_slider blockquote p::before {
  opacity: 1 !important;
  color: #EFF8FD !important;
}

@media only screen and (max-width: 690px) {
  .main-content .testimonial_slider[data-style="multiple_visible"] blockquote p {
    padding: 8px !important;
  }
}

/**
 * TEAM MEMBER
 */
.team-member img {
  max-width: 400px !important;
  width: 100% !important;
  border-radius: 10px !important;
}

.team-member .description {
  padding: 0 !important;
  border: none !important;
}

/**
 * HIGHLIGHTED TEXT
 */
body .nectar-highlighted-text .nectar-scribble.circle {
  height: 200% !important;
  top: -50% !important;
}

/**
 * BLOG & ARCHIVE
 */
.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) + .load-more-wrap {
  margin-top: 60px !important;
}

.nectar-post-grid-wrap .nectar-post-grid .nectar-post-grid-item .meta-excerpt {
  overflow-wrap: anywhere !important;
}

.nectar-post-grid-wrap .nectar-post-grid[data-masonry="yes"] .nectar-post-grid-item .content .item-main {
  max-width: 550px;
}

.nectar-post-grid-wrap .nectar-post-grid[data-masonry="yes"] .nectar-post-grid-item > .inner::before {
  background: rgba(0,0,0,.7) !important;
}

.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) .nectar-post-grid-item > .inner {
  align-items: stretch !important;
}

.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) .nectar-post-grid-item .nectar-post-grid-item-bg-wrap-inner {
  height: 100% !important;
}

.nectar-post-grid-wrap .nectar-post-grid .nectar-post-grid-item .content {
  padding-top: 16px !important;
  padding-bottom: 0 !important;
}

.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) .nectar-post-grid-item .content .meta-excerpt {
  line-height: 1.7 !important;
}

.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) + .load-more-wrap.inactive {
  display: none !important;
}

.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) + .load-more-wrap .load-more {
  border-radius: 50px !important;
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
}

.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) + .load-more-wrap .load-more:hover,
.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) + .load-more-wrap .load-more:active,
.nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) + .load-more-wrap .load-more:focus {
  background-color: #176792 !important;
}

.widget-group-tags .wp-block-tag-cloud > a {
  display: block !important;
  color: #000 !important;
}

.widget-group-tags .wp-block-tag-cloud > a:hover,
.widget-group-tags .wp-block-tag-cloud > a:active,
.widget-group-tags .wp-block-tag-cloud > a:focus {
  color: #45ACE3 !important;
}

.archive.category .blog-archive-header h1,
.archive.tag .blog-archive-header h1 {
  font-weight: 600 !important;
  margin-top: 16px !important;
}

.archive.category .blog-archive-header .subheader,
.archive.tag .blog-archive-header .subheader {
  text-transform: uppercase !important;
  font-weight: 500 !important;
}

.archive.category .post-content-wrap .meta-category a,
.archive.tag .post-content-wrap .meta-category a {
  color: #000 !important;
}

#sidebar .nectar_popular_posts_widget li:first-child {
  padding-top: 25px !important;
}

#sidebar .nectar_popular_posts_widget .popular-featured-img::after {
  background-color: rgba(0, 0, 0, 0.6) !important;
  opacity: 1 !important;
}

#sidebar .nectar_popular_posts_widget .post-date {
  display: none !important;
}

.single-post h1.entry-title {
  font-weight: 600 !important;
}

.single-post .content-inner {
  padding-bottom: 0 !important;
}

.single-post .content-inner .post-tags {
  margin-top: 24px !important;
}

.single-post .related-post-wrap > .row-bg-wrap .row-bg {
  background: linear-gradient(45deg,#FFFFFF 0%,#EFF8FD 100%) !important;
}

.single-post .related-post-wrap .related-title {
  position: relative !important;
  z-index: 1 !important;
  margin-bottom: 64px !important;
}

.single-post .row.related-posts .col {
  max-width: 600px !important;
}

.single-post .related-post-wrap .inner-wrap {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.single-post .related-post-wrap .inner-wrap img {
  border-radius: 10px !important;
  max-height: 300px !important;
}

.single-post .related-post-wrap .meta-category {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.single-post .related-post-wrap .article-content-wrap {
  padding: 0 !important;
}

.single-post .related-post-wrap .grav-wrap {
  position: static !important;
}

.single-post .related-posts[data-style="material"] .article-content-wrap {
  padding-bottom: 0 !important;
}

.single-post .container-wrap {
  padding-bottom: 80px !important;
}

.meta-comment-count {
  display: none !important;
}

@media all and (max-width: 690px) {

  .nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) .nectar-post-grid-item > .inner {
    flex-wrap: wrap !important;
  }

  .nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) .nectar-post-grid-item > .inner > div {
    width: 100% !important;
  }

  .nectar-post-grid-wrap .nectar-post-grid:not([data-masonry="yes"]) .nectar-post-grid-item .nectar-post-grid-item-bg-wrap-inner {
    height: 200px !important;
  }

  .archive.category .post .excerpt,
  .archive.tag .post .excerpt {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
}

@media all and (max-width: 999px) {
  .single-post .row.related-posts {
    justify-content: center !important;
  }

  .single-post .row.related-posts .post-featured-img {
    height: 200px !important;
  }

  .single-post .row.related-posts .post-featured-img img {
    object-fit: cover !important;
    width: 100% !important;
    height: 200px !important;
  }

  .single-post .related-post-wrap .inner-wrap {
    margin-bottom: 16px !important;
  }

  #sidebar > div {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding-top: 32px !important;
  }
}

/**
 * CONTACT
 */
.wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single {
  background-color: rgba(0,0,0,.04) !important;
  border-color: transparent !important;
}

body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:hover {
  background-color: rgba(0,0,0,.04) !important;
  border-color: transparent !important;
}

body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:focus {
  background-color: rgba(0,0,0,.04) !important;
}

body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:hover span,
body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:active span,
body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:focus span {
  color: #000 !important;
}

body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:hover span b,
body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:active span b,
body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:focus span b {
  border-bottom-color: #000 !important;
  border-top-color: #000 !important;
}

.wpcf7-acceptance > span {
  margin-left: 0 !important;
}

.wpcf7-acceptance > span label {
  cursor: pointer !important;
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 16px;
  align-items: center;
}

.wpcf7-acceptance input[type="checkbox"] {
  webkit-appearance: none;
  appearance: none;
  background-color: #F5F5F5;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: grid;
  place-content: center;
}

.wpcf7-acceptance input[type="checkbox"]:focus,
body[data-fancy-form-rcs="1"] .wpcf7-form-control-wrap .fancy-select-wrap .select2-selection--single:focus {
  border: 2px solid #45ACE3 !important;
  box-shadow: 0 0 10px rgba(0,0,0,.11) !important;
  outline: none !important;
}

.wpcf7-acceptance input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  box-shadow: inset 1em 1em #45ACE3;
}

.wpcf7-acceptance input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.wpcf7-form.sent > *:not(.wpcf7-response-output) {
  display: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: none !important;
  border-radius: 10px !important;
  background-color: rgba(212, 237, 218, 0.5) !important;
  padding: 16px 24px !important;
  text-align: center !important;
  font-weight: 600 !important;
}

/**
 * GLOBAL SECTIONS
 */
.page-id-985 .nectar_hook_global_section_footer {
  display: none;
}

/**
 * PAGE SUBEMNU
 */
.page-submenu li a {
  opacity: 1 !important;
}

.page-submenu li a:hover,
.page-submenu li a:active,
.page-submenu li a:focus {
  text-decoration: underline !important;
}

/**
 * HORIZONTAL LIST
 */
.nectar-hor-list-item[data-font-family="p"] > div {
  width: 100% !important;
  padding: 0 !important;
}

.nectar-hor-list-item[data-font-family="p"] > div:first-child {
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

.nectar-hor-list-item[data-font-family="p"] > div:nth-child(2) {
  font-size: 14px !important;
  text-align: left !important;
}

@media all and (min-width: 1000px) {
  .nectar-hor-list-item[data-columns="2"][data-column-layout="medium_first"] > div:nth-child(1) {
    width: 60% !important;
    padding-right: 30px !important;
  }

  .nectar-hor-list-item[data-columns="2"][data-column-layout="medium_first"] > div:nth-child(2) {
    width: 40% !important;
    text-align: right !important;
    padding-left: 30px !important;
  }
}

/**
 * FOOTER
 */
#footer-widgets .col:first-child .textwidget p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

@media all and (min-width: 1000px) {
  #footer-widgets .col:first-child .textwidget p {
    max-width: 90% !important;
  }
}

/**
 * FOLLOW US
 */
.section-follow-us .vc_column-inner:hover,
.section-follow-us .vc_column-inner:focus,
.section-follow-us .vc_column-inner:active {
  border-color: #176792 !important;
  color: #176792 !important;
}

.section-follow-us .vc_column-inner .nectar-text-inline-images__marker {
  clip-path: none !important;
  margin-right: 8px !important;
}

.section-follow-us .vc_column-inner .nectar-text-inline-images__marker img {
  height: 22px !important;
  width: auto !important;
  max-width: none !important;
  margin-top: 5px !important;
}

/**
 * GALLERY
 */
.nectar-flickity[data-controls*="arrows_overlaid"]:not(.masonry) .flickity-viewport {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

/**
 * SINGLE POST
 */
.single-post #page-header-bg .page-header-bg-image {
  display: none;
}

/**
 * 404
 */
.error404 .nectar_hook_global_section_footer {
  display: none !important;
}

/**
 * RECAPTCHA
 */
.grecaptcha-badge {
  visibility: hidden !important;
}

.form-recaptcha {
  font-size: 14px !important;
  color: #777 !important;
  margin-bottom: 24px !important;
}
