.main-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #fff;
    z-index: 2;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* border-bottom: 8px solid #4a7890; */
    border-bottom: 8px solid black;
    -webkit-box-shadow: 0 0 9px 0 rgba(0, 0, 0, .4);
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .4);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 93px;
    flex: 0 0 93px;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
}

.main-header .header-link-wrp {
    display: inline-block;
    cursor: pointer;
    margin-right: 13px
}

.main-header .header-link-wrp .header-subtitle{
    text-align: center;
    margin-top:-1.7rem;
    color: darkred;
}

.header-logo {
    width: 100px;
    padding-top: 10px;
    text-align: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100px;
    flex: 0 0 100px
}

/*
.main-header .header-logo a svg path {
    stroke: #78bd98;
}
*/

.main-header .header-logo a svg path#A, .main-header .header-logo a svg path#b, .main-header .header-logo a svg path#c, .main-header .header-logo a svg path#d {
    stroke: #4a7890
}

.main-header .header-logo a:hover svg path#A, .main-header .header-logo a:hover svg path#d {
    opacity: 0;
    -webkit-animation: blinkz 1s infinite;
    animation: blinkz 1s infinite
}

.main-header .header-logo a:hover svg path#b, .main-header .header-logo a:hover svg path#c {
    opacity: 0;
    -webkit-animation: blinkz 1s .2s infinite;
    animation: blinkz 1s .2s infinite
}

.main-header .header-site-name {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1
}

footer .header-logo a svg path {
    stroke: darkred;
}

@media only screen and (max-width: 475px) {
    .main-header {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 6.5rem;
        flex: 0 0 6.5rem
    }

    .header-logo svg {
        width: 2rem;
        height: 3.81rem
    }
    
    .main-header .header-site-name svg {
        width: 14.5rem;
        height: 2.62rem
    }
}

@media only screen and (max-width: 714px) {
    .main-header {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 6.5rem;
        flex: 0 0 6.5rem
    }

    .header-logo {
        width: auto;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        padding-left: 1rem
    }
    
    .header-logo svg {
        width: 2rem;
        height: 3.81rem
    }
    
    .header-logo .header-link-wrp {
        margin-right: 0
    }
    
    .main-header .header-site-name {
        -webkit-box-flex: 0;
        -ms-flex: 0;
        flex: 0;
        padding-left: 1rem
    }
    
    .main-header .header-site-name svg {
        width: 27.5rem;
        height: 5rem
    }
}

@media only screen and (max-width: 514px) {
    .main-header .header-site-name {
        -webkit-box-flex: 0;
        -ms-flex: 0;
        flex: 0;
        padding-left: 1rem
    }

    .main-header .header-site-name svg {
        width: 19rem;
        height: 4rem
    }
}

@media only screen and (max-width: 380px) {
    .main-header .header-site-name {
        -webkit-box-flex: 0;
        -ms-flex: 0;
        flex: 0;
        padding-left: 1rem
    }

    .main-header .header-site-name svg {
        width: 14.5rem;
        height: 2.62rem
    }

    .main-header .header-link-wrp .header-subtitle {
        margin-top:-1.2rem;
    }
}

@-webkit-keyframes blinkz {
    0% {
        opacity: 0
    }
    
    10% {
        opacity: 1
    }
    
    100%, 80% {
        opacity: 0
    }
}

@keyframes blinkz {
    0% {
        opacity: 0
    }
    
    10% {
        opacity: 1
    }
    
    100%, 80% {
        opacity: 0
    }
}

.main-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* background-color: #cdd3d5; */
    background-color: #d3d3d3;
    /* border-bottom: 8px solid #4a7890; */
    border-bottom: 8px solid black;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .3);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .3);
    padding: .2rem 0
}

.footer-logo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

@media print {
    .main-footer {
        display: none
    }
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

a {
    /* color: #00e; */
    color: black;
    text-decoration: none!important
}

a:visited {
    /* color: #00e; */
    color: black;
}

a:hover {
    /* color: #00e; */
    color: black;
    text-decoration: none
}

a:active {
    /* color: #00e; */
    color: black;
}

body, html {
    font-size: calc(14px + 8 * ((100vw - 500px)/ 1500));
    font-family: Kanit, Arial, Sans-Serif;
    margin: 0;
    line-height: 1.4;
    height: 100%;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

h1, h2, h3, h4, h5, h6 {
    margin: .5rem 0
}

.main-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto
}

.main-wrap .content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 1rem;
    max-width: 750px;
}

.main-wrap .content a:hover {
    text-decoration: underline
}

.entry-section.other-entries {
    margin-top: 2rem;
}

.entry-section.other-entries .section-text {
    width: 100%;
}

.entry-section .sticky-header {
    text-align: center;
    font-size: 1.75rem;
    /*
    position: -webkit-sticky;
    position: sticky;
    */
    top: -3px;
    z-index: 1;
    background-color: #fff;
    padding: .5rem 0
}

.entry-section .sticky-header p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.entry-section .sticky-header-date {
    display: block;
    font-size: 0.75rem;
}

.entry-section .section-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.entry-section .section-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1
}

.entry-section .img-blk {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding-top: .75rem
}

.entry-section .img-blk .img-blk-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1
}

.entry-section .img-blk .img-blk-row .img-wrp {
    position: relative;
    max-width: 16rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 2px solid #fff;
    border-collapse: collapse;
    font-size: 0
}

