﻿

.color_pink {
    color: rgb(171,63,61);
}

.color_white {
    color: white;
}

.color_black {
    color: black;
}

.bgcolor_darkpink {
    /*background-color: rgb(182,98,96);*/
    /*background-color: rgb(162,73,29);*/
    background-color: rgb(199,126,119);
}

/*.bgcolor_pink {
    background-color: rgb(199,126,119);
}*/

.bgcolor_pink {
    background-color: rgb(211,160,157);
    /*background-color: #c77e77;*/
}

.border_pink {
    border: 1px solid #fde4e3;
}

.border_darkpink {
    border: 2px solid rgb(182,98,96);
    /*#b66260*/
    /*border: 2px solid rgb(162,73,29);*/
}


.border_darkpink_top {
    border-top: 2px solid rgb(182,98,96);
}

.border_darkpink_left {
    border-left: 2px solid rgb(182,98,96);
}

.border_darkpink_right {
    border-right: 2px solid rgb(182,98,96);
}

.border_darkpink_bottom {
    border-bottom: 2px solid rgb(182,98,96);
}


.border_darkpink_bottom1 {
    border-bottom: 1px solid rgb(182,98,96);
    /*border-bottom: 1px solid rgb(162,73,29);*/
}

.border_darkpink_bottom2 {
    border-bottom: 2px solid rgb(182,98,96);
    /*border-bottom: 2px solid rgb(162,73,29);*/
}

.bullet {
    width: 450px;
    height: 30px;
}
.bullet2 {
    width: 330px;
    height: 30px;
}
.bullet2_new {
    width: 330px;
    height: 15px;
}
.bullet3 {
    width: 500px;
    height: 30px;
}
.bullet4 {
    width: 250px;
    height: 30px;
}
.bullet4_new {
    width: 250px;
    height: 15px;
}


.center {
    text-align: center;
}

.text_big {
    font-size: 14pt;
    font-weight: bold;
}

.text_bigger {
    font-size: 16pt;
    font-weight: bold;
}

.text_small {
    font-size: 12pt;
    font-weight: bold;
}

.text_small_normal {
    font-size: 12pt;
}


.text_small2_normal {
    font-size: 12pt;
}

.text_small2 {
    font-size: 11pt;
    font-weight: bold;
}

.text_small_normal2 {
    font-size: 11pt;
}

.text_small_white {
    font-size: 12pt;
    font-weight: bold;
    color: white;
}

.text_smaller_white {
    font-size: 10pt;
    font-weight: bold;
    color: white;
}

.text_smaller {
    font-size: 10pt;
    font-weight: bold;
}

.text_smaller_normal {
    font-size: 10pt;
}

.text_smallest {
    font-size: 9pt;
    font-weight: bold;
}

.text_smallest_normal {
    font-size: 9pt;
}



.text_smallest_cn {
    font-size: 12pt;
    font-weight: bold;
    font-family: "stkaiti";
}

.text_title_pink {
    font-size: 14pt;
    font-weight: bold;
    color: rgb(171,63,61);
}


.text_title_pink_small {
    font-size: 12pt;
    font-weight: bold;
    color: rgb(171,63,61);
}

.text_pink {
    color: rgb(171,63,61);
}

.text_title_white {
    font-size: 14pt;
    font-weight: bold;
    color: white;
}

.text_cn {
    font-weight: bold;
    font-size: 14pt;
    font-family: "stkaiti";
}

.text_10gods_favorable {
    font-weight: bold;
    color: #2a4b9b;
}
.text_10gods_unfavorable {
    font-weight: bold;
    color: #e52320;
}

.padding_10gods_symbol {
    padding-top: 10px;
}

.padding_top_10gods_shishen_text {
    padding-top: 10px;
}
.padding_top_10gods_detail_text {
    padding-top: 20px;
}
.padding_10gods_detail_text {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}


.text_verical {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    writing-mode: tb;
}


.text_verical2 {
    /*-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);*/
    writing-mode: tb;
}

.dashboard {
    /*text-align: center;
      display: inline-block;*/
    width: 1200px;
    margin: auto;
}

.dashboard td {
    padding: 0;
}

.dashboard p {
    margin: 0;
}


