/*
 * www.develodesign.co.uk.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 *
 *
*/

body{
    background-color:#f9f9f9;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.main-forum-container {
    width: 100%;
    max-width: 1440px;
    padding-right: 55px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}

.forum-top-block {
}

.forum-user-avatar-container {
    position: relative;
}

.forum-customer-delete-avatar .label {
    position: absolute;
    right: -120px;
    bottom: 0;
}

.text-white {
    margin-left: 5px;
}

.text-white:hover,.forum-grid-controls button:hover,#quick-add-post:hover,.add-post:hover,.actions-toolbar .primary button:hover {
        background-color: rgb(46, 45, 45);
        color: white;
    }

    .forum-search-type-controls a.active, .forum-search-topic .forum-search-block-selected,.forum-search-post .forum-search-block-selected {
        background: rgb(46, 45, 45) !important;
        color: white;
        border-radius: 5px;
        padding: 5px;
    }

@media only screen and (min-width: 320px) {
    .search-forum-form {
        display: contents;
    }
}


.forum-title {
    font-size: 36px;
    font-weight: 700;
}

.forum-top-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media all and (min-width: 767px) {
    .forum-top-controls {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }
}

.forum-top-controls div {
    display: inline-flex;
    font-size: 15px;
    margin-left: 20px;
    align-items: center;
}

.forum-top-controls div img {
    max-height: 16px;
    margin-right: 5px;
}

.forum-top-controls .forum-top-controls-rss img {
    max-height: 12px;
}

/*** TOP BLOCK ***/
.forum-util {
    
}

.forum-search-container {
    float: left;
}

.forum-search-container .search-forum, .forum-search-container .actions {
    float: left;
}

.search-forum-form {
}

.search-forum-form input[type="text"] {
    width: auto;
}

.forum-content-container {
}

.forum-jumpto-container {
    float: right;
    margin-right: -4px;
}

.forum-util-bottom .forum-jumpto-container {
    padding-top: 1.5em;
}

.forum-jump-to-label {
    font-weight: bold;
    text-align: center;
}

.forum-rss-container {
    float: right;
    padding-left: 10px;
}

/*** GRID ***/
.forum-list-container {
}

.forum-list-container .grid-title {
    font-size: 20px;
    font-weight: bold;
}

.forum-grid-no-data {
    text-align: center;
    font-size: 2.2em;
    padding: 2em;
}

tbody{
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}


table.forum-grid {
}

table.forum-grid th {
    border: 1px solid #ddd;
    font-weight: bold;
    font-size: 18px;
}

table.forum-grid tbody td {
    border: 1px solid #ddd;
}

table.forum-grid > tbody > tr {
    margin-bottom: 25px;
}

/*** Forums ***/
.forum-grid.forum-list {
}

.forum-created {
    display: flex;
    flex-wrap: wrap;
}

.forum-created-time {
}

.dot-seperator {
    margin: 0 5px;
}

.forum-created-by a {
    color: #333333;
}

.forum-details {
    float: left;
}

.forum-icons {
    float: left;
    padding: 3px;
    margin-right: 5px;
    display: flex;
    flex-direction: row-reverse;
}

.forum-icons img {
    padding-right: 5px;
}

/*** PAGINATION ***/
.forum-toolbar {
}

.forum-toolbar .limiter {
    display: inline-block;
}

.forum-toolbar.toolbar .pages {
    display: inline;
}

.forum-myaccount-grid-container .forum-toolbar.toolbar .pages {
    display: block;
}

.forum-sort {
    margin: 5px 0;
}

.forum-sort a {
    color: #333333;
}

.forum-sort a.selected {
    font-weight: bold;
}

.forum-list-container.controls-exists h3.grid-title {
    float: left;
}

.forum-grid-controls {
    float: right;
    margin: 10px 0;
}

