@font-face {
    font-family: 'S-CoreDream-3Light';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream-4Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream-5Medium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream-6Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'S-CoreDream-8Heavy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-8Heavy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SpoqaHanSansNeo-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SpoqaHanSansNeo-Medium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SpoqaHanSansNeo-Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansLight';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.main_content {
    overflow-x: hidden;
}

.community_logo {
    width: 100%;
    height: auto;
    position: relative;
}

.community_logo .community_img {
    width: 100%;
    height: auto;
}

.community_logo .community_text {
    width: 26.67%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.community_logo .textArea {
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

.community_logo .textArea h1 {
    font-family: GmarketSansBold;
    font-size: 80px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
    margin: auto 18px auto 0;
}

.community_logo .textArea {
    font-family: GmarketSansLight;
    font-size: 80px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
    margin: auto 0;
}

.communityList {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.communityTop {
    width: 1158px;
    margin: 140px auto 20px;
    display: flex;
}

.communityTop .communityBtn.all {
    width: 120px;
    height: 40px;
    margin: 0 24px 0 0;
    border-radius: 20px;
    border: solid 2px #595757;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.communityTop .communityBtn.notice {
    width: 120px;
    height: 40px;
    margin: 0 24px 0 0;
    border-radius: 20px;
    border: solid 2px #00979c;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.communityTop .communityBtn.alert {
    width: 120px;
    height: 40px;
    margin: 0 24px 0 0;
    border-radius: 20px;
    border: solid 2px #3fa9f5;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.communityTop .communityBtn.post {
    width: 120px;
    height: 40px;
    margin: 0;
    border-radius: 20px;
    border: solid 2px #00d337;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.communityTop .communityBtn.all p {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: normal;
    text-align: center;
    color: #595757;
    margin: auto;
}
.communityTop .communityBtn.notice p {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: normal;
    text-align: center;
    color: #00979c;
    margin: auto;
}.communityTop .communityBtn.alert p {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: normal;
    text-align: center;
    color: #3fa9f5;
    margin: auto;
}.communityTop .communityBtn.post p {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: normal;
    text-align: center;
    color: #00d337;
    margin: auto;
}

.communityTop .communityBtn.notice span {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: normal;
    text-align: center;
    color: #00979c;
    margin: auto;
    display: none;
}.communityTop .communityBtn.alert span {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.22;
    letter-spacing: normal;
    text-align: center;
    color: #3fa9f5;
    margin: auto;
    display: none;
}

.communityTop .communityBtn.all.on {
    background-color: #595757;
    cursor: pointer;
}
.communityTop .communityBtn.notice.on {
    background-color: #00979c;
    cursor: pointer;
}
.communityTop .communityBtn.alert.on {
    background-color: #3fa9f5;
    cursor: pointer;
}
.communityTop .communityBtn.post.on {
    background-color: #00d337;
    cursor: pointer;
}

.communityTop .communityBtn.on p,
.communityTop .communityBtn.on span {
    color: white;
}

.communityTop #post {
    margin: 0 0 0 0;
}

.communityLine {
    width: 1158px;
    height: 0;
    margin: 0 auto 46px;
    border: solid 1px #ccc;
}

.communityContent {
    width: 1158px;
    margin: 0 auto 140px;
}

.communityContent .communityCard {
    width: 360px;
    height: 627px;
    float: left;
    margin: 0 39px 70px 0;
    cursor: pointer;
}

.communityContent .communityCard .thumbnail {
    width: 100%;
    height: 370px;
}

.communityContent .communityCard .thumbnail img {
    width: 100% !important;
    height: 100%;
}

.communityContent .communityCard .communityDiv {
    width: 100%;
    height: 233px;
    position: relative;
}

.communityContent .communityCard .communityDiv .noticeType {
    width: 80px;
    height: 26px;
    border-radius: 20px;
    display: flex;
    margin: 24px 0 16px;
}

.communityContent .communityCard .communityDiv .noticeType p {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.29;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
    margin: auto;
}

.communityContent .communityCard .communityDiv .title {
    width: 100%;
    height: auto;
    margin: 0 0 10px;
}

.communityContent .communityCard .communityDiv .title h1 {
    font-family: SpoqaHanSansNeo-Regular;
    font-size: 28px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    color: #595757;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    line-height: 1.2em;
    height: 2.4em;
}

.communityContent .communityCard .communityDiv .content {
    width: 100%;
    height: auto;
    margin: 0;
}

.communityContent .communityCard .communityDiv .content p,
.communityContent .communityCard .communityDiv .content span,
.communityContent .communityCard .communityDiv .content h1,
.communityContent .communityCard .communityDiv .content h2,
.communityContent .communityCard .communityDiv .content h3,
.communityContent .communityCard .communityDiv .content h4,
.communityContent .communityCard .communityDiv .content h5,
.communityContent .communityCard .communityDiv .content h6 {
    font-family: SpoqaHanSansNeo-Regular !important;
    font-size: 18px !important;
    font-weight: normal !important;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left !important;
    color: #707070 !important;    
    margin: 0;
    overflow:hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap:break-word; 
    line-height: 1.44em;
    height: 4.1em; /* line-height 가 1.2em 이고 3라인을 자르기 때문에 height는 1.2em * 3 = 3.6em */
}

.communityContent .communityCard .communityDiv .date {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0px;
    bottom: 0px;
}

.communityContent .communityCard .communityDiv .date p {
    font-family: SpoqaHanSansNeo-Regular;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.86;
    letter-spacing: normal;
    text-align: left;
    color: #ccc;
    margin: 0;
}

@media (max-width:1919px){
    .community_logo .community_text {
        width: 30%;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width:1200px){
    .communityList {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0 80px;
        width: auto;
    }

    .communityTop {
        width: 100%;
        margin: 48px 0 20px;
        display: flex;
    }

    .communityLine {
        width: 100%;
        height: 0;
        margin: 0 0 46px;
        border: solid 1px #ccc;
    }

    .communityContent {
        width: 100%;
        margin: 0 auto 48px;
        display: flex;
        flex-wrap: wrap;
    }

    .communityContent .communityCard {
        width: 272px;
        height: 505px;
        float: left;
        margin: 0 auto 70px;
        cursor: pointer;
    }

    .communityContent .communityCard .thumbnail {
        width: 100%;
        height: 272px;
    }
}

@media (max-width:999px){

    .communityContent .communityCard {
        width: 272px;
        height: 420px;
        float: left;
        margin: 0 auto 48px;
        cursor: pointer;
    }

    .communityList {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0 88px;
        width: auto;
    }

    .communityTop {
        width: 100%;
        margin: 24px 0 12px;
        display: flex;
    }

    .communityLine {
        width: 100%;
        height: 0;
        margin: 0 0 24px;
        border: solid 1px #ccc;
    }

    .communityTop .communityBtn.all,
    .communityTop .communityBtn.notice,
    .communityTop .communityBtn.alert {
        width: 66px;
        height: 26px;
        margin: 0 10px 0 0;
    }

    .communityTop #post {
        width: 66px;
        height: 26px;
        margin: 0;
    }

    .communityTop .communityBtn.notice p,
    .communityTop .communityBtn.alert p {
        display: none;
    }

    .communityTop .communityBtn.all p,
    .communityTop .communityBtn.notice span,
    .communityTop .communityBtn.alert span,
    .communityTop #post p {
        font-size: 14px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.29;
        letter-spacing: normal;
        text-align: center;
        display: block;
    }

    .communityContent .communityCard .communityDiv {
        width: 100%;
        height: 148px;
        position: relative;
    }

    .communityContent .communityCard .communityDiv .noticeType {
        width: 60px;
        height: 20px;
        border-radius: 20px;
        display: flex;
        margin: 12px 0 10px;
    }

    .communityContent .communityCard .communityDiv .title {
        width: 100%;
        height: auto;
        margin: 0 0 4px;
    }

    .communityContent .communityCard .communityDiv .noticeType p {
        font-family: SpoqaHanSansNeo-Bold;
        font-size: 12px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.25;
        letter-spacing: normal;
        text-align: center;
        color: #fff;
        margin: auto;
    }

    .communityContent .communityCard .communityDiv .title h1 {
        font-family: SpoqaHanSansNeo-Regular;
        font-size: 18px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        letter-spacing: normal;
        text-align: left;
        color: #595757;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-wrap: break-word;
        line-height: 1.2em;
        height: 2.4em;
    }

    .communityContent .communityCard .communityDiv .content p, 
    .communityContent .communityCard .communityDiv .content h1, 
    .communityContent .communityCard .communityDiv .content h2, 
    .communityContent .communityCard .communityDiv .content h3, 
    .communityContent .communityCard .communityDiv .content h4, 
    .communityContent .communityCard .communityDiv .content h5, 
    .communityContent .communityCard .communityDiv .content h6 {
        font-family: SpoqaHanSansNeo-Regular;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        letter-spacing: normal;
        text-align: left;
        color: #707070;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        word-wrap: break-word;
        line-height: 1.44em;
        height: 4.1em;
    }

    .communityContent .communityCard .communityDiv .date {
        width: auto;
        height: auto;
        position: absolute;
        right: 4px;
        left: unset;
        top: 0px;
        bottom: unset;
    }

    .communityContent .communityCard .communityDiv .date p {
        font-family: SpoqaHanSansNeo-Regular;
        font-size: 12px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 2.17;
        letter-spacing: normal;
        text-align: right;
        color: #ccc;
        margin: 0;
    }
}

@media (max-width:700px){
    .communityList {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0;
        width: auto;
    }

    .communityTop {
        justify-content: center;
    }
}

@media (max-width:600px){
    .communityContent {
        width: auto;
        margin: 0 24px 48px;
        display: flex;
        flex-wrap: wrap;
    }

    .communityContent .communityCard {
        width: 100%;
        height: 420px;
        float: left;
        margin: 0 auto 48px;
        cursor: pointer;
    }
}