/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

.container {
    position: relative;
}

#logo {
    margin:auto;
    text-align: center;
}

#logo img {
    width: 250px;
    height: 225px;
}

.number {
    height: 30px;
    width: 30px;
    background-size: 30px 30px;
    display: block;
    margin: auto;
}

.number1 { background-image: url(../images/number.1.png); }
.number2 { background-image: url(../images/number.2.png); }
.number3 { background-image: url(../images/number.3.png); }
.number4 { background-image: url(../images/number.4.png); }
.number5 { background-image: url(../images/number.5.png); }
.number6 { background-image: url(../images/number.6.png); }
.number7 { background-image: url(../images/number.7.png); }
.number8 { background-image: url(../images/number.8.png); }
.number9 { background-image: url(../images/number.9.png); }
.number10 { background-image: url(../images/number.10.png); }

.section {
    margin-top: 40px;
}

.catalog-title h1{
    letter-spacing: 7px;
    font-size: 15px;
    text-align: center;
    color: #2DB81B;
    margin: 0;
    margin-top: 20px;
    padding-left: 15px;
}

.catalog .catalog-items ,
.catalog .catalog-items li{
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.catalog .catalog-items {
    border-top: 1px solid #DDD;
    margin-top: 30px;
}

.catalog .catalog-items li {
    border-bottom: 1px solid #DDD;
}

.catalog .catalog-items li a {
    display: block;
    padding: 12px 0;
    letter-spacing: 5px;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    color: #666;
    background: url(../images/icon.go.png) no-repeat 95% center;
    background-size: 15px 15px;
    padding-left: -5px;
}

.copyright {
    text-align: center;
    margin: 50px 0;
}

.copyright .eof {
    color: #999;
    margin-bottom: 30px;
    font-size: 13px;
}


.copyright img {
    width: 125px;
}

.contents {
    margin-top: 30px;
}

.content {
    border-top: 1px solid #DDD;
    padding: 30px 0 20px 0;
}

.content h2 {
    display: inline-block;
    letter-spacing: 7px;
    font-size: 15px;
    text-align: center;
    border-bottom: 3px solid #000;
    padding-left: 7px;
    margin: 0 auto 15px auto;
}

.title-container {
    text-align: center;
}

.contents {
    border-bottom: 1px solid #DDD;
}

.contents hr {
    margin: 20px 5%;
    border-top: 1px solid #EEE;
}

.content-container {
    font-size:14px;
    line-height: 150%;
    color: #333;
}

.content-container p{
    margin: 10px 5%;
}

.content-container ol ,
.content-container ul {
    padding: 0 5% 0 10%;
}

.content-container .subol,
.content-container .subul {
    margin-top: 10px;
    padding: 0 5% 0 5%;
}

.content-container .subol li,
.content-container .subul li {
    padding: 0 0 5px 0;
    list-style-type:upper-roman; 
}

.content-container ol li {
    padding: 0 0 10px 0;
}

.content-container ol li:last-child {
    padding: 0;
}

.content-container .ref {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

.content-container h3 {
    margin: 25px 5% 15px 5%;
    font-size: 15px;
}

.bottom-space {
    margin-bottom: 130px;
}

.back-button {
    position: fixed;
    width: 120px;
    height: 40px;
    border-radius: 6px;
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2);
    bottom: 5%;
    left: 50%;
    background: url(../images/icon.prev.png) no-repeat 18% center #FFF;
    background-size: 15px 15px;
    margin-left: -60px;
    z-index: 10000;
}

.back-button a {
    display: block;
    width: 105px;
    height: 40px;
    text-align: center;
    line-height: 42px;
    font-weight: bold;
    text-decoration: none;
    color: #2DB81B;
    padding-left: 15px;
    z-index: 10000;
}

.page-control .go-next a,
.page-control .go-prev a{
    display: block;
    padding: 15px 8%;
    text-decoration: none;
    color: #2DB81B;
    font-weight: bold;
    font-size: 15px;
}

.page-control .go-next span ,
.page-control .go-prev span {
    display: block;
    color: #555;
    font-weight: normal;
}

.page-control .go-next a {
    background: url(../images/icon.go.png) no-repeat 97% center;
    background-size: 15px 15px;
}

.page-control .go-prev a {
    background: url(../images/icon.prev.png) no-repeat 3% center;
    background-size: 15px 15px;
}

.page-control .go-next {
    border-bottom:1px solid #DDD;
    text-align: right;
}

.page-control .go-prev {
    border-bottom:1px solid #DDD;
}

.normal-size {
    width: 100%;
}

.yi {
    color: #43B633;
}

.ji {
    color: red;
}

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}