.forum-grid-controls button,#quick-add-post,.add-post {
    padding: 10px !important;
    background-color: black;
    color: white;
    border-radius: 9999px;
    font-weight: bold;
}

.actions-toolbar .primary button {
    padding: 5px 15px !important;
    background-color: black;
    color: white;
    border-radius: 9999px;
    font-weight: bold;
    display: inline-block;
}

/*** EDIT FORM ***/
.forum-edit-container {
}

.forum-edit-title {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

.forum-edit-form-container {
}

.topic-details input[type="text"],
.topic-details textarea {
    width: 450px;
}

.forum-topic-edit-icons {
}

.forum-icons-placeholder {
    float: left;
    min-width: 100px;
}

.forum-topic-edit-icons {
}

.forum-icons-placeholder {
    float: left;
    min-width: 150px;
}

.forum-avatar-image-container {
    text-align: center;
    
}

.forum-avatar-image {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #f0f0f0;
}

.forum-post-container {
    padding: 20px 10px;
}

.forum-user-data-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.forum-user-data-container span:first-of-type {
    margin-right: 10px
}

.forum-user-data-container span:not(:first-of-type):not(:last-of-type) {
    margin-right: 5px
}

.forum-user-total-posts,
.forum-user-nickname,
.forum-user-joined,
.forum-user-role {
    display: block;
    text-align: center;
    font-size: 15px;
}

.forum-user-joined span {
    font-weight: bold;
}

.forum-user-nickname a {
    color: #333333;
    font-weight: bold;
    font-size: 15px;
}

.forum-user-total-posts {
    font-size: 15px;
}

.forum-post-view-container {
    min-height: 200px;
}

.forum-user-signater {
    max-width: 80%;
    padding: 5px 0;
}

.total-posts-container,
.total-topics-container,
.total-views-container {
    display: block;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
}

.total-posts-container img,
.total-topics-container img,
.total-views-container img {
    width: 20px;
}

.forum-latest-reply {
display: flex;
align-items: baseline;
}

.forum-latest-reply img {
    margin: 5px;
    }

.forum-latest-reply-date {
}

.forum-latest-reply-user a {
    color: #333333;
}

.forum-display-description {
    color: #333333 !important;
    font-weight: bold;
    font-size: 18px;
    text-transform: capitalize;
    margin-right: 5px;
}

span.processed-time {
    margin-left: 5px;
    font-size: 13px;
    font-weight: bold;
}

.forum-topic-description {
    font-size: 13px;
}

.forum-statistic-block {
    margin-top: 1.75em;
}

.forum-statistic-block img {
    height: 20px;
}

.forum-statistic-block h4 {
    font-size: 20px;
    margin-bottom: 1rem;
}

.forum-statistic-block div {
}

.forum-who-is-online-block {
}

.forum-who-is-online-block img {
    height: 20px;
}

.forum-who-is-online-block h4 {
    font-size: 20px;
    margin-bottom: 1rem;
}

.forum-who-is-online-block div {
}

.forum-post-controls-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forum-post-posted-container {
    display: flex;
}

.forum-post-posted-container span {
    margin-right: 0.5em;
    font-size: 15px;
}

.forum-post-controls-container .forum-post-controls .forum-post-edit {
    margin-right: 1em;
}

.forum-post-controls-container .forum-post-controls a {
    margin: 0 0 0 10px;
}

.forum-post-controls {
    float: right;
}

.forum-posted-date {
    float: left;
    font-size: 15px;
}

.forum-post-content-container {
    font-size: 20px;
}

.forum-post-content-container p img {
    vertical-align: middle;
    padding: 0 5px;
}

.forum-post-controls a,
.forum-topic-controls a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.forum-post-view-container  + .forum-post-controls a {
    margin-left: 10px;
}

.forum-post-controls a img,
.forum-topic-controls a img {
    margin-right: 5px;
}

.forum-post-controls a img,
.forum-topic-controls a img {
    max-height: 14px;
}

.forum-customer-delete-avatar {
    text-align: center;
    line-height: 20px;
}

.forum-customer-delete-avatar .label {
    font-weight: bold;
}

.forum-search-type-controls {
    margin-top: 10px;
}

.forum-search-type-controls a {
    display: inline-block;
    padding: 2px;
}

.forum-search-type-controls a.active {
    background: yellow;
}

.forum-search-post {
    margin-top: 10px;
}

.forum-search-post .forum-search-block-selected,
.forum-search-topic .forum-search-block-selected {
    background: yellow;
}

.forum-search-topic {
    font-size: 16px;
}

.forum-search-post-view {
    margin-top: 5px;
}

.ddf-forum-bookmarks-link,
.ddf-forum-zero-bookmarks {
    display: none;
}

.bookmark-manage-item {
    vertical-align: middle;
    text-align: center;
}

.bookmark-manage-item a img{
    max-width: 20px;
}

a#ddf-forum-bookmarks-link {
    font-weight: bold;
}

