.t40 { 
    width: 40px;
    min-width: 40px;
}
.t70 { 
    width: 70px;
    min-width: 70px;
}
.t100 { 
    width: 100px;
    min-width: 100px;
}

.buttonWrap button {
    border: 1px solid #ddd;
    padding: 5px 7px 5px 7px;
    background-color: #fff;
    font-weight: normal;
    font-size: 11px;
    text-decoration: none;
    color: #444;
    text-align: left;
    cursor: pointer;
    outline: none;
    word-break: keep-all;
    white-space: nowrap;
    font-family: inherit;
}

.buttonWrap button a {
    text-decoration: none;
}

.buttonWrap button.primary {
    background-color: #444;
    color: #fff;
}

.buttonWrap button.primary a {
    color: #fff;
}

/* list */
.thumbContainer {
    margin-top: 30px;
}

.articleList {
    display: flex;
    flex-wrap: wrap;
    border: none;
    max-width: 1250px;
}

.thumbContainer .articleList .articleContainer {
    display: flex;
    flex-direction: column;
    width: 31%;
    margin: 0 1% 30px;
}

.thumbContainer .articleList .articleContainer .gall_check {
    text-align: center;
    margin-bottom: 10px;
}

.thumbContainer .articleList .articleContainer a {
    text-decoration: none;
}

.thumbContainer .articleList .articleContainer .thumbWrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    border: 1px solid #e3e3e3;
    box-shadow: 1px 1px 5px 0px #cfcfcf;
}

.thumbContainer .articleList .articleContainer .thumbWrap .thumb {
    text-align: center;
}

.thumbContainer .articleList .articleContainer .thumbWrap .thumb img {
    max-width: 100%;
    max-height: 226px;
}

.thumbContainer .articleList .articleContainer .thumbWrap .info {
    padding: 15px 7px;
    background-color: #f3f3f3;
    font-size: 14px;
}

.thumbContainer .articleList .articleContainer .thumbWrap .info .title {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    color: #131313;
    min-height: 48px;
}

.thumbContainer .articleList .articleContainer .thumbWrap .info .contents {
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
    line-height: 17px;
    min-height: 51px;
    color: #3a3a3a;
}

.thumbContainer .articleList .articleContainer .thumbWrap .info .sub {
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

.articleContainer .page {
    margin-top: 30px;
}





/* write */
.writeForm {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border-top: 2px solid #999;
    border-bottom: 2px solid #999;
    margin-top: 30px;
}

.writeForm th, .writeForm td {
    box-sizing: border-box;
}

.writeForm thead tr {
    background-color: #f8f8f9;
}

.writeForm thead tr th {
    height: 30px;
    padding-left: 20px;
}

.writeForm tbody tr {
    border-bottom: 1px solid #e7e7e7;
}

.writeForm tbody tr:last-child {
    border-bottom: 0;
}

.writeForm tbody tr td {
    height: 30px;
    padding-left: 20px;
    color: #888;
    font-size: 11px;
}

.writeForm tbody tr td input[type='text'] {
    width: 100%;
    word-break: break-all;
    height: 28px;
    font-size: 12px;
    padding: 2px;
    box-sizing: border-box;
    border: 1px solid #9a9a9a;
}

.writeForm tbody tr td textarea {
    width: 100%;
    word-break: break-all;
    border: 1px solid #9a9a9a;
    box-sizing: border-box;
    font-size: 12px;
    padding: 5px;
    line-height: 18px;
    outline: 0;
    font-family: inherit;
}

.writeForm .editTextarea {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 7px;
    margin: 10px 0;
    border-color: #ccced1;
    outline: 0;
    font-size: 12px;
    font-family: inherit;
}

.writeContainer .buttonWrap {
    margin-top: 30px;
}






/* view */
.viewContainer {
}

.viewContainer .subject {
    word-break: break-all;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    font-family: inherit;
    line-height: 25px;
    padding: 0;
    margin: 12px 0 12px 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.viewContainer .info {
    background-color: #ecf0f1;
    color: #888;
    font-size: 11px;
    padding: 0 0 0 10px;
    border-top: 1px solid #bdc3c7;
    border-bottom: 1px solid #bdc3c7;
    line-height: 40px;
    height: 40px;
}

.viewContainer .info .item {
    margin-right: 15px;
}

.viewContainer .info .item.manage {
    margin-left: auto;
    margin-right: 5px;
}

.viewContainer .info .item.manage span {
    text-align: center;
    color: #777;
    font-weight: normal;
    font-size: 11px;
    line-height: 18px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 2px 5px;
}

.viewContainer .info .item.manage .manageButtons {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #ddd;
}

.viewContainer .info .item.manage .manageButtons .item {
    height: 25px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    padding-left: 2px;
    padding-right: 10px;
    line-height: 25px;
    font-size: 11px;
    font-weight: normal;
    color: #000;
    margin-right:0;
    min-width: 65px;
}

.viewContainer .info .item.manage .manageButtons .item i {
    width: 20px;
    text-align: center;
}

.viewContainer .info .sv_wrap {
    line-height: normal;
}

.viewContainer .contents {
    word-break: break-all;
    min-height: 150px;
    padding: 20px 10px;
    border: 0;
    background-color: #fff;
    line-height: 22px;
    color: #000;
    font-size: 1.2em;
    font-family: inherit;
}

.viewContainer .contents img {
    max-width: 600px;
}

.viewContainer .footerRevBtn {
    display: flex;
    margin: auto;
    background-color: #444444;
    color: #fff;
    border: none;
    outline: 0;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 15px;
}






/* comment */
#commentContents .commentCard {
    border-top: 1px solid #ddd;
    padding: 10px 0;
}

#commentContents .commentCard .profile.noImage::before {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: block;
    content: "\f007";
    text-align: center;
    font-size: 30px;
    line-height: 58px;
    color: #aaa;
    position: absolute;
    width: 58px;
    height: 58px;
    text-align: center;
    -webkit-border-radius: 50em;
    -moz-border-radius: 50em;
    border-radius: 50em;
    background-color: #efefef;
}

