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

/*Fluidifier les animations css */
body{
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}


/*Fix : Image SVG incluse avec le module image*/
.icon-media {
	max-width: 100%;
}

.icon-expand .icon-box-content, .icon-expand .icon-box-icon {
	width: auto;
}

/*Fix : On centre les carousels quand il n'y a pas asser d'item pour que ça prenne tout la larrgeur du site*/
.owl-stage {
	margin-left: auto;
	margin-right: auto;
}

/*Champs "Date a efficher" dans les listages*/
.t-entry div[class*="display_date"]{
	display: block;
	font-size: 12px;
	font-weight: 600;
}

/*Copyright area reduce padding*/
footer .footer-center {
	padding-top: 36px;
	padding-bottom: 36px;
}

/*Hauteur de linge des sous texte des header*/
.text-lead, .text-lead > * {
	line-height: normal;
}

/*On ne veut pas réduire la traille des boutons sous mobile*/
.btn:not(input):not(.checkout-button), .btn-link:not(input):not(.checkout-button) {
	transform: none;
}

/*contact form 7 acceptanece*/
.wpcf7-acceptance span.wpcf7-list-item span.wpcf7-list-item-label {
	cursor: pointer;
	line-height: normal;
	display: block;
	padding: 0;
}

.style-light form p,
.style-dark form p{
	color: inherit;
}

.wpcf7-acceptance span.wpcf7-list-item label {
	display: inline-flex;
}

[class*=font-weight] strong {
	font-weight: inherit;
}

@media (max-width: 570px){

	.no-padding-mobile > .uncol > .uncoltable > .uncell{
		padding: 0!important;
	}

	.no-padding-top-bottom-mobile > .uncol > .uncoltable > .uncell{
		padding-top: 0!important;
		padding-bottom: 0!important;
	}

	.no-padding-left-right-mobile > .uncol > .uncoltable > .uncell{
		padding-left: 0!important;
		padding-right: 0!important;
	}

}

@media (min-width: 570px) and (max-width: 960px){

	.no-padding-tablet > .uncol > .uncoltable > .uncell{
		padding: 0!important;
	}

	.no-padding-top-bottom-tablet > .uncol > .uncoltable > .uncell{
		padding-top: 0!important;
		padding-bottom: 0!important;
	}

	.no-padding-left-right-tablet > .uncol > .uncoltable > .uncell{
		padding-left: 0!important;
		padding-right: 0!important;
	}

}


/* FIXED TOOLTIP */
.sticky-slider {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  font-size: 0.8em;
  z-index: 100;
}

/* SMALL SIZE TOOLTIP */
.bubble-wrapper {
  background-color: #fff;
  border-radius: 50%;
  left: -0.3em;
}
.single-media-link-bubble {
  height: 45px !important;
  width: 45px !important;
  color: #c02678;
  display: flex !important;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
  position: relative;
  z-index: 102;
}

.single-media-link-bubble > span {
  font-family: Varela round;
  color: #c02678;
  font-weight: bold;
  font-size: 0.8em;
}

.bubble-bg:after {
  content: url(/wp-content/uploads/2023/03/token3.svg);
  display: block;
  position: absolute;
  top: -6.5px;
  left: -8.5px;
}

/* FULL SIZE TOOLTIP */
@media only screen and (min-width: 768px) {
  .sticky-slider {
    position: fixed;
    bottom: 3rem;
    left: 4rem;
    font-size: 1rem;
    z-index: 100;
  }
  .bubble-wrapper {
    left: -0.2em;
  }
  .single-media-link-bubble {
    height: 66px !important;
    width: 66px !important;
  }

  .bubble-bg:after {
    content: url(/wp-content/uploads/2023/03/token2.svg);
    display: block;
    position: absolute;
    top: -6.5px;
    left: -8.5px;
    animation-name: rotateCircleInverse;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
  }

  .bubble-bg:hover:after {
    animation-name: rotateCircle;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
  }

  /* START TOOLTIP STYLES */
  [tooltip] {
    position: relative;
  }

  /* Applies to all tooltips */
  [tooltip]::before,
  [tooltip]::after {
    text-transform: none; /* opinion 2 */
    font-size: 0.9em; /* opinion 3 */
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
    font-weight: 400 !important;
  }
  [tooltip]::before {
    content: "";
    border: 5px solid transparent;
    z-index: 1001;
    color: #c02678;
  }
  [tooltip]::after {
    content: attr(tooltip); 
    font-family: Roboto, sans-serif;
    text-align: center;

    /* 
    Let the content set the size of the tooltips 
    but this will also keep them from being obnoxious
    */
    min-width: 3em;
    max-width: 21em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1ch 1.5ch;
    border-radius: 0.3ch;
    box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
    background: #c02678;
    color: #fff;
    z-index: 1000;
  }

  /* Make the tooltips respond to hover */
  [tooltip]:hover::before,
  [tooltip]:hover::after {
    display: block;
  }

  /* don't show empty tooltips */
  [tooltip=""]::before,
  [tooltip=""]::after {
    display: none !important;
  }
  /* FLOW: RIGHT */
  [tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #c02678;
    right: calc(-22px - 5px);
    transform: translate(0.5em, -50%);
  }
  [tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 27px);
    transform: translate(0.5em, -50%);
  }

  @keyframes tooltips-horz {
    to {
      opacity: 0.9;
      transform: translate(0, -50%);
    }
  }

  [tooltip][flow^="left"]:hover::before,
  [tooltip][flow^="left"]:hover::after,
  [tooltip][flow^="right"]:hover::before,
  [tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
  }
}
  		
