/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #666;
}

body {
    font-size: 12px;
    line-height: 1.6;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

/*
** body
*/
html {
/*    font-family: Futura, 'Hiragino Maru Gothic Pro W4', メイリオ, arial, sans-serif; */
    font-family: "中ゴシックBBB", "Gothic Medium BBB", Futura, メイリオ, arial, sans-serif;
    background: #f4efe6;
    color: #666;
    min-width: 1000px;
    -webkit-font-smoothing: antialiased;
}
body {
    letter-spacing: 0.1em;
}

/*
** adjust
*/
ul,li { margin: 0; padding: 0; }
ul {
    list-style: none;
}
p, pre { margin: 0; }
p { line-height: 2.0; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; }

#main .page-nav:after {
    display: block;
    content: "";
    clear: both;
}

/*
** util
*/
a {
    color: #da5272;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

a.ahover {
    opacity: 1;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -msie-transition: all .5s ease;
}
a.ahover:hover {
    opacity: 0.7;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -msie-transition: all .5s ease;
}

a.oa {
    display: block;
    position: relative;
}
a.oa img.oi {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -msie-transition: all .5s ease;
}
a.oa:hover {
    
}
a.oa:hover img.oi {
    opacity: 1;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -msie-transition: all .5s ease;
}

a.fadebtn,
.fadebtn-area a {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -msie-transition: all .3s ease;
}
a.fadebtn:hover,
.fadebtn-area a:hover {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -msie-transition: all .3s ease;
}

a.pink-btn {
    background: #da5272;
    border-bottom: 3px solid #bb1a56;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 10px 50px;
    color: #fff;
    border-radius: 5px;
}
a.pink-btn:active {
    border-bottom: none;
    margin-top: 3px;
}

a.blue-btn {
    display: inline-block;
    padding: 5px 20px;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #219fa4;
    background-color: #26b7bc;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}
a.blue-btn:hover {
    text-decoration: none;
    background-color: #e3cc32;
    border-color: #bba71d;
}

.fl { float: left; }
.fr { float: right; }

.dk {
    display: block;
    text-indent: -9999px;
}
.downbtn {
    
}

.shy {
    /*opacity: 0;*/
    position: relative;
}

.pc {
    display: block;
}
.sp {
    display: none;
}

.lead-1 {
    font-size: 95%;
    line-height: 2.4;
}

.bg-pink span {
    font-size: 12px;
    background: url('../img/bg-1.gif') repeat-x left bottom;
}

blockquote.box {
    background: #fbedf1;
    padding: 2%;
}
blockquote.box p {
    margin-bottom: 0 !important;
}

.k-3 {
    width: 100%;
    height: 10px;
    background: url('../img/k-3.gif') repeat-x 0 0;
}

/*
** layout
*/
.wrap {
    width: 1000px;
    margin: 0 auto;
    min-width: 1000px;
}
.wrap-650 {
    width: 650px;
    min-width: 650px;
}
.wrap:after {
    display: table;
    content: " ";
    clear: both;
}
.col2, .col3, .col4, .col5 {
    margin-right: 20px;
    float: left;
}
.cols {
    margin-right: -20px;
}
.cols:after {
    content: " ";
    display: table;
    clear: both;
}
.col2 { width: 490px; }
.col3 { width: 320px; }
.col4 { width: 235px; }
.col5 { width: 184px; }
.col3.pw20 {
    width: 280px;
    padding: 0 20px;
}

#intro .col2 .cols {
	margin-top: -20px;
}
#intro .col2 .cols .col4 {
	margin-top: 20px;
}