.dashboard .table_1 td:first-child span,
.dashboard .table_2 td:first-child span,
.dashboard .table_3 td:first-child span,
.dashboard .table_5 td:first-child span

{
    padding-left: 5px;
}

.dashboard .td_bazi_title_left {
    padding-top: 5px;
}


.dashboard .text_bazi_title_left_en {
    color: white;
    font-size: 10pt;
}


.dashboard .text_bazi_title_left_cn {
    padding-top: 5px;
    padding-left: 0px !important; 
    padding-right: 5px;
    font-weight: bold;
    font-size: 14pt;
    font-family: "stkaiti";
    color: white;
}


.dashboard .text_bazi_title_left_cn2 {
    padding-top: 5px;
    padding-left: 0px !important;
    /*padding-right: 5px;*/
    font-weight: bold;
    font-size: 14pt;
    font-family: "stkaiti";
    color: white;
}



.dashboard .text_bazi_symbol {
    font-weight: bold;
    font-size: 48pt;
    line-height: 1;
    font-family: "stkaiti";
}
.dashboard .text_bazi_en {
    font-weight: bold;
    font-size: 12pt;
}

.dashboard .text_bazi_symbol_small {
    font-weight: bold;
    font-size: 24pt;
    line-height: 0.8;
    font-family: "stkaiti";
}

.dashboard .text_bazi_en_small {
    font-weight: bold;
    font-size: 8pt;
}

.dashboard .luckpillar_width {
    min-width: 120px;
}


.dashboard .cover {
    display: none;
}


    .dashboard .table_7 .text_bazi_symbol,
    .dashboard .table_8 .text_bazi_symbol,
    .dashboard .table_16 .text_bazi_symbol {
        font-size: 34pt;
    }

    .dashboard .table_7 .text_bazi_en,
    .dashboard .table_8 .text_bazi_en,
    .dashboard .table_16 .text_bazi_en {
        font-size: 8pt;
    }

    .dashboard .table_7 .text_bazi_symbol_small,
    .dashboard .table_8 .text_bazi_symbol_small,
    .dashboard .table_16 .text_bazi_symbol_small {
        font-size: 16pt;
        line-height: 0.8;
    }

    .dashboard .table_7 .text_bazi_en_small,
    .dashboard .table_7 .text_bazi_en_small,
    .dashboard .table_16 .text_bazi_en_small {
        font-size: 8pt;
    }

    .small_line_height {
        line-height: 1;
    }

    .dashboard .table_7 .hidden_padding_top,
    .dashboard .table_8 .hidden_padding_top,
    .dashboard .table_16 .hidden_padding_top {
        margin-top: 5px;
    }

.dashboard .table_8 .tr_bazi_valign {
    vertical-align: text-top;
}

.dashboard .table_8 .td_bazi_width {
    width: 25%;
}

.dashboard .table_9 .td_growth_width {
    width: 25%;
    padding: 10px;
}

.dashboard .table_10 .td_aux_width {
    width: 25%;
    padding: 10px;
}

.dashboard .table_11 .td_annual_year_width {
    width: 20%;
    padding: 10px;
}

.dashboard .table_10 .td_aux_width {
    width: 25%;
    padding: 10px;
    padding-top: 0px;
}

.dashboard .table_10 .padding_top_aux {
    padding-top: 10px;
}

.dashboard .table_10 .padding_bottom_aux {
    padding-bottom: 10px;
}


.dashboard .table_9 .padding_top_detail {
    padding-top: 10px;
}

.dashboard .table_12 .td_width {
    width: 33%;
    text-align: center;
}

.dashboard .table_1_title {
    border: none;
    display: inline-block;
}

