/*
Theme Name: Dating site 
Theme URI: 
Author: Arnaud B.
Author URI: 
Description: Thème d'annonces dating & tel rose, avec Numtour & Email DB.
Version: 2.0
License: Toute reproduction interdite
License URI: 
Text Domain: DZ

Text Domain: 

*/





:root {
 

    --background_color:#f5f5f5;
    --background_color_rgb:245 245 245;

    --title_color:#000000;
    --text_color:#111111;

    --header_background:#111111;
    --header_text:#ffffff;

    --third_color: #e0e0e0;
    --third_text_color: #111111;

    --frame_background_color: #ffffff;

    --footer_background:#000000;
    --couleur_footer: #000000;


    --main_width:1090px;


    --button_color_1: rgb(16, 125, 54);
    --button_color_2: rgb(0, 141, 49);
    --angle: 154deg;

    --button_text_color: #ffffff;
    
}












@font-face {
    font-family: 'roboto';
    src: url('fonts/roboto-medium-webfont.woff2') format('woff2'),
         url('fonts/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}






html, body {
    overflow: visible; /* important */

}

body {
    
    position:relative;
    width:100vw;
    max-height:100vh;
    margin:0;
    padding:0;

    background-color:var(--background_color);
    color:var(--text_color);
    font-display: auto;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;


}








a {

    color:inherit;
    text-decoration: none;

}



::-moz-selection {   background-color:#000000; color:#ffffff;}
::selection      {  background-color:#000000; color:#ffffff;}



.button_color {

    background: linear-gradient(var(--angle), var(--button_color_1), var(--button_color_2));
    color: var(--button_text_color) !important;

}

.button_color:hover {

    background: linear-gradient( calc(var(--angle) + 180deg), var(--button_color_1), var(--button_color_2) );

}



.main_width {

    width: var(--main_width) !important;

}







header {
	
    position:relative;
    top:0;
    display: block;
    z-index: 90;
    width: var(--main_width);
    padding:5px calc(50% - (var(--main_width) / 2));
    height:60px;
    max-height:60px;
    margin:0 0 30px 0;

    background:var(--header_background);
    color:var(--header_text); 

}


header::after {

    position: absolute;
    top:0;
    left:0;
    content:'';
    display: block; 
    width: 100%;
    height:100%;


    z-index: -2;



}






header .logo {


    position:relative;
    display:block;
    float:left !important;
    max-width: 250px;
    height: 60px !important;
    margin:0 10px 0 0;
    padding:0;
    overflow:hidden;

}


header .logo img {

    position: relative;
    display:block;
    width:auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;

}


header .infos {

    position: relative;
    display: block;
    float: left !important;
    max-width: 250px;

    display: flex;
    flex-direction: column; /* pour garder le lien + le texte en colonne */
    justify-content: center; /* centrage vertical */
    height: 50px;

} 



header .infos a {

    position: relative;
    display: block;
    margin: 5px 0 0 0;

    line-height: 30px;
    font-size: 20px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;


}

header .infos span {

    position: relative;
    display: block;
    margin:0;
    padding:0;

    line-height: 20px;
    font-size: 14px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: lighter;
    font-style: italic;
    opacity: 0.7;

}



 



header nav {

    position: relative;
    display: block;
    max-width:calc(100% - 550px);
    padding:0;
    margin:0;
    float:right;
    height: 100%;

}



header nav ul {

    position: relative;
    display: block;
    margin:0;
    padding:0;
    height: 100%;
    list-style: none;

}





header nav ul li {

    position: relative;
    display: block;
    float:left;
    margin:0 30px 0 0;
    padding:0 !important;
    height: 100%;

}


header nav ul li:last-of-type {

    margin:0;

}


header nav li a {

    display: inline-flex;  
    margin:0;
    padding: 0;
    height:100%;
    align-items: center;
    justify-content: center;
    max-height: 100%;

}


header nav li img {

    position: relative;
    display: inline-block;
    max-width: 20px;
    height: 20px;
    margin:0 5px 0 0;
    padding:0;
    top:0;

}







/* =========================
   SUBMENU
========================= */


header nav ul li ul {

    position: absolute;
    display: block;
    width: 240px;
    margin: 0;
    padding: 6px;

    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);


    height:auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    list-style: none;


    background:var(--header_background) !important;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgb(255 255 255 / .08);
    border-radius: 10px;

    box-shadow:
        0 10px 30px rgb(0 0 0 / .18);

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;

    z-index: 91;

    
}







/* hover bridge */

header nav > ul > li::after {

    content: "";

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;
    height: 12px;
}

/* apparition */

header nav ul li:hover > ul {

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}

/* =========================
   VRAIE FLECHE
========================= */

header nav ul li ul::before {

    content: "";

    position: absolute;

    top: -6px;
    left: 50%;

    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgb(var(--header_bg_rgb) / .82);
}

/* =========================
   ITEMS
========================= */


header nav ul li ul li {

    position: relative;
    display: block;
    margin:0 !important;
    padding:0;
    width: 100%;

}




/* liens */

header nav ul li ul li a {

    display: inline-block;
    gap: 10px;
    width: auto !important;
    box-sizing: border-box;

    padding: 9px 12px;

    min-height: unset;
    height: auto;

    border-radius: 10px;


    text-decoration: none;
    color: var(--header_text);
    -webkit-text-fill-color: var(--header_text);


    transition:
        background .15s ease,
        transform .15s ease;
}

/* hover */

header nav ul li ul li a:hover {

    background: rgb(255 255 255 / .08);
    transform: translateX(2px);

}

/* icones */

header nav ul li ul li a img {

    width: 16px;
    height: 16px;

    flex-shrink: 0;
    object-fit: contain;
}

/* =========================
   EDGE FIX
========================= */

header nav > ul > li:last-child ul,
header nav > ul > li:nth-last-child(2) ul {

    left: auto;
    right: 0;

    transform: translateY(6px);
}

header nav > ul > li:last-child:hover ul,
header nav > ul > li:nth-last-child(2):hover ul {

    transform: translateY(0);
}





















header .menu_button {

    position: absolute;
    display: block;
    right: 5%;
    top:5px;
    width: 40px;
    height:40px;
    margin:10px 0;

    line-height:40px;
    font-size: 40px;
    cursor: pointer;

    background-color: var(--header_text);
    
    -webkit-mask: url('img/menu.svg') no-repeat 50% 50%;
    mask: url('img/menu.svg') no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;

}






.mask {

    position: fixed;
    display: none;
    width: 100vw;
    height:100vh;
    margin:0;
    padding: 0;
    top:0;
    left: 0;
    z-index: 97;

    background-color: rgba(0,0,0,0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: all 500ms; 

}











/* TRANSPARENT HEADER */

 

header.transparent {
      
    background: rgb(var(--background_color_rgb) / 0.9) !important;
    color:var(--text_color) !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

}



header.transparent nav ul li ul {

    background: rgb(var(--background_color_rgb) / 0.9) !important;

}

header nav ul li ul li a {
    color:var(--text_color) !important;
}


header.transparent .menu_button {

    background-color:var(--text_color) !important;

}











/* CENTERED HEADER */



header.centered {

    text-align: center;
    height:auto;
    max-height:none;
    width: 100%;
    padding:5px 0 0 0 !important;


}

header.centered .logo {

    float: none !important;
    display: inline-block;
    margin:auto;


}



header.centered .infos {

    float: none !important;
    width: 100%;
    max-width: 100%;
    display: inline-block;
    margin:auto;
    height:30px;

}





header.centered .infos a,
header.centered .infos span {

    display: inline-block;
    margin:0 5px;
    padding:0;
    vertical-align: top;

    line-height: 30px;
    font-size: 14px;

}







header.centered nav {

    float: none !important;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    padding:0 calc(50% - (var(--main_width) / 2));
    box-sizing: border-box;
    height: 40px;


}



header.centered nav ul li {

    display: inline-block;
    float:none !important;
    margin:0 15px;
    padding:0 !important;
    height: 100%;

}


/* END CENTERED HEADER */





header.appears {

    position: fixed;
    top:-300px;    

}




body:has(header.appears) {

    background-color: red !important;
}






/* BREADCRUMBS */ 


.breadcrumbs {

    position: relative;
    display: block;
    margin: 0 auto 10px auto;
    padding:0;
    width: 100%;

}


.breadcrumbs ul {

    position: relative;
    display: block;
    width: 100%;
    margin:0 auto;
    padding:0;
    list-style: none;
    overflow: hidden;

    text-align: left;

    
}


.breadcrumbs li {

    position: relative;
    display: block;
    float: left;
    margin:0 10px 0 0;
    padding:0;

    line-height: 20px;
    font-size: 14px;
    font-weight: lighter ;
    opacity: 0.75;

}

.breadcrumbs li a {

    position: relative;
    display: inline-block;
    margin:0 10px 0 0;
    padding:0;

}








/* MAIN */


main {

    position: relative;
    display:block;
    width: var(--main_width);
    padding:0;
    box-sizing: border-box;
    margin: 0 auto 50px auto;
    max-width: 90%;

}





 
h1,
h2 {

    position: relative;
    display:block;
    margin:0 0 20px 0;
    padding:0;

    line-height: 22px;
    font-size: 20px;
    overflow: visible;

    color:var(--title_color);

}









h1::after,
h2::after {

    position: absolute;
    display: block;
    content: "";
    width: 66px;
    height:3px;
    margin:0;
    bottom:-8px;

    background-color: var(--third_color);

}





section {

    position: relative;
    display: block;
    margin:0 auto 20px auto;
    padding: 0;

}


section .text {

    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    padding:0;
    margin:0 auto;

    overflow: hidden;
    transition: all 1000ms;

    line-height: 22px;
    font-size: 14px;

}



section .text p {

    position: relative;
    display: block;
    margin:0 0 10px 0;
    padding: 0;

}


section .text a {

    text-decoration: underline;

}


section .text img {

    max-width: 100%;
    height:auto;

}





button.toggle_text {

    position: relative;
    display: inline-block;
    padding: 5px 20px;
    margin:0px auto 20px auto !important;

    background-color: var(--third_color);
    color:var(--text_color);

    cursor: pointer;
    border:0;
    border-radius: 4px;
    line-height: 20px;
    font-size: 12px;


}






section.DZ__main .DZ__structure_title {

    position: relative;
    text-transform: uppercase;
    font-weight: normal;

}


section.DZ__main .DZ__structure_title:before {

    position: absolute;
    display: inline-block;
    content: '';
    top:3px;
    left:-22px;
    width: 14px;
    height: 14px;
    margin:0;

    background-color: var(--text_color);  
    
    -webkit-mask: url('img/location.svg') no-repeat 50% 50%;
    mask: url('img/location.svg') no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover; 
    

}


section.DZ__main .DZ__structure_title:after {

    position: relative;
    display: block;
    content: "";
    width: 60px;
    height:2px;
    margin: 10px 0 20px 0;

    background-color: var(--third_color);

}

 
section.DZ__main .DZ__structure {

    position: relative;
    display:grid;
    grid-template-columns: 18% 18% 18% 18% 18%;
    grid-column-gap: 2.5%;
    grid-row-gap: 10px;
    
    list-style: none;
    margin:20px auto 60px auto;
    padding:0;

    

}








/* SINGLE */


article.profile {

    position: relative;
    display:grid;
    grid-template-columns: 350px calc(100% - 410px);
    grid-column-gap: 60px;
    grid-row-gap:0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin: 0 auto 40px auto;
   
   /*
    background: var(--frame_background_color);
    border-radius: 7px;
    */

}





article.profile h1 {

    position: relative;
    display: block;
    margin:0 auto 25px auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;

    grid-row: 1 / 2 ;                       
    grid-column: 2 / 3;
    
    line-height: 28px;
    font-size: 22px;

    font-family: 'roboto';
    font-weight: normal;

}





article.profile .photo {

    position: relative;
    display: block;
    margin:0 auto;
    width: 100%;
    padding:0;
    
    grid-row: 1 / 3;                
    grid-column: 1 / 2; 

}


article.profile .photo div {
    
    position: sticky;
    display: block;
    margin: 0;
    padding: 0;
    top:30px;
    
}

 
article.profile .photo img {

    position: relative;
    display: block;
    margin:0 auto 20px auto;
    max-width: 100%;
    height:auto;

    border-radius: 10px;
    -webkit-box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.1); 
    box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.1);

}



article.profile .photo .default {

    position: relative;
    display: block;
    width: 100% !important;
    height: 350px !important;
    background-color: var(--third_color);
    border-radius: 10px;
    margin:0 0 25px 0;

}


article.profile .photo .default:after {

    position: absolute;
    display: block;
    content:'';

    width: 80px;
    height: 80px;
    top:calc(50% - 40px);
    left:calc(50% - 40px);
    background-color: var(--text_color);
    opacity: 0.75;
    
    -webkit-mask: url('img/user.svg') no-repeat 50% 50%;
    mask: url('img/user.svg') no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;

}




article.profile .photo .form_button {

    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;

}

article.profile .form_button {

    margin:10px auto 40px;
    line-height: 40px;
    border-radius: 25px;
    

}







 





article.profile .content {

    position: relative;
    display: block;
    width: 100%;
    margin:auto;
    padding:0;
    box-sizing: border-box;

    grid-row: 2 / 3;                
    grid-column: 2 / 2; 

}



article.profile .content .infos {

    position: relative;
    display: block;
    margin:0 auto 15px auto;
    padding:0;

}



article.profile .content .infos .user,
article.profile .content .infos .location,
article.profile .content .infos .category {

    position: relative;
    display: inline-block;
    margin:0 15px 10px 0;
    padding: 5px 20px;
    line-height: 20px;

    background-color: var(--third_color);
    color:var(--third_text_color);
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold !important;

}




article.profile .content .infos .user::before,
article.profile .content .infos .location::before,
article.profile .content .infos .category::before {
    
    position: relative;
    display: inline-block;
    content:'';

    width: 16px;
    height: 16px;
    top:3px;
    margin:0 7px 0 0;
    background-color: var(--third_text_color);

    opacity: 0.75;

    -webkit-mask-size: cover;
    mask-size: cover;


}











.content blockquote {

    position: relative; 
    display: block;
    margin:0 auto 20px auto;
    padding:0;
    width: 100%;
    overflow: visible;


    font-size: 22px;
    font-weight: bold;
    text-align: center;

}




.profile .content p {

    position: relative;
    display: block;
    margin:0 0 5px 0;
    padding:0;

    line-height: 22px;
    font-size: 14px;

}




.profile .content a {

    text-decoration: underline;

}














/* LOOP */


h2.posts_title {

    position: relative;
    display: block;
    margin:0 auto 20px auto;
    padding:0;
    width: 100%;

    line-height: 20px;
    font-size: 18px;


}





section.profiles {

    position: relative;
    display: block;
    margin:0;
    padding: 0;
    z-index: 1;
    overflow: visible;

}



ul.profiles {

    position: relative;
    list-style: none;
    display: grid;
    grid-template-columns: 350px 350px 350px;
    grid-column-gap: 20px;
    grid-row-gap: 0;
    z-index: 1;


    width: 100%;
    max-width:100%;
    padding:0;
    margin:20px auto 10px auto;
    overflow: visible;


}









.ZIP_frame_mask {


    position: absolute;
    display: relative;
    padding: 0;
    margin:0;
    width: calc( 100% + 10px );
    height: calc( 100% + 10px );
    z-index: 80;
    top:-5px;
    bottom: 0;
    left:-5px;
    right:-5px;
 

    background: rgba(255,255,255,0.5);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);


}





.ZIP_frame {

    position: sticky;
    display: block;
    top:50px;
    margin:50px auto;
    width: 500px;
    max-width: 90%;
    padding:20px;
    box-sizing: border-box;
    z-index: 9999999;



    border-radius: 10px;
    background-color: var(--background_color);
    color:var(--title_color);
    border:2px solid var(--background_color);
    text-align: center;
        
    -webkit-box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.5); 
    box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.5);


}