/*
** header 
*/
#g-header {
    margin-bottom: 60px;
    padding-bottom: 3px;
    background: url('../img/k-2.gif') repeat-x 0 100%;
}
#g-logo-area {
    padding: 40px 0;
    background: #da5272;
}
#g-logo,
#g-logo a {
    width: 399px;
    height: 25px;
}
#g-logo {
    margin: 0 auto;
}
#g-logo a {
    background: url('../img/header-logo.png') no-repeat 0 0;
}
#g-nav-area {
    background: #fff;
    border-bottom: 3px solid #da5272;
}
#g-nav {
    width: 677px;
    margin: 0 auto;
}
#g-nav ul {
    margin: 0;
    padding: 0;
}
#g-nav ul:after {
    display: table;
    content: " ";
    clear: both;
}
#g-nav ul li {
    float: left;
}
#g-nav ul li.blog {
    margin-right: 0;
}
#g-nav ul li a {
    display: block;
    text-indent: -9999px;
    padding: 35px 20px;
    height: 14px;
    background: url('../img/header-nav.png') no-repeat;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -msie-transition: all .3s ease;
}
#g-nav ul li.about a {
    width: 86px;
    background-position: 20px center;
}
#g-nav ul li.action a {
    width: 91px;
    background-position: -107px center;
}
#g-nav ul li.archivement a {
    width: 91px;
    background-position: -238px center;
}
#g-nav ul li.staff a {
    width: 110px;
    background-position: -367px center;
}
#g-nav ul li.blog a {
    width: 99px;
    background-position: -512px center;
}
#g-nav ul li a:hover,
#g-nav ul li a.on {
    background-color: #eedde1;
    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    -msie-transition: all .1s ease;
}
#g-nav ul li a.on {
    position: relative;
}
#g-nav ul li a.on:after {
    display: block;
    content: " ";
    width: 7px;
    height: 4px;
    background: url('../img/header-nav-cr.gif') no-repeat 0 0;
    position: absolute;
    bottom: -7px;
    left: 50%;
    margin-left: -3px;
}
#g-contact {
    position: fixed;
    top: 50%;
    right: -105px;
    margin-top: -25px;
    z-index: 100;
}
#g-contact a,
#g-contact a span {
    display: block;
}
#g-contact a {
    position: relative;
    width: 150px;
    height: 100px;
    text-indent: -9999px;
    background: url('../img/btn-contact.png') no-repeat 0 0;
}
#g-contact a span {
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -6px;
    width: 18px;
    height: 13px;
    background: url('../img/btn-contact-mail.png') no-repeat 0 0;
}


/*
** main
*/
#main {
    padding-bottom: 60px;
}
#main.rel {
    position: relative;
}
#main-loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../img/loading.gif') no-repeat 50% 150px;
    display: none;
}
#main .page-header {
    margin-bottom: 30px;
}

/* page-title */
#main .page-title,
#main .page-title span {
    width: 1000px;
    height: 53px;
}
#main .page-title span {
    display: block;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: 0 0;
}
#main .page-stitle,
#main .page-stitle span {
    width: 900px;
    height: 30px;
}
#main .page-stitle {
    margin-bottom: 40px;
}
#main .page-stitle span {
    display: block;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: 0 0;
}
#main .s-s-title,
#main .s-s-stitle span {
    width: 900px;
    height: 22px;
}
#main .s-s-title {
    margin-bottom: 30px;
}
#main .s-s-title span {
    display: block;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

/* page-nav */
#main .page-nav {
    width: 100%;
    list-style: none;
}
#main .page-nav li {
    float: left;
    line-height: 1.0;
}
#main .page-nav li > a,
#main .page-nav li > span {
    display: block;
    padding: 20px 30px 20px 40px;
    line-height: 1;
}
#main .page-nav li > a {
    color: #666666;
    background-repeat: no-repeat;
    background-position: 30px center;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -msie-transition: all .3s ease;
}
#main .page-nav li > a:hover,
#main .page-nav li > a.on,
#main .page-nav li.current-cat > a {
    background-color: #fff;
    text-decoration: none;
}
#main .page-nav li > a:hover {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -msie-transition: all .3s ease;
}
#main .blue-nav { background: #ccdde4; }
#main .blue-nav li a { background-image: url('../img/link-blue.png'); }
#main .green-nav { background: #cfdfc8; }
#main .green-nav li a { background-image: url('../img/link-green.png'); }
#main .orange-nav { background: #f7e3c7; }
#main .orange-nav li a { background-image: url('../img/link-orange.png'); }
#main .purple-nav { background: #ebd4da; }
#main .purple-nav li a { background-image: url('../img/link-purple.png'); }
#main .water-nav { background: #c9e4e0; }
#main .water-nav li a { background-image: url('../img/link-water.png'); }

