body {
    background-color: #061729;
    background-image: url(../../../images/pirate/pirate-background.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    background-attachment: fixed;

    color: #2b190c;
    text-align: center;
    line-height: 1.4;
    margin: 0;

    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;

    overflow-y: scroll;
    overflow-x: hidden;
}

a:link {
	color: #0072BC;
	text-decoration: none;
}

a:visited {
	color: #0072BC;
	text-decoration: none;
}

a:hover,
a:active {
	color: #0072BC;
	text-decoration: underline;
}

#container {
    color: #2b190c;
    text-align: left;
    line-height: 1.4;
    margin: 0;
    width: 100%;
    min-width: 0;
}

.logo img,
#logo img {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    aspect-ratio: 1167 / 391 !important;
}

.wrapper {
    width: 85%;
    min-width: 0;
    max-width: 1500px;
    margin: 0 auto;
}

#logo {
    background: transparent;
    padding: 10px 0;
    border-bottom: 0;
}

#content {
    background: transparent;
    width: auto !important;
    padding: 20px 10px;
    overflow: hidden;
}

#/* =========================================
   MENU ALTO - TAVOLETTA SOLO DIETRO AI LINK
   ========================================= */

#header ul.menu {
    /* restringe la barra alla sola larghezza dei menu */
    display: table;
    width: auto !important;

    /* porta tutto a destra */
    margin: 0 0 0 auto !important;

    padding: 5px 10px !important;

    /* tavoletta unica */
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.02) 0px,
            rgba(255,255,255,.02) 1px,
            rgba(0,0,0,.025) 2px,
            rgba(0,0,0,.025) 4px
        ),
        linear-gradient(
            180deg,
            #5b2e14 0%,
            #3b1b0c 55%,
            #241006 100%
        ) !important;

    border: 1px solid #160904;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 4px rgba(0,0,0,.35),
        0 2px 4px rgba(0,0,0,.30);
}


/* elementi del menu */
#header ul.menu li {
    display: inline-block !important;
    margin: 0 8px !important;
}


/* IMPORTANTISSIMO:
   non tocchiamo il background dei link,
   così rimangono le icone originali MyBB */
#header ul.menu li a {
    color: #f3c85f !important;
    font-weight: bold;
    text-shadow: 0 1px 1px #000;
    line-height: 16px;
}

#header ul.menu li a.search,
#header ul.menu li a.memberlist,
#header ul.menu li a.calendar,
#header ul.menu li a.help,
#header ul.menu li a.portal {
    padding-left: 20px !important;
    background-image: url(../../../images/headerlinks_sprite.png) !important;
    background-repeat: no-repeat !important;
}


/* Manteniamo le posizioni originali delle icone */

#header ul.menu li a.search {
    background-position: 0 0 !important;
}

#header ul.menu li a.memberlist {
    background-position: 0 -20px !important;
}

#header ul.menu li a.calendar {
    background-position: 0 -40px !important;
}

#header ul.menu li a.help {
    background-position: 0 -60px !important;
}

#header ul.menu li a.portal {
    background-position: 0 -180px !important;
}


/* hover */
#header ul.menu li a:hover {
    color: #ffe18a !important;
    text-decoration: none;
}
#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 0;
}

#logo ul.top_links a.search {
	background-position: 0 0;
}

#logo ul.top_links a.memberlist {
	background-position: 0 -20px;
}

#logo ul.top_links a.calendar {
	background-position: 0 -40px;
}

#logo ul.top_links a.help {
	background-position: 0 -60px;
}

#logo ul.top_links a.portal {
	background-position: 0 -180px;
}

#panel .upper a.logout {
	font-weight: bold;
	background: url(../../../images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	background: url(../../../images/headerlinks_sprite.png) 0 -100px no-repeat;
	padding-left: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .upper a.register {
	background: url(../../../images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .lower ul.panel_links {
	float: left;
}

#panel .lower ul.panel_links a.usercp {
	background-position: 0 -120px;
}

#panel .lower ul.panel_links a.modcp {
	background-position: 0 -140px;
}

#panel .lower ul.panel_links a.admincp {
	background-position: 0 -160px;
}

#panel .lower ul.user_links {
	float: right;
}

#panel .lower ul.user_links li a {
	padding: 0;
	background-image: none;
}

#panel .upper {
	background: #0f0f0f url(../../../images/tcat.png) repeat-x;
	color: #fff;
	border-top: 1px solid #444;
	border-bottom: 1px solid #000;
	padding: 7px;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: #fff;
}

#panel .lower {
	background: #efefef;
	color: #999;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ccc;
	padding: 5px;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
	color: #666;
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: #000;
}

#search input.button {
	background: #0066a2 url(../../../images/thead.png) top left repeat-x;
	color: #fff;
}

#search input {
	margin: -3px 0;
}

#quick_login .remember_me input {
	vertical-align: middle;
	margin: -3px 0 0 5px;
}

#footer {
	clear: both;
}

#footer ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.menu li {
	margin: 0 5px;
	display: inline;
}

#footer .upper {
	background: #efefef;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 6px;
	font-size: 12px;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	color: #777;
}

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border-color: #ccc;
}

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select {
	border-color: #ccc;
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

#footer .lower {
	color: #666;
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #444;
	font-weight: bold;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: #333;
	text-decoration: underline;
	font-weight: bold;
}

#footer .lower #current_time {
	float: right;
	color: #888;
}

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px;
}

.scaleimages img {
	max-width: 100%;
}

.forum_status {
	height: 30px;
	width: 30px;
	background: url(../../../images/forum_icon_sprite.png) no-repeat 0 0;
	display: inline-block;
}

.forum_on {
	background-position: 0 0;
}

.forum_off {
	background-position: 0 -30px;
}

.forum_offclose {
	background-position: 0 -60px;
}

.forum_offlink {
	background-position: 0 -90px;
}

.subforumicon {
	height: 10px;
	width: 10px;
	display: inline-block;
	margin: 0 5px;
	background: url(../../../images/mini_status_sprite.png) no-repeat 0 0;
}

.subforum_minion {
	background-position: 0 0;
}

.subforum_minioff {
	background-position: 0 -10px;
}

.subforum_minioffclose {
	background-position: 0 -20px;
}

.subforum_miniofflink {
	background-position: 0 -30px;
}

table {
	color: #333;
	font-size: 13px;
}

.tborder {
    background: #e9cd90;
    width: 100%;
    margin: 0 auto;

    border: 1px solid #77451b;
    padding: 1px;

    box-shadow:
        0 2px 6px rgba(0,0,0,.35),
        inset 0 0 12px rgba(79,43,11,.12);
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.025) 0px,
            rgba(255,255,255,.025) 1px,
            rgba(0,0,0,.035) 2px,
            rgba(0,0,0,.035) 4px
        ),
        linear-gradient(
            180deg,
            #613417 0%,
            #48230f 30%,
            #2d1408 70%,
            #421e0c 100%
        );

    color: #ffd66a;
    border: 1px solid #180b04;
    border-bottom-color: #080301;

    padding: 8px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        inset 0 -3px 5px rgba(0,0,0,.40);
}

.thead a:link,
.thead a:visited,
.thead a:hover,
.thead a:active {
    color: #ffd66a;
}

.tcat {
    background:
        linear-gradient(
            180deg,
            #3b1b0b 0%,
            #1e0d05 100%
        );

    color: #f4c75e;

    border-top: 1px solid #70401b;
    border-bottom: 1px solid #090301;

    padding: 6px;
    font-size: 12px;
}

.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active {
    color: #f4c75e;
}

.trow1 {
    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(255,255,255,.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f7e8bb,
            #ecd39a
        );

    border: 1px solid;
    border-color: #f6e4b3 #c79b51 #c79b51 #f6e4b3;
}

.trow2 {
    background:
        radial-gradient(
            circle at 80% 70%,
            rgba(112,69,23,.06),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #f2dfa9,
            #e5c680
        );

    border: 1px solid;
    border-color: #f3dda7 #bd9149 #bd9149 #f3dda7;
}

.trow_shaded {
	background: #ffdde0;
	border: 1px solid;
	border-color: #fff #ffb8be #ffb8be #fff;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #ffdde0;
}

.thread_start_datetime {
	color: #999;
}

.post.unapproved_post .post_author {
	border-bottom-color: #ffb8be;
}

.post.classic.unapproved_post .post_author {
	border-color: #ffb8be;
}

.post.unapproved_post .post_controls {
	border-top-color: #ffb8be;
}

.trow_deleted,
.post.deleted_post {
	background: #E8DEFF;
}

.trow_selected,
tr.trow_selected td {
	background: #FFFBD9;
	color: #333;
	border-right-color: #F7E86A;
	border-bottom-color: #F7E86A;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #333;
}

.trow_sep {
	background: #ddd;
	color: #333;
	border-bottom: 1px solid #c5c5c5;
	padding: 6px;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	border-top: 1px solid #fff;
	padding: 6px;
	background: #ddd;
	color: #666;
}

.tfoot a:link {
	color: #444;
	text-decoration: none;
}

.tfoot a:visited {
	color: #444;
	text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
	color: #444;
	text-decoration: underline;
}

.thead input.textbox,
.thead select {
	border: 1px solid #263c30;
}

.bottommenu {
	background: #efefef;
	color: #333;
	border: 1px solid #4874a3;
	padding: 10px;
}

.navigation {
	color: #333;
	font-size: 12px;
}

.navigation a:link {
	text-decoration: none;
}

.navigation a:visited {
	text-decoration: none;
}

.navigation a:hover,
.navigation a:active {
	text-decoration: underline;
}

.navigation .active {
	color: #333;
	font-size: small;
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
}

.largetext {
	font-size: 16px;
	font-weight: bold;
}

fieldset {
	padding: 12px;
	border: 1px solid #ddd;
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #bbb;
}

fieldset.align_right {
	text-align: right;
}

