/* ---------- CUSTOM TITLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

.th_custom_font_title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/* ---------- HELPERS COLORS */

body, body.th_light {
  background-color: #fff;
}

.th_color_main {
  color: #79b5f2 !important;
}

.th_bg_color_main {
  background-color: #79b5f2 !important;
}

.th_fill_color_main {
  fill: #79b5f2 !important;
}

.th_color_white {
  color: #ffffff !important;
}

.th_bg_color_white {
  background-color: #ffffff !important;
}

.th_color_green {
  color: #009b30 !important;
}

.th_bg_color_green {
  background-color: #009b30 !important;
}

.th_color_graylight {
  color: #eee !important;
}

.th_bg_color_graylight {
  background-color: #eee !important;
}

.th_color_1 {
  color: #58585a !important;
}

.th_bg_color_1 {
  background-color: #58585a !important;
}

.th_color_2 {
  color: #282828 !important;
}

.th_bg_color_2 {
  background-color: #282828 !important;
}

.th_color_3 {
  color: #000000 !important;
}

.th_bg_color_3 {
  background-color: #000000 !important;
}

.th_border_color_graylight, .th_border_color_graylight:focus {
  border: solid 1px rgba(0, 0, 0, 0.1) !important;
}

.th_border_color_graylight_color, .th_border_color_graylight_color:focus {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* FIX temporaire : en attente de dev de certaines fonctionalités supplémentaires */
.th_border_top_color_graylight:not(#th_content) {
  border-top: solid 1px rgba(0, 0, 0, 0.1) !important;
}

.th_border_bottom_color_graylight {
  border-bottom: solid 1px rgba(0, 0, 0, 0.1) !important;
}

.th_border_bottom_color_graydark {
  border-bottom: solid 1px #606060 !important;
}

/* ---------- PICTOS EQUIPEMENTS */

/* Contours */
body .icon_equipements_container_fiche svg:not(.fa-chevron-right),
body .icon_equipements_container svg:not(.fa-chevron-right) {
  border: solid 1px rgba(0, 0, 0, 0.1) !important;
}

/* Fond */
body .icon_equipements_container_fiche svg>*[fill="#69AB14"], 
body .icon_equipements_container svg>*[fill="#69AB14"] {
    fill: #fff !important;
}

/* Icon */
body .icon_equipements_container_fiche svg>*[fill="#fff"], 
body .icon_equipements_container svg>*[fill="#fff"], 
body .icon_equipements_container_fiche svg>*[fill="#fff"],
body .icon_equipements_container_fiche svg g>*[fill="#fff"],
body .icon_equipements_container svg>*[fill="#fff"],
body .icon_equipements_container svg g>*[fill="#fff"],
body .icon_equipements_container_fiche svg>*[fill="#FFF"],
body .icon_equipements_container svg>*[fill="#FFF"], 
body .icon_equipements_container_fiche svg>*[fill="rgb(255, 255, 255)"], 
body .icon_equipements_container svg>*[fill="rgb(255, 255, 255)"], 
body .icon_equipements_container_fiche svg>*[style="fill:#fff"], 
body .icon_equipements_container svg>*[style="fill:#fff"] {
    fill: #282828 !important;
}

/* ---------- PICTOS MAP & SOCIAL */

#th_subnav svg circle, .th_social svg,
#th_hero_texte_societe svg circle,
#societe-coordonnees svg circle,
#th_footer_social svg {
    fill: #79b5f2 !important;
}

/* ---------- HOME - Ordre des sections */

#th_search_home       { display: block; order: 1; }
#th_hero              { display: block; order: 2; }
#th_services          { display: block; order: 3; }
#th_content           { display: block; order: 4; }
#th_search_category   { display: block; order: 5; }
#th_projet_automobile { display: block; order: 6; }
#th_liste_marques     { display: block; order: 7; }
#th_avis_clients      { display: block; order: 8; }
#th_actus             { display: block; order: 9; }
#map-version          { display: block; order: 10; }

/* ---------- HEADER */

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:focus,
ul#th_comparateur_menu li a.nav-link.dropdown-toggle,
.th_light .navbar-light .navbar-nav .nav-link,
.th_light .navbar-light .navbar-nav .nav-link:focus,
body .navbar.navbar-light ul#th_comparateur_menu li a.nav-link.dropdown-toggle,
#search_order, #search_limit {
  color: #58585a;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.th_header_baseline,
