/* OUTILS
__________________________________________________________________________*/

.radio-select {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    max-width: 260px;
    margin:auto;
}

.radio-select label {
    display: inline-block;
    aspect-ratio: 1;
    width: calc(33% - (var(--space-2) * 2));
    text-align: center;
    cursor: pointer;
    margin: var(--space-2) calc(var(--space-2) + 0%);
    padding: var(--space-1);
    background: var(--gris-l1);
    color: var(--gris-f2);
    border-radius: var(--arrondis-2);
    font-size: var(--font-size-1);
    font-weight: bold;
    border: white 1px solid;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    border-left-color: rgba(163, 163, 163, 0.5);
    border-top-color: rgba(255, 255, 255, 0.823);
    border-right-color: rgba(163, 163, 163, 0.5);
    transition: var(--transition);
    background: linear-gradient(45deg, var(--bleu) 0%, var(--cyan) 45%, var(--gris) 55%, var(--gris-l1) 100%);
    background-size: 340%;
    background-position: 99%;
    box-shadow: var(--ombre);
}

.radio-select.fili-style {
    max-width: 100%;
}
.radio-select.format label,
.radio-select.fili-style label {
    width: 90px;
}
.radio-select.fili-position {
    max-width: 380px;
}
.radio-select.fili-position label {
    width: 65px;
}

.radio-select label:hover {
    background-position: 1%;
    color: white;
    transform: translateY(-3px) scale(1.05);
}

.radio-select input[type="radio"]:checked+label {
    background-position: 1%;
    color: white;
}

.radio-select input[type="radio"] {
    display: none;
}
.radio-select input[type="radio"]+label img {   
    transition: var(--transition); 
}
.radio-select input[type="radio"]:checked+label img {
    filter: saturate(1) contrast(3) brightness(1) invert(1) hue-rotate(180deg);
    transition: var(--transition);
}



/* CALAGE SPECIFIQUE
__________________________________________________________________________*/


html #t-demo {
    opacity: 0;
}


html body #screen {
    height: auto;
    aspect-ratio: 9 / 16;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background : linear-gradient(45deg, var(--bleu-l1), var(--bleu-f1));
    transition: var(--transition);
}

html body #export::before, 
html body #export::after,
html body #export.ratio-reels::before{
    content:"";
    display: block;
    width: 100%;
    height:2px;
    background: rgb(0 0 0 / 40%);
    position: absolute;
    top: 22%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
    transition: var(--transition);
}

html body #export::after,
html body #export.ratio-reels::after {
    top:78%;
}

html body #export.ratio-carre::before {
    top: -2%;
}

html body #export.ratio-carre::after {
    top:102%;
}



#aremplacer {
    position: absolute;
    top: inherit;
    left: inherit;
    bottom: inherit;
    right: inherit;
    display: block;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: visible;
}


html #t-fond {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    opacity: 1;
}

html #t-fond-cache {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
    max-width: none;
    z-index: 3;
    opacity: 1;
}

#t-ombre img {
    position: absolute;
    top: 0;
    left: 3.8%;
    height: 72%;
    width: 91.8%;
    z-index: 5;
    object-fit: initial;
    max-width: none;
    transform: scale(1.2);
}





/* PLACEMENT IMAGE_______________________________
_________________________________________________*/

#aremplacer .t-image, 
#aremplacer .t-image-move {
    position: absolute;
    top: -273px;
    left: 0;
    right: 0;
    bottom: -273px;
    overflow: hidden;
    z-index: 2;
    transition: var(--transition);
}
.ratio-carre #aremplacer .t-image, 
.ratio-carre #aremplacer .t-image-move {
    top: 0px;
    bottom: 0px;
}

#aremplacer .t-image-move {
    z-index: 200;
}

/* ---------------------- Photo */

html .t-image-photo,
html .t-image-photo-move {
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

html #t-photo-1,
html #t-photo-1-move {
    min-height: 100%;
    min-width: auto;
    height: 100%;
    width: auto;
    object-fit: initial;
    max-width: none;
    position: relative;
}

