body {font-family: verdana,arial,helvetica,sans-serif;	font-size: 12px;}
.b1h, .b2h, .b3h, .b4h, .b2bh, .b3bh, .b4bh{font-size:1px; overflow:hidden; display:block;}
.b1h {height:1px; background:#FFB300; margin:0 5px;}
.b2h, .b2bh {height:1px; background:#FFB300; border-right:2px solid #FFB300; border-left:2px solid #FFB300; margin:0 3px;}
.b3h, .b3bh {height:1px; background:#FFB300; border-right:1px solid #FFB300; border-left:1px solid #FFB300; margin:0 2px;}
.b4h, .b4bh {height:2px; background:#FFB300; border-right:1px solid #FFB300; border-left:1px solid #FFB300; margin:0 1px;}
.b2bh, .b3bh, .b4bh {background:url('//www.gay411.com/background.gif');}
.headh {background: #FFB300; border-right:1px solid #FFB300; border-left:1px solid #FFB300; padding-bottom:6px; font-weight: bold;}
.headh_moderator_notvalidated {background: red; border-right:1px solid red; border-left:1px solid red; padding-bottom:6px; font-weight: bold;}
.headh .txt12 {margin: 0px 10px 0px 4px; text-align: center; font-family: Verdana; font-size:12px; }
.headh a {color: #ff5c00;}
.contenth {background:url('//www.gay411.com/background.gif'); border-right:1px solid #FFB300; border-left:1px solid #FFB300;  font-family: Verdana; font-size:12px; }
.contenth div {margin-left: 12px; margin-right: 12px; padding-top: 5px;}
.contenth a {color: #ff5c00; font-weight: bold;}
.rounded_solobox {
     -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
    background: orange;
    padding:5px;
    margin: 0 4px 0 4px;
    font-family: Verdana; font-size:12px; font-weight: bold;
    text-align: center;
}
.pageth  img { width: 110px; height:110px; }

.lab_b {color: blue; font-size: 10px; font-weight: bold; font-style:italic;}
.lab_r {color: red; font-size: 10px; font-weight: bold; font-style:italic;}
.lab_s {color: #838383; font-size: 10px; font-weight: bold; font-style:italic;}
.lab_o {color: orange; font-size: 10px; font-weight: bold; font-style:italic;}

ul.pinlist {  list-style-image: url(//cdnall.bldatatech.com/male411/images/ti_arrow_right_orange.png); text-align:left;}
.polaborder {padding:1px; margin:0px; border:1px solid white; background-color:white;}
// ------------------------------------------------------------------------------------------------------------
#search_page input, textarea, select, fieldset, label { font-family: verdana, tahoma, arial, helvetica; font-size: 11px; color: black;}
#search_page form { padding: 0px; margin: 0px;}
#search_page .lab1 {display:block; width:140px; float:left;}
// ------------------------------------------------------------------------------------------------------------
#mainframe {margin: 0; padding : 4px; }
#mainframe #left_col { float: left; width: 170px; margin-right:10px;  text-align: center;}
#mainframe #center_col {  float: left;width: 440px; margin-right:6px; overflow:hidden;}
#mainframe #right_col { float: right; width: 170px; border-left:1px solid #CA8D4A;}
// ------------------------------------------------------------------------------------------------------------
.thumbcss * {margin:0;padding:0}
.thumbcss dl {font-size:.95em;margin-top:10px; height:130px;}
.thumbcss dt {float:left;width:120px;}
.thumbcss img {padding:0px; margin:4px;  width:60px; height: 60px;}
// ------------------------------------------------------------------------------------------------------------
table.signform {margin: 0px; border: 1px solid black; border-collapse: collapse;}
td.signleft { width: 150px; background-color: #FF8F33; padding: 0px; text-align: right;font-size:11px; }
td.signright { width:450px; background-color: #FFF5C1; padding: 0px; text-align: left; font-size:11px; }
// ------------------------------------------------------------------------------------------------------------
.profupdlog {text-align:left;}
.profupdlog .backpanel { vertical-align: top; font-size: 10px; width:350px; text-align:left; padding:4px;  margin-bottom: 4px; background-color:#EDC37B;}
.profupdlog .backpanel .date{ font-size:8px;}
.profupdlog .backpanel img {margin-right:10px;padding:1px; border:1px solid white; background-color:white; width:40px; height: 40px;}
.profupdlog .backpanel a:hover img,  .backpanel a:active img,  .backpanel a:focus img {background-color:#996911; border:1px solid #996911;}
.profupdlog li {font-size: 10px;   margin-left:10px !important; line-height: 14px; }
// ------------------------------------------------------------------------------------------------------------
.picmanager {width:100%;}
.picmanager .panel {height:450px;}
.picmanager .panel_mobile {height:580px; background-color:white;}
.picmanager .thumbs {float: left; margin-right:4px;height:116px;}
.picmanager .thumbimg {padding:1px; margin:0px; border:2px solid white; height:70px; width:70px;  border-radius: 10px; }
// .picmanager .thumbs img:hover  {background-color:orange; border:2px solid #996911;}
.picmanager .thumbmainimg { border:2px solid orange; background-color:orange;}
.picmanager .thumbmainimgtmp {border:2px solid orange; background-color:orange; /* for IE */  filter:alpha(opacity=60);  /* CSS3 standard */  opacity:0.4;}
.picmanager .thchoices { text-align:center;margin-top:3px; display: none}
.picmanager .thumbs .icon {border:0;}
.picmanager #progressid {display: none; } 
.picmanager #uploadpicselect { background: white; padding: 8px; border: 1px solid #000;}
.picmanager #boxes {list-style-type: none; float:left;}
// .picmanager #boxes li {cursor: move;}
.clearleft {clear: left }
.clear {clear: both;}
// --------------------------------------------------------------------------------------------------------------
.priorityprices table { margin: 0px;}
.priorityprices td { padding: 6px; font-size: 12px; width:100px;}
.priorityprices tr.d0 td {	background-color: orange; color: black; border-bottom:1px solid #996911;}
.priorityprices tr.d1 td {	background-color: #FFC37B; color: black; border-bottom:1px solid #996911; }
  /* ------------------------------------------------------------------------------------------------------------ */
.picwall_th {
      float: left;
    height: 70px;
    margin-bottom: 5px;
    margin-left: 9px;
    position: relative;
    width:100%;
    line-height:70px;
    text-align:center;}
.picwall_th img{  
    vertical-align: middle;}
.priofp { width:100%; background-color:black;color:white; font-family: Verdana; font-size:16px; font-weight: bold; text-align: center;  -moz-border-radius: 10px;-webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; }
.priofp a { color:white; }
.prioritypage_msg { width:830px; background-color:black;color:white; font-family: Verdana; font-size:20px; font-weight: bold; text-align: center;  -moz-border-radius: 10px;-webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; }
.prioritypage_msg a {color: white;}
.tooltip {
	text-decoration: none;
	position: relative;
	color:black;
}
.tooltip img {border: 0;}
.tooltip span {
	margin-left: -999em;
	position: absolute;
}
.tooltip:hover span {
	border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
	font-family: Calibri, Tahoma, Geneva, sans-serif;
	position: absolute; left: 1em; top: 1em; z-index: 99;
	margin-left: 4px; width: 250px;
}
.tooltip .icon {
	margin: -20px 0 0 -55px;
	float: left; position: absolute;
	height:48px; width:48px;
}
.tooltip:hover em {
	font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold;
	display: block; padding: 0.2em 0 0.6em 0;
}
.tooltip .classic { padding: 0.8em 1em; }
.tooltip .custom { padding: 0.5em 0.8em 0.8em 2em; }
.tooltip * html a:hover { background: transparent; }
.tooltip .classic {background: #EDC37B; border: 1px solid #FFAD33; }
.tooltip .critical { background: #FFCCAA; border: 1px solid #FF3334;	}
.tooltip .help { background: #EDC37B; border: 1px solid #2BB0D7; 	}
.tooltip .info { background: #9FDAEE; border: 1px solid #2BB0D7;	}
.tooltip .warning { background: #FFFFAA; border: 1px solid #FFAD33; }
/* tinybox */
.tbox {position:absolute; display:none; padding:14px 17px; z-index:900}
.tinner {padding:15px; -moz-border-radius:5px; border-radius:5px; background:#fff url(//cdnall.bldatatech.com/male411/images/tinybox_preload.gif) no-repeat 50% 50%; border-right:1px solid #333; border-bottom:1px solid #333}
.tmask {position:absolute; display:none; top:0px; left:0px; height:100%; width:100%; background:#000; z-index:800}
.tclose {position:absolute; top:0px; right:0px; width:30px; height:30px; cursor:pointer; background:url(//cdnall.bldatatech.com/male411/images/tinybox_close.png) no-repeat}
.tclose:hover {background-position:0 -30px}

#priobox {text-align: left; }
#priobox_black {text-align: center; background: orange; }
#signguestbox {text-align: center; background: orange; }
#error {background:orange; font-family: Verdana; color: #000; border:2px solid red; padding:0; }
#error .tcontent {padding:10px 14px 11px; border:1px solid #ffb8b8; -moz-border-radius:5px; border-radius:5px}
#success {background:#ff5c00; color:#fff; font-family: Verdana; font-weight: bold; border-right:1px solid #000; border-bottom:1px solid #000; padding:10; -moz-border-radius:5px; border-radius:5px}
#bluemask {background:#4195aa}
/* http://acrisdesign.com/2011/06/create-a-multi-color-and-size-css3-buttons/ */
.button, .button span {
	display: inline-block;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-decoration:none;
}
.button {
	white-space: nowrap;
	line-height:1em;
	position:relative;
	outline: none;
	overflow: visible; /* removes extra side padding in IE */
	cursor: pointer;
	border: 1px solid #999;/* IE */
	border: rgba(0, 0, 0, .2) 1px solid;/* Saf4+, Chrome, FF3.6 */
	border-bottom:rgba(0, 0, 0, .4) 1px solid;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	background: -moz-linear-gradient(
		center top,
		rgba(255, 255, 255, .1) 0%,
		rgba(0, 0, 0, .1) 100%
	);/* FF3.6 */
	background: -webkit-gradient(
		linear,
		center bottom,
		center top,
		from(rgba(0, 0, 0, .1)),
		to(rgba(255, 255, 255, .1))
	);/* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#19FFFFFF', EndColorStr='#19000000'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#19FFFFFF', EndColorStr='#19000000')"; /* IE8 */
	-moz-user-select: none;
	-webkit-user-select:none;
	-khtml-user-select: none;
	user-select: none;
	margin-bottom:10px;
}
button img { border:0 }
.button img {
     border:0;
     vertical-align: bottom;
}
.button.full, .button.full span {
	display: block;
}
.button:hover, .button.hover {
	background: -moz-linear-gradient(
		center top,
		rgba(255, 255, 255, .2) 0%,
		rgba(255, 255, 255, .1) 100%
	);/* FF3.6 */
	background: -webkit-gradient(
		linear,
		center bottom,
		center top,
		from(rgba(255, 255, 255, .1)),
		to(rgba(255, 255, 255, .2))
	);/* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#33FFFFFF', EndColorStr='#19FFFFFF'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#33FFFFFF', EndColorStr='#19FFFFFF')"; /* IE8 */
}
.button:active, .button.active {
	top:1px;
}
.button span {
	position: relative;
	color:#fff;
	text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);
	border-top: rgba(255, 255, 255, .2) 1px solid;
	padding:0.6em 1.3em;
	line-height:1em;
	text-decoration:none;
	text-align:center;
	white-space: nowrap;
}
.button.tiny span {
	font-family: Arial;
	font-size:10px;
}
.button.small span {
	font-family: Arial;
	font-size:12px;
}
.button.medium span {
	font-size:14px;
}
.button.large span {
	font-size:18px;
}
.button.huge span {
	font-size:22px;
}
.button.black {
	background-color: #333333;
}
.button.gray {
	background-color: #666666;
}
.button.white {
	background-color: #FFFFFF;
}
.button.white span{
	color: #666666;
}
.button.red {
	background-color: #e62727;
}
.button.orange {
	background-color: #FF7A00;
}
.button.magenta {
	background-color: #A9014B;
}
.button.yellow {
	background-color: #ffb515;
}
.button.blue {
	background-color: #00ADEE;
}
.button.pink {
	background-color: #e22092;
}
.button.green {
	background-color: #91bd09;
}
.button.rosy {
	background-color: #F16C7C;
}
.button.brown {
	background-color: #804000;
}
.button.purple {
	background-color: #800080;
}
.button.cyan {
	background-color: #46C7C7;
}
.button.gold {
	background-color: #D4A017;
}

/* -------rounded images ------------ */
.rounded-img {
	display: inline-block;
	border: solid 1px #ff5c00;
	overflow: hidden;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
a:hover  img.rounded-img {background-color:#fff; border:1px solid #fff;}

.rounded-img2 {
	display: inline-block;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(0, 0, 0, .6);
	-moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(0, 0, 0, .6);
	box-shadow: inset 0 1px 5px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .9), 0 -1px 0 rgba(0, 0, 0, .6);
}
/* login input style */
.login_style input[type="text"],[type="password"] {
    font-family: verdana, tahoma, arial, helvetica; font-size: 16px; color: black;
    padding: 4px;
    border:2px solid #FF8F33;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius:6px;
    width:300px;
}
.login_style_submit {
    font-family: verdana, tahoma, arial, helvetica; font-size: 16px; color: black;
    padding: 4px;
    border:2px solid #FF8F33;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius:6px;
    width:300px;
    background:#ccc;
    cursor:pointer;
}
.login_style_submit:hover {
    background:#D6D5D4;
}

/* NEW STYLE 2026 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

.sidebar {
	width: 170px; 
	font-family: 'Inter', sans-serif;
	background: #ffffff;
	border-radius: 16px;
	padding: 10px 18px 18px 18px;
	margin: 0 auto 30px auto;
	box-shadow: 0 4px 14px rgba(0,0,0,0.06);
	border: 1px solid #e5e5e5;
}

/* Titles */
.sidebar-section-title {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #666;
	font-weight: 600;
	margin-top: 18px;
	margin-bottom: 6px;
	text-align:left;
}

/* Blocs */
.sidebar-block {
	background: #fafafa;
	border-radius: 12px;
	padding: 12px;
	border: 1px solid #e8e8e8;
	margin-top: 8px;
}

/* Inputs */
.input-label {
	font-size: 12px;
	color: #777;
	margin-bottom: 4px;
}

.input-field {
	width: 100%;
	border-radius: 10px;
	border: 1px solid #ddd;
	padding: 8px 10px;
	font-size: 13px;
	font-family: 'Inter', sans-serif;
}

.nbonline-block {
	text-align: center;
}

/* Reduce height and vertically center the travellers button */
.travellers-block {
	margin-top: 2px; 
	background: none;
	border: none;
	padding: 0;
	display: flex;
	justify-content: center;
}

.mobile-qr-block {
	//display: flex;
	justify-content: center;   
	align-items: center;     
	padding: 8px 0;
	font-size: 12px;
}

.btn {
	width: 100%;
	border-radius: 10px;
	border: none;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	margin-top: 8px;
	transition: 0.15s;
	font-family: 'Inter', sans-serif;
}

/* Brown-orange button style  */
.btn-sitebgcolor {
	background: #FF7A00;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 10px 14px;
//width: 80%;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.15s;
}

/* Hover lighter */
.btn-sitebgcolor:hover {
	background: #FF8C1A; 
	filter: brightness(1.05);
}

.btn:hover {
	filter: brightness(1.05);
}

.btn-red {
	background: #D62828;
	color: #fff;
}
.btn-red:g {
	background: #F03E3E;  
}

.btn-blue {
	background: #4da3ff;
	color: #fff;
}

.btn-red,
.btn-sitebgcolor {
	display: block;      
	text-align: center;  
	text-decoration: none;
	width:110px;
}

/* Member Star */
.memberstar-block {
	display: flex;
	justify-content: center;
	padding: 10px 0;
}

.memberstar-photo-wrapper {
	position: relative;
	display: inline-block;
}

.memberstar-photo {
	width: 150px;
	height: 150px;
	object-fit: cover;
	border-radius: 12px;
}

.memberstar-location {
	position: absolute;
	bottom: 6px;
	left: 6px;
	right: 6px;
	background: rgba(0,0,0,0.55);
	color: #fff;
	font-size: 12px;
	padding: 2px 6px;
	border-radius: 6px;
}
.mini_thumbnail {
	with:60;height:60px; border-radius: 8px;
}

/* profile.php */
.nprofile-banner {
	width: 732px;
	background: linear-gradient(90deg, #7A5646 0%, #F2A24A 100%);
	padding: 8px 28px;
	border-radius: 10px;
	color: #FFFFFF;
	font-family: system-ui, sans-serif;
	line-height: 1.3;
}

.nprofile-banner-line1 {
	text-align:left;
	font-size: 28px;
	font-weight: 700;
	opacity: 0.98;
}
.nprofile-banner-line1:hover {
	text-decoration: underline;
}

.nprofile-banner-line2 {
	text-align:left;
	font-size: 15px;
	margin-top: 4px;
	font-weight: 400;
	opacity: 0.9;
}
/* copy url */
.copy-url {
	position: relative;
	cursor: pointer;
}

.copy-url:hover::after {
	content: "Click to Copy URL";
	position: absolute;
	top: -20px;
	left: 0;
	background: #333;
	color: #fff;
	padding: 3px 8px;
	font-size: 11px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0.9;
}

.copy-popup {
	position: fixed;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0,0,0,0.85);
	color: #fff;
	padding: 18px 26px;
	border-radius: 10px;
	font-size: 18px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	z-index: 9999;
}

.copy-popup.show {
	opacity: 1;
}
/* green big button */
.big-green-btn {
	background: #3cb34a;
	color: #fff;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.25s ease;
}

/* Hover */
.big-green-btn:hover {
	background: #47c957;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.mini_thumbnail {
	with:80;height:80px; border-radius: 8px;
}
/* --------- rounded boxes --------- */
.roundedbox-frame {
	/* Variables locales */
	--roundedbox-bg: #FF8F33;       /* title bg color */
	--roundedbox-bg-card: #ffffff;   /* frame bg color */
	--roundedbox-border: #e5e5e5;
	--roundedbox-shadow: 0 8px 22px rgba(0,0,0,0.12);
	--roundedbox-radius: 14px;
	--roundedbox-font: 'Inter', sans-serif;

	width: var(--roundedbox-width);
	margin: 20px auto;
	background: var(--roundedbox-bg-card);
	border-radius: var(--roundedbox-radius);
	box-shadow: var(--roundedbox-shadow);
	overflow: hidden;
	border: 1px solid var(--roundedbox-border);
	font-family: var(--roundedbox-font);
}

.roundedbox-frame-title {
	background: var(--roundedbox-bg);
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	color: #3a3a3a;
	text-align: center;
	letter-spacing: 0.3px;
}

.roundedbox-frame-content {
	padding: 18px 16px;
}

/* Small */
.roundedbox-sm {
	--roundedbox-width: 240px;
}

/* Medium */
.roundedbox-md {
	--roundedbox-width: 405px;
}

/* Large */
.roundedbox-lg {
	--roundedbox-width: 95%;
}

.profupdlog {text-align:left;}
.roundedbox-frame-content .backpanel { vertical-align: top; font-size: 10px; width:300px; text-align:left; padding:4px;   border: 1px solid #EDC37B; border-radius: 12px;
	box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
.roundedbox-frame-content .backpanel .date{ font-size:10px;}
.roundedbox-frame-content .backpanel img {width:80px; height: 80px;}
.roundedbox-frame-content .backpanel a {color: #EDC37B;}
/*.roundedbox-frame-content li {font-size: 12px;   margin-left:10px !important; line-height: 14px; list-style-image: none;  list-style: none;  list-style-type: none;}*/

/* -------- login box --------- */
.login-field {
	position: relative;
	width: 300px;
	margin-bottom: 12px;
}

.login-field i {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #FF8F33;
	font-size: 16px;
	pointer-events: none;
}

.login-field input {
	width: 100%;
	padding: 10px 10px 10px 34px; 
	border: 2px solid #FF8F33;
	border-radius: 6px;
	font-size: 16px;
	box-sizing: border-box;
}

.login-remember {
	width: 300px;       
	margin-top: 6px;
	text-align: left;   
	display: flex;
	align-items: center;
	gap: 6px;            
}

.login-remember label {
	cursor: pointer;
}

.login-forgot {
	width: 300px;
	margin-top: 0;       
	padding-top: 2px;     
	text-align: right;
}

.login-forgot a {
	color: #804000;      
}

.login-forgot a:hover {
	text-decoration: underline;
}

.login_style_submit {
	margin-top:18px;
	font-size: 16px;
	color: #000;
	padding: 10px;
	border: 2px solid #FF8F33; 
	border-radius: 6px;
	width: 300px;
	background: #FF8F33;  
	cursor: pointer;
	transition: background 0.2s;
}

.login_style_submit:hover {
	background: #FF9A33;  
}
/* -------- dashboard --------*/
.dboard-members-grid {
	display: grid;
	/*grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));*/
	grid-template-columns: repeat(var(--nbcol), 1fr);
	gap: 1px;
}

.dboard-member-card {
	padding: 4px;               
}

.dboard-member-photo-wrap {
	position: relative;	
}

.dboard-member-photo {
	width: 100%;
	height:150px;
	border-radius: 8px;
	border: 1px solid #000;
	box-sizing: border-box; 
	object-fit: cover;
	background: url('../images/thumb_loading_background.gif')  no-repeat;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Bandeau collé en bas */
.dboard-member-banner {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;

	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.12),  
		rgba(0, 0, 0, 0.32),   
		rgba(0, 0, 0, 0.65)   
	);

	padding: 4px 6px 8px 6px; 
	color: #fff;

	border-radius: 0 0 8px 8px;
	box-sizing: border-box;

	text-align: left;
}

.dboard-member-name {
	font-size: 14px;
	font-weight: 600;
}

.dboard-member-location {
	font-size: 12px;
	opacity: 0.9;
}

.gallery-member-name {
	font-size: 12px;
	font-weight: 600;
}

.gallery-member-location {
	font-size: 10px;
	opacity: 0.9;
}

.badge-online {
	position: absolute;
	top: 2px;
	right: 3px;

	width: 24px;
	height: 24px;

	background: url('../images/bullet_green.png') no-repeat center center;
	background-size: contain;

	z-index: 5;
}

.badge-online-mobile {
	position: absolute;
	top: 5px;
	right: 5px;

	width: 16px;
	height: 16px;

	background: url('../images/wave_icon.png') no-repeat center center;
	background-size: contain;

	z-index: 5;
}

.badge-new {
	position: absolute;
	bottom: 6px;
	right: 6px;

	width: 20px;
	height: 20px;

	background: url('../images/newupd_corner.png') no-repeat center center;
	background-size: contain;

	z-index: 5;
}
/* ---- mainframe last members adaptation ------ */
.mainframe-members-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-items: center;
	gap: 12px;
	width: 100%;
}

.mainframe-member-card {
	width: 120px;
	display: block;
}

.mainframe-member-card a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.mainframe-member-photo-wrap {
	aspect-ratio: 1 / 1;
	width: 100%;
	border-radius: 8px;
	border: 1px solid #000;
	overflow: hidden;
	position: relative;
	background: #000;
}

.mainframe-member-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
	filter: brightness(1.05) contrast(1.05) saturate(1.15);
}

.mainframe-badge-online {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 14px;
	height: 14px;
	background: #00d000;
	border-radius: 50%;
	border: 2px solid #fff;
	z-index: 5;
}

.mainframe-member-banner {
	position: absolute;
	bottom: 0;
	width: 100%;
	background: rgba(0,0,0,0.45);
	color: #fff;
	padding: 5px 6px;
	font-size: 12px;
	line-height: 1.2;
	border-radius: 0 0 8px 8px;
	text-align: left;
}

.mainframe-member-name {
	font-weight: bold;
	font-size: 13px;
	margin-bottom: 1px;
}

.mainframe-member-location {
	font-size: 12px;
	opacity: 0.9;
}

/* --- VERSION MOBILE --- */
@media (max-width: 768px) {
	
	.dboard-members-grid {
		margin: 0;
		padding: 0;
		width: 100%;
		grid-template-columns: repeat(3, 1fr);
		
		gap: 0;
	}

	/* Carte sans bordure ni ombre */
	.dboard-member-card {
		margin: 0;
		padding: 0;
		border: none;
		box-shadow: none;
		background: none;
	}

	/* Photo without border */
	.dboard-member-photo {
		width: 100%;
		height: 100%;
	//	aspect-ratio: 3 / 4;
		border: none;
		object-fit: cover;
		margin: 0;
		padding: 0;
		filter: brightness(1.05) contrast(1.15) saturate(1.1);
		border-radius: 0;
	}

	.dboard-member-photo-wrap {
		border: 1px solid #000;
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		aspect-ratio: 3 / 4;
		width: 100%;
		overflow: hidden;
	}

	.dboard-member-banner {
		padding: 3px 4px 5px 4px;
		border-radius: 0;
	}

	.gallery-member-name {
		font-size: 12px;   
		font-weight: 600;
		line-height: 1.2;
	}
	
	.gallery-member-location {
		font-size: 8px;   
		opacity: 0.9;
		line-height: 1.2;
	}

	.badge-online {
		width: 19px;
		height: 19px;
		top: 1px;
		right: 3px;
	}

	.badge-new {
		width: 14px;
		height: 14px;
		bottom: 3px;
		right: 3px;
	}

	body {
		margin: 0;
	}
}