input.textbox {
	background: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	padding: 3px;
	outline: 0;
	font-size: 13px;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

input.textbox.portal_search {
    width: 68%;
}

textarea {
	background: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	padding: 2px;
	line-height: 1.4;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

select {
	background: #ffffff;
	padding: 3px;
	border: 1px solid #ccc;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

button,
input.button {
	padding: 3px 8px;
	cursor: pointer;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	background: #eee url(../../../images/buttons_bg.png) repeat-x;
	border: 1px solid #bbb;
	color: #333;
	outline: 0;
}

button:hover,
input.button:hover {
	border-color: #aaa;
}

form {
	margin: 0;
	padding: 0;
}

input.error, textarea.error, select.error {
	border: 1px solid #f30;
	color: #f30;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #0c0;
}

label.error {
	color: #f30;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: bold;
	font-size: 11px;
}

form #message {
	width: 500px;
}

.editor {
	background: #f1f1f1;
	border: 1px solid #ccc;
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #ccc;
}

.post .editor_control_bar {
	background: #f5f5f5;
}

.popup_menu {
	background: #fff;
	border: 1px solid #ccc;
}

.popup_menu .popup_item {
	background: #efefef;
	color: #333;
}

.popup_menu .popup_item:hover {
	background: #0072BC;
	color: #fff;
}

.trow_reputation_positive {
	background: #ccffcc;
}

.trow_reputation_negative {
	background: #ffcccc;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.repbox {
	font-size:16px;
	font-weight: bold;
	padding:5px 7px 5px 7px;
}

._neutral {
	background-color:#FAFAFA;
	color: #999999;
	border:1px solid #CCCCCC;
}

._minus {
	background-color: #FDD2D1;
	color: #CB0200;
	border:1px solid #980201;
}

._plus {
	background-color:#E8FCDC;
	color: #008800;
	border:1px solid #008800;
}

img {
	border: none;
}

img.attachment {
	border: 1px solid #E9E5D7;
	padding: 2px;
}

hr {
	background-color: #000000;
	color: #000000;
	height: 1px;
	border: 0px;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background: #FFFBD9;
	border-bottom: 1px solid #F7E86A;
	color: #333;
	text-align: center;
}

.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
	margin-top: 3px;
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

blockquote {
	border: 1px solid #ccc;
	margin: 0;
	background: #fff;
	padding: 10px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	font-style: normal;
	display: block;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-size: 12px;
	color: #666;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px;
}

.codeblock .title {
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px;
}

.smilie {
	vertical-align: middle;
}

.smilie_pointer {
	cursor: pointer;
}

.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

.popup_menu .popup_item_container {
	margin: 1px;
	text-align: left;
}

.popup_menu .popup_item {
	display: block;
	padding: 4px;
	white-space: nowrap;
	text-decoration: none;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

.subject_new {
	font-weight: bold;
}

.highlight {
	background: #FFFFCC;
	padding-top: 3px;
	padding-bottom: 3px;
}

.pm_alert {
	background: #FFF6BF;
	border: 1px solid #FFD324;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
}

.red_alert {
	background: #FBE3E4;
	border: 1px solid #A5161A;
	color: #A5161A;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
	word-wrap: break-word;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
	color: #A5161A;
}

.high_warning {
	color: #CC0000;
}

.moderate_warning {
	color: #F3611B;
}

.low_warning {
	color: #AE5700;
}

.imminent_banned {
	color: #880000;
}

.high_banned {
	color: #FF0000;
}

.moderate_banned {
	color: #FF6600;
}

.low_banned {
	color: #008000;
}

.online {
	color: #15A018;
}

.offline {
	color: #C7C7C7;
}

div.error {
	padding: 5px 10px;
	border: 2px solid #FFD324;
	background: #FFF6BF;
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: #333;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #C00;
	background: url(../../../images/error.png) no-repeat 0;
}

div.error ul {
	margin-left: 24px;
}

.pagination {
	font-size: 11px;
	padding-top: 10px;
	margin-bottom: 5px;
}

.tfoot .pagination,
.tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: bold;
}

.pagination .pagination_current,
.pagination a {
	padding: 3px 6px;
	margin-bottom: 3px;
}

.pagination a {
	background: #f5f5f5;
	border: 1px solid #ccc;
}

.pagination .pagination_current {
	background: none;
	color: #333;
	border: none;
	font-weight: bold;
}

.pagination a:hover {
	background: #0072BC;
	color: #fff;
	border-color: #263c30;
	text-decoration: none;
}

.pagination .go_page img {
	margin-bottom: -4px;
}

.drop_go_page {
	background: #f5f5f5;
	padding: 4px;
}

.pagination_breadcrumb {
	background-color: #efefef;
	border: 1px solid #fff;
	outline: 1px solid #ccc;
	padding: 5px;
	margin-top: 5px;
	font-weight: normal;
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

.thread_legend,
.thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px;
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom;
}

.forum_legend,
.forum_legend dt,
.forum_legend dd {
	margin: 0;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
	margin-top: 7px;
}

.forum_legend dt {
	margin-right: 10px;
	float: left;
}

.success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 3px solid #333;
	padding: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

.ignored_post .show_ignored_post a.button span {
	background-position: 0 -400px;
}

.deleted_post_hidden {
	border-top: 2px solid #ccc;
	padding: 15px;
}

.deleted_post_collapsed {
	border-top: 3px solid #333;
	padding: 15px;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
	background-position: 0 -400px;
}

.post {
	overflow: hidden;
}

.post.classic {
	padding-top: 15px;
}

.post .post_author {
	border-bottom: 1px solid #ccc;
	border-top: 2px solid #ccc;
	background: #f5f5f5;
	padding: 5px;
	overflow: hidden;
}

.post.classic .post_author {
	border: 1px solid #ddd;
	float: left;
	width: 15%;
	margin: 0 1% 15px 0;
	border-left: 0;
	padding: 5px 1%;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 3px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	text-align: center;
	margin-bottom: 8px;
}

.post .post_author div.author_avatar img {
	padding: 5px;
	border: 1px solid #ddd;
	background: #fff;
}

.post .post_author div.author_information {
	float: left;
	padding: 6px 8px;
}

.post.classic .post_author div.author_information {
	float: none;
	padding: 0;
	text-align: center;
}

.post .post_author div.author_statistics {
	float: right;
	font-size: 11px;
	padding: 3px 10px 3px 5px;
	color: #666;
	line-height: 1.3;
}

.post.classic .post_author div.author_statistics {
	border-top: 1px dotted #ccc;
	margin: 6px 0 0 0;
	padding: 6px 6px 3px 6px;
	float: none;
}

.post .post_head {
	font-size: 11px;
	padding-bottom: 4px;
	border-bottom: 1px dotted #ddd;
	margin-bottom: 4px;
}

.post .post_head span.post_date {
	color: #666;
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: #999;
}

.post .post_head span.edited_post a {
	color: #666;
}

.post_body {
	font-size: 14px;
	padding: 12px 0;
}

.post.classic .post_content {
	float: left;
	width: 79%;
	padding: 0 1% 5px 1%;
}

.post_content {
	padding: 9px 10px 5px 10px;
}

.post_content .signature {
	margin-top: 5px;
	border-top: 1px dotted #ddd;
	padding: 10px 0 4px 0;
}

.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: #999;
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: #777;
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: #777;
}

.post_controls {
	clear: both;
	background: #f5f5f5;
	border-bottom: 1px solid #ccc;
	padding: 5px;
	overflow: hidden;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	padding: 2px 5px;
	margin: 2px;
	font-size: 11px;
	background: #eee url(../../../images/buttons_bg.png) repeat-x;
	border: 1px solid #ccc;
	color: #555;
}

.postbit_buttons > a:hover {
	border-color: #bbb;
}

.postbit_buttons a span {
	padding-left: 20px;
	display: inline-block;
	height: 16px;
	background-image: url(../../../images/buttons_sprite.png);
	background-repeat: no-repeat;
}

.postbit_buttons a.postbit_find span {
	background-position: 0 0;
}

.postbit_buttons a.postbit_reputation_add span {
	background-position: 0 -20px;
}

.postbit_buttons a.postbit_email span {
	background-position: 0 -40px;
}

.postbit_buttons a.postbit_website span {
	background-position: 0 -60px;
}

.postbit_buttons a.postbit_pm span {
	background-position: 0 -80px;
}

.postbit_buttons a.postbit_quote span {
	background-position: 0 -100px;
}

.postbit_buttons a.postbit_multiquote span {
	background-position: 0 -120px;
}

.postbit_buttons a.postbit_multiquote_on span {
	background-position: 0 -140px;
}

.postbit_buttons a.postbit_edit span {
	background-position: 0 -160px;
}

.postbit_buttons a.postbit_qdelete span {
	background-position: 0 -180px;
}

.postbit_buttons a.postbit_qrestore span {
	background-position: 0 -200px;
}

.postbit_buttons a.postbit_report span {
	background-position: 0 -220px;
}

.postbit_buttons a.postbit_warn span {
	background-position: 0 -240px;
}

.postbit_buttons a.postbit_purgespammer span {
	background-position: 0 -540px;
}

.postbit_buttons a.postbit_reply_pm span {
	background-position: 0 -260px;
}

.postbit_buttons a.postbit_reply_all span {
	background-position: 0 -280px;
}

.postbit_buttons a.postbit_forward_pm span {
	background-position: 0 -300px;
}

.postbit_buttons a.postbit_delete_pm span {
	background-position: 0 -320px;
}

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
    display: none;
}

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background: #0f0f0f url(../../../images/tcat.png) repeat-x;
	color: #fff;
	display: inline-block;
	padding: 4px 8px;
	margin: 2px 2px 6px 2px;
	border: 1px solid #000;
	font-size: 14px;
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 3px 6px;
}

a.button span {
	padding-left: 20px;
	display: inline-block;
	background-image: url(../../../images/buttons_sprite.png);
	background-repeat: no-repeat;
}

a.button.new_thread_button span {
	background-position: 0 -340px;
}

a.button.new_reply_button span {
	background-position: 0 -360px;
}

a.button.closed_button span {
	background-position: 0 -380px;
}

a.button.rate_user_button span {
	background-position: 0 -400px;
}

a.button.add_buddy_button span {
	background-position: 0 -440px;
}

a.button.remove_buddy_button span {
	background-position: 0 -480px;
}

a.button.add_ignore_button span {
	background-position: 0 -460px;
}

a.button.remove_ignore_button span {
	background-position: 0 -500px;
}

a.button.report_user_button span {
	background-position: 0 -520px;
}

.quick_jump {
	background: url(../../../images/jump.png) no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px; /* amount of padding needed for image to fully show */
	margin-top: -3px;
	border: none;
}

.pollbar {
	background: url(../../../images/pollbar.png) top left repeat-x;
	border: 1px solid #3f3f3f;
	height: 10px;
}

.pollbar .percent {
	display: none;
}

.poll_votedfor {
	background: #efefef;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.posticons_label {
	white-space: nowrap;
}

/** jGrowl Start **/

/** Special IE6 Style Positioning **/
.ie6 {
	position: absolute;
}