.forum-myaccount-post-description-topic {
    font-size: 15px;
}

.forum-myaccount-post-description-posted {
    float: right;
    font-size: 15px;
    margin-right: 5px;
}

.forum-myaccount-post-description-topic img,
.forum-myaccount-post-description-posted img {
    max-height: 15px;
}

.forum-myaccount-postdetails {
    padding: 10px 0;
}

a.my-forum-account {
    font-size: 13px;
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

a.my-forum-account img {
    max-height: 13px;
}

.back-to-forum-url a {
    margin: 10px 0;
    font-size: 17px;
    display: block;
}

.back-to-forum-url a img {
    max-height: 17px;
}

.forum-myaccount-parent-forum img,
.forum-myaccount-topic img {
    max-height: 15px;
}

.forum-myaccount-parent-forum a,
.forum-myaccount-topic a {
    font-size: 15px;
}

.field-topic-notification {
    margin-bottom: 10px;
    text-align: right;
    font-weight: bold;
}

.forum-user-view-container {

}

.forum-user-view {
    padding: 20px;
    border: 1px solid silver;
    display: block;
    margin: 10px 0;
}

.ddf-forum-topic-edit .page-title {
    display: none !important;
}

.forum-logged-moderator {
    border: 1px solid red;
    padding: 10px;
    display: inline-block;
}

/* resposnive tables */
@media only screen and (max-width: 768px) {

    /* Force table to not be like tables anymore */
    .data-table-forum-resp table,
    .data-table-forum-resp thead,
    .data-table-forum-resp tbody,
    .data-table-forum-resp th,
    .data-table-forum-resp td,
    .data-table-forum-resp tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .data-table-forum-resp thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .data-table-forum-resp tr {
        border: 1px solid #ccc;
    }

    .data-table-forum-resp td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 10%;
        white-space: normal;
        text-align: left;
    }

    /*
    Label the data
    */
    .data-table-forum-resp div.attr-title:before {
        content: attr(data-title);
        font-weight: bold;
        position: relative;
        /* margin: 0; */
        padding: 0px;
        width: 100%;
        border-bottom: 1px solid silver;
        margin: 10px;
    }

    .toolbar-amount {
        position: relative;
    }
}

@media only screen and (min-width: 768px) {
    .forum-myaccount-container {
        max-width: 50%
    }

    .forum-jumpto-container {
        width: 33%;
    }

    /*.forum-bookmarks-container{*/
    /*  width:30%;*/
    /*}*/
    .forum-search-container {
        width: 30%;
        min-width: 400px;
    }

    /*.forum-bookmarks-container{*/
    /*  text-align:right;*/
    /*  width:30%;*/
    /*  min-width:400px;*/
    /*}*/
    .forum-user-view {
        max-width: 550px;
        margin: 20px auto;
    }
}


