/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/


/***************************/
/********** TYPOS **********/
/***************************/

/* instrument-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* instrument-sans-italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* instrument-sans-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* instrument-sans-500italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-500italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* instrument-sans-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* instrument-sans-600italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-600italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* instrument-sans-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* instrument-sans-700italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/instrument-sans/instrument-sans-v4-latin-700italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/********************************/
/********** VARIABLES ***********/
/********************************/

:root {
  --marron: #a67c52;
  --marron-clair: #c69c6d;
  --vert: #406255;
  --vert-clair: #d9e0dd;
  /* Vert 20% */
  --beige: #d9c8b4;
  --creme: #f7f1e9;
}


/*****************************/
/********** GÉNÉRAL **********/
/*****************************/

/* Provisoire */
#gdl-publish-guide {
  z-index: -99999;
}

/* Texte non copiable 
*:not(input):not(textarea) {
  user-select: none;
}*/

/* Taille des titres sur tablette et mobile 
@media (max-width: 959px) {

  h1:not([class*="fontsize-"]),
  .h1:not([class*="fontsize-"]) {
    font-size: 32px !important;
  }

  h2:not([class*="fontsize-"]),
  .h2:not([class*="fontsize-"]) {
    font-size: 27px;
  }

  h3:not([class*="fontsize-"]),
  .h3:not([class*="fontsize-"]) {
    font-size: 23px;
  }
}*/

/* Liste tronquée */
.liste-tronquee ul li:nth-last-child(-n+2) i {
  opacity: 0;
}


/**************************/
/********** MENU **********/
/**************************/

/* Masquage des flèches de sous-menu dans la Top Bar */
#menu-menu-secondaire .fa-dropdown {
  display: none;
}

/* Largeur automatique menu déroulant */
@media (min-width: 960px) {
  .menu-horizontal ul.menu-smart>li>ul:not(.mega-menu-inner):not(.unmenu-inner-ul) {
    width: auto !important;
  }
}


/*****************************/
/********** ACCUEIL **********/
/*****************************/

/* Masquage logo sur bureau */
@media (min-width: 960px) {
  #logo-container-mobile {
    opacity: 0;
    pointer-events: none;
  }
}

/* Couleur au survol liens dark skin */
.menu-dark .menu-smart a:not(.un-submenu *):hover,
.menu-dark .menu-smart a:not(.un-submenu *):focus,
.style-dark a:not(.btn-text-skin):hover,
.style-dark a:not(.btn-text-skin):focus {
  color: var(--beige) !important;
}

/* Icône Doctolib réseaux sociaux */
.fa-medkit::before {
  content: '';
  background: url(https://vnh.5e5.myftpupload.com/wp-content/uploads/2026/03/logo-doctolib-icone-blanc.png);
  background-size: 14.2px 16px;
  display: inline-block;
  width: 14.2px;
  height: 16px;
}

.social-icon:hover .fa-medkit::before,
.social-icon:focus .fa-medkit::before {
  background: url(https://vnh.5e5.myftpupload.com/wp-content/uploads/2026/03/logo-doctolib-icone-beige.png);
  background-size: 14.2px 16px;
  width: 14.2px;
  height: 16px;
}

/* Icône bouton Doctolib */
.bouton-doctolib::after {
  content: '';
  background: url(https://vnh.5e5.myftpupload.com/wp-content/uploads/2026/03/logo-doctolib-blanc.png);
  background-size: 113.28px 28.8px;
  display: block;
  width: 113.28px;
  height: 28.8px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  transition: background 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.bouton-doctolib.bouton-vert:hover::after {
  background: url(https://vnh.5e5.myftpupload.com/wp-content/uploads/2026/03/logo-doctolib-vert.png);
  background-size: 113.28px 28.8px;
  width: 113.28px;
  height: 28.8px;
}

.bouton-doctolib.bouton-marron:hover::after {
  background: url(https://vnh.5e5.myftpupload.com/wp-content/uploads/2026/03/logo-doctolib-marron.png);
  background-size: 113.28px 28.8px;
  width: 113.28px;
  height: 28.8px;
}

.bouton-doctolib.bouton-noir:hover::after {
  background: url(https://vnh.5e5.myftpupload.com/wp-content/uploads/2026/03/logo-doctolib-noir.png);
  background-size: 113.28px 28.8px;
  width: 113.28px;
  height: 28.8px;
}

/* Position portrait Margaux détouré */
#portrait-margaux .background-inner {
  background-position: 25% bottom !important;
}

@media (max-width: 959px) {
  #portrait-margaux .background-inner {
    background-size: auto 50%;
  }
}


/****************************/
/********** FOOTER **********/
/****************************/

/* Largeur de la zone de copyright */
@media (min-width: 960px) {
  .site-info {
    width: 85%;
  }
}

/* Signature La Web Kitchen */
.site-info .separateur-copyright {
  padding: 5px;
}

@media (min-width: 769px) {
  .site-info br {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-info .separateur-copyright {
    display: none;
  }
}