.ZIP_frame label {

    position: relative;
    display: block;
    margin:0 0 5px 0;
    padding: 0;

    line-height: 30px;
    font-size: 20px;
    font-weight: bold;

}



.ZIP_frame input {

    position: relative;
    display: block;
    margin:10px auto;
    padding:5px 10px;
    box-sizing: border-box;
    width: 200px;
    max-width: 100%;

    line-height: 30px;
    font-size: 22px;
    text-align: center;
    font-weight: bold;
    border: 1px solid var(--text_color);
    background-color: var(--background_color);
    color:var(--title_color);
    outline: none;

}


.ZIP_frame button {

    position: relative;
    display: block;
    width: 200px;
    margin:5px auto;

    color:#ffffff;
    border:0;
    cursor: pointer;
    line-height: 30px;
    font-size: 22px;

}











ul.profiles li.profile_loop {

    position: relative;
    display: block;
    top:0;
    width:100%;
    overflow: hidden;
    padding:0;
    margin:0 0 30px 0;
    
    background-color: var(--frame_background_color);
    border-radius: 6px;
    
    -webkit-box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.05); 
    box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.05);
    transition: all 0.45s;


}
 

ul.profiles li.profile_loop:hover {

    top:-5px;
    -webkit-box-shadow: 0px 2px 4px 2px rgba(0,0,0,0.15); 
    box-shadow: 0px 3px 4px 3px rgba(0,0,0,0.15);

}