.th_header_tel {
  color: #79b5f2;
}

body .th_header {
  background-color: #ffffff;
}
body.th_dark .th_header_remise {
  color: #ffffff !important;
}

body.th_light .th_header_remise {
  color: #000000 !important;
}

body.th_dark button.navbar-toggler {
  background-color: #1b1b1b !important;
}

body .navbar #th_logo_supplementaire {
  background-image: url(https://starterre-res.cloudinary.com/image/upload/f_auto,q_auto/v1710348193/sites-persos/template-falcon/logo-suppl.png);
  height: 60px;
  width: auto;
}

.navbar-light .navbar-nav .nav-link.btn-isuzu, 
.navbar-light .navbar-nav .nav-link.btn-isuzu:hover,
.navbar-light .navbar-nav .nav-link.btn-isuzu:focus {
  color: #DE002A;
}

svg .st0 { 
  fill:#DE002A;
}

/* ---------- HOME - Recherche */

#th_search_container {
  background-image: url(https://starterre-res.cloudinary.com/image/upload/f_auto,q_auto/v1688567875/sites-persos/template-falcon/banner-falcon-2.jpg);
  min-height: 400px;
}

body #th_search_container:before {
  background-color: rgba(50, 52, 55, 0.8);
}

.th_searchhome {
  .select2-selection {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    height: 60px;
    border: 0;
    border-radius: 0;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px;
    position: absolute;
    right: 5px;
    width: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    top: 15px;

    b {
      border-color: #fff transparent transparent transparent;
    }
  }
  .select2-container--open .select2-selection--single .select2-selection__arrow {
    b {
      border-color: transparent transparent #fff transparent;
    }
  }

  #select2-marque-container,
  #select2-modele-container {
    color: #fff;
    line-height: 60px;
    padding-left: 30px;
  }
  .th_searchhome_marquecontainer {
    .select2-selection {
      border-top-left-radius: 10px !important;
      border-bottom-left-radius: 10px !important;
      border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
  }
  .th_searchhome_modelecontainer {
    .select2-selection {
      background-color: rgba(255, 255, 255, 0.2);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      color: #fff;
    }
  }
}

@media (max-width: 992px) {
  button.th_btn_submit {
    border-radius: 10px !important;
  }
}
@media (max-width: 575.98px) {
  .th_searchhome_marquecontainer, .th_searchhome_modelecontainer {
    .select2-selection {
      border-radius: 10px !important;
    }
  }
}

@media (min-width: 576px) {
  .th_searchhome select#marque {
  }

  .th_searchhome button.th_btn_submit {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
  }
  .th_searchhome_marquecontainer {
    .select2-selection {
      border-top-left-radius: 10px !important;
      border-bottom-left-radius: 10px !important;
      border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
  }
}

/* ---------- HOME - Recherche par catégorie */

#th_search_category {
  border-top: 0 !important;
  /* padding-top: 0 !important; Désactivé temporairement : en attente de dev de certaines fonctionalités supplémentaires */
}

#th_search_category li a {
  background-color: #f9f9f9;
}

#th_search_category li a:hover {
  color: #fff;
  background-color: #79b5f2;
}

#th_search_category li a svg {
  fill: #000;
}

#th_search_category li a:hover svg {
  fill: #fff;
}

/* ---------- HOME - Hero */

#th_hero {
  position: relative;
  margin-top: -140px;

  @media (max-width: 992px) {
    margin-top: -60px;
  }
}

#th_hero_image_societe, #th_map_image_societe {
  background-image: url(https://starterre-res.cloudinary.com/image/upload/f_auto,q_auto/v1719837926/sites-persos/template-falcon/hero-defaut-falcon.jpg);
}

#th_hero_texte_societe a {
  text-decoration: underline;
}

#th_hero_background {
  border-radius: 10px;
  box-shadow: 0px 10px 10px 5px rgba(0,0,0,0.15);
  background-color: #fff;
}

@media (max-width: 575.98px) {
  #th_hero {
    margin-top: -50px;
  }
}
/* ---------- HOME - Avis clients */