/* page-content */
#main .page-content {
    word-break: break-all;
}
#main .page-content:after {
    display: table;
    content: " ";
    clear: both;
}
#main .page-white {
    background: #fff;
    border-bottom: 1px solid #dedede;
    padding: 50px;
    line-height: 2.2;
}
#main .page-white .reading {
    font-size: 120%;
}
#main .page-white .reading p {
    margin-bottom: 20px;
}

#main .layout-left {
    width: 760px;
    float: left;
}
#main .layout-right {
    width: 210px;
    float: right;
}


/*
** feed
*/
#feed {
    margin-top: 20px;
}
#feed a {
    color: #666;
    font-size: 14px;
}
#feed ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#feed .col3 {
    width: 280px;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #dedede;
}
#feed .feed-title {
    width: 280px;
    height: 24px;
    margin-bottom: 20px;
    text-indent: -9999px;
    background-position: 0 0;
    background-repeat: no-repeat;
}
#feed .article-list {
}
#feed .article-list li {
    margin-bottom: 10px;
}
#feed .article-list li:last-child {
    margin-bottom: 0;
}
#feed .article-list li:after {
    display: table;
    content: " ";
    clear: both;
}
#feed .article-list .date {
    /*width: 70px;*/
    margin-right: 10px;
    letter-spacing: 0;
    /*float: left;*/
}
#feed .article-list .date .new {
    font-size: 83%;
    color: #da5272;
}
#feed .article-list .title {
    /*width: 200px;*/
    line-height: 1.6;
    /*float: left;*/
}
#feed .news .feed-title {
    background-image: url('../img/news-title.gif');
}
#feed .blog .feed-title {
    background-image: url('../img/blog-title.gif');
}
#feed .fb .feed-title {
    background-image: url('../img/fb-title.gif');
}

/*
** footer 
*/
#banner-area {
    margin-bottom: 60px;   
}
#pagetop {
    background: url('../img/k-2.gif') repeat-x left bottom;
}
#pagetop:after {
    display: table;
    content: " ";
    clear: both;
}
#pagetop a {
    display: block;
    text-indent: -9999px;
    width: 112px;
    height: 11px;
    padding: 10px 20px;
    margin-bottom: 3px;
    float: right;
    background: #da5272 url('../img/pagetop.png') no-repeat center 8px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
#pagetop a:hover {
    background-position: center -22px;
}

/*
** sitemap
*/
#sitemap {
    padding: 20px 0;
    background: #fff;
}
#sitemap a {
    color: #666;
}
#sitemap .gnav {
    padding-top: 10px;
    float: left;
    line-height: 1.0;
}
#sitemap ul:after {
    display: table;
    content: " ";
    clear: both;
}
#sitemap ul li {
    display: inline;
    margin-right: 20px;
}
#sitemap ul li a .sp {
    display: none;
}
#sitemap ul li a .pc {
    display: inline;
}
#sitemap .banner {
    width: 120px;
    float: right;
}
#sitemap .banner ul li {
    display: block;
    margin-right: 10px;
    float: left;
}
#sitemap .banner ul li a {
    display: block;
    padding: 10px 20px;
    line-height: 1.0;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
}
#sitemap .banner ul li.tw {
    margin-right: 0;
}
#sitemap .banner ul li.fb a {
    background: #3b5998;
    border-bottom: 1px solid #334d84;
}
#sitemap .banner ul li.tw a {
    background: #34caff;
    border-bottom: 1px solid #2db0de;
}
#copyright {
    height: 20px;
    padding: 20px 0;
    background: #da5272;
}
#copyright .pnav {
    width: 254px;
    padding-top: 5px;
    float: left;
    line-height: 1.0;
    font-size: 10px;
}
#copyright .pnav li {
    display: inline;
    margin-right: 20px;
}
#copyright .pnav li.last {
    margin-right: 0;
}
#copyright .pnav li a {
    color: #fff;
}
#copyright .social-plug {
    width: 250px;
    float: right;
    text-align: right;
}
.fb-like {
    margin-right: 10px;
    vertical-align: top;
    line-height: 1.0;
}
iframe.twitter-share-button  {
    width: 100px !important;
}