ul.profiles li.profile_loop .photo {

    position:relative;
    display: inline-flex;
    vertical-align: top;
    width: 100%;  
    margin: 0;
    padding: 0;
    overflow: hidden;

    align-items: center;
    justify-content: center;
    background-color: var(--third_color);

}



ul.profiles li.profile_loop .photo:after {
    
    position:relative;
    padding: 100% 0 0 0;  
    margin:0;
    display:block;
    content:'';
    overflow:hidden;

}



ul.profiles li.profile_loop .photo img {

    position:absolute;
    display:block;
    max-width:100%;
    max-height: 100%;
    height:auto;

    object-fit:cover;

    overflow: hidden;
    z-index: 10;
    transition: all 0.45s;

}


ul.profiles li.profile_loop:hover .photo img {

    transform: scale(1.05);

}







ul.profiles li.profile_loop .photo span.default {

    position: absolute;
    display: block;
    content:'';
    width: 60px;
    height: 60px;
    top:calc(50% - 30px);
    left:calc(50% - 30px);     
        
    -webkit-mask: url('img/user.svg') no-repeat 100% 100%;
    mask: url('img/user.svg') no-repeat 100% 100%;
    -webkit-mask-size: cover;
    mask-size: cover;

    background-color: var(--text_color);
    opacity: 0.75;

}









