/* with wp template */

#container div.wrap {
    background: none;
}
div#bazibox * {
    box-sizing: content-box;
}
div#bazibox {
    width: 100%;
    height: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 3px;
}
.tile {
    width: 96px;
    margin: 0px;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
}
div#dayun .tile {
    width: 75px;
}
.tile-h {
    width: 110px;
    margin: 0px;
    border-right: 1px solid #555;
    border-bottom: 1px solid #555;
}
.tile img {
    width: 100%;
    height: 140px;
}
#bazi .tile {
    float: left;
}
#bazi .tile-h {
    float: left;
    width: 120px;
}
#bazi {
    margin-left: auto;
    margin-right: auto;
    width: 524px;
    border-left: 1px solid black;
}
/*#dayun {

    float:left;

    width:100%;

    margin-top: 10px;

    border-left: 1px solid black;

    margin-bottom: 15px;

}

*/

#dayun {
    border-left: 1px solid black;
    margin: 10px auto 15px;
    width: 860px;
}
#dayun .tile {
    float: left;
}
#dayun .tile-h {
    float: left;
    width: 90px;
}
.tile-title {
    height: 16px;
    color: black;
    text-align: center;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    padding: 10px 0px;
}
.tile-title1 {
    color: black;
    text-align: center;
    border-left: 1px solid #555;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    padding-top: 65px;
    height: 94px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    line-height: normal;
}
.tile-title2 {
    color: black;
    text-align: center;
    padding-top: 27px;
    height: 56px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #555;
    border-left: 1px solid #555;
    line-height: normal;
}
.tile-title3 {
    color: black;
    text-align: center;
    padding: 22px 0px;
    height: 29px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    border-left: 1px solid #555;
    line-height: normal;
}
.tile-title4 {
    color: black;
    text-align: center;
    padding-top: 116px;
    height: 155px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    border-top: 1px solid #555;
    line-height: normal;
    border-left: 1px solid #555;
}
.tile-tiangan-god,
.tile-dizhi-god {
    padding: 10px 0px;
}
.tile-h .tile-tiangan-god,
.tile-h .tile-dizhi-god {
    border-top: 1px solid white;
}
.tile-tiangan-god {
    text-align: center;
    height: 18px;
}
.tile-dizhi-god {
    padding-left: 2px;
}
.tile-changsheng {
    text-align: center
}
.tile-dizhi-1,
.tile-tiangan-1 {
    font-size: 12px;
    font-style: italic;
    display: none;
    height: 20px;
}
.tile-h .tile-dizhi-1 {
    display: block;
}
.tile-dizhi-2,
.tile-tiangan-2 {
    font-size: 45px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
}
div#dayun .tile-dizhi-2,
div#dayun .tile-tiangan-2 {
    font-size: 35px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    height: 50px;
}
.tile-dizhi-3 {
    font-size: 11px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 18px;
}
.tile-dizhi-3 i {
    font-style: italic;
}
.hile-h .tile-dizhi-3 {
    height: 1px;
}
div#dayun div.tile-dizhi-3 {
    display: none;
}
div#dayun div.tile-tiangan-3 {
    display: none;
}
.tile-tiangan-3,
.tile-dizhi-4 {
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 18px;
}
.tile-tiangan-3 i {
    font-style: italic;
}
.tile-dizhi-4 {
    display: none;
}
.tile-tiangan-god {
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    font-size: 12px;
}
.tile-dizhi-god {
    padding-top: 5px;
    border-top: 1px solid #555;
    line-height: 1.8;
    font-size: 12px;
    padding-left: 2px;
    height: 58px;
}
.tile-changsheng {
    padding: 5px 0px;
    border-top: 1px solid #DADADA;
    border-bottom: 1px solid #DADADA;
}
#logo-large {
    text-align: center;
}
#contact-info {
    font-family: monospace;
    font-size: 13px;
}
.tile-tiangan-3 {
    height: 18px;
}
.margin-zero {
    margin: 0;
}
.form-bottom-margin {
    margin-bottom: 15px;
}
.iframe-responsive {
    text-align: center;
    width: 100%;
}
.iframe-inline {
    text-align: center;
    width: 100%;
    display: inline-block;
    width: auto;
}
.display-block {
    display: inline-block;
    width: 480px;
    max-width:100%;
}
/*
@media (max-width: 768px) {
    .engage_service {
        background-color: #fed53c;
        border: 1px solid black;
        color: black;
        float: left;
        width: 100%;
    }
}
@media (max-width: 680px) {
    .bazi-responsive {
        width: 100%;
        float: left;
        overflow-x: scroll;
        margin-top: 15px;
        padding-bottom: 10px;
    }
    .engage_service {
        background-color: #fed53c;
        border: 1px solid black;
        color: black;
        float: left;
        width: 100%;
    }
    .display-block {
        display: inline-block;
        width: 100%;
    }
}
@media (max-width: 680px) {
    .engage_service {
        background-color: #fed53c;
        border: 1px solid black;
        color: black;
        float: left;
        width: 100%;
    }
    
    #bazi {
        margin-left: -24px;
        margin-top: 15px;
    }
    #bazibox {
        position: relative;
    }
    #bazi .tile-h .tile-title1 {
        position: absolute;
        top: 18px;
        left: 0px;
        height: 26px;
        padding-top: 0px;
    }
    #bazi .tile-h .tile-title2 {
        position: absolute;
        top: 225px;
        left: 0px;
        height: 26px;
    }
    #bazi .tile-h .tile-title3 {
        position: absolute;
        top: 353px;
        left: 0px;
        height: 26px;
    }
    #bazi .tile {
        margin-top: 27px;
        width: 70px;
    }
    #bazi div.tile:nth-child(2) {
        position: absolute !important;
        left: 0px;
    }
    #bazi div.tile:nth-child(3) {
        position: absolute !important;
        left: 75px;
    }
    #bazi div.tile:nth-child(4) {
        position: absolute !important;
        left: 150px;
    }
    #bazi div.tile:nth-child(5) {
        position: absolute !important;
        left: 225px;
    }
    #bazi .tile-tiangan-god {
        margin-bottom: 56px;
    }
    #dayun {
        position: absolute;
        top: 500px;
    }
    .tile-dizhi-2,
    .tile-tiangan-2 {
        font-size: 26px;
    }
    .tile-tiangan-3,
    .tile-dizhi-4 {
        font-size: 10px;
    }
    .tile-dizhi-god {
        font-size: 10px !important;
    }
    .tile-dizhi-3 {
        margin-bottom: 50px;
    }
    .bg-image {
        margin: 0px !important;
    }
    .tile-h br {
        content: " ";
        display: none;
    }
    .tile-title1 {
        border-bottom: none;
        border-left: none;
        background: #e8effa;
        z-index: 1;
    }
    .tile-title2 {
        padding-top: 3px;
        border-bottom: 1px solid #555;
        border-left: none;
        background: #e8effa;
        z-index: 1;
    }
    .tile-title3 {
        padding: 3px 0px;
        border-left: none;
        background: #e8effa;
        z-index: 1;
    }
    .responsive-iframe #title {
        width: 20px !important;
        color: #ff0000 !important;
    }
    #dayun {
        border-left: 0px;
        margin: 0px auto 0px;
        width: auto !important;
        margin-left: -20px;
    }
    #dayun .tile {
        float: none;
        clear: both;
    }
    #dayun div.tile-dizhi-god {
        width: 70px !important;
    }
    #dayun .tile div {
        float: left;
        width: 50px;
    }
    div#dayun .tile {
        width: 275px;
    }
    div#bazibox {
        height: 1300px;
    }
    #dayun .tile-title4 {
        height: auto !important;
        padding: 12px;
        width: 120px;
        border-right: 1px solid #555;
    }
    .tile-h {
        border-bottom: 0px;
        border-right: 0px;
    }
}
@media (max-width: 768px) {
    .now-btn-t {
        padding: 10px 0;
        width: 100%
    }
    .now-btn {
        padding: 10px 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .btn-print img {
        width: 110px !important;
    }
    .footer-social-media a {
        font-size: 20px;
        color: rgb(195, 195, 195);
        margin: 0 5px;
    }
    .coipyright-bar p {
        color: #B7B1B1;
    }
}*/
.bazi-responsive {
    width: 100%;
    overflow: auto;
    margin-bottom: 15px;
}
.bg-image {
    background-image: url('../images/background.jpg');
    background-size: cover;
    box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.08);
    border-radius: 1px;
    padding: 20px;
    margin: 0 30px;
}
.padding-top {
    padding-top: 0 !important;
}