h2,h2 a {
    font-size: 20px
}

@media(max-width: 759px) {
    h2,h2 a {
        font-size:16px
    }
}

.h1sub {
    font-size: 14px;
    font-weight: normal;
    line-height: 0;
    font-style: italic
}

.yname {
    font-size: 27px;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    background-color: #FFF;
    border-radius: 24px;
    border: thin solid #BBC;
    color: #778;
    height: 48px;
    line-height: 38px;
    top: 0;
    position: absolute;
    width: 296px;
    left: 332px
}

.agename .btncap {
    left: 192px
}

.forumlnk .btncap {
    left: 128px
}

.year_info .btncap {
    left: 64px
}

.year_print .btncap {
    right: 64px
}

.year_pdf .btncap {
    right: 128px
}

.year_jpg .btncap {
    right: 192px
}

.yname:hover {
    cursor: pointer;
    color: #445;
    background-color: #DEF;
    border-color: #889;
    box-shadow: 0 0 16px 0 #667
}

.pyname a:hover .btncap,.nyname a:hover .btncap,.agename a:hover .btncap,.forumlnk a:hover .btncap,.year_info:hover .btncap,.year_print:hover .btncap,.year_pdf:hover .btncap,.year_jpg:hover .btncap {
    overflow: visible;
    font-family: 'Boblic',sans-serif;
    font-size: 18px;
    font-weight: bold;
    width: 120px;
    cursor: pointer;
    color: #445;
    background-color: #DEF;
    border-color: #889;
    box-shadow: 0 0 16px 0 #667;
    z-index: 1
}

.pyname a:hover .btncap,.nyname a:hover .btncap {
    font-family: 'dig',Roboto,Arial,Tahoma,"Geneva CY","DejaVu Sans",sans-serif;
    font-size: 22px;
    font-weight: normal
}

.agename a:hover .btncap {
    font-family: 'dig',Roboto,Arial,Tahoma,"Geneva CY","DejaVu Sans",sans-serif;
    font-size: 22px;
    width: 160px
}

.forumlnk a:hover .btncap {
    width: 148px
}

.year_info:hover .btncap {
    width: 160px
}

.year_print:hover .btncap {
    width: 148px
}

.year_pdf:hover .btncap {
    width: 172px
}

.year_jpg:hover .btncap {
    width: 172px
}

.pyname a:hover,.nyname a:hover {
    color: #556
}

@media(min-width: 1000px) and (max-width:1250px) {
    .yname {
        width:270px;
        left: 224px
    }

    .agename .btncap {
        left: 168px
    }

    .forumlnk .btncap {
        left: 112px
    }

    .year_info .btncap {
        left: 56px
    }

    .year_print .btncap {
        right: 56px
    }

    .year_pdf .btncap {
        right: 112px
    }

    .year_jpg .btncap {
        right: 168px
    }
}

@media(min-width: 760px) and (max-width:999px) {
    .btncap {
        top:60px
    }

    .yname {
        width: 272px;
        left: 102px
    }

    .agename .btncap {
        left: 168px
    }

    .forumlnk .btncap {
        left: 112px
    }

    .year_info .btncap {
        left: 56px
    }

    .year_print .btncap {
        right: 56px
    }

    .year_pdf .btncap {
        right: 112px
    }

    .year_jpg .btncap {
        right: 168px
    }
}

@media(max-width: 759px) {
    .yname {
        left:0;
        width: 256px
    }

    .btncap {
        top: 60px
    }

    .agename .btncap {
        left: 64px
    }

    .year_print .btncap {
        right: 64px
    }

    .year_pdf,.year_jpg,.year_info,.forumlnk {
        display: none
    }
}

.h1head,.agename a,.pyname a,.nyname a {
    text-indent: 36px
}

@media(max-width: 559px) {
    .h1head,.agename a,.pyname a,.nyname a {
        font-size:21px
    }

    .agename a,.pyname a,.nyname a {
        font-size: 20px;
        border-radius: 16px;
        height: 32px;
        line-height: 32px;
        width: 96px
    }

    .yname {
        left: calc(49% - 148px);
        width: 296px
    }

    .nyname a {
        left: calc(99% - 99px)
    }

    .agename a {
        left: calc(49% - 48px);
        width: 96px
    }
}

.mname h3 {
    display: block;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #556;
    border-radius: 4px;
    border: thin solid #BBC;
    background-color: #DDE;
    height: 23px;
    width: 228px;
    top: 2px;
    position: absolute
}

.mname h3:hover {
    cursor: pointer;
    color: #445;
    border-radius: 12px;
    background-color: #DEF;
    border: thin solid #889;
    width: 228px;
    top: 2px;
    box-shadow: 0 0 16px 0 #667
}

