/* jOpenSim CSS v0.3.1.3 by djphil (CC-BY-NC-SA 4.0) */
/* v0.4.0.2 */

:root {
	--jopensimdanger: #cc0000;
	--jopensim-locx: #cc0000;
	--jopensim-locy: #00cc00;
	--jopensim-locz: #0000cc;
	--jopensim-rating-pg: #999999;
	--jopensim-rating-mature: #2BAED5;
	--jopensim-rating-adult: #cc0000;
	--jopensim-smallbutton-padding: 0px 5px;
	--jopensim-smallbutton-bordercorner: 3px;
	--jopensim-font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
}

@font-face {
 font-family:'jopensim';
 src: url(fonts/jopensim.ttf) format('truetype'), url(fonts/jopensim.woff) format('woff'), url(fonts/jopensim.woff2) format('woff2');
 font-weight:400;
 font-style:normal
}

.jopensim-partnering-button {
	padding-left:1em;
	font-family: var(--jopensim-font-family);
}

.josfont {
	display:inline-block;
	/*font-size:120%;*/
}

.jopensimfont-hippo:before {
	font-family:'jopensim' !important;
	content:"a";
}

.jopensimfont-logo:before {
	font-family:'jopensim' !important;
	content:"b";
}

.jopensimfont-hippo-edit:before {
	font-family:'jopensim' !important;
	content:"c";
}

.jopensimfont-hippo-head:before {
	font-family:'jopensim' !important;
	content:"d";
}

.jopensimfont-hippo-cog:before {
	font-family:'jopensim' !important;
	content:"e";
}

.jopensimfont-partnering:before {
	font-family:'jopensim' !important;
	content:"f";
}

.jopensimfont-divorce:before {
	font-family:'jopensim' !important;
	content:"g";
}



/* jOpenSim Reset */
* {margin: 0px; padding: 0px;}
image {border: 0px;}
table {width: 100%;}
.clearfix {clear: both;}

/* jOpenSim Menu */
div.contentsubheading {
	float: left;
	display: inline-block;
	padding: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	background: rgba(0, 0, 0, 0.05);
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.04);
}

div.contentsubheading:hover {
	background: rgba(0, 0, 0, 0.075);
	border: 1px solid rgba(0, 0, 0, 0.05);	
}

div.contentsubheading a:hover {
	text-decoration: none;	
}

div.contentsubheading_table {
	float: none;
	padding: 3px;
    text-align: left;
}

/* jOpenSim Profils */
img.jopensim_partner  {
    width: 16px;
	height: 16px;
	text-align: absmiddle;
} 

/* jOpenSim Settings */

/* jOpenSim Messages */

/* jOpenSim Groups */

/* jOpenSim Money */

/* jOpenSim Terminal */
.terminaltable {
	border-collapse: collapse;
	border: 1px solid #000000;
}

.terminaltable th {
	background: #333333;
	color: #ffffff;
}

.terminaltable td,th {
	padding: 10px;
}

/* jOpenSim Login Screen */
/* overflow:auto; */
/* padding: 7px; */

.jopensim_loginscreen {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	z-index: 10;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	background-size: cover;
}

/*.jopensim_loginscreen table td {border-color: #333 !important;}*/
/* #4c8b76 */
.welcomebox_gridstatus {
	position: fixed;
	right: 20px;
	top: 40px;
	width: 300px;
    z-index: 100;
}

.welcomebox_regions {
	position: fixed;
	left: 20px;
	top: 40px;
	width: 300px;
    text-align: left;
    z-index: 100;
}

.welcomebox_messages {
	position: fixed;
	bottom: 30px;
	left: 20px;
	width: 300px;
    z-index: 100;
}

.welcomebox_gridstatus_title,
.welcomebox_regions_title,
.welcomebox_messages_title {
    overflow: hidden;
    font-size: 18px;
    padding: 7px;
    font-weight: bold;
    border-radius: 4px;
}

.welcomebox_gridstatus_title,
.welcomebox_regions_title,
.welcomebox_messages_title,
.welcomebox_gridstatus_content,
.welcomebox_regions_content,
.welcomebox_messages_content {
    margin: 10px;
}

.welcomebox_gridstatus_content,
.welcomebox_regions_content,
.welcomebox_messages_content {;}