ul.profiles li.profile_loop .buttons {

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    margin:15px auto;
    padding:0 20px;

    /* si flex comme précedent => un par ligne */
    display: block;

}





ul.profiles li.profile_loop .buttons h3,
ul.profiles li.profile_loop .buttons .excerpt,
ul.profiles li.profile_loop .buttons .user,
ul.profiles li.profile_loop .buttons .location, 
ul.profiles li.profile_loop .buttons .category {

    position: relative;
    display: block;
    width: 100%;
    padding:0;
    margin: 0 auto 10px auto;
    
    box-sizing: border-box;

}



ul.profiles li.profile_loop .buttons h3 {

    display: flex;
    padding: 0;
    height: 40px;
    line-height: 20px;
    font-size: 16px;
    overflow: hidden;
    align-items: center;

    color:var(--title_color)

    /*justify-content: center; */
    
}


ul.profiles li.profile_loop .buttons h3 a {

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;

  }


ul.profiles li.profile_loop .buttons h3.enlarge {

    font-size: 20px;

}



ul.profiles li.profile_loop .buttons .excerpt {

    line-height: 14px;
    font-size: 12px;
    opacity: 0.6;

}



.post_link,
.form_button {

    position: relative;
    display: block;
    padding: 5px 20px;
    margin:5px auto;
    width: auto;
    width: 75%;
    max-width: 75%;
    box-sizing: border-box;
    
    border:0;
    cursor: pointer;
    color:#ffffff;
    line-height: 20px;
    font-size: 18px;
    border-radius: 15px;
    text-align: center;
    overflow: hidden;

}




 