.mtabl {
    height: auto;
    border-style: none;
    width: 230px;
    padding: 0;
    border-spacing: 0;
    margin: 0;
    top: 34px;
    position: relative
}

@media(max-width: 759px) {
    .mtabl,.mname h3,.mname h3:hover {
        width:256px
    }
}

@media(max-width: 559px) {
    .mtabl {
        width:100%
    }

    .mname h3,.mname h3:hover {
        width: 99%
    }
}

.myname {
    font-family: 'dig',Roboto,Arial,Tahoma,"Geneva CY","DejaVu Sans",sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #778
}

.dhead {
    font-size: 16px;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    color: #556;
    background-color: #EFF;
    border: 1px solid #DDE;
    border-top-style: none;
    padding: 0;
    border-spacing: 0;
    width: 32px;
    height: 24px
}

.empty,.empty_top,.empty_bottom {
    position: relative;
    height: 30px
}

.empty_bottom,.empty_top {
    border-top: thin solid #CCD
}

.empty_top {
    border-bottom: thin solid #CCD
}

.wday,.hday,.wtday,.htday {
    font-family: 'dig',Roboto,Arial,Tahoma,"Geneva CY","DejaVu Sans",sans-serif;
    font-size: 17px;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    vertical-align: middle;
    text-align: center;
    background-color: #FFF;
    border: thin solid #CCD;
    border-left-color: #EEF;
    border-right-color: #EEF;
    padding: 0;
    border-spacing: 0;
    height: 30px;
    cursor: pointer
}

.wday {
    color: #556
}

.hday {
    color: #A56
}

.wday:hover,.hday:hover,.wtday:hover,.htday:hover,.tdsel {
    border: thin solid #889;
    border-radius: 8px;
    background-color: #DEF
}

.tdsel {
    background-color: #BCD
}

#cal {
    position: absolute;
    width: auto;
    height: 100%
}

#year-info,#y_bottomads,#calbtn {
    margin-right: 256px;
    padding-top: 16px;
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    width: 976px
}

#year-info {
    top: 860px
}

#y_bottomads {
    top: 861px
}

#calbtn {
    top: 0;
    height: 42px;
    width: 964px
}

.tocdiv {
    width: 964px;
    margin-bottom: 24px
}

@media(min-width: 1000px) and (max-width:1250px) {
    #year-info,#y_bottomads {
        width:732px
    }

    #calbtn,.tocdiv {
        width: 720px
    }

    #year-info {
        top: 1142px
    }

    #y_bottomads {
        top: 1143px
    }
}

@media(min-width: 760px) and (max-width:999px) {
    #year-info,#y_bottomads,#calbtn,.tocdiv {
        width:476px
    }

    #year-info {
        top: 1704px
    }

    #y_bottomads {
        top: 1705px
    }
}

@media(max-width: 759px) {
    #year-info,#y_bottomads {
        width:99%
    }

    #calbtn,.tocdiv {
        width: 256px
    }

    #year-info {
        top: 3272px
    }

    #y_bottomads {
        top: 3273px
    }
}

@media(max-width: 559px) {
    #calbtn,.tocdiv {
        width:99%
    }

    #cal {
        position: relative
    }

    #y_bottomads {
        left: 0;
        padding-bottom: 32px
    }
}

@media(max-width: 999px) {
    #calbtn {
        height:102px
    }
}

#m1_div,#m2_div,#m3_div,#m4_div,#m5_div,#m6_div,#m7_div,#m8_div,#m9_div,#m10_div,#m11_div,#m12_div {
    position: absolute
}

#m1_div,#m2_div,#m3_div,#m4_div {
    top: 0
}

#m5_div,#m6_div,#m7_div,#m8_div {
    top: 264px
}

#m9_div,#m10_div,#m11_div,#m12_div {
    top: 528px
}

#m1_div,#m5_div,#m9_div {
    left: 0
}

#m2_div,#m6_div,#m10_div {
    left: 244px
}

#m3_div,#m7_div,#m11_div {
    left: 488px
}

#m4_div,#m8_div,#m12_div {
    left: 732px
}

@media(min-width: 1000px) and (max-width:1250px) {
    #m4_div,#m5_div,#m6_div {
        top:264px
    }

    #m7_div,#m8_div {
        top: 528px
    }

    #m10_div,#m11_div,#m12_div {
        top: 792px
    }

    #m1_div,#m4_div,#m7_div,#m10_div {
        left: 0
    }

    #m2_div,#m5_div,#m8_div,#m11_div {
        left: 244px
    }

    #m3_div,#m6_div,#m9_div,#m12_div {
        left: 488px
    }
}