.ie6.top-right {
	right: auto;
	bottom: auto;
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.top-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-right {
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.center {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	width: 100%;
}

/** jGrowl Styling **/
.jGrowl {
	z-index: 9999;
	color: #ffffff;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	position: fixed;
}

.jGrowl.top-left {
	left: 0px;
	top: 0px;
}

.jGrowl.top-right {
	right: 0px;
	top: 0px;
}

.jGrowl.bottom-left {
	left: 0px;
	bottom: 0px;
}

.jGrowl.bottom-right {
	right: 0px;
	bottom: 0px;
}

.jGrowl.center {
	top: 0px;
	width: 50%;
	left: 25%;
}

/** Cross Browser Styling **/

.jGrowl.center .jGrowl-notification,
.jGrowl.center .jGrowl-closer {
	margin-left: auto;
	margin-right: auto;
}

.jGrowl-notification {
	background-color: transparent;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	word-break: break-all;
}

.jGrowl .jGrowl-notification {
	min-height: 40px;
}

.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl-notification .jGrowl-header {
	font-weight: bold;
	font-size: .85em;
}

.jGrowl-notification .jGrowl-close {
	background-color: transparent;
	color: inherit;
	border: none;
	z-index: 99;
	float: right;
	font-weight: bold;
	font-size: 1em;
	cursor: pointer;
}

.jGrowl-closer {
	background-color: #000000;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	border-radius: 5px;
	word-break: break-all;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: .9em;
	font-weight: bold;
	text-align: center;
}

.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl .jGrowl-notification.jgrowl_success {
    background: lightgreen;
    border: 1px solid lightgreen;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_error {
    background: red;
    border: 1px solid red;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {
    background: yellow;
    border: 1px solid yellow;
	color: #333;
}

/** Hide jGrowl when printing **/
@media print {
	.jGrowl {
		display: none;
}


}

/** jGrowl End **/

/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.75);
	text-align: center;
}

.blocker:before{
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	width: 400px;
	text-align: left;
	background: #fff;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	z-index: 2;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 0 10px #000;
	-moz-box-shadow: 0 0 10px #000;
	-o-box-shadow: 0 0 10px #000;
	-ms-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background: url(../../../images/close.png) no-repeat 0 0;
	z-index: 2;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

/** Modal End **/

/** Impromptu Start **/

/*! jQuery-Impromptu - v6.2.3 - 2016-04-23
* http://trentrichardson.com/Impromptu
* Copyright (c) 2016 Trent Richardson; Licensed MIT */

.jqifade{
	position: absolute;
	background-color: #777777;
}

iframe.jqifade{
	display:block;
	z-index:-1;
}

div.jqi{
	width: 400px;
	max-width:90%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	position: absolute;
	background-color: #ffffff;
	font-size: 11px;
	text-align: left;
	border: solid 1px #eeeeee;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 7px;
}

div.jqi .jqicontainer{
}

div.jqi .jqiclose{
	position: absolute;
	top: 4px; right: -2px;
	width: 18px;
	cursor: default;
	color: #bbbbbb;
	font-weight: bold;
}

div.jqi .jqistate{
	background-color: #fff;
}

div.jqi .jqititle{
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px #eeeeee;
}

div.jqi .jqimessage{
	padding: 10px;
	line-height: 20px;
	color: #444444;
	overflow: auto;
}

div.jqi .jqibuttonshide{
	display: none;
}

div.jqi .jqibuttons{
	text-align: right;
	margin: 0 -7px -7px -7px;
	border-top: solid 1px #e4e4e4;
	background-color: #f4f4f4;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}

div.jqi .jqibuttons button{
	margin: 0;
	padding: 15px 20px;
	background-color: transparent;
	font-weight: normal;
	border: none;
	border-left: solid 1px #e4e4e4;
	color: #777;
	font-weight: bold;
	font-size: 12px;
}

div.jqi .jqibuttons button.jqidefaultbutton{
	color: #489afe;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus{
	color: #287ade;
	outline: none;
}

div.jqi .jqibuttons button[disabled]{
	color: #aaa;
}

.jqiwarning .jqi .jqibuttons{
	background-color: #b95656;
}

/* sub states */
div.jqi .jqiparentstate::after{
	background-color: #777;
	opacity: 0.6;
	filter: alpha(opacity=60);
	content: '';
	position: absolute;
	top:0;left:0;bottom:0;right:0;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

div.jqi .jqisubstate{
	position: absolute;
	top:0;
	left: 20%;
	width: 60%;
	padding: 7px;
	border: solid 1px #eeeeee;
	border-top: none;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}

div.jqi .jqisubstate .jqibuttons button{
	padding: 10px 18px;
}

/* arrows for tooltips/tours */
.jqi .jqiarrow{
 position: absolute; height: 0; width:0; line-height: 0; font-size: 0; border: solid 10px transparent;
}

.jqi .jqiarrowtl{
 left: 10px; top: -20px; border-bottom-color: #ffffff;
}

.jqi .jqiarrowtc{
 left: 50%; top: -20px; border-bottom-color: #ffffff; margin-left: -10px;
}

.jqi .jqiarrowtr{
 right: 10px; top: -20px; border-bottom-color: #ffffff;
}

.jqi .jqiarrowbl{
 left: 10px; bottom: -20px; border-top-color: #ffffff;
}

.jqi .jqiarrowbc{
 left: 50%; bottom: -20px; border-top-color: #ffffff; margin-left: -10px;
}

.jqi .jqiarrowbr{
 right: 10px; bottom: -20px; border-top-color: #ffffff;
}

.jqi .jqiarrowlt{
 left: -20px; top: 10px; border-right-color: #ffffff;
}

.jqi .jqiarrowlm{
 left: -20px; top: 50%; border-right-color: #ffffff; margin-top: -10px;
}

.jqi .jqiarrowlb{
 left: -20px; bottom: 10px; border-right-color: #ffffff;
}

.jqi .jqiarrowrt{
 right: -20px; top: 10px; border-left-color: #ffffff;
}

.jqi .jqiarrowrm{
 right: -20px; top: 50%; border-left-color: #ffffff; margin-top: -10px;
}

.jqi .jqiarrowrb{
 right: -20px; bottom: 10px; border-left-color: #ffffff;
}

/** Impromptu End */


/* =========================================================
   MONKEYISLAND.IT - TEMA PIRATI CSS
   Versione senza texture decorative esterne
   Legno/pergamena ottenuti con gradienti CSS.
   Le immagini funzionali (sprite, icone, logo, spinner, ecc.)
   restano intatte.
   ========================================================= */

:root {
    --mi-wood-1: #1b0d06;
    --mi-wood-2: #2b160b;
    --mi-wood-3: #44240f;
    --mi-wood-4: #633718;

    --mi-parchment-1: #f4e2b3;
    --mi-parchment-2: #ead09a;
    --mi-parchment-3: #d7b56f;

    --mi-gold: #e5b23e;
    --mi-gold-light: #ffd66b;
    --mi-ink: #2a180c;
    --mi-border: #6f481e;
    --mi-border-dark: #170b05;
    --mi-link: #174f7c;
    --mi-link-hover: #8a3f12;
}

/* Sfondo generale */
html,
body {
    background:
        radial-gradient(circle at 20% 10%, rgba(27, 65, 102, .18), transparent 32%),
        linear-gradient(180deg, #081426 0%, #0c1c2d 38%, #171009 100%);
    color: var(--mi-ink);
}

body {
    overflow-x: hidden;
}

/* Contenitore e larghezze responsive */
#container {
    min-width: 0 !important;
    width: 100%;
}

.wrapper {
    width: min(94%, 1500px);
    min-width: 0 !important;
    max-width: 1500px;
    margin: 0 auto;
}

/* Logo: niente fondale bianco */
#logo {
    background: transparent;
    border-bottom: 0;
    padding: 10px 0;
}

.logo img,
#logo img {
    display: block;
    max-width: 400px !important;
    width: min(100%, 400px) !important;
    height: auto !important;
}

/* Area contenuti: pergamena morbida */
#content {
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.26), transparent 34%),
        radial-gradient(circle at 82% 72%, rgba(110,70,26,.09), transparent 38%),
        linear-gradient(135deg, var(--mi-parchment-1), var(--mi-parchment-2));
    color: var(--mi-ink);
    padding: 18px 10px;
    overflow-x: auto;
}

/* Link */
a:link,
a:visited {
    color: var(--mi-link);
}

a:hover,
a:active {
    color: var(--mi-link-hover);
}

/* Barre legno - SOLO CSS */
.thead,
.tcat,
#panel .upper,
a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.20)),
        linear-gradient(90deg,
            var(--mi-wood-1) 0%,
            var(--mi-wood-3) 20%,
            var(--mi-wood-2) 42%,
            var(--mi-wood-4) 70%,
            var(--mi-wood-1) 100%
        ) !important;

    color: var(--mi-gold-light) !important;
    border-color: var(--mi-border-dark) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        inset 0 -2px 4px rgba(0,0,0,.42),
        0 2px 4px rgba(0,0,0,.28);
}

.thead {
    border-bottom: 1px solid var(--mi-border-dark);
}

.tcat {
    border-top: 1px solid #7d4a20;
    border-bottom: 1px solid #120804;
}

/* Testi/link nelle barre */
.thead a:link,
.thead a:visited,
.thead a:hover,
.thead a:active,
.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active,
#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
    color: var(--mi-gold-light) !important;
}

/* Pergamena tabelle e pannelli */
.tborder,
.trow1,
.trow2,
.trow_sep,
.tfoot,
.bottommenu,
.pagination_breadcrumb,
.post .post_author,
.post_controls,
.editor,
.editor_control_bar,
.popup_menu,
blockquote,
.codeblock,
.modal,
div.jqi,
div.jqi .jqistate {
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 36%),
        radial-gradient(circle at 80% 75%, rgba(109,70,26,.08), transparent 42%),
        linear-gradient(135deg, var(--mi-parchment-1), var(--mi-parchment-2)) !important;

    color: var(--mi-ink);
    border-color: rgba(111,72,30,.55) !important;
}

.tborder {
    border: 1px solid var(--mi-border) !important;
    box-shadow:
        inset 0 0 16px rgba(89,50,17,.13),
        0 2px 5px rgba(0,0,0,.18);
}

.trow1,
.trow2 {
    border-color: rgba(111,72,30,.25) !important;
}

/* Riga separatrice leggermente più scura */
.trow_sep,
.tfoot,
.bottommenu,
.pagination_breadcrumb {
    background:
        linear-gradient(180deg, rgba(255,255,255,.14), rgba(118,73,24,.08)),
        linear-gradient(135deg, #ecd39b, #d8b76f) !important;
}

/* Campi form */
input.textbox,
textarea,
select {
    background:
        linear-gradient(180deg, #fff8df 0%, #f2dfad 100%) !important;
    color: var(--mi-ink);
    border: 1px solid #9b6a2d !important;
    box-shadow: inset 0 1px 3px rgba(83,48,16,.12);
}

/* Pulsanti senza buttons_bg.png */
button,
input.button,
.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
    background:
        linear-gradient(180deg, #6b3b1b 0%, #3e210f 52%, #261208 100%) !important;
    color: var(--mi-gold-light) !important;
    border: 1px solid #160b05 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.13),
        0 1px 3px rgba(0,0,0,.22);
}

button:hover,
input.button:hover,
.postbit_buttons > a:hover {
    filter: brightness(1.12);
}

/* Campo cerca */
#search input.button {
    background:
        linear-gradient(180deg, #6b3b1b 0%, #3a1e0e 100%) !important;
    color: var(--mi-gold-light) !important;
}

/* Poll bar senza pollbar.png */
.pollbar {
    background:
        linear-gradient(90deg, #bd7b24, #f0c65d) !important;
    border: 1px solid #5b3515;
}

/* Footer coerente */
#footer .upper,
#footer .lower {
    background:
        linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.18)),
        linear-gradient(90deg, #1b0d06, #3b1f0e, #1b0d06) !important;
    color: #d8bf82;
    border-color: #160b05 !important;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active,
#footer .lower a:link,
#footer .lower a:visited,
#footer .lower a:hover,
#footer .lower a:active {
    color: var(--mi-gold-light);
}

/* Avvisi: restano distinguibili */
.red_alert,
.pm_alert,
div.error {
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

/* Responsive */
@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    #container,
    .wrapper {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .wrapper {
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
    }

    #content {
        padding: 10px 6px;
        overflow-x: auto;
    }

    #logo {
        padding-left: 8px;
        padding-right: 8px;
    }

    .logo img,
    #logo img {
        width: min(100%, 400px) !important;
        max-width: 400px !important;
        height: auto !important;
    }

    table {
        max-width: 100%;
    }

    .tborder {
        width: 100% !important;
    }

    #header ul.menu li {
        display: inline-block;
        margin: 4px 5px;
    }

    #panel .lower ul.panel_links,
    #panel .lower ul.user_links {
        float: none;
        text-align: left;
    }

    #search {
        float: none;
        margin-top: 8px;
    }

    .post.classic .post_author,
    .post.classic .post_content {
        float: none;
        width: auto;
        margin-right: 0;
        border-left: 1px solid rgba(111,72,30,.35);
    }
}

@media (max-width: 600px) {
    body,
    table {
        font-size: 12px;
    }

    .thead,
    .tcat {
        padding: 6px;
    }

    #content {
        padding: 8px 4px;
    }

    #header ul.menu li {
        margin: 3px;
    }

    .post_body {
        font-size: 13px;
    }
}


@media screen and (max-width: 900px) {

    body {
        background-attachment: scroll;
        background-size: auto 650px;
        background-position: top center;
    }

    #container {
        width: 100%;
        min-width: 0 !important;
    }

    .wrapper {
        width: 96%;
        min-width: 0 !important;
        max-width: 100%;
    }

    #content {
        padding: 10px 5px;
    }

    .logo img,
    #logo img {
        max-width: 400px !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* =========================
   MOSTRA LO SFONDO PIRATA
   ========================= */

html,
body {
    background-color: #061729 !important;
}

body {
    background-image: url(../../../images/pirate/pirate-background.png) !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: 100% auto !important;
    background-attachment: fixed !important;
}

#container,
#content,
.wrapper {
    background: transparent !important;
}

/* Evita grandi pannelli beige dietro alle sezioni */
#content {
    background-color: transparent !important;
}

#container {
    background-color: transparent !important;
}

#header,
#logo {
    background: transparent !important;
}

/* =========================================
   MONKEYISLAND - RIFINITURA HEADER E CHAT
   ========================================= */

/* MENU SUPERIORE */
#header ul.menu {
    background:
        linear-gradient(
            180deg,
            rgba(70, 34, 14, .96) 0%,
            rgba(35, 15, 6, .98) 100%
        );

    border-top: 1px solid #7a481f;
    border-bottom: 1px solid #140904;

    padding: 8px 10px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 2px 4px rgba(0,0,0,.35);
}

#header ul.menu li a {
    color: #f0c55a !important;
    font-weight: bold;
    text-shadow: 0 1px 1px #000;
}

#header ul.menu li a:hover {
    color: #ffd974 !important;
    text-decoration: none;
}

/* PANNELLO UTENTE */
#panel .lower {
    background:
        linear-gradient(
            180deg,
            #f4e3b4 0%,
            #e8cb8e 100%
        ) !important;

    color: #4a2b12 !important;

    border-top: 1px solid #c3914d;
    border-bottom: 1px solid #8b5b2c;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35);
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
    color: #5d3416 !important;
    font-weight: bold;
}

/* BARRA SUPERIORE LOGIN */
#panel .upper {
    background:
        linear-gradient(
            180deg,
            #5a2e14 0%,
            #2d1408 100%
        ) !important;

    color: #f4c65d !important;

    border-top: 1px solid #78411c;
    border-bottom: 1px solid #120704;
}

#panel .upper a {
    color: #ffd66a !important;
}

/* CHAT - CONTENITORE PRINCIPALE */
#mi_chat,
.chat,
.chatbox,
[id*="chat"] {
    border-color: #704019 !important;
}