.welcomebox_regions_content {
    max-height: 164px;
    overflow: auto;
}
.welcomebox_regions_content th {
    text-align: left;
    padding: 0px;
}

/* jOpenSim Map */
/* Fix Google Map Bubbles on Helix Framework */
#content div {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}

/* .jopensim_articlelink */
/* #copyright-control {;} */

.regioninfo {
    text-align: center;
	min-height: 100px;
	min-width: 150px;
}

/* table.regioninfo {;} */
table.regioninfo thead,
table.regioninfo thead a {
    font-size: 20px;
}

/* jOpenSim Debug */
#debugdiv {visibility: hidden;}

/* UNDER CONSTRUCTION */
h2 span {color: red;}

/* jOpenSim Forms */
input[type="radio"] {text-align: left;}

/* FIX NON BOOTSTRAP TEMPLATES */
.pull-right {float: right;}
.text-left {text-align: left;}
.text-right {text-align: right !important;}
.text-bold {font-weight: bold;}
.text-danger {color: #b94a48;}

a.text-danger:hover,
a.text-danger:focus {
	color: #953b39;
}

/* Fix for old Bootstrap v2.x templates */
span.label-default {
    background-color: #999999;
    color: #FFFFFF;
    background-image: -webkit-linear-gradient(top, #999999, #9A9A9A);
    background-image: linear-gradient(to bottom, #999999, #9A9A9A);
    border-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(0, 0, 0, 0.4);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}

span.label-danger  {
    background-color: #D32C46;
    color: #FFFFFF;
    background-image: -webkit-linear-gradient(top, #EE465A, #C11A39);
    background-image: linear-gradient(to bottom, #EE465A, #C11A39);
    border-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(0, 0, 0, 0.4);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
/*
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 6px #d59392;
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 6px #d59392;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 6px #d59392;
*/
}

/*
table a.btn-primary,
table a.btn-info,
table a.btn-success,
table a.btn-warning,
table a.btn-danger,
table a.btn-inverse,
table a.btn-link {;}
*/

/* even {color: #f1f1f1;} odd {color; #f5f5f5;} */
/* FIX t_applex_free Tempplate */
/* .modal {display: inline-block!important;} */
/* .modal-content {color: #222222!important;} */
/* .contentpane {color: #222222!important;} */
/* button[type="submit"] {vertical-align: top; padding: 3px;} */
/* input[type="text"] {vertical-align: inherit;} */
/* input[type="submit"] {padding: 3px;} */
/* .jOpenSim_gridstatuscell {;} */
/* .jopensimregister_clear */
/* @import url("bootstrap.css"); */
/* .jopensim-searchfield{;} */
/* FIX some Warp templates */
/* a.modal {width: 20px; left: 0px;} */

.jopensim_profile_state {
	display: inline-block;
	height: 16px;
	width: 16px;
	/*border:1px #ff0000 dotted;*/
}

.jopensim_profile_yes {
	background-image: url("images/jyes.png");
}

.jopensim_profile_no {
	background-image: url("images/jno.png");
}

.jopensim-searchfield{;}

.jopensim_showcase .tplocal,
.jopensim_showcase .tphg,
.jopensim_showcase .tphgv3,
.jopensim_showcase .tphop,
.jopensim_showcase .tpdummy {
	display: inline-block;
    margin-bottom: 4px;
}

.tpbtn {
	padding: 3px 6px;
	font-size: 9.75px;
	border-radius: 2px;
}

a.tpbtn:hover {
	color:#FFFFFF !important;
}

.btn-local {
	color: #FFFFFF;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #49afcd;
	background-image: -moz-linear-gradient(top,#5bc0de,#2f96b4);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));
	background-image: -webkit-linear-gradient(top,#5bc0de,#2f96b4);
	background-image: -o-linear-gradient(top,#5bc0de,#2f96b4);
	background-image: linear-gradient(to bottom,#5bc0de,#2f96b4);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
	border-color: #2f96b4 #2f96b4 #1f6377;
	*background-color: #2f96b4;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.btn-local:hover,
.btn-local:focus,
.btn-local:active {
	background-image: none;
	background-color: #2a85a0;
}

.btn-hg {
	color: #FFFFFF;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #004b8d;
	background-image: -moz-linear-gradient(top,#005e8d,#002f8d);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#005e8d),to(#002f8d));
	background-image: -webkit-linear-gradient(top,#005e8d,#002f8d);
	background-image: -o-linear-gradient(top,#005e8d,#002f8d);
	background-image: linear-gradient(to bottom,#005e8d,#002f8d);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005e8d', endColorstr='#ff002e8d', GradientType=0);
	border-color: #002f8d #002f8d #001641;
	*background-color: #002f8d;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.btn-hg:hover,
.btn-hg:focus,
.btn-hg:active {
	background-image: none;
	background-color: #002674;
}

.btn-hgv3 {
	color: #FFFFFF;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #faa732;
	background-image: -moz-linear-gradient(top,#fbb450,#f89406);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));
	background-image: -webkit-linear-gradient(top,#fbb450,#f89406);
	background-image: -o-linear-gradient(top,#fbb450,#f89406);
	background-image: linear-gradient(to bottom,#fbb450,#f89406);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffab44f', endColorstr='#fff89406', GradientType=0);
	border-color: #f89406 #f89406 #ad6704;
	*background-color: #f89406;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.btn-hgv3:hover,
.btn-hgv3:focus,
.btn-hgv3:active {
	background-image: none;
	background-color: #df8505;
}

.btn-tphop {
	color: #FFFFFF;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #DA4F49;
	background-image: -moz-linear-gradient(top,#ee5f5b,#bd362f);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));
	background-image: -webkit-linear-gradient(top,#ee5f5b,#bd362f);
	background-image: -o-linear-gradient(top,#ee5f5b,#bd362f);
	background-image: linear-gradient(to bottom,#ee5f5b,#bd362f);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
	border-color: #bd362f #bd362f #802420;
	*background-color: #bd362f;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.btn-tphop:hover,
.btn-tphop:focus,
.btn-tphop:active {
	background-image: none;
	background-color: #A9302A;
}

.btn-tpdummy {
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #999999;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.tpdummy .btn-tpdummy {
    padding: 0px 3px;
}

.jopensimshowcase .btn,
.jopensimshowcase .btn-default {
    cursor:default !important;
}

.jopensimshowcase .btn {
    border-color: #e6e6e6 #e6e6e6 #bfbfbf !important;
    margin-bottom:3px;
}

div.tplocal, div.tphg, div.tphgv3, div.tphop {
	margin: 0px 2px;
}

.jopensim-identcommand {
	border-style: solid;
	border-color: #3e3e3e;
	border-width: 4px 5px;
	padding-left: 5px;
	padding-right: 25px;
	display: inline-block;
	font-family: monospace;
	font-weight: bold;
	color: var(--danger,var(--jopensimdanger,red));
	margin-bottom:1em;
	overflow:hidden;
}

#identCommand {
	cursor: pointer;
	white-space: nowrap;
}

.jopensim-messagetable {
	/*display:table;*/
}

.jopensim-messagetable th {
	font-weight:bold;
}

.jopensim-messagetable-row {
	/*display:table-row;*/
}

.jopensim-messagetable-cell {
	/*display:table-cell;*/
}



.messagetablecol1, .messagetablecol2, .messagetablecol3 {
	width:30%;
}

.messagetablecol4 {
	width:30%;
}

.jopensim_partneringfield {
	width:35em;
}

.jopensim-nogroupimage {
	color:#cccccc !important;
	font-size:6em !important;
}

img.jopensim-groupinsignia {
	max-width:128px;
}

.jopensim-groupnotice-counter {
	cursor:default;
}

.jopensim-thumbnail {
	padding: 0.25rem;
	background-color: white;
	border: 1px solid #dfe3e7;
	border-radius: 0.25rem;
	max-width: 100%;
	height: auto;
}

.jopensim-event-durationfield, .jopensim-event-timefield {
	width:auto !important;
	display:inline-block !important;
}

.jopensim-event-type div.form-check {
	width:auto !important;
	margin-right:10px;
	display:inline-block !important;
}

.jopensim-radio-pg {
	padding: var(--jopensim-smallbutton-padding);
	background: var(--jopensim-rating-pg);
	border-radius: var(--jopensim-smallbutton-bordercorner);
	color:#ffffff;
}

.jopensim-radio-mature {
	padding: var(--jopensim-smallbutton-padding);
	background: var(--jopensim-rating-mature);
	border-radius: var(--jopensim-smallbutton-bordercorner);
	color:#ffffff;
}

.jopensim-radio-adult {
	padding: var(--jopensim-smallbutton-padding);
	background: var(--jopensim-rating-adult);
	border-radius: var(--jopensim-smallbutton-bordercorner);
	color:#ffffff;
}

.jopensim-icon-trash:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f1f8";
	margin-left: -0.25em;
}

#jopensim-eventlist button.accordion-button {
	padding: 0rem 1rem 0rem 0rem!important;
}

#jopensim-eventlist .accordion-body, #jopensim-eventlist .accordion-collapse {
	vertical-align:top;
}

.jopensim_eventlist_datetime {
	display:inline-block;
	width:8em;
	border-right: 1px solid #a0a0a0;
	background: #efefef;
	padding:0.5em;
}
.jopensim_eventlist_datetime:after {
	/*mix-blend-mode:screen;*/
}

.jopensim_eventlist_date, .jopensim_eventlist_time {
}

.jopensim_eventlist_date:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f073";
	margin-right: 1em;
}

.jopensim_eventlist_time:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f017";
	margin-right: 1em;
}

.jopensim-eventlocation-icon:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f3c5";
	margin-right: 1em;
}

.jopensim-eventduration-icon:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f254";
	margin-right: 1em;
}

.jopensim-eventcategory-icon:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f022";
	margin-right: 1em;
}

.jopensim-eventcover-icon:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f4b9";
	margin-right: 1em;
}

/*
.jopensim-eventcreator:before {
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	font-weight: 900;
	content: "\f007";
	margin-right: 1em;
}
*/

.jopensim-eventcreator-icon {
	margin-left:-3px;
	margin-right:11px;
}

.jopensim_eventlist_title {
	margin-left:2em;
	font-size: 1.75rem;
}

.jopensim-eventlist-detaildescription, .jopensim-eventlist-detailinfo {
	display:inline-block;
}

.jopensim-eventlist-detail-duration,
.jopensim-eventlist-detail-creator,
.jopensim-eventlist-detail-location,
.jopensim-eventlist-detail-misc {
	padding:0.25em;
	margin:0.1em;
	background:#efefef;
	border-radius:3px;
}

.jopensim-inworldsearch-results th {
	font-size:105%;
	font-weight:bold;
}

.jopensim-maplegend-search {
	/*width:28px;*/
}

.jopensim-map-legend {
	margin:1em 0em 3em 0em;
}

.jopensim-map-legend-title {
	font-weight:bold;
	font-size:110%;
}

.jopensim-legend-mapmarker {
	width:28px;
}

a[surltype] {
	text-decoration:none;
}

a[surltype]::after {
	font-family: 'jopensim' !important;
	font-size:125%;
	content: "t";
}

.jopensimleafletmap a[surltype]::after {
	color:#ffffff;
}

a[surltype="local"]::after {
	color:#006600;
}

a[surltype="hg"]::after {
	color:#990000;
}

/* NUOVO 2026: Badge anno eventi */
.jopensim-event-year-badge {
	display: inline-block;
	padding: 2px 6px;
	margin: 0 4px;
	border-radius: 10px;
	font-size: 0.75em;
	font-weight: bold;
	vertical-align: middle;
}

.jopensim-event-year-current {
	background-color: #28a745;
	color: white;
}

.jopensim-event-year-old {
	background-color: #ffc107;
	color: #212529;
}

/* Badge HyperGrid/Local esistenti */
.jopensim-event-badge {
	display: inline-block;
	padding: 2px 8px;
	margin: 0 4px;
	border-radius: 12px;
	font-size: 0.7em;
	font-weight: bold;
	vertical-align: middle;
}

.jopensim-event-badge-hypergrid {
	background-color: #6f42c1;
	color: white;
}

.jopensim-event-badge-local {
	background-color: #17a2b8;
	color: white;
}

.jopensim-event-grid-name {
	font-size: 0.8em;
	color: #6c757d;
	font-style: italic;
	margin-left: 8px;
}