#th_avis_clients {
  background-color: rgba(227, 239, 252, 1) !important;
}

#th_avis_clients_background {
  background-image: url(https://starterre-res.cloudinary.com/image/upload/f_auto,q_auto/v1687168916/sites-persos/template-falcon/background-avis.jpg) !important;
}

#th_avis_clients_background:after {
  background: linear-gradient(90deg, rgba(227,239,252,1) 5%, rgba(227,239,252,0) 50%) !important;
}

#th_avis_clients .th_avis_clients_item {
  background-color: #fff !important;
  box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 0.1);
}

/* ---------- HOME - Projet auto */

#th_projet_automobile {
  background-color: rgb(255, 255, 255) !important;
}

#th_projet_automobile_background {
  background-image: url(https://starterre-res.cloudinary.com/image/upload/f_auto,q_auto/v1688567874/sites-persos/template-falcon/background-projet-auto.jpg) !important;
}

#th_projet_automobile_background:after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255,0) 50%) !important;
}

#th_projet_automobile .th_projet_automobile_item {
  background-color: #fff !important;
  box-shadow: 0px 7px 10px 0px rgba(0, 0, 0, 0.1);
}

/* ---------- CATALOGUE */

#th_sidebar .sidebar {
  background-color: #fff;
}

#th_sidebar .th_font_title.p-2.mt-3 {
  background-color: transparent !important;
  padding: 0 !important;
  font-size: 16px !important;
  text-transform: none;
}

#listefiltres .ui-widget-header {
  background: #000;
}

#listefiltres .ui-widget-content, #listefiltres .ui-widget.ui-widget-content {
  background: #d1d1d1;
}

#listefiltres .ui-state-default,
#listefiltres .ui-widget-content .ui-state-default,
#listefiltres .ui-state-default:focus,
#listefiltres .ui-widget-content .ui-state-default:focus,
#listefiltres .ui-state-focus,
#listefiltres .ui-state-hover {
  border-color: #000 !important;
  background: #fff;
}
#listefiltres .ui-state-default,
#listefiltres .ui-widget-content .ui-state-default,
#listefiltres .ui-state-default:focus, #listefiltres .ui-widget-content .ui-state-default:focus,
#listefiltres .ui-state-focus, #listefiltres .ui-state-hover {
  top: -6.5px;
}

#catalogue-liste-1 .th_bg_color_2 {
  background-color: transparent !important;
}
.rheostat-tooltip {
  color: #6c757d !important;
}
#catalogue-liste-1 .ais-Pagination-item.ais-Pagination-item--selected .ais-Pagination-link {
  color: #fff;
}
body #th_sidebar #catalogue-search {
   .select2-selection--single {
    line-height: 1.5em;
    margin: 0;
    border: 0;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0;
    height: auto;
  }
  .select2-selection--single .select2-selection__rendered{
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    padding: 0.5em 3.5em 0.5em 1em;
  }
  #listefiltres .form-group {
    color: #000;
  }
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 20px;
    width: 20px;
    position: absolute;
    top: 10px;
    right: 5px;
    background: #eee;
    border-radius: 24px;
    b {
      border-color: #000 transparent transparent transparent;
    }
  }

  .select2-container--open .select2-selection--single .select2-selection__arrow {
    b {
      border-color: transparent transparent #000 transparent;
    }
  }
}

#search_order.custom_select, #search_limit.custom_select {
  background-image: linear-gradient(45deg, transparent 50%, black 50%),
  linear-gradient(135deg, black 50%, transparent 50%),
  radial-gradient(rgba(0, 0, 0, 0.1) 70%, transparent 72%);
}

/* ---------- FICHE */

.th_fiche_sidebar,
.th_ps_featured_infos {
  border-bottom: solid 1px #eee;
}

#blocprix #detailsprix .card-body.pt-3 .th_bg_color_secondary.th_color_white.th_total.mt-3 {
  background-color: #282828 !important;
}

#blocprix {
  padding: 15px;
}

.nav-tabs .nav-link.active {
  color: #79b5f2 !important;
}