/* CHAT - TESTATA */
#mi_chat .thead,
.chat .thead,
.chatbox .thead {
    background:
        linear-gradient(
            180deg,
            #5d2f12 0%,
            #321407 100%
        ) !important;

    color: #ffd66a !important;
}

/* CHAT - AREA MESSAGGI */
#mi_chat .trow1,
#mi_chat .trow2,
.chat .trow1,
.chat .trow2,
.chatbox .trow1,
.chatbox .trow2 {
    background:
        linear-gradient(
            135deg,
            rgba(247,232,187,.96),
            rgba(233,205,145,.96)
        ) !important;

    color: #2b190c !important;
}

/* CAMPI CHAT */
input.textbox,
textarea {
    background:
        linear-gradient(
            180deg,
            #fff7dc 0%,
            #f1dfad 100%
        ) !important;

    color: #2b190c !important;
    border: 1px solid #9a6b32 !important;
}

/* BOTTONE INVIA */
input.button,
button {
    background:
        linear-gradient(
            180deg,
            #6b3515 0%,
            #3a1808 100%
        ) !important;

    color: #ffd66a !important;
    border: 1px solid #180904 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 1px 3px rgba(0,0,0,.30);
}

/* =========================================================
   MONKEYISLAND - RIFINITURA HEADER, PANEL E CHAT
   ========================================================= */

/* --- MENU SUPERIORE --- */
#header ul.menu {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.025) 0px,
            rgba(255,255,255,.025) 1px,
            rgba(0,0,0,.03) 2px,
            rgba(0,0,0,.03) 4px
        ),
        linear-gradient(
            180deg,
            #5b2e14 0%,
            #3b1b0c 55%,
            #241006 100%
        ) !important;

    border-top: 1px solid #7b4820;
    border-bottom: 1px solid #130804;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 4px rgba(0,0,0,.35);

    padding: 8px 12px;
}

/* link menu */
#header ul.menu li a {
    color: #f1c65b !important;
    font-weight: bold;
    text-shadow: 0 1px 1px #000;
}

#header ul.menu li a:hover {
    color: #ffe083 !important;
    text-decoration: none;
}


/* --- PANNELLO UTENTE: barra chiara a pergamena --- */
#panel .lower {
    background:
        linear-gradient(
            180deg,
            #f4e4b8 0%,
            #e5c887 100%
        ) !important;

    color: #4a2a12 !important;

    border-top: 1px solid #cf9d57 !important;
    border-bottom: 1px solid #8f5f2d !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.38);
}

/* togli i blocchi scuri dietro ai link del pannello */
#panel .lower ul,
#panel .lower li,
#panel .lower a {
    background: transparent !important;
    box-shadow: none !important;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
    color: #5b3518 !important;
    font-weight: bold;
}

/* separazione delicata tra i link */
#panel .lower ul.panel_links li,
#panel .lower ul.user_links li {
    padding: 0 8px;
}


/* --- BARRA LOGIN / BENTORNATO --- */
#panel .upper {
    background:
        linear-gradient(
            180deg,
            #5a2c13 0%,
            #301308 100%
        ) !important;

    color: #f5cd69 !important;

    border-top: 1px solid #7a451e !important;
    border-bottom: 1px solid #120704 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 3px rgba(0,0,0,.30);
}

#panel .upper a {
    color: #ffd76d !important;
}


/* =========================================================
   CHAT
   ========================================================= */

/* contenitore chat */
#content .tborder:first-of-type {
    border: 1px solid #74451c !important;
    background: #e9cd90 !important;

    box-shadow:
        0 2px 6px rgba(0,0,0,.30);
}

/* testata chat */
#content .tborder:first-of-type .thead {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.025) 0px,
            rgba(255,255,255,.025) 1px,
            rgba(0,0,0,.03) 2px,
            rgba(0,0,0,.03) 4px
        ),
        linear-gradient(
            180deg,
            #613417 0%,
            #3c1c0c 60%,
            #241006 100%
        ) !important;

    color: #ffd66a !important;

    border-bottom: 1px solid #170904 !important;
}

/* area messaggi chat */
#content .tborder:first-of-type .trow1,
#content .tborder:first-of-type .trow2 {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,.23),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f5e5b8 0%,
            #ecd29a 100%
        ) !important;

    color: #2b190c !important;
}

/* testo secondario nella chat */
#content .tborder:first-of-type .smalltext {
    color: #6e4b28 !important;
}

/* campo messaggio chat */
#content .tborder:first-of-type input.textbox,
#content .tborder:first-of-type textarea {
    background:
        linear-gradient(
            180deg,
            #fff7dc 0%,
            #efdbab 100%
        ) !important;

    color: #2b190c !important;

    border: 1px solid #9b6a2e !important;

    box-shadow:
        inset 0 1px 3px rgba(90,52,18,.14);
}

/* bottone invia chat */
#content .tborder:first-of-type input.button,
#content .tborder:first-of-type button {
    background:
        linear-gradient(
            180deg,
            #6b3717 0%,
            #3d1c0b 55%,
            #241006 100%
        ) !important;

    color: #ffd66a !important;

    border: 1px solid #180904 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 1px 3px rgba(0,0,0,.30);
}

.thead .smalltext,
.thead .smalltext a,
.thead span,
.thead div {
    color: #f3c965;
}

.thead .smalltext {
    text-shadow: 0 1px 1px rgba(0,0,0,.75);
}

.tcat,
.tcat a {
    color: #f6cf72 !important;
    text-shadow: 0 1px 1px #000;
}

/* =========================================================
   MONKEYISLAND - CHAT RT
   ========================================================= */

.rt_chat-container {
    background:
        linear-gradient(
            135deg,
            #f5e5b8 0%,
            #ecd29a 100%
        ) !important;

    border: 1px solid #74451c !important;
    border-radius: 4px;

    box-shadow:
        0 2px 6px rgba(0,0,0,.30),
        inset 0 0 14px rgba(92,52,17,.10);

    overflow: hidden;
}


/* TESTATA CHAT */
.rt_chat-header {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.025) 0px,
            rgba(255,255,255,.025) 1px,
            rgba(0,0,0,.035) 2px,
            rgba(0,0,0,.035) 4px
        ),
        linear-gradient(
            180deg,
            #613417 0%,
            #421f0d 55%,
            #271006 100%
        ) !important;

    color: #ffd66a !important;

    border-bottom: 1px solid #170904 !important;

    padding: 10px 12px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 4px rgba(0,0,0,.35);
}


/* TITOLO CHAT */
.rt_chat-header b,
.rt_chat-header strong,
.rt_chat-header a,
.rt_chat-header span {
    color: #ffd66a !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.85);
}


/* AREA CENTRALE CHAT */
.rt_chat-container > div:not(.rt_chat-header) {
    color: #2b190c;
}


/* CAMPI DI SCRITTURA DENTRO CHAT */
.rt_chat-container input[type="text"],
.rt_chat-container textarea {
    background:
        linear-gradient(
            180deg,
            #fff8df 0%,
            #efdbab 100%
        ) !important;

    color: #2b190c !important;

    border: 1px solid #9b6a2e !important;

    box-shadow:
        inset 0 1px 3px rgba(90,52,18,.14);

    border-radius: 3px;
}


/* PULSANTI CHAT */
.rt_chat-container button,
.rt_chat-container input[type="submit"],
.rt_chat-container input.button {
    background:
        linear-gradient(
            180deg,
            #6b3717 0%,
            #3d1c0b 55%,
            #241006 100%
        ) !important;

    color: #ffd66a !important;

    border: 1px solid #180904 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 1px 3px rgba(0,0,0,.30);

    border-radius: 3px;
}


/* LINK NELLA CHAT */
.rt_chat-container a {
    color: #195987;
}

.rt_chat-container a:hover {
    color: #8a3f12;
}

/* =========================================================
   MONKEYISLAND - RIFINITURA FINALE COLORI
   ========================================================= */

/* Pergamena chat più naturale */
.rt_chat-container {
    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(255,255,255,.24),
            transparent 32%
        ),
        radial-gradient(
            circle at 82% 75%,
            rgba(103,62,22,.08),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #f4e2b1 0%,
            #ebd09a 55%,
            #dfbd79 100%
        ) !important;
}

/* Campo scrittura chat più pergamena */
.rt_chat-container input[type="text"],
.rt_chat-container textarea {
    background:
        linear-gradient(
            180deg,
            #fff4cf 0%,
            #ead19a 100%
        ) !important;

    border: 1px solid #936128 !important;

    color: #2a180c !important;
}

/* Forum: pergamena leggermente più calda */
.trow1 {
    background:
        linear-gradient(
            135deg,
            #f3dfad 0%,
            #e8ca8b 100%
        ) !important;
}

.trow2 {
    background:
        linear-gradient(
            135deg,
            #edd59c 0%,
            #dfbd78 100%
        ) !important;
}

/* Titoli e testi secondari delle barre */
.thead,
.thead a,
.thead .smalltext,
.thead span,
.thead div {
    color: #f2c760 !important;
}

/* sottobarra */
.tcat,
.tcat a {
    color: #efc35b !important;
}

/* descrizioni forum più leggibili */
.thead .smalltext {
    opacity: .95;
    text-shadow: 0 1px 1px rgba(0,0,0,.65);
}

/* bordi forum più caldi */
.tborder {
    border-color: #6c3e18 !important;
}

/* =========================================
   MIGLIORA CONTRASTO TESTI SU LEGNO
   ========================================= */

.thead,
.thead a,
.thead span,
.thead div,
.thead .smalltext {
    color: #f3c85f !important;
}

.thead .smalltext {
    text-shadow: 0 1px 1px rgba(0,0,0,.75);
}

.tcat,
.tcat a,
.tcat span,
.tcat div {
    color: #f0c45b !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.75);
}

/* descrizioni sotto i titoli delle sezioni */
.thead .smalltext,
.thead .smalltext a {
    color: #efc35a !important;
}

.trow1,
.trow2,
.rt_chat-container {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255,255,255,.22),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(100,60,20,.08),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #f3dfad,
            #e8c98a
        ) !important;
}

.thead,
.tcat,
.rt_chat-header,
#header ul.menu {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 4px rgba(0,0,0,.35),
        0 1px 3px rgba(0,0,0,.25);
}

/* Testi secondari nelle intestazioni forum */
.thead,
.thead * {
    color: #f1c45d !important;
}

.thead a,
.thead a:link,
.thead a:visited,
.thead a:hover,
.thead a:active {
    color: #ffd66a !important;
}

.thead {
    text-shadow: 0 1px 1px rgba(0,0,0,.75);
}

.tcat,
.tcat * {
    color: #eec15b !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.75);
}

.navigation,
.navigation .active {
    color: #e8b84e !important;
    text-shadow: 0 1px 2px #000;
}

/* =========================================
   MENU ALTO: BARRA SOLO LARGA QUANTO I LINK
   ========================================= */

#logo ul.menu.top_links {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;

    float: right !important;

    margin: 0 !important;
    padding: 8px 12px !important;

    list-style: none !important;

    background:
        linear-gradient(
            180deg,
            #5b2e14 0%,
            #3b1b0c 55%,
            #241006 100%
        ) !important;

    border: 1px solid #160904 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 4px rgba(0,0,0,.35),
        0 2px 4px rgba(0,0,0,.30);
}

#logo ul.menu.top_links li {
    display: inline-block !important;
    margin: 0 8px !important;
}

/* =========================================
   PANNELLO UTENTE - TESTO PIU' LEGGERO
   E ICONE ORIGINALI RIPRISTINATE
   ========================================= */

#panel .lower ul.panel_links,
#panel .lower ul.user_links {
    border: 0 !important;
}

#panel .lower ul.panel_links li,
#panel .lower ul.user_links li {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 10px !important;
}

/* testo meno spesso */
#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
    font-weight: normal !important;
    color: #4d2b13 !important;
    text-shadow: none !important;
    border: 0 !important;
    text-decoration: none !important;
}

/* ripristino sprite/icona originale */
#panel .lower ul.panel_links a {
    padding-left: 20px !important;
    background-image: url(../../../images/headerlinks_sprite.png) !important;
    background-repeat: no-repeat !important;
}

/* posizioni originali MyBB */
#panel .lower ul.panel_links a.usercp {
    background-position: 0 -120px !important;
}

#panel .lower ul.panel_links a.modcp {
    background-position: 0 -140px !important;
}