#loading {
    width: 100%;
    height: 100%;
    background: #fff url('../img/loading.gif') no-repeat 50% 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
}

#tag {
    display: none;
}




.media .list-section:after,
.lecture .list-section:after {
    display: block;
    clear: both;
    content: "";
}
.media .list-date,
.lecture .list-date {
    width: 9em;
    float: left;
}
.media .list-title,
.lecture .list-title {
    width: 750px;
    float: right;
}




.page-block {
    margin-bottom: 60px;
}
.page-midashi-01 span {
    background: url('/_file/img/bg-yellowbar.gif') repeat-x left 90%;
}
.page-dl dt {
    font-weight: bold;
    font-style: italic;
}
.page-dl dd {
    margin-bottom: 10px;
}





@media screen and (max-width: 480px) {
    html {
        min-width: 100%;
    }
    img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        text-align: center;
    }
    a.pink-btn {
        display: block;
        width: 100%;
        padding: 5px 0;
        text-align: center;
    }
    .wrap {
        width: 96%;
        min-width: 96%;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    .bg-pink span {
        background-size: 2px 2px;
    }
    .col2, .col3, .col4, .col5 {
        float: none;
    }
    .col2, .col3, .col4 {
        margin-right: 0;
    }
    .col5 {
        margin-right: 1%;
    }
    .cols {
        margin-right: 0%;
    }
    .col2 { width: 100%; }
    .col3 { width: 100%; }
    .col4 { width: 100%; }
    .col5 { width: 24%; }

    #g-header {
        margin-bottom: 30px;
    }
    #g-logo-area {
        padding: 20px 0;
    }
    #g-logo,
    #g-logo a {
        width: 200px;
        height: 12px;
    }
    #g-logo a {
        background-size: 200px 12px;
    }

    #g-nav-area .wrap {
        width: 100%;
    }
    #g-nav {
        width: 100%;
    }
    #g-nav ul {
        width: 100%;
    }
    #g-nav ul li {
        width: 20%;
    }
    #g-nav ul li a {
        width: 100%;
        padding: 20px 0;
        background-size: 315px 16px;
    }
    #g-nav ul li.about a {
        width: 100%;
        background-position: 9px center;
    }
    #g-nav ul li.action a {
        width: 100%;
        background-position: -55px center;
    }
    #g-nav ul li.archivement a {
        width: 100%;
        background-position: -120px center;
    }
    #g-nav ul li.staff a {
        width: 100%;
        background-position: -189px center;
    }
    #g-nav ul li.blog a {
        width: 100%;
        background-position: -259px center;
    }
    #g-nav ul li a.on:after {
        width: 3px;
        height: 2px;
        bottom: -5px;
        left: 50%;
        margin-left: -1px;
        background-size: 3px 2px;
    }
    #g-contact {
        top: 80%;
        right: -55px;
        margin-top: -12px;
    }
    #g-contact a {
        position: relative;
        width: 75px;
        height: 50px;
        background-size: 75px 50px;
    }
    #g-contact a span {
        position: absolute;
        top: 50%;
        left: 7px;
        margin-top: -3px;
        width: 9px;
        height: 6px;
        background-size: 8px 6px;
    }

    #main {
        padding-bottom: 30px;
    }
    #main-loading {
        background-size: 12px 12px;
    }
    #main .page-title,
    #main .page-title span {
        height: auto;
    }
    #main .page-title {
        width: 90%;
        padding: 10px 5%;
        color: #fff;
        font-size: 143%;
        font-weight: normal;
        line-height: 1.0;
        background-image: none !important;
    }
    #main .page-title span {
        width: 100%;
        text-indent: 0;
    }
    #main .page-stitle,
    #main .page-stitle span {
        width: 90%;
        height: 15px;
    }
    #main .page-stitle {
        margin-bottom: 15px;
        background-size: 450px 15px;
    }
    #main .s-s-title,
    #main .s-s-stitle span {
        width: 100%;
        height: 11px;
    }
    #main .s-s-title {
        margin-bottom: 15px;
    }
    #main .s-s-title span {
        background-size: 450px 12px;
    }

    #main .page-nav {
        font-size: 10px;
    }
    #main .page-nav li > a,
    #main .page-nav li > span {
        padding: 10px 10px 10px 20px;
    }
    #main .page-nav li > a {
        background-position: 10px 50%;
        background-size: 2px 3px;
    }

    #main .page-white {
        padding: 20px;
    }

    #main .layout-left {
        width: 100%;
    }
    #main .layout-right {
        display: none;
    }

    #main #intro {
        display: none;
    }

    #feed {
        margin-top: 0;
    }
    #feed .col3 {
        width: 90%;
        padding: 20px 5%;
        margin-bottom: 10px;
    }
    #feed .feed-title {
        width: 100%;
        margin-bottom: 20px;
        text-indent: 0;
        background: none;
        line-height: 1.6;
        font-size: 120%;
    }
    #feed .article-list .date time,
    #feed .article-list .date .new {
        display: inline;
    }
    #feed .article-list .date {
        width: 100%;
    }
    #feed .article-list .date time {
        margin-right: 10px;
    }
    #feed .article-list .title {
        width: 100%;
        float: none;
    }
    #feed .news .feed-title,
    #feed .blog .feed-title,
    #feed .fb .feed-title {
        background-image: none;
    }
    #feed .news .feed-title {
        border-bottom: 3px solid #da5272;
    }
    #feed .blog .feed-title {
        border-bottom: 3px solid #26b7bc;
    }
    #feed .fb .feed-title {
        border-bottom: 3px solid #3b5998;
    }
    #feed .feed-title span b {
        font-size: 70%;
        margin-left: 10px;
    }
    #feed .news .feed-title span b {
        color: #da5272;
    }
    #feed .blog .feed-title span b {
        color: #26b7bc;
    }
    #feed .fb .feed-title span b {
        color: #3b5998;
    }

    #pagetop {
        height: 4px;
        background-size: 2px 4px;
    }
    #pagetop a {
        display: none;
    }

    #sitemap .gnav {
        float: none;
        padding-top: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid #dedede;
    }
    #sitemap ul {
        text-align: center;
    }
    #sitemap ul li {
        display: inline;
        margin-right: 10px;
    }
    #sitemap ul li a .pc {
        display: none;
    }
    #sitemap ul li a .sp {
        display: inline;
    }
    #sitemap .banner {
        width: 100%;
        padding-top: 20px;
        float: none;
    }
    #sitemap .banner ul {
        width: 100%;
        text-align: center;
    }
    #sitemap .banner ul li {
        width: 30%;
        display: inline-block;
        float: none;
    }
    #sitemap .banner ul li a {
        width: 100%;
        padding: 10px 5%;
    }

    #copyright .pnav {
        display: none;
    }
    #copyright .social-plug {
        width: 100%;
        text-align: center;
        float: none;
    }



}





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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

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

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

    /*
     * Don't show links for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}
