/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/

:root {}


/**********************
******** GENERAL *********
**********************/

a:focus,
a:visited,
a:active {
    outline: none;
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
}

h1 {
    color: #fff;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 30px;
    line-height: 1.2em;
    font-weight: bold;
}

h2 {
    color: #fff;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 18px;
    line-height: 1.2em;
    font-weight: 400;
}

.single-portfolio .custom-singular-template {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.single-portfolio .custom-singular-template:after {
    display: none;
}


/**********************
******** SCROLLBAR *********
**********************/

::-webkit-scrollbar {
    width: 5px;
}

 ::-webkit-scrollbar-track {
    background: #786e6e;
}

 ::-webkit-scrollbar-thumb {
    background: #fff;
}

 ::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/**********************
******** SLIDER / CURSEUR *********
**********************/

input[type="range"] {
    position: relative;
    -webkit-appearance: none;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 19px;
    margin-bottom: 30px;
    outline: none;
    background: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: #786e6e;
}

input[type="range"]::before {
    position: absolute;
    content: "";
    top: 8px;
    left: 0;
    width: var(--seek-before-width);
    height: 3px;
    background-color: #fff;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    position: relative;
    -webkit-appearance: none;
    box-sizing: content-box;
    border: 1px solid #786e6e;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    margin: -7px 0 0 0;
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.2);
    background: #fff;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: #786e6e;
}

input[type="range"]::-moz-range-progress {
    background-color: #fff;
}

input[type="range"]::-moz-focus-outer {
    border: 0;
}

input[type="range"]::-moz-range-thumb {
    box-sizing: content-box;
    border: 1px solid #786e6e;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.2);
    background: #fff;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: transparent;
    border: solid transparent;
    color: transparent;
}

input[type="range"]::-ms-fill-lower {
    background-color: #786e6e;
}

input[type="range"]::-ms-fill-upper {
    background: #fff;
}

input[type="range"]::-ms-thumb {
    box-sizing: content-box;
    border: 1px solid #786e6e;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

input[type="range"]:active::-ms-thumb {
    transform: scale(1.2);
    background: #fff;
}


/**********************
******** TOP *********
**********************/

#template-portfolio-top .vcex-image-inner {
    width: 250px;
    max-width: 45%;
}

#template-portfolio-middle {
    text-align: center;
}


/**********************
******** MIDDLE *********
**********************/

#template-portfolio-middle #play-icon {
    width: 100px;
    height: 100px;
    margin: 100px 50px 50px 50px;
    padding: 0;
    outline: none;
    background: none;
	opacity: 0.7
}

#template-portfolio-middle #play-icon img {
    width: 100%;
    height: auto;
    display: block;
}

#template-portfolio-middle #play-icon.play-status img:nth-child(1) {
    display: block;
}

#template-portfolio-middle #play-icon.play-status img:nth-child(2) {
    display: none;
}

#template-portfolio-middle #play-icon.pause-status img:nth-child(1) {
    display: none;
}

#template-portfolio-middle #play-icon.pause-status img:nth-child(2) {
    display: block;
}


/**********************
******** BOTTOM *********
**********************/

#template-portfolio-bottom #audio-player-container {
    --seek-before-width: 0%;
    --volume-before-width: 100%;
    --buffered-width: 0%;
    position: relative;
    width: 100%;
}

#template-portfolio-bottom #audio-player-container path {
    stroke: #007db5;
}

#template-portfolio-bottom #audio-player-container .time {
    font-size: 18px;
    float: left;
}

#template-portfolio-bottom #audio-player-container .infos-link {
    float: right;
}

#template-portfolio-bottom #audio-player-container .infos-link a {
    display: inline-block;
    background: transparent url(img/information.svg) center center no-repeat;
    background-size: 100% 100%;
    width: 35px;
    height: 35px;
}


/**********************
******** WPML *********
**********************/

.wpml-ls {
    margin-top: 10px;
    text-align: center;
}

.wpml-ls a {
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0.50
}

.wpml-ls .wpml-ls-first-item.wpml-ls-last-item {
    display: none;
}

