
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'tbcgothic-std' , sans-serif;
    font-style: normal;
}

.font-kan415typos{ font-family: 'kan415typos-std' , sans-serif; font-style: normal; font-weight: 400;}
.font-light{font-family: 'a-otf-ud-shin-go-pr6n' , sans-serif; font-style: normal; font-weight: 300;}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
a,
a:visited {
    text-decoration: none; 
    color: #000;
}
*{ box-sizing: border-box;}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* header */
header{ background: url(../images/bg-menu.jpg); position: fixed; width: 100%; top: 0; left: 0; z-index: 99; box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.2); }
.header-menu{ background: url(../images/line-wood-header.png) repeat-x; background-position: top; height: 70px; }
.logo{ position: absolute; top: 0; left: 0;}
.logo img{ width: 170px; 
    -webkit-transform-origin: top center;
    transform-origin: top center;

    animation: wind 4s ease-out alternate infinite;
    /* box-shadow: -7px 15px 10px -10px rgba(255, 255, 255, 0.2); */
}


/* menu */

/* main */
body{ background: url(../images/bg.jpg);}
main{ width: 100%; padding-top: 70px; }
.container{ max-width: 980px; width: 100%; margin: 0 auto; position: relative;}

.title-topic { font-size: 20px; text-align: center;}
.title-topic img{ width: 100px; }

.position-btn-center{ display: block; padding: 22px 0; text-align: center; }
.btn-red{ color: #fff !important; padding: 4px; display: inline-block; position: relative;
    border-style: solid;
    border-width: 8px 42px;
    -moz-border-image: url(/common/images/bg-btn-red.png) 13 54 repeat;
    -webkit-border-image: url(/common/images/bg-btn-red.png) 13 54 repeat;
    -o-border-image: url(/common/images/bg-btn-red.png) 13 54 repeat;
    border-image: url(/common/images/bg-btn-red.png) 13 54 fill repeat;}

.btn-red2{ color: #fff !important;display: inline-block; position: relative;
    border-style: solid;
    border-width: 8px 42px;
    -moz-border-image: url(/common/images/bg-btn-red.png) 13 54 repeat;
    -webkit-border-image: url(/common/images/bg-btn-red.png) 13 54 repeat;
    -o-border-image: url(/common/images/bg-btn-red.png) 13 54 repeat;
    border-image: url(/common/images/bg-btn-red.png) 13 54 fill repeat;}

    .btn-brown { display: block; text-align: center; color: #000;
    border-style: solid;
    border-width: 10px;
    -moz-border-image: url(/common/images/btn-brown.png) 10 12 repeat;
    -webkit-border-image: url(/common/images/btn-brown.png) 10 12 repeat;
    -o-border-image: url(/common/images/btn-brown.png) 10 12 repeat;
    border-image: url(/common/images/btn-brown.png) 10 12 repeat; }

.top-banner{ display: block; width: 100%; margin-bottom: 32px; }
.top-banner img{ width: 100%;}

/* footer */
.footer-menu{ background: #000;}
.bg-black{ display: flex; flex-wrap: wrap; align-items: center; padding: 14px 0; }
.bg-black .logo-footer{ display: block; width: 30%; text-align: center;}
.bg-black .list-menu-footer{ display: flex; flex-wrap: wrap;  width: 70%; }
.list-menu-footer a{ color: #a6a6a6; display: block; font-size: 12px; text-align: center;width: 13%;; margin: 8px 1%; }
.list-menu-footer a:hover{ color: #fff; }
.logo-footer img{ width: 150px;}
.copy-right{ background: rgba(0, 0, 0, 0.7); padding: 12px;  text-align: center; font-size: 12px; color: #fff;}
.back-to-top{ position: relative; display: none;}
.back-to-top a{ display: block; z-index: 99; position: fixed; right: 2%; bottom: 80px; }
.back-to-top a img{ width: 85px; }





@media(max-width:768px){
    .logo img{ width: 100px;}
}

@media(max-width:680px){
    .bg-black .logo-footer{ width: 100%;}
    .bg-black .list-menu-footer{ width: 100%; padding-top: 12px;}
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
    
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

@media(max-width:900px){
    .topic-menu .megacollink{ width: 92%;}
}
@media(max-width:780px){
    .topic-menu{ flex-wrap: wrap;}
    .topic-menu .menu-blue{ width: 100%; padding: 8px; display: none;}
    .topic-menu .sub-menu{ width: 100%; padding: 4px;}
    .topic-menu .megacollink li{ width: 100%; margin: 4px auto; border: 0; border-bottom: 1px solid rgba(204, 204, 204, 0.4);}
    .topic-menu .megacollink li a{ text-align: left; color: #9e9b9b !important;}
    .topic-menu .megacollink li a span{ display: inline-block; font-size: 28px; margin-right: 12px; margin-bottom: 0;}
    .topic-menu .megacollink li:hover{background: none;}
    .topic-menu .megacollink li:hover a{ color: #1653CA !important;}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: none !important; 
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    :hover{
         text-decoration: none;
    }
}

.link-page2{
    position: relative;
    top:23px;
    left:130px
}
@media(min-width:640px){
.link-page2{
    display:none;
}
}    