.entry-section .img-blk .img-blk-row .img-wrp .img-oly {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0;
    -webkit-transition: opacity linear .25s;
    transition: opacity linear .25s
}

.entry-section .img-blk .img-blk-row .img-wrp .img-oly-btn {
    position: absolute;
    top: 0;
    margin: .5rem;
    padding: .3rem;
    background-color: #000;
    border-radius: 1rem;
    -webkit-transition: opacity linear .25s;
    transition: opacity linear .25s
}

.entry-section .img-blk .img-blk-row .img-wrp .img-oly-btn svg {
    width: .8rem;
    height: .8rem;
    fill: #fff
}

.entry-section .img-blk .img-blk-row .img-wrp .img-oly-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    height: 100%;
    width: 100%;
    font-size: .75rem;
    color: #fff;
    opacity: 0;
    -webkit-transition: opacity linear .25s;
    transition: opacity linear .25s
}

.entry-section .img-blk .img-blk-row .img-wrp:hover .img-oly, .entry-section .img-blk .img-blk-row .img-wrp:hover .img-oly-text {
    opacity: .5
}

.entry-section .img-blk .img-blk-row .img-wrp:hover .img-oly-text {
    opacity: 1
}

.entry-section .img-blk .img-blk-row .img-wrp:hover .img-oly-btn {
    opacity: 0
}

.entry-section .img-sldr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: .5rem
}

.entry-section .img-sldr .arrw-btn {
    margin: 0 2rem;
    cursor: pointer
}

.entry-section .img-sldr .arrw-btn.rght-btn {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg)
}

.entry-section .img-sldr .arrw-btn svg {
    width: 3rem;
    height: 2rem
}

.entry-section .img-sldr .img-sldr-wrp {
    position: relative;
    overflow: hidden;
    font-size: 0
}

.entry-section .img-sldr .img-sldr-wrp .img-wrp {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 12rem;
    display: none;
    -webkit-transition: -webkit-transform linear .5s;
    transition: -webkit-transform linear .5s;
    transition: transform linear .5s;
    transition: transform linear .5s, -webkit-transform linear .5s
}

.entry-section .img-sldr .img-sldr-wrp .img-wrp.show {
    display: block
}

.entry-section .img-sldr .img-sldr-wrp .img-wrp.next {
    display: block;
    position: absolute;
    top: 0;
    -webkit-transform: translateX(-150%);
    transform: translateX(-150%)
}

.entry-section .img-sldr .img-sldr-wrp .img-wrp.prev {
    display: block;
    position: absolute;
    top: 0;
    -webkit-transform: translateX(150%);
    transform: translateX(150%)
}

.entry-section .img-sldr .img-sldr-wrp .img-wrp.display {
    display: block!important
}

.entry-section .img-sldr .img-sldr-wrp.anmt-nxt .img-wrp.show {
    -webkit-transform: translateX(150%);
    transform: translateX(150%)
}

.entry-section .img-sldr .img-sldr-wrp.anmt-nxt .img-wrp.next {
    -webkit-transform: translateX(0);
    transform: translateX(0)
}

.entry-section .img-sldr .img-sldr-wrp.anmt-prv .img-wrp.show {
    -webkit-transform: translateX(-150%);
    transform: translateX(-150%)
}

.entry-section .img-sldr .img-sldr-wrp.anmt-prv .img-wrp.prev {
    -webkit-transform: translateX(0);
    transform: translateX(0)
}

.entry-section img {
    width: 100%;
    height: auto
}

.link-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 38rem
}

.link-buttons a {
    display: block;
    /* border: 1px solid #b0c5b7; */
    border: 1px solid black;
    border-radius: 4px;
    text-align: center;
    height: 3.9rem;
    width: 11rem;
    overflow: hidden;
    padding: .3rem .4rem;
    margin: 0 1.3rem 1.3rem 0;
    -webkit-box-shadow: 1px 1px 3px 0 #ccc;
    box-shadow: 1px 1px 3px 0 #ccc
}

.link-buttons a span {
    /* color: #000; */
    color: black;
    /*line-height: 3.2rem*/
}

.link-buttons a:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-text-decoration: #fff line solid;
    text-decoration: #fff line solid
}

.link-buttons a:link, .link-buttons a:visited {
    text-decoration: none
}

.link-buttons a .link-button-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}

.link-buttons a .post-date {
    font-size: 0.5rem;
    color: darkred;
}

.other-entries .link-buttons {
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    max-width: none;
}

.other-entries .link-buttons a {
    margin: 0 0 1.3rem 0;
}

.other-entries .sticky-header {
    font-size: 1.2rem;
}

.email:after {
    content: attr(data-kkj) "@" attr(data-xdi) "." attr(data-lnt)
}

@media only screen and (max-width: 714px) {
    .main-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
    
    .main-wrap .content {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto
    }
}

@media only screen and (max-width: 749px) {
    .entry-section .img-blk .img-blk-row {
        display: block
    }
    
    .entry-section .img-blk .img-blk-row .img-wrp {
        max-width: initial
    }
}

.emgithub-container {
    width: 85vw!important;
    max-width: 750px!important;
    margin-left: auto!important;
    margin-right: auto!important;
}

.emgithub-container td.hljs-ln-line {
    line-height: 0.7rem!important;
    font-size: 0.65rem!important;
}

.emgithub-container .emgithub-file .file-meta {
    font-size: 0.65rem!important;
}
