* {
    -webkit-text-size-adjust: none;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
.mt30 {
    margin-top: 30px !important;
}
#contents {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 1100px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
#contents #main {
    width: 800px !important;
    float: right !important;
    background: #fff;
    padding: 0 0 50px !important;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.btn-action-regist {
    display: inline-block;
    margin-bottom: 11px;
    width: 100px;
    bottom: 20px;
    right: 20px;
    justify-content: center;
    align-items: center;
    color: #d61518 !important;
    font-size: 16px;
    line-height: 28px;
    border: 2px solid #d61518;
    border-radius: 25px;
    min-width: 120px;
    text-align: center;
    transition: all .3s ease;
}
.card-des{
    word-break: break-all;
}
.tag-list{
    margin-right: 5%;
    text-align: right;
    margin-top: 30px;
}
.postnews-item {
    display: flex;
    /*background: #f9f9f9;*/
    background: #ffffff;
    transition: all .3s ease;
}
.postnews-item .card-img a {
    display: block;
}
.postnews-item .card-img a img {
    width: 100%;
}

.postnews-item .card-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.postnews-item .card-des h1,
.postnews-item .card-des h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0;
    margin-bottom: 20px;
}
.postnews-item .card-des h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    margin-bottom: 20px;
    position: relative;
}

.postnews-item .card-des h1,
.postnews-item .card-des h2{
    padding-left: 20px;
    position: relative;
}

.postnews-item .card-des h1:before,
.postnews-item .card-des h2:before,
.postnews-item .card-des h3:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #bebebe;
}

.postnews-item .card-des h1:after,
.postnews-item .card-des h2:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    width: 6px;
    height: 100%;
    background-color: #f00;
    border-radius: 5px;
}

.postnews-item .card-des {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
    padding-top: 20px;
    font-size: 14px;
    line-height: 2.4;
    letter-spacing: 2px;
    text-align: justify;
    vertical-align: unset;
}

.postnews-item .card-des p {
}

.postnews-item .card-des a {
    text-decoration: underline;
    color: #0782C1;
}

.postnews-item .card-body{
    width: 100%;
}

.postnews-item .card-img img {
    width: 100% !important;
    height: auto !important;
}

.card-des ul, .card-des ol {
    list-style: initial;
    margin: initial;
    padding: 0 0 0 40px;
}

.card-des ul li {
    display: list-item;
    list-style-type: disc;
}

.card-des ol li {
    display: list-item;
    list-style-type: decimal;
}

.widget-toc{

    display: table;
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    padding: 1rem;
    font-size: 95%;
    margin-bottom: 20px;
}

.widget-toc  ol {
    padding-right: 0px;
    counter-reset: item;
}
.widget-toc ol li {
    display: block;
    position: relative;
}
.widget-toc  ol li:before {
    content: counters(item, ".");
    counter-increment: item;
    position: absolute;
    left: -2rem;
}

.widget-toc ol li a {
    text-decoration: none;
    color: #0782C1;
}

.widget-toc ol li a:hover {
    text-decoration: underline;
    color: #0782C1;
}

.toc-title{

    text-align: center;
    font-weight: 700;
    margin: 0;
    padding: 0;

}

.postnews-item .card-des img{
    max-width: 722px !important;
    height: auto !important;
}

.postnews-item .card-des p:first-of-type img {
    min-height: 401px;
}

.btn-action-regist:hover {
    color: #fff !important;
    background: #d61518;
}

.postnews-item .instagram-media {
    min-height: 500px;
}

.head-title-news-1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 10px;
    width: 100%;
    padding-left: 50%;
}
.head-title-news-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 10px;
    width: 100%;
    padding-left: 69%;
}
.update-date {
    padding-left: 0px;
    line-height: 40px;
}
.postnews-item .widget-toc ol > li:before {
    left: -1.7rem;
    counter-increment: item;
    content: counter(item) ". ";
}
.postnews-item .widget-toc ol > li > ol {
    counter-reset: itemsub;
}
.postnews-item .widget-toc ol > li > ol > li:before {
    left: -2.3rem;
    counter-increment: itemsub;
    content: counter(item) "." counter(itemsub) " ";
}
.postnews-item .widget-toc ol > li:nth-child(n+10) a {
    margin-left: 10px;
}
.postnews-item .widget-toc ol > li:nth-child(n+10) ol > li a {
    margin-left: 15px;
}
.postnews-item .widget-toc ol > li:nth-child(n+10) ol > li:nth-child(n+10)  a {
    margin-left: 30px;
}
.postnews-item .widget-toc ol > li > ol > li:nth-child(n+10) a {
    margin-left: 15px;
}
.postnews-item .widget-toc ol > li >  ol {
    padding: 0 0 0 50px
}

#sidebar,
#main {
    order: unset;
}

.post-recommen-top {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
.post-recommen-top .post-top {
    width: calc(100%/2 - 20px);
    margin: 10px;
    padding: 15px;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
}
span.image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card-post{
    margin-bottom: 15px;
    position: relative;
}
.cart-time {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    color: #868686;
}
.post-recommen-top .card-title {
    font-size: 16px;
    color: #0e0e0e;
    line-height: 26px;
}
.recommended-article-corner a {
    text-align: center;
    display: block;
}
p.btn-post {
    margin-top: 100px;
}
span.number-stt {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45px;
    height: 45px;
    border: 3px solid #fff;
    border-radius: 50px;
    font-size: 30px;
    text-align: center;
    line-height: 43px;
    font-weight: 700;
    color: #fff;
}
.top-1 .number-stt {
    background-color: #e3ab00;
}
.top-2 .number-stt {
    background-color: #c9caca;
}
.top-3 .number-stt {
    background-color: #ba6e40;
}
.top-4 .number-stt {
    background-color: #525252;
}

table,td,tr {
    border: 1px solid #000;
}
td {
    padding: 5px 10px;
}
.postnews-item .card-des .text-info-postnew a {
    text-decoration: none;
    color: #0782C1;
    display: inline-block;
}
