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

/* HELP:  */

/*Frame dei presenti*/

div.pagina_forum {
font-size: 14px;
}

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

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

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

div.forum_date_big {
    font-size: 10px;
    color: #a7a7a8;
    font-family: "DejaVu Serif";
    text-align: left;
    margin-top: 2px;
    padding-left: 15px;
    padding-top: 5px;
}

div.forum_date_big_right {
    font-size: 12px;
    color: #8f8f8f;
    font-family: "DejaVu Serif";
    text-align: center;
    margin-top: 2px;
    padding-top: 5px;
    letter-spacing: 0px;
}

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

div.forum_column {
    text-align: left;
    margin-top: 2px;
    padding-left: 15px;
    font-size: 12px;
    color: #a7a7a8;
    font-family: "DejaVu Serif";
}

div.forum_date_small {
    font-size: 10px;
    color: #a7a7a8;
    font-family: "DejaVu Serif";
    text-align: left;
    margin-top: 2px;
    padding-left: 15px;
    clear: both;
}

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 {
    font-size: 12px;
    letter-spacing: 0px;
    color: #a7a7a8;
    font-family: "DejaVu Serif";
    text-transform: uppercase; 
}

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

td.forum_main_post_message, td.forum_other_post_message {
    vertical-align: text-top;
}

div.forum_post_author {
    margin-bottom: 20px;
}

div.forum_post_message {
    text-align: left;
    padding: 10px;
    font-size: 13px;
    color: #8f8f8f;
    font-family: "DejaVu Sans";
}

div.forum_post_modify, a:link {
    font-size: 11px;
    letter-spacing: 2px;
    color: #a7a7a8;
    font-family: "DejaVu Serif";
    text-align: center;
    margin: 40px 0 20px 0;
    text-transform: uppercase; 
}

img.img_forum_avatar {
    height: 125px;
    width: 125px;
}

div.header_thread {
    font-size: 15px;
    text-align: center;
    color: #ce846f;
    font-family: "DejaVu Serif";
    text-transform: uppercase; 
}

.pagination { margin: 20px 0; }
.pagination a { 
    padding: 8px 16px; 
    margin: 0 4px; 
    border: 1px solid #ddd; 
    text-decoration: none;
    color: #007bff;
}
.pagination a.active { 
    background-color: #007bff; 
    color: white; 
    border: 1px solid #007bff;
}
.pagination a:hover:not(.active) { background-color: #ddd; }

/* Tablets (768px and up) */
@media screen and (max-width: 1024px) {
    div.pagina_forum {
        font-size: 13px;
    }
    
    div.forum_post_message {
        font-size: 12px;
        padding: 8px;
    }

    div.forum_post_modify, a:link {
        font-size: 10px;
    }

    img.img_forum_avatar {
        height: 100px;
        width: 100px;
    }

    div.header_thread {
        font-size: 14px;
    }
}

/* Smartphones (max-width: 768px) */
@media screen and (max-width: 768px) {
    div.pagina_forum {
        font-size: 12px;
    }
    
    div.forum_post_message {
        font-size: 11px;
        padding: 6px;
    }

    div.forum_post_modify, a:link {
        font-size: 9px;
        letter-spacing: 1px;
    }

    img.img_forum_avatar {
        height: 80px;
        width: 80px;
    }

    div.header_thread {
        font-size: 13px;
    }
    
    /* Adjust padding for small screens */
    div.forum_column,
    div.forum_date_big,
    div.forum_date_small {
        padding-left: 10px;
    }

    td.forum_main_post_author, td.forum_other_post_author {
        width: 10px;
    }
}

/* Small Smartphones (max-width: 480px) */
@media screen and (max-width: 480px) {
    div.pagina_forum {
        font-size: 11px;
    }

    div.forum_post_message {
        font-size: 10px;
        padding: 5px;
    }

    div.forum_post_modify, a:link {
        font-size: 8px;
    }

    img.img_forum_avatar {
        height: 60px;
        width: 60px;
    }

    div.header_thread {
        font-size: 12px;
    }
    
    /* Align text properly for small devices */
    div.forum_column,
    div.forum_date_big,
    div.forum_date_small {
        padding-left: 5px;
    }

    td.forum_main_post_author, td.forum_other_post_author {
        width: 8px;
    }

    div.forum_post_title {
        font-size: 10px;
    }
}