ul.profiles li.profile_loop .buttons .user,
ul.profiles li.profile_loop .buttons .location,
ul.profiles li.profile_loop .buttons .category {

    padding: 0 15px 0 5px;
    margin-right: 10px !important;
    line-height: 22px;
    font-size: 14px;
    vertical-align: top;
    width: auto !important;
    display: inline-block !important;

    background-color: var(--third_color);
    color:var(--third_text_color);
    border-radius: 11px;

}




.post_link::before,
.form_button::before,
ul.profiles li.profile_loop .buttons .user::before,
ul.profiles li.profile_loop .buttons .location::before, 
ul.profiles li.profile_loop .buttons .category::before {


    position: relative;
    display: inline-block;
    content:'';
    z-index: 9;
    
    -webkit-mask-size: cover;
    mask-size: cover;

}



ul.profiles li.profile_loop .buttons .user::before,
ul.profiles li.profile_loop .buttons .location::before, 
ul.profiles li.profile_loop .buttons .category::before {


    width: 14px;
    height: 14px;
    top:2px;
    margin:0 5px;

    background-color: var(--third_text_color);

}


.post_link::before,
.form_button::before {

    width: 18px;
    height: 18px;
    top:3px;
    margin:0 7px 0 0;


    background-color: var(--button_text_color);

}



section.profiles.blured {

    margin-bottom: 40px;

}


ul.profiles li.profile_loop.blured {

    opacity:0.5;

}


ul.profiles li.profile_loop.blured:hover {

    top:0;

}




ul.profiles li.profile_loop.blured .photo img {

    filter: blur(20px);

} 


ul.profiles li.profile_loop.blured:hover .photo img {

    transform: none;

}

ul.profiles li.profile_loop.blured .buttons {

    filter: blur(10px);

}






ul.profiles .end {

    position: absolute;
    display: block;
    width: 100%;
    min-height: 150px;
    padding:200px 5% 50px 5%;
    left:-5%;
    bottom: 0;
    z-index: 81;
    margin:0;

    background: linear-gradient(
        to top,
        var(--background_color) 66%,
        transparent 100%
    );

    text-align: center;

}


ul.profiles .end p {

    position: relative;
    display: block;
    margin:20px auto;

    line-height: 30px;
    font-size: 22px;
    font-weight: bold;
}


ul.profiles .end .form_button {

    line-height: 30px;
    border-radius: 20px;
    width: 400px !important;
    max-width: 90% !important;

}











.user::before {

    -webkit-mask: url('img/user.svg') no-repeat 100% 100%;
    mask: url('img/user.svg') no-repeat 100% 100%;

}


.location::before {

    -webkit-mask: url('img/location.svg') no-repeat 100% 100%;
    mask: url('img/location.svg') no-repeat 100% 100%;

}

.category::before {

    -webkit-mask: url('img/category.svg') no-repeat 100% 100%;
    mask: url('img/category.svg') no-repeat 100% 100%;

}














button.more_profiles {

    position: relative;
    display: block;
    margin:0 auto 40px auto !important;
    padding:10px 30px;
        
    background-color: var(--third_color);
    color:var(--third_text_color);

    cursor: pointer;
    border:0;
    border-radius: 4px;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;

    
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.5); 
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.5);

}



.blured button.more_profiles {
    
    display: none;

}
















/* BUTTON */


.form_button::before {

    -webkit-mask: url('img/message.svg') no-repeat 100% 100%;
    mask: url('img/message.svg') no-repeat 100% 100%;

}

