html, body {
    scroll-behavior: smooth
}

.fmain {
    padding: 20px 6% 50px
}

.fcomments-con{
    margin: auto;
    max-width: 1100px
}

a {
    text-decoration: none;
}

.forum-title {
    text-align: center;
    color: #12A19A
}

.searchf {
    width: fit-content;
    margin: auto;
    padding: 8px 12px;
    background: #fff;
    display: table;
    border-radius: 7px
}

.searchf>select, .searchf>input, .searchf>button {
    border: 0;
    outline: 0;
    background-color: #fff;
    padding: 10px 14px
}

.searchf>select {
    padding: 9px 14px;
}

.searchf>input {
    width: 250px;
}

.searchf>button:hover {
    background-color: #eee;
    border-radius: 5px;
    cursor: pointer
}

.forum-cats {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 80px
}

.clinics, .doctors, .general {
    width: 32%;
    height: 427px;
    background-color: #fff;
    border-radius: 13px;
    position: relative;
    overflow: hidden
}

.ptitle {
    text-align: center;
    background-color: #12A19A;
    color: #fff;
    margin: 0;
    padding: 15px 8px;
}

.thread {
    display: block;
    padding: 6px 8px
}

.thread:nth-child(2n) {
    background-color: #f5f5f5;
}

.thread img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    float: right;
    object-fit: scale-down
}

.thread .tname {
    vertical-align: middle;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 8px;
    height: 60px
}