.wpml-ls .wpml-ls-current-language a {
    opacity: 1;
}


/**********************
******** POPUP *********
**********************/

#template-portfolio-popup,
#template-playlist-popup {
    max-width: 95%;
    width: 600px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 30px;
    color: #fff;
}

#template-portfolio-popup .template-portfolio-popup_titre,
#template-playlist-popup .template-playlist-popup_titre {
    color: #fff;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-size: 30px;
    line-height: 1em;
    font-weight: bold;
}

#template-portfolio-popup .template-portfolio-popup_sous-titre,
#template-playlist-popup .template-playlist-popup_sous-titre {
    color: #fff;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 22px;
    line-height: 1.2em;
    font-weight: 200;
}

#template-portfolio-popup .vcex-divider,
#template-playlist-popup .vcex-divider {
    border-color: var(--couleur-marque);
    margin-bottom: 20px;
}

#template-portfolio-popup .template-portfolio-popup_texte,
#template-playlist-popup .template-playlist-popup_texte {
    max-height: 50vh;
    overflow: auto;
    padding-right: 10px;
    font-size: 15px;
}

#template-portfolio-popup .template-portfolio-popup_texte img,
#template-playlist-popup .template-playlist-popup_texte img {
    margin-top: 10px;
}


/**********************
******** PLAYLIST AUDIOIGNITER *********
**********************/

.ai-modal{
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	border-radius: 30px;
	width: 600px;
	max-width: 95%;
}

.ai-modal-overlay{
	background-color: rgba(30, 30, 30, 0.95);
}

.ai-modal-content{
	padding-bottom: 40px
}

.ai-wrap {
    padding: 0;
    background: #fff;
    color: #000;
}

.ai-wrap .ai-control-wrap {
    min-height: auto;
    background-color: #f7f5ee;
    padding: 15px 30px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.ai-wrap .ai-track:hover, .ai-wrap .ai-track.ai-track-active {
	background-color: black;
}

.ai-wrap .ai-tracklist-wrap {
    margin-top: 0;
}

.ai-wrap .ai-audio-control,
.ai-wrap .ai-audio-control:hover {
    background-color: var(--couleur-marque) !important;
    color: #000
}

.ai-wrap .ai-track-progress-bar {
    height: 10px;
}

.ai-wrap .ai-track-progress-bar .ai-track-progress {
    background-color: var(--couleur-marque);
}

.ai-wrap .ai-audio-controls-meta {
    display: none;
}

.ai-wrap .ai-scroll-wrap {
    height: auto !important;
}

.ai-wrap .ai-scroll-wrap>div {
    position: relative !important;
    overflow: auto !important;
	margin-left: 0!important;
	margin-right: 0!important
}

.ai-wrap .ai-scroll-wrap .ai-tracklist {
    margin-right: 0;
}

.ai-wrap .ai-track {
    height: auto !important;
}

.ai-wrap .ai-track:hover {
    color: #000;
}

.ai-wrap .ai-track-control {
    background: #fff;
    border-bottom: 1px solid #000;
    padding-top: 15px;
    padding-bottom: 15px;
}

.ai-wrap .ai-track-active .ai-track-control {
    background: #fff;
    color: var(--couleur-marque);
}

.ai-wrap .ai-track-active .ai-track-control .ai-track-name{
	font-weight: bold !important;
}

.ai-wrap .ai-track-name {
    font-size: 16px !important;
    padding-left: 30px;
}

.ai-track-info {
    text-align: left;
}


/**********************
******** TEMPLATE PLAYLIST *********
**********************/


/***** + REMPLAER "portfolio" dans les nom des classe du template ***/

.playlist-template-default h1,
.playlist-template-default h2 {
    color: #000;
}

.playlist-template-default .infos-link {
    text-align: right;
}

.playlist-template-default .infos-link a {
    display: inline-block;
    background: transparent url(img/information-playlist.svg) center center no-repeat;
    background-size: 100% 100%;
    width: 35px;
    height: 35px;
}

.playlist-template-default .wpml-ls {
    margin-top: 0px;
    text-align: center;
}