html, body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* logo */
.logo {
    width: 1.4rem;
    height: 1.4rem;
}

.logo__container {
    font-weight: 900;
    color: #432E30;
    font-size: 1.1em;
    grid-column: 2;
    vertical-align: middle;
}

.logo__thin {
    font-weight: 300;
    display: inline-block;
    vertical-align: top;
}

/*nav*/
.doc__bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 28%;
    background-color: #F8F8FA;
    z-index: -1;
}

.doc__nav {
    flex-basis: 20%;
    font-weight: 200;
}

.doc__nav ul {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
}

.doc__nav ul.fixed {
    position: fixed;
    top: 2rem;
}

.doc__nav li:hover {
    color: #F8F8FA;
    cursor: pointer;
    transition: color .3s ease-in-out;
}

.doc__nav .selected {
    color: #FE6A6B;
    position: relative;
}

.doc__nav .selected:after {
    position: absolute;
    content: "";
    width: 1rem;
    height: 1rem;
    background-color: #FE6A6B;
    left: -1.5rem;
    top: 0.3rem;
}


/* layout */
.header {
    border-bottom: 1px solid #F0E8E8;
    grid-template-columns: 1fr 150px 60% 1fr;
    background-color: #F8F8FA;
    position: fixed;
    top:0;
    right:0;
    left:0;
    z-index: 9999;
}

.wrapper {
    width: 70%;
    margin-top: 4rem;
}


/* doc */
.doc__content {
    flex-basis: 80%;
    padding: 0 0 5rem 1rem;
}
.doc__content li{
    font-size:0.8em;
}

.doc__content .detail_container{
    background: #F8F8FA;
    padding:0.2em 1.2em;
    border-radius: 0.6em;
    border: 1px solid #F0E8E8;
    color: #8E7474;
}

.doc__content h4{
    color: #8E7474;
    border-left:4px solid #8E7474;
    font-weight: 300;
}

.doc__content .wage{
    margin-top: 1rem;
    color: #8E7474;
}

.iw_poi_title {color:#CC5522;font-size:14px;font-weight:bold;overflow:hidden;padding-right:13px;white-space:nowrap}
.iw_poi_content {font:12px arial,sans-serif;overflow:visible;padding-top:4px;white-space:-moz-pre-wrap;word-wrap:break-word}

@media (max-width: 750px) {
    .wrapper {
        flex-direction: column;
    }
    .doc__content {
        padding-left: 0;
    }
    .doc__nav ul {
        border-bottom: 1px solid #F0E8E8;
        padding-bottom: 0.5rem;
    }
    .doc__nav ul.fixed {
        /* nutralized the fixed menu for mobile*/
        position: relative;
        top: 0;
    }
    .doc__nav li {
        display: inline-block;
        padding-right: 1rem;
    }
    .doc__nav .selected:after {
        display: none;
    }
}