/********************** side ***********************/
.side {
    width: 300px;
    float: left;
}
.has-side .content {
    width: calc(100% - 370px);
    float: right;
}
.side-nav {
    position: relative;
}
.side-nav li a {
    display: block;
}
.side-nav > li > a {
    color: #969696;
    position: relative;
    padding: 11px 28px;
    line-height: 24px;
    font-size: 16px;
    margin-bottom: 14px;
}
.side-nav > li > a:hover,
.side-nav > li.active > a {
    color: #535353;
    font-weight: bold;
}
.side-nav > li.active > a:before {
    border-color: #454545;
}
.side-nav > li.has-child {
    position: relative;
}
.side-nav > li.has-child a {
    padding-right: 45px;
}
.side-nav > li .toggle-sidesub {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background: url(../images/side_accordion.png) no-repeat;
    width: 45px;
    height: 45px;
    cursor: pointer;
}
.side-nav li.active .toggle-sidesub {
    background-position: 0 100%;
}
.side-nav ul {
    display: none;
    padding-bottom: 8px;
}
.side-nav ul li a {
    color: #666;
    font-size: 15px;
    background: #FAEFE7;
    padding: 8px 10px 8px 36px;
    margin-bottom: 6px;
}
.side-nav ul li a:hover,
.side-nav ul li.active > a {
    background: #F4DCCA;
    font-weight: bold;
}

.toggle-side {
    display: none;
}
@media screen and (max-width: 1200px) {
    .side {
        width: 250px;
    }
    .has-side .content {
        width: calc(100% - 300px);
    }
}
@media screen and (max-width: 900px) {
    .toggle-side {
        display: block;
        padding: 8px 20px;
        font-family: 'Trykker', "微軟正黑體", "Microsoft JhengHei", "微软雅黑", "メイリオ", "맑은 고딕", sans-serif;
        font-size: 18px;
        border: 1px solid #666;
        color: #333;
        width: 100%;
        margin-bottom: 20px;
    }
    .toggle-side:hover,
    .side-open .toggle-side {
        background: #C78B67;
        border-color: #C78B67;
        color: #fff;
    }
    .side,
    .has-side .content {
        float: none;
        width: auto;
    }
    .side {
        max-height: 0;
        overflow: hidden;
        -webkit-transition: all .3s ease;
           -moz-transition: all .3s ease;
            -ms-transition: all .3s ease;
             -o-transition: all .3s ease;
                transition: all .3s ease;
    }
    .side-open .side {
        max-height: 1000px;
        padding-bottom: 20px;
        overflow-x: visible;
        overflow-y: auto;
    }
    .has-side .content {
    }
    .side-open .content {
    }
}