#photo-diapo-container {
  overflow-y: hidden;
  scrollbar-color: #c6c6c6 white;
  figure {
    padding-right: 5px;
    height: 100px;
    width: auto;
    a img {
      height: 100px;
      width: auto;
    }
  }
  figure, .pswp__trigger--open  {
    margin: 0;
    flex: none;
  }
}

.photo-vehicule .thumb.photo360 {
  bottom: 15px;
  right: 15px;
}

#fiche-header {
  .reference {
    position: absolute;
    right: 15px;
    line-height: 21px;
    top: 0;
    font-size: 11px;
  }
}

.photo-vehicule {
  box-shadow: 3px 3px 5px #ececec;
  > figure {
    margin: 0;
  }
}

.th_financement_appel_type_text {
  font-size: 0.75rem;
}
body .th_financement_appel {
  font-size: 1.2rem;
}

.th_fiche_sidebar span,
.th_mensualite_accroche {
  font-size: 2.25rem;
}

#detailsprixbutton {
  font-size: 24px;
  padding: 0;
  vertical-align: text-bottom;
}
#detailsprixbutton:hover {
  background-color: transparent !important;
  svg {
    color: #000;
  }
}

#showfinancement {
  background: #eee;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: -1rem;
  padding: 7px;
}

.listing-couleur {
  li {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    .round-color {
      cursor: pointer;
      width: 24px;
      height: 24px;
      border: 1px solid #58595B;
      border-radius: 50%;
      display: inline-block;
    }
    &.selected {
      border: solid 2px #69ab14;
      padding: 1px;
    }
    &:not(.selected) {
      padding: 2px;
    }
  }
}


.car_blue,.car_blue:before,
.car_bleu,.car_bleu:before {
  background-color: #0022BB !important;
}

.car_yellow,.car_yellow:before,
.car_jaune,.car_jaune:before {
  background-color: yellow!important;
}

.car_red,.car_red:before,
.car_rouge,.car_rouge:before {
  background-color: red!important;
}

.car_gray,.car_gray:before,
.car_gris,.car_gris:before {
  background-color: gray!important;
}

/*.car_green,.car_green:before { background-color: green!important;}*/
.car_green,.car_green:before,
.car_vert,.car_vert:before {
  background-color: #0e5e01 !important;
}

.car_white,.car_white:before,
.car_blanc,.car_blanc:before {
  background-color: white!important;
}

.car_black,.car_black:before,
.car_noir,.car_noir:before {
  background-color: black!important;
}

/*.car_brown,.car_brown:before { background-color: brown!important; }*/
.car_brown,.car_brown:before,
.car_marron,.car_marron:before {
  background-color: #774a33!important;
}

/*.car_beige,.car_beige:before { background-color: beige!important; }*/
.car_beige,.car_beige:before,
.car_beige,.car_beige:before {
  background-color: #d7bdb0 !important;
}

.car_purple,.car_purple:before,
.car_violet,.car_violet:before {
  background-color: purple!important;
}

/*.car_orange,.car_orange:before { background-color: orange!important; }*/
.car_orange,.car_orange:before,
.car_orange,.car_orange:before {
  background-color: #f29200 !important;
}

#equipements, #generalites {
  ul li {
    span {
      margin: 0;
    }
  }
  ul.arrows {
    padding: 0;
  }
}

@media (min-width: 992px) {
  #blocprix.th_sticky {
    top: 80px;
  }

  #equipements ul, #generalites ul:not(.arrows) {
    column-count: 2;
  }
}
@media (max-width: 767px) {
  #fiche-header {
    .reference {
      position: unset;
    }
  }
}

/* ---------- DIVERS */

.cd-top, .rounded-pill {
  border-radius: 5px !important;
}

a.th_layer:hover:after {
  color: #79b5f2 !important;
}
.th_critere_btn.active,
.nav-pills .nav-link.active {
  background-color: #79b5f2 !important;
}

.ais-Pagination-link:hover {
  color: #ffffff !important;
}

.nav-pills .nav-link {
  background-color: #1b1b1b !important;
}

.custom_scroll {
  /* width */
  &::-webkit-scrollbar {
    width: 8px;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px black;
    border-radius: 10px;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: #79b5f2;
    border-radius: 10px;
  }

  /* Handle on hover */
  &::-webkit-scrollbar-thumb:hover {
    background: #79b5f2;
  }
}