/***********************************************************************
 *  Forum filter
 **********************************************************************/
 .filter--forum {
    margin-top: 50px;
    margin-bottom: 50px;
}

.filter--forum--ul {
    list-style: none;
    display: flex;
    justify-content: left;
}

.filter--forum--ul li {
    padding: 14px 10px;
    margin: 0 5px;
    cursor: pointer;
}

.filter--forum--ul .filter--forum--active {
    background-color: #F3F3F3;
    border-radius: 6px;
}

/***********************************************************************
 *  Forums
 **********************************************************************/
.forums {
    display: flex;
    justify-content: space-between;
}

.forums--left {
    width: 67%;
}

.forums--right {
    width: 27%;
}

.forums--heading {
    margin-bottom: 50px;
}

.forum--a {
    color: unset;
    text-decoration: none;
}

.forum {
    width: 100%;
    background-color: rgba(243, 243, 243, 0.42);
    border-radius: 6px;
    border: 1px solid var(--grey2);
    padding: 18px 16px;
    margin-bottom: 30px;
}

.forum--author {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-bottom: 18px;
}

.forum--profile {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 50%;
}

.forum--name {
    font-weight: 500;
}

.forum--date {
    color: var(--grey);
}

.forum--comment--icon {
    height: 14px;
    width: auto;
    margin-left: auto;
    margin-right: 5px;
}

.forum--p {
    color: var(--grey);
    margin-top: 16px;
    line-height: 20px;
}

.forum2 {
    margin-bottom: 30px;
}

.forum--heading2 {
    margin-bottom: 15px;
    margin-top: -6px;
}

.forum--answer {
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
    text-decoration: underline;
    color: black;
}

.pagination--forum--mob {
    display: none;
}

/***********************************************************************
 *  Forum paging
 **********************************************************************/
 .pagination--forum {
    margin-top: 18px;
    margin-bottom: 48px;
    position: relative;
}

.pagination--forum--ul {
    list-style: none;
    display: flex;
    margin: 0 auto;
    justify-content: center;
}

.pagination--forum--ul li {
    width: 30px;
    height: 30px;
    color: var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pagination--forum--ul .pagination--forum--active {
    color: black;
    background-color: var(--grey2);
    border-radius: 4px;
}

.pagination--next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 3px 0;
    border-bottom: 1px solid transparent;
}

.pagination--next:hover {
    border-bottom: 1px solid black;
}

/***********************************************************************
 *  Responzivity
**********************************************************************/
@media screen and (max-width: 1300px) {
    .forums--heading {
        font-size: 22px;
    }
}

@media screen and (max-width: 1000px) {
    .filter--forum {
        margin-top: 25px;
        margin-bottom: 30px;
    }

    .forums--left {
        width: 69%;
    }

    .filter--forum--ul li {
        padding: 10px;
    }

    .forums--heading {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 700px) {
    .forums {
        flex-wrap: wrap;
    }

    .forums--left,
    .forums--right {
        width: 100%;
    } 

    .forums--right {
        margin-bottom: 30px;
    }

    .pagination--forum--mob {
        display: block;
        width: 100%;
        margin: 20px 0 50px;
    }

    .pagination--forum--pc {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .pagination--next span {
        display: none;
    }

    .pagination--next {
        padding: 8px;
    }

    .pagination--next:hover {
        border-bottom: 1px solid transparent;
    }

    .filter--forum {
        overflow-x: scroll;
    }

    .forum {
        margin-bottom: 18px;
    }

    .forums--heading,
    .forum2 {
        margin-bottom: 20px;
    }

    .filter--forum {
        margin-top: 18px;
    }
}

@media screen and (max-width: 400px) {
    .filter--location, .filter--profession {
        margin-left: 16px;
    }
}