/****************************************************************************/
/* STILE DEL FORUM */

/* HELP:  */

/*Frame dei presenti*/

div.pagina_forum {
    width: 950px;
    height: 640px;
    background: url('imgs/forum/sfondoforum.png') no-repeat;
    margin:0 auto;
}

div.pagina_forum input, div.pagina_forum select {
    background: #deb887;
    color: #282424;
}

#ricerca_forum::placeholder {
    color: #282424;
}

/* The legacy search wrapper has inline offsets. Anchor it to the forum and
   reserve a footer inside the dark board, clear of the decorative frame. */
body div.pagina_forum:has(#ricerca_forum) {
    position: relative;
}

body div.pagina_forum:has(#ricerca_forum) div.elenco_record_gioco_forumm {
    height: 500px;
}

body div.pagina_forum > .page_body > div:has(> form #ricerca_forum) {
    bottom: 56px !important;
    left: 46px !important;
    width: min(430px, calc(100% - 92px)) !important;
    height: 28px !important;
    color: #deb887;
    font: 12px/1.4 'Lato', Verdana, sans-serif;
}

body div.pagina_forum form:has(#ricerca_forum) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body div.pagina_forum form:has(#ricerca_forum) > div {
    min-width: 0;
}

body div.pagina_forum :is(#ricerca_forum, #ricerca_bot) {
    box-sizing: border-box;
    height: 28px;
    margin: 0;
    border: 1px solid #b67738;
    border-radius: 4px;
    font: 12px/1.4 'Lato', Verdana, sans-serif;
}

body div.pagina_forum #ricerca_forum {
    width: 100%;
    min-width: 0;
    padding: 4px 9px;
    background: #e2c298;
    color: #282017;
}

body div.pagina_forum #ricerca_bot {
    width: auto;
    min-width: 62px;
    padding: 0 12px;
    background: #2a1c15;
    color: #ffe0ad;
    cursor: pointer;
}

body div.pagina_forum #ricerca_bot:hover {
    background: #412918;
    border-color: #f0b970;
}

body div.pagina_forum :is(#ricerca_forum, #ricerca_bot):focus-visible {
    outline: 2px solid #f0b970;
    outline-offset: 2px;
}

div.pagina_forum div.form_label {
    color: #deb887;
}

div.controllo_elenco input {
    background: transparent;
}

div.link_back_three div.form_submit input {
    background: transparent;
}