#panel .lower ul.panel_links a.admincp {
    background-position: 0 -160px !important;
}

/* link a destra senza icone forzate */
#panel .lower ul.user_links li a {
    padding-left: 0 !important;
    background-image: none !important;
}

/* niente linee sopra/sotto */
#panel .lower,
#panel .lower ul,
#panel .lower li,
#panel .lower a {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* =========================================
   MENU ALTO SOSPESO E SEMITRASPARENTE
   ========================================= */

#logo ul.menu.top_links {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;

    float: right !important;

    margin: 0 !important;
    padding: 7px 12px !important;

    list-style: none !important;

    background:
        linear-gradient(
            180deg,
            rgba(24, 15, 10, .55) 0%,
            rgba(18, 10, 6, .82) 100%
        ) !important;

    border: 1px solid rgba(152, 94, 35, .45) !important;

    border-radius: 3px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 2px 6px rgba(0,0,0,.30);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#logo ul.menu.top_links li {
    display: inline-block !important;
    margin: 0 9px !important;
}

#logo ul.menu.top_links li a {
    color: #efc45d !important;
    font-weight: normal !important;
    text-shadow:
        0 1px 2px rgba(0,0,0,.95);

    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#logo ul.menu.top_links li a:hover {
    color: #ffe28a !important;
    text-decoration: none !important;
}

/* =========================================
   PANNELLO UTENTE - STILE PIU' MORBIDO
   ========================================= */

#panel .lower {
    background:
        linear-gradient(
            180deg,
            #e6cf98 0%,
            #d8b977 100%
        ) !important;

    color: #4b2a13 !important;

    border-top: 1px solid #b88945 !important;
    border-bottom: 1px solid #8a5a29 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22);
}


/* testo più elegante e meno pesante */
#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
    color: #4a2812 !important;
    font-weight: normal !important;
    text-shadow: none !important;
    text-decoration: none !important;
}


/* dimensione leggermente più equilibrata */
#panel .lower ul.panel_links a,
#panel .lower ul.user_links a {
    font-size: 13px !important;
}


/* un po' di spazio ma senza linee */
#panel .lower ul.panel_links li,
#panel .lower ul.user_links li {
    margin: 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
}


/* niente righe decorative sopra/sotto */
#panel .lower ul,
#panel .lower li,
#panel .lower a {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* =========================================
   OVERRIDE DEFINITIVO PANNELLO UTENTE
   ========================================= */

#panel .lower {
    background: linear-gradient(
        180deg,
        #d9bc7a 0%,
        #caa565 100%
    ) !important;

    color: #3b210f !important;

    border: 0 !important;
    box-shadow: none !important;

    padding: 10px 18px !important;
}


/* TUTTI I LINK DEL PANNELLO */
#panel .lower ul.panel_links li a,
#panel .lower ul.user_links li a {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-weight: normal !important;

    color: #3a210f !important;

    text-shadow: none !important;
    text-decoration: none !important;

    border: 0 !important;
    box-shadow: none !important;

    line-height: 20px !important;
}


/* spaziatura */
#panel .lower ul.panel_links li,
#panel .lower ul.user_links li {
    margin: 0 12px !important;
    padding: 0 !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* niente righe sopra/sotto */
#panel .lower ul.panel_links,
#panel .lower ul.user_links,
#panel .lower ul,
#panel .lower li {
    border: 0 !important;
    box-shadow: none !important;
}


/* icone originali dei primi tre */
#panel .lower ul.panel_links a {
    padding-left: 22px !important;
    background-image: url(../../../images/headerlinks_sprite.png) !important;
    background-repeat: no-repeat !important;
}

#panel .lower ul.panel_links a.usercp {
    background-position: 0 -120px !important;
}

#panel .lower ul.panel_links a.modcp {
    background-position: 0 -140px !important;
}

#panel .lower ul.panel_links a.admincp {
    background-position: 0 -160px !important;
}


/* a destra niente sprite forzati */
#panel .lower ul.user_links li a {
    padding-left: 0 !important;
    background-image: none !important;
}

/* =========================================
   PANNELLO UTENTE - VERSIONE COMPATTA
   ========================================= */

#panel .lower {
    background:
        linear-gradient(
            180deg,
            #e3ca91 0%,
            #d3b16f 100%
        ) !important;

    color: #4a2a14 !important;

    padding: 5px 14px !important;

    border: 0 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22) !important;
}

/* blocchi sinistra/destra */
#panel .lower ul.panel_links,
#panel .lower ul.user_links {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* voci */
#panel .lower ul.panel_links li,
#panel .lower ul.user_links li {
    margin: 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* testo */
#panel .lower ul.panel_links li a,
#panel .lower ul.user_links li a {
    font-family: Tahoma, Verdana, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: normal !important;

    line-height: 18px !important;

    color: #4b2b16 !important;
    text-shadow: none !important;

    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

#panel .lower ul.panel_links a {
    padding-left: 20px !important;
    background-image: url(../../../images/headerlinks_sprite.png) !important;
    background-repeat: no-repeat !important;
}

#panel .lower ul.panel_links a.usercp {
    background-position: 0 -120px !important;
}

#panel .lower ul.panel_links a.modcp {
    background-position: 0 -140px !important;
}

#panel .lower ul.panel_links a.admincp {
    background-position: 0 -160px !important;
}

/* =========================================================
   MONKEY ISLAND - CHAT COMPLETAMENTE INTEGRATA
   ========================================================= */

/* Contenitore generale */
.rt_chat-container {
    background:
        linear-gradient(
            135deg,
            #f1d99f 0%,
            #e4c27d 100%
        ) !important;

    border: 1px solid #704019 !important;
    border-radius: 4px !important;

    box-shadow:
        0 2px 6px rgba(0,0,0,.35),
        inset 0 0 15px rgba(91,51,16,.10) !important;

    overflow: hidden !important;
}


/* Testata legno */
.rt_chat-header {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.018) 0px,
            rgba(255,255,255,.018) 1px,
            rgba(0,0,0,.025) 2px,
            rgba(0,0,0,.025) 4px
        ),
        linear-gradient(
            180deg,
            #653716 0%,
            #47220e 48%,
            #2b1207 100%
        ) !important;

    color: #f4c85e !important;

    border: 0 !important;
    border-bottom: 1px solid #160904 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 4px rgba(0,0,0,.35) !important;
}


/* Qualunque contenitore interno della zona messaggi */
.rt_chat-container .rt_chat-messages,
.rt_chat-container .rt_chat-content,
.rt_chat-container .rt_chat-body,
.rt_chat-container .messages {
    background: transparent !important;
}


/* =========================================================
   ELIMINA I RIQUADRI BIANCHI DEI MESSAGGI
   ========================================================= */

.rt_chat-container .message,
.rt_chat-container .rt_chat-message,
.rt_chat-container .chat-message,
.rt_chat-container .message-content,
.rt_chat-container .rt_chat-message-content {
    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    color: #2c190c !important;
}


/* Anche eventuali div/span interni che hanno background bianco */
.rt_chat-container .message div,
.rt_chat-container .rt_chat-message div,
.rt_chat-container .chat-message div {
    background-color: transparent !important;
}


/* Testo dei messaggi */
.rt_chat-container .message-text,
.rt_chat-container .rt_chat-message-text,
.rt_chat-container .chat-message-text {
    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    color: #29170b !important;

    padding: 3px 5px !important;
}


/* Nomi utenti */
.rt_chat-container .username,
.rt_chat-container .rt_chat-username,
.rt_chat-container .author {
    color: #6c390f !important;
    font-weight: bold !important;
}


/* Date */
.rt_chat-container .date,
.rt_chat-container .time,
.rt_chat-container .rt_chat-date,
.rt_chat-container .rt_chat-time {
    color: #8b714e !important;
}


/* Modifica / Elimina / Messaggio privato */
.rt_chat-container .smalltext,
.rt_chat-container .smalltext a {
    color: #8a6943 !important;
}


/* =========================================================
   PARTE INFERIORE DELLA CHAT
   ========================================================= */

.rt_chat-container form,
.rt_chat-container .rt_chat-footer,
.rt_chat-container .rt_chat-input,
.rt_chat-container .input-container {
    background:
        linear-gradient(
            180deg,
            #e9ce91 0%,
            #d9b66f 100%
        ) !important;

    border: 0 !important;
    border-top: 1px solid #9d6b30 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25) !important;
}


/* Campo "Scrivi il tuo messaggio..." */
.rt_chat-container input[type="text"],
.rt_chat-container textarea {
    background:
        linear-gradient(
            180deg,
            #f8e8bc 0%,
            #e8cb8b 100%
        ) !important;

    color: #321c0e !important;

    border: 1px solid #8a5826 !important;
    border-radius: 2px !important;

    box-shadow:
        inset 0 1px 3px rgba(77,42,13,.15) !important;
}


/* Placeholder */
.rt_chat-container input[type="text"]::placeholder,
.rt_chat-container textarea::placeholder {
    color: #806542 !important;
    opacity: 1;
}


/* Pulsante INVIA */
.rt_chat-container button,
.rt_chat-container input[type="submit"],
.rt_chat-container input.button {
    background:
        linear-gradient(
            180deg,
            #633315 0%,
            #39190a 58%,
            #241006 100%
        ) !important;

    color: #f4ca62 !important;

    border: 1px solid #160904 !important;
    border-radius: 3px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        0 1px 3px rgba(0,0,0,.30) !important;
}


/* Link nella chat */
.rt_chat-container a {
    color: #245a78;
}

.rt_chat-container a:hover {
    color: #7b3b13;
}

/* =========================================
   CHAT - GERARCHIA TESTI MIGLIORE
   ========================================= */

/* Testo del messaggio: più evidente */
.rt_chat-container .message-text,
.rt_chat-container .rt_chat-message-text,
.rt_chat-container .chat-message-text,
.rt_chat-container .message-content,
.rt_chat-container .rt_chat-message-content {
    color: #2a1608 !important;
    font-size: 14px !important;
    font-weight: 500 !important;

    background:
        linear-gradient(
            180deg,
            rgba(255, 248, 220, .55),
            rgba(233, 205, 145, .35)
        ) !important;

    border: 1px solid rgba(139, 91, 36, .35) !important;
    border-radius: 4px !important;

    padding: 6px 9px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18) !important;
}


/* Data e ora: marrone caldo, meno invasivi */
.rt_chat-container .date,
.rt_chat-container .time,
.rt_chat-container .rt_chat-date,
.rt_chat-container .rt_chat-time {
    color: #8a6638 !important;
    font-size: 11px !important;
    font-weight: normal !important;
}


/* Link sotto il messaggio: Modifica / Elimina / Privato */
.rt_chat-container .smalltext,
.rt_chat-container .smalltext a,
.rt_chat-container .message-actions,
.rt_chat-container .message-actions a {
    color: #7a4d22 !important;
    font-size: 11px !important;
    font-weight: normal !important;
    text-decoration: none !important;
}


/* Hover dei menu sotto */
.rt_chat-container .smalltext a:hover,
.rt_chat-container .message-actions a:hover {
    color: #b06a24 !important;
    text-decoration: underline !important;
}

/* =========================================
   CHAT - MESSAGGI PIU' LEGGIBILI
   ========================================= */

/* riquadro vero e proprio del messaggio */
.rt_chat-container .message-text,
.rt_chat-container .rt_chat-message-text,
.rt_chat-container .chat-message-text,
.rt_chat-container .message-content,
.rt_chat-container .rt_chat-message-content {
    background:
        linear-gradient(
            180deg,
            #fffdf4 0%,
            #f7efd9 100%
        ) !important;

    color: #2a180c !important;

    border: 1px solid #c7a66d !important;
    border-radius: 4px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.85),
        0 1px 2px rgba(82,45,14,.10) !important;

    padding: 7px 10px !important;
}


/* DATA / ORA */
.rt_chat-container .date,
.rt_chat-container .time,
.rt_chat-container .rt_chat-date,
.rt_chat-container .rt_chat-time {
    color: #8a5a2b !important;
    font-size: 11px !important;
    font-weight: normal !important;
    text-shadow: none !important;
}


/* MODIFICA / ELIMINA / MESSAGGIO PRIVATO */
.rt_chat-container .smalltext,
.rt_chat-container .smalltext a,
.rt_chat-container .message-actions,
.rt_chat-container .message-actions a {
    color: #7b4a22 !important;
    font-size: 11px !important;
    font-weight: normal !important;
    text-shadow: none !important;
    text-decoration: none !important;
}