.post_link::before {

    -webkit-mask: url('img/magnifier.svg') no-repeat 100% 100%;
    mask: url('img/magnifier.svg') no-repeat 100% 100%;

}









.popup.email_form label {

    position: relative;
    display: block;
    width: 100%;
    margin:0 0 5px 0;
    padding:0;

}



.popup.email_form input {

    position: relative;
    display: inline-block;
    margin:0 auto 10px auto;
    padding:5px 10px;
    box-sizing: border-box;
    width: 90%;
    max-width: 90%;

    height: 50px;
    font-size: 16px;
    font-weight: bold;
    outline: none;
    border:1px solid #222222;
    text-align: center;

}



.popup.email_form button {

    position: relative;
    display:inline-block;
    box-sizing: border-box;
    height:40px;
    width:90%;
    vertical-align: top;
    margin:0 auto;

    border:0;
    cursor:pointer;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;


    
}





.DZ__display_more_ads {

    position: relative;
    display: inline-block;
    width: 300px;
    max-width: 100%;
    cursor: pointer;
    margin:20px auto 50px auto !important;
    padding:10px 20px;
    box-sizing: border-box;
    left:calc(50% - 150px);
        
    align-items: center;
    justify-content: center;

    background-color: var(--third_color);
        
    line-height: 20px;
    font-size: 16px;

    text-align: center;
    border-radius: 4px;
    font-weight: normal;

}






.DZ__set_location .DZ__ajax_action::after,
.DZ__display_more_ads::after,
.DZ__CTA::after 
{

    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 50%);
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0) 50%);
    opacity: 0.2;

}


.DZ__set_location .DZ__ajax_action:hover::after,
.DZ__display_more_ads:hover::after,
.DZ__CTA:hover::after 
 {

    background: linear-gradient(0deg, rgba(255,255,255,0) 50%, rgba(255,255,255,0.8) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,0) 50%, rgba(0,0,0,0.8) 100%);

}











.DZ__price {

    position: relative;
    display: block;
    margin:0 auto;
    padding:0;

    line-height: 20px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: lighter;
    opacity: 0.6 ;
    text-align: center;

}





















/* PAGE */

.page {

    position: relative;
    display:block;
    width: 1100px;
    max-width: 100%;
    padding: 20px 50px 40px 50px;
    box-sizing: border-box;
    margin: 50px auto 80px auto;

    background-color: var(--frame_background_color);
    border-radius: 6px;
   
    -webkit-box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.1); 
    box-shadow: 0px 1px 3px 1px rgba(0,0,0,0.1);

}


















.loader {

    position: absolute;
    top:calc(50% - 11px);
    left:calc(50% - 10px);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;  
    border-top: 2px solid var(--text_color); 
    border-radius: 50%;
    box-sizing: border-box;
    animation: spin 750ms linear infinite;
    overflow:hidden;
    margin:auto;
    padding:0;
    display:inline-block;
    
  
    -webkit-transition: opacity 333ms;
    -moz-transition: opacity 333ms;
    -o-transition: opacity 333ms;
    transition: opacity 333ms;

} 



@keyframes spin {
    
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  
}



.bounce {

    animation: popupPop 400ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;

}



@keyframes popupPop {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}





.closing {
    animation: popupClose 350ms cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes popupClose {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -48%) scale(.92);
        opacity: 0;
    }
}












.popup {

    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 500px;
    max-width: 90%;
    max-height: 90vh;
    padding: 25px 20px;
    box-sizing: border-box;

    background: var(--background_color);
    border: 2px solid var(--header_background);
    border-radius: 12px;
    text-align: center;
    overflow-y: auto;
    transform: translate(-50%, -50%) scale(.8);

    opacity: 0;
    z-index: 9999;
    overflow: visible;

    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.1);




    /* transition par défaut (utile pour fermer sans animation JS) */
}




.popup .close {

    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    z-index: 98;
    right: -15px;
    top: -15px;
    border-radius: 50%;

    background-color: var(--header_background);
    cursor: pointer;
    transition: all 500ms;

} 

.popup .close::before {

    position: absolute;
    display: block;
    content: '';
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    margin:0;

    background-color: #ffffff;  
    
    -webkit-mask: url('img/close.svg') no-repeat 50% 50%;
    mask: url('img/close.svg') no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover; 

}


.popup .close:hover {
    
    transform: rotate(90deg);

}







.popup h3 {

    position: relative;
    display: block;
    margin:0 0 15px 0;
    padding:0;

    line-height: 22px;
    font-size: 18px;
    color:var(--title_color)

}






 


.popup.menu {

    background-color: transparent !important ;
    border:0 solid transparent;
    
    -webkit-box-shadow: none; 
    box-shadow: none;
    color:#ffffff;
    text-align: left;


}


