#foto-container
{
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

#foto-container img
{
    border: 1px solid transparent;
}

div.imgtitle
{
    font-size: 12px;
    text-align: center;
}


.comment-container
{
    width: 80%;
    min-height: 120px;
}

.comment-avatar
{
    float: left;
    width: 100px;
    font-size: 64px;
    text-align: center;
    color: cadetblue;
}

.reply-avatar
{
    float: left;
    width: 100px;
    margin-left: 80px;
    font-size: 64px;
    text-align: center;
    color: cadetblue;
}



.comment
{
    width: 100%;
    margin-left: 20px;    
}


.reply
{
    width:100%;
    margin-left: 200px;
}


.comment-details
{
    width: 100%;
    border-bottom: 1px dotted #ccc;
    font-weight: bold;
    color: #999;
    margin-bottom:5px;
    padding: 5px;

}

.comment-form
{
    margin: 20px;
    padding: 5px;
    border-top: 3px solid #ccc;  
}


.pagination {
    float: none !important;
    text-align: center;
}

.avatar {
    border-radius:50%; 
    width:100px; 
    height:100px; 
    max-width:120px"
}

.image-unpublished {
    opacity: 0.2;
    filter: alpha(opacity=20);
}


/* Joomla 6 markup (com_fototj 6.0) */
.fototj-reply-target { background-color: #ffffcc; }
.fototj-avatar-placeholder { display: inline-block; font-size: 80px; line-height: 1; width: 100px; text-align: center; }
.fototj-reply { margin-left: 3rem; }

/* Vote form: the five scores in one row (the Bootstrap 2/3 ".radio input { position: absolute }" rule that
   covered the score labels was removed). */
#voteForm .radio { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
#voteForm .radio .form-check { margin: 0; }
#voteForm .radio .form-check-label { font-weight: bold; cursor: pointer; }

/* Pagination: the layouts wrap Joomla's ul.pagination in div.pagination; with Bootstrap 5 both are flex boxes,
   so the old "text-align: center" no longer centred the bar. */
.com_fototj div.pagination { display: block; padding-top: 1.5rem; }
.com_fototj div.pagination ul.pagination { flex-wrap: wrap; justify-content: center; }