/* hover menu sotto */
.rt_chat-container .smalltext a:hover,
.rt_chat-container .message-actions a:hover {
    color: #b06b27 !important;
    text-decoration: underline !important;
}

/* =========================================================
   MONKEY ISLAND - LEGNO UNICO PER TUTTE LE INTESTAZIONI
   ========================================================= */

.thead,
.tcat,
.rt_chat-header {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.025) 0px,
            rgba(255,255,255,.025) 1px,
            rgba(0,0,0,.035) 2px,
            rgba(0,0,0,.035) 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(120,65,25,.06) 0px,
            rgba(120,65,25,.06) 45px,
            rgba(30,12,5,.06) 46px,
            rgba(30,12,5,.06) 90px
        ),
        linear-gradient(
            180deg,
            #653619 0%,
            #4b250f 45%,
            #2d1408 100%
        ) !important;

    border-color: #1b0b04 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 4px rgba(0,0,0,.35) !important;
}

.thead,
.thead a,
.tcat,
.tcat a,
.rt_chat-header,
.rt_chat-header a {
    color: #f4c85e !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.85);
}

/* Descrizioni sotto i titoli */
.thead .smalltext,
.thead .smalltext *,
.thead div.smalltext,
.thead div.smalltext * {
    color: #e8bd62 !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.85) !important;
    opacity: 1 !important;
}

.thead > div:not(.expcolimage),
.thead > div:not(.expcolimage) a {
    color: #e8bd62 !important;
}

.tcat {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.018) 0px,
            rgba(255,255,255,.018) 1px,
            rgba(0,0,0,.035) 2px,
            rgba(0,0,0,.035) 4px
        ),
        linear-gradient(
            180deg,
            #3f1e0c 0%,
            #241006 100%
        ) !important;

    color: #efc35b !important;
}

/* =========================================================
   MONKEYISLAND - PALETTE E FONT DEL VECCHIO TEMA
   ========================================================= */

/* Font generale */
body,
table,
input,
textarea,
select,
button {
    font-family: Georgia, "Times New Roman", serif !important;
}

/* Colore testo generale */
body,
#container {
    color: #2d2115 !important;
}


/* =========================================================
   PANNELLO UTENTE
   ========================================================= */

#panel .lower {
    background:
        linear-gradient(
            to bottom,
            #f0ddaa 0%,
            #d9bd7f 100%
        ) !important;

    color: #4d351d !important;

    padding: 6px !important;

    border-top: 1px solid #fff1c7 !important;
    border-bottom: 2px solid #6d4622 !important;

    box-shadow:
        inset 0 -1px 0 rgba(78,47,20,.15) !important;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
    color: #5f3215 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    font-weight: normal !important;

    text-shadow: none !important;
}


/* =========================================================
   PERGAMENA DELLE RIGHE FORUM
   ========================================================= */

.trow1 {
    background:
        linear-gradient(
            90deg,
            #f2e2b6 0%,
            #f8ebc8 48%,
            #edd8a6 100%
        ) !important;

    color: #302113 !important;
}

.trow2 {
    background:
        linear-gradient(
            90deg,
            #ead4a1 0%,
            #f1dfb5 48%,
            #e3c88e 100%
        ) !important;

    color: #302113 !important;
}

.trow1,
.trow2 {
    border-color:
        #f7e8bd
        #b99459
        #b99459
        #f7e8bd !important;
}


/* Titoli forum */
.trow1 strong > a,
.trow2 strong > a {
    color: #7a3512 !important;
    font-size: 15px !important;
    font-weight: bold !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,.45);
}


/* Descrizioni */
.trow1 .smalltext,
.trow2 .smalltext {
    color: #4b3824 !important;
    line-height: 1.45 !important;
}


/* =========================================================
   CAMPI E INPUT
   ========================================================= */

input.textbox,
textarea,
select {
    background: #fff7df !important;
    color: #2d2115 !important;

    border: 1px solid #8b6638 !important;
    border-radius: 4px !important;

    box-shadow:
        inset 0 1px 3px rgba(72,44,18,.12) !important;

    font-family: Georgia, "Times New Roman", serif !important;
}


/* =========================================================
   PULSANTI
   ========================================================= */

button,
input.button {
    background:
        linear-gradient(
            to bottom,
            #754822 0%,
            #482b14 52%,
            #2d1a0c 100%
        ) !important;

    color: #ffd978 !important;

    border: 1px solid #a87535 !important;
    border-radius: 5px !important;

    text-shadow:
        1px 1px 1px #000 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 2px 4px rgba(0,0,0,.22) !important;
}

/* =========================================================
   FONT VECCHIO TEMA - HEADER E PANNELLO UTENTE
   ========================================================= */

/* Barra "Bentornato... ultima visita... Logout" */
#panel .upper,
#panel .upper *,
#panel .upper a {
    font-family: Georgia, "Times New Roman", serif !important;
}

/* Fascia Pannello utente / Moderazione / Amministrazione */
#panel .lower,
#panel .lower *,
#panel .lower a,
#panel .lower ul.panel_links li a,
#panel .lower ul.user_links li a {
    font-family: Georgia, "Times New Roman", serif !important;
}

/* Dimensioni simili al vecchio tema */
#panel .upper {
    font-size: 13px !important;
}

#panel .lower,
#panel .lower ul.panel_links li a,
#panel .lower ul.user_links li a {
    font-size: 13px !important;
    font-weight: normal !important;
}

/* Manteniamo in evidenza solo Bentornato e Logout */
#panel .upper strong,
#panel .upper b,
#panel .upper a.logout {
    font-weight: bold !important;
}

background: linear-gradient(
    to bottom,
    #4a2c16 0%,
    #2c190c 52%,
    #1c1008 100%
);
color: #f7df9b;

/* =========================================================
   TITOLI E DESCRIZIONI CATEGORIE - STILE VECCHIO TEMA
   ========================================================= */

/* Titolo: Quartier Generale, Retrogaming, ecc. */
.thead > strong,
.thead > b,
.thead > a,
.pirate-category-title {
    color: #f5c44d !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: bold !important;

    text-decoration: none !important;

    text-shadow:
        1px 2px 1px #271003,
        0 0 4px rgba(0,0,0,.70) !important;
}


/* Descrizione sotto il titolo */
.thead .smalltext,
.thead .smalltext *,
.pirate-category-desc,
.pirate-category-desc * {
    color: #f2ddaa !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: normal !important;

    line-height: 1.3 !important;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.65) !important;

    opacity: 1 !important;
}


/* Link dentro la descrizione */
.thead .smalltext a,
.pirate-category-desc a {
    color: #f2ddaa !important;
    font-weight: normal !important;
}


/* Hover del titolo */
.thead > a:hover,
.pirate-category-title:hover {
    color: #ffe28a !important;
}

/* =========================================================
   DESCRIZIONI CATEGORIE - PANNA SPORCO
   ========================================================= */

.thead .smalltext,
.thead .smalltext *,
.pirate-category-desc,
.pirate-category-desc *,
.thead > div:not(.expcolimage),
.thead > div:not(.expcolimage) * {
    color: #f2ddaa !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: normal !important;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.65) !important;

    opacity: 1 !important;
}

/* =========================================================
   CATEGORIE HOME - OVERRIDE DEFINITIVO TESTI
   ========================================================= */

/* Base della testata: tutto panna */
.thead,
.thead * {
    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;
    text-shadow: 1px 1px 0 rgba(0,0,0,.65) !important;
}


/* TITOLI:
   Quartier Generale / Retrogaming / Statistiche board */
.thead > strong,
.thead > b,
.thead strong,
.thead strong a,
.thead > a,
.thead .largetext,
.pirate-category-title {
    color: #f5c44d !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: bold !important;

    line-height: 1.25 !important;

    text-shadow:
        1px 2px 1px #271003,
        0 0 4px rgba(0,0,0,.70) !important;
}


/* DESCRIZIONI sotto il titolo */
.thead .smalltext,
.thead .smalltext *,
.thead div.smalltext,
.thead div.smalltext *,
.pirate-category-desc,
.pirate-category-desc * {
    color: #f2ddaa !important;

    font-size: 12px !important;
    font-weight: normal !important;

    line-height: 1.35 !important;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.70) !important;

    opacity: 1 !important;
}


/* Eventuali link dentro la descrizione */
.thead .smalltext a,
.pirate-category-desc a {
    color: #f2ddaa !important;
    font-weight: normal !important;
}

/* =========================================================
   CATEGORIE HOME - TITOLI E DESCRIZIONI CORRETTI
   ========================================================= */

/* TITOLI:
   Quartier Generale
   Retrogaming
   Statistiche board
*/
table.tborder thead td.thead > div > strong,
table.tborder thead td.thead > div > strong a {
    color: #f5c44d !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    font-weight: bold !important;

    line-height: 1.25 !important;

    text-shadow:
        1px 2px 1px #271003,
        0 0 4px rgba(0,0,0,.70) !important;

    text-decoration: none !important;
}


/* DESCRIZIONE ESATTA SOTTO IL TITOLO */
table.tborder thead td.thead > div > div.smalltext,
table.tborder thead td.thead > div > div.smalltext *,
table.tborder thead td.thead > div > div.smalltext a {
    color: #f2ddaa !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: normal !important;

    line-height: 1.35 !important;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.70) !important;

    opacity: 1 !important;
}

/* =========================================================
   FIX PRECISO CATEGORIE HOME
   ========================================================= */

/* TITOLI: Quartier Generale / Retrogaming / Statistiche board */
table.tborder > thead > tr > td.thead > div > strong {
    color: #f5c44d !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;

    text-shadow:
        1px 2px 1px #271003,
        0 0 4px rgba(0,0,0,.7) !important;
}


/* DESCRIZIONE ESATTA SOTTO AL TITOLO */
table.tborder > thead > tr > td.thead > div > div.smalltext {
    color: #f2ddaa !important;
    -webkit-text-fill-color: #f2ddaa !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: normal !important;

    line-height: 1.35 !important;
    opacity: 1 !important;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.65) !important;
}


/* Se dentro la descrizione ci sono link, span, ecc. */
table.tborder > thead > tr > td.thead > div > div.smalltext *,
table.tborder > thead > tr > td.thead > div > div.smalltext a,
table.tborder > thead > tr > td.thead > div > div.smalltext span {
    color: #f2ddaa !important;
    -webkit-text-fill-color: #f2ddaa !important;
    font-weight: normal !important;
}

/* =========================================
   BARRA BENTORNATO - COLORI VECCHIO TEMA
   ========================================= */

/* Testo normale:
   Bentornato / La tua ultima visita è stata / Oggi / ora */
#panel .upper .welcome {
    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: normal !important;
    text-shadow: 1px 1px 0 rgba(0,0,0,.65) !important;
}

/* Nome utente: Guybrush16bit */
#panel .upper .welcome strong,
#panel .upper .welcome strong a {
    color: #f5c44d !important;
    font-weight: bold !important;
}

/* Data e ora */
#panel .upper .welcome span {
    color: #f2ddaa !important;
    font-weight: normal !important;
}

/* Logout */
#panel .upper .welcome a.logout {
    color: #f5c44d !important;
    font-weight: bold !important;
}

/* Hover logout */
#panel .upper .welcome a.logout:hover {
    color: #ffe28a !important;
}

/* =========================================
   BENTORNATO PANNA - SOLO USERNAME DORATO
   ========================================= */

/* Tutto il blocco strong parte panna */
#panel .upper .welcome > strong {
    color: #f2ddaa !important;
    font-weight: bold !important;
}

/* Solo il nome utente dentro strong resta dorato */
#panel .upper .welcome > strong > a {
    color: #f5c44d !important;
    font-weight: bold !important;
}

/* Testo normale dopo il nome */
#panel .upper .welcome {
    color: #f2ddaa !important;
}

/* Data */
#panel .upper .welcome > span {
    color: #f2ddaa !important;
}

/* Logout dorato */
#panel .upper .welcome > a.logout {
    color: #f5c44d !important;
    font-weight: bold !important;
}

/* =========================================
   FONT CORRETTO - PANNELLO INFERIORE
   ========================================= */

#panel .lower,
#panel .lower ul.menu,
#panel .lower ul.menu li,
#panel .lower ul.menu li a {
    font-family: Georgia, "Times New Roman", serif !important;
}