.popup.menu ul {

    position: relative;
    display: block;
    padding: 0;
    list-style: none;
    margin:0;
    width: 100%;
    box-sizing: border-box;

}

.popup.menu ul li {

    position: relative;
    display: block;
    margin:0 0 10px 0;
    padding:0;
    width: 100%;
    box-sizing: border-box;

    line-height: 30px;
    font-size: 20px;

}

.popup.menu ul li img {

    position: relative;
    display: inline-block;
    margin:0 5px 0 0;
    max-height: 20px;
    top:3px;

}


.popup.menu ul li ul {

    padding: 0 0 0 20px;

}














footer {
    
    position:relative;
    width:var(--main_width); 
    padding:30px calc(50% - (var(--main_width) / 2)) 0 calc(50% - (var(--main_width) / 2));
    margin:20px auto 0 auto;
    z-index: 90;
 
    background-color:var(--footer_background);
    text-align: center;
    line-height: 18px;
    font-size: 14px;
    color: #bbbbbb;

}


footer .widget {

    position:relative;
    display: block;
    width:100%;
    margin:0 0 20px 0;
    padding:0;

    text-align: inherit;
    
}

footer .widget h4 {
    
    position:relative;
    display: block;
    margin:0 0 10px 0;
    padding:0;
    
    color: #fff;
    
}


footer .widget p {

    position: relative;
    display: block;
    margin:0;
    padding:0;

}


footer .widget a {
    
    text-decoration: underline;

}



footer ul.pages {

    position: relative;
    display: block;
    padding: 0;
    list-style: none;
    width: 100%;
    max-width: 100%;

}

footer ul.pages li {

    position: relative;
    display: inline-block;
    margin:auto;
    padding:0 20px;

    border-width: 0 1px 0 0;
    box-sizing: border-box;
    border-style: solid;
    border-color: #2a273c;

}

footer ul.pages li:last-of-type {
    border:0;
    margin:0;
}


footer .copy {

    position: relative;
    display: block;
    margin:10px auto !important;
    padding:0;

    line-height: 30px;
    opacity: 0.5;

}



 





footer.columns {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
    padding-bottom: 3rem;

    text-align: left !important;

}

 

footer.columns > .copy {

    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;

}




footer.columns ul.pages li {

    width: 100%;
    margin:0 0 5px 0;
    padding:0;
    border:0;


}









@media all and (min-width:0px) and (max-width:1200px) {




    :root {
    
        --main_width:90%;
    
    }

        

    article.profile {

        position: relative;
        display:block;
        grid-template-columns: none;
        grid-column-gap: 0;
        width: 500px;

    }


    article.profile .form_button,
    ul.profiles .form_button,
    ul.profiles .post_link
    {

        width: 100%;
        max-width: 100%;

    }





    ul.profiles {
        
        display: block;
        grid-template-columns: none;
        grid-column-gap: 0;
        grid-row-gap: 0;

    }
    


}










@media all and (min-width: 900px ) and (max-width:1200px) {


    ul.profiles {

        display: grid;
        grid-template-columns: 32% 32% 32%;
        grid-column-gap:2%;


    }



}













@media all and (min-width: 800px ) and (max-width:900px) {


    ul.profiles {

        display: grid;
        grid-template-columns: 350px 350px;
        grid-column-gap: calc(100% - 700px);

    }


}





@media all and (min-width: 600px ) and (max-width:800px) {


    ul.profiles {

        display: grid;
        grid-template-columns: 48% 48%;
        grid-column-gap: 4%;

    }


}


























.hide {

    display: none !important;

}




















.edit_link {

    position: relative;
    display: inline-block;
    margin:20px auto;
    padding:5px 20px;
    line-height: 20px;


    background-color: red;
    color: #fff;
    border:0; 

}













 
 






/* PORTRAIT */



.portrait ul.profiles li.profile_loop .photo:after {
    
    padding: 150% 0 0 0;  

}


.portrait ul.profiles li.profile_loop .buttons {

    position: absolute;
    bottom: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin:auto;
    padding:40px 20px 20px 20px;
    box-sizing: border-box !important;


    /* si flex comme précedent => un par ligne */
    display: block;


    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);

}


.portrait ul.profiles li.profile_loop .buttons h3,
.portrait ul.profiles li.profile_loop .buttons .excerpt {

    color:#ffffff;
    text-shadow: 1px 1px 0px #000000;
    opacity: 1;

}







.portrait article.profile {


    grid-template-columns: 480px calc(100% - 520px);
    grid-column-gap: 40px;

    padding: 0 30px 0 0;

    background-color: var(--frame_background_color);
    border-radius:20px;
    overflow: hidden;


    -webkit-box-shadow: 0px 3px 5px 2px rgba(0,0,0,0.1); 
    box-shadow: 0px 3px 5px 2px rgba(0,0,0,0.1);

}