.dashboard .table_1_title__inner_top {
    border: none;
    /*padding-top: 3px;*/
    /*padding-bottom: 3px;*/
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: left;
}
.dashboard .table_1_title__inner_bottom {
    border: none;
    text-align: right;
    /*padding-top: 3px;
    padding-bottom: 3px;*/
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 5px;
}



    .dashboard .table_1_title .text_title {
        font-size: 15pt;
        font-weight: bold;
        padding-left: 0px;
    }

    .dashboard .table_1_title .text_title_cn {
        font-size: 15pt;
        font-weight: bold;
        font-family: "stkaiti";
    }

    .dashboard .table_1_title .text_name,
    .dashboard .table_1_title .text_sex {
        font-size: 15pt; 
        font-weight: bold;
    }

    .dashboard .table_1_title .text_birthdate {
        font-size: 12pt;
        font-weight: normal;
    }


    .dashboard .table_1_title .text_sex_cn {
        font-size: 15pt;
        font-weight: bold;
        font-family: "stkaiti";
    }

    /* ----------------------------------------- */

    /*.dashboard .div_main {
        display: inline-block;
        width: 1200px;
    }*/

    
    .dashboard .table_5 {
        margin-top: 25px;
    }


    .dashboard .div_1,
    .dashboard .div_2 {
        width: 586px;
        display: inline-block;
    }

    .dashboard .div_full {
        width: 1200px;
        display: inline-block;
    }


    .dashboard .lifeStarNumber_text {
        font-size: 34px;
        font-weight: bold;
        line-height: 1.2;
    }

    .dashboard .guaCn_text {
        font-size: 26pt;
        font-weight: bold;
        font-family: "stkaiti";
        line-height: 1.2;

    }

    .dashboard .title_padding {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .dashboard .upper td{
        padding-top: 20px;
        padding-bottom: 10px;
    }

.dashboard .table_7 .tengods_div_1 {
    display: block;
    padding-left: 10px;
}

.dashboard .table_7 .tengods_div_2_1 {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 52px;
    left: 18px;
}

.dashboard .table_7 .tengods_div_2_2 {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 52px;
    left: 92px;
}

.dashboard .table_7 .tengods_div_2_3 {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 52px;
    left: 167px;
}

.dashboard .table_7 .tengods_div_2_4 {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 55px;
    left: 18px;
}



.dashboard .table_7 .tengods_div_2_1e {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 161px;
    left: 18px;
}

.dashboard .table_7 .tengods_div_2_2e {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 161px;
    left: 92px;
}

.dashboard .table_7 .tengods_div_2_3e {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 161px;
    left: 167px;
}


.dashboard .table_7 .tengods_div_2_4e {
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 1rem;
    top: 164px;
    left: 18px;
}

.dashboard .forecast_title {
    text-align: left;
    padding: 5px;
}



.dashboard .table_7 .tengods_div_3 {
    font-size: 8pt;
    font-weight: bold;
    color: white;
}


.ThreeVictoryPalace_td_padding {
    padding: 5px;
    text-align: center;
}

.dashboard td.ThreeVictoryPalace_headder_padding {
    padding-top: 10px;
    padding-bottom: 10px;
}

.ThreeVictoryPalace_name_max_height {
    max-height: 65px;
    height: 65px;
    min-height: 65px;
}

.ThreeVictoryPalace_name_max_height_qma {
    max-height: 70px;
    height: 70px;
    min-height: 70px;
}

.ThreeVictoryPalace_width {
    width: 99px;
    max-width: 99px;
    min-width: 99px;
}


.show_only_print {
    visibility: hidden;
    display: none;
}

    @page {
        size: A3;
        margin-left: 50px;
        margin-right: 53px;
        margin-top: 50px;
        margin-bottom: 53px;
        /*width: 80%;*/
    }

    @media print {
        body * {
            visibility: hidden;
            /*width: 210mm;
            height: 297mm;*/
            /*transform: scale(1);*/
        }

    #section-to-print, #section-to-print *,
    .section-to-print, .section-to-print *
    {
        visibility: visible;
    }

    #section-to-print,
    .section-to-print
    {
        /*position: absolute;
        left: 0;
        top: 0;*/
    }


    .dashboard .cover {
        visibility: visible;
        display: block !important;
    }


    .print_hide {
        display: none;
    }

    .show_only_print {
        visibility: visible;
        display: block;
    }

        .dashboard {
            position: absolute;
            left: 0;
            top: 0;
        }

        div.page {
            page-break-after: always;
            page-break-inside: avoid;
        }

        .page-break-clear {
            clear: both;
        }

        .page-break {
            page-break-after: always; /* depreciating, use break-after */
            page-break-inside: avoid;
            break-after: page;
            height: 0px;
            display: block !important;
            overflow: initial !important
        }



        .cover_max_height {
            height: expression( this.scrollHeight > 1741 ? "1741px" : "auto" );
            max-height: 1741px;
            min-height: 1741px;
            height: 1741px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        .natal_chart_aux_max_height {
            height: expression( this.scrollHeight > 235 ? "235px" : "auto" );
            max-height: 235px;
            min-height: 235px;
            height: 235px;
            overflow-y: hidden;
        }

        .month_year_luck_print_margin_top {
            margin-top: 305px;
        }

        .TenGods_print_max_height {
            /*height: expression( this.scrollHeight > 340 ? "340px" : "auto" ); 
            max-height: 340px;
            min-height: 340px;
            height: 340px;
            overflow-y: hidden;*/
            vertical-align: top;
        }

        .GrowthPhase_print_max_height {
            /*height: expression( this.scrollHeight > 200 ? "200px" : "auto" ); 
            max-height: 200px;
            min-height: 200px;
            height: 200px;
            overflow-y: hidden;*/
            vertical-align: top;
        }

        .TenGods_GrowthPhase_print_max_height {
            height: expression( this.scrollHeight > 1385 ? "1385px" : "auto" );
            max-height: 1385px;
            min-height: 1385px;
            height: 1385px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        .AuxStars_print_max_height {
            height: expression( this.scrollHeight > 855 ? "855px" : "auto" );
            max-height: 855px;
            min-height: 855px;
            height: 855px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        .FiveElementStrength_BodyHealth_max_height {
            height: expression( this.scrollHeight > 1755 ? "1755px" : "auto" );
            max-height: 1755px;
            min-height: 1755px;
            height: 1755px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        .FiveElementStrength_max_height {
            height: expression( this.scrollHeight > 1755 ? "1755px" : "auto" );
            max-height: 1755px;
            min-height: 1755px;
            height: 1755px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        .BodyHealth_max_height {
            height: expression( this.scrollHeight > 1795 ? "1795px" : "auto" );
            max-height: 1795px;
            min-height: 1795px;
            height: 1795px;
            overflow-y: hidden;
            overflow-x: hidden;
        }



        .GuestMonthYear_max_height {
            height: expression( this.scrollHeight > 1770 ? "1770px" : "auto" );
            max-height: 1770px;
            min-height: 1770px;
            height: 1770px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        .Forecast_max_height {
            height: expression( this.scrollHeight > 3460 ? "3460px" : "auto" );
            max-height: 3460px;
            min-height: 3460px;
            height: 3460px;
            overflow-y: hidden;
            overflow-x: hidden;
        }

        .Forecast_max_height2 {
            height: expression( this.scrollHeight > 1741 ? "1741px" : "auto" );
            max-height: 1741px;
            min-height: 1741px;
            height: 1741px;
            overflow-y: hidden;
            overflow-x: hidden;
        }


        .ThreeVictoryPalace_space_height {
            height: expression( this.scrollHeight > 40 ? "40px" : "auto" );
            max-height: 40px;
            min-height: 40px;
            height: 40px;
            overflow-y: hidden;
            overflow-x: hidden;
        }


        /*.ThreeVictoryPalace_space_height2 {
            height: expression( this.scrollHeight > 195 ? "195px" : "auto" );
            max-height: 195px;
            min-height: 195px;
            height: 195px;
            overflow-y: hidden;
            overflow-x: hidden;
        }*/



        /*#table_7_print{
            margin-top: 120px;
        }

        #table_7_4 {
            margin-bottom: 220px;
        }

        #table_12_13 {
            margin-top: 1000px;
        }

        .table_7_before {
            page-break-after: always;
        }


        .table_8_before {
            margin-top: 1400px
        }

        .table_11_before {
            margin-top: 300px
        }

        .table_15_before {
            margin-top: 80px
        }

        .table_15_print {
            margin-top: 0px;
            height: 1730px;
        }
        */


    /*.color_white {
        color: black;
    }


    .text_title_white {
        color: black;
    }

    .dashboard .text_bazi_title_left_en {
        color: black;
    }

    .dashboard .text_bazi_title_left_cn {
        color: black;
    }


    .dashboard .text_bazi_title_left_cn2 {
        color: black;
    }*/
}