/* Dimensione e peso più coerenti col tema */
#panel .lower ul.panel_links li a,
#panel .lower ul.user_links li a {
    font-size: 13px !important;
    font-weight: normal !important;

    color: #5f3215 !important;

    text-shadow: none !important;
    text-decoration: none !important;
}

/* Hover */
#panel .lower ul.panel_links li a:hover,
#panel .lower ul.user_links li a:hover {
    color: #8d4a1e !important;
}

/* =========================================
   COLONNA "ULTIMO MESSAGGIO"
   ========================================= */

/* Titolo dell'ultimo thread */
.trow1[align="right"] a,
.trow2[align="right"] a {
    color: #7a3512 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

/* Hover */
.trow1[align="right"] a:hover,
.trow2[align="right"] a:hover {
    color: #bd6017 !important;
    text-decoration: underline !important;
}

/* Data, ora e autore */
.trow1[align="right"],
.trow2[align="right"] {
    color: #5c3a1c !important;
    font-family: Georgia, "Times New Roman", serif !important;
}

/* =========================================
   STATISTICHE - TITOLI PANNA SPORCO
   ========================================= */

.tcat,
.tcat a,
.tcat strong,
.tcat b {
    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;
    text-shadow: 1px 1px 0 rgba(0,0,0,.65) !important;
}

/* Titoli "Statistiche board" nelle barre principali */
.thead,
.thead a,
.thead strong,
.thead b {
    color: #f2ddaa !important;
}

/* =========================================================
   FOOTER / LEGENDA IN BASSO - TESTO LEGGIBILE
   ========================================================= */

/* Testo generale del footer */
#footer,
#footer .wrapper,
#footer .upper,
#footer .lower,
#footer span,
#footer div {
    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;

    text-shadow:
        1px 1px 2px #000,
        0 0 3px rgba(0,0,0,.85) !important;
}


/* Link del footer */
#footer a:link,
#footer a:visited {
    color: #e8bd62 !important;
    text-decoration: none !important;

    text-shadow:
        1px 1px 2px #000,
        0 0 3px rgba(0,0,0,.9) !important;
}

#footer a:hover,
#footer a:active {
    color: #ffe7a1 !important;
}


/* =========================================================
   LEGENDA FORUM IN BASSO A SINISTRA
   ========================================================= */

.forum_legend,
.forum_legend *,
.forumlegend,
.forumlegend * {
    color: #f2ddaa !important;

    font-family: Georgia, "Times New Roman", serif !important;

    text-shadow:
        1px 1px 2px #000,
        0 0 3px rgba(0,0,0,.9) !important;
}


/* Testi accanto alle icone di stato forum */
.forum_legend dt,
.forum_legend dd,
.forumlegend dt,
.forumlegend dd {
    color: #f2ddaa !important;
}

#debug,
#debug *,
#footer .debug,
#footer .debug * {
    color: #d9bd7f !important;

    text-shadow:
        1px 1px 2px #000,
        0 0 3px #000 !important;
}

/* Nome utente nella chat */
.rt_chat-message-author,
.rt_chat-message-author a,
.rt_chat-message-author span,
.rt_chat-message-author strong,
.rt_chat-message-author em {
    color: #7a3512 !important;
    -webkit-text-fill-color: #7a3512 !important;
}

/* =========================================
   CHAT - CORNICE AVATAR
   ========================================= */

.rt_chat-message-avatar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4px 8px 0 0;
}

/* cornice dell'avatar */
.rt_chat-message-avatar img {
    display: block;

    max-width: 54px !important;
    max-height: 54px !important;
    width: auto !important;
    height: auto !important;

    padding: 4px !important;

    background:
        linear-gradient(
            180deg,
            #fff7df 0%,
            #ead7ab 100%
        ) !important;

    border: 2px solid #9a6630 !important;
    border-radius: 8px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 2px 4px rgba(0,0,0,.28) !important;
}

.rt_chat-message-avatar img {
    border-radius: 50% !important;
}

/* =========================================
   CHAT - SCROLLBAR PIRATESCA
   ========================================= */

/* Firefox */
.rt_chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #8a531e #2a1408;
}


/* Chrome / Edge / Safari */
.rt_chat-messages::-webkit-scrollbar {
    width: 12px;
}

.rt_chat-messages::-webkit-scrollbar-track {
    background: #2a1408;
    border-left: 1px solid #5e3417;
}

.rt_chat-messages::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            90deg,
            #6e3a17 0%,
            #a76b2d 50%,
            #6e3a17 100%
        );

    border: 2px solid #2a1408;
    border-radius: 6px;
}

.rt_chat-messages::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            90deg,
            #8a4c1d 0%,
            #c1843c 50%,
            #8a4c1d 100%
        );
}


/* pulsanti/frecce sopra e sotto, se il browser li mostra */
.rt_chat-messages::-webkit-scrollbar-button {
    background: #4a250f;
}

/* =========================================================
   LEGNO OMOGENEO - TUTTE LE BARRE PRINCIPALI
   ========================================================= */

.thead,
.rt_chat-header {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 220, 150, .035) 0px,
            rgba(255, 220, 150, .035) 1px,
            rgba(20, 7, 2, .035) 2px,
            rgba(20, 7, 2, .035) 4px
        ),
        linear-gradient(
            180deg,
            #5b2d13 0%,
            #48210d 50%,
            #321507 100%
        ) !important;

    background-size: auto !important;
    background-repeat: repeat !important;

    border-color: #6b3b18 !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 215, 135, .12),
        inset 0 -2px 2px rgba(0, 0, 0, .28) !important;
}

/* Elimina eventuali texture verticali precedenti */
.pirate-category-head {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 220, 150, .035) 0px,
            rgba(255, 220, 150, .035) 1px,
            rgba(20, 7, 2, .035) 2px,
            rgba(20, 7, 2, .035) 4px
        ),
        linear-gradient(
            180deg,
            #5b2d13 0%,
            #48210d 50%,
            #321507 100%
        ) !important;
}

/* =========================================================
   SOTTOBARRE SCURE UNIFORMI
   Forum / Discussioni / Messaggi / Ultimo messaggio
   Chi è online / Statistiche board
   ========================================================= */

.tcat {
    background: #2b1408 !important;

    color: #f2ddaa !important;

    border-top: 1px solid #4a2712 !important;
    border-bottom: 1px solid #120904 !important;

    box-shadow: none !important;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.75) !important;
}


/* Link dentro le sottobarre */
.tcat a,
.tcat a:link,
.tcat a:visited {
    color: #f2ddaa !important;
    text-decoration: none !important;
}


/* Hover */
.tcat a:hover,
.tcat a:active {
    color: #ffe2a0 !important;
}

/* =========================================================
   SOTTOBARRE SCURE - STILE VECCHIO TEMA
   ========================================================= */

.tcat {
    background:
        linear-gradient(
            180deg,
            #2b160b 0%,
            #211006 48%,
            #170b04 100%
        ) !important;

    color: #f2ddaa !important;

    border-top: 1px solid #4a2a15 !important;
    border-bottom: 1px solid #0d0603 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        inset 0 -1px 0 rgba(0,0,0,.35) !important;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.8) !important;
}


/* testi e link */
.tcat a,
.tcat a:link,
.tcat a:visited,
.tcat strong,
.tcat b {
    color: #f2ddaa !important;
}


/* hover */
.tcat a:hover,
.tcat a:active {
    color: #ffe6aa !important;
}



/* =========================================
   FOOTER SEMPRE IN FONDO
   ========================================= */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
}

#container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1 0 auto;
}

#footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* =========================================
   UTENTI CHE STANNO VISITANDO IL FORUM
   ========================================= */

#content > .wrapper > span.smalltext {
    color: #f2ddaa !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: normal !important;

    text-shadow:
        1px 1px 1px rgba(0,0,0,.75) !important;
}


/* eventuali link/nome utente dentro la stessa riga */
#content > .wrapper > span.smalltext a,
#content > .wrapper > span.smalltext strong,
#content > .wrapper > span.smalltext span {
    color: #f2ddaa !important;
    -webkit-text-fill-color: #f2ddaa !important;
}

#content > .wrapper > span.smalltext a {
    color: #ffe0a0 !important;
    -webkit-text-fill-color: #ffe0a0 !important;
    font-weight: bold !important;
}

/* =========================================================
   FORUMDISPLAY - TESTI IN BASSO LEGGIBILI
   ========================================================= */

/* legenda a sinistra */
#content .wrapper .thread_legend,
#content .wrapper .thread_legend *,
#content .wrapper .forum_legend,
#content .wrapper .forum_legend * {
    color: #f2ddaa !important;
    text-shadow:
        1px 1px 2px #000,
        0 0 3px rgba(0,0,0,.85) !important;
}


/* blocchi strumenti in basso a destra */
#content .wrapper .float_right,
#content .wrapper .float_right *,
#content .wrapper .float_left,
#content .wrapper .float_left * {
    color: #f2ddaa !important;
}


/* link su sfondo scuro */
#content .wrapper .float_right a,
#content .wrapper .float_left a {
    color: #e8bd62 !important;
    text-decoration: none !important;
}

#content .wrapper .float_right a:hover,
#content .wrapper .float_left a:hover {
    color: #ffe6aa !important;
}


/* testi tipo Moderazione rapida / Cerca nel forum */
#content .wrapper strong,
#content .wrapper b {
    text-shadow: 1px 1px 2px rgba(0,0,0,.8);
}

#inlinemoderation_options_selector {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    background-color: #fff4d6 !important;
    color: #4a2a14 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;

    border: 1px solid #8b5a2b !important;
    border-radius: 4px !important;

    padding: 4px 28px 4px 8px !important;

    text-shadow: none !important;
}

#inlinemoderation_options_selector option,
#inlinemoderation_options_selector optgroup,
#inlinemoderation_options_selector optgroup option {
    color: #4a2a14 !important;
    background: #fff4d6 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    text-shadow: none !important;
}

/* SOLO combo box Moderazione rapida */
#content .wrapper .float_right #inlinemoderation_options_selector {
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    background-color: #fff4d6 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    text-shadow: none !important;
}

/* Voci normali */
#content .wrapper .float_right #inlinemoderation_options_selector option {
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;
    background-color: #fff4d6 !important;
}

/* Titolo "Strumenti standard" */
#content .wrapper .float_right #inlinemoderation_options_selector optgroup {
    color: #3d1e0d !important;
    -webkit-text-fill-color: #3d1e0d !important;
    background-color: #ead49d !important;
    font-weight: bold !important;
}

/* Voci dentro Strumenti standard */
#content .wrapper .float_right #inlinemoderation_options_selector optgroup option {
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;
    background-color: #fff4d6 !important;
    font-weight: normal !important;
}

/* =========================================
   COMBO "VAI AL FORUM"
   ========================================= */

#content .wrapper .float_right select.forumjump {
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    background-color: #fff4d6 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    text-shadow: none !important;
}

/* Voci normali */
#content .wrapper .float_right select.forumjump option {
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    background-color: #fff4d6 !important;
}

/* Gruppi tipo "Messaggi privati", "Pannello di controllo utente", ecc. */
#content .wrapper .float_right select.forumjump optgroup {
    color: #3d1e0d !important;
    -webkit-text-fill-color: #3d1e0d !important;

    background-color: #ead49d !important;

    font-weight: bold !important;
}

/* Voci dentro i gruppi */
#content .wrapper .float_right select.forumjump optgroup option {
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    background-color: #fff4d6 !important;

    font-weight: normal !important;
}

/* =========================================
   CAMPO "CERCA NEL FORUM"
   ========================================= */

#content .wrapper .float_right input.textbox[name="keywords"] {
    background: #fff4d6 !important;
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;

    border: 1px solid #8b5a2b !important;
    border-radius: 4px !important;

    text-shadow: none !important;
}

/* Placeholder, se presente */
#content .wrapper .float_right input.textbox[name="keywords"]::placeholder {
    color: #8a6a47 !important;
    -webkit-text-fill-color: #8a6a47 !important;
    opacity: 1 !important;
}

/* =========================================
   LINK NELLE LISTE FORUM - MARRONE/RAME
   ========================================= */

/* Titoli discussioni e nomi utenti nelle righe */
.trow1 a,
.trow2 a,
.forumdisplay_regular a,
.forumdisplay_sticky a {
    color: #7a3512 !important;
    text-decoration: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
}