.portrait article.profile h1 {

    position: relative;
    display: block;
    margin-top:30px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;

    grid-row: 1 / 2 !important;                       
    grid-column: 2 / 3 !important;
    
    line-height: 30px;
    font-size: 20px;

    font-family: 'roboto';
    font-weight: normal;

}









.portrait article.profile .photo div {
    
    position: relative;
    display: block;
    width: 100%;
    height:100%;
    top:0 !important;
    
    
}

.portrait article.profile .photo img {

    position: absolute;
    height: 100%;
    object-fit: cover;
    inset: 0;  
    margin:0;
  
    width: 100%;

    border-radius: 0;       
    -webkit-box-shadow: none; 
    box-shadow: none;

}

.portrait article.profile .photo .default {

    width: 100% !important;
    height: 100% !important;
    background-color: var(--third_color);
    border-radius: 0px;
}

.portrait article.profile .photo .default:after {

    position: absolute;
    display: block;
    content:'';

    width: 80px;
    height: 80px;
    top:calc(50% - 40px);
    left:calc(50% - 40px);
    background-color: var(--text_color);
    opacity: 0.75;
    
    -webkit-mask: url('img/user.svg') no-repeat 50% 50%;
    mask: url('img/user.svg') no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;

}










@media all and (min-width:0px) and (max-width:1200px) {


    .portrait article.profile {

        position: relative;
        display: grid;
        grid-template-columns: 100%;
        grid-column-gap: 0;
        width: 600px;
        padding:0;

    }


    .portrait article.profile h1 {

        grid-row: 2 / 3 !important;                
        grid-column: 1 / 2 !important;
        width: 95%;
        margin-top:20px;

    }



    .portrait article.profile .photo {

        position: relative;
        display: block;
        margin:0 auto;
        width: 100%;
        height:100vh;
        
        grid-row: 1 / 2;                
        grid-column: 1 / 1; 

    }


    .portrait article.profile .content {

        grid-row: 3 / 4;   
        grid-column: 1 / 1;
        width:95%;

    }


}






@media all and (min-width:0px) and (max-width:600px) {


    .portrait article.profile {

        position: relative;
        display: grid;
        grid-template-columns: 100%;
        grid-column-gap: 0;
        width: 100vw !important;
        max-width: 100vw !important;
        padding:0;
        border-radius: 0;

        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    
    }
    

}











/* ELEGANT */



.pure .form_button,
.pure .post_link {

    border-radius: 5px !important;

}


.pure {

    --button_color_1: rgb(0, 73, 191);   /* bleu profond */
--button_color_2: rgb(0, 109, 234);   /* bleu vif moderne */
}





/* FANCY  */


.fancy {

    --button_color_1: rgb(255, 0, 85);
    --button_color_2: rgb(255, 0, 183); 

}









/* DARK MODE */ 




body.dark {

    --header_background:#050505;
    --header_text:#909090;

    --background_color: #0d0d0d;
    --background_color_rgb:13 13 13;

    --title_color:#e1e1e1;


    --text_color:#777777;
    --frame_background_color: #070707;

    --third_color: #000000;
    --third_text_color: #cccccc;

    --button_color_1: rgb(29, 33, 45);   /* dark blue grey */
    --button_color_2: rgb(40, 48, 66);

}


body.dark .ZIP_frame_mask {

    background: rgba(0,0,0,0.5);

}



body.pure.dark {

    --button_color_1: rgb(165, 147, 102); /* sable doré clair */
    --button_color_2: rgb(202, 181, 126); /* sable doré clair */

    --button_color_1: rgb(144, 124, 75); /* sable doré clair */
    --button_color_2: rgb(168, 144, 78); /* sable doré clair */

}








/* DUNGEON MODE */ 




body.dungeon {

    --background_color: #000000;
    --background_color_rgb:13 13 13;
    
    --header_background: linear-gradient(117deg,rgb(32, 0, 0) 44%, rgb(61, 0, 0) 100%);
    --header_text : #ffffff;

    --title_color:#ffffff;

    --text_color:#777777;
    --frame_background_color: #050505;
    
    --third_color: rgb(0, 0, 0);
    --third_text_color: #ffffff;


    --button_color_1: rgb(73, 0, 0);
    --button_color_2: rgb(122, 0, 0);


    background-image: url('img/navy.png');
    background-image: url('img/juif.png');
    background-image: url('img/dust.png');
    background-image: url('img/buried.png');

    background-attachment: fixed;

}



body.dungeon .ZIP_frame_mask {

    background: rgba(0,0,0,0.5);

}


.dungeon .post_link::after,
.dungeon .form_button::after {

    position: absolute;
    display: block;
    top:0;
    left: 0;
    width: 100%;
    height:100%;
    content:'';
    background-image: url('img/dust.png');

}