@media only screen and (max-width: 768px) {
    .forum-logged-moderator {
        width: auto;
        display: block;
    }

    .forum-top-controls {
        text-align: center;
        padding: 7px 0;
    }

    .forum-top-controls div {
        display: block;
        float: none;
    }

    .forum-search-container {
        float: none;
    }

    .forum-bookmarks-container {
        float: none;
        text-align: center;
    }

    .forum-rss-container {
        padding: 10px 0;
        text-align: center;
        float: none;
    }

    .forum-jumpto-container {
        float: none;
        text-align: center;
        width: 100%;
    }

    .forum-jumpto-container label,
    .forum-jumpto-container select {
        width: 100%;
    }

    table.forum-grid tbody td {
        border: 0px;
    }

    table.forum-grid tbody tr {
        border: 1px solid silver;
    }

    .total-posts-container, .total-topics-container, .total-views-container {
        text-align: left;
        padding: 8px 0;
    }

    .forum-icons, .forum-details {
        float: none;
    }
}

#ddf-forum-bookmarks-form {
    display: inline;
}

/* New Design Updates */
table > tbody > tr > th, table > tfoot > tr > th, table > tbody > tr > td, table > tfoot > tr > td {
    vertical-align: middle;
}

.forum-util {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.title-header-and-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forum-top-controls a {
    text-decoration: none;
    color: #333333;
}

.forum-util .forum-search-container .forum-content-bookmark-container {
    width: 100%;
    display: flex;
    justify-content: center;

    }

.forum-util .forum-jumpto-container{
    
}

    

.forum-util .forum-jumpto-container .forum-jump-to-label {
    margin: 5px 0;
    font-size: 18px;
}

.pager {
    text-align: right;
}

.forum-statistic-block,
.forum-who-is-online-block {
    width: 100%;
}

.forum-list th {
    vertical-align: middle;
}

.forum-list .table-header-container {
    display: flex;
    align-items: center;
}

.forum-list .table-header-icon {
    max-width: 24px;
    vertical-align: middle;
    margin-right: 15px;
}

.forum-list .table-header-icon.post-icon {
    max-width: 16px;
}

.sort-pager-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    margin: 10px 0;
}

.sort-pager-container .toolbar {
    margin-bottom: 0;
}

.forum-jumpto-container select {
    background-color: #f0f0f0;
}

.add-post {
    margin-right: 5px;
}

.add-post,#quick-add-post {
   float: right;
   margin-bottom: 10px;
}

.forum-post-view-table th {
    padding: 0;
    border: 0 !important;
}

table.forum-grid.forum-post-view-table > tbody  td {
    border: 0 !important;
    vertical-align: top;
    padding-top: 20px;
}

table.forum-grid.forum-post-view-table > tbody > tr.spacer,
table.forum-grid.forum-post-view-table > tbody > tr.spacer td {
    background: transparent;
    border: 0;
}

table.forum-grid.forum-post-view-table .forum-post-controls a {
    font-weight: normal !important;
}
@media all and (min-width: 767px) {
    .forum-util:not(.forum-util-bottom) {
        flex-wrap: nowrap;
    }

    .forum-util .forum-jumpto-container .forum-jump-to-label {
        text-align: right;
    }

    .forum-util .forum-search-container {
        justify-content: flex-start;
    }
}

.need-approval, .action.primary.need-approval{
  display: none;
}

button#show_hide_icons_button {
    padding: 5px 15px !important;
    background-color: black;
    color: white;
    border-radius: 9999px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

#maincontent > div.columns > div > div > table{
    display: inline-table;
}

.forum-myaccount-topic{
    display: inline-block;
    margin-left: 5px;
}

a.my-forum-account img {
    max-height: 13px;
    display: inline-block;
}

a.my-forum-account {
    font-size: 13px;
    display: block;
    text-align: center;
    margin: 10px;
    padding-right: 12px;
}

.forum-myaccount-post-description, .forum-myaccount-postdetails, .forum-myaccount-parent-forum {
    margin-left: 5px;
}