@media(min-width: 760px) and (max-width:999px) {
    #m1_div,#m3_div,#m5_div,#m7_div,#m9_div,#m11_div {
        left:0
    }

    #m2_div,#m4_div,#m6_div,#m8_div,#m10_div,#m12_div {
        left: 244px
    }

    #m3_div,#m4_div {
        top: 264px
    }

    #m5_div,#m6_div {
        top: 528px
    }

    #m7_div,#m8_div {
        top: 792px
    }

    #m9_div,#m10_div {
        top: 1056px
    }

    #m11_div,#m12_div {
        top: 1320px
    }
}

@media(max-width: 759px) {
    #m1_div,#m2_div,#m3_div,#m4_div,#m5_div,#m6_div,#m7_div,#m8_div,#m9_div,#m10_div,#m11_div,#m12_div {
        left:0;
        width: 99%
    }

    #m2_div {
        top: 264px
    }

    #m3_div {
        top: 528px
    }

    #m4_div {
        top: 792px
    }

    #m5_div {
        top: 1056px
    }

    #m6_div {
        top: 1320px
    }

    #m7_div {
        top: 1584px
    }

    #m8_div {
        top: 1848px
    }

    #m9_div {
        top: 2112px
    }

    #m10_div {
        top: 2376px
    }

    #m11_div {
        top: 2640px
    }

    #m12_div {
        top: 2904px
    }
}

.img_back {
    border: thin solid #AAB;
    display: block;
    margin: auto;
    width: 320px
}

.y_elem {
    margin: auto;
    display: block;
    width: 80%;
    border: thin solid #AAB
}

.y_elem_tx {
    background-size: contain;
    margin: 12px;
    display: block;
    height: 250px;
    width: auto;
    border-radius: 16px
}

@media(max-width: 759px) {
    .img_back {
        width:310px
    }

    .animalpic {
        margin: 5px
    }

    .y_elem {
        width: 100%
    }

    .y_elem_tx {
        margin: 6px
    }
}

.img_h {
    text-align: center;
    font-weight: bold;
    padding-bottom: 8px;
    font-size: 16px
}

.parallax_layer_back {
    height: 6400px
}

@media print {
    #content-block,#cal,#calbtn,.tocdiv {
        height: 0;
        margin: 0;
        padding: 0
    }

    #page-wrap {
        height: auto
    }

    #calbtn,#calendar {
        height: 9mm
    }

    h1,.h1head {
        margin: 0;
        vertical-align: top;
        text-indent: 0;
        font-size: 7mm
    }

    .yname {
        color: #445;
        background-color: #FFF;
        border: 0;
        vertical-align: top;
        text-indent: 0;
        line-height: 9mm;
        height: 9mm;
        width: 100%;
        left: 0;
        top: 0;
        position: absolute;
        margin: 0
    }

    .yname:hover {
        background-color: #FFF;
        border: 0;
        box-shadow: none
    }

    #year-info,#y_bottomads,#leftbottomads,.pyname a,.nyname a,.year_info,.year_print,.year_pdf,.forumlnk,.agename a,.nyname,.year_jpg,.tocdiv,.h1sub {
        display: none
    }

    #cal,#calbtn,.tocdiv {
        width: 100%
    }

    .dhead {
        border: thin solid #EEF
    }

    .mtabl {
        top: 7mm
    }

    .mname h3 {
        top: 0;
        margin: 0;
        padding: 0;
        background-color: #EEF;
        text-decoration: none
    }

    .mname h3:hover {
        top: 0;
        margin: 0;
        padding: 0;
        color: #556;
        background-color: #EEF;
        border-radius: 4px;
        border: thin solid #BBC;
        box-shadow: none
    }

    .wday,.hday,.wtday,.htday {
        height: 27px;
        font-size: 4.5mm;
        font-weight: normal
    }

    .wday:hover,.hday:hover,.wtday:hover,.htday:hover,.tdsel {
        border: thin solid #CCD;
        border-left-color: #EEF;
        border-right-color: #EEF;
        border-radius: 0;
        background-color: #FFF
    }

    .mname h3,.mtabl,#m1_div,#m2_div,#m3_div,#m4_div,#m5_div,#m6_div,#m7_div,#m8_div,#m9_div,#m10_div,#m11_div,#m12_div {
        width: 56mm
    }

    #m1_div,#m2_div,#m3_div {
        top: 3mm
    }

    #m4_div,#m5_div,#m6_div {
        top: 68mm
    }

    #m7_div,#m8_div,#m9_div {
        top: 133mm
    }

    #m10_div,#m11_div,#m12_div {
        top: 198mm
    }

    #m1_div,#m4_div,#m7_div,#m10_div {
        left: 0
    }

    #m2_div,#m5_div,#m8_div,#m11_div {
        left: 62mm
    }

    #m3_div,#m6_div,#m9_div,#m12_div {
        left: 124mm
    }
}

@page {
    size: portrait;
    margin-left: 20mm;
    margin-right: 10mm;
    margin-top: 8mm;
    margin-bottom: 8mm
}