#commentContents .commentCard .profile {
    width: 58px;
    padding: 0 10px;
    border-right: 2px solid #dedede;
    margin-right: 10px;
    min-height: 83px;
    box-sizing: content-box;
}

#commentContents .commentCard .commentInfo .item.name {
    font-weight: bold;
    color: #000;
}

#commentContents .commentCard .commentInfo .item {
    margin-right: 20px;
    color: #888;
    font-size: 11px;
}

#commentContents .commentCard .commentInfo .item i {
    margin-right: 3px;
}

#commentContents .commentCard .commentInfo .item.function {
    margin-left: auto;
    margin-right: 3px;
}

#commentContents .commentCard .commentInfo .item.function a {
    text-decoration: none;
    font-weight: normal;
    font-size: 11px;
    color: #888;
    padding: 2px;
    box-shadow: 0 1px #EBEBEB;
    border-radius: 3px;
    border: 1px solid;
    border-color: #E5E5E5 #D3D3D3 #B9C1C6;
    background-color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#commentContents .commentCard .commentInfo .item.function a i {
    margin-right: 0;
    padding: 0 3px;
}

#commentContents .commentCard .commentContents .secret {
    color: #ff6600;
}

#commentContents .commentCard .buttons {
    padding-right: 10px;
}

#commentContents .commentCard .buttons .item a {
    font-weight: normal;
    font-size: 11px;
    color: #999;
}

#commentForm {
    margin: 10px 0 0 0;
    padding: 5px;
    background-color: #f8f8f9;
    border: 1px solid #efefef;
    font-size: 11px;
    color: #888;
}

#commentForm .function {
    padding: 5px 0;
}

#commentForm .function .item {
    margin-right: 10px;
}

#commentForm .textArea textarea {
    width: 100%;
    word-break: break-all;
    height: 108px;
    border-top: 1px solid #9a9a9a;
    border-left: 1px solid #9a9a9a;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    font-size: 12px;
    padding: 5px;
    line-height: 18px;
    font-family: inherit;
    outline: 0;
    box-sizing: border-box;
}






@media only screen and (max-width: 700px) {
    ._pc { display: none !important; }
    ._tab { display: none !important; }

    .t40 { 
        width: 10%;
        min-width: 10%;
    }
    .t70 { 
        width: 15%;
        min-width: 15%;
    }
    .t100 { 
        width: 20%;
        min-width: 20%;
    }

    .fg {
        width: 90%;
        min-width: 90%;
    }
    
    /* list */
    .thumbContainer .articleList .articleContainer {
        width: 96%;
        margin: 0 2% 30px;
    }


    /* write */
    .writeForm tbody tr {
        display: flex;
        flex-direction: column;
    }

    .writeForm tbody tr td {
        height: auto;
        padding: 10px;
    }

    .writeForm tbody tr td.label {
        padding-bottom: 0;
    }



    /* view */
    .viewContainer .contents img {
        max-width: 100%;
    }

    #commentContents {
        margin-top: 20px;
    }

    #commentContents .commentCard .profile {
        width: 78px;
        box-sizing: content-box;
    }
    
    #commentContents .commentCard .comment {
        font-family: 'Noto Sans KR', sans-serif !important;
        color: #000;
    }

    #commentContents .commentCard .commentInfo .item.name > .sv_wrap > a {
        font-weight: bold;
    }
}

@media only screen and (min-width: 700px) and (max-width: 1024px) {
    ._pc { display: none !important; }

    .t40 { 
        width: 5%;
        min-width: 5%;
    }
    .t70 { 
        width: 10%;
        min-width: 10%;
    }
    .t100 { 
        width: 15%;
        min-width: 15%;
    }

    /* list */
    .thumbContainer .articleList .articleContainer {
        width: 46%;
        margin: 0 2% 30px;
    }




    /* write */
    .writeForm tbody tr {
        display: flex;
        flex-direction: column;
    }

    .writeForm tbody tr td {
        height: auto;
        padding: 10px;
    }

    .writeForm tbody tr td.label {
        padding-bottom: 0;
    }


    
    /* view */
    #commentContents {
        margin-top: 20px;
    }

    #commentContents .commentCard .profile {
        width: 78px;
        box-sizing: content-box;
    }
    
    #commentContents .commentCard .comment {
        font-family: 'Noto Sans KR', sans-serif !important;
        color: #000;
    }

    #commentContents .commentCard .commentInfo .item.name > .sv_wrap > a {
        font-weight: bold;
    }
}