﻿@page
{
    size: A4;
    margin-top: 25mm;
    margin-bottom: 20mm;
    margin-right: 20mm;
    margin-left: 20mm;

    @top-left
    {
        background: url(img/ahlogo.svg) no-repeat bottom left;
        content: "Sample Copyright © 2002-2009 Antenna House, Inc. All rights reserved.";
        font-size:9pt;
        vertical-align:bottom;
        padding-left: 60mm;
        margin-bottom:3mm;
        -ah-background-content-height:12mm;
        -ah-background-content-type:"content-type:xml/svg";
    }
    @bottom-left
    {
        background-color: #f1faee;
    }
    @bottom-center
    {
        background-color: #f1faee;
    }
    @bottom-right
    {
        background-color: #f1faee;
    }
}
@media print
{
    *
    {
        margin:0mm;
        padding:0mm;
    }
    body
    {
        /* 印刷用の初期化 */
        width:auto;
        float:none;
        margin:0;
        padding:0;
        background-color: #FFFFFF;
        font-family: sans-serif;
        /* ------ */
        height: 100%;
        font-size: 12pt;
    }
}
@media screen
{
    body
    {
        /* ブラウザ用 */
        padding-left: 50px;
        padding-right: 50px;
        background-color: #fefefe;
        font-family: sans-serif;
        font-size: 12pt;
    }
}



/* for top document title */
h1
{
    font-size: 20pt;
    color: #000000;
    font-family: sans-serif;
    font-weight: bold;
    line-height: 1.4em;
    padding: 5mm 10mm;
    background-color: #f1faee;
    margin: 0mm 0mm 5mm 0mm;
    text-align: left;
}

div#main div.headnote
{
    padding:2mm 0mm;
    height:25mm;
    width:100%;
    border-style:none;
    background-color: #eeeeee;
    font-size: 14pt;
}
div#main div
{
    position:relative;
    float:left;
    margin-bottom: 3mm;
    margin-right: 3mm;
    page-break-inside: avoid;
    border:solid 1mm #CCCCCC;
    width:80mm;
    height:52mm;
}
div#main div p.tag
{
    font-weight:bold;
}
div#main div#ex01
{
    text-align:left;
}
div#main div#ex02
{
    text-align:left;
    text-indent:1em;
}
div#main div#ex03
{
    text-align:left;
    text-indent:20mm;
}
div#main div#ex04
{
    text-align:left;
    text-indent:-1em;
}
div#main div#ex05
{
    text-align:center;
}
div#main div#ex06
{
    text-align:right;
}
div#main div#ex07
{
    text-align:justify;
}
div#main div#ex08
{
    text-align:justify;
    -ah-text-align-last:right;
}
div#main div#ex09
{
    text-align:justify;
    text-indent:1em;
}
div#main div#ex10
{
    text-align:left;
    -ah-text-align-last:right;
}
div#main div#ex11
{
    text-align:left;
    -ah-text-align-last:center;
}
div#main div#ex12
{
    text-align:right;
    -ah-text-align-last:center;
}