/* Hover */
.trow1 a:hover,
.trow2 a:hover,
.forumdisplay_regular a:hover,
.forumdisplay_sticky a:hover {
    color: #a6531f !important;
    text-decoration: underline !important;
}

/* =========================================
   TITOLI DISCUSSIONI PIU' EVIDENTI
   ========================================= */

.forumdisplay_regular a.subject_new,
.forumdisplay_regular a.subject_old,
.forumdisplay_sticky a.subject_new,
.forumdisplay_sticky a.subject_old,
.trow1 .subject_new,
.trow1 .subject_old,
.trow2 .subject_new,
.trow2 .subject_old {
    font-weight: bold !important;
    color: #7a3512 !important;
	font-size: 14px !important;
}

/* =========================================
   POST - TESTI SECONDARI PIU' LEGGIBILI
   ========================================= */

/* "Questo messaggio è stato modificato..." */
.post .edited_post,
.post .edited_post *,
.post .post_edit,
.post .post_edit * {
    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 11px !important;
    font-weight: normal !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,.45) !important;
}


/* Riga "Indirizzo IP: Registrato" */
.post .post_meta,
.post .post_meta *,
.post .post_body + .post_meta,
.post .post_ip {
    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 11px !important;
    font-weight: normal !important;
}


/* Link tipo "Registrato" */
.post .post_meta a,
.post .post_ip a {
    color: #8a4a1e !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.post .post_meta a:hover,
.post .post_ip a:hover {
    color: #b05f22 !important;
    text-decoration: underline !important;
}

/* =========================================
   POST / RISPOSTA RAPIDA - TESTI SENZA OMBRA
   ========================================= */

.post,
.post *,
.post_head,
.post_body,
.post_meta,
.post_controls,
.quick_reply,
.quick_reply *,
#quick_reply_form,
#quick_reply_form * {
    text-shadow: none !important;
}

/* =========================================
   PRECEDENTE / SUCCESSIVO - FIX PRECISO
   ========================================= */

td.tfoot > div > strong,
td.tfoot > div > strong a,
td.tfoot > div > strong a:link,
td.tfoot > div > strong a:visited,
td.tfoot > div > strong a:hover,
td.tfoot > div > strong a:active {
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Colore pulito e coerente col tema */
td.tfoot > div > strong a {
    color: #5a2f16 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

td.tfoot > div > strong a:hover {
    color: #8a451c !important;
    text-decoration: underline !important;
}

/* =========================================
   TITOLO DELLA DISCUSSIONE
   es. "Mi Presento"
   ========================================= */

table.tborder.tfixed.clear td.thead > div > strong {
    color: #f5c44d !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    font-weight: bold !important;

    line-height: 1.2 !important;

    text-shadow: none !important;
}

/* =========================================================
   BREADCRUMBS - STILE PIRATI
   ========================================================= */

.navigation {
    display: inline-block !important;

    background: rgba(24, 12, 6, 0.72) !important;

    border: 1px solid rgba(165, 105, 42, 0.55) !important;
    border-radius: 4px !important;

    padding: 8px 12px !important;
    margin: 8px 0 12px 0 !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 2px 5px rgba(0,0,0,.28) !important;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}


/* Link dei breadcrumb */
.navigation a,
.navigation a:link,
.navigation a:visited {
    color: #f5c44d !important;
    font-weight: bold !important;
    text-decoration: none !important;

    text-shadow:
        1px 1px 1px rgba(0,0,0,.85) !important;
}


/* Hover */
.navigation a:hover,
.navigation a:active {
    color: #ffe8a8 !important;
    text-decoration: underline !important;
}


/* =========================================================
   BREADCRUMB - OVERRIDE FINALE TEMPORANEO
   ========================================================= */

.navigation {
    display: inline-block !important;
    float: left !important;

    background: rgba(24, 12, 6, 0.72) !important;

    border: 1px solid rgba(165, 105, 42, 0.55) !important;
    border-radius: 4px !important;

    padding: 4px 9px !important;

    margin-left: 20px !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14px !important;
    line-height: 18px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 2px 5px rgba(0,0,0,.28) !important;

    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;

    height: auto !important;
    min-height: 0 !important;
}


/* Link breadcrumb */
.navigation a,
.navigation a:link,
.navigation a:visited {
    color: #f5c44d !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14px !important;
    font-weight: bold !important;

    text-decoration: none !important;

    text-shadow:
        1px 1px 1px rgba(0,0,0,.85) !important;
}


/* Hover */
.navigation a:hover,
.navigation a:active {
    color: #ffe8a8 !important;
    text-decoration: underline !important;
}


/* Nasconde la posizione attuale */
.navigation .active {
    display: none !important;
}


/* Elimina lo spazio lasciato dalla posizione attuale */
.navigation br,
.navigation + br {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   BREADCRUMB + UTENTI CHE VISITANO IL FORUM
   Allineamento sulla stessa riga
   ========================================================= */

/* Solo quando dopo la navigation c'è la riga utenti */
#content .wrapper:has(> .navigation + br + span.smalltext) > .navigation {
    float: none !important;
    display: inline-block !important;

    margin-left: 20px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;

    vertical-align: middle !important;
}


/* Elimina il ritorno a capo tra breadcrumb e utenti */
#content .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br {
    display: none !important;
}


/* "Utenti che stanno visitando questo forum..." */
#content .wrapper
> .navigation + br + span.smalltext {
    display: inline-block !important;

    margin-left: 22px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;

    vertical-align: middle !important;

    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;

    text-shadow: none !important;
}


/* Nome utente */
#content .wrapper
> .navigation + br + span.smalltext a,
#content .wrapper
> .navigation + br + span.smalltext strong {
    color: #f2ddaa !important;
    font-weight: bold !important;
    text-shadow: none !important;
}

/* =========================================================
   RIDUCE LO SPAZIO TRA BREADCRUMB/UTENTI E LISTA DISCUSSIONI
   ========================================================= */

#content .wrapper:has(> .navigation + br + span.smalltext) > .navigation {
    margin-bottom: 0 !important;
}

#content .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br + span.smalltext {
    margin-bottom: 0 !important;
}

/* Riduce lo spazio prima della tabella/lista discussioni */
#content .wrapper:has(> .navigation + br + span.smalltext) table.tborder {
    margin-top: 4px !important;
}

/* =========================================================
   FORUMDISPLAY - BREADCRUMB + UTENTI COMPATTI
   E VICINI ALLA BARRA DEL FORUM
   ========================================================= */

/* Solo nelle pagine dove dopo il breadcrumb compare
   "Utenti che stanno visitando questo forum" */
#content > .wrapper:has(> .navigation + br + span.smalltext) {
    line-height: normal !important;
}


/* BREADCRUMB */
#content > .wrapper:has(> .navigation + br + span.smalltext)
> .navigation {
    float: none !important;
    display: inline-block !important;

    margin: 4px 0 3px 20px !important;
    padding: 4px 9px !important;

    vertical-align: middle !important;

    height: auto !important;
    min-height: 0 !important;
}


/* Toglie il BR tra breadcrumb e utenti */
#content > .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br {
    display: none !important;
}


/* UTENTI CHE STANNO VISITANDO... */
#content > .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br + span.smalltext {
    display: inline-block !important;

    margin: 4px 0 3px 22px !important;
    padding: 0 !important;

    vertical-align: middle !important;

    color: #f2ddaa !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    line-height: 18px !important;

    text-shadow: none !important;
}


/* Nome utente */
#content > .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br + span.smalltext a,
#content > .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br + span.smalltext strong {
    color: #f2ddaa !important;
    font-weight: bold !important;
    text-shadow: none !important;
}


/* QUESTO È IL PEZZO CHE CI MANCAVA:
   elimina il secondo BR, quello dopo la riga utenti */
#content > .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br + span.smalltext + br {
    display: none !important;

    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}


/* Avvicina la tabella/barra di legno immediatamente sotto */
#content > .wrapper:has(> .navigation + br + span.smalltext)
> .navigation + br + span.smalltext + br + table.tborder {
    margin-top: 3px !important;
}

/* =========================================================
   MODERAZIONE DISCUSSIONE - FIX COLORI DEFINITIVO
   ========================================================= */

#content .wrapper .float_right
form#moderator_options
select#moderator_options_selector {
    background: #fff4d6 !important;
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    text-shadow: none !important;
}


/* Tutte le option */
#content .wrapper .float_right
form#moderator_options
select#moderator_options_selector option {
    background: #fff4d6 !important;
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    font-weight: normal !important;
    text-shadow: none !important;
}


/* Option con classe option_mirage */
#content .wrapper .float_right
form#moderator_options
select#moderator_options_selector option.option_mirage {
    background: #fff4d6 !important;
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;
}


/* Titolo gruppo "Strumenti standard" */
#content .wrapper .float_right
form#moderator_options
select#moderator_options_selector optgroup {
    background: #ead49d !important;
    color: #3d1e0d !important;
    -webkit-text-fill-color: #3d1e0d !important;

    font-weight: bold !important;
}


/* Option dentro l'optgroup */
#content .wrapper .float_right
form#moderator_options
select#moderator_options_selector optgroup option,
#content .wrapper .float_right
form#moderator_options
select#moderator_options_selector optgroup option.option_mirage {
    background: #fff4d6 !important;
    color: #5a2f16 !important;
    -webkit-text-fill-color: #5a2f16 !important;

    font-weight: normal !important;
}

.rt_chat-message-author em {
    text-shadow: none !important;
}

/* =========================================
   ULTIMO MESSAGGIO - LINK SENZA OMBRA
   ========================================= */

.trow1[align="right"] a,
.trow2[align="right"] a,
.trow1[align="right"] a *,
.trow2[align="right"] a * {
    text-shadow: none !important;
	font-weight: bold !important;
}

/* =========================================
   STATISTICHE BOARD - LINK SENZA OMBRA
   ========================================= */

#boardstats a,
#boardstats a *,
.stats a,
.stats a *,
.trow1 a,
.trow2 a {
    text-shadow: none !important;
}

#content td.trow1 span.smalltext a span[style*="color: green"],
#content td.trow1 span.smalltext a span[style*="color: green"] strong,
#content td.trow1 span.smalltext a span[style*="color: green"] em {
    color: #7a3512 !important;
    -webkit-text-fill-color: #7a3512 !important;
    text-shadow: none !important;
}

#content td.trow1 span.smalltext a span[style*="color: green"] * {
    text-shadow: none !important;
}

/* =========================================
   STATISTICHE BOARD - USERNAME IN GRASSETTO
   Guybrush16bit + Sanba
   ========================================= */

#content td.trow1 span.smalltext a span[style*="color: green"],
#content td.trow1 span.smalltext a span[style*="color: green"] strong,
#content td.trow1 span.smalltext a span[style*="color: green"] em,
#content td.trow1 span.smalltext a,
#content td.trow1 a {
    color: #7a3512 !important;
    -webkit-text-fill-color: #7a3512 !important;

    font-weight: 700 !important;
    font-size: 14px !important;
	font-style: normal !important;

    text-shadow: none !important;
}

/* =========================================
   SOLO "INFORMAZIONI AVANZATE"
   ========================================= */

#debug a,
#debug a:link,
#debug a:visited {
    color: #f2ddaa !important;
    -webkit-text-fill-color: #f2ddaa !important;
    text-shadow: none !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

#debug a:hover,
#debug a:active {
    color: #ffe8b0 !important;
    text-decoration: underline !important;
}

/* =========================================================
   CHAT INGRANDITA - BREADCRUMB SOPRA LA CHAT
   ========================================================= */

#content > .wrapper:has(> .navigation + br + .rt_chat-container)
> .navigation {
    float: none !important;
    display: block !important;

    width: fit-content !important;
    clear: both !important;

    margin-left: 20px !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;
}

/* elimina il BR inutile tra breadcrumb e chat */
#content > .wrapper:has(> .navigation + br + .rt_chat-container)
> .navigation + br {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* la chat deve partire sotto al breadcrumb */
#content > .wrapper:has(> .navigation + br + .rt_chat-container)
> .rt_chat-container {
    clear: both !important;
    display: block !important;
    width: auto !important;
}

/* =========================================
   HOME PAGE - NASCONDE SOLO BREADCRUMB VUOTO
   ========================================= */

.navigation:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}

.navigation:empty + br {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fine tema MonkeyIsland.it */
