﻿/* resetCSS */

html, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
}

article, header, footer, aside, figure, figcaption, nav, section {
    display: block;
}

body {
    line-height: 1.5;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
    overflow-x: hidden;
}

/*resetCSS*/

html {
    scroll-behavior: smooth;
}

body {
    color: #242424;
    background-color: #f8f8f8;
}

h1 {
    font-size: 2.3rem;
}

@media screen and (max-width: 780px) {
    h1 {
        font-size: 1.4rem;
    }
}

.narrow {
    display: none;
}

@media screen and (max-width: 1365px) {
    .narrow {
        display: inline;
    }
}

.wide {
    display: inline;
}

@media screen and (max-width: 1365px) {
    .wide {
        display: none;
    }
}

/*maincontents*/

.main {
    font-family: sans-serif;
    width: 755px;
    margin: 0 auto;
    margin-left: 460px;
}

@media screen and (max-width: 1920px) {
    .main {
        font-family: sans-serif;
        width: 755px;
        margin: 0 auto;
        margin-left: 350px;
    }
}

@media screen and (max-width: 1600px) {
    .main {
        font-family: sans-serif;
        width: 755px;
        margin: 0 auto;
        margin-left: 240px;
    }
}

@media screen and (max-width: 1365px) {
    .main {
        font-family: sans-serif;
        width: 755px;
        margin: 0 auto;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media screen and (max-width: 780px) {
    .main {
        width: 90%;
        padding-right: 20px;
        padding-left: 20px;
        margin: 0 auto;
    }
}

hr {
    color: #f0f0f0;
}

a:link {
    text-decoration: none;
    color: #0088cc;
}

a:hover {
    text-decoration: underline;
    color: #0088cc;
}

a:visited {
    text-decoration: none;
    color: #7619c2;
}

a:active {
    text-decoration: underline;
    color: #333194;
}

.misc {
    list-style-type: none;
    padding: 3px 5px 3px 10px;
}

.olc {
    font-family: Consolas, 'DejaVu Sans Mono', monospace;
    color: white;
    background-color: #252525;
    font-size: 90%;
    margin: 0px 5px;
    padding: 1px 3px;
    border-radius: 2px;
}

/*sidemenu*/

.sidemenu {
    background-color: #e0e0e0;
    position: fixed;
    top: 80px;
    left: 1300px;
    width: 270px;
    max-height: 600px;
    overflow: auto;
    padding: 14px;
    padding-right: 23px;
}

@media screen and (max-width: 1600px) {
    .sidemenu {
        background-color: #e0e0e0;
        position: fixed;
        top: 60px;
        left: 1040px;
        width: 200px;
        max-height: 340px;
        overflow: auto;
        padding: 14px;
        padding-right: 23px;
    }
}

@media screen and (max-width: 1365px) {
    .sidemenu {
        display: none;
    }
}

.gotop a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #606060;
    margin-bottom: 10px;
    font-size: 114%;
}

ul.side li a:link {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 5px;
    color: #606060;
}

ul.side li a:hover {
    text-decoration: none;
    background-color: #d0d0d0;
}

ul.side li a:visited {
    text-decoration: none;
}

ul.side li a:active {
    text-decoration: none;
    background-color: #a0a0a0;
}

ul.sidenest {
    margin-left: 25px;
    list-style-type: none;
}

ul.sidenest li a:link {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 3px 5px;
    color: #606060;
}

ul.sidenest li a:hover {
    text-decoration: none;
    background-color: #d0d0d0;
}

ul.sidenest li a:visited {
    text-decoration: none;
}

ul.sidenest li a:active {
    text-decoration: none;
    background-color: #a0a0a0;
}

ul.main_list {
    padding-left: 30px;
}

ul.side {
    list-style-type: none;
}

.sidemenu .collapse li a {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 3px 5px;
    color: #606060;
}

/*blog button*/

.blog {
    box-sizing: border-box;
    position: fixed;
    top: 717px;
    left: 1300px;
    width: 307px;
    font-size: 20px;
    padding: 0px;
}

.blog a:link {
    box-sizing: border-box;
    height: 70px;
    padding-top: 20px;
    padding-left: 55px;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #606060;
    background-color: #e0e0e0;
}

.blog a:hover {
    text-decoration: none;
    background-color: #d0d0d0;
}

.blog a:visited {
    text-decoration: none;
    color: #606060;
}

.blog a:active {
    text-decoration: none;
    background-color: #a0a0a0;
}

@media screen and (max-width: 1600px) {
    .blog {
        box-sizing: border-box;
        position: fixed;
        top: 437px;
        left: 1040px;
        width: 237px;
        font-size: 18px;
        padding: 0px;
    }
    .blog a:link {
        box-sizing: border-box;
        height: 50px;
        padding-top: 12px;
        padding-left: 32px;
        display: block;
        width: 100%;
        text-decoration: none;
        color: #606060;
        background-color: #e0e0e0;
    }
    .blog a:hover {
        text-decoration: none;
        background-color: #d0d0d0;
    }
}

@media screen and (max-width: 1365px) {
    .blog {
        display: none;
    }
}

/*Amazon wishlist*/

.wishlist {
    box-sizing: border-box;
    position: fixed;
    top: 797px;
    left: 1300px;
    width: 307px;
    font-size: 20px;
    padding: 0px;
}

.wishlist a:link {
    box-sizing: border-box;
    height: 70px;
    padding-top: 20px;
    padding-left: 65px;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #606060;
    background-color: #e0e0e0;
}

.wishlist a:hover {
    text-decoration: none;
    background-color: #d0d0d0;
}

.wishlist a:visited {
    text-decoration: none;
    color: #606060;
}

@media screen and (max-width: 1600px) {
    .wishlist {
        box-sizing: border-box;
        position: fixed;
        top: 497px;
        left: 1040px;
        width: 237px;
        font-size: 18px;
        padding: 0px;
    }
    .wishlist a:link {
        box-sizing: border-box;
        height: 50px;
        padding-top: 12px;
        padding-left: 42px;
        display: block;
        width: 100%;
        text-decoration: none;
        color: #606060;
        background-color: #e0e0e0;
    }
    .wishlist a:hover {
        text-decoration: none;
        background-color: #d0d0d0;
    }
    .wishlist a:visited {
        text-decoration: none;
        color: #606060;
    }
}

@media screen and (max-width: 1365px) {
    .wishlist {
        display: none;
    }
}

.wishlist a:active {
    text-decoration: none;
    color: #606060;
    background-color: #a0a0a0;
}

/*Image CSS*/

.img {
    max-width: 100%;
}

@media screen and (max-width: 780px) {
    .img {
        width: 90vw;
    }
}

/*CSS Collapse Menu*/

.collapse .afg {
    display: block;
    cursor: pointer;
    color: #0088cc;
}

.collapse .afg:hover {
    display: block;
    cursor: pointer;
    color: #0088cc;
    text-decoration: underline;
}

.collapse input {
    display: none;
}

.collapse .whenshow {
    max-height: 0;
    padding-left: 5px;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s ease-in-out;
}

.showhide:checked+.whenshow {
    max-height: 600px;
    padding: 5px;
    opacity: 1;
}