.tname span {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.thread .tname i {
    font-size: 18px;
    margin-right: 12px;
    margin-left: 6px;
    color: #12A19A
}
.repcom{
    min-width: 110px
}

.tops {
    background: #fff;
    border-radius: 13px;
    overflow: hidden;
    min-height: 200px;
    margin: 60px auto
}

.tops-title {
    background: #12A19A;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    color: #fff
}

.tops-title span:nth-child(2) {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.tops-title span {
    width: 33.3%;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    text-align: center
}

.topactive {
    background: #fff;
    color: #12A19A
}

.ttab {
    padding: 12px;
    display: none
}

.top-view {
    display: block
}

.topic-cats {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.topic {
    width: 49%;
    margin: 12px 0;
    height: 280px
}
.topic h2{
    font-size: 18px
}

/* ------------------ forum ----------------- */
.category {
    display: flex;
    display: -webkit-flex;
    margin-top: 30px;
}

.cat-row {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
}

.cat-item {
    width: 48%;
    background: #fff;
    border-radius: 7px;
    display: flex;
    display: -webkit-flex;
}

.comments {
    margin-top: 30px;
}

.fcb {
    border: 1px solid #eee
}

.fcomment {
    background-color: #fff;
    border-radius: 10px;
    padding: 4px 0;
    margin-top: 12px
}

.rcomment {
    border-right: 2px solid #12A19A;
    margin-top: 6px
}

.rcomment .cprofile, .rcomment .cinfo {
    background-color: #fff;
}

.rcomment .cmessage {
    background-color: #fafafa;
}

.cprofile {
    border-bottom: 1px solid #f5f5f5;
    padding: 8px;
    border-radius: 10px 10px 0 0;
}

.cmessage {
    min-height: 50px;
    padding: 8px 18px;
}

.cinfo {
    border-top: 1px solid #f5f5f5;
    padding: 8px;
    border-radius: 0 0 10px 10px;
    min-height: 46px
}

.cinfo i {
    font-size: 20px;
    margin: 0 8px;
}

.reply {
    color: green;
    border: 0;
    border-radius: 5px;
    padding: 6px 10px;
    outline: 0;
    cursor: pointer;
    margin: 0 16px
}

.reply i {
    font-size: 14px;
}

.cdate {
    float: left;
    color: gray;
    font-size: 14px
}

.coptionc {
    float: left;
    margin: 0 8px;
    position: relative
}

.coption {
    border: 0;
    outline: 0;
    background: #fff;
    padding: 0 8px;
    cursor: pointer
}

.coption:focus {
    background-color: #fafafa;
    border-radius: 3px;
}

.coption:after {
    content: '\2807';
    font-size: 22px;
}

.dot-menu {
    width: max-content;
    background: #fff;
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-radius: 5px;
    display: none;
    left: 0;
    box-shadow: 0 0 8px rgb(0 0 0 /20%)
}

.dot-menu span {
    cursor: pointer
}

.cimg {
    display: inline-block;
}

.cimg i {
    font-size: 26px;
    margin: 0 8px;
    color: #12A19A;
    float: right
}

.clike {
    cursor: pointer;
    color: #43A047
}

.cdlike {
    cursor: pointer;
    color: #E53935
}
.cload{
    margin: 0 4px;
    color: #12A19A;
    cursor: default
}
.modal-replay {
    max-height: 0;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    transition: all 0.5s;
}

.modal-content {
    background-color: #fefefe;
    padding: 0px 18px 16px;
    display: flex;
    display: -webkit-flex;
    border-radius: 3px;
    flex-direction: column
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer
}

.mtxt {
    width: 100%;
    min-height: 100px;
    border: 1px solid #12A19A;
    border-radius: 7px;
    padding: 8px;
    outline: 0
}

.csbtn {
    outline: 0;
    border: 0;
    cursor: pointer;
    padding: 4px 32px
}

.btnf {
    display: inline-block;
    text-decoration: none;
    background-color: #12A19A;
    color: #ffffff;
    padding: 3px 26px;
    border-radius: 5px;
    line-height: 30px;
    width: fit-content;
    margin-top: 15px
}

.newtf {
    overflow: hidden;
    transition: all 0.3s;
    max-height: 0px
}

.new-com {
    background: #fff;
    border-radius: 9px;
    margin-bottom: 16px;
    padding: 30px
}

.new-com textarea {
    width: 100%;
    outline: 0;
    border: 1px solid #12A19A
}

.new-com input {
    width: 100%;
    padding: 10px;
    border: 1px solid #12A19A;
    border-radius: 5px
}

.btn-newcom {
    display: inline-block;
    text-decoration: none;
    background-color: #12A19A;
    color: #ffffff;
    padding: 3px 26px;
    border-radius: 5px;
    line-height: 30px;
    width: fit-content;
    margin-top: 8px;
    border: 0;
    cursor: pointer
}

.bnl {
    padding: 7px 26px;
    margin-bottom: 16px;
}

.btnmore {
    padding: 24px 8px;
    background: #43A047 !important;
    text-align: center;
    color: #fff
}

.fcat-title h1 {
    color: #12A19A;
    font-size: 24px;
    text-align: center
}

.threads {
    border-radius: 5px;
    overflow: hidden;
    background: #fff
}

.fcats {
    margin: auto;
    max-width: 800px
}

.thread-con {
    margin: auto;
    max-width: 800px
}

.com-title {
    background: #fff;
    border-radius: 10px
}

.com-title h1 {
    font-size: 20px;
    margin: auto;
    padding: 6px 4px;
    text-align: center;
    color: #12A19A
}

.com-title .cinfo i {
    color: #12A19A
}
.com-form{
    margin-bottom: 30px
}
.com-form textarea {
    width: 100%;
    border: 1px solid #12A19A;
    border-radius: 5px;
    margin-top: 8px;
    padding: 8px;
    outline: none;
    font-size: 14px
}
.sresult{
    padding: 24px 0;
    margin: auto;
    text-align: center;
    max-width: 900px
}
.bcrum{
    margin-bottom: 8px;
}
.bcrum>i{
    font-size: 18px;
    vertical-align: middle;
    padding: 0 6px;
    color: #555;
}
.bcrum>a{
    font-size: 14px;
    color: #555;
}

@media (max-width:800px) {
    .clinics, .doctors, .general {
        width: 100%;
        margin: 12px 0
    }

    .fmain {
        padding: 0px
    }
    .searchf>input {
        padding: 0px;
        width: auto
    }
    .forum-title>h1{
        font-size: 28px
    }
    .searchf>select, .searchf>input, .searchf>button{
        padding: 0px
    }
    .forum-cats{
        margin-top: 32px
    }
    .searchf{
        padding: 12px;
        margin-top: 32px
    }
}