html #t-photo-1-move {
    z-index: 200;
    opacity: 0;
    cursor: grab;
}
html #t-photo-1-move:active,
html #t-photo-1-move:focus,
html #t-photo-1-move:target {
    cursor: grabbing;
}

/* ---------------------- Picto 

html .t-image-picto {
    display: flex;
    width: 100%;
    max-width: auto;
    height: 100%;
    max-width: none;
    position: relative;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding-left: 30% !important;
    padding-bottom: 16% !important;
}

/* ---------------------- Illustration */

html .t-image-illustration,
html .t-image-illustration-move {
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 101%;
    width: 100%;
}

html #t-illustration-1-png,
html #t-illustration-1-png-move {
    min-height: 100%;
    min-width: auto;
    height: 100%;
    width: auto;
    object-fit: initial;
    max-width: none;
    position: relative;
    top: 0!important;
}

html #t-illustration-1-charge {
    position: absolute;
    z-index: -1;
    width: 1600px;
}

html #t-illustration-1-charge svg {
    display: block;
    width: 1600px!important;
    height: auto;
}

html #t-illustration-1-png-move {
    z-index: 200;
    opacity: 0;
    cursor: grab;
}
html #t-illustration-1-png-move:focus,
html #t-illustration-1-png-move:active,
html #t-illustration-1-png-move:target {
    cursor: grabbing;
}
#t-image-photo-credit {
    color: white;
    display: flex;
    position: absolute;
    bottom: 319px;
    top: auto;
    right: 16px;
    left: auto;
    height: 1.2em;
    font-size: 1em;
    rotate: -90deg;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}




/* TEXT _______________________________
_________________________________________________*/

html #aremplacer #t-zone-text {
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    bottom: 0%;
    z-index: 9;
    padding: 8% 8.5%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    align-items: flex-start;
    overflow: hidden;
}

html #aremplacer #t-zone-text #texte_2 {
    font-size: 700%;
    line-height: 100%;
    font-weight: 800;
    color: var(--blanc);
    overflow: visible;
    vertical-align: middle;
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    margin-bottom: 0.05rem;
    text-shadow: -3px 3px 7px rgba(0,0,0,0.95);
    text-transform: uppercase;
}
html #aremplacer #t-zone-text #texte_2 * {
    font-family: "Fira Sans Condensed", sans-serif !important;
}
html #aremplacer #t-zone-text #texte_2 p strong {
    font-weight: 900;
}

html #aremplacer #t-zone-text #texte_3 {
    font-size: 394%;
    line-height: 105%;
    font-weight: 400;
    color: var(--blanc);
    overflow: visible;
    vertical-align: middle;
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    text-shadow: -3px 3px 7px rgba(0,0,0,0.95);
}
html #aremplacer #t-zone-text #texte_3 * {
    font-family: "Fira Sans Condensed", sans-serif !important;
}






/* LOGO _______________________________
_________________________________________________*/


#aremplacer .logo #pastille {
    left: 19px;
    top: 18%;
    position: absolute;
    width: 28px;
}

.taille-min {
    min-height: 19%;
    display: flex;
}

html #aremplacer .contient-texte-nom {
    height: 10.5%;
    width: 90%;
    font-size: 100%;
    line-height: 140%;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    color: white;
    position: absolute;
    bottom: 27px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

html #aremplacer .texte-societe,
.texte-societe-l2 {
    font-size: 95% !important;
    font-weight: 400 !important;
    color: white;
}





/* MIF SURIMPRESSION _______________________________
_________________________________________________*/


.t-impri-image{
    display:block; 
    height: 0;
    overflow:visible;
    position: relative;
    z-index:1000;
}
.t-impri-image img {
    overflow: visible;
    z-index: 1000;
    position: absolute;
}

img#t-impri-logo-move {
    width: 40%;
    top: 45px;
    left: 45px;
}

img#t-impri-local-move {
    width: 12%;
    left: 295px;
    top: 77px;
}

.radio-select input[type="checkbox"]:checked+label {
    background-position: 1%;
    color: white;
}