div.pagina_forum div.panels_box {
    border: none;
    margin-top: 10px;
    -moz-border-radius: 5px; /* Bordi arrotondati */
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

div.pagina_forum div.panels_box input {
    background: transparent;
    color: #deb887;
    border: solid 1px #deb887;
}

div.pagina_forum div.panels_box  div.form_submit input {
    background: #deb887;
    color: #282424;
    border: none;
}

div.pagina_forum div.panels_box_read {
    width: 810px;
    height: 550px;
    margin: 40px 0 0 42px;
    float: left;
}

div.pagina_forum div.panels_box table {
    width: 100%;
}

div.pagina_forum div.panels_box_read table {
    width: 96%;
    margin:0 auto;
}

div.pagina_forum div.panels_box_read div.scroll_forum_read table {
    width: 96%;
    margin:0 auto;
}

div.pagina_forum div.panels_box tr {
    margin: 2px;
}

div.capitolo_elenco_forum {
    font-size: 20px;
    text-align: center;
    font-family: 'Cinzel';
    text-transform: uppercase;
    font-weight: bolder;
    color: #e5ce7d;
    text-shadow: 1px 1px 2px black;
    width:100%;
    height:20px;
    padding: 5px 0 10px 0;
    margin: 0 auto;
    border-bottom: solid 1px #e5ce7d;
}

tr.forum_one_page{
	width:750px;
    height:35px;
	color: #DEB887;
    
}

div.elementi_elenco_forum{
	color:#DEB887;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;

}

div.elementi_elenco_forum a{
	color:#DEB887;
    font-size: 16px;
    text-transform: uppercase;
}

div.elementi_elenco_forum a:hover{
	color:#e5ce7d;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: normal;
}

div.forum_date_big {
    font-size: 14px;
    font-family: 'Cinzel';
    text-shadow: 2px 2px black;
    color: #e5ce7d;
    width: 300px;
    padding-top: 7px;
}

div.capitolo_elenco_forum_due_testa{
    width: 100%;
    height: 25px;
    text-align: center;
    font-family: 'Cinzel';
    font-size: 20px;
    color: #e5ce7d;
    padding-left: 5px;
    box-sizing: border-box;
}

div.forum_date_big_two {
    width: 185px;
    padding-top: 5px;
    padding-bottom:5px;
    color: #e5ce7d;
    font-size: 11px;
}

div.capitolo_elenco_forum_two{
    height: 20px;
    padding: 10px 0 2px 10px;
    font-family: 'Cinzel';
    font-size: 16px;
    color: #e5ce7d;
    border-bottom: solid 1px #deb887;
}

tr.sfondo_riga_forum{
    width:750px;
    text-align: left;
    border-bottom: solid 1px #deb887;
}

div.elementi_elenco_forum_aut{
    text-align: left;
    padding-left: 5px;
    min-width:100px;
    color: #FAEBD7;
}

div.elementi_elenco_forum_aut a {
    color: #FAEBD7;
}

td.casella_elemento_forum_two{
    font-size: 14px;
    background-color: transparent;
    text-align: left;
    padding: 10px 0 10px 0;
}

td.casella_elemento_tasti_two{
    font-size: 14px;
    background-color: transparent;
}

div.elementi_elenco_forum_cell{
    padding-left:5px;
    min-width:335px;
    max-width:400px;
}

div.elementi_elenco_forum_cell_two {
    padding-left: 5px;
    color: #FAEBD7;
}

div.elementi_elenco_forum_cell a:hover{
    color: #e5ce7d;
    text-decoration: none;
    font-weight: normal;
}

div.nuovi_right_forum{
    float:right;
    margin: 3px 3px 0 0;
}

span.scritta_importante{
    color: yellow;
}

input.tasti_controlli_forum{
    border:none;
    box-shadow:none;
    background:transparent;
}

div.elementi_elenco div.forum_date_big {
    width: auto;
}

div.forum_column {
    text-align: left;
    margin-top: 2px;
    height: 17px;
    max-width:400px;
    overflow: hidden;
    word-wrap: break-word;
    color: #FAEBD7;
}


div.link_back_three{
    width: 100px;
    height: 120px;
    background: transparent;
    border: none;
    text-align: center;
    display:inline;
}

div.link_back_two{
    width: 60px;
    height: 100px;
    text-align: center;
    margin: 0 auto;
    float: right;
    margin: 60px 35px 0 0;
}

div.link_back_two img{
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

div.forum_date_small {
    color: #DEB887;
    font-size: 11px;
    clear: both;
    padding-top: 5px;
}

div.forum_main_post {
    margin: 1px;
}

div.forum_other_posts {
    margin: 1px;
}

div.forum_post_header {
}

div.forum_post_body {
}

td.forum_main_title {
    text-align: center;
}

div.forum_post_title {
    padding: 5px;
    font-size: 18px;
    color: #e5ce7d;
    border: solid 1px #e5ce7d;
    text-align: center;
    background: #171306;
    box-shadow: 1px 1px #e5ce7d;
}

div.forum_post_message img{
    max-width:400px;
    margin: 5px auto;
}

div.scroll_forum_read{
	width:810px;
	height:510px;
    margin:0 auto;
	overflow:auto;
}

span.freccette_sugiu{
	float:right;
}

img.img_sugiu{
	width:17px;
    height:17px;
}

td.forum_main_post_author, td.forum_other_post_author {
    width: 120px;
    vertical-align: top;
}

td.bussolina {
   width: 50px;

}

td.casella_elemento_primoforum {
    width: 250px;

}

td.forum_main_post_message, td.forum_other_post_message {
    border: solid 1px #e5ce7d;
}

div.forum_post_author {
    border: solid 1px #e5ce7d;
    width: 120px;
    text-align: center;
    height: 160px;
    color: #deb887;
}

div.forum_post_author a {
    color: #e5ce7d;
}

td.forum_popup_post_message{
    border: solid 1px #e5ce7d;
}

div.forum_post_message {
    width:600px;
    margin: 0 auto;
    min-height: 134px;
    text-align: justify;
    padding: 10px;
    font-size: 15px;
    font-family: 'Lato';
    color: #D5CABB;
}

div.forum_post_message a{
    color: yellow;
    font-size: 15px;
    font-weight: bold;
}

div.forum_post_message a:hover{
    color: #DEB887;
    font-size: 15px;
    font-weight: bold;
}

div.forum_post_modify {
    font-size: 10px;
    text-align: center;
}

img.img_forum_avatar {
    margin-top: 5px;
    height: 100px;
    width: 100px;
    border: dotted 1px #FAEBD7;
    border-radius: 100%;
}

div.bb-quote{
    background: rgb(250,235,215,0.6);
    border: dashed 1px #FAEBD7;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 2px 2px 5px black;
    color: #282424;
    margin-top:10px;
}

div.bb-quote h2{
    font-size: 12px;
    font-variant: small-caps;
    color: #95D7D9;
    padding-bottom: 5px;
}

div.forum_post_modify_left{
    float:left;
    text-align: left;
    width:200px;
    margin-left: 10px;
    margin-bottom: 10px;
    padding-top: 50px;
}

div.forum_post_modify_right{
    float:right;
    text-align: right;
    width:300px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: #DEB887;
    font-size: 10px;
    padding-top: 50px;
}

img.icon_post_forum{
    width:20px;
    height: 20px;
    margin-right: 2px;
}

div.box_conversazione{
    height:220px;
    overflow:auto;
    margin-top: 10px;
}

input.via_messaggi{
    width: 40px;
    height: 40px;
    margin: 50px 40px 0 0;
    text-align: center;
    float: right;
    background: transparent !important;
    border: none;
}

div.elenco_record_gioco_forumm {
    width: 812px;
    height: 545px;
    margin: 41px 0 0 46px;
    float: left;
    overflow-x: hidden;
    overflow-y: auto;
}

div.elenco_record_gioco_forumm > table {
    width: 100%;
}

div.elenco_esteso_singoloforum {
    width: 800px;
    height: 555px;
    margin: 42px 0 0 42px;
    float: left;
    display: flex;
    flex-direction: column;
}

div.pager_forum {
   width: 100%;
   height: 30px;
   float: none;
   flex: 0 0 auto;
   text-align: center;
   text-transform: uppercase;
   color: #e5ce7d;
   padding-top: 10px;
}

div.pager_forum a {
   color: #deb887;
}

div.elenco_record_gioco_singoloforum {
    width: 815px;
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    float: left;
    overflow-x: hidden;
    overflow-y: auto;
}

div.elenco_record_gioco_singoloforum table{
    border-bottom: dashed 1px #DEB887;
    width: 100%;
}

div.warning_forum {
    width: 500px;
    height: 405px;
    margin: 100px 50px 0 50px;
    float: left;
    font-family: 'Agressive_Winter';
    font-size: 30px;
    color: #FAEBD7;
    text-align: center;
}

div.form_gioco_composer {
    width: 750px;
    height: 480px;
    padding: 40px 0 0 40px;
    float: left;
}

div.form_info_forum{
    color: #deb887;
}

div.form_field_composer {
    width: 750px;
    height: 320px;
}

input.invia_risptopic {
    width: 400px;
    height: 30px;
    color: #DEB887;
    border-radius: 20px;
    margin-top: 15px;
    margin-left: 150px;
}

div.cancella_tpic {
    width: 750px;
    height: 400px;
    padding: 60px 0 0 60px;
    font-family: 'Agressive_Winter';
    font-size: 20px;
}